MCPcopy Create free account
hub / github.com/codeaashu/claude-code / SpeechBubble

Function SpeechBubble

src/buddy/CompanionSprite.tsx:43–151  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

41 return lines;
42}
43function SpeechBubble(t0) {
44 const $ = _c(31);
45 const {
46 text,
47 color,
48 fading,
49 tail
50 } = t0;
51 let T0;
52 let borderColor;
53 let t1;
54 let t2;
55 let t3;
56 let t4;
57 let t5;
58 let t6;
59 if ($[0] !== color || $[1] !== fading || $[2] !== text) {
60 const lines = wrap(text, 30);
61 borderColor = fading ? "inactive" : color;
62 T0 = Box;
63 t1 = "column";
64 t2 = "round";
65 t3 = borderColor;
66 t4 = 1;
67 t5 = 34;
68 let t7;
69 if ($[11] !== fading) {
70 t7 = (l, i) => <Text key={i} italic={true} dimColor={!fading} color={fading ? "inactive" : undefined}>{l}</Text>;
71 $[11] = fading;
72 $[12] = t7;
73 } else {
74 t7 = $[12];
75 }
76 t6 = lines.map(t7);
77 $[0] = color;
78 $[1] = fading;
79 $[2] = text;
80 $[3] = T0;
81 $[4] = borderColor;
82 $[5] = t1;
83 $[6] = t2;
84 $[7] = t3;
85 $[8] = t4;
86 $[9] = t5;
87 $[10] = t6;
88 } else {
89 T0 = $[3];
90 borderColor = $[4];
91 t1 = $[5];
92 t2 = $[6];
93 t3 = $[7];
94 t4 = $[8];
95 t5 = $[9];
96 t6 = $[10];
97 }
98 let t7;
99 if ($[13] !== T0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 || $[19] !== t6) {
100 t7 = <T0 flexDirection={t1} borderStyle={t2} borderColor={t3} paddingX={t4} width={t5}>{t6}</T0>;

Callers

nothing calls this directly

Calls 1

wrapFunction · 0.85

Tested by

no test coverage detected