MCPcopy Index your code
hub / github.com/google/adk-python / chunk-ZCQFE5RP.js

File chunk-ZCQFE5RP.js

src/google/adk/cli/browser/chunk-ZCQFE5RP.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import{O as ot,Q as ct,R as ht,Y as dt,c as st,d as at,e as lt}from"./chunk-QFMJV7VH.js";import{K as Q,a as V,g as s,h as it,i as S}from"./chunk-JRNAXTJ7.js";import"./chunk-RMXJBC7V.js";var X=(function(){var n=s(function(m,i,a,c){for(a=a||{},c=m.length;c--;a[m[c]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],g=[1,16],f=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,c,u,y,o,E){var b=o.length-1;switch(y){case 1:return o[b-1];case 2:this.$=[];break;case 3:o[b-1].push(o[b]),this.$=o[b-1];break;case 4:case 5:this.$=o[b];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[b].substr(6)),this.$=o[b].substr(6);break;case 9:this.$=o[b].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[b].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[b].substr(8)),this.$=o[b].substr(8);break;case 15:u.addTask(o[b],0,""),this.$=o[b];break;case 16:u.addEvent(o[b].substr(2)),this.$=o[b];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:g,21:f},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:g,21:f},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=a,c}},"parseError"),parse:s(function(i){var a=this,c=[0],u=[],y=[null],o=[],E=this.table,b="",L=0,P=0,F=0,et=2,M=1,_=o.slice.call(arguments,1),x=Object.create(this.lexer),T={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(T.yy[$]=this.yy[$]);x.setInput(i,T.yy),T.yy.lexer=x,T.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var A=x.yylloc;o.push(A);var U=x.options&&x.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function It(I){c.length=c.length-2*I,y.length=y.length-I,o.length=o.length-I}s(It,"popStack");function nt(){var I;return I=u.pop()||x.lex()||M,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(nt,"lex");for(var w,Z,C,N,Jt,J,z={},O,H,rt,j;;){if(C=c[c.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=nt()),N=E[C]&&E[C][w]),typeof N>"u"||!N.length||!N[0]){var K="";j=[];for(O in E[C])this.terminals_[O]&&O>et&&j.push("'"+this.terminals_[O]+"'");x.showPosition?K="Parse error on line "+(L+1)+`:
2`+x.showPosition()+`
3Expecting `+j.join(", ")+", got '"+(this.terminals_[w]||w)+"'":K="Parse error on line "+(L+1)+": Unexpected "+(w==M?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(K,{text:x.match,token:this.terminals_[w]||w,line:x.yylineno,loc:A,expected:j})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(N[0]){case 1:c.push(w),y.push(x.yytext),o.push(x.yylloc),c.push(N[1]),w=null,Z?(w=Z,Z=null):(P=x.yyleng,b=x.yytext,L=x.yylineno,A=x.yylloc,F>0&&F--);break;case 2:if(H=this.productions_[N[1]][1],z.$=y[y.length-H],z._$={first_line:o[o.length-(H||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(H||1)].first_column,last_column:o[o.length-1].last_column},U&&(z._$.range=[o[o.length-(H||1)].range[0],o[o.length-1].range[1]]),J=this.performAction.apply(z,[b,P,L,T.yy,N[1],y,o].concat(_)),typeof J<"u")return J;H&&(c=c.slice(0,-1*H*2),y=y.slice(0,-1*H),o=o.slice(0,-1*H)),c.push(this.productions_[N[1]][0]),y.push(z.$),o.push(z._$),rt=E[c[c.length-2]][c[c.length-1]],c.push(rt);break;case 3:return!0}}return!0},"parse")},k=(function(){var m={EOF:1,parseError:s(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`

Callers

nothing calls this directly

Calls 15

dFunction · 0.90
hFunction · 0.90
gFunction · 0.90
eFunction · 0.90
setDiagramTitleMethod · 0.80
trimMethod · 0.80
setAccTitleMethod · 0.80
setAccDescriptionMethod · 0.80
setInputMethod · 0.80
getPrototypeOfMethod · 0.80
concatMethod · 0.80
sliceMethod · 0.80

Tested by

no test coverage detected