(self.webpackChunkspeice_io=self.webpackChunkspeice_io||[]).push([["6909"],{92132:function(e,t,n){"use strict";n.r(t)},59487:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>N,lX:()=>x,ob:()=>p,Ep:()=>f,q_:()=>C});varr=n("16019");functiona(e){return"/"===e.charAt(0)}functiono(e,t){for(varn=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}leti=function(e,t){void0===t&&(t="");varn,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){varc=i[i.length-1];n="."===c||".."===c||""===c}elsen=!1;for(vard=0,f=i.length;f>=0;f--){varp=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");varh=i.join("/");returnn&&"/"!==h.substr(-1)&&(h+="/"),h};varl=n("21835");functions(e){return"/"===e.charAt(0)?e:"/"+e}functionu(e){return"/"===e.charAt(0)?e.substr(1):e}functionc(e,t){return0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))?e.substr(t.length):e}functiond(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}functionf(e){vart=e.pathname,n=e.search,r=e.hash,a=t||"/";returnn&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}functionp(e,t,n,a){varo,l,s,u,c,d;"string"==typeofe?(s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t):(void0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void0!==t&&void0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(einstanceofURIError)throwURIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throwe}returnn&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}functionh(){vare=null,t=[];return{setPrompt:function(t){returne=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){varo="function"==typeofe?e(t,n):e;"string"==typeofo?"function"==typeofr?r(o,a):a(!0):a(!1!==o)}elsea(!0)},appendListener:function(e){varn=!0;functionr(){n&&e.apply(void0,arguments)}returnt.push(r),function(){n=!1,t=t.filter(function(e){returne!==r})}},notifyListeners:function(){for(vare=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){returne.apply(void0,n)})}}}varg=!!("undefined"!=typeofwindow&&window.document&&window.document.createElement);functionm(e,t){t(window.confirm(e))}vary="popstate",b="hashchange";functionv(){try{returnwindow.history.state||{}}catch(e){return{}}}functionx(e){void0===e&&(e={}),g||(0,l.Z)(!1);vart,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"inwindow.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,x=void0!==u&&u,w=i.getUserConfirmation,k=void0===w?m:w,S=i.keyLength,E=void0===S?6:S,_=e.basename?d(s(e.basename)):"";functionC(e){vart=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return_&&(o=c(o,_)),p(o,r,n)}functionT(){returnMath.random().toString(36).substr(2,E)}varN=h();functionA(e){(0,r.Z)(B,e),B.length=n.length,N.notifyListeners(B.location,B.action)}functionO(e){!(void0===e.state&&-1===navigator.userAgent.indexOf("CriOS"))&&L(C(e.state))}functionP(){L(C(v()))}varj=!1;functionL(e){j?(j=!1,A()):N.confirmTransitionTo(e,"POP",k,function(t){varn,r,a,o,i;t?A({action:"POP",location:e}):(n=e,r=B.location,-1===(a=I.indexOf(r.key))&&(a=0),-1===(o=I.indexOf(n.key))&&(o=0),(i=a-o)&&(j=!0,F(i)))})}varR=C(v()),I=[R.key];functio
-${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}(t,o).link;if(!s)throw Error(`DocSidebarNavbarItem:SidebarwithID"${t}"doesn'thaveanythingtobelinkedto.`);return(0,r.jsx)(eh,{exact:!0,...i,isActive:()=>l?.sidebar===t,label:n??s.label,to:s.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e,i=eV(a)[0],l=t??i.label,s=n??eG(i).path;return(0,r.jsx)(eh,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=eI(n),p=eR(n).versions,{savePreferredVersionName:h}=eH(n),g=[...o,...p.map(function(e){let t=eq(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}}),...i],m=eV(n)[0],y=t&&g.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:eq(m,f).path;return g.length<=1?(0,r.jsx)(eh,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(ev,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function eK(e){let{type:t,...n}=e,a=eY[t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!a)throw Error(`NoNavbarItemcomponentfoundfortype"${t}".`);return(0,r.jsx)(a,{...n})}function eQ(){let e=M(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eK,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eX(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function eJ(){let e=0===(0,v.L)().navbar.items.length,t=U();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eX,{onClick:()=>t.hide()}),t.content]})}function e0(){let e=M();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(Z,{header:(0,r.jsx)(el,{}),primaryMenu:(0,r.jsx)(eQ,{}),secondaryMenu:(0,r.jsx)(eJ,{})}):null}let e1={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function e2(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function e3(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=M(),{navbarRef:s,isNavbarVisible:f}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=function(){let e=(0,a.useContext)(D);if(null==e)throw new c.i6("ScrollControllerProvider");return e}(),r=(0,a.useRef)(z()),o=(0,c.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=z();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current){n(!0);return}if(r.current){r.current=!1;return}let l=a?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)}),d(t=>{if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[e1.navbarHideable,!f&&e1.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.
PleaseonlycallstorageAPIsineffectsandeventhandlers.`)}return{get:t,set:t,del:t,listen:t}}(n);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){var t;return t=e,i||(console.warn(`Docusaurusbrowserstorageisnotavailable.