MCPcopy Index your code
hub / github.com/google/adk-python / EhA

Function EhA

src/google/adk/cli/browser/main-3CUQG2IN.js:1824–1824  ·  view source on GitHub ↗
(i,e)

Source from the content-addressed store, hash-verified

1822div.jse-collapsed-items.svelte-1v6dhm4 button.jse-expand-items:where(.svelte-1v6dhm4):hover, div.jse-collapsed-items.svelte-1v6dhm4 button.jse-expand-items:where(.svelte-1v6dhm4):focus {
1823 color: var(--jse-collapsed-items-link-color-highlight, #ee5341);
1824}`);var BhA=TA('<button type="button" class="jse-expand-items svelte-1v6dhm4"> </button>'),hhA=TA('<div role="none"><div><div class="jse-text svelte-1v6dhm4"> </div> <!></div></div>');function EhA(i,e){Jt(e,!1);var A=cA(void 0,!0),t=cA(void 0,!0),n=cA(void 0,!0),o=cA(void 0,!0),a=cA(void 0,!0),r=K(e,"visibleSections",9),s=K(e,"sectionIndex",9),l=K(e,"total",9),g=K(e,"path",9),C=K(e,"selection",9),d=K(e,"onExpandSection",9),B=K(e,"context",9);KA(()=>(Y(r()),Y(s())),()=>{N(A,r()[s()])}),KA(()=>c(A),()=>{N(t,c(A).end)}),KA(()=>(Y(r()),Y(s()),Y(l())),()=>{N(n,r()[s()+1]?r()[s()+1].start:l())}),KA(()=>(Y(B()),Y(C()),Y(g()),c(t)),()=>{N(o,ep(B().getJson(),C(),g().concat(String(c(t)))))}),KA(()=>(c(t),c(n)),()=>{N(a,(function(k,M){var x={start:k,end:Math.min(F_(k),M)},F=Math.max(Vw((k+M)/2),k),z={start:F,end:Math.min(F_(F),M)},j=Vw(M),X=j===M?j-Z4:j,eA={start:Math.max(X,k),end:M},Z=[x],CA=z.start>=x.end&&z.end<=eA.start;return CA&&Z.push(z),eA.start>=(CA?z.end:x.end)&&Z.push(eA),Z})(c(t),c(n)))}),Vn(),di(!0);var u,E,f=hhA(),m=gA(f),v=gA(m),S=gA(v);Da(kA(v,2),1,()=>c(a),Ka,(k,M)=>{var x=BhA(),F=gA(x);Le(()=>{var z,j;return Ht(F,"show ".concat((c(M),(z=uA(()=>c(M).start))!==null&&z!==void 0?z:""),"-").concat((c(M),(j=uA(()=>c(M).end))!==null&&j!==void 0?j:"")))}),De("click",x,()=>d()(g(),c(M))),sA(k,x)}),Le(()=>{var k,M;u=Ci(f,1,"jse-collapsed-items svelte-1v6dhm4",null,u,{"jse-selected":c(o)}),E=wg(f,"",E,{"--level":(Y(g()),uA(()=>g().length+2))}),Ht(S,"Items ".concat((k=c(t))!==null&&k!==void 0?k:"","-").concat((M=c(n))!==null&&M!==void 0?M:""))}),De("mousemove",f,function(k){k.stopPropagation()}),sA(i,f),Yt()}oi(`/* over all fonts, sizes, and colors */
1825/* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */
1826/* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */
1827/* main, menu, modal */

Callers 1

RtFunction · 0.85

Calls 15

KFunction · 0.90
YFunction · 0.90
rFunction · 0.90
sFunction · 0.90
NFunction · 0.90
cFunction · 0.90
lFunction · 0.90
BFunction · 0.90
CFunction · 0.90
gFunction · 0.90
DaFunction · 0.90
dFunction · 0.90

Tested by

no test coverage detected