"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9514,9075],{49068:function(e,t,a){a.r(t),a.d(t,{default:function(){returnye}});varn=a(67294),r=a(24608),l=a(48476),i=a(86010),o=a(95999),c=a(12466),s=a(85936);vard=a(35281),m="backToTopButton_RiI4",u="backToTopButtonShow_ssHd";functionb(){vare=function(e){vart=e.threshold,a=(0,n.useState)(!1),r=a[0],l=a[1],i=(0,n.useRef)(!1),o=(0,c.Ct)(),d=o.startScroll,m=o.cancelScroll;return(0,c.RF)((function(e,a){varn=e.scrollY,r=null==a?void0:a.scrollY;r&&(i.current?i.current=!1:n>=r?(m(),l(!1)):n<t?l(!1):n+window.innerHeight<document.documentElement.scrollHeight&&l(!0))})),(0,s.S)((function(e){e.location.hash&&(i.current=!0,l(!1))})),{shown:r,scrollToTop:function(){returnd(0)}}}({threshold:300}),t=e.shown,a=e.scrollToTop;returnn.createElement("button",{"aria-label":(0,o.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.Z)("clean-btn",d.k.common.backToTopButton,m,t&&u),type:"button",onClick:a})}varp=a(87524),v=a(86668),h=a(55537),f=a(87462);functionE(e){returnn.createElement("svg",(0,f.Z)({width:"20",height:"20","aria-hidden":"true"},e),n.createElement("g",{fill:"#7a7a7a"},n.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"}),n.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"})))}varg="collapseSidebarButton_FykI",_="collapseSidebarButtonIcon_DTRl";functionk(e){vart=e.onClick;returnn.createElement("button",{type:"button",title:(0,o.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,o.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.Z)("button button--secondary button--outline",g),onClick:t},n.createElement(E,{className:_}))}varC=a(59689),I=a(63366),N=a(69688),S=a(52802),Z=a(48596),y=a(86043),T=Symbol("EmptyContext"),x=n.createContext(T);functionL(e){vart=e.children,a=(0,n.useState)(null),r=a[0],l=a[1],i=(0,n.useMemo)((function(){return{expandedItem:r,setExpandedItem:l}}),[r]);returnn.createElement(x.Provider,{value:i},t)}varw=a(39960),A=a(72389),F=["item","onItemClick","activePath","level","index"];functionM(e){vart=e.categoryLabel,a=e.onClick;returnn.createElement("button",{"aria-label":(0,o.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:a})}functionP(e){vart=e.item,a=e.onItemClick,r=e.activePath,l=e.level,o=e.index,c=(0,I.Z)(e,F),s=t.items,m=t.label,u=t.collapsible,b=t.className,p=t.href,h=function(e){vart=(0,A.Z)();return(0,n.useMemo)((function(){returne.href?e.href:!t&&e.collapsible?(0,S.Wl)(e):void0}),[e,t])}(t),E=(0,S._F)(t,r),g=(0,Z.Mg)(p,r),_=(0,y.u)({initialState:function(){return!!u&&(!E&&t.collapsed)}}),k=_.collapsed,C=_.setCollapsed;!function(e){vart=e.isActive,a=e.collapsed,r=e.setCollapsed,l=(0,N.D9)(t);(0,n.useEffect)((function(){t&&!l&&a&&r(!1)}),[t,l,a,r])}({isActive:E,collapsed:k,setCollapsed:C});varL=function(){vare=(0,n.useContext)(x);if(e===T)thrownewN.i6("DocSidebarItemsExpandedStateProvider");returne}(),P=L.expandedItem,H=L.setExpandedItem;functionB(e){void0===e&&(e=!k),H(e?null:o),C(e)}varR=(0,v.L)().docs.sidebar.autoCollapseCategories;return(0,n.useEffect)((function(){u&&P&&P!==o&&R&&C(!0)}),[u,P,o,C,R]),n.createElement("li"