1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="06ca0fbc-d5b5-423c-8da8-54b9ab09519b",e._sentryDebugIdIdentifier="sentry-dbid-06ca0fbc-d5b5-423c-8da8-54b9ab09519b")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2717],{2717:(e,t,r)=>{r.d(t,{t:()=>q});var l=r(88828),s=r(56038),a=r(44037),n=r(4946),c=r(48574),i=r.n(c),o=r(81552),d=r(45674),u=r(88543),x=r(56793),h=r(12600),m=r(16931),f=r(16345),p=r(58073),b=r(73204),y=r(85960);let g=e=>{let{text:t,value:r}=e,[s,a]=(0,o.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(h.T,{className:"text-primary-600 mr-2",size:"sm",variant:"light",onPress:()=>a(!0),children:[(0,l.jsx)(n.In,{className:"w-5 h-5",icon:"lucide:notepad-text"}),(0,l.jsx)("span",{children:r})]}),(0,l.jsx)(m.Y,{isOpen:s,placement:"center",size:"lg",onOpenChange:a,children:(0,l.jsx)(f.g,{children:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.c,{children:"Macrocells Description"}),(0,l.jsx)(b.h,{className:"space-y-2 pb-10",children:t?(0,l.jsx)(y.Q,{children:t}):(0,l.jsx)("p",{className:"text-default-500 text-center my-10",children:"Content unavailable"})})]})})})]})};var j=r(88508);let v=e=>{let{imageUrl:t}=e,[r,s]=(0,o.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.T,{className:"ml-2",size:"sm",variant:"light",onPress:()=>s(!0),children:(0,l.jsx)(n.In,{className:"w-5 h-5 cursor-pointer text-primary-700",icon:"humbleicons:image"})}),(0,l.jsx)(m.Y,{isOpen:r,placement:"center",size:"sm",onOpenChange:s,children:(0,l.jsx)(f.g,{children:()=>(0,l.jsx)(b.h,{className:"p-6 flex justify-center",children:(0,l.jsx)(j.W,{alt:"ASIC schema",className:"rounded-md max-h-[600px] object-contain",src:t})})})})]})};var w=r(98676),k=r(94736),N=r(52179),C=r(27492);let R=e=>Number.parseInt(e.replace(/px$/,""),10),S=C.A.screens,z={phone:0,tablet:S.md?R(S.md):768,laptop:S.lg?R(S.lg):1024,desktop:S.xl?R(S.xl):1280},A={xs:0,sm:S.sm?R(S.sm):640,md:S.md?R(S.md):768,lg:S.lg?R(S.lg):1024,xl:S.xl?R(S.xl):1280,"2xl":S["2xl"]?R(S["2xl"]):1536},I=(0,N.A)(z);(0,N.A)(A);let D=[s.JKr],E=s.zl0.withParams({accentColor:"#e07b39",foregroundColor:"#1e3a5f",backgroundColor:"#ffffff",borderColor:"#dde6f0",headerBackgroundColor:"#161a23",headerTextColor:"#ffffff",headerFontSize:13,headerFontWeight:600,headerHeight:80,rowHeight:80,oddRowBackgroundColor:"#f4f7fc",rowHoverColor:"#e8eef8",fontSize:14,fontFamily:"inherit",wrapperBorderRadius:0,borderRadius:0}),M=e=>{let{value:t}=e;return!0!==t&&"Yes"!==t?(0,l.jsx)("span",{style:{color:"#94a3b8",fontSize:16,lineHeight:1},children:"â"}):(0,l.jsx)("span",{"aria-label":"Yes",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:22,height:22,borderRadius:6,background:"#e07b39",flexShrink:0},children:(0,l.jsx)(n.In,{icon:"prime:check",style:{color:"#fff",fontSize:13}})})},q=e=>{let{chipType:t,data:r,columns:s,isLoading:n,isError:c,translationNamespace:h="common"}=e,{t:m}=(0,x.A)(h),f=(0,o.useRef)(null),p=(0,o.useRef)(null),b=(0,o.useRef)(null),y=(0,o.useRef)(null),j=(0,o.useRef)(null),N=(0,o.useRef)(null),C=(0,o.useRef)(!1),R=(0,o.useRef)(null),[S,z]=(0,o.useState)(null),{isMobile:A}=(()=>{let e=I();return{breakpoint:e,isPhone:"phone"===e,isTablet:"tablet"===e,isLaptop:"laptop"===e,isDesktop:"desktop"===e,isMobile:"phone"===e||"tablet"===e,isDesktopOrLarger:"laptop"===e||"desktop"===e}})(),q=(0,o.useRef)(A);(0,o.useEffect)(()=>{q.current=A},[A]);let F=(0,o.useRef)(!1),L=(0,o.useRef)(0),W=(0,o.useRef)(0),T=(0,o.useRef)(null),U=(0,o.useCallback)(e=>{switch(t){case"asic":return k.b.asicModel(e);case"dcdc":return k.b.dcdcModel(e);case"loadswitch":return k.b.loadSwitchModel(e);case"dcdc-converters":return k.b.dcdcConvertersModel(e)}},[t]),H=(0,o.useMemo)(()=>s.map(e=>{let t=!A&&"model"===e.key;return{colId:e.key,width:e.width,minWidth:e.width,pinned:t?"left":null,suppressMovable:t,resizable:!0,sortable:!0,filter:"agTextColumnFilter",headerName:e.headerRenderer?void 0:m(e.label),...e.headerRenderer?{headerComponent:()=>e.headerRenderer(),sortable:!1,filter:!1}:{},valueGetter:t=>{let{data:r}=t;return r&&e.accessor?e.accessor(r):"-"},cellRenderer:function(e,t,r){switch(e.type){case"text":default:return e=>{let{value:t}=e;return(0,l.jsx)("span",{children:null!=t?t:"â"})};case"boolean":return e=>{let{value:t}=e;return(0,l.jsx)(M,{value:t})};case"link":return t=>{var s;let{value:a,data:n}=t;if(!n)return(0,l.jsx)("span",{children:"â"});let c="function"==typeof e.linkHref?e.linkHref(n):null!=(s=e.linkHref)?s:"#";if(!c||"#"===c)return(0,l.jsx)("span",{children:"â"});let o=a&&"-"!==a?a:r("link");return(0,l.jsx)(i(),{href:c,style:{color:"#18366c",textDecoration:"underline",fontWeight:500},children:o})};case"modal":return t=>{let{value:r,data:s}=t;if(!s)return(0,l.jsx)("span",{children:"â"});let a=e.modalTextAccessor?e.modalTextAccessor(s):void 0;return a?(0,l.jsx)("div",{style:{display:"flex",alignItems:"center",gap:6},children:(0,l.jsx)(g,{text:a,value:r})}):(0,l.jsx)("span",{children:null!=r?r:"â"})};case"model-with-schema":return e=>{var r,s,a;let{value:n,data:c}=e;if(!c)return(0,l.jsx)("span",{children:"â"});let i=null!=(a=null==(r=c.schema)?void 0:r.url)?a:null==(s=c.schema)?void 0:s.url;return(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"0 6px",gap:4},children:[(0,l.jsx)("a",{href:t(n),style:{color:"#18366c",textDecoration:"underline",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n}),i&&(0,l.jsx)(v,{imageUrl:(0,w.V)(i)})]})};
1case"custom":return t=>{let{data:r}=t;return r&&e.customRenderer?e.customRenderer(r):(0,l.jsx)("span",{children:"â"})}}}(e,U,m),cellStyle:{display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",padding:"16px 16px",lineHeight:"1.5",color:"#1e3a5f",fontSize:"14px"}}}),[s,t,m,A]),_=(0,o.useCallback)(()=>{var e,t;let r=p.current;if(!r)return;let l=r.querySelector(".ag-pinned-left-header"),s=null!=(e=null==l?void 0:l.offsetWidth)?e:0;[b.current,j.current].forEach(e=>{e&&(e.style.marginLeft="".concat(s,"px"),e.style.width="calc(100% - ".concat(s,"px)"))});let a=r.querySelector(".ag-body-horizontal-scroll-viewport"),n=r.querySelector(".ag-center-cols-container"),c=null!=(t=a&&a.scrollWidth>50?a.scrollWidth:null==n?void 0:n.offsetWidth)?t:0;c>0&&(y.current&&(y.current.style.width="".concat(c,"px")),N.current&&(N.current.style.width="".concat(c,"px")))},[]);(0,o.useEffect)(()=>{_()},[r,H,_]);let B=(0,o.useCallback)(()=>{var e,t,r;null==(e=R.current)||e.call(R),R.current=null,null==(r=f.current)||null==(t=r.api)||t.applyColumnState({state:[{colId:"model",pinned:q.current?null:"left"}]});let l=p.current,s=j.current,a=null==l?void 0:l.querySelector(".ag-body-horizontal-scroll-viewport");if(!l||!a)return;let n=l.querySelector(".ag-header");n&&z(n);let c=[b.current,s,a].filter(Boolean),i=c.map(e=>{let t=c.filter(t=>t!==e),r=()=>{C.current||requestAnimationFrame(()=>{C.current=!0,t.forEach(t=>t.scrollLeft=e.scrollLeft),requestAnimationFrame(()=>{C.current=!1})})};return e.addEventListener("scroll",r,{passive:!0}),{source:e,handler:r}}),o=new ResizeObserver(_);o.observe(a);let d=l.querySelector(".ag-center-cols-container");d&&o.observe(d),_(),R.current=()=>{i.forEach(e=>{let{source:t,handler:r}=e;return t.removeEventListener("scroll",r)}),o.disconnect()}},[_]);(0,o.useEffect)(()=>()=>{var e;null==(e=R.current)||e.call(R)},[]);let O=(0,o.useCallback)(e=>{var t;let r=e.target;if(r.closest('a, button, [role="button"], input, select')||r.closest(".ag-header"))return;let l=null==(t=p.current)?void 0:t.querySelector(".ag-body-horizontal-scroll-viewport");l&&(F.current=!0,L.current=e.clientX,W.current=l.scrollLeft,T.current&&(T.current.style.cursor="grabbing",T.current.style.userSelect="none"))},[]),P=(0,o.useRef)(null),Q=(0,o.useCallback)(e=>{var t;if(!F.current)return;let r=null==(t=p.current)?void 0:t.querySelector(".ag-body-horizontal-scroll-viewport");r&&(P.current&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame(()=>{let t=L.current-e.clientX;r.scrollLeft=W.current+t}))},[]),Y=(0,o.useCallback)(()=>{F.current=!1,T.current&&(T.current.style.cursor="",T.current.style.userSelect="")},[]);return((0,o.useEffect)(()=>{if(S){let e=setTimeout(B,10);return()=>clearTimeout(e)}},[S,B]),n||c||!r.length)?(0,l.jsx)("div",{className:"flex items-center justify-center min-h-[400px]",children:n?(0,l.jsx)(u.o,{color:"primary",size:"lg"}):c?(0,l.jsx)("p",{className:"text-surface-900 dark:text-surface-50",children:"Unable to load data"}):(0,l.jsx)("p",{className:"text-surface-900 dark:text-surface-50",children:"No data available"})}):(0,l.jsx)(a.Uf,{modules:D,children:(0,l.jsxs)("div",{ref:p,className:"chip-table-wrapper",style:{width:"100%",position:"relative"},children:[S&&(0,d.createPortal)((0,l.jsx)("div",{ref:b,"aria-hidden":"true",className:"chip-table-custom-scroll chip-table-top-scroll",children:(0,l.jsx)("div",{ref:y,style:{height:1}})}),S),(0,l.jsx)("div",{ref:T,className:"chip-table-grid",onMouseDownCapture:O,onMouseLeave:Y,onMouseMoveCapture:Q,onMouseUpCapture:Y,children:(0,l.jsx)(a.W6,{ref:f,columnDefs:H,domLayout:"autoHeight",getRowId:e=>{let{data:t}=e;return String(t.id||t.documentId||crypto.randomUUID())},rowBuffer:10,rowData:r,suppressColumnVirtualisation:!1,theme:E,onColumnResized:_,onDisplayedColumnsChanged:_,onFirstDataRendered:_,onGridReady:B},A?"mobile":"desktop")}),(0,l.jsx)("div",{ref:j,"aria-hidden":"true",className:"chip-table-custom-scroll",children:(0,l.jsx)("div",{ref:N,style:{height:1}})})]})})}},12015:(e,t,r)=>{r.d(t,{Q:()=>g});var l=r(88828),s=r(81552),a=r(97034),n=r(29530),c=r(40999),i=r(26208),o=r(74795),d=r(25979),u=r(14085),x=r(86610),h=r(32421),m=r(85255),f=r(19700),p=r(88508);r(46565);let b={sm:"prose-sm",base:"prose",lg:"prose-lg"},y={default:"max-w-none",article:"max-w-4xl mx-auto",card:"max-w-none"},g=e=>{let{children:t,className:r="",variant:g="default",title:j,size:v="base",katexOptions:w={throwOnError:!1,strict:!1,trust:!0}}=e,k=(0,s.useMemo)(()=>({h1:e=>{let{children:t,...r}=e;return(0,l.jsx)("h1",{className:"text-h4 lg:text-h3 font-bold text-[#B45C45] mb-6 pb-2",...r,children:t})},h2:e=>{let{children:t,...r}=e,s=String(t).toLowerCase().replace(/[^\wа-ÑÑÑÑÒ0-9\s-]/gi,"").replace(/\s+/g,"-");return(0,l.jsx)("h2",{className:"text-h4 lg:text-4xl font-semibold text-[#B45C45] mb-6 scroll-mt-[100px]",id:s,...r,children:t})},h3:e=>{let{children:t,...r}=e;return(0,l.jsx)("h3",{className:"mt-6 text-body2 text-xl text-primary-800 dark:text-default-300",...r,children:t})},h4:e=>{let{children:t,...r}=e;return(0,l.jsx)("h4",{className:"mt-6 text-body2 text-base text-primary-800 dark:text-default-300",...r,children:t})},h5:e=>{let{children:t,...r}=e;return(0,l.jsx)("h5",{className:"mt-6 text-body2 text-sm text-primary-800 dark:text-default-400",...r,children:t})},h6:e=>{let{children:t,...r}=e;return(0,l.jsx)("h6",{className:"mt-6 text-body2 text-xs text-primary-800 dark:text-default-400",...r,children:t})},p:e=>{let{children:t,...r}=e;return(0,l.jsx)("div",{className:"text-body2 text-[#161A23] dark:text-default-300 leading-relaxed mb-4",...r,children:t})},a:e=>{let{href:t,children:r}=e;return(0,l.jsx)(o.h,{className:"font-medium text-primary-500 hover:text-default-400 underline",href:t,isExternal:null==t?void 0:t.startsWith("http"),children:r})},code:e=>{let{children:t,className:r,...s}=e,a=/language-(\w+)/.exec(r||""),n=a?a[1]:"";return a||r?(0,l.jsxs)(u.Z,{className:"my-4",shadow:"sm",children:[n&&(0,l.jsx)("div",{className:"flex items-center justify-between bg-default-100 dar
1k:bg-default-800 px-4 py-2 border-b border-divider",children:(0,l.jsx)(x.R,{className:"text-xs font-medium",color:"secondary",size:"sm",variant:"flat",children:n})}),(0,l.jsx)(h.U,{className:"p-0",children:(0,l.jsx)("pre",{className:"bg-default-50 dark:bg-default-900 text-default-800 dark:text-default-200 p-4 overflow-x-auto m-0 rounded-none",children:(0,l.jsx)("code",{className:"text-sm font-mono",...s,children:t})})})]}):(0,l.jsx)(d._,{className:"mx-1",classNames:{base:"bg-default-100 dark:bg-default-800 max-w-full",pre:"bg-transparent text-default-950 dark:text-default-300 text-sm font-mono max-w-full overflow-x-auto scrollbar-thin scrollbar-thumb-default-300 scrollbar-track-transparent",copyButton:"sticky right-0 flex-shrink-0"},size:"sm",symbol:"#",children:t})},blockquote:e=>{let{children:t,...r}=e;return(0,l.jsx)(u.Z,{className:"my-4 border-l-4 text-primary-500",shadow:"sm",children:(0,l.jsx)(h.U,{className:"bg-primary-950/50",children:(0,l.jsx)("blockquote",{className:"text-default-300 dark:text-default-300 italic m-0 pl-2",...r,children:t})})})},hr:e=>{let{...t}=e,{...r}=t;return(0,l.jsx)("div",{className:"my-8",children:(0,l.jsx)(m.y,{...r})})},table:e=>{let{children:t,...r}=e;return(0,l.jsx)(u.Z,{className:"my-6 overflow-hidden",shadow:"sm",children:(0,l.jsx)(h.U,{className:"p-0",children:(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsx)("table",{className:"w-full",...r,children:t})})})})},thead:e=>{let{children:t,...r}=e;
1return(0,l.jsx)("thead",{className:"bg-default-100 dark:bg-default-800",...r,children:t})},th:e=>{let{children:t,...r}=e;return(0,l.jsx)("th",{className:"px-4 py-3 text-left font-semibold text-default-800 dark:text-default-200 border-b-2 border-divider",...r,children:t})},td:e=>{let{children:t,...r}=e;return(0,l.jsx)("td",{className:"px-4 py-3 text-default-400 dark:text-default-300 border-b border-divider/50",...r,children:t})},ul:e=>{let{children:t,...r}=e;return(0,l.jsx)("ul",{className:"list-disc space-y-2 pl-8 text-body2",...r,children:t})},ol:e=>{let{children:t,...r}=e;return(0,l.jsx)("ol",{className:"list-decimal list-inside space-y-2 pl-4 text-body2",...r,children:t})},li:e=>{let{children:t,...r}=e;return s.Children.toArray(t).some(e=>s.isValidElement(e)&&"checkbox"===e.props.type)?(0,l.jsx)("li",{className:"flex items-center gap-2 text-[#161A23] dark:text-default-300 list-none my-2 text-body2",...r,children:t}):(0,l.jsx)("li",{className:"text-body2 text-[#161A23] dark:text-default-300",...r,children:t})},input:e=>{let{type:t,checked:r,disabled:s,...a}=e;return"checkbox"===t?(0,l.jsx)(f.A,{className:"ml-2 -mr-2",isDisabled:s,isSelected:r,radius:"full",size:"md"}):(0,l.jsx)("input",{type:t,...a})},img:e=>{let{src:t,alt:r}=e;return(0,l.jsx)(p.W,{alt:r,className:"rounded-lg my-4 w-full object-cover",loading:"lazy",src:t})},strong:e=>{let{children:t,...r}=e;return(0,l.jsx)("strong",{className:"font-semibold text-default-700 dark:text-default-200",...r,children:t})},em:e=>{let{children:t,...r}=e;return(0,l.jsx)("em",{className:"italic text-default-500 dark:text-default-300",...r,children:t})}}),[]),N=(0,s.useMemo)(()=>{let e=b[v],t=y[g];return"heroui-markdown ".concat(e," ").concat(t," ").concat("dark:prose-invert"," ").concat("scroll-mt-[100px] max-w-[1030px] text-content-content1 text-body2"," prose ").concat(r).trim()},[v,g,r]),C=(0,l.jsxs)("div",{className:N,children:[j&&(0,l.jsx)("h2",{className:"text-h4 lg:text-h3 mb-6 text-gradient-white-gray",children:j}),(0,l.jsx)("div",{className:"space-y-5",children:(0,l.jsx)(a.oz,{components:k,rehypePlugins:[[i.A,w]],remarkPlugins:[n.A,c.A],children:t})})]});return"card"===g?(0,l.jsx)(u.Z,{className:r,children:(0,l.jsx)(h.U,{children:C})}):C}},85960:(e,t,r)=>{r.d(t,{Q:()=>l.Q});var l=r(12015)}}]);
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.