1"use strict";(self.webpackChunkarkhai_website=self.webpackChunkarkhai_website||[]).push([[9048],{8058:(e,t,n)=>{n.d(t,{A:()=>De});var a=n(96540),r=n(60609),i=n(3408),o=n(34164),s=n(53109),l=n(17559),c=n(56347),d=n(24581),u=n(6342),p=n(39529),m=n(21312);const h="collapseSidebarButton_JQG6",b="collapseSidebarButtonIcon_Iseg";var x=n(16687),f=n(74848);function v(e){var t=e.onClick;return(0,f.jsx)("button",{type:"button",title:(0,m.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,m.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.A)("button button--secondary button--outline",h,"sticky bottom-0 rounded-none border-0 not-hover:bg-interaction-neutral-subtle-normal"),onClick:t,children:(0,f.jsx)(x.A,{className:b,children:"keyboard_double_arrow_left"})})}var g=n(65041),j=n(23104),y=n(98587),k=n(26972),A=n(33082),_=n(43807),N=n(41422),C=n(99169),S=n(28774),w=n(92303),I=n(16654),L=n(43186);const E="sidebarLink_GJ8P",P="sidebarLinkActive_G8aD",T="sidebarLinkNested_g3Xk",D="linkLabel_CDUV";var O=["item","onItemClick","activePath","level","index"];function B(e){var t=e.label;return(0,f.jsx)("span",{title:t,className:D,children:t})}function W(e){var t=e.item,n=e.onItemClick,a=e.activePath,r=e.level,i=(e.index,(0,y.A)(e,O),t.href),s=t.label,c=t.className,d=t.autoAddBaseUrl,u=(0,k.w8)(t,a),p=(0,I.A)(i);return(0,f.jsx)("li",{className:(0,o.A)(l.G.docs.docSidebarItemLink,l.G.docs.docSidebarItemLinkLevel(r),"menu__list-item",c),children:(0,f.jsxs)(S.A,Object.assign({className:(0,o.A)("menu__link",E,r>1&&T,u&&P),href:i,"aria-current":u?"page":void 0},p&&{onClick:n?function(){return n(t)}:void 0},{autoAddBaseUrl:d,children:[(0,f.jsx)(B,{label:s}),!p&&(0,f.jsx)(L.A,{})]}))},s)}const M="categoryLink_m60s",R="sidebarLink_P7Xd",G="sidebarLinkActive_jnOh",H="sidebarLinkNested_se5E",F="linkLabel_vhvV",U="categoryChevron_zP9s",V="categoryChevronOpen_p88C",z="subList_dvAO";var Y=["item"],J=["type","collapsed","collapsible","items","linkUnlisted"],X=["item","onItemClick","activePath","level","index"];function q(e){return 0===(0,k.Y)(e.item.items,e.activePath).length?(0,f.jsx)(K,Object.assign({},e)):(0,f.jsx)(Q,Object.assign({},e))}function K(e){var t=e.item,n=(0,y.A)(e,Y);if("string"!=typeof t.href)return null;t.type,t.collapsed,t.collapsible,t.items,t.linkUnlisted;var a=(0,y.A)(t,J),r=Object.assign({type:"link"},a);return(0,f.jsx)(W,Object.assign({item:r},n))}function Q(e){var t=e.item,n=e.onItemClick,r=e.activePath,i=e.level,s=e.index,c=(0,y.A)(e,X),d=t.items,p=t.label,m=t.collapsible,h=t.className,b=t.href,x=(0,u.p)().docs.sidebar.autoCollapseCategories,v=function(e){var t=(0,w.A)();return(0,a.useMemo)(function(){return e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,k.Nr)(e):void 0},[e,t])}(t),g=(0,k.w8)(t,r),j=(0,C.ys)(b,r),I=(0,N.u)({initialState:function(){return!!m&&(!g&&t.collapsed)}}),L=I.collapsed,E=I.setCollapsed,P=(0,A.G)(),T=P.expandedItem,D=P.setExpandedItem,O=function(e){void 0===e&&(e=!L),D(e?null:s),E(e)};!function(e){var t=e.isActive,n=e.collapsed,r=e.updateCollapsed,i=e.activePath,o=(0,_.ZC)(t),s=(0,_.ZC)(i);(0,a.useEffect)(function(){(t&&!o||t&&o&&i!==s)&&n&&r(!1)},[t,o,n,r,i,s])}({isActive:g,collapsed:L,updateCollapsed:O,activePath:r}),(0,a.useEffect)(function(){m&&null!=T&&T!==s&&x&&E(!0)},[m,T,s,E,x]);var B=(0,o.A)("menu__link",R,M,i>1&&H,g&&G),W=(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{title:p,className:F,children:p}),m&&(0,f.jsx)("span",{className:(0,o.A)(U,!L&&V),"aria-hidden":"true"})]});return(0,f.jsxs)("li",{className:(0,o.A)(l.G.docs.docSidebarItemCategory,l.G.docs.docSidebarItemCategoryLevel(i),"menu__list-item",{"menu__list-item--collapsed":L},h),children:[v?(0,f.jsx)(S.A,Object.assign({},c,{href:v,"aria-current":g?"page":void 0,"aria-expanded":m?!L:void 0,className:B,onClick:function(e){null==n||n(t),m&&(b?j?(e.preventDefault(),O()):O(!1):(e.preventDefault(),O()))},children:W})):(0,f.jsx)("button",Object.assign({},c,{type:"button","aria-current":g?"page":void 0,"aria-expanded":m?!L:void 0,className:B,onClick:function(e){e.preventDefault(),O()},children:W})),(0,f.jsx)(N.N,{lazy:!0,as:"ul",className:(0,o.A)("menu__list",z),collapsed:L,children:(0,f.jsx)(re,{items:d,tabIndex:L?-1:0,onItemClick:n,activePath:r,level:i+1})})]})}const Z="menuHtmlItem_PEWV";function $(e){var t=e.item,n=e.level,a=e.index,r=t.value,i=t.defaultStyle,s=t.className;return(0,f.jsx)("li",{className:(0,o.A)(l.G.docs.docSidebarItemLink,l.G.docs.docSidebarItemLinkLevel(n),i&&[Z,"menu__list-item"],s),dangerouslySetInnerHTML:{__html:r}},a)}var ee=["item"];function te(e){var t=e.item,n=(0,y.A)(e,ee);switch(t.type){case"category":return(0,f.jsx)(q,Object.assign({item:t},n));case"html":return(0,f.jsx)($,Object.assign({item:t},n));default:return(0,f.jsx)(W,Object.assign({item:t},n))}}var ne=["items"];function ae(e){var t=e.items,n=(0,y.A)(e,ne),a=(0,k.Y)(t,n.activePath);return(0,f.jsx)(A.A,{children:a.map(function(e,t){return(0,f.jsx)(te,Object.assign({item:e,index:t},n),t)})})}const re=(0,a.memo)(ae),ie="menu_Y1UP",oe="menuWithAnnouncementBar_fPny";function se(e){var t=e.path,n=e.sidebar,r=e.className,i=function(){var e=(0,g.M)().isActive,t=(0,a.useState)(e),n=t[0],r=t[1];return(0,j.Mq)(function(t){var n=t.scrollY;e&&r(0===n)},[e]),e&&n}();return(0,f.jsx)("nav",{"aria-label":(0,m.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.A)("p-4","menu",ie,i&&oe,r),children:(0,f.jsx)("ul",{className:(0,o.A)(l.G.docs.docSidebarMenu,"menu__list","flex flex-col gap-2"),children:(0,f.jsx)(re,{items:n,activePath:t,level:1})})})}var le=n(43845),ce=n(86025),de=n(44586),ue=8;function pe(e,t,n){for(var a,r=t.toLowerCase(),i=0,o=(0,le.A)(e);!(a=o()).done;){var s=a.value;if(!r.includes(s))return 0;i+=n+(r.startsWith(s)?n:0)}return i}function me(e){var t=e.className,n=(0,de.A)().siteConfig.customFields.siteVariant,r=(0,c.W6)(),i=(0,ce.Ay)("/docs-search-index.json"),o=(0,ce.Ay)("/docs"),s=(0,a.useId)(),l=(0,a.useId)(),d=(0,a.useRef)(null),u=(0,a.useRef)(null),p=(0,a.useState)(null),m=p[0],h=p[1],b=(0,a.useState)(!1),x=b[0],v=b[1],g=(0,a.useState)(""),j=g[0],y=g[1],k=(0,a.useState)(!1),A=k[0],_=k[1],N=(0,a.useState)(-1),C=N[0],S=N[1],w=m&&j?function(e,t,n){var a=t.toLowerCase().split(/[^a-z0-9./-]+/).filter(function(e){return e.length>1});if(0===a.length)return[];for(var r,i=[],o=(0,le.A)(e);!(r=o()).done;){var s,l,c=r.value,d=""+n+c.path.replace(/^\/docs/,""),u=pe(a,c.title+" "+c.section,6);u>0&&i.push({key:c.path,href:d||n,title:c.title,context:c.section,excerpt:null!=(s=null==(l=c.sections[0])?void 0:l.excerpt)?s:"",score:u+4});for(var p,m=(0,le.A)(c.sections);!(p=m()).done;){var h=p.value,b=pe(a,h.heading+" "+h.excerpt,1),x=pe(a,h.heading,3);b>0&&i.push({key:c.path+"#"+(h.anchor||h.heading),href:h.anchor?d+"#"+h.anchor:d,title:h.heading||c.title,context:c.title+" \xb7 "+c.section,excerpt:h.excerpt,score:b+x})}}return i.sort(function(e,t){return t.score-e.score||e.key.localeCompare(t.key)}).slice(0,ue)}(m,j,o):[];if((0,a.useEffect)(function(){if(A)return document.addEventListener("pointerdown",e),function(){return document.removeEventListener("pointerdown",e)};function e(e){var t;null!=(t=u.current)&&t.contains(e.target)||_(!1)}},[A]),"compute"!==n)return null;function I(){m||x||fetch(i).then(function(e){if(!e.ok)throw new Error("HTTP "+e.status);return e.json()}).then(function(e){return h(e.pages)}).catch(function(){return v(!0)})}function L(e){_(!1),y(""),S(-1),r.push(e.href)}var E=x?"Search is available on the built site.":j&&m?w.length+" result"+(1===w.length?"":"s"):"",P=Boolean(A&&j);return(0,f.jsxs)("div",{ref:u,"data-docs-search":!0,className:"relative "+(null!=t?t:""),children:[(0,f.jsx)("input",{ref:d,type:"search",role:"combobox","aria-expanded":P,"aria-controls":s,"aria-activedescendant":C>=0&&w[C]?s+"-option-"+C:void 0,"aria-describedby":l,"aria-label":"Search documentation",autoComplete:"off",spellCheck:!1,placeholder:"Search docs",value:j,onFocus:I,onChange:function(e){y(e.target.value),_(!0),S(-1),I()},onKeyDown:function(e){if("ArrowDown"===e.key)return e.preventDefault(),void(w.length>0&&(_(!0),S(function(e){return(e+1)%w.length})));if("ArrowUp"===e.key)return e.preventDefault(),void(w.length>0&&(_(!0),S(function(e){return e<=0?w.length-1:e-1})));if("Enter"!==e.key)"Escape"===e.key&&A&&(e.preventDefault(),_(!1),S(-1));else{var t,n=null!=(t=w[C])?t:w[0];A&&n&&(e.preventDefault(),L(n))}},className:"w-full border border-border-subtle-neutral bg-surface-secondary/25 px-3 py-2 text-sm text-content-primary transition-colors outline-none placeholder:text-content-tertiary hover:border-border-neutral focus-visible:border-interaction-brand-primary-1-normal"}),(0,f.jsx)("span",{id:l,"aria-live":"polite",className:"sr-only",children:E}),P&&(0,f.jsxs)("ul",{id:s,role:"listbox","aria-label":"Documentation search results",className:"bg-gray-1000 absolute inset-x-0 top-full z-30 m-0 mt-1 max-h-96 list-none overflow-y-auto border border-border-neutral p-0 shadow-lg empty:hidden",children:[w.map(function(e,t){return(0,f.jsxs)("li",{id:s+"-option-"+t,role:"option","aria-selected":t===C,onPointerDown:function(t){t.preventDefault(),L(e)},onMouseEnter:function(){return S(t)},className:"m-0 cursor-pointer border-b border-border-subtle-neutral px-3 py-2.5 last:border-b-0 "+(t===C?"bg-surface-secondary/60":""),children:[(0,f.jsx)("span",{className:"block typography-body-bold-7 text-content-primary",children:e.title}),(0,f.jsx)("span",{className:"mt-0.5 block typography-body-regular-8 text-content-tertiary",children:e.context}),e.excerpt&&(0,f.jsx)("span",{className:"mt-1 block typography-body-regular-8 leading-4 text-content-secondary",children:e.excerpt.slice(0,120)})]},e.key)}),m&&0===w.length&&(0,f.jsx)("li",{role:"option","aria-selected":!1,"aria-disabled":"true",className:"m-0 px-3 py-2.5 typography-body-regular-7 text-content-tertiary",children:"No matches in the documentation"})]})]})}const he="sidebarWithHideableNavbar__6UL",be="sidebarHidden__LRd",xe="sidebarLogo_F_0z";function fe(e){var t=e.path,n=e.sidebar,a=e.onCollapse,r=e.isHidden,i=(0,u.p)(),s=i.navbar.hideOnScroll,l=i.docs.sidebar.hideable;return(0,f.jsxs)("div",{className:(0,o.A)(s&&he,r&&be,"flex h-full flex-col justify-between border-r border-border-neutral"),children:[s&&(0,f.jsx)(p.A,{tabIndex:-1,
1className:xe}),(0,f.jsx)(me,{className:"px-4 pt-4"}),(0,f.jsx)(se,{path:t,sidebar:n}),l&&(0,f.jsx)(v,{onClick:a})]})}const ve=a.memo(fe);var ge=n(75600),je=n(22069),ye=function(e){var t=e.sidebar,n=e.path,a=(0,je.M)();return(0,f.jsx)("ul",{className:(0,o.A)(l.G.docs.docSidebarMenu,"menu__list"),children:(0,f.jsx)(re,{items:t,activePath:n,onItemClick:function(e){"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ke(e){return(0,f.jsx)(ge.GX,{component:ye,props:e})}const Ae=a.memo(ke);function _e(e){var t=(0,d.l)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,f.jsxs)(f.Fragment,{children:[n&&(0,f.jsx)(ve,Object.assign({},e)),a&&(0,f.jsx)(Ae,Object.assign({},e))]})}const Ne={expandButton:"expandButton_k9J9",expandButtonIcon:"expandButtonIcon_zpMS"};function Ce(e){var t=e.toggleSidebar;return(0,f.jsx)("div",{className:Ne.expandButton,title:(0,m.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,m.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:t,onClick:t,children:(0,f.jsx)(x.A,{className:Ne.collapseSidebarButtonIcon,children:"keyboard_double_arrow_right"})})}const Se={docSidebarContainer:"docSidebarContainer_RSuS",docSidebarContainerHidden:"docSidebarContainerHidden_kI50",sidebarViewport:"sidebarViewport_pYEE"};function we(e){var t,n=e.children,i=(0,r.t)();return(0,f.jsx)(a.Fragment,{children:n},null!=(t=null==i?void 0:i.name)?t:"noSidebar")}function Ie(e){var t=e.sidebar,n=e.hiddenSidebarContainer,r=e.setHiddenSidebarContainer,i=(0,c.zy)().pathname,d=(0,a.useState)(!1),u=d[0],p=d[1],m=(0,a.useCallback)(function(){u&&p(!1),!u&&(0,s.O)()&&p(!0),r(function(e){return!e})},[r,u]);return(0,f.jsx)("aside",{className:(0,o.A)(l.G.docs.docSidebarContainer,Se.docSidebarContainer,n&&Se.docSidebarContainerHidden),onTransitionEnd:function(e){e.currentTarget.classList.contains(Se.docSidebarContainer)&&n&&p(!0)},children:(0,f.jsx)(we,{children:(0,f.jsxs)("div",{className:(0,o.A)(Se.sidebarViewport,u&&Se.sidebarViewportHidden),children:[(0,f.jsx)(_e,{sidebar:t,path:i,onCollapse:m,isHidden:u}),u&&(0,f.jsx)(Ce,{toggleSidebar:m})]})})})}const Le={docMainContainer:"docMainContainer_hjYf",docItemWrapper:"docItemWrapper_UBqo",docMainContainerEnhanced:"docMainContainerEnhanced_of6x",docItemWrapperEnhanced:"docItemWrapperEnhanced_s6pk"};function Ee(e){var t=e.hiddenSidebarContainer,n=e.children,a=(0,r.t)();return(0,f.jsx)("main",{className:(0,o.A)(Le.docMainContainer,(t||!a)&&Le.docMainContainerEnhanced),children:(0,f.jsx)("div",{className:(0,o.A)("padding-top--md padding-bottom--lg container",Le.docItemWrapper,t&&Le.docItemWrapperEnhanced),children:n})})}function Pe(){var e=(0,de.A)().siteConfig.customFields.siteVariant,t=(0,r.t)(),n=(0,c.zy)().pathname;return"compute"===e&&t?(0,f.jsxs)("aside",{"aria-label":"Documentation tools","data-docs-mobile-nav":!0,className:"compute-docs-mobile-nav mb-6 border border-border-subtle-neutral",children:[(0,f.jsx)("div",{className:"border-b border-border-subtle-neutral p-3",children:(0,f.jsx)(me,{})}),(0,f.jsxs)("details",{className:"group",children:[(0,f.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-3 px-3 py-3 typography-body-bold-6 text-content-primary [&::-webkit-details-marker]:hidden",children:["Documentation navigation",(0,f.jsx)("span",{"aria-hidden":"true",className:"text-content-tertiary transition-transform group-open:rotate-180",children:"\u25be"})]}),(0,f.jsx)("nav",{"aria-label":"Docs pages",className:"menu border-t border-border-subtle-neutral px-2 py-3",children:(0,f.jsx)("ul",{className:"menu__list m-0 flex list-none flex-col gap-1 p-0",children:(0,f.jsx)(re,{items:t.items,activePath:n,level:1})})})]})]}):null}const Te={docRoot:"docRoot_cWv0",docRootColumn:"docRootColumn_iDHj",docsWrapper:"docsWrapper_bSxm"};function De(e){var t=e.children,n=(0,r.t)(),o=(0,a.useState)(!1),s=o[0],l=o[1];return(0,f.jsxs)("div",{className:Te.docsWrapper,children:[(0,f.jsx)(i.A,{}),(0,f.jsxs)("div",{className:Te.docRootColumn,children:[(0,f.jsx)(Pe,{}),(0,f.jsxs)("div",{className:Te.docRoot,children:[n&&(0,f.jsx)(Ie,{sidebar:n.items,hiddenSidebarContainer:s,setHiddenSidebarContainer:l}),(0,f.jsx)(Ee,{hiddenSidebarContainer:s,children:t})]})]})]})}},91971:(e,t,n)=>{n.d(t,{A:()=>c});n(96540);var a=n(34164),r=n(21312),i=n(44586),o=n(51107),s=n(50010),l=n(74848);
1function c(e){var t=e.className,n="compute"===(0,i.A)().siteConfig.customFields.siteVariant,c=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{as:"h1",className:n?"m-0 typography-subhead-bold-3 text-content-primary":"hero__title",children:(0,l.jsx)(r.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,l.jsx)("p",{className:n?"m-0 typography-body-regular-3 leading-7 text-content-secondary":void 0,children:(0,l.jsx)(r.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,l.jsx)("p",{className:n?"m-0 typography-body-regular-3 leading-7 text-content-secondary":void 0,children:(0,l.jsx)(r.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})}),n&&(0,l.jsx)("div",{className:"pt-3",children:(0,l.jsx)(s.Q,{href:"/",buttonType:"primary",size:"lg",rightIcon:"arrow_forward","data-cta-family":"recovery","data-cta-priority":"primary","data-not-found-recovery":"compute-home",children:"Return to Compute home"})})]});return n?(0,l.jsx)("section",{className:(0,a.A)("flex w-full max-w-3xl flex-col gap-5 py-12 md:py-16 lg:py-20",t),children:c}):(0,l.jsx)("section",{className:(0,a.A)("margin-vert--xl container",t),children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"col col--6 col--offset-3",children:c})})})}}}]);
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.