PageSourceSearch

https://poyo.ai/_next/static/chunks/2817-7e27c58b065fc707.js

js poyo.ai collected 2026-10-05 12:27:31 UTC 18,446 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2817],{2817:(e,a,t)=>{t.r(a),t.d(a,{default:()=>K});var n=t(95155),r=t(14973),i=t(92104),s=t(76684),l=t(83414),o=t(62909),d=t(55433),u=t(59838),c=t(53318),m=t(70589),p=t(12115),h=t(20769),f=t(4474),b=t(79984),g=t(79792),x=t(39540),v=t(39658),j=t(26518),y=t(90466),w=t(66609),N=t(6296),S=t(6962),k=t(50910);let R=["image/jpeg","image/png","image/webp"],E="nano-banana-pro",_=["nano-banana-2","nano-banana-2-edit","nano-banana-pro","nano-banana-pro-edit"],C=["auto","1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],U={"nano-banana-2":{"1K":8,"2K":8,"4K":14},"nano-banana-2-edit":{"1K":8,"2K":8,"4K":14},"nano-banana-pro":{"1K":18,"2K":18,"4K":35},"nano-banana-pro-edit":{"1K":18,"2K":18,"4K":35}},F={"nano-banana-2":{isEditModel:!1,maxReferenceImages:0,defaultSize:"1:1",hasOutputFormat:!1,hasEnableWebSearch:!1,allowAutoSize:!1},"nano-banana-2-edit":{isEditModel:!0,maxReferenceImages:5,defaultSize:"1:1",hasOutputFormat:!1,hasEnableWebSearch:!1,allowAutoSize:!1},"nano-banana-pro":{isEditModel:!1,maxReferenceImages:0,defaultSize:"auto",hasOutputFormat:!0,hasEnableWebSearch:!0,allowAutoSize:!0},"nano-banana-pro-edit":{isEditModel:!0,maxReferenceImages:14,defaultSize:"auto",hasOutputFormat:!0,hasEnableWebSearch:!0,allowAutoSize:!0}},O={task_id:"88B5ZGL326OHU6WS",status:"finished",files:[{file_url:"https://storage.poyo.ai/nano-banana-pro/nano-banana-pro-output.png",file_type:"image"}],created_time:"2026-04-02T04:32:42",progress:100,error_message:null},z=(e,a)=>"nano-banana-pro"===e?{prompt:"An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half, revealing both the dogs head above water holding a tennis ball in it's mouth, and it's paws paddling underwater.",resolution:"1K",size:"auto",outputFormat:"png",enableWebSearch:!1,displayResult:O}:{prompt:"",resolution:"1K",size:a.defaultSize,outputFormat:"png",enableWebSearch:!1,displayResult:null},K=({selectedModel:e=E,onModelChange:a})=>{let t,O=(0,k.c)("modelDetail.model"),K=F[e]||F[E],L=z(e,K),[I,W]=(0,p.useState)("form"),[P,M]=(0,p.useState)("preview"),[A,D]=(0,p.useState)(L.prompt),[$,B]=(0,p.useState)(L.resolution),[V,J]=(0,p.useState)(L.size),[T,q]=(0,p.useState)(L.outputFormat),[G,H]=(0,p.useState)(L.enableWebSearch),[Z,X]=(0,p.useState)([]),[Y,Q]=(0,p.useState)(""),[ee,ea]=(0,p.useState)(!1),[et,en]=(0,p.useState)(!1),[er,ei]=(0,p.useState)(),[es,el]=(0,p.useState)(L.displayResult),[eo,ed]=(0,p.useState)(null),[eu,ec]=(0,p.useState)(null),em=(0,p.useRef)(null),ep=(0,r.n)(()=>{X([]),Q("")}),eh=(0,p.useMemo)(()=>_.map(e=>({value:e,label:e})),[]),ef=(0,p.useMemo)(()=>C.filter(e=>K.allowAutoSize||"auto"!==e),[K.allowAutoSize]),eb=()=>{em.current&&(clearInterval(em.current),em.current=null)};(0,p.useEffect)(()=>{let a=z(e,K);D(a.prompt),B(a.resolution),J(a.size),q(a.outputFormat),H(a.enableWebSearch),el(a.displayResult),ed(null),ei(void 0),Q(""),!K.isEditModel&&Z.length>0&&(Z.forEach(e=>{e.url.startsWith("blob:")&&URL.revokeObjectURL(e.url)}),X([]))},[e]),(0,p.useEffect)(()=>{if("json"!==I||Y)return;let a={prompt:A,resolution:$,size:V,n:1};K.hasOutputFormat&&(a.output_format=T),K.hasEnableWebSearch&&(a.enable_web_search=G),K.isEditModel&&Z.length>0&&(a.image_urls=Z.map(e=>e.uploadedUrl||e.url)),Q(JSON.stringify({model:e,input:a},null,2))},[I,Y,A,$,V,T,G,Z,e,K.isEditModel]),(0,p.useEffect)(()=>()=>{eb(),Z.forEach(e=>{e.url.startsWith("blob:")&&URL.revokeObjectURL(e.url)})},[Z]);let eg=async e=>{let a=async()=>{try{let a=await h.v.checkStatus(e);if(!a.data)return;el(a.data),("finished"===a.data.status||"failed"===a.data.status)&&(eb(),"finished"===a.data.status?w.oR.success("Image generated successfully!"):w.oR.error(a.data.error_message||"Image generation failed"))}catch(e){console.error("Error polling status:",e)}};await a(),em.current=setInterval(a,3e3)},ex=async()=>{let a;if(ep.busy)return;if(Z.some(e=>e.uploading))return void w.oR.error("Please wait for all images to finish uploading");if("json"===I)try{a=JSON.parse(Y)}catch{w.oR.error("Invalid JSON configuration");return}else{if(!A.trim())return void w.oR.error("Please enter a prompt");a={model:e,input:{prompt:A.trim(),resolution:$,size:V,n:1}},K.hasOutputFormat&&(a.input.output_format=T),K.hasEnableWebSearch&&(a.input.enable_web_search=G)}if(!a.input?.prompt?.trim())return void w.oR.error("Please enter a prompt");let t=(0,d.M)(a.input,[{field:"prompt",max:1e4}]);if(t)return void w.oR.error(t);if(!et)try{en(!0),ei(""),el(null),ed(null);let e=Z.filter(e=>e.uploadedUrl).map(e=>e.uploadedUrl);e.length>0&&(a.input.image_urls=e);let t=Array.isArray(a.input?.image_urls)?a.input.image_urls:[];if(K.isEditModel&&0===t.length)return void w.oR.error("At least one reference image is required for edit mode");let n=await h.v.submit(a);if(ed(n),!n.data?.task_id)throw Error("Failed to generate image");ei(n.data.task_id),w.oR.success("Image generation started!"),await eg(n.data.task_id)}catch(e){console.error(e),w.oR.error(e.message||"Failed to generate image. Please try again."),en(!1),ea(!1)}finally{en(!1),ea(!1)}};return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"container mx-auto px-3 sm:px-4 py-4 sm:py-8 max-w-7xl",children:(0,n.jsxs)("div",{className:o.m.shell,children:[(0,n.jsx)("div",{className:"space-y-3 sm:space-y-4 lg:space-y-6 h-full",children:(0,n.jsx)(b.Zp,{className:o.m.panel,children:(0,n.jsx)(b.Wu,{className:o.m.content,children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:o.m.header,children:[(0,n.jsx)("div",{className:"text-lg font-semibold",children:"Input"}),(0,n.jsxs)("div",{className:o.m.segmented,children:[(0,n.jsx)(f.$,{size:"sm",variant:"form"===I?"default":"ghost",onClick:()=>W("form"),className:"h-8",children:"Form"}),(0,n.jsx)(f.$,{size:"sm",variant:"json"===I?"default":"ghost",onClick:()=>W("json"),className:"h-8",children:"JSON"})]})]}),(()=>{if("json"===I)return(0,n.jsx)(c.L,{name:"nano-banana-2-api-json",label:"JSON Configuration",htmlFor:"nano-banana-2-api-json",children:(0,n.jsx)(x.T,{id:"nano-banana-2-api-json",value:Y,onChange:e=>Q(e.target.value),className:"min-h-[400px] font-mono text-sm",disabled:et,placeholder:JSON.stringify({model:e,input:{prompt:"Your prompt here",resolution:"1K",size:"auto",output_format:"png",enable_web_search:!1,n:1}},null,2)})});let t="nano-banana-2-api-output-format";return(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsx)(m.s,{label:O("model"),value:e,options:eh,onValueChange:a}),(0,n.jsx)(c.L,{name:"nano-banana-2-api-prompt",label:O("prompt"),htmlFor:"nano-banana-2-api-prompt",required:!0,counter:{current:A.length,max:1e4},children:(0,n.jsx)(x.T,{id:"nano-banana-2-api-prompt",placeholder:"A cinematic product image with clean typography and rich material detail...",value:A,onChange:e=>D(e.target.value),maxLength:1e4,className:"min-h-[120px] resize-y",disabled:et})}),(0,n.jsx)(c.L,{name:"nano-banana-2-api-resolution",label:O("resolution"),htmlFor:"nano-banana-2-api-resolution",children:(0,n.jsxs)(j.l6,{value:$,onValueChange:e=>B(e),children:[(0,n.jsx)(j.bq,{id:"nano-banana-2-api-resolution",children:(0,n.jsx)(j.yv,{placeholder:"Select resolution"})}),(0,n.jsxs)(j.gC,{children:[(0,n.jsx)(j.eb,{value:"1K",children:"1K"}),(0,n.jsx)(j.eb,{value:"2K",children:"2K"}),(0,n.jsx)(j.eb,{value:"4K",children:"4K"})]})]})}),(0,n.jsx)(c.L,{name:"nano-banana-2-api-size",label:O("size"),children:(0,n.jsx)("div",{className:"flex flex-wrap gap-2",children:ef.map(e=>(0,n.jsx)(f.$,{type:"button",size:"sm",variant:V===e?"default":"outline",onClick:()=>J(e),disabled:et,children:e},e))})}),(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,n.jsx)(c.L,{name:"nano-banana-2-api-count",label:"n",htmlFor:"nano-banana-2-api-count",disabled:!0,children:(0,n.jsx)(v.p,{id:"nano-banana-2-api-count",value:"1",readOnly:!0,disabled:!0,className:"bg-muted cursor-not-allowed"})}),(0,n.jsx)(c.L,{name:"nano-banana-2-api-output-format",label:"Output Format",htmlFor:t,disabled:!K.hasOutputFormat,children:K.hasOutputFormat?(0,n.jsxs)(j.l6,{value:T,onValueChange:e=>q(e),children:[(0,n.jsx)(j.bq,{id:t,children:(0,n.jsx)(j.yv,{placeholder:"Select output format"})}),(0,n.jsxs)(j.gC,{children:[(0,n.jsx)(j.eb,{value:"png",children:"png"}),(0,n.jsx)(j.eb,{value:"jpg",children:"jpg"})]})]}):(0,n.jsx)(v.p,{id:t,value:"default",readOnly:!0,disabled:!0,className:"bg-muted cursor-not-allowed"})})]}),K.hasEnableWebSearch&&(0,n.jsx)(c.L,{name:"nano-banana-2-api-web-search",label:"Enable Web Search",htmlFor:"nano-banana-2-api-web-search",description:"Pull fresh web context before generation. Useful for current products and events.",headerEnd:(0,n.jsx)(y.d,{id:"nano-banana-2-api-web-search",checked:G,onCheckedChange:H,disabled:et})}),K.isEditModel&&(0,n.jsx)(r.H,{id:"nano-banana-2-api-images",label:"Image Urls",kind:"image",value:Z,onChange:e=>X((0,i.VN)(e)),accept:R.join(","),maxBytes:0xa00000,multiple:!0,maxItems:K.maxReferenceImages,disabled:et||ep.isOtherBusy("nano-banana-2-api-images"),onBusyChange:e=>ep.onBusyChange("nano-banana-2-api-images",e),required:!0},"nano-banana-2-api-images:"+e+":"+ep.revision)]})})(),(0,n.jsx)(s.Bn,{estimatedCredits:(0,u.O5)((t=U[e]??U[E],(0,u.Pz)($,t,t["1K"]??18))),onReset:()=>
1{ep.cancelPending(),W("form"),Z.forEach(e=>{e.url.startsWith("blob:")&&URL.revokeObjectURL(e.url)}),D(L.prompt),B(L.resolution),J(L.size),q(L.outputFormat),H(L.enableWebSearch),X([]),Q("")},onRun:ex,disabled:ep.busy||!1,resetDisabled:ep.busy||ee||et,loading:ee||et,loadingText:ee?"Uploading...":et?"Submitting...":"Running..."})]})})})}),(0,n.jsx)("div",{className:"space-y-3 sm:space-y-4 h-full",children:(0,n.jsx)(b.Zp,{className:o.m.panel,children:(0,n.jsx)(b.Wu,{className:o.m.content,children:(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsxs)("div",{className:o.m.header,children:[(0,n.jsx)("div",{className:"text-lg font-semibold",children:"Output"}),(0,n.jsxs)("div",{className:o.m.segmented,children:[(0,n.jsx)(f.$,{size:"sm",variant:"preview"===P?"default":"ghost",onClick:()=>M("preview"),className:"h-8",children:"Preview"}),(0,n.jsx)(f.$,{size:"sm",variant:"json"===P?"default":"ghost",onClick:()=>M("json"),className:"h-8",children:"JSON"})]})]}),(()=>{if("json"===P)return(0,n.jsxs)("div",{className:"space-y-4",children:[(0,n.jsx)(g.J,{className:"text-sm font-medium",children:"Response Data"}),(0,n.jsx)(x.T,{value:JSON.stringify(es||eo||{},null,2),readOnly:!0,className:"min-h-[500px] font-mono text-sm bg-muted"})]});if(er&&(!es||"not_started"===es.status||"running"===es.status))return(0,n.jsx)(l.EV,{active:!!er,taskId:er});if(!es)return(0,n.jsx)("div",{className:"w-full aspect-video bg-muted/30 rounded-lg border-2 border-dashed border-muted-foreground/20 flex flex-col items-center justify-center space-y-4",children:(0,n.jsxs)("div",{className:"text-center space-y-2",children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"No data yet"}),(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:"Response data will appear here"})]})});let e=!er&&es.task_id===L.displayResult?.task_id;return(0,n.jsxs)("div",{className:"space-y-4",children:[e&&(0,n.jsx)(l.G1,{mediaLabel:"image"}),(0,n.jsx)(l.BP,{data:es}),(0,n.jsx)(l.V6,{message:es.error_message}),es.files&&es.files.length>0&&(0,n.jsx)("div",{className:"space-y-4",children:es.files.filter(e=>"image"===e.file_type).map((e,a)=>(0,n.jsxs)("div",{className:"space-y-2",children:[es.files.filter(e=>"image"===e.file_type).length>1&&(0,n.jsxs)("h4",{className:"text-sm font-medium",children:["Image ",a+1]}),(0,n.jsx)("div",{className:"relative w-full overflow-hidden rounded-lg",children:(0,n.jsx)("img",{src:e.file_url,alt:`Generated ${a+1}`,className:"w-full h-auto object-contain"})}),(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:"Image generated successfully"}),(0,n.jsx)(f.$,{variant:"outline",size:"sm",disabled:eu===a,onClick:async()=>{try{ec(a);let t=`/api/download?url=${encodeURIComponent(e.file_url)}`,n=await fetch(t);if(!n.ok)throw Error("Download failed");let r=await n.blob(),i=URL.createObjectURL(r),s=document.createElement("a");s.href=i,s.download=`image_${es.task_id}_${a}.${T}`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(i)}catch(e){console.error("Download failed:",e)}finally{ec(null)}},children:eu===a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Downloading..."]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S.A,{className:"h-4 w-4 mr-2"}),"Download"]})})]})]},a))})]})})()]})})})})]})})})}},8678:(e,a,t)=>{t.d(a,{bL:()=>w,zi:()=>N});var n=t(12115),r=t(70379),i=t(47527),s=t(68599),l=t(98979),o=t(83417),d=t(63509),u=t(99354),c=t(95155),m="Switch",[p,h]=(0,s.A)(m),[f,b]=p(m),g=n.forwardRef((e,a)=>{let{__scopeSwitch:t,name:s,checked:o,defaultChecked:d,required:p,disabled:h,value:b="on",onCheckedChange:g,form:x,...v}=e,[w,N]=n.useState(null),S=(0,i.s)(a,e=>N(e)),k=n.useRef(!1),R=!w||x||!!w.closest("form"),[E,_]=(0,l.i)({prop:o,defaultProp:d??!1,onChange:g,caller:m});return(0,c.jsxs)(f,{scope:t,checked:E,disabled:h,children:[(0,c.jsx)(u.sG.button,{type:"button",role:"switch","aria-checked":E,"aria-required":p,"data-state":y(E),"data-disabled":h?"":void 0,disabled:h,value:b,...v,ref:S,onClick:(0,r.mK)(e.onClick,e=>{_(e=>!e),R&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),R&&(0,c.jsx)(j,{control:w,bubbles:!k.current,name:s,value:b,checked:E,required:p,disabled:h,form:x,style:{transform:"translateX(-100%)"}})]})});g.displayName=m;var x="SwitchThumb",v=n.forwardRef((e,a)=>{let{__scopeSwitch:t,...n}=e,r=b(x,t);return(0,c.jsx)(u.sG.span,{"data-state":y(r.checked),"data-disabled":r.disabled?"":void 0,...n,ref:a})});v.displayName=x;var j=n.forwardRef(({__scopeSwitch:e,control:a,checked:t,bubbles:r=!0,...s},l)=>{let u=n.useRef(null),m=(0,i.s)(u,l),p=(0,o.Z)(t),h=(0,d.X)(a);return n.useEffect(()=>{let e=u.current;if(!e)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==t&&a){let n=new Event("click",{bubbles:r});a.call(e,t),e.dispatchEvent(n)}},[p,t,r]),(0,c.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...s,tabIndex:-1,ref:m,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function y(e){return e?"checked":"unchecked"}j.displayName="SwitchBubbleInput";var w=g,N=v},59838:(e,a,t)=>{t.d(a,{KI:()=>u,KW:()=>o,O5:()=>i,Pt:()=>x,Pz:()=>m,T0:()=>v,Vs:()=>h,X6:()=>s,Y3:()=>d,bi:()=>c,r2:()=>p});var n=t(66);function r(e,a=0){let t="number"==typeof e?e:"string"==typeof e&&""!==e.trim()?Number(e):NaN;return Number.isFinite(t)?t:a}function i(e){let a=Math.max(0,r(e,0));return Number.isInteger(a)?String(a):a.toFixed(2).replace(/\.?0+$/,"")}function s(e,a){return r(e,0)*r(a,0)}function l(e){return Math.round(1e6*r(e,0))}function o(e,a){return l(e)*l(a)/1e12}function d(e,a){return Math.ceil(o(e,a))}function u(e,a){return Math.ceil(r(e,0)/60)*r(a,0)}function c(e,a){return r(e,1)*r(a,0)}function m(e,a,t){return r(a[String(e??"").trim().toUpperCase()],t)}function p({width:e,height:a,duration:t,fps:n,scale:i,creditsPerOutputMegapixel:s}){let l=r(i,2),o=Math.ceil(r(t,5)*r(n,24));return r(e,1280)*r(a,720)*o*l*l/1e6*r(s,.1)}function h(e,a={}){let t=a.file;return t&&(0,n.E)(t)?Promise.resolve({width:t.width,height:t.height,duration:t.duration,fps:t.fps}):"u"<typeof document?Promise.resolve({}):new Promise(n=>{let r=document.createElement("video");r.preload="metadata",r.muted=!0,r.onloadedmetadata=async()=>{let i={width:r.videoWidth||void 0,height:r.videoHeight||void 0,duration:Number.isFinite(r.duration)?r.duration:void 0};r.removeAttribute("src"),r.load();let s=a.includeFps?await f(e,t):void 0;n({...i,fps:s})},r.onerror=()=>n({}),r.src=e})}async function f(e,a){if(a)try{return b(await a.arrayBuffer())}catch{return}if("u">typeof fetch)try{let a=await fetch(e);if(!a.ok)return;let t=Number(a.headers.get("content-length"));if(Number.isFinite(t)&&t>0x7800000)return;return b(await a.arrayBuffer())}catch{return}}function b(e){let a=new DataView(e),t=[],n=null,r=(e,i)=>{let s=e;for(;s+8<=i;){var l,o,d;let e=a.getUint32(s),u=g(a,s+4),c=8,m=e;if(1===e){if(s+16>i)break;l=a,o=s+8,m=0x100000000*l.getUint32(o)+l.getUint32(o+4),c=16}else 0===e&&(m=i-s);if(m<c||s+m>i)break;let p=s+c,h=s+m;if("trak"===u){let e=n,a={};n=a,r(p,h),t.push(a),n=e}else{(function(e,a,t,n,r){if(r){if("hdlr"===e&&t+12<=n){r.isVideo="vide"===g(a,t+8);return}if("mdhd"===e&&t+24<=n){let e=1===a.getUint8(t)?t+20:t+12;e+4<=n&&(r.timescale=a.getUint32(e));return}if("stts"===e&&t+8<=n){let e=t+4,i=a.getUint32(e);e+=4;let s=0,l=0;for(let t=0;t<i&&e+8<=n;t+=1){let t=a.getUint32(e),n=a.getUint32(e+4);s+=t,l+=t*n,e+=8}
1r.sampleCount=s,r.sampleDurationUnits=l}}})(u,a,p,h,n),("moov"===(d=u)||"mdia"===d||"minf"===d||"stbl"===d)&&r(p,h)}s=h}};for(let e of(r(0,a.byteLength),t)){if(!e.isVideo||!e.timescale||!e.sampleCount||!e.sampleDurationUnits)continue;let a=e.sampleDurationUnits/e.timescale,t=e.sampleCount/a;if(Number.isFinite(t)&&t>0)return t}}function g(e,a){return String.fromCharCode(e.getUint8(a),e.getUint8(a+1),e.getUint8(a+2),e.getUint8(a+3))}function x(e){return"u"<typeof document?Promise.resolve(void 0):new Promise(a=>{let t=document.createElement("audio");t.preload="metadata",t.onloadedmetadata=()=>{a(Number.isFinite(t.duration)?t.duration:void 0),t.src=""},t.onerror=()=>a(void 0),t.src=e})}function v(e,a){return a?.startsWith("audio/")?x(e):h(e).then(e=>e.duration)}},90466:(e,a,t)=>{t.d(a,{d:()=>l});var n=t(95155),r=t(12115),i=t(8678),s=t(91337);let l=r.forwardRef(({className:e,...a},t)=>(0,n.jsx)(i.bL,{className:(0,s.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...a,ref:t,children:(0,n.jsx)(i.zi,{className:(0,s.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));l.displayName=i.bL.displayName}}]);

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.