1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9888,7835,40055],{91627:function(e,t,r){var n=r(85893),a=r(67294);t.Z=e=>{let{type:t="vertical",isOpen:r=!1,children:i,onHeightChange:l,className:s,collapseRef:c}=e,h=(0,a.useRef)(null);(0,a.useImperativeHandle)(c,()=>({updateCollapseHeight:e=>{let{height:t,increase:n}=e;r&&(h.current.style.height=h.current.scrollHeight,h.current.style.height="auto")}}));let o=e=>{let r=e.scrollHeight,n=e.scrollWidth;requestAnimationFrame(function(){switch(t){case"horizontal":e.style.width=n+"px",requestAnimationFrame(function(){e.style.width="0px"});break;case"vertical":e.style.height=r+"px",requestAnimationFrame(function(){e.style.height="0px"})}})},u=e=>{let r=e.scrollHeight,n=e.scrollWidth,a=0;switch(t){case"horizontal":e.style.width=n+"px",a=setTimeout(()=>{e.style.width="auto"},400);break;case"vertical":e.style.height=r+"px",a=setTimeout(()=>{e.style.height="auto"},400)}clearTimeout(a)};return(0,a.useEffect)(()=>{r?u(h.current):o(h.current),l&&l({height:h.current.scrollHeight,increase:r})},[r]),(0,n.jsx)("div",{ref:h,style:"vertical"===t?{height:"0px",willChange:"height"}:{width:"0px",willChange:"width"},className:"".concat(s||""," overflow-hidden duration-300"),children:i})}},7835:function(e,t,r){var n=r(85893),a=r(41664),i=r.n(a),l=r(21384);let s=e=>{let{passHref:t,legacyBehavior:r,placeholderSrc:n,fallbackSrc:a,...i}=e;return i},c=e=>{let{placeholderSrc:t,fallbackSrc:r,src:n,alt:a,width:i,height:l,loading:s,decoding:c,onLoad:h,onError:o,...u}=e;return u};t.Z=e=>{let{href:t,children:r,...a}=e,h=(0,l.JA)("LINK"),o="";"string"==typeof t?o=t:"object"==typeof t&&null!==t&&"string"==typeof t.pathname&&(o=t.pathname);let u=o.startsWith("http")&&!o.startsWith(h),d=()=>{var e;let t=new URLSearchParams((null===(e=window.location.search)||void 0===e?void 0:e.slice(1))||""),r={};for(let[e,n]of t.entries())""!==n&&(r[e]=n);return r};if(u){let e="string"==typeof t?t:new URL(t.pathname,h).toString();return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...s(a),children:r})}let f="string"==typeof t?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let t=d();if(0===Object.keys(t).length)return e;let r=e.startsWith("http://")||e.startsWith("https://"),n=new URL(e,h);return(Object.entries(t).forEach(e=>{let[t,r]=e;n.searchParams.has(t)||n.searchParams.set(t,r)}),r)?n.toString():"".concat(n.pathname).concat(n.search).concat(n.hash)})(t):(e=>{if(!e||"object"!=typeof e)return e;let t=d();return 0===Object.keys(t).length?e:{...e,query:{...t,...e.query||{}}}})(t);return(0,n.jsx)(i(),{href:f,...c(a),children:r})}},9888:function(e,t,r){r.r(t),r.d(t,{MenuItemCollapse:function(){return c}});var n=r(85893),a=r(91627),i=r(7835),l=r(11163),s=r(67294);let c=e=>{var t,r;let{link:c}=e,[h,o]=(0,s.useState)(!1),u=(null==c?void 0:null===(t=c.subMenus)||void 0===t?void 0:t.length)>0,[d,f]=(0,s.useState)(!1),g=(0,l.useRouter)();if(!c||!c.show)return null;let x=(null==c?void 0:c.href)==="#"?"#".concat(c.name):c.href,p=g.pathname===c.href||g.asPath===c.href;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-black"+(p?"text-white hover:text-white":"hover:text-gray-600")+" px-7 w-full text-left duration-200 dark:border-black",onClick:()=>{o(!h)},children:[!u&&(0,n.jsx)(i.Z,{href:x,target:null==c?void 0:c.target,className:"py-2 w-full my-auto items-center justify-between flex ",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"".concat(c.icon," text-center w-4 mr-4")}),c.name]})}),u&&(0,n.jsxs)("div",{onClick:u?()=>{f(!d)}:null,className:"py-2 flex justify-between cursor-pointer dark:text-gray-400 dark:hover:text-white font-bold no-underline tracking-widest",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"".concat(c.icon," text-center w-4 mr-2")}),c.name]}),(0,n.jsx)("div",{className:"inline-flex items-center ",children:(0,n.jsx)("i",{className:"px-2 fas fa-chevron-right transition-all duration-200 ".concat(d?"rotate-90":"")})})]})]}),u&&(0,n.jsx)(a.Z,{isOpen:d,onHeightChange:e.onHeightChange,children:null==c?void 0:null===(r=c.subMenus)||void 0===r?void 0:r.map((e,t)=>{let r=(null==e?void 0:e.href)==="#"?"#".concat(e.name):e.href;return(0,n.jsx)("div",{className:" py-2 px-14 cursor-pointer hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white font-bold dark:bg-black text-left justify-start text-gray-600 bg-gray-50 bg-opacity-20 dark:hover:bg-gray-600 tracking-widest transition-all duration-200",children:(0,n.jsx)(i.Z,{href:r,target:"_self",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.icon)?null==e?void 0:e.icon:"fas fa-hashtag"," text-center w-3 mr-2 text-xs")}),e.title]})})},t)})})]})}}}]);
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.