1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5004],{5004:(e,t,r)=>{r.d(t,{tS:()=>b,iV:()=>j.i,bQ:()=>y.b,zB:()=>i,m0:()=>s.m,kt:()=>c.kt,Gu:()=>c.Gu,OA:()=>v.O,X3:()=>o.X,Cw:()=>m,KA:()=>d.K,Iu:()=>f,_Q:()=>p,Z$:()=>u.Z$});var s=r(7475),a=r(71300),n=r(90354);let l={xs:"text-xs",sm:"text-sm",md:"text-base"};function i({label:e,helperText:t,errorText:r,required:s=!1,children:d,labelSize:o="sm"}){return(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-2",children:[(0,a.jsxs)("p",{className:(0,n.cn)("font-medium",l[o]),children:[e,s&&(0,a.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,a.jsx)("div",{className:"w-full",children:d}),t&&!r&&(0,a.jsx)("p",{className:"text-xs text-gray-500",children:t}),r&&(0,a.jsx)("p",{className:"text-xs text-red-500",children:r})]})}var d=r(67607),o=r(72728),c=r(44754),x=r(51944),u=r(92573);let p={border:"#E5E5EA",scrollbarTrack:"#f1f1f1",scrollbarThumb:"#ccc"},b=["#9F8FEF","#6B9FED","#6BC9A6","#F5C35C","#E9967A","#F0A3D2","#9FADC7","#5CC6C6"],g={purple:{main:"#605DBA",light:"#FAF5FF",text:"text-purple-600"},blue:{main:"#3F77DF",light:"#EBF8FF",text:"text-blue-600"},orange:{main:"#FF9F0A",light:"#FFF4E5",text:"text-orange-600"},green:{main:"#30D158",light:"#F0FFF4",text:"text-green-600"},teal:{main:"#319795",light:"#E6FFFA",text:"text-teal-600"}};function m({label:e,value:t,onChange:r,min:s,max:l,step:i=1,showPercentage:d=!1,displayAsPercentage:o=!1,rangeLabels:c,disabled:u=!1,colorPalette:b="purple",description:h,size:f="md"}){let y=g[b],v=(0,x.useId)(),j=`slider-${v.replace(/:/g,"")}`,w=o?`${Math.round(100*t)}%`:d?`${t}%`:t,N=(t-s)/(l-s)*100,$="sm"===f?"text-xs":"text-sm";return(0,a.jsxs)("div",{className:"flex w-full flex-col items-stretch gap-2",children:[(0,a.jsx)("style",{children:` 2 .${j} { 3 -webkit-appearance: none; 4 appearance: none; 5 width: 100%; 6 height: 8px; 7 border-radius: 4px; 8 outline: none; 9 cursor: ${u?"not-allowed":"pointer"}; 10 opacity: ${u?.5:1}; 11 background: linear-gradient(to right, ${y.main} 0%, ${y.main} ${N}%, ${p.border} ${N}%, ${p.border} 100%); 12 } 13 .${j}::-webkit-slider-thumb { 14 -webkit-appearance: none; 15 appearance: none; 16 width: 20px; 17 height: 20px; 18 border-radius: 50%; 19 background: ${y.main}; 20 border: 3px solid #fff; 21 box-shadow: 0 1px 4px rgba(0,0,0,0.2); 22 cursor: ${u?"not-allowed":"pointer"}; 23 } 24 .${j}::-moz-range-thumb { 25 width: 20px; 26 height: 20px; 27 border-radius: 50%; 28 background: ${y.main}; 29 border: 3px solid #fff; 30 box-shadow: 0 1px 4px rgba(0,0,0,0.2); 31 cursor: ${u?"not-allowed":"pointer"}; 32 } 33 .${j}::-moz-range-track { 34 height: 8px; 35 border-radius: 4px; 36 background: ${p.border}; 37 } 38 .${j}::-moz-range-progress { 39 height: 8px; 40 border-radius: 4px; 41 background: ${y.main}; 42 } 43 `}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("p",{className:(0,n.cn)("font-medium text-gray-700",$),children:e}),(0,a.jsx)("p",{className:(0,n.cn)("font-bold",$,y.text),children:w})]}),h&&(0,a.jsx)("p",{className:"text-xs text-gray-500",children:h}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[c&&(0,a.jsx)("span",{className:"shrink-0 text-xs text-gray-500",children:c.left}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)("input",{type:"range",className:j,min:s,max:l,step:i,value:t,onChange:e=>{r(i<1?parseFloat(e.target.value):parseInt(e.target.value))},disabled:u})}),c&&(0,a.jsx)("span",{className:"shrink-0 text-xs text-gray-500",children:c.right})]}),!c&&(0,a.jsxs)("div",{className:"flex items-center justify-between px-1",children:[(0,a.jsx)("span",{className:"text-xs text-gray-400",children:o?`${Math.round(100*s)}%`:s}),(0,a.jsx)("span",{className:"text-xs text-gray-400",children:o?`${Math.round(100*l)}%`:l})]})]})}r(17191),r(533);let h={sm:{padding:"4px 8px",fontSize:"12px",borderRadius:"4px"},md:{padding:"10px 12px",fontSize:"14px",borderRadius:"8px"},lg:{padding:"12px 16px",fontSize:"16px",borderRadius:"8px"}};function f({children:e,size:t="md",fullWidth:r=!0,style:s,...n}){let l=h[t];return(0,a.jsx)("select",{style:{width:r?"100%":"auto",padding:l.padding,borderRadius:l.borderRadius,border:`1px solid ${p.border}`,background:"white",color:"#1D1D1F",fontSize:l.fontSize,cursor:"pointer",...s},...n,children:e})}var y=r(18196),v=r(5637);r(88003),r(32773),r(52462);var j=r(2551)},18196:(e,t,r)=>{r.d(t,{b:()=>l});var s=r(71300),a=r(90354);let n={gray:"bg-gray-50 border-gray-200",purple:"bg-purple-50 border-purple-200",blue:"bg-blue-50 border-blue-200",green:"bg-green-50 border-green-200",orange:"bg-orange-50 border-orange-200",yellow:"bg-yellow-50 border-yellow-200",teal:"bg-teal-50 border-teal-200",pink:"bg-fuchsia-50 border-fuchsia-100","gradient-blue-purple":"bg-gradient-to-r from-blue-50 to-purple-50 border-blue-100","gradient-green":"bg-gradient-to-r from-green-50 to-emerald-50 border-green-200","gradient-purple-pink":"bg-gradient-to-r from-purple-50 to-pink-50 border-purple-100"};function l({children:e,colorScheme:t="gray",padding:r=4,className:i,...d}){return(0,s.jsx)("div",{className:(0,a.cn)("rounded-lg border",n[t],function(e){if("number"==typeof e)return`p-${e}`;let t=[];return void 0!==e.base&&t.push(`p-${e.base}`),void 0!==e.md&&t.push(`md:p-${e.md}`),t.join(" ")}(r),i),...d,children:e})}},88003:(e,t,r)=>{r.d(t,{a:()=>i});var s=r(71300),a=r(51944),n=r(33715),l=r(2573);function i({url:e,height:t="600px",onClose:r,title:d}){let o=(0,l.c)(),[c,x]=(0,a.useState)(!1),[u,p]=(0,a.useState)(!1),[b,g]=(0,a.useState)(null),m=(0,a.useRef)(null),h=e.includes("?")?`${e}&embedded=true`:`${e}?embedded=true`;(0,a.useEffect)(()=>{let e=m.current;if(!e)return;let t=null,r=null,s=null,a=()=>{try{let t=e.contentDocument;if(!t)return;let r=Math.max(t.documentElement?.scrollHeight||0,t.body?.scrollHeight||0);r>0&&g(r)}catch{}},n=()=>{try{let s=e.contentDocument;if(!s?.body)return;a(),(t=new ResizeObserver(a)).observe(s.body),s.documentElement&&t.observe(s.documentElement),(r=new MutationObserver(a)).observe(s.body,{childList:!0,subtree:!0,attributes:!0})}catch{}},l=()=>n();return e.addEventListener("load",l),n(),s=setInterval(a,1e3),()=>{e.removeEventListener("load",l),t&&t.disconnect(),r&&r.disconnect(),s&&clearInterval(s)}}
43,[h]);let f=u?"90vh":b?`${b}px`:t;return(0,s.jsxs)("div",{className:"mt-2 overflow-hidden rounded-lg border border-gray-200 bg-white",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-200 bg-gray-50 px-3 py-2",children:[(0,s.jsx)("p",{className:"truncate text-xs font-medium text-gray-500",children:d||e.split("/").pop()?.split("?")[0]||"Page"}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("button",{type:"button",className:"rounded-md p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-700",onClick:()=>p(!u),title:u?"Collapse":"Expand",children:u?(0,s.jsx)(n.Wsx,{size:12}):(0,s.jsx)(n._AH,{size:12})}),(0,s.jsx)("button",{type:"button",className:"rounded-md p-1.5 text-gray-500 hover:bg-gray-100 hover:text-gray-700",onClick:()=>window.open(e,"_blank"),title:o("inlineEmbed.openNewTab")||"Open in new tab",children:(0,s.jsx)(n.EQc,{size:12})}),(0,s.jsx)("button",{type:"button",className:"rounded-md p-1.5 text-gray-500 hover:bg-red-50 hover:text-red-500",onClick:r,title:o("inlineEmbed.close")||"Close",children:(0,s.jsx)(n.QCr,{size:12})})]})]}),(0,s.jsxs)("div",{className:"relative transition-[height] duration-300 ease-in-out",style:{height:f},children:[!c&&(0,s.jsxs)("div",{className:"absolute inset-0 z-[1] flex flex-col items-center justify-center bg-white",children:[(0,s.jsx)("div",{className:"db-skeleton",style:{width:140,height:16,marginBottom:16,borderRadius:6}}),(0,s.jsx)("div",{className:"db-skeleton",style:{width:"100%",height:14,marginBottom:10,borderRadius:6}}),(0,s.jsx)("div",{className:"db-skeleton",style:{width:"75%",height:14,borderRadius:6}})]}),(0,s.jsx)("iframe",{ref:m,src:h,style:{width:"100%",height:"100%",border:"none",display:"block",opacity:+!!c,transition:"opacity 0.3s ease"},onLoad:()=>x(!0),allow:"clipboard-write"})]})]})}}}]);
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.