puppeteer/assets/js/1be78505.bf35c21c.js
release-please[bot] 7b86bbabb0 deploy: 03adf4189e
2023-07-20 07:45:49 +00:00

1 line
14 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[29514,22136],{51272:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ze});var a=n(67294),r=n(86010),l=n(89712),o=n(65319),i=n(56391),c=n(53605),s=n(27391),d=n(25682),u=n(98461),m=n(92210),b=n(6379),p=n(58010);const f="backToTopButton_sjWU",h="backToTopButtonShow_xfvO";function v(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,n]=(0,a.useState)(!1),r=(0,a.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,b.Ct)();return(0,b.RF)((({scrollY:t},a)=>{const l=null==a?void 0:a.scrollY;l&&(r.current?r.current=!1:t>=l?(o(),n(!1)):t<e?n(!1):t+window.innerHeight<document.documentElement.scrollHeight&&n(!0))})),(0,p.S)((e=>{e.location.hash&&(r.current=!0,n(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,m.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,r.Z)("clean-btn",o.k.common.backToTopButton,f,e&&h),type:"button",onClick:t})}var g=n(28890),E=n(76775),y=n(24683),k=n(86016),_=n(49572);function C(){return C=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},C.apply(this,arguments)}function O(e){return a.createElement("svg",C({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const S="collapseSidebarButton_PEFL",I="collapseSidebarButtonIcon_kv0_";function N({onClick:e}){return a.createElement("button",{type:"button",title:(0,m.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,m.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,r.Z)("button button--secondary button--outline",S),onClick:e},a.createElement(O,{className:I}))}var w=n(64738),x=n(37806);const j=Symbol("EmptyContext"),P=a.createContext(j);function T({children:e}){const[t,n]=(0,a.useState)(null),r=(0,a.useMemo)((()=>({expandedItem:t,setExpandedItem:n})),[t]);return a.createElement(P.Provider,{value:r},e)}var Z=n(52647),L=n(87275),A=n(31984),M=n(30358);function B(){return B=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},B.apply(this,arguments)}function F(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function H({categoryLabel:e,onClick:t}){return a.createElement("button",{"aria-label":(0,m.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:e}),type:"button",className:"clean-btn menu__caret",onClick:t})}function W(e){var{item:t,onItemClick:n,activePath:l,level:i,index:s}=e,d=F(e,["item","onItemClick","activePath","level","index"]);const{items:u,label:m,collapsible:b,className:p,href:f}=t,{docs:{sidebar:{autoCollapseCategories:h}}}=(0,k.L)(),v=function(e){const t=(0,M.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,c.Wl)(e):void 0),[e,t])}(t),g=(0,c._F)(t,l),E=(0,L.Mg)(f,l),{collapsed:y,setCollapsed:_}=(0,Z.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:C,setExpandedItem:O}=function(){const e=(0,a.useContext)(P);if(e===j)throw new x.i6("DocSidebarItemsExpandedStateProvider");return e}(),S=(e=!y)=>{O(e?null:s),_(e)};return function({isActive:e,collapsed:t,updateCollapsed:n}){const r=(0,x.D9)(e);(0,a.useEffect)((()=>{e&&!r&&t&&n(!1)}),[e,r,t,n])}({isActive:g,collapsed:y,updateCollapsed:S}),(0,a.useEffect)((()=>{b&&null!=C&&C!==s&&h&&_(!0)}),[b,C,s,_,h]),a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemCategory,o.k.docs.docSidebarItemCategoryLevel(i),"menu__list-item",{"menu__list-item--collapsed":y},p)},a.createElement("div",{className:(0,r.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":E})},a.createElement(A.Z,B({className:(0,r.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!f&&b,"menu__link--active":g}),onClick:b?e=>{null==n||n(t),f?S(!1):(e.preventDefault(),S())}:()=>{null==n||n(t)},"aria-current":E?"page":void 0,"aria-expanded":b?!y:void 0,href:b?null!=v?v:"#":v},d),m),f&&b&&a.createElement(H,{categoryLabel:m,onClick:e=>{e.preventDefault(),S()}})),a.createElement(Z.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:y},a.createElement(te,{items:u,tabIndex:y?-1:0,onItemClick:n,activePath:l,level:i+1})))}var D=n(47785),R=n(40379);const V="menuExternalLink_NmtK";function z(){return z=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},z.apply(this,arguments)}function U(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function K(e){var{item:t,onItemClick:n,activePath:l,level:i,index:s}=e,d=U(e,["item","onItemClick","activePath","level","index"]);const{href:u,label:m,className:b,autoAddBaseUrl:p}=t,f=(0,c._F)(t,l),h=(0,D.Z)(u);return a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",b),key:m},a.createElement(A.Z,z({className:(0,r.Z)("menu__link",!h&&V,{"menu__link--active":f}),autoAddBaseUrl:p,"aria-current":f?"page":void 0,to:u},h&&{onClick:n?()=>n(t):void 0},d),m,!h&&a.createElement(R.Z,null)))}const G="menuHtmlItem_M9Kj";function Y({item:e,level:t,index:n}){const{value:l,defaultStyle:i,className:c}=e;return a.createElement("li",{className:(0,r.Z)(o.k.docs.docSidebarItemLink,o.k.docs.docSidebarItemLinkLevel(t),i&&[G,"menu__list-item"],c),key:n,dangerouslySetInnerHTML:{__html:l}})}function q(){return q=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},q.apply(this,arguments)}function X(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function J(e){var{item:t}=e,n=X(e,["item"]);switch(t.type){case"category":return a.createElement(W,q({item:t},n));case"html":return a.createElement(Y,q({item:t},n));default:return a.createElement(K,q({item:t},n))}}function Q(){return Q=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},Q.apply(this,arguments)}function $(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ee(e){var{items:t}=e,n=$(e,["items"]);return a.createElement(T,null,t.map(((e,t)=>a.createElement(J,Q({key:t,item:e,index:t},n)))))}const te=(0,a.memo)(ee),ne="menu_SIkG",ae="menuWithAnnouncementBar_GW3s";function re({path:e,sidebar:t,className:n}){const l=function(){const{isActive:e}=(0,w.nT)(),[t,n]=(0,a.useState)(e);return(0,b.RF)((({scrollY:t})=>{e&&n(0===t)}),[e]),e&&t}();return a.createElement("nav",{"aria-label":(0,m.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,r.Z)("menu thin-scrollbar",ne,l&&ae,n)},a.createElement("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list")},a.createElement(te,{items:t,activePath:e,level:1})))}const le="sidebar_njMd",oe="sidebarWithHideableNavbar_wUlq",ie="sidebarHidden_VK0M",ce="sidebarLogo_isFc";function se({path:e,sidebar:t,onCollapse:n,isHidden:l}){const{navbar:{hideOnScroll:o},docs:{sidebar:{hideable:i}}}=(0,k.L)();return a.createElement("div",{className:(0,r.Z)(le,o&&oe,l&&ie)},o&&a.createElement(_.Z,{tabIndex:-1,className:ce}),a.createElement(re,{path:e,sidebar:t}),i&&a.createElement(N,{onClick:n}))}const de=a.memo(se);var ue=n(36847),me=n(57796);const be=({sidebar:e,path:t})=>{const n=(0,me.e)();return a.createElement("ul",{className:(0,r.Z)(o.k.docs.docSidebarMenu,"menu__list")},a.createElement(te,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&n.toggle(),"link"===e.type&&n.toggle()},level:1}))};function pe(e){return a.createElement(ue.Zo,{component:be,props:e})}const fe=a.memo(pe);function he(){return he=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},he.apply(this,arguments)}function ve(e){const t=(0,y.i)(),n="desktop"===t||"ssr"===t,r="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement(de,he({},e)),r&&a.createElement(fe,he({},e)))}const ge="expandButton_m80_",Ee="expandButtonIcon_BlDH";function ye({toggleSidebar:e}){return a.createElement("div",{className:ge,title:(0,m.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,m.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e},a.createElement(O,{className:Ee}))}const ke={docSidebarContainer:"docSidebarContainer_b6E3",docSidebarContainerHidden:"docSidebarContainerHidden_b3ry",sidebarViewport:"sidebarViewport_Xe31"};function _e({children:e}){const t=(0,d.V)();var n;return a.createElement(a.Fragment,{key:null!==(n=null==t?void 0:t.name)&&void 0!==n?n:"noSidebar"},e)}function Ce({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:n}){const{pathname:l}=(0,E.TH)(),[i,c]=(0,a.useState)(!1),s=(0,a.useCallback)((()=>{i&&c(!1),!i&&(0,g.n)()&&c(!0),n((e=>!e))}),[n,i]);return a.createElement("aside",{className:(0,r.Z)(o.k.docs.docSidebarContainer,ke.docSidebarContainer,t&&ke.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ke.docSidebarContainer)&&t&&c(!0)}},a.createElement(_e,null,a.createElement("div",{className:(0,r.Z)(ke.sidebarViewport,i&&ke.sidebarViewportHidden)},a.createElement(ve,{sidebar:e,path:l,onCollapse:s,isHidden:i}),i&&a.createElement(ye,{toggleSidebar:s}))))}const Oe={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function Se({hiddenSidebarContainer:e,children:t}){const n=(0,d.V)();return a.createElement("main",{className:(0,r.Z)(Oe.docMainContainer,(e||!n)&&Oe.docMainContainerEnhanced)},a.createElement("div",{className:(0,r.Z)("container padding-top--md padding-bottom--lg",Oe.docItemWrapper,e&&Oe.docItemWrapperEnhanced)},t))}const Ie="docPage__5DB",Ne="docsWrapper_BCFX";function we({children:e}){const t=(0,d.V)(),[n,r]=(0,a.useState)(!1);return a.createElement(u.Z,{wrapperClassName:Ne},a.createElement(v,null),a.createElement("div",{className:Ie},t&&a.createElement(Ce,{sidebar:t.items,hiddenSidebarContainer:n,setHiddenSidebarContainer:r}),a.createElement(Se,{hiddenSidebarContainer:n},e)))}var xe=n(30889),je=n(68263);function Pe(){return Pe=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},Pe.apply(this,arguments)}function Te(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(je.Z,{version:t.version,tag:(0,i.os)(t.pluginId,t.version)}),a.createElement(l.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function Ze(e){const{versionMetadata:t}=e,n=(0,c.hI)(e);if(!n)return a.createElement(xe.default,null);const{docElement:i,sidebarName:u,sidebarItems:m}=n;return a.createElement(a.Fragment,null,a.createElement(Te,Pe({},e)),a.createElement(l.FG,{className:(0,r.Z)(o.k.wrapper.docsPages,o.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:u,items:m},a.createElement(we,null,i)))))}},30889:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(67294),r=n(92210),l=n(89712),o=n(98461);function i(){return a.createElement(a.Fragment,null,a.createElement(l.d,{title:(0,r.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(o.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]);