PageSourceSearch

https://www.opencanvas.ai/_next/static/chunks/3690.554e597eb35cec08.js

js opencanvas.ai collected 2026-10-05 15:44:12 UTC 36,199 bytes, 16 lines download raw bytes

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]="b4a7d9e4-d2a3-489c-b6de-b8694e779306",e._sentryDebugIdIdentifier="sentry-dbid-b4a7d9e4-d2a3-489c-b6de-b8694e779306")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3690,6323],{73690:function(e,t,o){o.r(t);var l=o(57437),s=o(15388),n=o(2265),r=o(38968),a=o(61326),i=o(37164),d=o(54741),u=o(28560),c=o(13380),p=o(71907),x=o(96278),f=o(35451),m=o(19023),v=o(34602),h=o(7750),g=o(54431),b=o(53724),y=o(36963),j=o(22068),C=o(92354),w=o(86346),N=o(37440),k=o(32588);let S=[{value:"text",label:"Text-Guided"},{value:"video",label:"Video-Guided"}],E=[{value:"fast",label:"Fast"},{value:"balanced",label:"Balanced"},{value:"quality",label:"Quality"}],Z=[{value:"wav",label:"WAV"},{value:"mp3",label:"MP3"}];function F(e){var t,o,F,M,I,L,T,D,A,z,R,P,B,V,G,U,_,H,W,X,q,O,J,K;let{id:Q,data:Y}=e,$=(0,c.b)(),{user:ee}=(0,p.a)(),[et,eo]=(0,n.useState)((null===(t=Y.inputs)||void 0===t?void 0:t.mode)||"text"),[el,es]=(0,n.useState)((null===(o=Y.inputs)||void 0===o?void 0:o.audioUrl)||null),[en,er]=(0,n.useState)((null===(F=Y.inputs)||void 0===F?void 0:F.videoUrl)||null),[ea,ei]=(0,n.useState)((null===(M=Y.inputs)||void 0===M?void 0:M.prompt)||""),[ed,eu]=(0,n.use
1State)((null===(I=Y.inputs)||void 0===I?void 0:I.acceleration)||"balanced"),[ec,ep]=(0,n.useState)((null===(L=Y.inputs)||void 0===L?void 0:L.outputFormat)||"wav"),[ex,ef]=(0,n.useState)((null===(T=Y.inputs)||void 0===T?void 0:T.rerankingCandidates)||1),[em,ev]=(0,n.useState)((null===(D=Y.outputs)||void 0===D?void 0:D.target)||null),[eh,eg]=(0,n.useState)((null===(A=Y.outputs)||void 0===A?void 0:A.residual)||null),[eb,ey]=(0,n.useState)(null),[ej,eC]=(0,n.useState)(!1),[ew,eN]=(0,n.useState)(!1),ek=(0,d.IZ)(e=>e.updateNodeData),eS=(0,d.IZ)(e=>e.currentWorkflowId),eE=(0,d.IZ)(e=>e.toggleNodeCollapse),eZ=null!==(K=Y.isCollapsed)&&void 0!==K&&K,eF="complete"===Y.status&&!!(null===(z=Y.outputs)||void 0===z?void 0:z.target),eM=(0,n.useCallback)(()=>eE(Q),[eE,Q]);(0,n.useEffect)(()=>{var e,t,o,l,s,n;let r=null===(t=Y.inputValues)||void 0===t?void 0:null===(e=t.audio)||void 0===e?void 0:e.value;r&&"string"==typeof r&&es(r);let a=null===(l=Y.inputValues)||void 0===l?void 0:null===(o=l.video)||void 0===o?void 0:o.value;a&&"string"==typeof a&&er(a);let i=null===(n=Y.inputValues)||void 0===n?void 0:null===(s=n.prompt)||void 0===s?void 0:s.value;i&&"string"==typeof i&&ei(i)},[Y.inputValues]),(0,n.useEffect)(()=>{var e,t;(null===(e=Y.outputs)||void 0===e?void 0:e.target)&&ev(Y.outputs.target),(null===(t=Y.outputs)||void 0===t?void 0:t.residual)&&eg(Y.outputs.residual)},[null===(R=Y.outputs)||void 0===R?void 0:R.target,null===(P=Y.outputs)||void 0===P?void 0:P.residual]);let eI=(0,n.useMemo)(()=>"text"===et?!!el&&!!ea.trim():!!en,[et,el,en,ea]),eL=(0,n.useCallback)(async e=>{eC(!0);let t=0,o=async()=>{try{let l=await fetch("/api/generate/sam-audio",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"check_status",requestId:e,mode:et,workflowId:eS,nodeId:Q,userId:null==ee?void 0:ee.id})});if(!l.ok)throw Error("Status check failed");let n=await l.json();if(s.Z.log("Sam Audio polling attempt ".concat(t,":"),n),n.done&&n.target){let e=l.headers.get("X-Credits-Remaining-Total"),t=l.headers.get("X-Credits-Used-Total");l.headers.get("X-Credits-Limit");let o=l.headers.get("X-Credits-Deducted");null!==e&&null!==t&&(u.useCreditStore.getState().updateBalanceAfterGeneration(parseInt(e,10),parseInt(t,10)),s.Z.log("[Sam Audio] Credits updated in UI:",{deducted:o,remaining:e,used:t})),ev(n.target),eg(n.residual||null);let r={target:{portId:"target",value:n.target.url,type:"audio"}};n.residual&&(r.residual={portId:"residual",value:n.residual.url,type:"audio"}),ek(Q,{status:"complete",outputs:{target:n.target,residual:n.residual,metadata:n.metadata},outputValues:r}),eC(!1),ey(null)}else if(n.error){s.Z.error("Sam Audio generation error:",n);let e=n.details||n.error;throw Error(e)}else if(t<60)t++,setTimeout(o,1e4);else throw Error("Audio separation timed out")}catch(e){eC(!1),ey(null),ek(Q,{status:"error",error:e instanceof Error?e.message:"Unknown error"})}};o()},[et,eS,Q,ek,null==ee?void 0:ee.id]),eT=(0,n.useCallback)(async()=>{var e,t,o,l,n,r;let a=(null===(t=Y.inputValues)||void 0===t?void 0:null===(e=t.audio)||void 0===e?void 0:e.value)||el,i=(null===(l=Y.inputValues)||void 0===l?void 0:null===(o=l.video)||void 0===o?void 0:o.value)||en,d=(null===(r=Y.inputValues)||void 0===r?void 0:null===(n=r.prompt)||void 0===n?void 0:n.value)||ea;if("text"===et&&(!a||!d)){ek(Q,{status:"error",error:"Please connect an audio file and enter a text prompt for text-guided mode"});return}if("video"===et&&!i){ek(Q,{status:"error",error:"Please connect a video file for video-guided mode"});return}ek(Q,{status:"processing",inputs:{mode:et,audioUrl:a,videoUrl:i,prompt:d,acceleration:ed,outputFormat:ec,rerankingCandidates:ex}});try{s.Z.log("Sending to Sam Audio API:",{mode:et,hasAudio:!!a,hasVideo:!!i,prompt:null==d?void 0:d.substring(0,100),acceleration:ed,outputFormat:ec,rerankingCandidates:ex});let e=await $("/api/generate/sam-audio",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"create",mode:et,audioUrl:a,videoUrl:i,prompt:d,acceleration:ed,outputFormat:ec,rerankingCandidates:ex,workflowId:eS,nodeId:Q})});if(!e.ok){let t=await e.json();throw s.Z.error("Sam Audio API request failed:",t),Error(t.details||t.error||"Audio separation failed")}let t=await e.json();if(s.Z.log("Sam Audio API initial response:",t),t.requestId)ey(t.requestId),eL(t.requestId);else throw Error("No request ID received from API")}catch(e){ek(Q,{status:"error",error:e instanceof Error?e.message:"Unknown error"})}},[et,el,en,ea,ed,ec,ex,Y.inputValues,ek,Q,eS,eL,$]);(0,n.useEffect)(()=>{let e=e=>
1{e.detail.nodeId===Q&&eT()};return window.addEventListener("generate-node",e),()=>window.removeEventListener("generate-node",e)},[Q,eT]);let eD=async(e,t)=>{try{if(e.startsWith("data:")||e.startsWith("blob:")){let o=document.createElement("a");o.href=e,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o)}else{let o=await fetch(e),l=await o.blob(),s=URL.createObjectURL(l),n=document.createElement("a");n.href=s,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),setTimeout(()=>URL.revokeObjectURL(s),100)}}catch(t){s.Z.error("Download failed:",t),window.open(e,"_blank")}};return(0,l.jsx)(m.Z,{status:Y.status||(ej?"processing":"idle"),variant:"border",hideBorderAnimation:!0,children:(0,l.jsxs)("div",{className:(0,N.cn)("node-container w-[320px] max-w-[400px]",eZ&&"node-collapsed"),"data-node-id":Q,children:[(0,l.jsx)(v.Z,{label:Y.label,onLabelChange:e=>ek(Q,{label:e}),icon:k.Z,canCollapse:eF,isCollapsed:eZ,onToggleCollapse:eM}),eZ&&(0,l.jsx)(w.Z,{nodeType:"sam-audio",outputs:Y.outputs||{},outputValues:Y.outputValues}),!eZ&&(0,l.jsxs)("div",{className:"node-content",children:[(0,l.jsx)(y.Z,{label:"Mode",value:et,options:S,onChange:e=>{eo(e),ek(Q,{inputs:{...Y.inputs,mode:e}})}}),"text"===et&&(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:"Audio Input"}),el?(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)(j.h,{audioUrl:el,className:"w-full"})}):(0,l.jsx)("div",{className:"relative flex flex-col items-center justify-center gap-3.5 p-4 isolate h-[80px] bg-[#171821] border border-white/[0.04] rounded-[20px] shadow-[inset_0_0.63px_0_rgba(255,255,255,0.08)] overflow-hidden",children:(0,l.jsx)("p",{className:"text-center font-medium text-[#636470] tracking-[0.5px]",style:{fontSize:"10px",lineHeight:"13px"},children:"Connect an audio file"})})]}),"video"===et&&(0,l.jsxs)("div",{className:"space-y-1",children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:"Video Input"}),en?(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("video",{src:en,className:"w-full h-[118px] object-contain rounded-[20px] bg-[#14141a]",muted:!0,playsInline:!0})}):(0,l.jsx)("div",{className:"relative flex flex-col items-center justify-center gap-3.5 p-4 isolate h-[80px] bg-[#171821] border border-white/[0.04] rounded-[20px] shadow-[inset_0_0.63px_0_rgba(255,255,255,0.08)] overflow-hidden",children:(0,l.jsx)("p",{className:"text-center font-medium text-[#636470] tracking-[0.5px]",style:{fontSize:"10px",lineHeight:"13px"},children:"Connect a video file"})})]}),(0,l.jsx)(C.Z,{value:ea,onChange:e=>{ei(e),ek(Q,{inputs:{...Y.inputs,prompt:e}})},placeholder:"text"===et?'Describe the sound to isolate... (e.g., "vocals", "piano", "drums")':"Optional: Describe sound to isolate...",className:"node-input nodrag",rows:2,label:"text"===et?"Sound Description (required)":"Sound Description (optional)"}),(0,l.jsxs)("button",{onClick:()=>eN(!ew),className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors mb-2",children:[(0,l.jsx)(a.Z,{className:"w-3 h-3"}),"Settings"]}),ew&&(0,l.jsxs)("div",{className:"settings space-y-3",children:[(0,l.jsx)(y.Z,{label:"Quality / Speed",value:ed,options:E,onChange:e=>{eu(e),ek(Q,{inputs:{...Y.inputs,acceleration:e}})}}),(0,l.jsx)(y.Z,{label:"Output Format",value:ec,options:Z,onChange:e=>{ep(e),ek(Q,{inputs:{...Y.inputs,outputFormat:e}})}}),(0,l.jsxs)("div",{children:[(0,l.jsx)(b.Z,{label:"Reranking Candidates (".concat(ex,")"),value:ex,onChange:e=>{ef(e),ek(Q,{inputs:{...Y.inputs,rerankingCandidates:e}})},min:1,max:5,step:1,disabled:ej}),(0,l.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Higher values improve quality but increase latency"})]})]}),(0,l.jsx)(h.Z,{onClick:eT,disabled:ej||!eI,isProcessing:"processing"===Y.status,label:"Separate Audio",className:"w-full",isAudioNode:!0}),(0,l.jsx)(g.Z,{isVisible:"processing"===Y.status||ej,size:200,message:"Separating audio...",className:"mt-4 w-full"}),em&&(0,l.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"Isolated Audio (Target):"}),(0,l.jsx)("button",{onClick:()=>eD(em.url,em.fileName),className:"p-1 text-muted-foreground hover:text-foreground transition-colors",title:"Download",children:(0,l.jsx)(i.Z,{className:"w-4 h-4"})})]}),(0,l.jsx)("div",{className:"node-output-media rounded-xl overflow-hidden",children:(0,l.jsx)(j.h,{audioUrl:em.url,className:"w-full"})})]}),eh&&(0,l.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:"Residual Audio:"}),(0,l.jsx)("button",{onClick:()=>eD(eh.url,eh.fileName),className:"p-1 text-muted-foreground hover:text-foreground transition-colors",title:"Download",children:(0,l.jsx)(i.Z,{className:"w-4 h-4"})})]}),(0,l.jsx)("div",{className:"node-output-media rounded-xl overflow-hidden",children:(0,l.jsx)(j.h,{audioUrl:eh.url,className:"w-full"})})]}),(0,l.jsx)(f.Z,{error:Y.error,onRetry:eT,onDismiss:()=>ek(Q,{error:void 0})})]}),"text"===et&&(null===(B=Y.ports)||void 0===B?void 0:B.inputs.find(e=>"audio"===e.id))&&(!eZ||(null===(V=Y.inputValues)||void 0===V?void 0:V.audio))&&(0,l.jsx)(x.Z,{port:Y.ports.inputs.find(e=>"audio"===e.id),type:"target",position:r.Ly.Left,isConnected:!!(null===(G=Y.inputValues)||void 0===G?void 0:G.audio),style:{to
1p:"25%",position:"absolute"}},"audio"),"video"===et&&(null===(U=Y.ports)||void 0===U?void 0:U.inputs.find(e=>"video"===e.id))&&(!eZ||(null===(_=Y.inputValues)||void 0===_?void 0:_.video))&&(0,l.jsx)(x.Z,{port:Y.ports.inputs.find(e=>"video"===e.id),type:"target",position:r.Ly.Left,isConnected:!!(null===(H=Y.inputValues)||void 0===H?void 0:H.video),style:{top:"25%",position:"absolute"}},"video"),(null===(W=Y.ports)||void 0===W?void 0:W.inputs.find(e=>"prompt"===e.id))&&(!eZ||(null===(X=Y.inputValues)||void 0===X?void 0:X.prompt))&&(0,l.jsx)(x.Z,{port:Y.ports.inputs.find(e=>"prompt"===e.id),type:"target",position:r.Ly.Left,isConnected:!!(null===(q=Y.inputValues)||void 0===q?void 0:q.prompt),style:{top:-15,position:"absolute"}},"prompt"),(null===(O=Y.ports)||void 0===O?void 0:O.outputs.find(e=>"target"===e.id))&&(0,l.jsx)(x.Z,{port:Y.ports.outputs.find(e=>"target"===e.id),type:"source",position:r.Ly.Right,isConnected:!1,style:{top:-15,position:"absolute"}},"target"),(null===(J=Y.ports)||void 0===J?void 0:J.outputs.find(e=>"residual"===e.id))&&(0,l.jsx)(x.Z,{port:Y.ports.outputs.find(e=>"residual"===e.id),type:"source",position:r.Ly.Right,isConnected:!1,style:{top:"65%",position:"absolute"}},"residual")]})})}F.displayName="SamAudioNode",t.default=(0,n.memo)(F)},22068:function(e,t,o){o.d(t,{h:function(){return d}});var l=o(57437),s=o(2265),n=o(58546),r=o(24841),a=o(98094),i=o(37440);let d=e=>{let{audioUrl:t,className:o="",height:d=60,showControls:u=!0,showTime:c=!0,autoPlay:p=!1,waveColor:x,progressColor:f,barWidth:m=2,barGap:v=1,barRadius:h=2,onPlay:g,onPause:b,onFinish:y,onTimeUpdate:j,onReady:C,controlsPosition:w="left",containerClassName:N="",buttonClassName:k=""}=e,S=(0,s.useRef)(null),E=(0,s.useRef)(null),Z=(0,s.useRef)(null),[F,M]=(0,s.useState)(!1),[I,L]=(0,s.useState)("0:00"),[T,D]=(0,s.use
1State)("0:00"),[A,z]=(0,s.useState)(!0),[R,P]=(0,s.useState)(!1),B=e=>{let t="0".concat(Math.round(e)%60).slice(-2);return"".concat(Math.floor(e/60),":").concat(t)};return(0,s.useEffect)(()=>{let e=S.current;if(!e||!t)return;P(!1),z(!0);let o=!1,l=null;if(E.current){try{var s,r;(null===(s=(r=E.current).isPlaying)||void 0===s?void 0:s.call(r))&&E.current.pause(),E.current.unAll()}catch(e){console.warn("Error during WaveSurfer cleanup:",e)}E.current=null}e.innerHTML="";let a=setTimeout(()=>{if(o||!e)return;let s=document.createElement("canvas").getContext("2d");if(!s)return;let r=x,a=f;if(!r){let e=s.createLinearGradient(0,0,0,100);e.addColorStop(0,"#9a9b9b"),e.addColorStop(1,"#656666"),r=e}if(!a){let e=s.createLinearGradient(0,0,0,100);e.addColorStop(0,"#FF8940"),e.addColorStop(1,"#EE772F"),a=e}try{l=n.Z.create({container:e,waveColor:r,progressColor:a,cursorColor:"transparent",barWidth:m,barGap:v,barRadius:h,height:d,normalize:!0,backend:"MediaElement",interact:!0}),E.current=l,!o&&t&&l.load(t).catch(e=>{console.error("Error loading audio in WaveSurfer:",e),z(!1),P(!0)}),l.on("ready",()=>{if(!o){z(!1),P(!1);let e=l.getDuration();D(B(e)),null==C||C(e),p&&l.play()}}),l.on("play",()=>{o||(M(!0),null==g||g())}),l.on("pause",()=>{o||(M(!1),null==b||b())}),l.on("finish",()=>{o||(M(!1),null==y||y())}),l.on("timeupdate",e=>{if(!o){L(B(e));let t=l.getDuration();null==j||j(e,t)}}),l.on("decode",e=>{o||D(B(e))}),E.current=l}catch(e){console.error("Error creating WaveSurfer instance:",e),z(!1),P(!0)}},50);return()=>{if(o=!0,clearTimeout(a),E.current=null,l)try{var t;(null===(t=l.isPlaying)||void 0===t?void 0:t.call(l))&&l.pause(),l.unAll(),l.destroy()}catch(e){console.warn("Error during WaveSurfer cleanup:",e)}setTimeout(()=>{e&&(e.innerHTML="")},0)}},[t,d,m,v,h,p,g,b,y,j,C,x,f]),(0,l.jsxs)("div",{className:(0,i.cn)("flex items-center gap-2 bg-muted/50 rounded-md p-2",N,o),children:[u&&(0,l.jsx)("button",{onClick:()=>{if(R&&Z.current)F?Z.current.pause():Z.current.play();else if(E.current)try{E.current.playPause()}catch(e){console.warn("Error controlling playback:",e)}},disabled:A,className:(0,i.cn)("p-1.5 bg-primary/10 hover:bg-primary/20 rounded transition-colors disabled:opacity-50",k,"center"===w&&"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-10"),"aria-label":F?"Pause":"Play",children:F?(0,l.jsx)(r.Z,{className:"w-4 h-4"}):(0,l.jsx)(a.Z,{className:"w-4 h-4"})}),(0,l.jsxs)("div",{className:(0,i.cn)("flex-1 relative",u&&"center"!==w?"":"w-full"),children:[R?(0,l.jsx)("div",{className:"w-full flex items-center",style:{height:"".concat(d,"px")},children:(0,l.jsxs)("div",{className:"flex-1 bg-muted rounded-md h-8 relative overflow-hidden cursor-pointer",onClick:e=>{if(!Z.current)return;let t=e.currentTarget.getBoundingClientRect(),o=(e.clientX-t.left)/t.width*(Z.current.duration||0);Z.current.currentTime=o},children:[(0,l.jsx)("div",{className:"absolute inset-y-0 left-0 bg-gradient-to-r from-orange-500 to-orange-400 transition-all duration-200",style:{width:Z.current?"".concat(Z.current.currentTime/Z.current.duration*100,"%"):"0%"}}),(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center gap-[2px] px-2",children:Array.from({length:40}).map((e,t)=>(0,l.jsx)("div",{className:"flex-shrink-0 w-[2px] bg-gray-400 rounded-full opacity-60",style:{height:"".concat(20+20*Math.random(),"px")}},t))})]})}):(0,l.jsx)("div",{ref:S,className:"w-full cursor-pointer",style:{minHeight:"".concat(d,"px")}}),A&&!R&&(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-background/50",children:(0,l.jsx)("div",{className:"text-xs text-muted-foreground",children:"Loading waveform..."})}),c&&(0,l.jsx)("div",{className:"absolute right-2 top-1/2 text-[10px] bg-black/75 text-white px-1 py-0.5 rounded pointer-events-none",style:{transform:"translateY(-50%)"},children:T})]}),(0,l.jsx)("audio",{ref:Z,src:t,crossOrigin:"anonymous",onPlay:()=>M(!0),onPause:()=>M(!1),onTimeUpdate:()=>{Z.current&&L(B(Z.current.currentTime))},onLoadedMetadata:()=>{Z.current&&(D(B(Z.current.duration)),z(!1))},className:"hidden"})]})}},35451:function(e,t,o){var l=o(57437),s=o(2265),n=o(132);t.Z=(0,s.memo)(function(e){let{error:t,onRetry:o,canRetry:s=!0,onDismiss:r,autoHideDuration:a,position:i="bottom",inline:d=!0}=e;if(!t)return null;let u="string"==typeof t?t:t.message||"An error occurred",c="string"==typeof t?"error":"warning"===t.severity?"warning":"error";return(0,l.jsx)(n.Z,{type:c,message:u,onClose:r,autoHideDuration:a,position:i,isOpen:!!t,inline:d})})},92354:function(e,t,o){var l=o(57437),s=o(2265),n=o(54887),r=o(34446),a=o(21513),i=o(71106),d=o(74697);t.Z=(0,s.memo)(function(e){let{value:t,onChange:o,placeholder:u="",rows:c=5,className:p="",disabled:x=!1,label:f="Edit Prompt",maxLength:m,onKeyDown:v}
1=e,[h,g]=(0,s.useState)(!1),[b,y]=(0,s.useState)(!1),[j,C]=(0,s.useState)(!1),[w,N]=(0,s.useState)(t),k=(0,s.useRef)(null);(0,s.useEffect)(()=>{C(!0)},[]),(0,s.useEffect)(()=>{N(e=>e===t?e:t)},[t]);let S=(0,s.useCallback)(e=>{let t=m?e.slice(0,m):e;N(t),o(t)},[o,m]),E=(0,s.useCallback)(()=>{x||g(!0)},[x]),Z=(0,s.useCallback)(()=>{g(!1)},[]);(0,s.useEffect)(()=>{if(h&&k.current){k.current.focus();let e=k.current.value.length;k.current.setSelectionRange(e,e)}},[h]),(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&h&&Z()};return h&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[h,Z]);let F=(0,s.useCallback)(()=>{setTimeout(()=>y(!1),150)},[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("textarea",{value:w,onChange:e=>S(e.target.value),onFocus:()=>y(!0),onBlur:F,onKeyDown:v,placeholder:u,rows:c,className:p,disabled:x,maxLength:m}),!x&&(0,l.jsx)("button",{type:"button",onClick:E,className:"\n              absolute bottom-2 right-2 p-1.5 rounded-lg\n              bg-[#2B2C37]/80 hover:bg-[#3B3C47]\n              border border-white/5\n              transition-all duration-200\n              ".concat(b?"opacity-70 hover:opacity-100":"opacity-0 pointer-events-none","\n            "),title:"Expand editor",tabIndex:-1,children:(0,l.jsx)(i.Z,{className:"w-3.5 h-3.5 text-muted-foreground"})})]}),j&&(0,n.createPortal)((0,l.jsx)(r.M,{children:h&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-[100]",onClick:Z},"backdrop"),(0,l.jsx)(a.E.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},className:"fixed inset-0 flex items-center justify-center z-[101] p-4",onClick:Z,children:(0,l.jsxs)("div",{className:"w-[600px] max-w-[90vw] rounded-2xl shadow-xl flex flex-col border border-white/[0.04]",style:{background:"#21222D"},onClick:e=>e.stopPropagation(),children:[(0,l.jsxs)("div",{className:"flex items-center justify-between px-5 py-4 border-b border-white/[0.06]",children:[(0,l.jsx)("h3",{className:"text-base font-medium text-foreground",children:f}),(0,l.jsx)("button",{onClick:Z,className:"p-2 hover:bg-white/5 rounded-lg transition-colors",title:"Close (Esc)",children:(0,l.jsx)(d.Z,{className:"w-4 h-4 text-muted-foreground hover:text-foreground"})})]}),(0,l.jsxs)("div",{className:"p-4",children:[(0,l.jsx)("textarea",{ref:k,value:w,onChange:e=>S(e.target.value),onKeyDown:v,placeholder:u,maxLength:m,className:"w-full h-[400px] p-4 resize-none focus:outline-none rounded-xl text-sm text-foreground placeholder:text-muted-foreground",style:{backgroundColor:"rgba(236, 230, 240, 0.05)",border:"none"}}),m&&(0,l.jsxs)("div",{className:"mt-2 text-xs text-muted-foreground text-right",children:[w.length," / ",m]})]})]})},"modal")]})}),document.body)]})})},36963:function(e,t,o){o.d(t,{Z:function(){return a}});var l=o(57437),s=o(2265),n=o(42421),r=o(37440);function a(e){let{value:t,options:o,onChange:a,placeholder:i="Select an option",disabled:d=!1,className:u,buttonClassName:c,menuClassName:p,optionClassName:x,label:f,showInfo:m=!1,onInfoClick:v,infoIcon:h,ariaLabel:g}=e,[b,y]=(0,s.useState)(!1),j=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{j.current&&!j.current.contains(e.target)&&y(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let C=o.find(e=>e.value===t),w=(null==C?void 0:C.label)||i,N=e=>{a(e),y(!1)};return(0,l.jsxs)("div",{className:(0,r.cn)("relative",u),ref:j,children:[f&&(0,l.jsxs)("div",{className:"flex items-center justify-between mb-1",style:{gap:"0px",height:"16px",paddingTop:"10px",paddingBottom:"10px"},children:[(0,l.jsx)("label",{className:"text-xs text-muted-foreground",children:f}),m&&v&&(0,l.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),v()},className:"text-muted-foreground hover:text-foreground transition-colors",children:h||(0,l.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,l.jsx)("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),(0,l.jsx)("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]})})]}),(0,l.jsxs)("button",{type:"button","aria-label":g,onClick:()=>!d&&y(!b),disabled:d,className:(0,r.cn)("w-full px-3 py-2 text-left hover:bg-muted/50 transition-colors flex items-center justify-between nodrag",c),style:{backgroundColor:"rgba(236, 230, 240, 0.05)",borderRadius:"12px",opacity:d?.5:1,cursor:d?"not-allowed":"pointer",border:"none"},children:[(0,l.jsx)("span",{className:"text-sm truncate",style:{color:"rgba(224, 224, 224, 1)"},children:w}),(0,l.jsx)(n.Z,{className:(0,r.cn)("w-4 h-4 transition-transform",b&&"rotate-180"),style:{color:"#636470"}})]}),b&&!d&&(0,l.jsx)("div",{className:(0,r.cn)("absolute top-full left-0 right-0 mt-2 rounded-2xl shadow-lg z-50 max-h-60 overflow-y-auto nodrag nowheel scrollbar-thin scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent",p),style:{backgroundColor:"#21222D",border:"none"},onWheel:e=>{e.stopPropagation()},children:o.map(e=>(0,l.jsx)("button",{onClick:()=>!e.disabled&&N(e.value),disabled:e.disabled,className:(0,r.cn)("w-full px-3 py-2 text-left text-sm transition-colors",e.disabled&&"opacity-50 cursor-not-allowed",x),style:{backgroundColor:e.value===t?"#2B2C37":"transparent"},onMouseEnter:t=>{e.disabled||(t.currentTarget.style.backgroundColor="#2B2C37")},onMouseLeave:o=>{e.disabled||(o.currentTarget.style.backgroundColor=e.value===t?"#2B2C37":"transparent")},children:e.label},e.value))})]})}},53724:function(e,t,o){var l=o(57437),s=o(2265),n=o(77813),r=o(37440);let a=(0,s.memo)(function(e){let{label:t,value:o,min:a,max:i,step:d=1,onChange:u,disabled:c=!1,showValue:p=!0,suffix:x="",description:f,primaryColor:m="#2589FF",immediate:v=!1,className:h,valueDisplay:g="number",customValueFormatter:b,marks:y}
1=e,[j,C]=(0,s.useState)(o),[w,N]=(0,s.useState)(!1),k=(0,s.useRef)(null);(0,s.useEffect)(()=>{C(o)},[o]);let S=(0,n.N)(u,300),E=(0,s.useMemo)(()=>(j-a)/(i-a)*100,[j,a,i]),Z=(0,s.useCallback)(e=>{if(b)return b(e);if("percentage"===g)return"".concat(Math.round(E),"%");let t=Number.isInteger(e)?e:e.toFixed(1);return"".concat(t).concat(x)},[b,g,E,x]),F=(0,s.useCallback)(e=>{if(!k.current||c)return;let t=k.current.getBoundingClientRect(),o=(e-t.left)/t.width*100,l=(o=Math.max(0,Math.min(100,o)))/100*(i-a)+a;d&&(l=Math.round(l/d)*d),C(l=Math.max(a,Math.min(i,l))),v?u(l):S(l)},[a,i,d,u,S,v,c]),M=(0,s.useCallback)(e=>{c||(e.preventDefault(),e.stopPropagation(),N(!0),F(e.clientX))},[F,c]),I=(0,s.useCallback)(e=>{w&&(e.preventDefault(),F(e.clientX))},[w,F]),L=(0,s.useCallback)(()=>{N(!1)},[]);(0,s.useEffect)(()=>{if(w)return document.addEventListener("mousemove",I),document.addEventListener("mouseup",L),document.body.style.userSelect="none",document.body.style.cursor="grabbing",()=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",L),document.body.style.userSelect="",document.body.style.cursor=""}},[w,I,L]);let T=(0,s.useCallback)(e=>{if(c)return;e.preventDefault(),e.stopPropagation();let t=e.touches[0];N(!0),F(t.clientX)},[F,c]),D=(0,s.useCallback)(e=>{w&&!c&&(e.preventDefault(),F(e.touches[0].clientX))},[w,F,c]),A=(0,s.useCallback)(()=>{N(!1)},[]),z=(0,s.useCallback)(e=>{let t=parseFloat(e.target.value);C(t),v?u(t):S(t)},[u,S,v]);return(0,l.jsxs)("div",{className:(0,r.cn)("space-y-2",h),children:[(t||p)&&(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[t&&(0,l.jsx)("label",{className:"text-xs text-muted-foreground",children:t}),p&&(0,l.jsx)("span",{className:"text-xs font-medium text-foreground",children:Z(j)})]}),(0,l.jsx)("div",{className:"relative",style:{height:"31px",display:"flex",alignItems:"center"},children:(0,l.jsxs)("div",{ref:k,className:(0,r.cn)("relative flex items-center nodrag",c&&"opacity-50 cursor-not-allowed"),style:{height:"24px",flex:"1 0 0",borderRadius:"2px 12px 12px 2px",background:"#2B2C37",cursor:c?"not-allowed":w?"grabbing":"grab"},onMouseDown:M,onTouchStart:T,onTouchMove:D,onTouchEnd:A,children:[(0,l.jsx)("div",{style:{position:"absolute",left:0,top:0,height:"24px",width:"".concat(E,"%"),borderRadius:"12px 2px 2px 12px",background:m,pointerEvents:"none",transition:w?"none":"width 0.1s ease-out"}}),(0,l.jsx)("div",{style:{position:"absolute",left:"".concat(E,"%"),transform:"translateX(-5.5px)",width:"11px",height:"31px",top:"50%",marginTop:"-15.5px",borderRadius:"12px",background:"#FFF",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.25)",pointerEvents:"none",transition:w?"none":"left 0.1s ease-out"}})]})}),f&&(0,l.jsxs)("div",{className:"flex justify-between text-[10px] text-muted-foreground",children:[(0,l.jsx)("span",{children:f.split("|")[0]}),f.includes("|")&&(0,l.jsx)("span",{children:f.split("|")[1]})]}),y&&(0,l.jsx)("div",{className:"relative",style:{marginTop:"4px"},children:y.map(e=>{let t=(e.value-a)/(i-a)*100;return(0,l.jsx)("div",{className:"absolute text-[10px] text-muted-foreground",style:{left:"".concat(t,"%"),transform:"translateX(-50%)"},children:e.label},e.value)})}),(0,l.jsx)("input",{type:"range",min:a,max:i,step:d,value:j,onChange:z,disabled:c,className:"sr-only","aria-label":t})]})});t.Z=a},32588:function(e,t,o){var l=o(57437);o(2265),t.Z=e=>{let{className:t="w-4 h-4"}=e;return(0,l.jsxs)("svg",{className:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0,lineHeight:1},children:[(0,l.jsx)("title",{children:"Meta"}),(0,l.jsx)("path",{d:"M6.897 4h-.024l-.031 2.615h.022c1.715 0 3.046 1.357 5.94 6.246l.175.297.012.02 1.62-2.438-.012-.019a48.763 48.763 0 00-1.098-1.716 28.01 28.01 0 00-1.175-1.629C10.413 4.932 8.812 4 6.896 4z",fill:"url(#lobe-icons-meta-fill-0)"}),(0,l.jsx)("path",{d:"M6.873 4C4.95 4.01 3.247 5.258 2.02 7.17a4.352 4.352 0 00-.01.017l2.254 1.231.011-.017c.718-1.083 1.61-1.774 2.568-1.785h.021L6.896 4h-.023z",fill:"url(#lobe-icons-meta-fill-1)"}),(0,l.jsx)("path",{d:"M2.019 7.17l-.011.017C1.2 8.447.598 9.995.274 11.664l-.005.022 2.534.6.004-.022c.27-1.467.786-2.828 1.456-3.845l.011-.017L2.02 7.17z",fill:"url(#lobe-icons-meta-fill-2)"}),(0,l.jsx)("path",{d:"M2.807 12.264l-2.533-.6-.005.022c-.177.918-.267 1.851-.269 2.786v.023l2.598.233v-.023a12.591 12.591 0 01.21-2.44z",fill:"url(#lobe-icons-meta-fill-3)"}),(0,l.jsx)("path",{d:"M2.677 15.537a5.462 5.462 0 01-.079-.813v-.022L0 14.468v.024a8.89 8.89 0 00.146 1.652l2.535-.585a4.106 4.106 0 01-.004-.022z",fill:"url(#lobe-icons-meta-fill-4)"}),(0,l.jsx)("path",{d:"M3.27 16.89c-.284-.31-.484-.756-.589-1.328l-.004-.021-2.535.585.004.021c.192 1.01.568 1.85 1.106 2.487l.014.017 2.018-1.745a2.106 2.106 0 01-.015-.016z",fill:"url(#lobe-icons-meta-fill-5)"}),(0,l.jsx)("path",{d:"M10.78 9.654c-1.528 2.35-2.454 3.825-2.454 3.825-2.035 3.2-2.739 3.917-3.871 3.917a1.545 1.545 0 01-1.186-.508l-2.017 1.744.014.017C2.01 19.518 3.058 20 4.356 20c1.963 0 3.374-.928 5.884-5.33l1.766-3.13a41.283 41.283 0 00-1.227-1.886z",fill:"#0082FB"}),(0,l.jsx)("path",{d:"M13.502 5.946l-.016.016c-.4.43-.786.908-1.16 1.416.378.483.768 1.024 1.175 1.63.48-.743.928-1.345 1.367-1.807l.016-.016-1.382-1.24z",fill:"url(#lobe-icons-meta-fill-6)"}),(0,l.jsx)("path",{d:"M20.918 5.713C19.853 4.633 18.583 4 17.225 4c-1.432 0-2.637.787-3.723 1.944l-.016.016 1.382 1.24.016-.017c.715-.747 1.408-1.12 2.176-1.12.826 0 1.6.39 2.27 1.075l.015.016 1.589-1.425-.016-.016z",fill:"#0082FB"}),(0,l.jsx)("path",{d:"M23.998 14.125c-.06-3.467-1.27-6.566-3.064-8.396l-.016-.016-1.588 1.424.015.016c1.35 1.392 2.277 3.98 2.361 6.971v.023h2.292v-.022z",fill:"url(#lobe-icons-meta-fill-7)"}),(0,l.jsx)("path",{d:"M23.998 14.15v-.023h-2.292v.022c.004.14.006.282.006.424 0 .815-.121 1.474-.368 1.95l-.011.022 1.708 1.782.013-.02c.62-.96.946-2.293.946-3.91 0-.083 0-.165-.002-.247z",fill:"url(#lobe-icons-meta-fill-8)"}),(0,l.jsx)("path",{d:"M21.344 16.52l-.011.02c-.214.402-.519.67-.917.787l.778 2.462a3.493 3.493 0 00.438-.182 3.558 3.558 0 001.366-1.218l.044-.065.012-.02-1.71-1.784z",fill:"url(#lobe-icons-meta-fill-9)"}),(0,l.jsx)("path",{d:"M19.92 17.393c-.262 0-.492-.039-.718-.14l-.798 2.522c.449.153.927.222 1.46.222.492 0 .943-.073 1.352-.215l-.78-2.462c-.167.05-.341.075-.517.073z",fill:"url(#lobe-icons-meta-fill-10)"}),(0,l.jsx)("path",{d:"M18.323 16.534l-.014-.017-1.836 1.914.016.017c.637.682 1.246 1.105 1.937 1.337l.797-2.52c-.291-.125-.573-.353-.9-.731z",fill:"url(#lobe-icons-meta-fill-11)"}),(0,l.jsx)("path",{d:"M18.309 16.515c-.55-.642-1.232-1.712-2.303-3.44l-1.396-2.336-.011-.02-1.62 2.438.012.02.989 1.668c.959 1.61 1.74 2.774 2.493 3.585l.016.016 1.834-1.914a2.353 2.353 0 01-.014-.017z",fill:"url(#lobe-icons-meta-fill-12)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-0",x1:"75.897%",x2:"26.312%",y1:"89.199%",y2:"12.194%",children:[(0,l.jsx)("stop",{offset:".06%",stopColor:"#0867DF"}),(0,l.jsx)("stop",{offset:"45.39%",stopColor:"#0668E1"}),(0,l.jsx)("stop",{offset:"85.91%",stopColor:"#0064E0"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-1",x1:"21.67%",x2:"97.068%",y1:"75.874%",y2:"23.985%",children:[(0,l.jsx)("stop",{offset:"13.23%",stopColor:"#0064DF"}),(0,l.jsx)("stop",{offset:"99.88%",stopColor:"#0064E0"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-2",x1:"38.263%",x2:"60.895%",y1:"89.127%",y2:"16.131%",children:[(0,l.jsx)("stop",{offset:"1.47%",stopColor:"#0072EC"}),(0,l.jsx)("stop",{offset:"68.81%",stopColor:"#0064DF"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-3",x1:"47.032%",x2:"52.15%",y1:"90.19%",y2:"15.745%",children:[(0,l.jsx)("stop",{offset:"7.31%",stopColor:"#007CF6"}),(0,l.jsx)("stop",{offset:"99.43%",stopColor:"#0072EC"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-4",x1:"52.155%",x2:"47.591%",y1:"58.3
101%",y2:"37.004%",children:[(0,l.jsx)("stop",{offset:"7.31%",stopColor:"#007FF9"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#007CF6"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-5",x1:"37.689%",x2:"61.961%",y1:"12.502%",y2:"63.624%",children:[(0,l.jsx)("stop",{offset:"7.31%",stopColor:"#007FF9"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0082FB"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-6",x1:"34.808%",x2:"62.313%",y1:"68.859%",y2:"23.174%",children:[(0,l.jsx)("stop",{offset:"27.99%",stopColor:"#007FF8"}),(0,l.jsx)("stop",{offset:"91.41%",stopColor:"#0082FB"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-7",x1:"43.762%",x2:"57.602%",y1:"6.235%",y2:"98.514%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#0082FB"}),(0,l.jsx)("stop",{offset:"99.95%",stopColor:"#0081FA"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-8",x1:"60.055%",x2:"39.88%",y1:"4.661%",y2:"69.077%",children:[(0,l.jsx)("stop",{offset:"6.19%",stopColor:"#0081FA"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0080F9"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-9",x1:"30.282%",x2:"61.081%",y1:"59.32%",y2:"33.244%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#027AF3"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0080F9"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-10",x1:"20.433%",x2:"82.112%",y1:"50.001%",y2:"50.001%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#0377EF"}),(0,l.jsx)("stop",{offset:"99.94%",stopColor:"#0279F1"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-11",x1:"40.303%",x2:"72.394%",y1:"35.298%",y2:"57.811%",children:[(0,l.jsx)("stop",{offset:".19%",stopColor:"#0471E9"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0377EF"})]}),(0,l.jsxs)("linearGradient",{id:"lobe-icons-meta-fill-12",x1:"32.254%",x2:"68.003%",y1:"19.719%",y2:"84.908%",children:[(0,l.jsx)("stop",{offset:"27.65%",stopColor:"#0867DF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0471E9"})]})]})]})}},77813:function(e,t,o){o.d(t,{N:function(){return s}});var l=o(2265);function s(e,t){let o=(0,l.useRef)(null);return(0,l.useCallback)(function(){for(var l=arguments.length,s=Array(l),n=0;n<l;n++)s[n]=arguments[n];o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{e(...s),o.current=null},t)},[e,t])}},13380:function(e,t,o){o.d(t,{b:function(){return n}});var l=o(2265),s=o(28560);function n(){let e=(0,s.useCreditStore)(e=>e.updateBalanceFromHeaders);return(0,l.useCallback)(async(t,o)=>{try{let l=await fetch(t,{...o,cache:"no-store"});return e(l.headers),l}catch(e){throw e}},[e])}},37164:function(e,t,o){o.d(t,{Z:function(){return l}});/**
2 * @license lucide-react v0.400.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let l=(0,o(78030).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},71106:function(e,t,o){o.d(t,{Z:function(){return l}});/**
7 * @license lucide-react v0.400.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let l=(0,o(78030).Z)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]])},61326:function(e,t,o){o.d(t,{Z:function(){return l}});/**
12 * @license lucide-react v0.400.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let l=(0,o(78030).Z)("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]])}}]);

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.