-
Notifications
You must be signed in to change notification settings - Fork 0
/
1be78505.660c4eb0.js
1 lines (1 loc) · 10.8 KB
/
1be78505.660c4eb0.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,7,39],{127:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(183),i=a(179),c=a(174),o=a(178),s=a(175);var m=function(e){var t=e.metadata;return l.a.createElement("nav",{className:"pagination-nav"},l.a.createElement("div",{className:"pagination-nav__item"},t.previous&&l.a.createElement(s.a,{className:"pagination-nav__link",to:t.previous.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Previous"),l.a.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),l.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&l.a.createElement(s.a,{className:"pagination-nav__link",to:t.next.permalink},l.a.createElement("div",{className:"pagination-nav__sublabel"},"Next"),l.a.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var u=function(e,t,a){var l=Object(n.useState)(void 0),r=l[0],i=l[1];Object(n.useEffect)((function(){var n=[],l=[];function c(){var c=function(){var e=0,t=null;for(n=document.getElementsByClassName("anchor");e<n.length&&!t;){var l=n[e],r=l.getBoundingClientRect().top;r>=0&&r<=a&&(t=l),e+=1}return t}();if(c){var o=0,s=!1;for(l=document.getElementsByClassName(e);o<l.length&&!s;){var m=l[o],u=m.href,d=decodeURIComponent(u.substring(u.indexOf("#")+1));c.id===d&&(r&&r.classList.remove(t),m.classList.add(t),i(m),s=!0),o+=1}}}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),function(){document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}))},d=a(176),v=a.n(d),f=a(128),p=a.n(f);function E(e){var t=e.headings;return u("table-of-contents__link","table-of-contents__link--active",100),l.a.createElement("div",{className:"col col--3"},l.a.createElement("div",{className:p.a.tableOfContents},l.a.createElement(g,{headings:t})))}function g(e){var t=e.headings,a=e.isChild;return t.length?l.a.createElement("ul",{className:a?"":"table-of-contents table-of-contents__left-border"},t.map((function(e){return l.a.createElement("li",{key:e.id},l.a.createElement("a",{href:"#"+e.id,className:"table-of-contents__link",dangerouslySetInnerHTML:{__html:e.value}}),l.a.createElement(g,{isChild:!0,headings:e.children}))}))):null}t.default=function(e){var t,a=Object(c.a)().siteConfig,n=void 0===a?{}:a,s=n.url,u=n.title,d=e.content,f=d.metadata,g=f.description,b=f.title,h=f.permalink,_=f.editUrl,k=f.lastUpdatedAt,N=f.lastUpdatedBy,y=f.version,w=d.frontMatter,C=w.image,O=w.keywords,j=w.hide_title,x=w.hide_table_of_contents,I=b?b+" | "+u:u,M=s+Object(o.a)(C);return Object(i.a)(C)||(M=C),l.a.createElement(l.a.Fragment,null,l.a.createElement(r.a,null,l.a.createElement("title",null,I),l.a.createElement("meta",{property:"og:title",content:I}),g&&l.a.createElement("meta",{name:"description",content:g}),g&&l.a.createElement("meta",{property:"og:description",content:g}),O&&O.length&&l.a.createElement("meta",{name:"keywords",content:O.join(",")}),C&&l.a.createElement("meta",{property:"og:image",content:M}),C&&l.a.createElement("meta",{property:"twitter:image",content:M}),C&&l.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+b}),h&&l.a.createElement("meta",{property:"og:url",content:s+h}),h&&l.a.createElement("link",{rel:"canonical",href:s+h})),l.a.createElement("div",{className:v()("container padding-vert--lg",p.a.docItemWrapper)},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:v()("col",(t={},t[p.a.docItemCol]=!x,t))},l.a.createElement("div",{className:p.a.docItemContainer},l.a.createElement("article",null,y&&l.a.createElement("div",null,l.a.createElement("span",{className:"badge badge--secondary"},"Version: ",y)),!j&&l.a.createElement("header",null,l.a.createElement("h1",{className:p.a.docTitle},b)),l.a.createElement("div",{className:"markdown"},l.a.createElement(d,null))),(_||k||N)&&l.a.createElement("div",{className:"margin-vert--xl"},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:"col"},_&&l.a.createElement("a",{href:_,target:"_blank",rel:"noreferrer noopener"},l.a.createElement("svg",{fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 40 40",style:{marginRight:"0.3em",verticalAlign:"sub"}},l.a.createElement("g",null,l.a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"}))),"Edit this page")),(k||N)&&l.a.createElement("div",{className:"col text--right"},l.a.createElement("em",null,l.a.createElement("small",null,"Last updated"," ",k&&l.a.createElement(l.a.Fragment,null,"on"," ",l.a.createElement("time",{dateTime:new Date(1e3*k).toISOString(),className:p.a.docLastUpdatedAt},new Date(1e3*k).toLocaleDateString()),N&&" "),N&&l.a.createElement(l.a.Fragment,null,"by ",l.a.createElement("strong",null,N)),!1))))),l.a.createElement("div",{className:"margin-vert--lg"},l.a.createElement(m,{metadata:f})))),!x&&d.rightToc&&l.a.createElement(E,{headings:d.rightToc}))))}},170:function(e,t,a){"use strict";a.r(t);a(28),a(19),a(20),a(52),a(221);var n=a(0),l=a.n(n),r=a(173),i=a(174),c=a(61),o=a(177),s=a(127),m=a(2),u=a(9),d=a(176),v=a.n(d),f=a(194),p=a(201),E=a(202),g=a(200),b=a(175),h=a(179),_=a(137),k=a.n(_);function N(e){var t=e.item,a=e.onItemClick,r=e.collapsible,i=e.activePath,c=Object(u.a)(e,["item","onItemClick","collapsible","activePath"]),o=t.items,s=t.href,d=t.label,f=t.type,p=Object(n.useState)(t.collapsed),E=p[0],g=p[1],_=Object(n.useState)(null),k=_[0],y=_[1];t.collapsed!==k&&(y(t.collapsed),g(t.collapsed));var w=Object(n.useCallback)((function(e){e.preventDefault(),e.target.blur(),g((function(e){return!e}))}));switch(f){case"category":return o.length>0&&l.a.createElement("li",{className:v()("menu__list-item",{"menu__list-item--collapsed":E}),key:d},l.a.createElement("a",Object(m.a)({className:v()("menu__link",{"menu__link--sublist":r,"menu__link--active":r&&!t.collapsed}),href:"#!",onClick:r?w:void 0},c),d),l.a.createElement("ul",{className:"menu__list"},o.map((function(e){return l.a.createElement(N,{tabIndex:E?"-1":"0",key:e.label,item:e,onItemClick:a,collapsible:r,activePath:i})}))));case"link":default:return l.a.createElement("li",{className:"menu__list-item",key:d},l.a.createElement(b.a,Object(m.a)({className:v()("menu__link",{"menu__link--active":s===i}),to:s},Object(h.a)(s)?{isNavLink:!0,exact:!0,onClick:a}:{target:"_blank",rel:"noreferrer noopener"},c),d))}}var y=function(e){var t,a,r=Object(n.useState)(!1),c=r[0],o=r[1],s=Object(i.a)(),u=s.siteConfig,d=(u=void 0===u?{}:u).themeConfig.navbar,h=(d=void 0===d?{}:d).title,_=d.hideOnScroll,y=void 0!==_&&_,w=s.isClient,C=Object(E.a)(),O=C.logoLink,j=C.logoLinkProps,x=C.logoImageUrl,I=C.logoAlt,M=Object(f.a)().isAnnouncementBarClosed,L=Object(g.a)().scrollY,P=e.docsSidebars,S=e.path,A=e.sidebar,B=e.sidebarCollapsible;if(Object(p.a)(c),!A)return null;var U=P[A];if(!U)throw new Error('Cannot find the sidebar "'+A+'" in the sidebar config!');return B&&U.forEach((function(e){return function e(t,a){var n=t.items,l=t.href;switch(t.type){case"category":var r=n.map((function(t){return e(t,a)})).filter((function(e){return e})).length>0;return t.collapsed=!r,r;case"link":default:return l===a}}(e,S)})),l.a.createElement("div",{className:v()(k.a.sidebar,(t={},t[k.a.sidebarWithHideableNavbar]=y,t))},y&&l.a.createElement(b.a,Object(m.a)({tabIndex:"-1",className:k.a.sidebarLogo,to:O},j),null!=x&&l.a.createElement("img",{key:w,src:x,alt:I}),null!=h&&l.a.createElement("strong",null,h)),l.a.createElement("div",{className:v()("menu","menu--responsive",k.a.menu,(a={"menu--show":c},a[k.a.menuWithAnnouncementBar]=!M&&0===L,a))},l.a.createElement("button",{"aria-label":c?"Close Menu":"Open Menu","aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:function(){o(!c)}},c?l.a.createElement("span",{className:v()(k.a.sidebarMenuIcon,k.a.sidebarMenuCloseIcon)},"\xd7"):l.a.createElement("svg",{"aria-label":"Menu",className:k.a.sidebarMenuIcon,xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 32 32",role:"img",focusable:"false"},l.a.createElement("title",null,"Menu"),l.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),l.a.createElement("ul",{className:"menu__list"},U.map((function(e){return l.a.createElement(N,{key:e.label,item:e,onItemClick:function(e){e.target.blur(),o(!1)},collapsible:B,activePath:S})})))))},w=a(182),C=a(189),O=a(199),j=a(142),x=a.n(j);t.default=function(e){var t=e.route,a=e.docsMetadata,n=e.location,m=e.content,u=a.permalinkToSidebar,d=a.docsSidebars,v=a.version,f=a.isHomePage,p=a.homePagePath,E=f?{}:t.routes.find((function(e){return Object(O.a)(n.pathname,e)}))||{},g=f?m.metadata.sidebar:u[E.path],b=Object(i.a)(),h=b.siteConfig,_=(h=void 0===h?{}:h).themeConfig,k=(_=void 0===_?{}:_).sidebarCollapsible,N=void 0===k||k,j=b.isClient;return f||0!==Object.keys(E).length?l.a.createElement(o.a,{version:v,key:j},l.a.createElement("div",{className:x.a.docPage},g&&l.a.createElement("div",{className:x.a.docSidebarContainer},l.a.createElement(y,{docsSidebars:d,path:f?p:E.path,sidebar:g,sidebarCollapsible:N})),l.a.createElement("main",{className:x.a.docMainContainer},l.a.createElement(r.a,{components:w.a},f?l.a.createElement(s.default,{content:m}):Object(c.a)(t.routes))))):l.a.createElement(C.default,e)}},189:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(177);t.default=function(){return l.a.createElement(r.a,{title:"Page Not Found"},l.a.createElement("div",{className:"container margin-vert--xl"},l.a.createElement("div",{className:"row"},l.a.createElement("div",{className:"col col--6 col--offset-3"},l.a.createElement("h1",{className:"hero__title"},"Page Not Found"),l.a.createElement("p",null,"We could not find what you were looking for."),l.a.createElement("p",null,"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))}},221:function(e,t,a){"use strict";var n=a(17),l=a(222)(5),r=!0;"find"in[]&&Array(1).find((function(){r=!1})),n(n.P+n.F*r,"Array",{find:function(e){return l(this,e,arguments.length>1?arguments[1]:void 0)}}),a(77)("find")},222:function(e,t,a){var n=a(27),l=a(78),r=a(50),i=a(35),c=a(223);e.exports=function(e,t){var a=1==e,o=2==e,s=3==e,m=4==e,u=6==e,d=5==e||u,v=t||c;return function(t,c,f){for(var p,E,g=r(t),b=l(g),h=n(c,f,3),_=i(b.length),k=0,N=a?v(t,_):o?v(t,0):void 0;_>k;k++)if((d||k in b)&&(E=h(p=b[k],k,g),e))if(a)N[k]=E;else if(E)switch(e){case 3:return!0;case 5:return p;case 6:return k;case 2:N.push(p)}else if(m)return!1;return u?-1:s||m?m:N}}},223:function(e,t,a){var n=a(224);e.exports=function(e,t){return new(n(e))(t)}},224:function(e,t,a){var n=a(12),l=a(198),r=a(3)("species");e.exports=function(e){var t;return l(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!l(t.prototype)||(t=void 0),n(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}}}]);