You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
venv/PyCharm 2025.2.1.1/plugins/python/jupyter-web/7989.js

1 line
35 KiB

"use strict";var Ve=Object.defineProperty,Ge=(G,O,D)=>O in G?Ve(G,O,{enumerable:!0,configurable:!0,writable:!0,value:D}):G[O]=D,m=(G,O,D)=>(Ge(G,"symbol"!=typeof O?O+"":O,D),D);(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[7989],{47989:(G,O,D)=>{var Z;D.d(O,{Ee:()=>Pe,J8:()=>x,_$:()=>Le,oI:()=>we});var W=D(53420),J=D(23242),Ct=D(76794),lt=D(62477),i=D(3685),tt=function(){var t=(0,i.eW)(function(V,o,u,n){for(u=u||{},n=V.length;n--;u[V[n]]=o);return u},"o"),e=[1,2],s=[1,3],c=[1,4],l=[2,4],S=[1,9],a=[1,11],p=[1,16],h=[1,17],y=[1,18],b=[1,19],T=[1,32],w=[1,20],f=[1,21],N=[1,22],$=[1,23],U=[1,24],j=[1,26],M=[1,27],Y=[1,28],ft=[1,29],pt=[1,30],St=[1,31],yt=[1,34],_t=[1,35],gt=[1,36],Et=[1,37],at=[1,33],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],bt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],le=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],wt={trace:(0,i.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,i.eW)(function(o,u,n,g,E,r,nt){var d=r.length-1;switch(E){case 3:return g.setRootDoc(r[d]),r[d];case 4:this.$=[];break;case 5:"nl"!=r[d]&&(r[d-1].push(r[d]),this.$=r[d-1]);break;case 6:case 7:case 12:this.$=r[d];break;case 8:this.$="nl";break;case 13:const kt=r[d-1];kt.description=g.trimColon(r[d]),this.$=kt;break;case 14:this.$={stmt:"relation",state1:r[d-2],state2:r[d]};break;case 15:const mt=g.trimColon(r[d]);this.$={stmt:"relation",state1:r[d-3],state2:r[d-1],description:mt};break;case 19:this.$={stmt:"state",id:r[d-3],type:"default",description:"",doc:r[d-1]};break;case 20:var H=r[d],Q=r[d-2].trim();if(r[d].match(":")){var ot=r[d].split(":");H=ot[0],Q=[Q,ot[1]]}this.$={stmt:"state",id:H,type:"default",description:Q};break;case 21:this.$={stmt:"state",id:r[d-3],type:"default",description:r[d-5],doc:r[d-1]};break;case 22:this.$={stmt:"state",id:r[d],type:"fork"};break;case 23:this.$={stmt:"state",id:r[d],type:"join"};break;case 24:this.$={stmt:"state",id:r[d],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[d-1].trim(),note:{position:r[d-2].trim(),text:r[d].trim()}};break;case 29:this.$=r[d].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[d].trim(),g.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:r[d-1].trim(),classes:r[d].trim()};break;case 34:this.$={stmt:"style",id:r[d-1].trim(),styleClass:r[d].trim()};break;case 35:this.$={stmt:"applyClass",id:r[d-1].trim(),styleClass:r[d].trim()};break;case 36:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:r[d].trim(),type:"default",description:""};break;case 44:case 45:this.$={stmt:"state",id:r[d-2].trim(),classes:[r[d].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:c},{1:[3]},{3:5,4:e,5:s,6:c},{3:6,4:e,5:s,6:c},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],l,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:S,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:h,19:y,22:b,24:T,25:w,26:f,27:N,28:$,29:U,32:25,33:j,35:M,37:Y,38:ft,42:pt,45:St,48:yt,49:_t,50:gt,51:Et,54:at},t(_,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:p,17:h,19:y,22:b,24:T,25:w,26:f,27:N,28:$,29:U,32:25,33:j,35:M,37:Y,38:ft,42:pt,45:St,48:yt,49:_t,50:gt,51:Et,54:at},t(_,[2,7]),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(_,[2,11]),t(_,[2,12],{14:[1,39],15:[1,40]}),t(_,[2,16]),{18:[1,41]},t(_,[2,18],{20:[1,42]}),{23:[1,43]},t(_,[2,22]),t(_,[2,23]),t(_,[2,24]),t(_,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(_,[2,28]),{34:[1,48]},{36:[1,49]},t(_,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(bt,[2,42],{55:[1,54]}),t(bt,[2,43],{55:[1,55]}),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(_,[2,39]),t(_,[2,6]),t(_,[2,13]),{13:56,24:T,54:at},t(_,[2,17]),t(le,l,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(_,[2,29]),t(_,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(_,[2,14],{14:[1,67]}),{4:S,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:h,19:y,21:[1,68],22:b,24:T,25:w,26:f,27:N,28:$,29:U,32:25,33:j,35:M,37:Y,38:ft,42:pt,45:St,48:yt,49:_t,50:gt,51:Et,54:at},t(_,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(_,[2,32]),t(_,[2,33]),t(_,[2,34]),t(_,[2,35]),t(bt,[2,44]),t(bt,[2,45]),t(_,[2,15]),t(_,[2,19]),t(le,l,{7:72}),t(_,[2,26]),t(_,[2,27]),{4:S,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:p,17:h,19:y,21:[1,73],22:b,24:T,25:w,26:f,27:N,28:$,29:U,32:25,33:j,35:M,37:Y,38:ft,42:pt,45:St,48:yt,49:_t,50:gt,51:Et,54:at},t(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:(0,i.eW)(function(o,u){if(!u.recoverable){var n=new Error(o);throw n.hash=u,n}this.trace(o)},"parseError"),parse:(0,i.eW)(function(o){var u=this,n=[0],g=[],E=[null],r=[],nt=this.table,d="",H=0,Q=0,ot=0,kt=2,mt=1,Be=r.slice.call(arguments,1),k=Object.create(this.lexer),z={yy:{}};for(var $t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$t)&&(z.yy[$t]=this.yy[$t]);k.setInput(o,z.yy),z.yy.lexer=k,z.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Pt=k.yylloc;r.push(Pt);var Me=k.options&&k.options.ranges;function Ye(L){n.length=n.length-2*L,E.length=E.length-L,r.length=r.length-L}function ce(){var L;return"number"!=typeof(L=g.pop()||k.lex()||mt)&&(L instanceof Array&&(L=(g=L).pop()),L=u.symbols_[L]||L),L}"function"==typeof z.yy.parseError?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.eW)(Ye,"popStack"),(0,i.eW)(ce,"lex");for(var v,Wt,K,I,Bt,Dt,P,he,vt,q={};;){if(K=n[n.length-1],this.defaultActions[K]?I=this.defaultActions[K]:((null===v||typeof v>"u")&&(v=ce()),I=nt[K]&&nt[K][v]),typeof I>"u"||!I.length||!I[0]){var Mt="";for(Dt in vt=[],nt[K])this.terminals_[Dt]&&Dt>kt&&vt.push("'"+this.terminals_[Dt]+"'");Mt=k.showPosition?"Parse error on line "+(H+1)+":\n"+k.showPosition()+"\nExpecting "+vt.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(H+1)+": Unexpected "+(v==mt?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(Mt,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:Pt,expected:vt})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+v);switch(I[0]){case 1:n.push(v),E.push(k.yytext),r.push(k.yylloc),n.push(I[1]),v=null,Wt?(v=Wt,Wt=null):(Q=k.yyleng,d=k.yytext,H=k.yylineno,Pt=k.yylloc,ot>0&&ot--);break;case 2:if(P=this.productions_[I[1]][1],q.$=E[E.length-P],q._$={first_line:r[r.length-(P||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(P||1)].first_column,last_column:r[r.length-1].last_column},Me&&(q._$.range=[r[r.length-(P||1)].range[0],r[r.length-1].range[1]]),typeof(Bt=this.performAction.apply(q,[d,Q,H,z.yy,I[1],E,r].concat(Be)))<"u")return Bt;P&&(n=n.slice(0,-1*P*2),E=E.slice(0,-1*P),r=r.slice(0,-1*P)),n.push(this.productions_[I[1]][0]),E.push(q.$),r.push(q._$),he=nt[n[n.length-2]][n[n.length-1]],n.push(he);break;case 3:return!0}}return!0},"parse")},We=function(){return{EOF:1,parseError:(0,i.eW)(function(u,n){if(!this.yy.parser)throw new Error(u);this.yy.parser.parseError(u,n)},"parseError"),setInput:(0,i.eW)(function(o,u){return this.yy=u||this.yy||{},this._input=o,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:(0,i.eW)(function(){var o=this._input[0];return this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o,o.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:(0,i.eW)(function(o){var u=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var g=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),n.length-1&&(this.yylineno-=n.length-1);var E=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:n?(n.length===g.length?this.yylloc.first_column:0)+g[g.length-n.length].length-n[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.eW)(function(){return this._more=!0,this},"more"),reject:(0,i.eW)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,i.eW)(function(o){this.unput(this.match.slice(o))},"less"),pastInput:(0,i.eW)(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.eW)(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,i.eW)(function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+"\n"+u+"^"},"showPosition"),test_match:(0,i.eW)(function(o,u){var n,g,E;if(this.options.backtrack_lexer&&(E={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(E.yylloc.range=this.yylloc.range.slice(0))),(g=o[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],n=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in E)this[r]=E[r];return!1}return!1},"test_match"),next:(0,i.eW)(function(){if(this.done)return this.EOF;var o,u,n,g;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),r=0;r<E.length;r++)if((n=this._input.match(this.rules[E[r]]))&&(!u||n[0].length>u[0].length)){if(u=n,g=r,this.options.backtrack_lexer){if(!1!==(o=this.test_match(n,E[r])))return o;if(this._backtrack){u=!1;continue}return!1}if(!this.options.flex)break}return u?!1!==(o=this.test_match(u,E[g]))&&o:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,i.eW)(function(u){this.conditionStack.push(u)},"begin"),popState:(0,i.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.eW)(function(u){return(u=this.conditionStack.length-1-Math.abs(u||0))>=0?this.conditionStack[u]:"INITIAL"},"topState"),pushState:(0,i.eW)(function(u){this.begin(u)},"pushState"),stateStackSize:(0,i.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.eW)(function(u,n,g,E){switch(g){case 0:return 41;case 1:case 42:return 48;case 2:case 43:return 49;case 3:case 44:return 50;case 4:case 45:return 51;case 5:case 6:case 8:case 9:case 10:case 11:case 54:case 56:case 62:break;case 7:case 77:return 5;case 12:case 32:return this.pushState("SCALE"),17;case 13:case 33:return 18;case 14:case 20:case 34:case 49:case 52:this.popState();break;case 15:return this.begin("acc_title"),33;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),35;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),38;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),39;case 25:return this.popState(),40;case 26:return this.pushState("CLASS"),45;case 27:return this.popState(),this.pushState("CLASS_STYLE"),46;case 28:return this.popState(),47;case 29:return this.pushState("STYLE"),42;case 30:return this.popState(),this.pushState("STYLEDEF_STYLES"),43;case 31:return this.popState(),44;case 35:this.pushState("STATE");break;case 36:case 39:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;case 37:case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;case 38:case 41:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;case 46:this.pushState("STATE_STRING");break;case 47:return this.pushState("STATE_ID"),"AS";case 48:case 64:return this.popState(),"ID";case 50:return"STATE_DESCR";case 51:return 19;case 53:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),56;case 59:return this.popState(),this.pushState("NOTE_ID"),57;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;case 67:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 54;case 72:return 24;case 73:return n.yytext=n.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 55;case 78:return"INVALID"}},"anonymous"),rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,29,35,42,43,44,45,54,55,56,57,71,72,73,74,75],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[31],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[30],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,33,34],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[48],inclusive:!1},STATE_STRING:{rules:[49,50],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,36,37,38,39,40,41,46,47,51,52,53],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,35,53,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}}}();function Tt(){this.yy={}}return wt.lexer=We,(0,i.eW)(Tt,"Parser"),Tt.prototype=wt,wt.Parser=Tt,new Tt}();tt.parser=tt;var x=tt,R="state",X="relation",et="default",Yt="divider",Vt="fill:none",Gt="fill: #333",Lt="rect",It="rectWithTitle",Ht="divider",zt="roundedWithTitle",st="statediagram",ye=`${st}-state`,Kt="transition",Ee=`${Kt} note-edge`,be=`${st}-note`,ke=`${st}-cluster`,De=`${st}-cluster-alt`,Ot="----",Zt="----parent",Qt=(0,i.eW)((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const c of t.doc)"dir"===c.stmt&&(s=c.value);return s},"getDir"),Le={getClasses:(0,i.eW)(function(t,e){return e.db.getClasses()},"getClasses"),draw:(0,i.eW)(function(){var t=(0,W.Z)(function*(e,s,c,l){i.cM.info("REF0:"),i.cM.info("Drawing state diagram (v2)",s);const{securityLevel:S,state:a,layout:p}=(0,i.nV)();l.db.extract(l.db.getRootDocV2());const h=l.db.getData(),y=(0,J.q)(s,S);h.type=l.type,h.layoutAlgorithm=p,h.nodeSpacing=a?.nodeSpacing||50,h.rankSpacing=a?.rankSpacing||50,h.markers=["barb"],h.diagramId=s,yield(0,Ct.sY)(h,y);lt.w8.insertTitle(y,"statediagramTitleText",a?.titleTopMargin??25,l.db.getDiagramTitle()),(0,J.j)(y,8,st,a?.useMaxWidth??!0)});return function(e,s,c,l){return t.apply(this,arguments)}}(),"draw"),getDir:Qt},ht=new Map,B=0;function ut(t="",e=0,s="",c=Ot){return`state-${t}${null!==s&&s.length>0?`${c}${s}`:""}-${e}`}(0,i.eW)(ut,"stateDomId");var Ie=(0,i.eW)((t,e,s,c,l,S,a,p)=>{i.cM.trace("items",e),e.forEach(h=>{switch(h.stmt){case R:case et:rt(t,h,s,c,l,S,a,p);break;case X:{rt(t,h.state1,s,c,l,S,a,p),rt(t,h.state2,s,c,l,S,a,p);const y={id:"edge"+B,start:h.state1.id,end:h.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Vt,labelStyle:"",label:i.SY.sanitizeText(h.description,(0,i.nV)()),arrowheadStyle:Gt,labelpos:"c",labelType:"text",thickness:"normal",classes:Kt,look:a};l.push(y),B++}}})},"setupDoc"),qt=(0,i.eW)((t,e="TB")=>{let s=e;if(t.doc)for(const c of t.doc)"dir"===c.stmt&&(s=c.value);return s},"getDir");function it(t,e,s){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(l=>{if(s.get(l)){const S=s.get(l);e.cssCompiledStyles=[...e.cssCompiledStyles,...S.styles]}}));const c=t.find(l=>l.id===e.id);c?Object.assign(c,e):t.push(e)}function te(t){return t?.classes?.join(" ")??""}function ee(t){return t?.styles??[]}(0,i.eW)(it,"insertOrUpdateNode"),(0,i.eW)(te,"getClassesFromDbInfo"),(0,i.eW)(ee,"getStylesFromDbInfo");var rt=(0,i.eW)((t,e,s,c,l,S,a,p)=>{const h=e.id,y=s.get(h),b=te(y),T=ee(y);if(i.cM.info("dataFetcher parsedItem",e,y,T),"root"!==h){let w=Lt;!0===e.start?w="stateStart":!1===e.start&&(w="stateEnd"),e.type!==et&&(w=e.type),ht.get(h)||ht.set(h,{id:h,shape:w,description:i.SY.sanitizeText(h,(0,i.nV)()),cssClasses:`${b} ${ye}`,cssStyles:T});const f=ht.get(h);e.description&&(Array.isArray(f.description)?(f.shape=It,f.description.push(e.description)):f.description?.length>0?(f.shape=It,f.description===h?f.description=[e.description]:f.description=[f.description,e.description]):(f.shape=Lt,f.description=e.description),f.description=i.SY.sanitizeTextOrArray(f.description,(0,i.nV)())),1===f.description?.length&&f.shape===It&&("group"===f.type?f.shape=zt:f.shape=Lt),!f.type&&e.doc&&(i.cM.info("Setting cluster for XCX",h,qt(e)),f.type="group",f.isGroup=!0,f.dir=qt(e),f.shape=e.type===Yt?Ht:zt,f.cssClasses=`${f.cssClasses} ${ke} ${S?De:""}`);const N={labelStyle:"",shape:f.shape,label:f.description,cssClasses:f.cssClasses,cssCompiledStyles:[],cssStyles:f.cssStyles,id:h,dir:f.dir,domId:ut(h,B),type:f.type,isGroup:"group"===f.type,padding:8,rx:10,ry:10,look:a};if(N.shape===Ht&&(N.label=""),t&&"root"!==t.id&&(i.cM.trace("Setting node ",h," to be child of its parent ",t.id),N.parentId=t.id),N.centerLabel=!0,e.note){const $={labelStyle:"",shape:"note",label:e.note.text,cssClasses:be,cssStyles:[],cssCompilesStyles:[],id:h+"----note-"+B,domId:ut(h,B,"note"),type:f.type,isGroup:"group"===f.type,padding:(0,i.nV)().flowchart.padding,look:a,position:e.note.position},U=h+Zt,j={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:f.cssClasses,cssStyles:[],id:h+Zt,domId:ut(h,B,"parent"),type:"group",isGroup:!0,padding:16,look:a,position:e.note.position};B++,j.id=U,$.parentId=U,it(c,j,p),it(c,$,p),it(c,N,p);let M=h,Y=$.id;"left of"===e.note.position&&(M=$.id,Y=h),l.push({id:M+"-"+Y,start:M,end:Y,arrowhead:"none",arrowTypeEnd:"",style:Vt,labelStyle:"",classes:Ee,arrowheadStyle:Gt,labelpos:"c",labelType:"text",thickness:"normal",look:a})}else it(c,N,p)}e.doc&&(i.cM.trace("Adding nodes children "),Ie(e,e.doc,s,c,l,!S,a,p))},"dataFetcher"),Oe=(0,i.eW)(()=>{ht.clear(),B=0},"reset");function Nt(){return new Map}(0,i.eW)(Nt,"newClassesList");var oe=(0,i.eW)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),dt=(0,i.eW)(t=>JSON.parse(JSON.stringify(t)),"clone"),we=(Z=class{constructor(e){m(this,"version"),m(this,"nodes",[]),m(this,"edges",[]),m(this,"rootDoc",[]),m(this,"classes",Nt()),m(this,"documents",{root:oe()}),m(this,"currentDocument",this.documents.root),m(this,"startEndCount",0),m(this,"dividerCnt",0),m(this,"getAccTitle",i.eu),m(this,"setAccTitle",i.GN),m(this,"getAccDescription",i.Mx),m(this,"setAccDescription",i.U$),m(this,"setDiagramTitle",i.g2),m(this,"getDiagramTitle",i.Kr),this.clear(),this.version=e,this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}setRootDoc(e){i.cM.info("Setting root doc",e),this.rootDoc=e,1===this.version?this.extract(e):this.extract(this.getRootDocV2())}getRootDoc(){return this.rootDoc}docTranslator(e,s,c){if(s.stmt===X)this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);else if(s.stmt===R&&("[*]"===s.id?(s.id=c?e.id+"_start":e.id+"_end",s.start=c):s.id=s.id.trim()),s.doc){const l=[];let a,S=[];for(a=0;a<s.doc.length;a++)if(s.doc[a].type===Yt){const p=dt(s.doc[a]);p.doc=dt(S),l.push(p),S=[]}else S.push(s.doc[a]);if(l.length>0&&S.length>0){const p={stmt:R,id:(0,lt.Ox)(),type:"divider",doc:dt(S)};l.push(dt(p)),s.doc=l}s.doc.forEach(p=>this.docTranslator(s,p,!0))}}getRootDocV2(){return this.docTranslator({id:"root"},{id:"root",doc:this.rootDoc},!0),{id:"root",doc:this.rootDoc}}extract(e){let s;s=e.doc?e.doc:e,i.cM.info(s),this.clear(!0),i.cM.info("Extract initial document:",s),s.forEach(a=>{switch(i.cM.warn("Statement",a.stmt),a.stmt){case R:this.addState(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case X:this.addRelation(a.state1,a.state2,a.description);break;case"classDef":this.addStyleClass(a.id.trim(),a.classes);break;case"style":{const p=a.id.trim().split(","),h=a.styleClass.split(",");p.forEach(y=>{let b=this.getState(y);if(void 0===b){const T=y.trim();this.addState(T),b=this.getState(T)}b.styles=h.map(T=>T.replace(/;/g,"")?.trim())})}break;case"applyClass":this.setCssClass(a.id.trim(),a.styleClass)}});const c=this.getStates(),S=(0,i.nV)().look;Oe(),rt(void 0,this.getRootDocV2(),c,this.nodes,this.edges,!0,S,this.classes),this.nodes.forEach(a=>{if(Array.isArray(a.label)){if(a.description=a.label.slice(1),a.isGroup&&a.description.length>0)throw new Error("Group nodes can only have label. Remove the additional description for node ["+a.id+"]");a.label=a.label[0]}})}addState(e,s=et,c=null,l=null,S=null,a=null,p=null,h=null){const y=e?.trim();if(this.currentDocument.states.has(y)?(this.currentDocument.states.get(y).doc||(this.currentDocument.states.get(y).doc=c),this.currentDocument.states.get(y).type||(this.currentDocument.states.get(y).type=s)):(i.cM.info("Adding state ",y,l),this.currentDocument.states.set(y,{id:y,descriptions:[],type:s,doc:c,note:S,classes:[],styles:[],textStyles:[]})),l&&(i.cM.info("Setting state description",y,l),"string"==typeof l&&this.addDescription(y,l.trim()),"object"==typeof l&&l.forEach(b=>this.addDescription(y,b.trim()))),S){const b=this.currentDocument.states.get(y);b.note=S,b.note.text=i.SY.sanitizeText(b.note.text,(0,i.nV)())}a&&(i.cM.info("Setting state classes",y,a),("string"==typeof a?[a]:a).forEach(T=>this.setCssClass(y,T.trim()))),p&&(i.cM.info("Setting state styles",y,p),("string"==typeof p?[p]:p).forEach(T=>this.setStyle(y,T.trim()))),h&&(i.cM.info("Setting state styles",y,p),("string"==typeof h?[h]:h).forEach(T=>this.setTextStyle(y,T.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:oe()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Nt(),e||(0,i.ZH)()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.cM.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}startIdIfNeeded(e=""){let s=e;return"[*]"===e&&(this.startEndCount++,s=`start${this.startEndCount}`),s}startTypeIfNeeded(e="",s=et){return"[*]"===e?"start":s}endIdIfNeeded(e=""){let s=e;return"[*]"===e&&(this.startEndCount++,s=`end${this.startEndCount}`),s}endTypeIfNeeded(e="",s=et){return"[*]"===e?"end":s}addRelationObjs(e,s,c){let l=this.startIdIfNeeded(e.id.trim()),S=this.startTypeIfNeeded(e.id.trim(),e.type),a=this.startIdIfNeeded(s.id.trim()),p=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(l,S,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(a,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:l,id2:a,relationTitle:i.SY.sanitizeText(c,(0,i.nV)())})}addRelation(e,s,c){if("object"==typeof e)this.addRelationObjs(e,s,c);else{const l=this.startIdIfNeeded(e.trim()),S=this.startTypeIfNeeded(e),a=this.endIdIfNeeded(s.trim()),p=this.endTypeIfNeeded(s);this.addState(l,S),this.addState(a,p),this.currentDocument.relations.push({id1:l,id2:a,title:i.SY.sanitizeText(c,(0,i.nV)())})}}addDescription(e,s){const c=this.currentDocument.states.get(e),l=s.startsWith(":")?s.replace(":","").trim():s;c.descriptions.push(i.SY.sanitizeText(l,(0,i.nV)()))}cleanupLabel(e){return":"===e.substring(0,1)?e.substr(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,"divider-id-"+this.dividerCnt}addStyleClass(e,s=""){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});const c=this.classes.get(e);null!=s&&s.split(",").forEach(l=>{const S=l.replace(/([^;]*);/,"$1").trim();if(RegExp("color").exec(l)){const p=S.replace("fill","bgFill").replace("color","fill");c.textStyles.push(p)}c.styles.push(S)})}getClasses(){return this.classes}setCssClass(e,s){e.split(",").forEach(c=>{let l=this.getState(c);if(void 0===l){const S=c.trim();this.addState(S),l=this.getState(S)}l.classes.push(s)})}setStyle(e,s){const c=this.getState(e);void 0!==c&&c.styles.push(s)}setTextStyle(e,s){const c=this.getState(e);void 0!==c&&c.textStyles.push(s)}getDirectionStatement(){return this.rootDoc.find(e=>"dir"===e.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(e){const s=this.getDirectionStatement();s?s.value=e:this.rootDoc.unshift({stmt:"dir",value:e})}trimColon(e){return e&&":"===e[0]?e.substr(1).trim():e.trim()}getData(){const e=(0,i.nV)();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:Qt(this.getRootDocV2())}}getConfig(){return(0,i.nV)().state}},__name(Z,"StateDB"),m(Z,"relationType",{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}),Z),Pe=(0,i.eW)(t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n // line-height: 1;\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`,"getStyles")},23242:(G,O,D)=>{D.d(O,{j:()=>lt,q:()=>Ct});var W=D(3685),J=D(31083),Ct=(0,W.eW)((x,A)=>{let C;return"sandbox"===A&&(C=(0,J.Ys)("#i"+x)),("sandbox"===A?(0,J.Ys)(C.nodes()[0].contentDocument.body):(0,J.Ys)("body")).select(`[id="${x}"]`)},"getDiagramElement"),lt=(0,W.eW)((x,A,C,F)=>{x.attr("class",C);const{width:R,height:X,x:xt,y:At}=i(x,A);(0,W.v2)(x,X,R,F);const ct=tt(xt,At,R,X,A);x.attr("viewBox",ct),W.cM.debug(`viewBox configured: ${ct} with padding: ${A}`)},"setupViewPortForSVG"),i=(0,W.eW)((x,A)=>{const C=x.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:C.width+2*A,height:C.height+2*A,x:C.x,y:C.y}},"calculateDimensionsWithPadding"),tt=(0,W.eW)((x,A,C,F,R)=>`${x-R} ${A-R} ${C} ${F}`,"createViewBox")}}]);