1"use strict";(globalThis.webpackChunkelastos_docs=globalThis.webpackChunkelastos_docs||[]).push([[9048],{78115(e,t,n){n.r(t),n.d(t,{default:()=>Se});var a=n(96540),i=n(34164),s=n(45500),o=n(17559),r=n(26972),l=n(60609),c=n(21312),d=n(23104),m=n(75062);const u="backToTopButton_sjWU",b="backToTopButtonShow_xfvO";var h=n(74848);function p(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,n]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:o}=(0,d.gk)();return(0,d.Mq)(({scrollY:t},a)=>{const s=a?.scrollY;s&&(i.current?i.current=!1:t>=s?(o(),n(!1)):t<e?n(!1):t+window.innerHeight<document.documentElement.scrollHeight&&n(!0))}),(0,m.$)(e=>{e.location.hash&&(i.current=!0,n(!1))}),{shown:t,scrollToTop:()=>s(0)}}({threshold:300});return(0,h.jsx)("button",{"aria-label":(0,c.T)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.A)("clean-btn",o.G.common.backToTopButton,u,e&&b),type:"button",onClick:t})}var x=n(53109),f=n(56347),j=n(24581),g=n(6342),v=n(23465);function _(e){return(0,h.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,h.jsxs)("g",{fill:"#7a7a7a",children:[(0,h.jsx)("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"}),(0,h.jsx)("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"})]})})}const C="collapseSidebarButton_PEFL",A="collapseSidebarButtonIcon_kv0_";function k({onClick:e}){return(0,h.jsx)("button",{type:"button",title:(0,c.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.A)("button button--secondary button--outline",C),onClick:e,children:(0,h.jsx)(_,{className:A})})}var S=n(65041),y=n(89532);const T=Symbol("EmptyContext"),I=a.createContext(T);function N({children:e}){const[t,n]=(0,a.useState)(null),i=(0,a.useMemo)(()=>({expandedItem:t,setExpandedItem:n}),[t]);return(0,h.jsx)(I.Provider,{value:i,children:e})}var L=n(41422),B=n(99169),w=n(28774),E=n(92303),H=n(16654),M=n(43186);const P="menuExternalLink_NmtK",G="linkLabel_WmDU";function W({label:e}){return(0,h.jsx)("span",{title:e,className:G,children:e})}function D({item:e,onItemClick:t,activePath:n,level:a,index:s,...l}){const{href:c,label:d,className:m,autoAddBaseUrl:u}=e,b=(0,r.w8)(e,n),p=(0,H.A)(c);return(0,h.jsx)("li",{className:(0,i.A)(o.G.docs.docSidebarItemLink,o.G.docs.docSidebarItemLinkLevel(a),"menu__list-item",m),children:(0,h.jsxs)(w.A,{className:(0,i.A)("menu__link",!p&&P,{"menu__link--active":b}),autoAddBaseUrl:u,"aria-current":b?"page":void 0,to:c,...p&&{onClick:t?()=>t(e):void 0},...l,children:[(0,h.jsx)(W,{label:d}),!p&&(0,h.jsx)(M.A,{})]})},d)}const R="categoryLink_byQd",z="categoryLinkLabel_W154";function U({collapsed:e,categoryLabel:t,onClick:n}){return(0,h.jsx)("button",{"aria-label":e?(0,c.T)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:t}):(0,c.T)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:t}),"aria-expanded":!e,type:"button",className:"clean-btn menu__caret",onClick:n})}function V({label:e}){return(0,h.jsx)("span",{title:e,className:z,children:e})}function Y(e){return 0===(0,r.Y)(e.item.items,e.activePath).length?(0,h.jsx)(K,{...e}):(0,h.jsx)(F,{...e})}function K({item:e,...t}){if("string"!=typeof e.href)return null;const{type:n,collapsed:a,collapsible:i,items:s,linkUnlisted:o,...r}=e,l={type:"link",...r};return(0,h.jsx)(D,{item:l,...t})}function F({item:e,onItemClick:t,activePath:n,level:s,index:l,...c}){const{items:d,label:m,collapsible:u,className:b,href:p}=e,{docs:{sidebar:{autoCollapseCategories:x}}}=(0,g.p)(),f=function(e){const t=(0,E.A)();return(0,a.useMemo)(()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,r.Nr)(e):void 0,[e,t])}(e),j=(0,r.w8)(e,n),v=(0,B.ys)(p,n),{collapsed:_,setCollapsed:C}=(0,L.u)({initialState:()=>!!u&&(!j&&e.collapsed)}),{expandedItem:A,setExpandedItem:k}=function(){const e=(0,a.useContext)(I);if(e===T)throw new y.dV("DocSidebarItemsExpandedStateProvider");return e}(),S=(e=!_)=>{k(e?null:l),C(e)};!function({isActive:e,collapsed:t,updateCollapsed:n,activePath:i}){const s=(0,y.ZC)(e),o=(0,y.ZC)(i);(0,a.useEffect)(()=>{(e&&!s||e&&s&&i!==o)&&t&&n(!1)},[e,s,t,n,i,o])}({isActive:j,collapsed:_,updateCollapsed:S,activePath:n}),(0,a.useEffect)(()=>{u&&null!=A&&A!==l&&x&&C(!0)},[u,A,l,C,x]);return(0,h.jsxs)("li",{className:(0,i.A)(o.G.docs.docSidebarItemCategory,o.G.docs.docSidebarItemCategoryLevel(s),"menu__list-item",{"menu__list-item--collapsed":_},b),children:[(0,h.jsxs)("div",{className:(0,i.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,h.jsx)(w.A,{className:(0,i.A)(R,"menu__link",{"menu__link--sublist":u,"menu__link--sublist-caret":!p&&u,"menu__link--active":j}),onClick:n=>{t?.(e),u&&(p?v?(n.preventDefault(),S()):S(!1):(n.preventDefault(),S()))},"aria-current":v?"page":void 0,role:u&&!p?"button":void 0,"aria-expanded":u&&!p?!_:void 0,href:u?f??"#":f,...c,children:(0,h.jsx)(V,{label:m})}),p&&u&&(0,h.jsx)(U,{collapsed:_,categoryLabel:m,onClick:e=>{e.preventDefault(),S()}})]}),(0,h.jsx)(L.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:_,children:(0,h.jsx)(J,{items:d,tabIndex:_?-1:0,onItemClick:t,activePath:n,level:s+1})})]})}const q="menuHtmlItem_M9Kj";function O({item:e,level:t,index:n}){const{value:a,defaultStyle:s,className:r}=e;return(0,h.jsx)("li",{className:(0,i.A)(o.G.docs.docSidebarItemLink,o.G.docs.docSidebarItemLinkLevel(t),s&&[q,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:a}},n)}function Q({item:e,...t}){switch(e.type){case"category":return(0,h.jsx)(Y,{item:e,...t});case"html":return(0,h.jsx)(O,{item:e,...t});default:return(0,h.jsx)(D,{item:e,...t})}}function Z({items:e,...t}){const n=(0,r.Y)(e,t.activePath);return(0,h.jsx)(N,{children:n.map((e,n)=>(0,h.jsx)(Q,{item:e,index:n,...t},n))})}const J=(0,a.memo)(Z),X="menu_SIkG",$="menuWithAnnouncementBar_GW3s";function ee({path:e,sidebar:t,className:n}){const s=function(){const{isActive:e}=(0,S.M)(),[t,n]=(0,a.useState)(e);return(0,d.Mq)(({scrollY:t})=>{e&&n(0===t)},[e]),e&&t}();return(0,h.jsx)("nav",{"aria-label":(0,c.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.A)("menu thin-scrollbar",X,s&&$,n),children:(0,h.jsx)("ul",{className:(0,i.A)(o.G.docs.docSidebarMenu,"menu__list"),children:(0,h.jsx)(J,{items:t,activePath:e,level:1})})})}const te="sidebar_njMd",ne="sidebarWithHideableNavbar_wUlq",ae="sidebarHidden_VK0M",ie="sidebarLogo_isFc";function se({path:e,sidebar:t,onCollapse:n,isHidden:a}){const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:o}}}=(0,g.p)();return(0,h.jsxs)("div",{className:(0,i.A)(te,s&&ne,a&&ae),children:[s&&(0,h.jsx)(v.A,{tabIndex:-1,
1className:ie}),(0,h.jsx)(ee,{path:e,sidebar:t}),o&&(0,h.jsx)(k,{onClick:n})]})}const oe=a.memo(se);var re=n(75600),le=n(22069);const ce=({sidebar:e,path:t})=>{const n=(0,le.M)();return(0,h.jsx)("ul",{className:(0,i.A)(o.G.docs.docSidebarMenu,"menu__list"),children:(0,h.jsx)(J,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&n.toggle(),"link"===e.type&&n.toggle()},level:1})})};function de(e){return(0,h.jsx)(re.GX,{component:ce,props:e})}const me=a.memo(de);function ue(e){const t=(0,j.l)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,h.jsxs)(h.Fragment,{children:[n&&(0,h.jsx)(oe,{...e}),a&&(0,h.jsx)(me,{...e})]})}const be="expandButton_TmdG",he="expandButtonIcon_i1dp";function pe({toggleSidebar:e}){return(0,h.jsx)("div",{className:be,title:(0,c.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e,children:(0,h.jsx)(_,{className:he})})}const xe={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function fe({children:e}){const t=(0,l.t)();return(0,h.jsx)(a.Fragment,{children:e},t?.name??"noSidebar")}function je({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:n}){const{pathname:s}=(0,f.zy)(),[r,l]=(0,a.useState)(!1),c=(0,a.useCallback)(()=>{r&&l(!1),!r&&(0,x.O)()&&l(!0),n(e=>!e)},[n,r]);return(0,h.jsx)("aside",{className:(0,i.A)(o.G.docs.docSidebarContainer,xe.docSidebarContainer,t&&xe.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(xe.docSidebarContainer)&&t&&l(!0)},children:(0,h.jsx)(fe,{children:(0,h.jsxs)("div",{className:(0,i.A)(xe.sidebarViewport,r&&xe.sidebarViewportHidden),children:[(0,h.jsx)(ue,{sidebar:e,path:s,onCollapse:c,isHidden:r}),r&&(0,h.jsx)(pe,{toggleSidebar:c})]})})})}const ge={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function ve({hiddenSidebarContainer:e,children:t}){const n=(0,l.t)();return(0,h.jsx)("main",{className:(0,i.A)(ge.docMainContainer,(e||!n)&&ge.docMainContainerEnhanced),children:(0,h.jsx)("div",{className:(0,i.A)("container padding-top--md padding-bottom--lg",ge.docItemWrapper,e&&ge.docItemWrapperEnhanced),children:t})})}const _e="docRoot_UBD9",Ce="docsWrapper_hBAB";function Ae({children:e}){const t=(0,l.t)(),[n,i]=(0,a.useState)(!1);return(0,h.jsxs)("div",{className:Ce,children:[(0,h.jsx)(p,{}),(0,h.jsxs)("div",{className:_e,children:[t&&(0,h.jsx)(je,{sidebar:t.items,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}),(0,h.jsx)(ve,{hiddenSidebarContainer:n,children:e})]})]})}var ke=n(91971);function Se(e){const t=(0,r.B5)(e);if(!t)return(0,h.jsx)(ke.A,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,h.jsx)(s.e3,{className:(0,i.A)(o.G.page.docsDocPage),children:(0,h.jsx)(l.V,{name:a,items:c,children:(0,h.jsx)(Ae,{children:n})})})}},91971(e,t,n){n.d(t,{A:()=>o});n(96540);var a=n(28774),i=n(74848);const s={padding:"0.5rem 1.25rem",borderRadius:"8px",border:"1px solid rgba(255, 255, 255, 0.12)",color:"#e0e0e0",fontSize:"0.88rem",textDecoration:"none",transition:"border-color 0.15s ease, background 0.15s ease"};function o(){return(0,i.jsxs)("main",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"calc(100vh - 200px)",textAlign:"center",padding:"2rem"},children:[(0,i.jsx)("h1",{style:{fontSize:"clamp(4rem, 12vw, 8rem)",fontWeight:500,color:"#ffffff",margin:0,lineHeight:1},children:"404"}),(0,i.jsx)("p",{style:{fontSize:"1.25rem",color:"#aaaaaa",marginTop:"0.75rem",marginBottom:"2.5rem"},children:"Page not found"}),(0,i.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.75rem",justifyContent:"center",marginBottom:"2rem"},children:[(0,i.jsx)(a.A,{to:"/",style:s,children:"Home"}),(0,i.jsx)(a.A,{to:"/blockchain/start/intro",style:s,children:"Blockchain"}),(0,i.jsx)(a.A,{to:"/pc2/start/intro",style:s,children:"PC2"}),(0,i.jsx)(a.A,{to:"/runtime/start/intro",style:s,children:"Runtime"}),(0,i.jsx)(a.A,{to:"/carrier/start/intro",style:s,children:"Carrier"})]}),(0,i.jsx)("p",{style:{fontSize:"0.85rem",color:"#666666"},children:"Elastos World Computer"})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.