-
Notifications
You must be signed in to change notification settings - Fork 0
/
2.dcc40525.js
2 lines (2 loc) · 39.2 KB
/
2.dcc40525.js
1
2
/*! For license information please see 2.dcc40525.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(248);Object.defineProperty(t,"useThemeConfig",{enumerable:!0,get:function(){return a.useThemeConfig}});var r=n(330);Object.defineProperty(t,"docVersionSearchTag",{enumerable:!0,get:function(){return r.docVersionSearchTag}}),Object.defineProperty(t,"DEFAULT_SEARCH_TAG",{enumerable:!0,get:function(){return r.DEFAULT_SEARCH_TAG}});var o=n(249);Object.defineProperty(t,"isDocsPluginEnabled",{enumerable:!0,get:function(){return o.isDocsPluginEnabled}});var c=n(333);Object.defineProperty(t,"isSamePath",{enumerable:!0,get:function(){return c.isSamePath}});var s=n(334);Object.defineProperty(t,"useTitleFormatter",{enumerable:!0,get:function(){return s.useTitleFormatter}});var i=n(335);Object.defineProperty(t,"useDocsPreferredVersion",{enumerable:!0,get:function(){return i.useDocsPreferredVersion}}),Object.defineProperty(t,"useDocsPreferredVersionByPluginId",{enumerable:!0,get:function(){return i.useDocsPreferredVersionByPluginId}});var l=n(250);Object.defineProperty(t,"DocsPreferredVersionContextProvider",{enumerable:!0,get:function(){return l.DocsPreferredVersionContextProvider}})},196:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c}));var a=n(20),r=n(203);function o(){const{siteConfig:{baseUrl:e="/",url:t}={}}=Object(a.default)();return{withBaseUrl:(n,a)=>function(e,t,n,a){let{forcePrependBaseUrl:o=!1,absolute:c=!1}=void 0===a?{}:a;if(!n)return n;if(n.startsWith("#"))return n;if(Object(r.b)(n))return n;if(o)return t+n;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return c?e+s:s}(t,e,n,a)}}function c(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;const a=n(214),r=n(331),o=n(332);t.useAllDocsData=()=>r.useAllPluginInstancesData("docusaurus-plugin-content-docs"),t.useDocsData=e=>r.usePluginData("docusaurus-plugin-content-docs",e),t.useActivePlugin=function(e){void 0===e&&(e={});const n=t.useAllDocsData(),{pathname:r}=a.useLocation();return o.getActivePlugin(n,r,e)},t.useActivePluginAndVersion=function(e){void 0===e&&(e={});const n=t.useActivePlugin(e),{pathname:r}=a.useLocation();if(n){return{activePlugin:n,activeVersion:o.getActiveVersion(n.pluginData,r)}}},t.useVersions=e=>t.useDocsData(e).versions,t.useLatestVersion=e=>{const n=t.useDocsData(e);return o.getLatestVersion(n)},t.useActiveVersion=e=>{const n=t.useDocsData(e),{pathname:r}=a.useLocation();return o.getActiveVersion(n,r)},t.useActiveDocContext=e=>{const n=t.useDocsData(e),{pathname:r}=a.useLocation();return o.getActiveDocContext(n,r)},t.useDocVersionSuggestions=e=>{const n=t.useDocsData(e),{pathname:r}=a.useLocation();return o.getDocVersionSuggestions(n,r)}},203:function(e,t,n){"use strict";function a(e){return!0===/^(\w*:|\/\/)/.test(e)}function r(e){return void 0!==e&&!a(e)}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}))},210:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(11),c=n(203),s=n(12);const i=Object(a.createContext)({collectLink:()=>{}});var l=n(196),u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};t.a=function(e){var t,{isNavLink:n,to:d,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":v,autoAddBaseUrl:b=!0}=e,g=u(e,["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"]);const{withBaseUrl:p}=Object(l.b)(),E=Object(a.useContext)(i),O=d||f,k=Object(c.a)(O),j=null==O?void 0:O.replace("pathname://",""),_=void 0!==j?(y=j,b&&(e=>e.startsWith("/"))(y)?p(y):y):void 0;var y;const C=Object(a.useRef)(!1),w=n?o.e:o.c,D=s.a.canUseIntersectionObserver;let P;Object(a.useEffect)((()=>(!D&&k&&window.docusaurus.prefetch(_),()=>{D&&P&&P.disconnect()})),[_,D,k]);const N=null!==(t=null==_?void 0:_.startsWith("#"))&&void 0!==t&&t,S=!_||!k||N;return _&&k&&!N&&!v&&E.collectLink(_),S?r.a.createElement("a",Object.assign({href:_},O&&!k&&{target:"_blank",rel:"noopener noreferrer"},g)):r.a.createElement(w,Object.assign({},g,{onMouseEnter:()=>{C.current||(window.docusaurus.preload(_),C.current=!0)},innerRef:e=>{var t,n;D&&e&&k&&(t=e,n=()=>{window.docusaurus.prefetch(_)},P=new window.IntersectionObserver((e=>{e.forEach((e=>{t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(P.unobserve(t),P.disconnect(),n())}))})),P.observe(t))},to:_||""},n&&{isActive:h,activeClassName:m}))}},214:function(e,t,n){"use strict";n.r(t);var a=n(11);n.d(t,"MemoryRouter",(function(){return a.d})),n.d(t,"Prompt",(function(){return a.f})),n.d(t,"Redirect",(function(){return a.g})),n.d(t,"Route",(function(){return a.h})),n.d(t,"Router",(function(){return a.i})),n.d(t,"StaticRouter",(function(){return a.j})),n.d(t,"Switch",(function(){return a.k})),n.d(t,"generatePath",(function(){return a.l})),n.d(t,"matchPath",(function(){return a.m})),n.d(t,"useHistory",(function(){return a.n})),n.d(t,"useLocation",(function(){return a.o})),n.d(t,"useParams",(function(){return a.p})),n.d(t,"useRouteMatch",(function(){return a.q})),n.d(t,"withRouter",(function(){return a.r})),n.d(t,"BrowserRouter",(function(){return a.a})),n.d(t,"HashRouter",(function(){return a.b})),n.d(t,"Link",(function(){return a.c})),n.d(t,"NavLink",(function(){return a.e}))},248:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useThemeConfig=void 0;const r=a(n(20));t.useThemeConfig=function(){return r.default().siteConfig.themeConfig}},249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocsPluginEnabled=void 0;const a=n(202);t.isDocsPluginEnabled=!!a.useAllDocsData},250:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionContext=t.DocsPreferredVersionContextProvider=void 0;const s=o(n(0)),i=n(248),l=n(249),u=n(202),d=c(n(336));function f(e){let{pluginIds:t,versionPersistence:n,allDocsData:a}=e;const r={};return t.forEach((e=>{r[e]=function(e){const t=d.default.read(e,n);return a[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.default.clear(e,n),{preferredVersionName:null})}(e)})),r}function m(){const e=u.useAllDocsData(),t=i.useThemeConfig().docs.versionPersistence,n=s.useMemo((()=>Object.keys(e)),[e]),[a,r]=s.useState((()=>function(e){const t={};return e.forEach((e=>{t[e]={preferredVersionName:null}})),t}(n)));s.useEffect((()=>{r(f({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,s.useMemo((()=>({savePreferredVersion:function(e,n){d.default.save(e,t,n),r((t=>Object.assign(Object.assign({},t),{[e]:{preferredVersionName:n}})))}})),[r])]}const h=s.createContext(null);function v(e){let{children:t}=e;const n=m();return s.default.createElement(h.Provider,{value:n},t)}t.DocsPreferredVersionContextProvider=function(e){let{children:t}=e;return l.isDocsPluginEnabled?s.default.createElement(v,null,t):s.default.createElement(s.default.Fragment,null,t)},t.useDocsPreferredVersionContext=function(){const e=s.useContext(h);if(!e)throw new Error("Can't find docs preferred context, maybe you forgot to use the DocsPreferredVersionContextProvider ?");return e}},251:function(e,t,n){"use strict";var a=n(3),r=n(0),o=n.n(r),c=n(167),s=n(210),i=n(196),l=n(214),u=n(187);function d(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:c,label:l,activeClassName:u="navbar__link--active",prependBaseUrlToHref:d,...f}=e;const m=Object(i.a)(r),h=Object(i.a)(t),v=Object(i.a)(c,{forcePrependBaseUrl:!0});return o.a.createElement(s.a,Object(a.a)({},c?{target:"_blank",rel:"noopener noreferrer",href:d?v:c}:{isNavLink:!0,activeClassName:u,to:m,...t||n?{isActive:(e,t)=>n?new RegExp(n).test(t.pathname):t.pathname.startsWith(h)}:null},f),l)}function f(e){let{items:t,position:n,className:s,...i}=e;const l=Object(r.useRef)(null),u=Object(r.useRef)(null),[f,m]=Object(r.useState)(!1);Object(r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&m(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[l]);const h=function(e,t){return void 0===t&&(t=!1),Object(c.a)({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?o.a.createElement("div",{ref:l,className:Object(c.a)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===n,"dropdown--right":"right"===n,"dropdown--show":f})},o.a.createElement(d,Object(a.a)({className:h(s)},i,{onClick:i.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),m(!f))}}),i.label),o.a.createElement("ul",{ref:u,className:"dropdown__menu"},t.map(((e,n)=>{let{className:r,...c}=e;return o.a.createElement("li",{key:n},o.a.createElement(d,Object(a.a)({onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),m(!1);const t=l.current.nextElementSibling;t&&t.focus()}},activeClassName:"dropdown__link--active",className:h(r,!0)},c)))})))):o.a.createElement(d,Object(a.a)({className:h(s)},i))}function m(e){var t,n;let{items:s,className:i,position:f,...m}=e;const h=Object(r.useRef)(null),{pathname:v}=Object(l.useLocation)(),[b,g]=Object(r.useState)((()=>{var e;return null===(e=!(null!=s&&s.some((e=>Object(u.isSamePath)(e.to,v)))))||void 0===e||e})),p=function(e,t){return void 0===t&&(t=!1),Object(c.a)("menu__link",{"menu__link--sublist":t},e)};if(!s)return o.a.createElement("li",{className:"menu__list-item"},o.a.createElement(d,Object(a.a)({className:p(i)},m)));const E=null!==(t=h.current)&&void 0!==t&&t.scrollHeight?`${null===(n=h.current)||void 0===n?void 0:n.scrollHeight}px`:void 0;return o.a.createElement("li",{className:Object(c.a)("menu__list-item",{"menu__list-item--collapsed":b})},o.a.createElement(d,Object(a.a)({role:"button",className:p(i,!0)},m,{onClick:()=>{g((e=>!e))}}),m.label),o.a.createElement("ul",{className:"menu__list",ref:h,style:{height:b?void 0:E}},s.map(((e,t)=>{let{className:n,...r}=e;return o.a.createElement("li",{className:"menu__list-item",key:t},o.a.createElement(d,Object(a.a)({activeClassName:"menu__link--active",className:p(n)},r,{onClick:m.onClick})))}))))}t.a=function(e){let{mobile:t=!1,...n}=e;const a=t?m:f;return o.a.createElement(a,n)}},289:function(e,t,n){"use strict";var a=n(0),r=n(290);t.a=function(){const e=Object(a.useContext)(r.a);if(null==e)throw new Error("`useUserPreferencesContext` is used outside of `Layout` Component.");return e}},290:function(e,t,n){"use strict";var a=n(0);const r=Object(a.createContext)(void 0);t.a=r},291:function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var c=r.apply(null,a);c&&e.push(c)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var s in a)n.call(a,s)&&a[s]&&e.push(s)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},323:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(167),c=n(59),s=n.n(c);var i=function(){return r.a.createElement("nav",{"aria-label":"Skip navigation links"},r.a.createElement("button",{type:"button",tabIndex:0,className:s.a.skipToContent,onKeyDown:e=>{if(13!==e.keyCode)return;document.activeElement.blur();const t=document.querySelector("main:first-of-type");t&&t.scrollIntoView()}},"Skip to main content"))},l=n(187),u=n(289),d=n(60),f=n.n(d);var m=function(){const{isAnnouncementBarClosed:e,closeAnnouncementBar:t}=Object(u.a)(),{announcementBar:n}=Object(l.useThemeConfig)();if(!n)return null;const{content:a,backgroundColor:c,textColor:s,isCloseable:i}=n;return!a||i&&e?null:r.a.createElement("div",{className:f.a.announcementBar,style:{backgroundColor:c,color:s},role:"banner"},r.a.createElement("div",{className:Object(o.a)(f.a.announcementBarContent,{[f.a.announcementBarCloseable]:i}),dangerouslySetInnerHTML:{__html:a}}),i?r.a.createElement("button",{type:"button",className:f.a.announcementBarClose,onClick:t,"aria-label":"Close"},r.a.createElement("span",{"aria-hidden":"true"},"\xd7")):null)},h=n(3),v=()=>null,b=n(505),g=n.n(b),p=n(20),E=n(61),O=n.n(E);const k=e=>{let{icon:t,style:n}=e;return r.a.createElement("span",{className:Object(o.a)(O.a.toggle,O.a.dark),style:n},t)},j=e=>{let{icon:t,style:n}=e;return r.a.createElement("span",{className:Object(o.a)(O.a.toggle,O.a.light),style:n},t)};var _=function(e){const{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:n,lightIcon:a,lightIconStyle:o}}}=Object(l.useThemeConfig)(),{isClient:c}=Object(p.default)();return r.a.createElement(g.a,Object(h.a)({disabled:!c,icons:{checked:r.a.createElement(k,{icon:t,style:n}),unchecked:r.a.createElement(j,{icon:a,style:o})}},e))},y=n(338),C=n(214),w=n(396);var D=e=>{const t=Object(C.useLocation)(),[n,r]=Object(a.useState)(!e),o=Object(a.useRef)(!1),[c,s]=Object(a.useState)(0),[i,l]=Object(a.useState)(0),u=Object(a.useCallback)((e=>{null!==e&&l(e.getBoundingClientRect().height)}),[]);return Object(w.a)((t=>{let{scrollY:n}=t;if(!e)return;if(n<i)return;if(o.current)return o.current=!1,r(!1),void s(n);c&&0===n&&r(!0);const a=document.documentElement.scrollHeight-i,l=window.innerHeight;c&&n>=c?r(!1):n+l<a&&r(!0),s(n)}),[c,i,o]),Object(a.useEffect)((()=>{e&&c&&r(!0)}),[t.pathname]),Object(a.useEffect)((()=>{e&&(o.current=!0)}),[t.hash]),{navbarRef:u,isNavbarVisible:n}},P=n(397),N=n(398),S=n(251);function V(e){let{mobile:t,...n}=e;const{siteConfig:{baseUrl:a},i18n:{defaultLocale:o,currentLocale:c,locales:s,localeConfigs:i}}=Object(p.default)(),{pathname:l}=Object(C.useLocation)();function u(e){return i[e].label}const d=c===o?a:a.replace(`/${c}/`,"/"),f=l.replace(a,"");const m=s.map((e=>{const t=`${function(e){return e===o?`${d}`:`${d}${e}/`}(e)}${f}`;return{isNavLink:!0,label:u(e),to:`pathname://${t}`,target:"_self",autoAddBaseUrl:!1,className:e===c?"dropdown__link--active":""}})),v=t?"Languages":u(c);return r.a.createElement(S.a,Object(h.a)({},n,{mobile:t,label:v,items:m}))}const T={default:()=>S.a,localeDropdown:()=>V,docsVersion:()=>n(509).default,docsVersionDropdown:()=>n(510).default,doc:()=>n(511).default};function L(e){let{type:t,...n}=e;const a=function(e){void 0===e&&(e="default");const t=T[e];if(!t)throw new Error(`No NavbarItem component found for type=${e}.`);return t()}(t);return r.a.createElement(a,n)}var A=n(483),x=n(399),I=n(63),M=n.n(I);const B="right";var $=function(){const{navbar:{items:e,hideOnScroll:t,style:n},colorMode:{disableSwitch:c}}=Object(l.useThemeConfig)(),[s,i]=Object(a.useState)(!1),[u,d]=Object(a.useState)(!1),{isDarkTheme:f,setLightTheme:m,setDarkTheme:b}=Object(y.a)(),{navbarRef:g,isNavbarVisible:p}=D(t);Object(P.a)(s);const E=Object(a.useCallback)((()=>{i(!0)}),[i]),O=Object(a.useCallback)((()=>{i(!1)}),[i]),k=Object(a.useCallback)((e=>e.target.checked?b():m()),[m,b]),j=Object(N.a)();Object(a.useEffect)((()=>{j===N.b.desktop&&i(!1)}),[j]);const{leftItems:C,rightItems:w}=function(e){return{leftItems:e.filter((e=>{var t;return"left"===(null!==(t=e.position)&&void 0!==t?t:B)})),rightItems:e.filter((e=>{var t;return"right"===(null!==(t=e.position)&&void 0!==t?t:B)}))}}(e);return r.a.createElement("nav",{ref:g,className:Object(o.a)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===n,"navbar--primary":"primary"===n,"navbar-sidebar--show":s,[M.a.navbarHideable]:t,[M.a.navbarHidden]:!p})},r.a.createElement("div",{className:"navbar__inner"},r.a.createElement("div",{className:"navbar__items"},null!=e&&0!==e.length&&r.a.createElement("div",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",role:"button",tabIndex:0,onClick:E,onKeyDown:E},r.a.createElement(x.a,null)),r.a.createElement(A.a,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:Object(o.a)("navbar__title",{[M.a.hideLogoText]:u})}),C.map(((e,t)=>r.a.createElement(L,Object(h.a)({},e,{key:t}))))),r.a.createElement("div",{className:"navbar__items navbar__items--right"},w.map(((e,t)=>r.a.createElement(L,Object(h.a)({},e,{key:t})))),!c&&r.a.createElement(_,{className:M.a.displayOnlyInLargeViewport,"aria-label":"Dark mode toggle",checked:f,onChange:k}),r.a.createElement(v,{handleSearchBarToggle:d,isSearchBarExpanded:u}))),r.a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:O}),r.a.createElement("div",{className:"navbar-sidebar"},r.a.createElement("div",{className:"navbar-sidebar__brand"},r.a.createElement(A.a,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:O}),!c&&s&&r.a.createElement(_,{"aria-label":"Dark mode toggle in sidebar",checked:f,onChange:k})),r.a.createElement("div",{className:"navbar-sidebar__items"},r.a.createElement("div",{className:"menu"},r.a.createElement("ul",{className:"menu__list"},e.map(((e,t)=>r.a.createElement(L,Object(h.a)({mobile:!0},e,{onClick:O,key:t})))))))))},R=n(210),U=n(196),F=n(64),H=n.n(F);function X(e){let{to:t,href:n,label:a,prependBaseUrlToHref:o,...c}=e;const s=Object(U.a)(t),i=Object(U.a)(n,{forcePrependBaseUrl:!0});return r.a.createElement(R.a,Object(h.a)({className:"footer__link-item"},n?{target:"_blank",rel:"noopener noreferrer",href:o?i:n}:{to:s},c),a)}const G=e=>{let{url:t,alt:n}=e;return r.a.createElement("img",{className:"footer__logo",alt:n,src:t})};var W=function(){const{footer:e}=Object(l.useThemeConfig)(),{copyright:t,links:n=[],logo:a={}}=e||{},c=Object(U.a)(a.src);return e?r.a.createElement("footer",{className:Object(o.a)("footer",{"footer--dark":"dark"===e.style})},r.a.createElement("div",{className:"container"},n&&n.length>0&&r.a.createElement("div",{className:"row footer__links"},n.map(((e,t)=>r.a.createElement("div",{key:t,className:"col footer__col"},null!=e.title?r.a.createElement("h4",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?r.a.createElement("ul",{className:"footer__items"},e.items.map(((e,t)=>e.html?r.a.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):r.a.createElement("li",{key:e.href||e.to,className:"footer__item"},r.a.createElement(X,e))))):null)))),(a||t)&&r.a.createElement("div",{className:"footer__bottom text--center"},a&&a.src&&r.a.createElement("div",{className:"margin-bottom--sm"},a.href?r.a.createElement("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:H.a.footerLogoLink},r.a.createElement(G,{alt:a.alt,url:c})):r.a.createElement(G,{alt:a.alt,url:c})),t?r.a.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null},Y=n(12);const K="light",q="dark",z=e=>e===q?q:K,J=()=>Y.a.canUseDOM?z(document.documentElement.getAttribute("data-theme")):K,Q=e=>{try{localStorage.setItem("theme",z(e))}catch(t){console.error(t)}};var Z=()=>{const{colorMode:{disableSwitch:e,respectPrefersColorScheme:t}}=Object(l.useThemeConfig)(),[n,r]=Object(a.useState)(J),o=Object(a.useCallback)((()=>{r(K),Q(K)}),[]),c=Object(a.useCallback)((()=>{r(q),Q(q)}),[]);return Object(a.useEffect)((()=>{document.documentElement.setAttribute("data-theme",z(n))}),[n]),Object(a.useEffect)((()=>{if(!e)try{const e=localStorage.getItem("theme");null!==e&&r(z(e))}catch(t){console.error(t)}}),[r]),Object(a.useEffect)((()=>{e&&!t||window.matchMedia("(prefers-color-scheme: dark)").addListener((e=>{let{matches:t}=e;r(t?q:K)}))}),[]),{isDarkTheme:n===q,setLightTheme:o,setDarkTheme:c}},ee=n(395);var te=function(e){const{isDarkTheme:t,setLightTheme:n,setDarkTheme:a}=Z();return r.a.createElement(ee.a.Provider,{value:{isDarkTheme:t,setLightTheme:n,setDarkTheme:a}},e.children)};const ne="docusaurus.tab.";var ae=()=>{const[e,t]=Object(a.useState)({}),n=Object(a.useCallback)(((e,t)=>{try{localStorage.setItem(`${ne}${e}`,t)}catch(n){console.error(n)}}),[]);return Object(a.useEffect)((()=>{try{const e={};for(let t=0;t<localStorage.length;t+=1){const n=localStorage.key(t);if(n.startsWith(ne)){e[n.substring(ne.length)]=localStorage.getItem(n)}}t(e)}catch(e){console.error(e)}}),[]),{tabGroupChoices:e,setTabGroupChoices:(e,a)=>{t((t=>({...t,[e]:a}))),n(e,a)}}};const re="docusaurus.announcement.dismiss",oe="docusaurus.announcement.id";var ce=()=>{const{announcementBar:e}=Object(l.useThemeConfig)(),[t,n]=Object(a.useState)(!0),r=Object(a.useCallback)((()=>{localStorage.setItem(re,"true"),n(!0)}),[]);return Object(a.useEffect)((()=>{if(!e)return;const{id:t}=e;let a=localStorage.getItem(oe);"annoucement-bar"===a&&(a="announcement-bar");const r=t!==a;localStorage.setItem(oe,t),r&&localStorage.setItem(re,"false"),(r||"false"===localStorage.getItem(re))&&n(!1)}),[]),{isAnnouncementBarClosed:t,closeAnnouncementBar:r}},se=n(290);var ie=function(e){const{tabGroupChoices:t,setTabGroupChoices:n}=ae(),{isAnnouncementBarClosed:a,closeAnnouncementBar:o}=ce();return r.a.createElement(se.a.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:n,isAnnouncementBarClosed:a,closeAnnouncementBar:o}},e.children)};function le(e){let{children:t}=e;return r.a.createElement(te,null,r.a.createElement(ie,null,r.a.createElement(l.DocsPreferredVersionContextProvider,null,t)))}var ue=n(24);function de(e){let{locale:t,version:n,tag:a}=e;return r.a.createElement(ue.a,null,t&&r.a.createElement("meta",{name:"docusaurus_locale",content:`${t}`}),n&&r.a.createElement("meta",{name:"docusaurus_version",content:n}),a&&r.a.createElement("meta",{name:"docusaurus_tag",content:a}))}function fe(e){const{siteConfig:t,i18n:{currentLocale:n}}=Object(p.default)(),{favicon:a,themeConfig:{image:o,metadatas:c},url:s}=t,{title:i,description:u,image:d,keywords:f,permalink:m,searchMetadatas:v}=e,b=Object(l.useTitleFormatter)(i),g=d||o,E=Object(U.a)(g,{absolute:!0}),O=Object(U.a)(a),k=n.split("-")[0];return r.a.createElement(r.a.Fragment,null,r.a.createElement(ue.a,null,r.a.createElement("html",{lang:k}),b&&r.a.createElement("title",null,b),b&&r.a.createElement("meta",{property:"og:title",content:b}),a&&r.a.createElement("link",{rel:"shortcut icon",href:O}),u&&r.a.createElement("meta",{name:"description",content:u}),u&&r.a.createElement("meta",{property:"og:description",content:u}),f&&f.length&&r.a.createElement("meta",{name:"keywords",content:f.join(",")}),g&&r.a.createElement("meta",{property:"og:image",content:E}),g&&r.a.createElement("meta",{name:"twitter:image",content:E}),g&&r.a.createElement("meta",{name:"twitter:image:alt",content:`Image for ${b}`}),m&&r.a.createElement("meta",{property:"og:url",content:s+m}),m&&r.a.createElement("link",{rel:"canonical",href:s+m}),r.a.createElement("meta",{name:"twitter:card",content:"summary_large_image"})),r.a.createElement(de,Object(h.a)({tag:l.DEFAULT_SEARCH_TAG,locale:n},v)),r.a.createElement(ue.a,null,c.map(((e,t)=>r.a.createElement("meta",Object(h.a)({key:`metadata_${t}`},e))))))}n(65);var me=function(){Object(a.useEffect)((()=>{const e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),()=>{document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])};n(66);t.a=function(e){const{children:t,noFooter:n,wrapperClassName:a}=e;return me(),r.a.createElement(le,null,r.a.createElement(fe,e),r.a.createElement(i,null),r.a.createElement(m,null),r.a.createElement($,null),r.a.createElement("div",{className:Object(o.a)("main-wrapper",a)},t),!n&&r.a.createElement(W,null))}},330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docVersionSearchTag=t.DEFAULT_SEARCH_TAG=void 0,t.DEFAULT_SEARCH_TAG="default",t.docVersionSearchTag=function(e,t){return`docs-${e}-${t}`}},331:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r})),n.d(t,"useAllPluginInstancesData",(function(){return o})),n.d(t,"usePluginData",(function(){return c}));var a=n(20);function r(){const{globalData:e}=Object(a.default)();if(!e)throw new Error("Docusaurus global data not found");return e}function o(e){const t=r()[e];if(!t)throw new Error(`Docusaurus plugin global data not found for pluginName=${e}`);return t}function c(e,t){void 0===t&&(t="default");const n=o(e)[t];if(!n)throw new Error(`Docusaurus plugin global data not found for pluginName=${e} and pluginId=${t}`);return n}},332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;const a=n(214);t.getActivePlugin=function(e,t,n){void 0===n&&(n={});const r=Object.entries(e).find((e=>{let[n,r]=e;return!!a.matchPath(t,{path:r.path,exact:!1,strict:!1})})),o=r?{pluginId:r[0],pluginData:r[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for pathname=${t}, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o},t.getLatestVersion=e=>e.versions.find((e=>e.isLast)),t.getActiveVersion=(e,n)=>{const r=t.getLatestVersion(e);return[...e.versions.filter((e=>e!==r)),r].find((e=>!!a.matchPath(n,{path:e.path,exact:!1,strict:!1})))},t.getActiveDocContext=(e,n)=>{const r=t.getActiveVersion(e,n),o=null==r?void 0:r.docs.find((e=>!!a.matchPath(n,{path:e.path,exact:!0,strict:!1})));return{activeVersion:r,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((a=>{a.id===t&&(n[e.name]=a)}))})),n}(o.id):{}}},t.getDocVersionSuggestions=(e,n)=>{const a=t.getLatestVersion(e),r=t.getActiveDocContext(e,n),o=r.activeVersion!==a;return{latestDocSuggestion:o?null==r?void 0:r.alternateDocVersions[a.name]:void 0,latestVersionSuggestion:o?a:void 0}}},333:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSamePath=void 0,t.isSamePath=(e,t)=>{const n=e=>!e||(null==e?void 0:e.endsWith("/"))?e:`${e}/`;return n(e)===n(t)}},334:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useTitleFormatter=void 0;const r=a(n(20));t.useTitleFormatter=e=>{const{siteConfig:t={}}=r.default(),{title:n,titleDelimiter:a="|"}=t;return e&&e.trim().length?`${e.trim()} ${a} ${n}`:n}},335:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionByPluginId=t.useDocsPreferredVersion=void 0;const a=n(0),r=n(250),o=n(202),c=n(337);t.useDocsPreferredVersion=function(e){void 0===e&&(e=c.DEFAULT_PLUGIN_ID);const t=o.useDocsData(e),[n,s]=r.useDocsPreferredVersionContext(),{preferredVersionName:i}=n[e];return{preferredVersion:i?t.versions.find((e=>e.name===i)):null,savePreferredVersionName:a.useCallback((t=>{s.savePreferredVersion(e,t)}),[s])}},t.useDocsPreferredVersionByPluginId=function(){const e=o.useAllDocsData(),[t]=r.useDocsPreferredVersionContext(),n=Object.keys(e),a={};return n.forEach((n=>{a[n]=function(n){const a=e[n],{preferredVersionName:r}=t[n];return r?a.versions.find((e=>e.name===r)):null}(n)})),a}},336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=e=>`docs-preferred-version-${e}`,r={save:(e,t,n)=>{"none"===t||window.localStorage.setItem(a(e),n)},read:(e,t)=>"none"===t?null:window.localStorage.getItem(a(e)),clear:(e,t)=>{"none"===t||window.localStorage.removeItem(a(e))}};t.default=r},337:function(e,t,n){"use strict";n.r(t),n.d(t,"DEFAULT_PLUGIN_ID",(function(){return a}));const a="default"},338:function(e,t,n){"use strict";var a=n(0),r=n(395);t.a=function(){const e=Object(a.useContext)(r.a);if(null==e)throw new Error("`useThemeContext` is used outside of `Layout` Component. See https://v2.docusaurus.io/docs/theme-classic#usethemecontext.");return e}},395:function(e,t,n){"use strict";var a=n(0);const r=n.n(a).a.createContext(void 0);t.a=r},396:function(e,t,n){"use strict";var a=n(0),r=n(12);const o=()=>({scrollX:r.a.canUseDOM?window.pageXOffset:0,scrollY:r.a.canUseDOM?window.pageYOffset:0});t.a=function(e,t){void 0===t&&(t=[]);const[n,r]=Object(a.useState)(o()),c=()=>{const t=o();r(t),e&&e(t)};return Object(a.useEffect)((()=>{const e={passive:!0};return window.addEventListener("scroll",c,e),()=>window.removeEventListener("scroll",c,e)}),t),n}},397:function(e,t,n){"use strict";var a=n(0);t.a=function(e){void 0===e&&(e=!0),Object(a.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},398:function(e,t,n){"use strict";n.d(t,"b",(function(){return r}));var a=n(0);const r={desktop:"desktop",mobile:"mobile"};t.a=function(){const e="undefined"!=typeof window;function t(){if(e)return window.innerWidth>996?r.desktop:r.mobile}const[n,o]=Object(a.useState)(t);return Object(a.useEffect)((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){o(t())}}),[]),n}},399:function(e,t,n){"use strict";var a=n(3),r=n(0),o=n.n(r);t.a=e=>{let{width:t=30,height:n=30,className:r,...c}=e;return o.a.createElement("svg",Object(a.a)({"aria-label":"Menu",className:r,width:t,height:n,viewBox:"0 0 30 30",role:"img",focusable:"false"},c),o.a.createElement("title",null,"Menu"),o.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}},483:function(e,t,n){"use strict";var a=n(3),r=n(0),o=n.n(r),c=n(210),s=n(167),i=n(20),l=n(338),u=n(62),d=n.n(u);var f=e=>{const{isClient:t}=Object(i.default)(),{isDarkTheme:n}=Object(l.a)(),{sources:r,className:c,alt:u="",...f}=e,m=t?n?["dark"]:["light"]:["light","dark"];return o.a.createElement(o.a.Fragment,null,m.map((e=>o.a.createElement("img",Object(a.a)({key:e,src:r[e],alt:u,className:Object(s.a)(d.a.themedImage,d.a[`themedImage--${e}`],c)},f)))))},m=n(196),h=n(187),v=n(203);t.a=e=>{const{isClient:t}=Object(i.default)(),{navbar:{title:n,logo:r={src:""}}}=Object(h.useThemeConfig)(),{imageClassName:s,titleClassName:l,...u}=e,d=Object(m.a)(r.href||"/"),b=r.target?{target:r.target}:Object(v.a)(d)?{}:{rel:"noopener noreferrer",target:"_blank"},g={light:Object(m.a)(r.src),dark:Object(m.a)(r.srcDark||r.src)};return o.a.createElement(c.a,Object(a.a)({to:d},u,b),r.src&&o.a.createElement(f,{key:t,className:s,sources:g,alt:r.alt||n||"Logo"}),null!=n&&o.a.createElement("strong",{className:l},n))}},505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(0),c=f(o),s=f(n(291)),i=f(n(1)),l=f(n(506)),u=f(n(507)),d=n(508);function f(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){if(!this.props.disabled){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}}},{key:"handleTouchStart",value:function(e){this.props.disabled||(this.startX=(0,d.pointerCoord)(e).x,this.activated=!0)}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,d.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,d.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=(t.icons,function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(t,["className","icons"])),o=(0,s.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return c.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},c.default.createElement("div",{className:"react-toggle-track"},c.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),c.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),c.default.createElement("div",{className:"react-toggle-thumb"}),c.default.createElement("input",a({},r,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(o.PureComponent);t.default=m,m.displayName="Toggle",m.defaultProps={icons:{checked:c.default.createElement(l.default,null),unchecked:c.default.createElement(u.default,null)}},m.propTypes={checked:i.default.bool,disabled:i.default.bool,defaultChecked:i.default.bool,onChange:i.default.func,onFocus:i.default.func,onBlur:i.default.func,className:i.default.string,name:i.default.string,value:i.default.string,id:i.default.string,"aria-labelledby":i.default.string,"aria-label":i.default.string,icons:i.default.oneOfType([i.default.bool,i.default.shape({checked:i.default.node,unchecked:i.default.node})])}},506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a};t.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},507:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n(0),o=(a=r)&&a.__esModule?a:{default:a};t.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},508:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var a=e.pageX;if(void 0!==a)return{x:a,y:e.pageY}}return{x:0,y:0}}},509:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return l}));var a=n(3),r=n(0),o=n.n(r),c=n(251),s=n(202),i=n(187);function l(e){var t;let{label:n,to:r,docsPluginId:l,...u}=e;const d=Object(s.useActiveVersion)(l),{preferredVersion:f}=Object(i.useDocsPreferredVersion)(l),m=Object(s.useLatestVersion)(l),h=null!==(t=null!=d?d:f)&&void 0!==t?t:m,v=null!=n?n:h.label,b=null!=r?r:(e=>e.docs.find((t=>t.id===e.mainDocId)))(h).path;return o.a.createElement(c.a,Object(a.a)({},u,{label:v,to:b}))}},510:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var a=n(3),r=n(0),o=n.n(r),c=n(251),s=n(202),i=n(187);const l=e=>e.docs.find((t=>t.id===e.mainDocId));function u(e){var t,n;let{mobile:r,docsPluginId:u,dropdownActiveClassDisabled:d,dropdownItemsBefore:f,dropdownItemsAfter:m,...h}=e;const v=Object(s.useActiveDocContext)(u),b=Object(s.useVersions)(u),g=Object(s.useLatestVersion)(u),{preferredVersion:p,savePreferredVersionName:E}=Object(i.useDocsPreferredVersion)(u);const O=null!==(t=null!==(n=v.activeVersion)&&void 0!==n?n:p)&&void 0!==t?t:g,k=r?"Versions":O.label,j=r?void 0:l(O).path;return o.a.createElement(c.a,Object(a.a)({},h,{mobile:r,label:k,to:j,items:function(){const e=b.map((e=>{const t=(null==v?void 0:v.alternateDocVersions[e.name])||l(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:()=>e===(null==v?void 0:v.activeVersion),onClick:()=>{E(e.name)}}})),t=[...f,...e,...m];if(!(t.length<=1))return t}(),isActive:d?()=>!1:void 0}))}},511:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var a=n(3),r=n(0),o=n.n(r),c=n(251),s=n(202),i=n(167),l=n(187);function u(e){var t;let{docId:n,activeSidebarClassName:r,label:u,docsPluginId:d,...f}=e;const{activeVersion:m,activeDoc:h}=Object(s.useActiveDocContext)(d),{preferredVersion:v}=Object(l.useDocsPreferredVersion)(d),b=Object(s.useLatestVersion)(d),g=null!==(t=null!=m?m:v)&&void 0!==t?t:b,p=g.docs.find((e=>e.id===n));if(!p)throw new Error(`DocNavbarItem: couldn't find any doc with id=${n} in version ${g.name}.\nAvailable docIds=\n- ${g.docs.join("\n- ")}`);return o.a.createElement(c.a,Object(a.a)({exact:!0},f,{className:Object(i.a)(f.className,{[r]:h&&h.sidebar===p.sidebar}),label:null!=u?u:p.id,to:p.path}))}}}]);