1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52945],{968:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(95155),l=r(12115);let n=(0,l.lazy)(()=>Promise.all([r.e(97330),r.e(39242),r.e(64287),r.e(38355),r.e(28177)]).then(r.bind(r,28177))),o=e=>{let{children:t}=e;return(0,a.jsx)(l.Suspense,{fallback:(0,a.jsx)("div",{className:"assistant-md whitespace-pre-wrap",children:t}),children:(0,a.jsx)(n,{children:t})})};function i(e){let{summary:t,title:r,className:l="",background:n,textColor:i}=e;return t?(0,a.jsx)("div",{className:"relative p-[2px] rounded-2xl bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 ".concat(l),children:(0,a.jsxs)("div",{className:"rounded-2xl px-4 py-3 ".concat(n?"":"bg-white dark:bg-gray-700"),style:n?{backgroundColor:n}:void 0,children:[r&&(0,a.jsxs)("div",{className:"text-xs font-semibold text-gray-500 dark:text-gray-400 mb-2 flex items-center gap-1.5",children:[(0,a.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8 1L10 5.5L15 6L11.5 9.5L12.5 14.5L8 12L3.5 14.5L4.5 9.5L1 6L6 5.5L8 1Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),'Summary of "',r.length>40?r.slice(0,40)+"...":r,'"']}),(0,a.jsx)("div",{className:"text-gray-900 dark:text-gray-200 text-sm font-normal leading-relaxed",style:i?{color:i}:void 0,children:(0,a.jsx)(o,{children:t})})]})}):null}},17093:(e,t,r)=>{r.d(t,{y:()=>l});var a=r(12115);function l(e,t){let[r,l]=(0,a.useState)([]),[n,o]=(0,a.useState)(null),i=(0,a.useRef)(new Map);return(0,a.useEffect)(()=>{let t=e.current;if(!t)return;let r=requestAnimationFrame(()=>{var e,r;let a=t.querySelector("[data-reading-content]"),n=new Map,s=[];
1a&&Array.from(a.querySelectorAll("h1, h2, h3, h4")).forEach((e,t)=>{let r=(e.textContent||"").trim();if(!r)return;let a=e.id;!a&&(e.id=a=(r.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"section")+"-".concat(t));let l=Number(e.tagName.substring(1))||1;s.push({id:a,text:r,level:l}),n.set(a,e)}),i.current=n,l(s),o(null!=(r=null==(e=s[0])?void 0:e.id)?r:null)});return()=>cancelAnimationFrame(r)},[t,e]),(0,a.useEffect)(()=>{let t=e.current;if(!t||0===r.length)return;let a=()=>{let e=t.getBoundingClientRect().top,a=r[0].id;for(let t of r){let r=i.current.get(t.id);if(r)if(r.getBoundingClientRect().top-e<=96)a=t.id;else break}o(a)};return a(),t.addEventListener("scroll",a,{passive:!0}),()=>t.removeEventListener("scroll",a)},[r,e]),{outline:r,activeId:n,scrollToHeading:(0,a.useCallback)(e=>{var t;null==(t=i.current.get(e))||t.scrollIntoView({behavior:"smooth",block:"start"})},[])}}},33917:(e,t,r)=>{r.d(t,{Ay:()=>m,Zh:()=>s,zG:()=>c});var a=r(95155),l=r(12115),n=r(24033),o=r(91285),i=r(64269);let s={fontFamily:"Inter, sans-serif",fontSize:16,fontWeight:400,fontStyle:"normal",theme:null},d=[{label:"Inter",value:"Inter, sans-serif"},{label:"Merriweather",value:"Merriweather, serif"},{label:"Georgia",value:"Georgia, serif"},{label:"Nunito",value:"Nunito, sans-serif"},{label:"Roboto",value:"Roboto, sans-serif"}],c={light:{label:"Light",background:"#FFFFFF",text:"#0D0D0D"},dark:{label:"Dark",background:"#1A1A1A",text:"#F2F4F7"},sepia:{label:"Sepia",background:"#F7E9D2",text:"#4B3621"}},g="mb-2 text-[11px] font-semibold uppercase tracking-wide text-gray-400 dark:text-gray-500";function m(e){let{settings:t,onChange:r,locked:s=!1,onLocked:m}=e,b=e=>r({...t,...e}),x=(0,a.jsxs)("button",{type:"button",className:"flex items-center gap-1.5 rounded-lg bg-gray-50 dark:bg-gray-800 px-2.5 py-1.5 text-xs font-medium text-gray-700 dark:text-gray-200 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600 transition-colors whitespace-nowrap outline-none","aria-label":"Text formatting",children:[(0,a.jsx)("span",{className:"text-sm font-semibold leading-none",children:"Aa"}),(0,a.jsx)(n.A,{size:12,className:"text-gray-400"})]});return s?l.cloneElement(x,{onClick:m}):(0,a.jsx)(o.Ay,{align:"start",side:"bottom",contentClassName:"w-72",trigger:x,children:(0,a.jsxs)("div",{className:"px-1 py-1",children:[(0,a.jsx)("p",{className:g,children:"Font"}),(0,a.jsx)("div",{className:"mb-4 space-y-1",children:d.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>b({fontFamily:e.value}),style:{fontFamily:e.value},className:(0,i.cn)("w-full rounded-md px-3 py-2 text-left text-sm transition cursor-pointer",t.fontFamily===e.value?"bg-[#E6F4FF] dark:bg-[#0D99FF]/20 text-[#0D99FF]":"text-gray-900 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700"),children:e.label},e.value))}),(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,a.jsx)("p",{className:(0,i.cn)(g,"mb-0"),children:"Style"}),(0,a.jsx)("button",{type:"button",onClick:()=>b({fontSize:16,fontWeight:400,fontStyle:"normal"}),className:"text-xs font-semibold text-[#0D99FF] hover:text-[#0B87E0] cursor-pointer",children:"Reset"})]}),(0,a.jsxs)("div",{className:"mb-3",children:[(0,a.jsxs)("div",{className:"mb-1.5 flex items-center justify-between text-xs text-gray-600 dark:text-gray-300",children:[(0,a.jsx)("span",{children:"Size"}),(0,a.jsxs)("span",{children:[t.fontSize,"px"]})]}),(0,a.jsx)("input",{type:"range",min:14,max:22,value:t.fontSize,onChange:e=>b({fontSize:Number(e.target.value)}),className:(0,i.cn)("w-full cursor-pointer appearance-none h-1.5 rounded-full outline-none","border border-gray-200 dark:border-gray-500","[--track:#FFFFFF] dark:[--track:#4B5563]","[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:h-3.5 [&::-webkit-slider-thumb]:w-3.5 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-[#0D99FF]","[&::-moz-range-thumb]:h-3.5 [&::-moz-range-thumb]:w-3.5 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-[#0D99FF]"),style:{background:"linear-gradient(to right, #0D99FF ".concat((t.fontSize-14)/8*100,"%, var(--track) ").concat((t.fontSize-14)/8*100,"%)")}})]}),(0,a.jsxs)("div",{className:"mb-4 flex items-center gap-1.5",children:[[400,500,600,700].map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>b({fontWeight:e}),className:(0,i.cn)("flex-1 rounded-md border px-2 py-1.5 text-xs cursor-pointer transition",t.fontWeight===e?"border-[#0D99FF] bg-[#E6F4FF] dark:bg-[#0D99FF]/20 text-[#0D99FF]":"border-gray-200 dark:border-gray-600 text-gray-700 dark:text-gray-200 hover:border-gray-300 dark:hover:border-gray-500"),children:e},e)),(0,a.jsx)("button",{type:"button",onClick:()=>b({fontStyle:"italic"===t.fontStyle?"normal":"italic"}),className:(0,i.cn)("rounded-md border px-2.5 py-1.5 text-xs italic cursor-pointer transition","italic"===t.fontStyle?"border-[#0D99FF] bg-[#E6F4FF] dark:bg-[#0D99FF]/20 text-[#0D99FF]":"border-gray-200 dark:border-gray-600 text-gray-700 dark:text-gray-200 hover:border-gray-300 dark:hover:border-gray-500"),children:"i"})]}),(0,a.jsx)("p",{className:g,children:"Theme"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(u,{label:"Use app theme",selected:null===t.theme,onClick:()=>b({theme:null})}),["light","dark","sepia"].map(e=>(0,a.jsx)(u,{label:c[e].label,selected:t.theme===e,onClick:()=>b({theme:e})},e))]})]})})}function u(e){let{label:t,selected:r,onClick:l}=e;return(0,a.jsx)("button",{type:"button",onClick:l,className:(0,i.cn)("flex w-full items-center rounded-md px-3 py-2 text-left text-sm transition cursor-pointer",r?"bg-[#E6F4FF] dark:bg-[#0D99FF]/20 text-[#0D99FF]":"text-gray-900 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700"),children:t})}},68093:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(95155);r(12115);var l=r(55187),n=r(83158),o=r(40552);r(1226);var i=r(64269);
1function s(e){let{content:t,isText:r=!1,style:s,className:d}=e;return r?(0,a.jsx)("pre",{className:(0,i.cn)("whitespace-pre-wrap font-mono text-[14px] leading-[1.7] text-gray-900 dark:text-gray-100 antialiased",d),style:s,children:t}):(0,a.jsx)("div",{className:(0,i.cn)("text-gray-900 dark:text-gray-100 antialiased text-[16px] leading-[1.7]","[&_h1]:text-[1.8em] [&_h1]:font-semibold [&_h1]:mt-8 [&_h1]:mb-4 [&_h1]:leading-tight","[&_h2]:text-[1.5em] [&_h2]:font-semibold [&_h2]:mt-7 [&_h2]:mb-3 [&_h2]:leading-tight","[&_h3]:text-[1.25em] [&_h3]:font-semibold [&_h3]:mt-6 [&_h3]:mb-2 [&_h3]:leading-snug","[&_h4]:text-[1.1em] [&_h4]:font-semibold [&_h4]:mt-5 [&_h4]:mb-2","[&_p]:my-3 [&_p]:leading-[1.7]","[&_a]:text-[#0D99FF] [&_a]:underline [&_a]:underline-offset-2 [&_a]:decoration-[#0D99FF]/40 hover:[&_a]:decoration-[#0D99FF] [&_a]:transition-colors","[&_ul]:my-3 [&_ul]:pl-6 [&_ul]:list-disc","[&_ol]:my-3 [&_ol]:pl-6 [&_ol]:list-decimal","[&_li]:my-1 [&_li]:leading-[1.7]","[&_li_ul]:my-1 [&_li_ol]:my-1","[&_blockquote]:border-l-4 [&_blockquote]:border-[#0D99FF]/40 [&_blockquote]:pl-4 [&_blockquote]:my-4 [&_blockquote]:italic [&_blockquote]:text-gray-600 [&_blockquote]:dark:text-gray-400","[&_code]:bg-gray-100 [&_code]:dark:bg-gray-800 [&_code]:dark:text-gray-200 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-[0.875em] [&_code]:font-mono","[&_pre]:my-4 [&_pre]:rounded-lg [&_pre]:bg-gray-100 [&_pre]:dark:bg-gray-800 [&_pre]:p-4 [&_pre]:overflow-x-auto","[&_pre_code]:bg-transparent [&_pre_code]:dark:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-[0.875em]","[&_table]:my-4 [&_table]:w-full [&_table]:border-collapse","[&_th]:border [&_th]:border-gray-300 [&_th]:dark:border-gray-600 [&_th]:px-3 [&_th]:py-2 [&_th]:bg-gray-50 [&_th]:dark:bg-gray-800 [&_th]:text-left [&_th]:font-semibold","[&_td]:border [&_td]:border-gray-300 [&_td]:dark:border-gray-600 [&_td]:px-3 [&_td]:py-2","[&_hr]:my-6 [&_hr]:border-gray-200 [&_hr]:dark:border-gray-600","[&_img]:my-4 [&_img]:rounded-lg [&_img]:max-w-full [&_img]:mx-auto [&_img]:block",d),style:s,"data-reading-content":!0,children:(0,a.jsx)(l.oz,{remarkPlugins:[n.A],rehypePlugins:[o.A],components:{a:e=>{let{children:t,href:r,...l}=e;return(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",...l,children:t})}},children:t})})}},83683:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(95155);r(12115);var l=r(64269);function n(e){let{outline:t,activeId:r,onJump:n}=e;if(t.length<2)return null;let o=Math.min(...t.map(e=>e.level));return(0,a.jsx)("nav",{"aria-label":"Sections",className:"group absolute right-3 top-1/2 z-10 hidden -translate-y-1/2 flex-col items-end gap-3.5 lg:flex",children:t.map(e=>{let t=e.id===r,i=e.level-o;return(0,a.jsxs)("button",{type:"button",onClick:()=>n(e.id),title:e.text,className:"relative flex items-center justify-end py-0.5 cursor-pointer",children:[(0,a.jsx)("span",{"aria-hidden":!0,className:(0,l.cn)("pointer-events-none absolute right-full top-1/2 mr-2 max-w-[220px] -translate-y-1/2 truncate rounded px-2 py-0.5 text-xs opacity-0 shadow-sm transition-opacity group-hover:opacity-100","bg-white/95 dark:bg-gray-800/95",t?"font-medium text-[#0D99FF]":"text-gray-600 dark:text-gray-300"),children:e.text}),(0,a.jsx)("span",{className:(0,l.cn)("h-[3px] rounded-full transition-all",t?"bg-[#0D99FF]":"bg-gray-300 group-hover:bg-gray-400 dark:bg-gray-400 dark:group-hover:bg-gray-300"),style:{width:t?26:Math.max(8,18-4*i)}})]},e.id)})})}},88716:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(95155);r(12115);var l=r(80003),n=r(24033),o=r(91285),i=r(64269);function s(e){let{outline:t,activeId:r,onJump:s,locked:d=!1,onLocked:c}=e,g=0===t.length,m=g?1:Math.min(...t.map(e=>e.level)),u=e=>(0,a.jsxs)("button",{type:"button",disabled:g,className:"flex items-center gap-1.5 rounded-lg bg-gray-50 dark:bg-gray-800 px-2.5 py-1.5 text-xs font-medium text-gray-700 dark:text-gray-200 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-600 transition-colors whitespace-nowrap outline-none disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Chapters",...e,children:[(0,a.jsx)(l.A,{size:16}),(0,a.jsx)("span",{className:"hidden md:inline",children:"Chapters"}),(0,a.jsx)(n.A,{size:12,className:"text-gray-400"})]});return g?u():d?u({onClick:c}):(0,a.jsx)(o.Ay,{align:"end",side:"bottom",contentClassName:"w-[260px] max-w-[80vw] max-h-[60vh] overflow-y-auto",trigger:u(),children:t.map(e=>(0,a.jsx)(o._2,{selected:e.id===r,onClick:()=>s(e.id),children:(0,a.jsx)("span",{className:(0,i.cn)("min-w-0 flex-1 truncate",e.id===r&&"text-[#0D99FF]"),style:{paddingLeft:(e.level-m)*12},children:e.text})},e.id))})}}}]);
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.