PageSourceSearch

https://python-fiddle.com/_nuxt/G2C8ZGbX.js

js python-fiddle.com collected 2026-09-24 12:11:43 UTC 1,418 bytes, 1 lines download raw bytes

1import{v as p,b as c,c as m,k as u,u as r,o as n,j as e,D as d,a8 as f,t as x,a as g,m as _}from"#entry";import{r as h}from"./CGOcem5C.js";import{r as k}from"./DkxHZMrm.js";import{r as v}from"./C1Wab32t.js";import{r as w,a as y}from"./CwWdgICz.js";const b={key:0,class:"flex items-center gap-3 px-3.5 py-2.5"},S={class:"relative flex-shrink-0"},$={class:"ps-icon-bg h-8 w-8 rounded-lg flex items-center justify-center"},B={class:"ps-message flex-1 min-w-0 text-sm truncate"},I={__name:"PromptStatus",emits:["stop"],setup(C,{emit:a}){const o=p(),i=a,l=c(()=>{const t=o.promptStatus.message?.toLowerCase()??"";return t.includes("code")?k:t.includes("analyz")?v:t.includes("user")||t.includes("input")?w:y});return(t,s)=>r(o).promptStatus.running?(n(),m("div",b,[e("div",S,[e("div",$,[(n(),d(f(r(l)),{class:"ps-icon h-4 w-4"}))]),s[1]||(s[1]=e("span",{class:"absolute -top-1 -right-1 flex h-2.5 w-2.5"},[e("span",{class:"ps-ping animate-ping absolute inline-flex h-full w-full rounded-full opacity-75"}),e("span",{class:"ps-dot relative inline-flex h-2.5 w-2.5 rounded-full"})],-1))]),e("p",B,x(r(o).promptStatus.message),1),e("button",{"data-testid":"prompt-stop-btn",class:"ps-stop flex-shrink-0 flex items-center gap-1.5 text-xs font-medium px-3 py-1.5 rounded-lg border transition-colors",onClick:s[0]||(s[0]=N=>i("stop"))},[g(r(h),{class:"h-3 w-3"}),s[2]||(s[2]=_(" Stop ",-1))])])):u("",!0)}};export{I as default};

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.