/*! For license information please see 55.6d1cbbe9.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[55],{133:function(e,t,r){"use strict";r.d(t,"a",(function(){return N}));var o=r(3),n=r(0),a=r.n(n),i=r(127),l={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},c={Prism:r(22).a,theme:l};function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){return(d=Object.assign||function(e){for(var t=1;t0&&e[r-1]===t?e:e.concat(t)},f=function(e,t){var r=e.plain,o=Object.create(null),n=e.styles.reduce((function(e,r){var o=r.languages,n=r.style;return o&&!o.includes(t)||r.types.forEach((function(t){var r=d({},e[t],n);e[t]=r})),e}),o);return n.root=r,n.plain=d({},r,{backgroundColor:null}),n};function g(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&-1===t.indexOf(o)&&(r[o]=e[o]);return r}var m=function(e){function t(){for(var t=this,r=[],o=arguments.length;o--;)r[o]=arguments[o];e.apply(this,r),s(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var r=e.theme?f(e.theme,e.language):void 0;return t.themeDict=r})),s(this,"getLineProps",(function(e){var r=e.key,o=e.className,n=e.style,a=d({},g(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(a.style=i.plain),void 0!==n&&(a.style=void 0!==a.style?d({},a.style,n):n),void 0!==r&&(a.key=r),o&&(a.className+=" "+o),a})),s(this,"getStyleForToken",(function(e){var r=e.types,o=e.empty,n=r.length,a=t.getThemeDict(t.props);if(void 0!==a){if(1===n&&"plain"===r[0])return o?{display:"inline-block"}:void 0;if(1===n&&!o)return a[r[0]];var i=o?{display:"inline-block"}:{},l=r.map((function(e){return a[e]}));return Object.assign.apply(Object,[i].concat(l))}})),s(this,"getTokenProps",(function(e){var r=e.key,o=e.className,n=e.style,a=e.token,i=d({},g(e,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:t.getStyleForToken(a),key:void 0});return void 0!==n&&(i.style=void 0!==i.style?d({},i.style,n):n),void 0!==r&&(i.key=r),o&&(i.className+=" "+o),i})),s(this,"tokenize",(function(e,t,r,o){var n={code:t,grammar:r,language:o,tokens:[]};e.hooks.run("before-tokenize",n);var a=n.tokens=e.tokenize(n.code,n.grammar,n.language);return e.hooks.run("after-tokenize",n),a}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,r=e.language,o=e.code,n=e.children,a=this.getThemeDict(this.props),i=t.languages[r];return n({tokens:function(e){for(var t=[[]],r=[e],o=[0],n=[e.length],a=0,i=0,l=[],c=[l];i>-1;){for(;(a=o[i]++)0?d:["plain"],s=f):(d=h(d,f.type),f.alias&&(d=h(d,f.alias)),s=f.content),"string"==typeof s){var g=s.split(u),m=g.length;l.push({types:d,content:g[0]});for(var b=1;b0}))}l&&T.test(l)&&(k=l.match(T)[1]);var _=r&&r.replace(/language-/,"");!_&&s.defaultLanguage&&(_=s.defaultLanguage);var S=N.replace(/\n$/,"");if(0===y.length&&void 0!==_){for(var B,L="",A=function(e){switch(e){case"js":case"javascript":case"ts":case"typescript":return O(["js","jsBlock"]);case"jsx":case"tsx":return O(["js","jsBlock","jsx"]);case"html":return O(["js","jsBlock","html"]);case"python":case"py":return O(["python"]);default:return O()}}(_),M=N.replace(/\n$/,"").split("\n"),D=0;D0&&(a=n.getRangeAt(0)),t.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let i=!1;try{i=document.execCommand("copy")}catch{}r.remove(),a&&(n.removeAllRanges(),n.addRange(a)),o&&o.focus()}(S),p(!0),setTimeout((function(){return p(!1)}),2e3)};return a.a.createElement(m,Object(o.a)({},c,{key:String(f),theme:j,code:S,language:_}),(function(e){var t,r=e.className,n=e.style,l=e.tokens,c=e.getLineProps,s=e.getTokenProps;return a.a.createElement("div",{className:z.a.codeBlockContainer},k&&a.a.createElement("div",{style:n,className:z.a.codeBlockTitle},k),a.a.createElement("div",{className:Object(i.a)(z.a.codeBlockContent,_)},a.a.createElement("div",{tabIndex:0,className:Object(i.a)(r,z.a.codeBlock,"thin-scrollbar",(t={},t[z.a.codeBlockWithTitle]=k,t))},a.a.createElement("div",{className:z.a.codeBlockLines,style:n},l.map((function(e,t){1===e.length&&""===e[0].content&&(e[0].content="\n");var r=c({line:e,key:t});return y.includes(t+1)&&(r.className=r.className+" docusaurus-highlight-code-line"),a.a.createElement("div",Object(o.a)({key:t},r),e.map((function(e,t){return a.a.createElement("span",Object(o.a)({key:t},s({token:e,key:t})))})))})))),a.a.createElement("button",{ref:b,type:"button","aria-label":Object(C.b)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),className:Object(i.a)(z.a.copyButton),onClick:P},u?a.a.createElement(C.a,{id:"theme.CodeBlock.copied",description:"The copied button label on code blocks"},"Copied"):a.a.createElement(C.a,{id:"theme.CodeBlock.copy",description:"The copy button label on code blocks"},"Copy"))))}))}},136:function(e,t){function r(e){let t,r=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))r.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,n,a]=t;if(o&&a){o=parseInt(o),a=parseInt(a);const e=o=0&&a<=s&&n<=l&&o>=0)||(t.scrollIntoView({block:"center",behavior:"smooth"}),t.classList.add(c.a.tabItemActive),setTimeout((function(){return t.classList.remove(c.a.tabItemActive)}),2e3))}),150))},j=function(e){var t,r;switch(e.keyCode){case d:var o=w.indexOf(e.target)+1;r=w[o]||w[0];break;case s:var n=w.indexOf(e.target)-1;r=w[n]||w[w.length-1]}null===(t=r)||void 0===t||t.focus()};return n.a.createElement("div",{className:"tabs-container"},n.a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:Object(i.a)("tabs",{"tabs--block":r},h)},u.map((function(e){var t=e.value,r=e.label;return n.a.createElement("li",{role:"tab",tabIndex:v===t?0:-1,"aria-selected":v===t,className:Object(i.a)("tabs__item",c.a.tabItem,{"tabs__item--active":v===t}),key:t,ref:function(e){return w.push(e)},onKeyDown:j,onFocus:C,onClick:C},r)}))),t?Object(o.cloneElement)(k.filter((function(e){return e.props.value===v}))[0],{className:"margin-vert--md"}):n.a.createElement("div",{className:"margin-vert--md"},k.map((function(e,t){return Object(o.cloneElement)(e,{key:t,hidden:e.props.value!==v})}))))}},173:function(e,t,r){var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t{t(e.appendChild(this._.current),(function(t){try{e.parentNode.replaceChild(t,e)}catch(e){}}))}))}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}}t.a=a},175:function(e,t,r){"use strict";r.r(t),r.d(t,"render",(function(){return j}));var o=window.document,n=window.Math,a=window.HTMLElement,i=window.XMLHttpRequest,l=function(e){return function(t,r,o){var n=e.createElement(t);if(null!=r)for(var a in r){var i=r[a];null!=i&&(null!=n[a]?n[a]=i:n.setAttribute(a,i))}if(null!=o)for(var l=0,c=o.length;l'},heart:{width:12,height:16,path:''},eye:{width:16,height:16,path:''},star:{width:14,height:16,path:''},"repo-forked":{width:10,height:16,path:''},"repo-template":{width:14,height:16,path:''},"issue-opened":{width:14,height:16,path:''},"cloud-download":{width:16,height:16,path:''}},v={},y=function(e,t){var r=v[e]||(v[e]=[]);if(!(r.push(t)>1)){var o=function(e){var t;return function(){t||(t=1,e.apply(this,arguments))}}((function(){for(delete v[e];t=r.shift();)t.apply(null,arguments)}));if(d){var n=new i;p(n,"abort",o),p(n,"error",o),p(n,"load",(function(){var e;try{e=JSON.parse(n.responseText)}catch(t){return void o(t)}o(200!==n.status,e)})),n.open("GET",e),n.send()}else{var a=this||window;a._=function(e){a._=null,o(200!==e.meta.status,e.data)};var c=l(a.document)("script",{async:!0,src:e+(/\?/.test(e)?"&":"?")+"callback=_"}),s=function(){a._&&a._({meta:{}})};p(c,"load",s),p(c,"error",s),c.readyState&&function(e,t,r){var o="readystatechange",n=function(a){if(t.test(e.readyState))return h(e,o,n),r(a)};p(e,o,n)}(c,/de|m/,s),a.document.getElementsByTagName("head")[0].appendChild(c)}}},k=function(e,t,r){var o=l(e.ownerDocument),n=e.appendChild(o("style",{type:"text/css"})),a="body{margin:0}a{text-decoration:none;outline:0}.widget{display:inline-block;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:0;white-space:nowrap}.btn,.social-count{position:relative;display:inline-block;height:14px;padding:2px 5px;font-size:11px;font-weight:600;line-height:14px;vertical-align:bottom;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:repeat-x;background-position:-1px -1px;background-size:110% 110%;border:1px solid}.btn{border-radius:.25em}.btn:not(:last-child){border-radius:.25em 0 0 .25em}.social-count{border-left:0;border-radius:0 .25em .25em 0}.widget-lg .btn,.widget-lg .social-count{height:20px;padding:3px 10px;font-size:12px;line-height:20px}.octicon{display:inline-block;vertical-align:text-top;fill:currentColor}"+m(t["data-color-scheme"]);n.styleSheet?n.styleSheet.cssText=a:n.appendChild(e.ownerDocument.createTextNode(a));var i,c,d=o("a",{className:"btn",href:t.href,rel:"noopener",target:"_blank",title:t.title||void 0,"aria-label":t["aria-label"]||void 0,innerHTML:(i=t["data-icon"],c=/^large$/i.test(t["data-size"])?16:14,i=(""+i).toLowerCase().replace(/^octicon-/,""),s(b,i)||(i="mark-github"),'")},[" ",o("span",{},[t["data-text"]||""])]),u=e.appendChild(o("div",{className:"widget"+(/^large$/i.test(t["data-size"])?" widget-lg":"")},[d])),p=d.hostname.split(".").reverse();if(""===p[0]&&p.shift(),"com"!==p[0]||"github"!==p[1])return d.href="#",d.target="_self",void r(u);var h=p.length,f=(" /"+d.pathname).split(/\/+/);if(((2===h||3===h&&"gist"===p[2])&&"archive"===f[3]||2===h&&"releases"===f[3]&&"download"===f[4]||3===h&&"codeload"===p[2])&&(d.target="_top"),/^true$/i.test(t["data-show-count"])&&2===h){var g,v;if(!f[2]&&f[1])g=v="followers";else if(!f[3]&&f[2])v="stargazers_count",g="stargazers";else if(f[4]||"subscription"!==f[3])if(f[4]||"fork"!==f[3]){if("issues"!==f[3])return void r(u);v="open_issues_count",g="issues"}else v="forks_count",g="network/members";else v="subscribers_count",g="watchers";var k=f[2]?"/repos/"+f[1]+"/"+f[2]:"/users/"+f[1];y.call(this,"https://api.github.com"+k,(function(e,t){if(!e){var n=t[v];u.appendChild(o("a",{className:"social-count",href:t.html_url+"/"+g,rel:"noopener",target:"_blank","aria-label":n+" "+v.replace(/_count$/,"").replace("_"," ").slice(0,n<2?-1:void 0)+" on GitHub"},[(""+n).replace(/\B(?=(\d{3})+(?!\d))/g,",")]))}r(u)}))}else r(u)},w=window.devicePixelRatio||1,x=function(e){return(w>1?n.ceil(n.round(e*w)/w*2)/2:n.ceil(e))||0},C=function(e,t){e.style.width=t[0]+"px",e.style.height=t[1]+"px"},j=function(e,t){if(null!=e&&null!=t)if(e.getAttribute&&(e=function(e){for(var t={href:e.href,title:e.title,"aria-label":e.getAttribute("aria-label")},r=["icon","color-scheme","text","size","show-count"],o=0,n=r.length;o