From b8fcd748319102e4eb3521ed1f6d10479007ce6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 20:47:39 +0000 Subject: [PATCH] Bump dompurify and mermaid in /ui (#7263) * Bump dompurify and mermaid in /ui Bumps [dompurify](https://github.com/cure53/DOMPurify) to 3.1.6 and updates ancestor dependency [mermaid](https://github.com/mermaid-js/mermaid). These dependencies need to be updated together. Updates `dompurify` from 2.4.3 to 3.1.6 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.4.3...3.1.6) Updates `mermaid` from 10.0.2 to 10.9.1 - [Release notes](https://github.com/mermaid-js/mermaid/releases) - [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md) - [Commits](https://github.com/mermaid-js/mermaid/compare/v10.0.2...v10.9.1) --- updated-dependencies: - dependency-name: dompurify dependency-type: indirect - dependency-name: mermaid dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Regenerate static UI --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Armel Soro --- pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js | 1 - pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js | 1 - pkg/apiserver-impl/ui/165.bde353f44cb7bb78.js | 1 + pkg/apiserver-impl/ui/167.17f92c6e702d25df.js | 1 + pkg/apiserver-impl/ui/233.a9d4b21b1685eaf7.js | 1 + pkg/apiserver-impl/ui/270.3930e48419f47a91.js | 1 + pkg/apiserver-impl/ui/276.9f963a0fd1365056.js | 1 - pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js | 1 - pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js | 1 - pkg/apiserver-impl/ui/325.5442c16224d7ead3.js | 1 + pkg/apiserver-impl/ui/330.aa8e97600a53f037.js | 1 - pkg/apiserver-impl/ui/38.fba2ecc6e4763433.js | 1 + pkg/apiserver-impl/ui/3rdpartylicenses.txt | 481 ++++++++++- pkg/apiserver-impl/ui/400.251b299514a70c5d.js | 1 + pkg/apiserver-impl/ui/407.481a9d034fa71ad4.js | 1 + pkg/apiserver-impl/ui/44.94245195e1d0b050.js | 1 + pkg/apiserver-impl/ui/450.1756491cf50c2969.js | 1 - pkg/apiserver-impl/ui/463.dc3a51287a3daffe.js | 1 + pkg/apiserver-impl/ui/474.fc76b77c0b0a42c1.js | 1 + pkg/apiserver-impl/ui/499.7b2b01997dee913b.js | 1 + pkg/apiserver-impl/ui/547.c349efb0d3b6da75.js | 1 + pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js | 1 - pkg/apiserver-impl/ui/594.6b6471753b71a6cf.js | 1 + pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js | 1 - pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js | 1 - pkg/apiserver-impl/ui/608.906465dee653ee56.js | 1 - pkg/apiserver-impl/ui/609.32c373e0fbdc4f95.js | 1 + pkg/apiserver-impl/ui/61.021401352c8fac58.js | 1 - pkg/apiserver-impl/ui/612.634d6c1c5de81831.js | 1 - pkg/apiserver-impl/ui/627.78bbe1b912458c32.js | 1 + pkg/apiserver-impl/ui/633.98936ec9d0fd371a.js | 1 + pkg/apiserver-impl/ui/634.b9d30a1327dead79.js | 1 + pkg/apiserver-impl/ui/65.6d0e353a29eeab39.js | 1 + pkg/apiserver-impl/ui/690.4ed844d0622bcdf0.js | 1 + pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js | 1 - pkg/apiserver-impl/ui/728.d855df7b4e9659d2.js | 1 + pkg/apiserver-impl/ui/730.d98a298a483060a0.js | 1 + pkg/apiserver-impl/ui/736.6667486e1f659685.js | 1 - pkg/apiserver-impl/ui/751.246266f502726002.js | 1 + pkg/apiserver-impl/ui/770.b5355903ae187636.js | 1 + pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js | 1 - pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js | 1 - pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js | 1 - pkg/apiserver-impl/ui/820.9423629b523fc453.js | 1 + pkg/apiserver-impl/ui/831.4ab3ba9ca26fa0f5.js | 1 + pkg/apiserver-impl/ui/839.51b43950610b1cc5.js | 1 + pkg/apiserver-impl/ui/880.7a4356d9d7293fda.js | 1 + pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js | 1 - pkg/apiserver-impl/ui/903.c29428aa95c26108.js | 1 + pkg/apiserver-impl/ui/905.32f9d8e99950acca.js | 1 - pkg/apiserver-impl/ui/911.f351650d584d08a4.js | 1 - pkg/apiserver-impl/ui/917.1b3eb8f93ae99c79.js | 1 + pkg/apiserver-impl/ui/919.c655383a313f29b4.js | 1 + pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js | 1 - pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js | 1 - pkg/apiserver-impl/ui/97.24bb8167eebd4975.js | 1 - pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js | 1 - .../ui/common.5c8a2e23d554c074.js | 1 + .../ui/common.a64b1ed6000c8d46.js | 1 - pkg/apiserver-impl/ui/index.html | 2 +- .../ui/main.98d110f57059b473.js | 1 + .../ui/main.d219859caca5567f.js | 1 - .../ui/runtime.1289ea0acffcdc5e.js | 1 - .../ui/runtime.574fc519230447d5.js | 1 + ui/package-lock.json | 776 ++++++++++++++++-- ui/package.json | 2 +- 66 files changed, 1192 insertions(+), 131 deletions(-) delete mode 100644 pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js delete mode 100644 pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js create mode 100644 pkg/apiserver-impl/ui/165.bde353f44cb7bb78.js create mode 100644 pkg/apiserver-impl/ui/167.17f92c6e702d25df.js create mode 100644 pkg/apiserver-impl/ui/233.a9d4b21b1685eaf7.js create mode 100644 pkg/apiserver-impl/ui/270.3930e48419f47a91.js delete mode 100644 pkg/apiserver-impl/ui/276.9f963a0fd1365056.js delete mode 100644 pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js delete mode 100644 pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js create mode 100644 pkg/apiserver-impl/ui/325.5442c16224d7ead3.js delete mode 100644 pkg/apiserver-impl/ui/330.aa8e97600a53f037.js create mode 100644 pkg/apiserver-impl/ui/38.fba2ecc6e4763433.js create mode 100644 pkg/apiserver-impl/ui/400.251b299514a70c5d.js create mode 100644 pkg/apiserver-impl/ui/407.481a9d034fa71ad4.js create mode 100644 pkg/apiserver-impl/ui/44.94245195e1d0b050.js delete mode 100644 pkg/apiserver-impl/ui/450.1756491cf50c2969.js create mode 100644 pkg/apiserver-impl/ui/463.dc3a51287a3daffe.js create mode 100644 pkg/apiserver-impl/ui/474.fc76b77c0b0a42c1.js create mode 100644 pkg/apiserver-impl/ui/499.7b2b01997dee913b.js create mode 100644 pkg/apiserver-impl/ui/547.c349efb0d3b6da75.js delete mode 100644 pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js create mode 100644 pkg/apiserver-impl/ui/594.6b6471753b71a6cf.js delete mode 100644 pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js delete mode 100644 pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js delete mode 100644 pkg/apiserver-impl/ui/608.906465dee653ee56.js create mode 100644 pkg/apiserver-impl/ui/609.32c373e0fbdc4f95.js delete mode 100644 pkg/apiserver-impl/ui/61.021401352c8fac58.js delete mode 100644 pkg/apiserver-impl/ui/612.634d6c1c5de81831.js create mode 100644 pkg/apiserver-impl/ui/627.78bbe1b912458c32.js create mode 100644 pkg/apiserver-impl/ui/633.98936ec9d0fd371a.js create mode 100644 pkg/apiserver-impl/ui/634.b9d30a1327dead79.js create mode 100644 pkg/apiserver-impl/ui/65.6d0e353a29eeab39.js create mode 100644 pkg/apiserver-impl/ui/690.4ed844d0622bcdf0.js delete mode 100644 pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js create mode 100644 pkg/apiserver-impl/ui/728.d855df7b4e9659d2.js create mode 100644 pkg/apiserver-impl/ui/730.d98a298a483060a0.js delete mode 100644 pkg/apiserver-impl/ui/736.6667486e1f659685.js create mode 100644 pkg/apiserver-impl/ui/751.246266f502726002.js create mode 100644 pkg/apiserver-impl/ui/770.b5355903ae187636.js delete mode 100644 pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js delete mode 100644 pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js delete mode 100644 pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js create mode 100644 pkg/apiserver-impl/ui/820.9423629b523fc453.js create mode 100644 pkg/apiserver-impl/ui/831.4ab3ba9ca26fa0f5.js create mode 100644 pkg/apiserver-impl/ui/839.51b43950610b1cc5.js create mode 100644 pkg/apiserver-impl/ui/880.7a4356d9d7293fda.js delete mode 100644 pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js create mode 100644 pkg/apiserver-impl/ui/903.c29428aa95c26108.js delete mode 100644 pkg/apiserver-impl/ui/905.32f9d8e99950acca.js delete mode 100644 pkg/apiserver-impl/ui/911.f351650d584d08a4.js create mode 100644 pkg/apiserver-impl/ui/917.1b3eb8f93ae99c79.js create mode 100644 pkg/apiserver-impl/ui/919.c655383a313f29b4.js delete mode 100644 pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js delete mode 100644 pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js delete mode 100644 pkg/apiserver-impl/ui/97.24bb8167eebd4975.js delete mode 100644 pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js create mode 100644 pkg/apiserver-impl/ui/common.5c8a2e23d554c074.js delete mode 100644 pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js create mode 100644 pkg/apiserver-impl/ui/main.98d110f57059b473.js delete mode 100644 pkg/apiserver-impl/ui/main.d219859caca5567f.js delete mode 100644 pkg/apiserver-impl/ui/runtime.1289ea0acffcdc5e.js create mode 100644 pkg/apiserver-impl/ui/runtime.574fc519230447d5.js diff --git a/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js b/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js deleted file mode 100644 index 7f12054295e..00000000000 --- a/pkg/apiserver-impl/ui/103.a91ee51a71a891e1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[103],{103:(X,T,p)=>{p.r(T),p.d(T,{diagram:()=>B});var k=p(855),F=p(6012),w=p(5703),O=(p(2735),p(1764),function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,i,r,s,b){switch(r){case 1:return i;case 4:break;case 6:i.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var n=[0],i=[],r=[null],s=[],b=this.table,$="",E=0,j=0,W=s.slice.call(arguments,1),o=Object.create(this.lexer),g={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(g.yy[P]=this.yy[P]);o.setInput(t,g.yy),g.yy.lexer=o,g.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var A=o.yylloc;s.push(A);var u,z=o.options&&o.options.ranges;this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var l,_,a,L,I,y,S,v={};;){if(this.defaultActions[_=n[n.length-1]]?a=this.defaultActions[_]:((null===l||typeof l>"u")&&(u=void 0,"number"!=typeof(u=i.pop()||o.lex()||1)&&(u instanceof Array&&(u=(i=u).pop()),u=this.symbols_[u]||u),l=u),a=b[_]&&b[_][l]),typeof a>"u"||!a.length||!a[0]){var M;for(I in S=[],b[_])this.terminals_[I]&&I>2&&S.push("'"+this.terminals_[I]+"'");M=o.showPosition?"Parse error on line "+(E+1)+":\n"+o.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":"Parse error on line "+(E+1)+": Unexpected "+(1==l?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(M,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:A,expected:S})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),s.push(o.yylloc),n.push(a[1]),l=null,j=o.yyleng,$=o.yytext,E=o.yylineno,A=o.yylloc;break;case 2:if(v.$=r[r.length-(y=this.productions_[a[1]][1])],v._$={first_line:s[s.length-(y||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(y||1)].first_column,last_column:s[s.length-1].last_column},z&&(v._$.range=[s[s.length-(y||1)].range[0],s[s.length-1].range[1]]),typeof(L=this.performAction.apply(v,[$,j,E,g.yy,a[1],r,s].concat(W)))<"u")return L;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),s=s.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(v.$),s.push(v._$),n.push(b[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function m(){this.yy={}}return x.lexer={EOF:1,parseError:function(e,n){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,n)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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 r=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===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,i,r){switch(i){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},m.prototype=x,x.Parser=m,new m}());O.parser=O;var R="",D=!1;const B={parser:O,db:{setMessage:h=>{k.l.debug("Setting message to: "+h),R=h},getMessage:()=>R,setInfo:h=>{D=h},getInfo:()=>D,clear:F.f},renderer:{draw:(h,f,x)=>{try{k.l.debug("Rendering info diagram\n"+h);const d=(0,k.g)().securityLevel;let m;"sandbox"===d&&(m=(0,w.Ys)("#i"+f));const t=(0,w.Ys)("sandbox"===d?m.nodes()[0].contentDocument.body:"body").select("#"+f);t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+x),t.attr("height",100),t.attr("width",400)}catch(d){k.l.error("Error while rendering info diagram"),k.l.error(d.message)}}},styles:()=>""}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js b/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js deleted file mode 100644 index 39863f15b6b..00000000000 --- a/pkg/apiserver-impl/ui/11.056f3ebd8a590b3c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[11],{4011:(U,D,u)=>{u.r(D),u.d(D,{diagram:()=>t});var v=u(3612),B=u(5703),y=u(9006),A=u(8814),_=u(855),P=u(5299),W=u(1775);u(6780),u(2735),u(1764);let k={};const x=function(a){const n=Object.entries(k).find(s=>s[1].label===a);if(n)return n[0]},t={parser:v.p,db:v.d,renderer:{draw:function(a,n,s,o){const l=(0,_.g)().class;k={},_.l.info("Rendering diagram "+a);const p=(0,_.g)().securityLevel;let h;"sandbox"===p&&(h=(0,B.Ys)("#i"+n));const M=(0,B.Ys)("sandbox"===p?h.nodes()[0].contentDocument.body:"body"),c=M.select(`[id='${n}']`);!function(a){a.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),a.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(c);const d=new A.k({multigraph:!0});d.setGraph({isMultiGraph:!0}),d.setDefaultEdgeLabel(function(){return{}});const b=o.db.getClasses(),w=Object.keys(b);for(const r of w){const T=P.s.drawClass(c,b[r],l,o);k[T.id]=T,d.setNode(T.id,T),_.l.info("Org height: "+T.height)}o.db.getRelations().forEach(function(r){_.l.info("tjoho"+x(r.id1)+x(r.id2)+JSON.stringify(r)),d.setEdge(x(r.id1),x(r.id2),{relation:r},r.title||"DEFAULT")}),o.db.getNotes().forEach(function(r){_.l.debug(`Adding note: ${JSON.stringify(r)}`);const L=P.s.drawNote(c,r,l,o);k[L.id]=L,d.setNode(L.id,L),r.class&&r.class in b&&d.setEdge(r.id,x(r.class),{relation:{id1:r.id,id2:r.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),(0,y.bK)(d),d.nodes().forEach(function(r){void 0!==r&&void 0!==d.node(r)&&(_.l.debug("Node "+r+": "+JSON.stringify(d.node(r))),M.select("#"+(o.db.lookUpDomId(r)||r)).attr("transform","translate("+(d.node(r).x-d.node(r).width/2)+","+(d.node(r).y-d.node(r).height/2)+" )"))}),d.edges().forEach(function(r){void 0!==r&&void 0!==d.edge(r)&&(_.l.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(d.edge(r))),P.s.drawEdge(c,d.edge(r),d.edge(r).relation,l,o))});const m=c.node().getBBox(),g=m.width+40,E=m.height+40;(0,W.c)(c,E,g,l.useMaxWidth);const f=`${m.x-20} ${m.y-20} ${g} ${E}`;_.l.debug(`viewBox ${f}`),c.attr("viewBox",f)}},styles:v.s,init:a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,v.d.clear()}}},5299:(U,D,u)=>{u.d(D,{p:()=>S,s:()=>I});var v=u(5703),B=u(9111),y=u(855);let A=0;const S=function(e){let a=e.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),n=e.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return a&&!n?R(a):n?H(n):k(e)},R=function(e){let i="",t="";try{let a=e[1]?e[1].trim():"",n=e[2]?e[2].trim():"",s=e[3]?(0,y.p)(e[3].trim()):"",o=e[4]?e[4].trim():"",l=e[5]?e[5].trim():"";t=a+n+s+" "+o,i=x(l)}catch{t=e}return{displayText:t,cssStyle:i}},H=function(e){let i="",t="";try{let a=e[1]?e[1].trim():"",n=e[2]?e[2].trim():"",s=e[3]?(0,y.p)(e[3].trim()):"",o=e[4]?e[4].trim():"";t=a+n+"("+s+")"+(e[5]?" : "+(0,y.p)(e[5]).trim():""),i=x(o)}catch{t=e}return{displayText:t,cssStyle:i}},k=function(e){let i="",t="",a="",n=e.indexOf("("),s=e.indexOf(")");if(n>1&&s>n&&s<=e.length){let o="",l="",p=e.substring(0,1);p.match(/\w/)?l=e.substring(0,n).trim():(p.match(/[#+~-]/)&&(o=p),l=e.substring(1,n).trim());const h=e.substring(n+1,s);e.substring(s+1,1),t=x(e.substring(s+1,s+2)),i=o+l+"("+(0,y.p)(h.trim())+")",s");const M=l.append("tspan").text(h).attr("class","title");p||M.attr("dy",t.textHeight);const c=l.node().getBBox().height,d=o.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),b=o.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");p=!0,i.members.forEach(function(r){O(b,r,p,t),p=!1});const w=b.node().getBBox(),C=o.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+w.height).attr("y2",t.padding+c+t.dividerMargin+w.height),N=o.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+w.height+t.textHeight).attr("fill","white").attr("class","classText");p=!0,i.methods.forEach(function(r){O(N,r,p,t),p=!1});const m=o.node().getBBox();var g=" ";i.cssClasses.length>0&&(g+=i.cssClasses.join(" "));const f=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",g).node().getBBox().width;return l.node().childNodes.forEach(function(r){r.setAttribute("x",(f-r.getBBox().width)/2)}),i.tooltip&&l.insert("title").text(i.tooltip),d.attr("x2",f),C.attr("x2",f),s.width=f,s.height=m.height+t.padding+.5*t.dividerMargin,s},drawEdge:function(e,i,t,a,n){const s=function(g){switch(g){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};i.points=i.points.filter(g=>!Number.isNaN(g.y));const o=i.points,l=(0,v.jvg)().x(function(g){return g.x}).y(function(g){return g.y}).curve(v.$0Z),p=e.append("path").attr("d",l(o)).attr("id","edge"+A).attr("class","relation");let M,c,h="";a.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),1==t.relation.lineType&&p.attr("class","relation dashed-line"),10==t.relation.lineType&&p.attr("class","relation dotted-line"),"none"!==t.relation.type1&&p.attr("marker-start","url("+h+"#"+s(t.relation.type1)+"Start)"),"none"!==t.relation.type2&&p.attr("marker-end","url("+h+"#"+s(t.relation.type2)+"End)");const d=i.points.length;let w,C,N,m,b=B.u.calcLabelPosition(i.points);if(M=b.x,c=b.y,d%2!=0&&d>1){let g=B.u.calcCardinalityPosition("none"!==t.relation.type1,i.points,i.points[0]),E=B.u.calcCardinalityPosition("none"!==t.relation.type2,i.points,i.points[d-1]);y.l.debug("cardinality_1_point "+JSON.stringify(g)),y.l.debug("cardinality_2_point "+JSON.stringify(E)),w=g.x,C=g.y,N=E.x,m=E.y}if(void 0!==t.title){const g=e.append("g").attr("class","classLabel"),E=g.append("text").attr("class","label").attr("x",M).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=E;const f=E.node().getBBox();g.insert("rect",":first-child").attr("class","box").attr("x",f.x-a.padding/2).attr("y",f.y-a.padding/2).attr("width",f.width+a.padding).attr("height",f.height+a.padding)}y.l.info("Rendering relation "+JSON.stringify(t)),void 0!==t.relationTitle1&&"none"!==t.relationTitle1&&e.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",w).attr("y",C).attr("fill","black").attr("font-size","6").text(t.relationTitle1),void 0!==t.relationTitle2&&"none"!==t.relationTitle2&&e.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),A++},drawNote:function(e,i,t,a){y.l.debug("Rendering note ",i,t);const n=i.id,s={id:n,text:i.text,width:0,height:0},o=e.append("g").attr("id",n).attr("class","classGroup");let l=o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const p=JSON.parse(`"${i.text}"`).split("\n");p.forEach(function(d){y.l.debug(`Adding line: ${d}`),l.append("tspan").text(d).attr("class","title").attr("dy",t.textHeight)});const h=o.node().getBBox(),c=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",h.width+2*t.padding).attr("height",h.height+p.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return l.node().childNodes.forEach(function(d){d.setAttribute("x",(c-d.getBBox().width)/2)}),s.width=c,s.height=h.height+p.length*t.textHeight+t.padding+.5*t.dividerMargin,s},parseMember:S}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/165.bde353f44cb7bb78.js b/pkg/apiserver-impl/ui/165.bde353f44cb7bb78.js new file mode 100644 index 00000000000..0a3d98b0a07 --- /dev/null +++ b/pkg/apiserver-impl/ui/165.bde353f44cb7bb78.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[165],{3165:($,M,c)=>{c.r(M),c.d(M,{diagram:()=>K});var w=c(5861),x=c(880),h=c(8586),C=c(8814),t=c(9037),A=c(9547);c(1764),c(6780),c(2735),c(1065),c(317);const m=s=>t.e.sanitizeText(s,(0,t.c)());let T={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const L=function(s,i,r,_,e){const n=Object.keys(s);t.l.info("keys:",n),t.l.info(s),n.filter(l=>s[l].parent==e).forEach(function(l){var d,a;const o=s[l],y=o.cssClasses.join(" "),p=(0,t.k)(o.styles),b={labelStyle:p.labelStyle,shape:"class_box",labelText:m(o.label??o.id),classData:o,rx:0,ry:0,class:y,style:p.style,id:o.id,domId:o.domId,tooltip:_.db.getTooltip(o.id,e)||"",haveCallback:o.haveCallback,link:o.link,width:"group"===o.type?500:void 0,type:o.type,padding:(null==(d=(0,t.c)().flowchart)?void 0:d.padding)??(null==(a=(0,t.c)().class)?void 0:a.padding)};i.setNode(o.id,b),e&&i.setParent(o.id,e),t.l.info("setNode",b)})};function k(s){let i;switch(s){case 0:i="aggregation";break;case 1:i="extension";break;case 2:i="composition";break;case 3:i="dependency";break;case 4:i="lollipop";break;default:i="none"}return i}const K={parser:x.p,db:x.d,renderer:{setConf:function(s){T={...T,...s}},draw:function(){var s=(0,w.Z)(function*(i,r,_,e){t.l.info("Drawing class - ",r);const n=(0,t.c)().flowchart??(0,t.c)().class,l=(0,t.c)().securityLevel;t.l.info("config:",n);const d=n?.nodeSpacing??50,a=n?.rankSpacing??50,o=new C.k({multigraph:!0,compound:!0}).setGraph({rankdir:e.db.getDirection(),nodesep:d,ranksep:a,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=e.db.getNamespaces(),p=e.db.getClasses(),f=e.db.getRelations(),v=e.db.getNotes();let u;t.l.info(f),function(s,i,r,_){const e=Object.keys(s);t.l.info("keys:",e),t.l.info(s),e.forEach(function(n){var l,d;const a=s[n],y={shape:"rect",id:a.id,domId:a.domId,labelText:m(a.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(l=(0,t.c)().flowchart)?void 0:l.padding)??(null==(d=(0,t.c)().class)?void 0:d.padding)};i.setNode(a.id,y),L(a.classes,i,0,_,a.id),t.l.info("setNode",y)})}(y,o,0,e),L(p,o,0,e),function(s,i){const r=(0,t.c)().flowchart;let _=0;s.forEach(function(e){var n;_++;const l={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${_}`,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:k(e.relation.type1),arrowTypeEnd:k(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,t.n)(r?.curve,h.c_6)};if(t.l.info(l,e),void 0!==e.style){const d=(0,t.k)(e.style);l.style=d.style,l.labelStyle=d.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",(null==(n=(0,t.c)().flowchart)?void 0:n.htmlLabels)??(0,t.c)().htmlLabels?(l.labelType="html",l.label=''+e.text+""):(l.labelType="text",l.label=e.text.replace(t.e.lineBreakRegex,"\n"),void 0===e.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),i.setEdge(e.id1,e.id2,l,_)})}(f,o),function(s,i,r,_){t.l.info(s),s.forEach(function(e,n){var l,d;const a=e,u={labelStyle:"",shape:"note",labelText:m(a.text),noteData:a,rx:0,ry:0,class:"",style:"",id:a.id,domId:a.id,tooltip:"",type:"note",padding:(null==(l=(0,t.c)().flowchart)?void 0:l.padding)??(null==(d=(0,t.c)().class)?void 0:d.padding)};if(i.setNode(a.id,u),t.l.info("setNode",u),!a.class||!(a.class in _))return;const b=r+n,g={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,t.n)(T.curve,h.c_6)};i.setEdge(a.id,a.class,g,b)})}(v,o,f.length+1,p),"sandbox"===l&&(u=(0,h.Ys)("#i"+r));const b=(0,h.Ys)("sandbox"===l?u.nodes()[0].contentDocument.body:"body"),g=b.select(`[id="${r}"]`),U=b.select("#"+r+" g");if(yield(0,A.r)(U,o,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",r),t.u.insertTitle(g,"classTitleText",n?.titleTopMargin??5,e.db.getDiagramTitle()),(0,t.o)(o,g,n?.diagramPadding,n?.useMaxWidth),!n?.htmlLabels){const P="sandbox"===l?u.nodes()[0].contentDocument:document,j=P.querySelectorAll('[id="'+r+'"] .edgeLabel .label');for(const D of j){const S=D.getBBox(),E=P.createElementNS("http://www.w3.org/2000/svg","rect");E.setAttribute("rx",0),E.setAttribute("ry",0),E.setAttribute("width",S.width),E.setAttribute("height",S.height),D.insertBefore(E,D.firstChild)}}});return function(r,_,e,n){return s.apply(this,arguments)}}()},styles:x.s,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,x.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/167.17f92c6e702d25df.js b/pkg/apiserver-impl/ui/167.17f92c6e702d25df.js new file mode 100644 index 00000000000..30f85ea3a87 --- /dev/null +++ b/pkg/apiserver-impl/ui/167.17f92c6e702d25df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[167],{8167:(g0,ie,H)=>{H.r(ie),H.d(ie,{diagram:()=>h0});var w=H(9037),Pt=H(8586),ne=H(3118),xe=H(6780),Mt=(H(1764),H(2735),function(){var e=function(Et,b,x,m){for(x=x||{},m=Et.length;m--;x[Et[m]]=b);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],T=[1,30],D=[1,31],P=[1,32],B=[1,33],F=[1,34],q=[1,35],J=[1,36],Z=[1,37],$=[1,38],tt=[1,39],et=[1,40],it=[1,41],nt=[1,42],st=[1,43],at=[1,44],rt=[1,45],lt=[1,46],ot=[1,47],ct=[1,48],ht=[1,50],ut=[1,51],dt=[1,52],ft=[1,53],pt=[1,54],yt=[1,55],gt=[1,56],_t=[1,57],bt=[1,58],xt=[1,59],mt=[1,60],Ot=[14,42],Gt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Dt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],v=[1,82],A=[1,83],k=[1,84],C=[1,85],O=[12,14,42],ye=[12,14,33,42],jt=[12,14,33,42,76,77,79,80],vt=[12,33],Kt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(b,x,m,g,R,u,St){var y=u.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let At={};At[u[y-1].trim()]=u[y].trim(),this.$=At;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{13:70,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{13:71,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{13:72,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{13:73,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{14:[1,74]},e(Ot,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt}),e(Ot,[2,14]),e(Gt,[2,16],{12:[1,76]}),e(Ot,[2,36],{12:[1,77]}),e(Dt,[2,19]),e(Dt,[2,20]),{25:[1,78]},{27:[1,79]},e(Dt,[2,23]),{35:80,75:81,76:v,77:A,79:k,80:C},{35:86,75:81,76:v,77:A,79:k,80:C},{35:87,75:81,76:v,77:A,79:k,80:C},{35:88,75:81,76:v,77:A,79:k,80:C},{35:89,75:81,76:v,77:A,79:k,80:C},{35:90,75:81,76:v,77:A,79:k,80:C},{35:91,75:81,76:v,77:A,79:k,80:C},{35:92,75:81,76:v,77:A,79:k,80:C},{35:93,75:81,76:v,77:A,79:k,80:C},{35:94,75:81,76:v,77:A,79:k,80:C},{35:95,75:81,76:v,77:A,79:k,80:C},{35:96,75:81,76:v,77:A,79:k,80:C},{35:97,75:81,76:v,77:A,79:k,80:C},{35:98,75:81,76:v,77:A,79:k,80:C},{35:99,75:81,76:v,77:A,79:k,80:C},{35:100,75:81,76:v,77:A,79:k,80:C},{35:101,75:81,76:v,77:A,79:k,80:C},{35:102,75:81,76:v,77:A,79:k,80:C},{35:103,75:81,76:v,77:A,79:k,80:C},{35:104,75:81,76:v,77:A,79:k,80:C},e(O,[2,59]),{35:105,75:81,76:v,77:A,79:k,80:C},{35:106,75:81,76:v,77:A,79:k,80:C},{35:107,75:81,76:v,77:A,79:k,80:C},{35:108,75:81,76:v,77:A,79:k,80:C},{35:109,75:81,76:v,77:A,79:k,80:C},{35:110,75:81,76:v,77:A,79:k,80:C},{35:111,75:81,76:v,77:A,79:k,80:C},{35:112,75:81,76:v,77:A,79:k,80:C},{35:113,75:81,76:v,77:A,79:k,80:C},{35:114,75:81,76:v,77:A,79:k,80:C},{35:115,75:81,76:v,77:A,79:k,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt},{12:[1,118],33:[1,117]},{35:119,75:81,76:v,77:A,79:k,80:C},{35:120,75:81,76:v,77:A,79:k,80:C},{35:121,75:81,76:v,77:A,79:k,80:C},{35:122,75:81,76:v,77:A,79:k,80:C},{35:123,75:81,76:v,77:A,79:k,80:C},{35:124,75:81,76:v,77:A,79:k,80:C},{35:125,75:81,76:v,77:A,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ot,[2,15]),e(Gt,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(Ot,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:T,46:D,47:P,48:B,49:F,50:q,51:J,52:Z,53:$,54:tt,55:et,56:it,57:nt,58:st,59:at,60:rt,61:lt,62:ot,63:ct,64:ht,65:ut,66:dt,67:ft,68:pt,69:yt,70:gt,71:_t,72:bt,73:xt,74:mt}),e(Dt,[2,21]),e(Dt,[2,22]),e(O,[2,39]),e(ye,[2,71],{75:81,35:132,76:v,77:A,79:k,80:C}),e(jt,[2,73]),{78:[1,133]},e(jt,[2,75]),e(jt,[2,76]),e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),e(O,[2,47]),e(O,[2,48]),e(O,[2,49]),e(O,[2,50]),e(O,[2,51]),e(O,[2,52]),e(O,[2,53]),e(O,[2,54]),e(O,[2,55]),e(O,[2,56]),e(O,[2,57]),e(O,[2,58]),e(O,[2,60]),e(O,[2,61]),e(O,[2,62]),e(O,[2,63]),e(O,[2,64]),e(O,[2,65]),e(O,[2,66]),e(O,[2,67]),e(O,[2,68]),e(O,[2,69]),e(O,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Gt,[2,18]),e(Ot,[2,38]),e(ye,[2,72]),e(jt,[2,74]),e(O,[2,24]),e(O,[2,35]),e(Kt,[2,25]),e(Kt,[2,26],{12:[1,138]}),e(Kt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(b,x){if(!x.recoverable){var m=new Error(b);throw m.hash=x,m}this.trace(b)},parse:function(b){var m=[0],g=[],R=[null],u=[],St=this.table,y="",At=0,ge=0,f0=u.slice.call(arguments,1),S=Object.create(this.lexer),kt={yy:{}};for(var Zt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Zt)&&(kt.yy[Zt]=this.yy[Zt]);S.setInput(b,kt.yy),kt.yy.lexer=S,kt.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var $t=S.yylloc;u.push($t);var Q,p0=S.options&&S.options.ranges;this.parseError="function"==typeof kt.yy.parseError?kt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var L,Ct,N,te,Ut,z,Ft,Tt={};;){if(this.defaultActions[Ct=m[m.length-1]]?N=this.defaultActions[Ct]:((null===L||typeof L>"u")&&(Q=void 0,"number"!=typeof(Q=g.pop()||S.lex()||1)&&(Q instanceof Array&&(Q=(g=Q).pop()),Q=this.symbols_[Q]||Q),L=Q),N=St[Ct]&&St[Ct][L]),typeof N>"u"||!N.length||!N[0]){var ee;for(Ut in Ft=[],St[Ct])this.terminals_[Ut]&&Ut>2&&Ft.push("'"+this.terminals_[Ut]+"'");ee=S.showPosition?"Parse error on line "+(At+1)+":\n"+S.showPosition()+"\nExpecting "+Ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":"Parse error on line "+(At+1)+": Unexpected "+(1==L?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ee,{text:S.match,token:this.terminals_[L]||L,line:S.yylineno,loc:$t,expected:Ft})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ct+", token: "+L);switch(N[0]){case 1:m.push(L),R.push(S.yytext),u.push(S.yylloc),m.push(N[1]),L=null,ge=S.yyleng,y=S.yytext,At=S.yylineno,$t=S.yylloc;break;case 2:if(Tt.$=R[R.length-(z=this.productions_[N[1]][1])],Tt._$={first_line:u[u.length-(z||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(z||1)].first_column,last_column:u[u.length-1].last_column},p0&&(Tt._$.range=[u[u.length-(z||1)].range[0],u[u.length-1].range[1]]),typeof(te=this.performAction.apply(Tt,[y,ge,At,kt.yy,N[1],R,u].concat(f0)))<"u")return te;z&&(m=m.slice(0,-1*z*2),R=R.slice(0,-1*z),u=u.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),R.push(Tt.$),u.push(Tt._$),m.push(St[m[m.length-2]][m[m.length-1]]);break;case 3:return!0}}return!0}};function Jt(){this.yy={}}return qt.lexer={EOF:1,parseError:function(x,m){if(!this.yy.parser)throw new Error(x);this.yy.parser.parseError(x,m)},setInput:function(b,x){return this.yy=x||this.yy||{},this._input=b,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},input:function(){var b=this._input[0];return this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b,b.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),b},unput:function(b){var x=b.length,m=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;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),m.length-1&&(this.yylineno-=m.length-1);var R=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:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),x=new Array(b.length+1).join("-");return b+this.upcomingInput()+"\n"+x+"^"},test_match:function(b,x){var m,g,R;if(this.options.backtrack_lexer&&(R={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&&(R.yylloc.range=this.yylloc.range.slice(0))),(g=b[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+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var u in R)this[u]=R[u];return!1}return!1},next:function(){if(this.done)return this.EOF;var b,x,m,g;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),u=0;ux[0].length)){if(x=m,g=u,this.options.backtrack_lexer){if(!1!==(b=this.test_match(m,R[u])))return b;if(this._backtrack){x=!1;continue}return!1}if(!this.options.flex)break}return x?!1!==(b=this.test_match(x,R[g]))&&b:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return(x=this.conditionStack.length-1-Math.abs(x||0))>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,g,R){switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}},Jt.prototype=qt,qt.Parser=Jt,new Jt}());Mt.parser=Mt;const me=Mt;let Y=[],G=[""],M="global",j="",V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],wt=[],Vt="",Wt=!1,Lt=4,Bt=2;var se;const ae=function(e){return null==e?Y:Y.filter(t=>t.parentBoundary===e)},re=function(e){return null==e?V:V.filter(t=>t.parentBoundary===e)},K=function(){return Wt},Xt={addPersonOrSystem:function(e,t,a,o,l,i,s){if(null===t||null===a)return;let r={};const n=Y.find(h=>h.alias===t);if(n&&t===n.alias?r=n:(r.alias=t,Y.push(r)),r.label=null==a?{text:""}:{text:a},null==o)r.descr={text:""};else if("object"==typeof o){let[h,f]=Object.entries(o)[0];r[h]={text:f}}else r.descr={text:o};if("object"==typeof l){let[h,f]=Object.entries(l)[0];r[h]=f}else r.sprite=l;if("object"==typeof i){let[h,f]=Object.entries(i)[0];r[h]=f}else r.tags=i;if("object"==typeof s){let[h,f]=Object.entries(s)[0];r[h]=f}else r.link=s;r.typeC4Shape={text:e},r.parentBoundary=M,r.wrap=K()},addPersonOrSystemBoundary:function(e,t,a,o,l){if(null===e||null===t)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),i.label=null==t?{text:""}:{text:t},null==a)i.type={text:"system"};else if("object"==typeof a){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if("object"==typeof o){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if("object"==typeof l){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=K(),j=M,M=e,G.push(j)},addContainer:function(e,t,a,o,l,i,s,r){if(null===t||null===a)return;let n={};const h=Y.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,Y.push(n)),n.label=null==a?{text:""}:{text:a},null==o)n.techn={text:""};else if("object"==typeof o){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(null==l)n.descr={text:""};else if("object"==typeof l){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if("object"==typeof i){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if("object"==typeof s){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if("object"==typeof r){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=K(),n.typeC4Shape={text:e},n.parentBoundary=M},addContainerBoundary:function(e,t,a,o,l){if(null===e||null===t)return;let i={};const s=V.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,V.push(i)),i.label=null==t?{text:""}:{text:t},null==a)i.type={text:"container"};else if("object"==typeof a){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if("object"==typeof o){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if("object"==typeof l){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=K(),j=M,M=e,G.push(j)},addComponent:function(e,t,a,o,l,i,s,r){if(null===t||null===a)return;let n={};const h=Y.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,Y.push(n)),n.label=null==a?{text:""}:{text:a},null==o)n.techn={text:""};else if("object"==typeof o){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(null==l)n.descr={text:""};else if("object"==typeof l){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if("object"==typeof i){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if("object"==typeof s){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if("object"==typeof r){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=K(),n.typeC4Shape={text:e},n.parentBoundary=M},addDeploymentNode:function(e,t,a,o,l,i,s,r){if(null===t||null===a)return;let n={};const h=V.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,V.push(n)),n.label=null==a?{text:""}:{text:a},null==o)n.type={text:"node"};else if("object"==typeof o){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.type={text:o};if(null==l)n.descr={text:""};else if("object"==typeof l){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if("object"==typeof s){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if("object"==typeof r){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.nodeType=e,n.parentBoundary=M,n.wrap=K(),j=M,M=t,G.push(j)},popBoundaryParseStack:function(){M=j,G.pop(),j=G.pop(),G.push(j)},addRel:function(e,t,a,o,l,i,s,r,n){if(null==e||null==t||null==a||null==o)return;let h={};const f=wt.find(d=>d.from===t&&d.to===a);if(f?h=f:wt.push(h),h.type=e,h.from=t,h.to=a,h.label={text:o},null==l)h.techn={text:""};else if("object"==typeof l){let[d,p]=Object.entries(l)[0];h[d]={text:p}}else h.techn={text:l};if(null==i)h.descr={text:""};else if("object"==typeof i){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.descr={text:i};if("object"==typeof s){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if("object"==typeof r){let[d,p]=Object.entries(r)[0];h[d]=p}else h.tags=r;if("object"==typeof n){let[d,p]=Object.entries(n)[0];h[d]=p}else h.link=n;h.wrap=K()},updateElStyle:function(e,t,a,o,l,i,s,r,n,h,f){let d=Y.find(p=>p.alias===t);if(void 0!==d||(d=V.find(p=>p.alias===t),void 0!==d)){if(null!=a)if("object"==typeof a){let[p,E]=Object.entries(a)[0];d[p]=E}else d.bgColor=a;if(null!=o)if("object"==typeof o){let[p,E]=Object.entries(o)[0];d[p]=E}else d.fontColor=o;if(null!=l)if("object"==typeof l){let[p,E]=Object.entries(l)[0];d[p]=E}else d.borderColor=l;if(null!=i)if("object"==typeof i){let[p,E]=Object.entries(i)[0];d[p]=E}else d.shadowing=i;if(null!=s)if("object"==typeof s){let[p,E]=Object.entries(s)[0];d[p]=E}else d.shape=s;if(null!=r)if("object"==typeof r){let[p,E]=Object.entries(r)[0];d[p]=E}else d.sprite=r;if(null!=n)if("object"==typeof n){let[p,E]=Object.entries(n)[0];d[p]=E}else d.techn=n;if(null!=h)if("object"==typeof h){let[p,E]=Object.entries(h)[0];d[p]=E}else d.legendText=h;if(null!=f)if("object"==typeof f){let[p,E]=Object.entries(f)[0];d[p]=E}else d.legendSprite=f}},updateRelStyle:function(e,t,a,o,l,i,s){const r=wt.find(n=>n.from===t&&n.to===a);if(void 0!==r){if(null!=o)if("object"==typeof o){let[n,h]=Object.entries(o)[0];r[n]=h}else r.textColor=o;if(null!=l)if("object"==typeof l){let[n,h]=Object.entries(l)[0];r[n]=h}else r.lineColor=l;if(null!=i)if("object"==typeof i){let[n,h]=Object.entries(i)[0];r[n]=parseInt(h)}else r.offsetX=parseInt(i);if(null!=s)if("object"==typeof s){let[n,h]=Object.entries(s)[0];r[n]=parseInt(h)}else r.offsetY=parseInt(s)}},updateLayoutConfig:function(e,t,a){let o=Lt,l=Bt;if("object"==typeof t){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if("object"==typeof a){const i=Object.values(a)[0];l=parseInt(i)}else l=parseInt(a);o>=1&&(Lt=o),l>=1&&(Bt=l)},autoWrap:K,setWrap:function(e){Wt=e},getC4ShapeArray:ae,getC4Shape:function(e){return Y.find(t=>t.alias===e)},getC4ShapeKeys:function(e){return Object.keys(ae(e))},getBoundaries:re,getBoundarys:re,getCurrentBoundaryParse:function(){return M},getParentBoundaryParse:function(){return j},getRels:function(){return wt},getTitle:function(){return Vt},getC4Type:function(){return se},getC4ShapeInRow:function(){return Lt},getC4BoundaryInRow:function(){return Bt},setAccTitle:w.s,getAccTitle:w.g,getAccDescription:w.a,setAccDescription:w.b,getConfig:()=>(0,w.c)().c4,clear:function(){Y=[],V=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],j="",M="global",G=[""],wt=[],G=[""],Vt="",Wt=!1,Lt=4,Bt=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(e){Vt=(0,w.d)(e,(0,w.c)())},setC4Type:function(e){se=(0,w.d)(e,(0,w.c)())}},zt=function(e,t){return(0,ne.d)(e,t)},X=function(){function e(l,i,s,r,n,h,f){o(i.append("text").attr("x",s+n/2).attr("y",r+h/2+5).style("text-anchor","middle").text(l),f)}function t(l,i,s,r,n,h,f,d){const{fontSize:p,fontFamily:E,fontWeight:T}=d,D=l.split(w.e.lineBreakRegex);for(let P=0;P({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}))(a,t.typeC4Shape.text);switch(n.append("text").attr("fill",s).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":!function(e,t,a,o,l,i){const s=e.append("image");s.attr("width",t),s.attr("height",a),s.attr("x",o),s.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:(0,xe.N)(i);s.attr("xlink:href",r)}(n,48,48,t.x+t.width/2-24,t.y+t.image.Y,r)}let d=a[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,X(a)(t.label.text,n,t.x,t.y+t.label.Y,t.width,t.height,{fill:s},d),d=a[t.typeC4Shape.text+"Font"](),d.fontColor=s,t.techn&&""!==(null==(o=t.techn)?void 0:o.text)?X(a)(t.techn.text,n,t.x,t.y+t.techn.Y,t.width,t.height,{fill:s,"font-style":"italic"},d):t.type&&""!==t.type.text&&X(a)(t.type.text,n,t.x,t.y+t.type.Y,t.width,t.height,{fill:s,"font-style":"italic"},d),t.descr&&""!==t.descr.text&&(d=a.personFont(),d.fontColor=s,X(a)(t.descr.text,n,t.x,t.y+t.descr.Y,t.width,t.height,{fill:s},d)),t.height};let It=0,Nt=0,oe=4,Qt=2;Mt.yy=Xt;let _={};class ce{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,Ht(t.db.getConfig())}setData(t,a,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=a,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,a,o,l){t[a]=void 0===t[a]?o:l(o,t[a])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let a=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,o=a+t.width,l=this.nextData.starty+2*t.margin,i=l+t.height;(a>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>oe)&&(a=this.nextData.startx+t.margin+_.nextLinePaddingX,l=this.nextData.stopy+2*t.margin,this.nextData.stopx=o=a+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=a,t.y=l,this.updateVal(this.data,"startx",a,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",a,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},Ht(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const Ht=function(e){(0,w.f)(_,e),e.fontFamily&&(_.personFontFamily=_.systemFontFamily=_.messageFontFamily=e.fontFamily),e.fontSize&&(_.personFontSize=_.systemFontSize=_.messageFontSize=e.fontSize),e.fontWeight&&(_.personFontWeight=_.systemFontWeight=_.messageFontWeight=e.fontWeight)},Rt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Yt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),l0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function U(e,t,a,o,l){if(!t[e].width)if(a)t[e].text=(0,w.w)(t[e].text,l,o),t[e].textLines=t[e].text.split(w.e.lineBreakRegex).length,t[e].width=l,t[e].height=(0,w.j)(t[e].text,o);else{let i=t[e].text.split(w.e.lineBreakRegex);t[e].textLines=i.length;let s=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max((0,w.h)(r,o),t[e].width),s=(0,w.j)(r,o),t[e].height=t[e].height+s}}const he=function(e,t,a){t.x=a.data.startx,t.y=a.data.starty,t.width=a.data.stopx-a.data.startx,t.height=a.data.stopy-a.data.starty,t.label.y=_.c4ShapeMargin-35;let o=t.wrap&&_.wrap,l=Yt(_);l.fontSize=l.fontSize+2,l.fontWeight="bold",U("label",t,o,l,(0,w.h)(t.label.text,l)),function(e,t,a){const o=e.append("g");let s=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1}),zt(o,{x:t.x,y:t.y,fill:t.bgColor?t.bgColor:"none",stroke:t.borderColor?t.borderColor:"#444444",width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r});let h=a.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,X(a)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},h),t.type&&""!==t.type.text&&(h=a.boundaryFont(),h.fontColor=s,X(a)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},h)),t.descr&&""!==t.descr.text&&(h=a.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,X(a)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},h))}(e,t,_)},ue=function(e,t,a,o){let l=0;for(const i of o){l=0;const s=a[i];let r=Rt(_,s.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,s.typeC4Shape.width=(0,w.h)("\xab"+s.typeC4Shape.text+"\xbb",r),s.typeC4Shape.height=r.fontSize+2,s.typeC4Shape.Y=_.c4ShapePadding,l=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height);let n=s.wrap&&_.wrap,h=_.width-2*_.c4ShapePadding,f=Rt(_,s.typeC4Shape.text);f.fontSize=f.fontSize+2,f.fontWeight="bold",U("label",s,n,f,h),s.label.Y=l+8,l=s.label.Y+s.label.height,s.type&&""!==s.type.text?(s.type.text="["+s.type.text+"]",U("type",s,n,Rt(_,s.typeC4Shape.text),h),s.type.Y=l+5,l=s.type.Y+s.type.height):s.techn&&""!==s.techn.text&&(s.techn.text="["+s.techn.text+"]",U("techn",s,n,Rt(_,s.techn.text),h),s.techn.Y=l+5,l=s.techn.Y+s.techn.height);let d=l,p=s.label.width;s.descr&&""!==s.descr.text&&(U("descr",s,n,Rt(_,s.typeC4Shape.text),h),s.descr.Y=l+20,l=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=l-5*s.descr.textLines),p+=_.c4ShapePadding,s.width=Math.max(s.width||_.width,p,_.width),s.height=Math.max(s.height||_.height,d,_.height),s.margin=s.margin||_.c4ShapeMargin,e.insert(s),W_drawC4Shape(t,s,_)}e.bumpLastMargin(_.c4ShapeMargin)};class I{constructor(t,a){this.x=t,this.y=a}}let de=function(e,t){let a=e.x,o=e.y,l=t.x,i=t.y,s=a+e.width/2,r=o+e.height/2,n=Math.abs(a-l),h=Math.abs(o-i),f=h/n,d=e.height/e.width,p=null;return o==i&&al?p=new I(a,r):a==l&&oi&&(p=new I(s,o)),a>l&&o=f?new I(a,r+f*e.width/2):new I(s-n/h*e.height/2,o+e.height):a=f?new I(a+e.width,r+f*e.width/2):new I(s+n/h*e.height/2,o+e.height):ai?p=d>=f?new I(a+e.width,r-f*e.width/2):new I(s+e.height/2*n/h,o):a>l&&o>i&&(p=d>=f?new I(a,r-e.width/2*f):new I(s-e.height/2*n/h,o)),p},o0=function(e,t){let a={x:0,y:0};a.x=t.x+t.width/2,a.y=t.y+t.height/2;let o=de(e,a);return a.x=e.x+e.width/2,a.y=e.y+e.height/2,{startPoint:o,endPoint:de(t,a)}};function fe(e,t,a,o,l){let i=new ce(l);i.data.widthLimit=a.data.widthLimit/Math.min(Qt,o.length);for(let[s,r]of o.entries()){let n=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=n,n=r.image.Y+r.image.height);let h=r.wrap&&_.wrap,f=Yt(_);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",U("label",r,h,f,i.data.widthLimit),r.label.Y=n+8,n=r.label.Y+r.label.height,r.type&&""!==r.type.text&&(r.type.text="["+r.type.text+"]",U("type",r,h,Yt(_),i.data.widthLimit),r.type.Y=n+5,n=r.type.Y+r.type.height),r.descr&&""!==r.descr.text){let T=Yt(_);T.fontSize=T.fontSize-2,U("descr",r,h,T,i.data.widthLimit),r.descr.Y=n+20,n=r.descr.Y+r.descr.height}if(0==s||s%Qt==0){let T=a.data.startx+_.diagramMarginX,D=a.data.stopy+_.diagramMarginY+n;i.setData(T,T,D,D)}else{let T=i.data.stopx!==i.data.startx?i.data.stopx+_.diagramMarginX:i.data.startx,D=i.data.starty;i.setData(T,T,D,D)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&ue(i,e,d,p);let E=l.db.getBoundarys(t=r.alias);E.length>0&&fe(e,t,i,E,l),"global"!==r.alias&&he(e,r,i),a.data.stopy=Math.max(i.data.stopy+_.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(i.data.stopx+_.c4ShapeMargin,a.data.stopx),It=Math.max(It,a.data.stopx),Nt=Math.max(Nt,a.data.stopy)}}const pe={drawPersonOrSystemArray:ue,drawBoundary:he,setConf:Ht,draw:function(e,t,a,o){_=(0,w.c)().c4;const l=(0,w.c)().securityLevel;let i;"sandbox"===l&&(i=(0,Pt.Ys)("#i"+t));const s=(0,Pt.Ys)("sandbox"===l?i.nodes()[0].contentDocument.body:"body");let r=o.db;o.db.setWrap(_.wrap),oe=r.getC4ShapeInRow(),Qt=r.getC4BoundaryInRow(),w.l.debug(`C:${JSON.stringify(_,null,2)}`);const n="sandbox"===l?s.select(`[id="${t}"]`):(0,Pt.Ys)(`[id="${t}"]`);(function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")})(n),function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(n),function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(n);let h=new ce(o);h.setData(_.diagramMarginX,_.diagramMarginX,_.diagramMarginY,_.diagramMarginY),h.data.widthLimit=screen.availWidth,It=_.diagramMarginX,Nt=_.diagramMarginY;const f=o.db.getTitle();fe(n,"",h,o.db.getBoundarys(""),o),function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(n),function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(n),function(e){const a=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(n),function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(n),function(e,t,a,o){let l=0;for(let i of t){l+=1;let s=i.wrap&&_.wrap,r=l0(_);"C4Dynamic"===o.db.getC4Type()&&(i.label.text=l+": "+i.label.text);let h=(0,w.h)(i.label.text,r);U("label",i,s,r,h),i.techn&&""!==i.techn.text&&(h=(0,w.h)(i.techn.text,r),U("techn",i,s,r,h)),i.descr&&""!==i.descr.text&&(h=(0,w.h)(i.descr.text,r),U("descr",i,s,r,h));let f=a(i.from),d=a(i.to),p=o0(f,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}((e,t,a)=>{const o=e.append("g");let l=0;for(let i of t){let s=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",n=i.offsetX?parseInt(i.offsetX):0,h=i.offsetY?parseInt(i.offsetY):0,f="";if(0===l){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),"rel_b"!==i.type&&p.attr("marker-end","url("+f+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+f+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),"rel_b"!==i.type&&p.attr("marker-end","url("+f+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+f+"#arrowend)")}let d=a.messageFont();X(a)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+h,i.label.width,i.label.height,{fill:s},d),i.techn&&""!==i.techn.text&&(d=a.messageFont(),X(a)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+a.messageFontSize+5+h,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:s,"font-style":"italic"},d))}})(e,t,_)}(n,o.db.getRels(),o.db.getC4Shape,o),h.data.stopx=It,h.data.stopy=Nt;const p=h.data;let T=p.stopy-p.starty+2*_.diagramMarginY;const P=p.stopx-p.startx+2*_.diagramMarginX;f&&n.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*_.diagramMarginX).attr("y",p.starty+_.diagramMarginY),(0,w.i)(n,T,P,_.useMaxWidth);const B=f?60:0;n.attr("viewBox",p.startx-_.diagramMarginX+" -"+(_.diagramMarginY+B)+" "+P+" "+(T+B)),w.l.debug("models:",p)}},h0={parser:me,db:Xt,renderer:pe,styles:e=>`.person {\n stroke: ${e.personBorder};\n fill: ${e.personBkg};\n }\n`,init:({c4:e,wrap:t})=>{pe.setConf(e),Xt.setWrap(t)}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/233.a9d4b21b1685eaf7.js b/pkg/apiserver-impl/ui/233.a9d4b21b1685eaf7.js new file mode 100644 index 00000000000..5763639ed19 --- /dev/null +++ b/pkg/apiserver-impl/ui/233.a9d4b21b1685eaf7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[233],{2233:(Y,N,f)=>{f.r(N),f.d(N,{diagram:()=>U});var k=f(880),w=f(8586),S=f(1065),H=f(8814),s=f(9037);f(1764),f(6780),f(2735);let O=0;const C=function(i,a,t,l){const{displayText:p,cssStyle:c}=a.getDisplayDetails(),o=i.append("tspan").attr("x",l.padding).text(p);""!==c&&o.attr("style",a.cssStyle),t||o.attr("dy",l.textHeight)},v_drawClass=function(i,a,t,l){s.l.debug("Rendering class ",a,t);const p=a.id,c={id:p,label:a.id,width:0,height:0},o=i.append("g").attr("id",l.db.lookUpDomId(p)).attr("class","classGroup");let h;h=a.link?o.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const g=h.append("tspan").text("\xab"+d+"\xbb");n||g.attr("dy",t.textHeight),n=!1});let r=function(i){let a=i.id;return i.type&&(a+="<"+(0,s.x)(i.type)+">"),a}(a);const E=h.append("tspan").text(r).attr("class","title");n||E.attr("dy",t.textHeight);const x=h.node().getBBox().height;let y,b,u;if(a.members.length>0){y=o.append("line").attr("x1",0).attr("y1",t.padding+x+t.dividerMargin/2).attr("y2",t.padding+x+t.dividerMargin/2);const d=o.append("text").attr("x",t.padding).attr("y",x+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(g){C(d,g,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){u=o.append("line").attr("x1",0).attr("y1",t.padding+x+t.dividerMargin+b.height).attr("y2",t.padding+x+t.dividerMargin+b.height);const d=o.append("text").attr("x",t.padding).attr("y",x+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(g){C(d,g,n,t),n=!1})}const _=o.node().getBBox();var m=" ";a.cssClasses.length>0&&(m+=a.cssClasses.join(" "));const e=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",_.width+2*t.padding).attr("height",_.height+t.padding+.5*t.dividerMargin).attr("class",m).node().getBBox().width;return h.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&h.insert("title").text(a.tooltip),y&&y.attr("x2",e),u&&u.attr("x2",e),c.width=e,c.height=_.height+t.padding+.5*t.dividerMargin,c};let T={};const L=function(i){const a=Object.entries(T).find(t=>t[1].label===i);if(a)return a[0]},U={parser:k.p,db:k.d,renderer:{draw:function(i,a,t,l){const p=(0,s.c)().class;T={},s.l.info("Rendering diagram "+i);const c=(0,s.c)().securityLevel;let o;"sandbox"===c&&(o=(0,w.Ys)("#i"+a));const h=(0,w.Ys)("sandbox"===c?o.nodes()[0].contentDocument.body:"body"),n=h.select(`[id='${a}']`);!function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(n);const r=new H.k({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const E=l.db.getClasses(),x=Object.keys(E);for(const e of x){const g=v_drawClass(n,E[e],p,l);T[g.id]=g,r.setNode(g.id,g),s.l.info("Org height: "+g.height)}l.db.getRelations().forEach(function(e){s.l.info("tjoho"+L(e.id1)+L(e.id2)+JSON.stringify(e)),r.setEdge(L(e.id1),L(e.id2),{relation:e},e.title||"DEFAULT")}),l.db.getNotes().forEach(function(e){s.l.debug(`Adding note: ${JSON.stringify(e)}`);const d=function(i,a,t,l){s.l.debug("Rendering note ",a,t);const p=a.id,c={id:p,text:a.text,width:0,height:0},o=i.append("g").attr("id",p).attr("class","classGroup");let h=o.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split("\n");n.forEach(function(y){s.l.debug(`Adding line: ${y}`),h.append("tspan").text(y).attr("class","title").attr("dy",t.textHeight)});const r=o.node().getBBox(),x=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return h.node().childNodes.forEach(function(y){y.setAttribute("x",(x-y.getBBox().width)/2)}),c.width=x,c.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,c}(n,e,p);T[d.id]=d,r.setNode(d.id,d),e.class&&e.class in E&&r.setEdge(e.id,L(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),(0,S.bK)(r),r.nodes().forEach(function(e){void 0!==e&&void 0!==r.node(e)&&(s.l.debug("Node "+e+": "+JSON.stringify(r.node(e))),h.select("#"+(l.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){void 0!==e&&void 0!==r.edge(e)&&(s.l.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),function(i,a,t,l,p){const c=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(e=>!Number.isNaN(e.y));const o=a.points,h=(0,w.jvg)().x(function(e){return e.x}).y(function(e){return e.y}).curve(w.$0Z),n=i.append("path").attr("d",h(o)).attr("id","edge"+O).attr("class","relation");let E,x,r="";l.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),1==t.relation.lineType&&n.attr("class","relation dashed-line"),10==t.relation.lineType&&n.attr("class","relation dotted-line"),"none"!==t.relation.type1&&n.attr("marker-start","url("+r+"#"+c(t.relation.type1)+"Start)"),"none"!==t.relation.type2&&n.attr("marker-end","url("+r+"#"+c(t.relation.type2)+"End)");const y=a.points.length;let u,_,m,M,b=s.u.calcLabelPosition(a.points);if(E=b.x,x=b.y,y%2!=0&&y>1){let e=s.u.calcCardinalityPosition("none"!==t.relation.type1,a.points,a.points[0]),d=s.u.calcCardinalityPosition("none"!==t.relation.type2,a.points,a.points[y-1]);s.l.debug("cardinality_1_point "+JSON.stringify(e)),s.l.debug("cardinality_2_point "+JSON.stringify(d)),u=e.x,_=e.y,m=d.x,M=d.y}if(void 0!==t.title){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",E).attr("y",x).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const g=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",g.x-l.padding/2).attr("y",g.y-l.padding/2).attr("width",g.width+l.padding).attr("height",g.height+l.padding)}s.l.info("Rendering relation "+JSON.stringify(t)),void 0!==t.relationTitle1&&"none"!==t.relationTitle1&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",_).attr("fill","black").attr("font-size","6").text(t.relationTitle1),void 0!==t.relationTitle2&&"none"!==t.relationTitle2&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",M).attr("fill","black").attr("font-size","6").text(t.relationTitle2),O++}(n,r.edge(e),r.edge(e).relation,p,l))});const u=n.node().getBBox(),_=u.width+40,m=u.height+40;(0,s.i)(n,m,_,p.useMaxWidth);const M=`${u.x-20} ${u.y-20} ${_} ${m}`;s.l.debug(`viewBox ${M}`),n.attr("viewBox",M)}},styles:k.s,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,k.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/270.3930e48419f47a91.js b/pkg/apiserver-impl/ui/270.3930e48419f47a91.js new file mode 100644 index 00000000000..2550714fc8e --- /dev/null +++ b/pkg/apiserver-impl/ui/270.3930e48419f47a91.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[270],{1270:(se,J,w)=>{w.r(J),w.d(J,{diagram:()=>ne}),w(5861);var W=w(5609);w(8814),w(8586),w(9037),w(6947),w(3233),w(6391),w(1065),w(6257),w(3057),w(8917),w(1256),w(6264);var rt=w(4455);w(1764),w(6780),w(2735),w(317);const pt={},ne={parser:W.p,db:W.f,renderer:rt.f,styles:rt.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,function(r){const e=Object.keys(r);for(const t of e)pt[t]=r[t]}(r.flowchart),W.f.clear(),W.f.setGen("gen-1")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js b/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js deleted file mode 100644 index 719ea4be4d9..00000000000 --- a/pkg/apiserver-impl/ui/276.9f963a0fd1365056.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[276],{9276:(yt,fe,T)=>{T.r(fe),T.d(fe,{diagram:()=>ut});var q=T(855),Me=T(4169),G=T(6012),Z=T(5703),Ce=T(9006),we=T(8814),$e=T(1775),le=(T(2735),T(1764),T(6780),function(){var e=function(C,r,s,l){for(s=s||{},l=C.length;l--;s[C[l]]=r);return s},t=[1,3],a=[1,5],c=[1,6],d=[1,7],u=[1,8],_=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],h=[1,22],o=[2,13],y=[1,26],R=[1,27],x=[1,28],S=[1,29],v=[1,30],A=[1,31],O=[1,24],N=[1,32],D=[1,33],be=[1,36],U=[71,72],Te=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],ke=[1,56],Se=[1,57],ve=[1,58],Ne=[1,59],xe=[1,60],Ae=[1,61],Oe=[1,62],w=[62,63],B=[1,74],Y=[1,70],W=[1,71],K=[1,72],Q=[1,73],H=[1,75],ee=[1,79],te=[1,80],ie=[1,77],re=[1,78],I=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],he={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(r,s,l,i,E,n,J){var p=n.length-1;switch(E){case 6:this.$=n[p].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=n[p].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(n[p],"type_directive");break;case 11:n[p]=n[p].trim().replace(/'/g,'"'),i.parseDirective(n[p],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(n[p-3],n[p-4]);break;case 20:i.setNewReqId(n[p-2]);break;case 21:i.setNewReqText(n[p-2]);break;case 22:i.setNewReqRisk(n[p-2]);break;case 23:i.setNewReqVerifyMethod(n[p-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(n[p-3]);break;case 40:i.setNewElementType(n[p-2]);break;case 41:i.setNewElementDocRef(n[p-2]);break;case 44:i.addRelationship(n[p-2],n[p],n[p-4]);break;case 45:i.addRelationship(n[p-2],n[p-4],n[p]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:a,16:c,18:d,19:u},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(_,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[2,2]},{4:21,5:h,7:17,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{11:34,12:[1,35],22:be},e([12,22],[2,10]),e(_,[2,6]),e(_,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:h,7:38,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:39,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:40,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:41,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{4:21,5:h,7:42,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:y,41:R,42:x,43:S,44:v,45:A,53:O,71:N,72:D},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(U,[2,26]),e(U,[2,27]),e(U,[2,28]),e(U,[2,29]),e(U,[2,30]),e(U,[2,31]),e(Te,[2,55]),e(Te,[2,56]),e(_,[2,4]),{13:51,21:[1,52]},e(_,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:ke,65:Se,66:ve,67:Ne,68:xe,69:Ae,70:Oe},{61:63,64:ke,65:Se,66:ve,67:Ne,68:xe,69:Ae,70:Oe},{11:64,22:be},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),{63:[1,68]},e(_,[2,5]),{5:B,29:69,30:Y,33:W,35:K,37:Q,39:H},{5:ee,39:te,55:76,56:ie,58:re},{32:81,71:N,72:D},{32:82,71:N,72:D},e(I,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:B,29:87,30:Y,33:W,35:K,37:Q,39:H},e(I,[2,25]),e(I,[2,39]),{31:[1,88]},{31:[1,89]},{5:ee,39:te,55:90,56:ie,58:re},e(I,[2,43]),e(I,[2,44]),e(I,[2,45]),{32:91,71:N,72:D},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(I,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(I,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:B,29:116,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:117,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:118,30:Y,33:W,35:K,37:Q,39:H},{5:B,29:119,30:Y,33:W,35:K,37:Q,39:H},{5:ee,39:te,55:120,56:ie,58:re},{5:ee,39:te,55:121,56:ie,58:re},e(I,[2,20]),e(I,[2,21]),e(I,[2,22]),e(I,[2,23]),e(I,[2,40]),e(I,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(r,s){if(!s.recoverable){var l=new Error(r);throw l.hash=s,l}this.trace(r)},parse:function(r){var l=[0],i=[],E=[null],n=[],J=this.table,p="",ne=0,De=0,pt=n.slice.call(arguments,1),g=Object.create(this.lexer),$={yy:{}};for(var de in this.yy)Object.prototype.hasOwnProperty.call(this.yy,de)&&($.yy[de]=this.yy[de]);g.setInput(r,$.yy),$.yy.lexer=g,$.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var _e=g.yylloc;n.push(_e);var V,Et=g.options&&g.options.ranges;this.parseError="function"==typeof $.yy.parseError?$.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,P,k,pe,se,L,ae,j={};;){if(this.defaultActions[P=l[l.length-1]]?k=this.defaultActions[P]:((null===b||typeof b>"u")&&(V=void 0,"number"!=typeof(V=i.pop()||g.lex()||1)&&(V instanceof Array&&(V=(i=V).pop()),V=this.symbols_[V]||V),b=V),k=J[P]&&J[P][b]),typeof k>"u"||!k.length||!k[0]){var Ee;for(se in ae=[],J[P])this.terminals_[se]&&se>2&&ae.push("'"+this.terminals_[se]+"'");Ee=g.showPosition?"Parse error on line "+(ne+1)+":\n"+g.showPosition()+"\nExpecting "+ae.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(ne+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Ee,{text:g.match,token:this.terminals_[b]||b,line:g.yylineno,loc:_e,expected:ae})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+b);switch(k[0]){case 1:l.push(b),E.push(g.yytext),n.push(g.yylloc),l.push(k[1]),b=null,De=g.yyleng,p=g.yytext,ne=g.yylineno,_e=g.yylloc;break;case 2:if(j.$=E[E.length-(L=this.productions_[k[1]][1])],j._$={first_line:n[n.length-(L||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(L||1)].first_column,last_column:n[n.length-1].last_column},Et&&(j._$.range=[n[n.length-(L||1)].range[0],n[n.length-1].range[1]]),typeof(pe=this.performAction.apply(j,[p,De,ne,$.yy,k[1],E,n].concat(pt)))<"u")return pe;L&&(l=l.slice(0,-1*L*2),E=E.slice(0,-1*L),n=n.slice(0,-1*L)),l.push(this.productions_[k[1]][0]),E.push(j.$),n.push(j._$),l.push(J[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function ue(){this.yy={}}return he.lexer={EOF:1,parseError:function(s,l){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,l)},setInput:function(r,s){return this.yy=s||this.yy||{},this._input=r,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},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.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),r},unput:function(r){var s=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var i=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),l.length-1&&(this.yylineno-=l.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:l?(l.length===i.length?this.yylloc.first_column:0)+i[i.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),s=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+s+"^"},test_match:function(r,s){var l,i,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))),(i=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],l=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var n in E)this[n]=E[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,s,l,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),n=0;ns[0].length)){if(s=l,i=n,this.options.backtrack_lexer){if(!1!==(r=this.test_match(l,E[n])))return r;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(r=this.test_match(s,E[i]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return(s=this.conditionStack.length-1-Math.abs(s||0))>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(s,l,i,E){switch(i){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return l.yytext=l.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}},ue.prototype=he,he.Parser=ue,new ue}());le.parser=le;let ce=[],m={},z={},M={},X={};const oe={CONTAINS:"contains",ARROW:"arrow"},ye_ReqMarkers=oe;let f={},ge=0;const Re=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",f.rect_min_width+"px").attr("height",f.rect_min_height+"px"),me=(e,t,a)=>{let c=f.rect_min_width/2,d=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",c).attr("y",f.rect_padding).attr("dominant-baseline","hanging"),u=0;a.forEach(y=>{0==u?d.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",0).text(y):d.append("tspan").attr("text-anchor","middle").attr("x",f.rect_min_width/2).attr("dy",.75*f.line_height).text(y),u++});let o=1.5*f.rect_padding+u*f.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",f.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:d,y:o}},Ie=(e,t,a,c)=>{let d=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",f.rect_padding).attr("y",c).attr("dominant-baseline","hanging"),u=0,h=[];return a.forEach(o=>{let y=o.length;for(;y>30&&u<3;){let R=o.substring(0,30);y=(o=o.substring(30,o.length)).length,h[h.length]=R,u++}if(3==u){let R=h[h.length-1];h[h.length-1]=R.substring(0,R.length-4)+"..."}else h[h.length]=o;u=0}),h.forEach(o=>{d.append("tspan").attr("x",f.rect_padding).attr("dy",f.line_height).text(o)}),d},F=e=>e.replace(/\s/g,"").replace(/\./g,"_"),ut={parser:le,db:{RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(e,t,a){Me.m.parseDirective(this,e,t,a)},getConfig:()=>(0,q.g)().req,addRequirement:(e,t)=>(void 0===z[e]&&(z[e]={name:e,type:t,id:m.id,text:m.text,risk:m.risk,verifyMethod:m.verifyMethod}),m={},z[e]),getRequirements:()=>z,setNewReqId:e=>{void 0!==m&&(m.id=e)},setNewReqText:e=>{void 0!==m&&(m.text=e)},setNewReqRisk:e=>{void 0!==m&&(m.risk=e)},setNewReqVerifyMethod:e=>{void 0!==m&&(m.verifyMethod=e)},setAccTitle:G.s,getAccTitle:G.g,setAccDescription:G.b,getAccDescription:G.a,addElement:e=>(void 0===X[e]&&(X[e]={name:e,type:M.type,docRef:M.docRef},q.l.info("Added new requirement: ",e)),M={},X[e]),getElements:()=>X,setNewElementType:e=>{void 0!==M&&(M.type=e)},setNewElementDocRef:e=>{void 0!==M&&(M.docRef=e)},addRelationship:(e,t,a)=>{ce.push({type:e,src:t,dst:a})},getRelationships:()=>ce,clear:()=>{ce=[],m={},z={},M={},X={},(0,G.f)()}},renderer:{draw:(e,t,a,c)=>{f=(0,q.g)().requirement,c.db.clear(),c.parser.parse(e);const d=f.securityLevel;let u;"sandbox"===d&&(u=(0,Z.Ys)("#i"+t));const h=(0,Z.Ys)("sandbox"===d?u.nodes()[0].contentDocument.body:"body").select(`[id='${t}']`);((e,t)=>{let a=e.append("defs").append("marker").attr("id",oe.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");a.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),a.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),a.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",oe.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(h,f);const o=new we.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:f.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let y=c.db.getRequirements(),R=c.db.getElements(),x=c.db.getRelationships();((e,t,a)=>{Object.keys(e).forEach(c=>{let d=e[c];c=F(c),q.l.info("Added new requirement: ",c);const u=a.append("g").attr("id",c),h=Re(u,"req-"+c);let o=me(u,c+"_title",[`<<${d.type}>>`,`${d.name}`]);Ie(u,c+"_body",[`Id: ${d.id}`,`Text: ${d.text}`,`Risk: ${d.risk}`,`Verification: ${d.verifyMethod}`],o.y);const y=h.node().getBBox();t.setNode(c,{width:y.width,height:y.height,shape:"rect",id:c})})})(y,o,h),((e,t,a)=>{Object.keys(e).forEach(c=>{let d=e[c];const u=F(c),_=a.append("g").attr("id",u),h="element-"+u,o=Re(_,h);let y=me(_,h+"_title",["<>",`${c}`]);Ie(_,h+"_body",[`Type: ${d.type||"Not Specified"}`,`Doc Ref: ${d.docRef||"None"}`],y.y);const R=o.node().getBBox();t.setNode(u,{width:R.width,height:R.height,shape:"rect",id:u})})})(R,o,h),((e,t)=>{e.forEach(function(a){let c=F(a.src),d=F(a.dst);t.setEdge(c,d,{relationship:a})})})(x,o),(0,Ce.bK)(o),function(e,t){t.nodes().forEach(function(a){void 0!==a&&void 0!==t.node(a)&&(e.select("#"+a),e.select("#"+a).attr("transform","translate("+(t.node(a).x-t.node(a).width/2)+","+(t.node(a).y-t.node(a).height/2)+" )"))})}(h,o),x.forEach(function(N){!function(e,t,a,c,d){const u=a.edge(F(t.src),F(t.dst)),_=(0,Z.jvg)().x(function(o){return o.x}).y(function(o){return o.y}),h=e.insert("path","#"+c).attr("class","er relationshipLine").attr("d",_(u.points)).attr("fill","none");t.type==d.db.Relationships.CONTAINS?h.attr("marker-start","url("+q.d.getUrl(f.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+q.d.getUrl(f.arrowMarkerAbsolute)+"#"+ye_ReqMarkers.ARROW+"_line_ending)")),((e,t,a,c)=>{const d=t.node().getTotalLength(),u=t.node().getPointAtLength(.5*d),_="rel"+ge;ge++;const o=e.append("text").attr("class","req relationshipLabel").attr("id",_).attr("x",u.x).attr("y",u.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(c).node().getBBox();e.insert("rect","#"+_).attr("class","req reqLabelBox").attr("x",u.x-o.width/2).attr("y",u.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")})(e,h,0,`<<${t.type}>>`)}(h,N,o,t,c)});const S=f.rect_padding,v=h.node().getBBox(),A=v.width+2*S,O=v.height+2*S;(0,$e.c)(h,O,A,f.useMaxWidth),h.attr("viewBox",`${v.x-S} ${v.y-S} ${A} ${O}`)}},styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 100%;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js b/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js deleted file mode 100644 index f9cff6358d4..00000000000 --- a/pkg/apiserver-impl/ui/299.b6bd942dffceeea6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[299],{4299:(P0,pe,Y)=>{Y.r(pe),Y.d(pe,{diagram:()=>O0});var Me=Y(4169),L=Y(855),Xt=Y(6012),zt=Y(5703),ye=Y(6780),z=Y(9111),Le=Y(1775),Qt=(Y(2735),Y(1764),function(){var e=function(Mt,b,x,m){for(x=x||{},m=Mt.length;m--;x[Mt[m]]=b);return x},t=[1,6],n=[1,7],o=[1,8],l=[1,9],i=[1,16],a=[1,11],r=[1,12],s=[1,13],u=[1,14],y=[1,15],d=[1,27],p=[1,33],C=[1,34],T=[1,35],R=[1,36],P=[1,37],B=[1,72],F=[1,73],J=[1,74],Z=[1,75],$=[1,76],tt=[1,77],et=[1,78],it=[1,38],nt=[1,39],st=[1,40],at=[1,41],rt=[1,42],lt=[1,43],ot=[1,44],ct=[1,45],ht=[1,46],ut=[1,47],dt=[1,48],ft=[1,49],pt=[1,50],yt=[1,51],_t=[1,52],gt=[1,53],bt=[1,54],xt=[1,55],mt=[1,56],Et=[1,57],vt=[1,59],At=[1,60],kt=[1,61],Ct=[1,62],Ot=[1,63],Tt=[1,64],wt=[1,65],Rt=[1,66],Dt=[1,67],St=[1,68],Pt=[1,69],Yt=[24,52],re=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Ft=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],E=[1,94],v=[1,95],A=[1,96],k=[1,97],O=[15,24,52],we=[7,8,9,10,18,22,25,26,27,28],Re=[15,24,43,52],Zt=[15,24,43,52,86,87,89,90],Lt=[15,43],le=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],oe={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(b,x,m,_,w,h,Wt){var f=h.length-1;switch(w){case 4:_.setDirection("TB");break;case 5:_.setDirection("BT");break;case 6:_.setDirection("RL");break;case 7:_.setDirection("LR");break;case 11:_.parseDirective("%%{","open_directive");break;case 12:break;case 13:h[f]=h[f].trim().replace(/'/g,'"'),_.parseDirective(h[f],"arg_directive");break;case 14:_.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:_.setC4Type(h[f-3]);break;case 26:_.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 27:_.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 28:this.$=h[f].trim(),_.setTitle(this.$);break;case 29:case 30:this.$=h[f].trim(),_.setAccDescription(this.$);break;case 35:case 36:h[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 37:_.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 38:h[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...h[f]),this.$=h[f];break;case 39:_.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 40:_.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 41:_.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 42:_.popBoundaryParseStack();break;case 46:_.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 47:_.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 48:_.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 49:_.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 50:_.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 51:_.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 52:_.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 53:_.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 54:_.addContainer("container",...h[f]),this.$=h[f];break;case 55:_.addContainer("container_db",...h[f]),this.$=h[f];break;case 56:_.addContainer("container_queue",...h[f]),this.$=h[f];break;case 57:_.addContainer("external_container",...h[f]),this.$=h[f];break;case 58:_.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 59:_.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 60:_.addComponent("component",...h[f]),this.$=h[f];break;case 61:_.addComponent("component_db",...h[f]),this.$=h[f];break;case 62:_.addComponent("component_queue",...h[f]),this.$=h[f];break;case 63:_.addComponent("external_component",...h[f]),this.$=h[f];break;case 64:_.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 65:_.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 67:_.addRel("rel",...h[f]),this.$=h[f];break;case 68:_.addRel("birel",...h[f]),this.$=h[f];break;case 69:_.addRel("rel_u",...h[f]),this.$=h[f];break;case 70:_.addRel("rel_d",...h[f]),this.$=h[f];break;case 71:_.addRel("rel_l",...h[f]),this.$=h[f];break;case 72:_.addRel("rel_r",...h[f]),this.$=h[f];break;case 73:_.addRel("rel_b",...h[f]),this.$=h[f];break;case 74:h[f].splice(0,1),_.addRel("rel",...h[f]),this.$=h[f];break;case 75:_.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 76:_.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 77:_.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 78:this.$=[h[f]];break;case 79:h[f].unshift(h[f-1]),this.$=h[f];break;case 80:case 82:this.$=h[f].trim();break;case 81:let Bt={};Bt[h[f-1].trim()]=h[f].trim(),this.$=Bt;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:79,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:80,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:81,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{23:82,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:P,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(Yt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt}),e(Yt,[2,21]),e(re,[2,23],{15:[1,88]}),e(Yt,[2,43],{15:[1,89]}),e(Ft,[2,26]),e(Ft,[2,27]),{35:[1,90]},{37:[1,91]},e(Ft,[2,30]),{45:92,85:93,86:E,87:v,89:A,90:k},{45:98,85:93,86:E,87:v,89:A,90:k},{45:99,85:93,86:E,87:v,89:A,90:k},{45:100,85:93,86:E,87:v,89:A,90:k},{45:101,85:93,86:E,87:v,89:A,90:k},{45:102,85:93,86:E,87:v,89:A,90:k},{45:103,85:93,86:E,87:v,89:A,90:k},{45:104,85:93,86:E,87:v,89:A,90:k},{45:105,85:93,86:E,87:v,89:A,90:k},{45:106,85:93,86:E,87:v,89:A,90:k},{45:107,85:93,86:E,87:v,89:A,90:k},{45:108,85:93,86:E,87:v,89:A,90:k},{45:109,85:93,86:E,87:v,89:A,90:k},{45:110,85:93,86:E,87:v,89:A,90:k},{45:111,85:93,86:E,87:v,89:A,90:k},{45:112,85:93,86:E,87:v,89:A,90:k},{45:113,85:93,86:E,87:v,89:A,90:k},{45:114,85:93,86:E,87:v,89:A,90:k},{45:115,85:93,86:E,87:v,89:A,90:k},{45:116,85:93,86:E,87:v,89:A,90:k},e(O,[2,66]),{45:117,85:93,86:E,87:v,89:A,90:k},{45:118,85:93,86:E,87:v,89:A,90:k},{45:119,85:93,86:E,87:v,89:A,90:k},{45:120,85:93,86:E,87:v,89:A,90:k},{45:121,85:93,86:E,87:v,89:A,90:k},{45:122,85:93,86:E,87:v,89:A,90:k},{45:123,85:93,86:E,87:v,89:A,90:k},{45:124,85:93,86:E,87:v,89:A,90:k},{45:125,85:93,86:E,87:v,89:A,90:k},{45:126,85:93,86:E,87:v,89:A,90:k},{45:127,85:93,86:E,87:v,89:A,90:k},{30:128,39:58,40:70,42:71,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,53:32,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt},{15:[1,130],43:[1,129]},{45:131,85:93,86:E,87:v,89:A,90:k},{45:132,85:93,86:E,87:v,89:A,90:k},{45:133,85:93,86:E,87:v,89:A,90:k},{45:134,85:93,86:E,87:v,89:A,90:k},{45:135,85:93,86:E,87:v,89:A,90:k},{45:136,85:93,86:E,87:v,89:A,90:k},{45:137,85:93,86:E,87:v,89:A,90:k},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(we,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(Yt,[2,22]),e(re,[2,24],{31:31,29:143,32:p,33:C,34:T,36:R,38:P}),e(Yt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:C,34:T,36:R,38:P,44:B,46:F,47:J,48:Z,49:$,50:tt,51:et,54:it,55:nt,56:st,57:at,58:rt,59:lt,60:ot,61:ct,62:ht,63:ut,64:dt,65:ft,66:pt,67:yt,68:_t,69:gt,70:bt,71:xt,72:mt,73:Et,74:vt,75:At,76:kt,77:Ct,78:Ot,79:Tt,80:wt,81:Rt,82:Dt,83:St,84:Pt}),e(Ft,[2,28]),e(Ft,[2,29]),e(O,[2,46]),e(Re,[2,78],{85:93,45:145,86:E,87:v,89:A,90:k}),e(Zt,[2,80]),{88:[1,146]},e(Zt,[2,82]),e(Zt,[2,83]),e(O,[2,47]),e(O,[2,48]),e(O,[2,49]),e(O,[2,50]),e(O,[2,51]),e(O,[2,52]),e(O,[2,53]),e(O,[2,54]),e(O,[2,55]),e(O,[2,56]),e(O,[2,57]),e(O,[2,58]),e(O,[2,59]),e(O,[2,60]),e(O,[2,61]),e(O,[2,62]),e(O,[2,63]),e(O,[2,64]),e(O,[2,65]),e(O,[2,67]),e(O,[2,68]),e(O,[2,69]),e(O,[2,70]),e(O,[2,71]),e(O,[2,72]),e(O,[2,73]),e(O,[2,74]),e(O,[2,75]),e(O,[2,76]),e(O,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(Lt,[2,35]),e(Lt,[2,36]),e(Lt,[2,37]),e(Lt,[2,38]),e(Lt,[2,39]),e(Lt,[2,40]),e(Lt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e(re,[2,25]),e(Yt,[2,45]),e(Re,[2,79]),e(Zt,[2,81]),e(O,[2,31]),e(O,[2,42]),e(le,[2,32]),e(le,[2,33],{15:[1,152]}),e(we,[2,10]),e(le,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(b,x){if(!x.recoverable){var m=new Error(b);throw m.hash=x,m}this.trace(b)},parse:function(b){var m=[0],_=[],w=[null],h=[],Wt=this.table,f="",Bt=0,De=0,R0=h.slice.call(arguments,1),D=Object.create(this.lexer),It={yy:{}};for(var he in this.yy)Object.prototype.hasOwnProperty.call(this.yy,he)&&(It.yy[he]=this.yy[he]);D.setInput(b,It.yy),It.yy.lexer=D,It.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ue=D.yylloc;h.push(ue);var K,D0=D.options&&D.options.ranges;this.parseError="function"==typeof It.yy.parseError?It.yy.parseError:Object.getPrototypeOf(this).parseError;for(var M,Nt,N,de,$t,H,te,jt={};;){if(this.defaultActions[Nt=m[m.length-1]]?N=this.defaultActions[Nt]:((null===M||typeof M>"u")&&(K=void 0,"number"!=typeof(K=_.pop()||D.lex()||1)&&(K instanceof Array&&(K=(_=K).pop()),K=this.symbols_[K]||K),M=K),N=Wt[Nt]&&Wt[Nt][M]),typeof N>"u"||!N.length||!N[0]){var fe;for($t in te=[],Wt[Nt])this.terminals_[$t]&&$t>2&&te.push("'"+this.terminals_[$t]+"'");fe=D.showPosition?"Parse error on line "+(Bt+1)+":\n"+D.showPosition()+"\nExpecting "+te.join(", ")+", got '"+(this.terminals_[M]||M)+"'":"Parse error on line "+(Bt+1)+": Unexpected "+(1==M?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(fe,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:ue,expected:te})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Nt+", token: "+M);switch(N[0]){case 1:m.push(M),w.push(D.yytext),h.push(D.yylloc),m.push(N[1]),M=null,De=D.yyleng,f=D.yytext,Bt=D.yylineno,ue=D.yylloc;break;case 2:if(jt.$=w[w.length-(H=this.productions_[N[1]][1])],jt._$={first_line:h[h.length-(H||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(H||1)].first_column,last_column:h[h.length-1].last_column},D0&&(jt._$.range=[h[h.length-(H||1)].range[0],h[h.length-1].range[1]]),typeof(de=this.performAction.apply(jt,[f,De,Bt,It.yy,N[1],w,h].concat(R0)))<"u")return de;H&&(m=m.slice(0,-1*H*2),w=w.slice(0,-1*H),h=h.slice(0,-1*H)),m.push(this.productions_[N[1]][0]),w.push(jt.$),h.push(jt._$),m.push(Wt[m[m.length-2]][m[m.length-1]]);break;case 3:return!0}}return!0}};function ce(){this.yy={}}return oe.lexer={EOF:1,parseError:function(x,m){if(!this.yy.parser)throw new Error(x);this.yy.parser.parseError(x,m)},setInput:function(b,x){return this.yy=x||this.yy||{},this._input=b,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},input:function(){var b=this._input[0];return this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b,b.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),b},unput:function(b){var x=b.length,m=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),m.length-1&&(this.yylineno-=m.length-1);var w=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:m?(m.length===_.length?this.yylloc.first_column:0)+_[_.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),x=new Array(b.length+1).join("-");return b+this.upcomingInput()+"\n"+x+"^"},test_match:function(b,x){var m,_,w;if(this.options.backtrack_lexer&&(w={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&&(w.yylloc.range=this.yylloc.range.slice(0))),(_=b[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,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(b[0].length),this.matched+=b[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var h in w)this[h]=w[h];return!1}return!1},next:function(){if(this.done)return this.EOF;var b,x,m,_;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),h=0;hx[0].length)){if(x=m,_=h,this.options.backtrack_lexer){if(!1!==(b=this.test_match(m,w[h])))return b;if(this._backtrack){x=!1;continue}return!1}if(!this.options.flex)break}return x?!1!==(b=this.test_match(x,w[_]))&&b:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return(x=this.conditionStack.length-1-Math.abs(x||0))>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,_,w){switch(_){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}},ce.prototype=oe,oe.Parser=ce,new ce}());Qt.parser=Qt;const Be=Qt;let j=[],G=[""],S="global",U="",W=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Ut=[],ee="",ie=!1,Ht=4,Kt=2;var _e;const ge=function(e){return null==e?j:j.filter(t=>t.parentBoundary===e)},q=function(){return ie},be={addPersonOrSystem:function(e,t,n,o,l,i,a){if(null===t||null===n)return;let r={};const s=j.find(u=>u.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,j.push(r)),r.label=null==n?{text:""}:{text:n},null==o)r.descr={text:""};else if("object"==typeof o){let[u,y]=Object.entries(o)[0];r[u]={text:y}}else r.descr={text:o};if("object"==typeof l){let[u,y]=Object.entries(l)[0];r[u]=y}else r.sprite=l;if("object"==typeof i){let[u,y]=Object.entries(i)[0];r[u]=y}else r.tags=i;if("object"==typeof a){let[u,y]=Object.entries(a)[0];r[u]=y}else r.link=a;r.typeC4Shape={text:e},r.parentBoundary=S,r.wrap=q()},addPersonOrSystemBoundary:function(e,t,n,o,l){if(null===e||null===t)return;let i={};const a=W.find(r=>r.alias===e);if(a&&e===a.alias?i=a:(i.alias=e,W.push(i)),i.label=null==t?{text:""}:{text:t},null==n)i.type={text:"system"};else if("object"==typeof n){let[r,s]=Object.entries(n)[0];i[r]={text:s}}else i.type={text:n};if("object"==typeof o){let[r,s]=Object.entries(o)[0];i[r]=s}else i.tags=o;if("object"==typeof l){let[r,s]=Object.entries(l)[0];i[r]=s}else i.link=l;i.parentBoundary=S,i.wrap=q(),U=S,S=e,G.push(U)},addContainer:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=j.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,j.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.techn={text:""};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.techn={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof i){let[y,d]=Object.entries(i)[0];s[y]=d}else s.sprite=i;if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.wrap=q(),s.typeC4Shape={text:e},s.parentBoundary=S},addContainerBoundary:function(e,t,n,o,l){if(null===e||null===t)return;let i={};const a=W.find(r=>r.alias===e);if(a&&e===a.alias?i=a:(i.alias=e,W.push(i)),i.label=null==t?{text:""}:{text:t},null==n)i.type={text:"container"};else if("object"==typeof n){let[r,s]=Object.entries(n)[0];i[r]={text:s}}else i.type={text:n};if("object"==typeof o){let[r,s]=Object.entries(o)[0];i[r]=s}else i.tags=o;if("object"==typeof l){let[r,s]=Object.entries(l)[0];i[r]=s}else i.link=l;i.parentBoundary=S,i.wrap=q(),U=S,S=e,G.push(U)},addComponent:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=j.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,j.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.techn={text:""};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.techn={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof i){let[y,d]=Object.entries(i)[0];s[y]=d}else s.sprite=i;if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.wrap=q(),s.typeC4Shape={text:e},s.parentBoundary=S},addDeploymentNode:function(e,t,n,o,l,i,a,r){if(null===t||null===n)return;let s={};const u=W.find(y=>y.alias===t);if(u&&t===u.alias?s=u:(s.alias=t,W.push(s)),s.label=null==n?{text:""}:{text:n},null==o)s.type={text:"node"};else if("object"==typeof o){let[y,d]=Object.entries(o)[0];s[y]={text:d}}else s.type={text:o};if(null==l)s.descr={text:""};else if("object"==typeof l){let[y,d]=Object.entries(l)[0];s[y]={text:d}}else s.descr={text:l};if("object"==typeof a){let[y,d]=Object.entries(a)[0];s[y]=d}else s.tags=a;if("object"==typeof r){let[y,d]=Object.entries(r)[0];s[y]=d}else s.link=r;s.nodeType=e,s.parentBoundary=S,s.wrap=q(),U=S,S=t,G.push(U)},popBoundaryParseStack:function(){S=U,G.pop(),U=G.pop(),G.push(U)},addRel:function(e,t,n,o,l,i,a,r,s){if(null==e||null==t||null==n||null==o)return;let u={};const y=Ut.find(d=>d.from===t&&d.to===n);if(y?u=y:Ut.push(u),u.type=e,u.from=t,u.to=n,u.label={text:o},null==l)u.techn={text:""};else if("object"==typeof l){let[d,p]=Object.entries(l)[0];u[d]={text:p}}else u.techn={text:l};if(null==i)u.descr={text:""};else if("object"==typeof i){let[d,p]=Object.entries(i)[0];u[d]={text:p}}else u.descr={text:i};if("object"==typeof a){let[d,p]=Object.entries(a)[0];u[d]=p}else u.sprite=a;if("object"==typeof r){let[d,p]=Object.entries(r)[0];u[d]=p}else u.tags=r;if("object"==typeof s){let[d,p]=Object.entries(s)[0];u[d]=p}else u.link=s;u.wrap=q()},updateElStyle:function(e,t,n,o,l,i,a,r,s,u,y){let d=j.find(p=>p.alias===t);if(void 0!==d||(d=W.find(p=>p.alias===t),void 0!==d)){if(null!=n)if("object"==typeof n){let[p,C]=Object.entries(n)[0];d[p]=C}else d.bgColor=n;if(null!=o)if("object"==typeof o){let[p,C]=Object.entries(o)[0];d[p]=C}else d.fontColor=o;if(null!=l)if("object"==typeof l){let[p,C]=Object.entries(l)[0];d[p]=C}else d.borderColor=l;if(null!=i)if("object"==typeof i){let[p,C]=Object.entries(i)[0];d[p]=C}else d.shadowing=i;if(null!=a)if("object"==typeof a){let[p,C]=Object.entries(a)[0];d[p]=C}else d.shape=a;if(null!=r)if("object"==typeof r){let[p,C]=Object.entries(r)[0];d[p]=C}else d.sprite=r;if(null!=s)if("object"==typeof s){let[p,C]=Object.entries(s)[0];d[p]=C}else d.techn=s;if(null!=u)if("object"==typeof u){let[p,C]=Object.entries(u)[0];d[p]=C}else d.legendText=u;if(null!=y)if("object"==typeof y){let[p,C]=Object.entries(y)[0];d[p]=C}else d.legendSprite=y}},updateRelStyle:function(e,t,n,o,l,i,a){const r=Ut.find(s=>s.from===t&&s.to===n);if(void 0!==r){if(null!=o)if("object"==typeof o){let[s,u]=Object.entries(o)[0];r[s]=u}else r.textColor=o;if(null!=l)if("object"==typeof l){let[s,u]=Object.entries(l)[0];r[s]=u}else r.lineColor=l;if(null!=i)if("object"==typeof i){let[s,u]=Object.entries(i)[0];r[s]=parseInt(u)}else r.offsetX=parseInt(i);if(null!=a)if("object"==typeof a){let[s,u]=Object.entries(a)[0];r[s]=parseInt(u)}else r.offsetY=parseInt(a)}},updateLayoutConfig:function(e,t,n){let o=Ht,l=Kt;if("object"==typeof t){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if("object"==typeof n){const i=Object.values(n)[0];l=parseInt(i)}else l=parseInt(n);o>=1&&(Ht=o),l>=1&&(Kt=l)},autoWrap:q,setWrap:function(e){ie=e},getC4ShapeArray:ge,getC4Shape:function(e){return j.find(t=>t.alias===e)},getC4ShapeKeys:function(e){return Object.keys(ge(e))},getBoundarys:function(e){return null==e?W:W.filter(t=>t.parentBoundary===e)},getCurrentBoundaryParse:function(){return S},getParentBoundaryParse:function(){return U},getRels:function(){return Ut},getTitle:function(){return ee},getC4Type:function(){return _e},getC4ShapeInRow:function(){return Ht},getC4BoundaryInRow:function(){return Kt},setAccTitle:Xt.s,getAccTitle:Xt.g,getAccDescription:Xt.a,setAccDescription:Xt.b,parseDirective:function(e,t,n){Me.m.parseDirective(this,e,t,n)},getConfig:()=>(0,L.g)().c4,clear:function(){j=[],W=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],U="",S="global",G=[""],Ut=[],G=[""],ee="",ie=!1,Ht=4,Kt=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(e){ee=(0,L.b)(e,(0,L.g)())},setC4Type:function(e){_e=(0,L.b)(e,(0,L.g)())}},ne=function(e,t){const n=e.append("rect");if(n.attr("x",t.x),n.attr("y",t.y),n.attr("fill",t.fill),n.attr("stroke",t.stroke),n.attr("width",t.width),n.attr("height",t.height),n.attr("rx",t.rx),n.attr("ry",t.ry),"undefined"!==t.attrs&&null!==t.attrs)for(let o in t.attrs)n.attr(o,t.attrs[o]);return"undefined"!==t.class&&n.attr("class",t.class),n},Q=function(){function e(l,i,a,r,s,u,y){o(i.append("text").attr("x",a+s/2).attr("y",r+u/2+5).style("text-anchor","middle").text(l),y)}function t(l,i,a,r,s,u,y,d){const{fontSize:p,fontFamily:C,fontWeight:T}=d,R=l.split(L.d.lineBreakRegex);for(let P=0;P({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}))(n,t.typeC4Shape.text);switch(s.append("text").attr("fill",a).attr("font-family",y.fontFamily).attr("font-size",y.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":!function(e,t,n,o,l,i){const a=e.append("image");a.attr("width",t),a.attr("height",n),a.attr("x",o),a.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:(0,ye.N)(i);a.attr("xlink:href",r)}(s,48,48,t.x+t.width/2-24,t.y+t.image.Y,r)}let d=n[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=a,Q(n)(t.label.text,s,t.x,t.y+t.label.Y,t.width,t.height,{fill:a},d),d=n[t.typeC4Shape.text+"Font"](),d.fontColor=a,t.techn&&""!==(null==(o=t.techn)?void 0:o.text)?Q(n)(t.techn.text,s,t.x,t.y+t.techn.Y,t.width,t.height,{fill:a,"font-style":"italic"},d):t.type&&""!==t.type.text&&Q(n)(t.type.text,s,t.x,t.y+t.type.Y,t.width,t.height,{fill:a,"font-style":"italic"},d),t.descr&&""!==t.descr.text&&(d=n.personFont(),d.fontColor=a,Q(n)(t.descr.text,s,t.x,t.y+t.descr.Y,t.width,t.height,{fill:a},d)),t.height};let Gt=0,qt=0,Ee=4,se=2;Qt.yy=be;let g={};class ve{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,ae(t.db.getConfig())}setData(t,n,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,n,o,l){t[n]=void 0===t[n]?o:l(o,t[n])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,o=n+t.width,l=this.nextData.starty+2*t.margin,i=l+t.height;(n>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>Ee)&&(n=this.nextData.startx+t.margin+g.nextLinePaddingX,l=this.nextData.stopy+2*t.margin,this.nextData.stopx=o=n+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=n,t.y=l,this.updateVal(this.data,"startx",n,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",n,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},ae(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const ae=function(e){(0,L.c)(g,e),e.fontFamily&&(g.personFontFamily=g.systemFontFamily=g.messageFontFamily=e.fontFamily),e.fontSize&&(g.personFontSize=g.systemFontSize=g.messageFontSize=e.fontSize),e.fontWeight&&(g.personFontWeight=g.systemFontWeight=g.messageFontWeight=e.fontWeight)},Vt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Jt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),A0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function V(e,t,n,o,l){if(!t[e].width)if(n)t[e].text=(0,z.w)(t[e].text,l,o),t[e].textLines=t[e].text.split(L.d.lineBreakRegex).length,t[e].width=l,t[e].height=(0,z.k)(t[e].text,o);else{let i=t[e].text.split(L.d.lineBreakRegex);t[e].textLines=i.length;let a=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max((0,z.j)(r,o),t[e].width),a=(0,z.k)(r,o),t[e].height=t[e].height+a}}const Ae=function(e,t,n){t.x=n.data.startx,t.y=n.data.starty,t.width=n.data.stopx-n.data.startx,t.height=n.data.stopy-n.data.starty,t.label.y=g.c4ShapeMargin-35;let o=t.wrap&&g.wrap,l=Jt(g);l.fontSize=l.fontSize+2,l.fontWeight="bold",V("label",t,o,l,(0,z.j)(t.label.text,l)),function(e,t,n){const o=e.append("g");let a=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1}),ne(o,{x:t.x,y:t.y,fill:t.bgColor?t.bgColor:"none",stroke:t.borderColor?t.borderColor:"#444444",width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r});let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=a,Q(n)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},u),t.type&&""!==t.type.text&&(u=n.boundaryFont(),u.fontColor=a,Q(n)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},u)),t.descr&&""!==t.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=a,Q(n)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},u))}(e,t,g)},ke=function(e,t,n,o){let l=0;for(const i of o){l=0;const a=n[i];let r=Vt(g,a.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,a.typeC4Shape.width=(0,z.j)("<<"+a.typeC4Shape.text+">>",r),a.typeC4Shape.height=r.fontSize+2,a.typeC4Shape.Y=g.c4ShapePadding,l=a.typeC4Shape.Y+a.typeC4Shape.height-4,a.image={width:0,height:0,Y:0},a.typeC4Shape.text){case"person":case"external_person":a.image.width=48,a.image.height=48,a.image.Y=l,l=a.image.Y+a.image.height}a.sprite&&(a.image.width=48,a.image.height=48,a.image.Y=l,l=a.image.Y+a.image.height);let s=a.wrap&&g.wrap,u=g.width-2*g.c4ShapePadding,y=Vt(g,a.typeC4Shape.text);y.fontSize=y.fontSize+2,y.fontWeight="bold",V("label",a,s,y,u),a.label.Y=l+8,l=a.label.Y+a.label.height,a.type&&""!==a.type.text?(a.type.text="["+a.type.text+"]",V("type",a,s,Vt(g,a.typeC4Shape.text),u),a.type.Y=l+5,l=a.type.Y+a.type.height):a.techn&&""!==a.techn.text&&(a.techn.text="["+a.techn.text+"]",V("techn",a,s,Vt(g,a.techn.text),u),a.techn.Y=l+5,l=a.techn.Y+a.techn.height);let d=l,p=a.label.width;a.descr&&""!==a.descr.text&&(V("descr",a,s,Vt(g,a.typeC4Shape.text),u),a.descr.Y=l+20,l=a.descr.Y+a.descr.height,p=Math.max(a.label.width,a.descr.width),d=l-5*a.descr.textLines),p+=g.c4ShapePadding,a.width=Math.max(a.width||g.width,p,g.width),a.height=Math.max(a.height||g.height,d,g.height),a.margin=a.margin||g.c4ShapeMargin,e.insert(a),X_drawC4Shape(t,a,g)}e.bumpLastMargin(g.c4ShapeMargin)};class I{constructor(t,n){this.x=t,this.y=n}}let Ce=function(e,t){let n=e.x,o=e.y,l=t.x,i=t.y,a=n+e.width/2,r=o+e.height/2,s=Math.abs(n-l),u=Math.abs(o-i),y=u/s,d=e.height/e.width,p=null;return o==i&&nl?p=new I(n,r):n==l&&oi&&(p=new I(a,o)),n>l&&o=y?new I(n,r+y*e.width/2):new I(a-s/u*e.height/2,o+e.height):n=y?new I(n+e.width,r+y*e.width/2):new I(a+s/u*e.height/2,o+e.height):ni?p=d>=y?new I(n+e.width,r-y*e.width/2):new I(a+e.height/2*s/u,o):n>l&&o>i&&(p=d>=y?new I(n,r-e.width/2*y):new I(a-e.height/2*s/u,o)),p},k0=function(e,t){let n={x:0,y:0};n.x=t.x+t.width/2,n.y=t.y+t.height/2;let o=Ce(e,n);return n.x=e.x+e.width/2,n.y=e.y+e.height/2,{startPoint:o,endPoint:Ce(t,n)}};function Oe(e,t,n,o,l){let i=new ve(l);i.data.widthLimit=n.data.widthLimit/Math.min(se,o.length);for(let[a,r]of o.entries()){let s=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=s,s=r.image.Y+r.image.height);let u=r.wrap&&g.wrap,y=Jt(g);if(y.fontSize=y.fontSize+2,y.fontWeight="bold",V("label",r,u,y,i.data.widthLimit),r.label.Y=s+8,s=r.label.Y+r.label.height,r.type&&""!==r.type.text&&(r.type.text="["+r.type.text+"]",V("type",r,u,Jt(g),i.data.widthLimit),r.type.Y=s+5,s=r.type.Y+r.type.height),r.descr&&""!==r.descr.text){let T=Jt(g);T.fontSize=T.fontSize-2,V("descr",r,u,T,i.data.widthLimit),r.descr.Y=s+20,s=r.descr.Y+r.descr.height}if(0==a||a%se==0){let T=n.data.startx+g.diagramMarginX,R=n.data.stopy+g.diagramMarginY+s;i.setData(T,T,R,R)}else{let T=i.data.stopx!==i.data.startx?i.data.stopx+g.diagramMarginX:i.data.startx,R=i.data.starty;i.setData(T,T,R,R)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&ke(i,e,d,p);let C=l.db.getBoundarys(t=r.alias);C.length>0&&Oe(e,t,i,C,l),"global"!==r.alias&&Ae(e,r,i),n.data.stopy=Math.max(i.data.stopy+g.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(i.data.stopx+g.c4ShapeMargin,n.data.stopx),Gt=Math.max(Gt,n.data.stopx),qt=Math.max(qt,n.data.stopy)}}const Te={drawPersonOrSystemArray:ke,drawBoundary:Ae,setConf:ae,draw:function(e,t,n,o){g=(0,L.g)().c4;const l=(0,L.g)().securityLevel;let i;"sandbox"===l&&(i=(0,zt.Ys)("#i"+t));const a=(0,zt.Ys)("sandbox"===l?i.nodes()[0].contentDocument.body:"body");let r=o.db;o.db.setWrap(g.wrap),Ee=r.getC4ShapeInRow(),se=r.getC4BoundaryInRow(),L.l.debug(`C:${JSON.stringify(g,null,2)}`);const s="sandbox"===l?a.select(`[id="${t}"]`):(0,zt.Ys)(`[id="${t}"]`);(function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")})(s),function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(s),function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(s);let u=new ve(o);u.setData(g.diagramMarginX,g.diagramMarginX,g.diagramMarginY,g.diagramMarginY),u.data.widthLimit=screen.availWidth,Gt=g.diagramMarginX,qt=g.diagramMarginY;const y=o.db.getTitle();Oe(s,"",u,o.db.getBoundarys(""),o),function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(s),function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(s),function(e){const n=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);n.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),n.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(s),function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(s),function(e,t,n,o){let l=0;for(let i of t){l+=1;let a=i.wrap&&g.wrap,r=A0(g);"C4Dynamic"===o.db.getC4Type()&&(i.label.text=l+": "+i.label.text);let u=(0,z.j)(i.label.text,r);V("label",i,a,r,u),i.techn&&""!==i.techn.text&&(u=(0,z.j)(i.techn.text,r),V("techn",i,a,r,u)),i.descr&&""!==i.descr.text&&(u=(0,z.j)(i.descr.text,r),V("descr",i,a,r,u));let y=n(i.from),d=n(i.to),p=k0(y,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}((e,t,n)=>{const o=e.append("g");let l=0;for(let i of t){let a=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",s=i.offsetX?parseInt(i.offsetX):0,u=i.offsetY?parseInt(i.offsetY):0,y="";if(0===l){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),"rel_b"!==i.type&&p.attr("marker-end","url("+y+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+y+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),"rel_b"!==i.type&&p.attr("marker-end","url("+y+"#arrowhead)"),("birel"===i.type||"rel_b"===i.type)&&p.attr("marker-start","url("+y+"#arrowend)")}let d=n.messageFont();Q(n)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+s,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+u,i.label.width,i.label.height,{fill:a},d),i.techn&&""!==i.techn.text&&(d=n.messageFont(),Q(n)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+s,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+n.messageFontSize+5+u,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:a,"font-style":"italic"},d))}})(e,t,g)}(s,o.db.getRels(),o.db.getC4Shape,o),u.data.stopx=Gt,u.data.stopy=qt;const p=u.data;let T=p.stopy-p.starty+2*g.diagramMarginY;const P=p.stopx-p.startx+2*g.diagramMarginX;y&&s.append("text").text(y).attr("x",(p.stopx-p.startx)/2-4*g.diagramMarginX).attr("y",p.starty+g.diagramMarginY),(0,Le.c)(s,T,P,g.useMaxWidth);const B=y?60:0;s.attr("viewBox",p.startx-g.diagramMarginX+" -"+(g.diagramMarginY+B)+" "+P+" "+(T+B)),L.l.debug("models:",p)}},O0={parser:Be,db:be,renderer:Te,styles:e=>`.person {\n stroke: ${e.personBorder};\n fill: ${e.personBkg};\n }\n`,init:e=>{Te.setConf(e.c4)}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js b/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js deleted file mode 100644 index 2660b1348b8..00000000000 --- a/pkg/apiserver-impl/ui/322.ae1afb6543b1e4a4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[322],{2405:function(Xr,Ne,_e){var de;Xr.exports=(de=_e(5982),function(G){var P={};function T(S){if(P[S])return P[S].exports;var I=P[S]={i:S,l:!1,exports:{}};return G[S].call(I.exports,I,I.exports,T),I.l=!0,I.exports}return T.m=G,T.c=P,T.i=function(S){return S},T.d=function(S,I,V){T.o(S,I)||Object.defineProperty(S,I,{configurable:!1,enumerable:!0,get:V})},T.n=function(S){var I=S&&S.__esModule?function(){return S.default}:function(){return S};return T.d(I,"a",I),I},T.o=function(S,I){return Object.prototype.hasOwnProperty.call(S,I)},T.p="",T(T.s=7)}([function(G,P){G.exports=de},function(G,P,T){"use strict";var S=T(0).FDLayoutConstants;function I(){}for(var V in S)I[V]=S[V];I.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,I.DEFAULT_RADIAL_SEPARATION=S.DEFAULT_EDGE_LENGTH,I.DEFAULT_COMPONENT_SEPERATION=60,I.TILE=!0,I.TILING_PADDING_VERTICAL=10,I.TILING_PADDING_HORIZONTAL=10,I.TREE_REDUCTION_ON_INCREMENTAL=!1,G.exports=I},function(G,P,T){"use strict";var S=T(0).FDLayoutEdge;function I(R,X,D){S.call(this,R,X,D)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).LGraph;function I(R,X,D){S.call(this,R,X,D)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).LGraphManager;function I(R){S.call(this,R)}for(var V in I.prototype=Object.create(S.prototype),S)I[V]=S[V];G.exports=I},function(G,P,T){"use strict";var S=T(0).FDLayoutNode,I=T(0).IMath;function V(X,D,z,$){S.call(this,X,D,z,$)}for(var R in V.prototype=Object.create(S.prototype),S)V[R]=S[R];V.prototype.move=function(){var X=this.graphManager.getLayout();this.displacementX=X.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=X.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>X.coolingFactor*X.maxNodeDisplacement&&(this.displacementX=X.coolingFactor*X.maxNodeDisplacement*I.sign(this.displacementX)),Math.abs(this.displacementY)>X.coolingFactor*X.maxNodeDisplacement&&(this.displacementY=X.coolingFactor*X.maxNodeDisplacement*I.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),X.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},V.prototype.propogateDisplacementToChildren=function(X,D){for(var $,z=this.getChild().getNodes(),q=0;q0?this.positionNodesRadially(x):(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),W=new Set(this.getAllNodes()),_=this.nodesWithGravity.filter(function(ee){return W.has(ee)}),this.graphManager.setAllNodesToApplyGravitation(_),this.positionNodesRandomly())}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},oe.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%z.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var x=new Set(this.getAllNodes()),W=this.nodesWithGravity.filter(function(he){return x.has(he)});this.graphManager.setAllNodesToApplyGravitation(W),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=z.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=z.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var _=!this.isTreeGrowing&&!this.isGrowthFinished,ee=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(_,ee),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},oe.prototype.getPositionsData=function(){for(var x=this.graphManager.getAllNodes(),W={},_=0;_1)for(Pe=0;Peee&&(ee=Math.floor(Ie.y)),Ae=Math.floor(Ie.x+D.DEFAULT_COMPONENT_SEPERATION)}this.transform(new K($.WORLD_CENTER_X-Ie.x/2,$.WORLD_CENTER_Y-Ie.y/2))},oe.radialLayout=function(x,W,_){var ee=Math.max(this.maxDiagonalInTree(x),D.DEFAULT_RADIAL_SEPARATION);oe.branchRadialLayout(W,null,0,359,0,ee);var he=re.calculateBounds(x),Ae=new Te;Ae.setDeviceOrgX(he.getMinX()),Ae.setDeviceOrgY(he.getMinY()),Ae.setWorldOrgX(_.x),Ae.setWorldOrgY(_.y);for(var Ie=0;Ie1;){var Ht=It[0];It.splice(0,1);var St=He.indexOf(Ht);St>=0&&He.splice(St,1),dt--,rt--}Ut=null!=W?(He.indexOf(It[0])+1)%dt:0;for(var vr=Math.abs(ee-_)/rt,gr=Ut;ct!=rt;gr=++gr%dt){var en=He[gr].getOtherEnd(x);if(en!=W){var tn=(_+ct*vr)%360;oe.branchRadialLayout(en,x,tn,(tn+vr)%360,he+Ae,Ae),ct++}}},oe.maxDiagonalInTree=function(x){for(var W=ae.MIN_VALUE,_=0;_W&&(W=he)}return W},oe.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},oe.prototype.groupZeroDegreeMembers=function(){var x=this,W={};this.memberGroups={},this.idToDummyNode={};for(var _=[],ee=this.graphManager.getAllNodes(),he=0;he"u"&&(W[Pe]=[]),W[Pe]=W[Pe].concat(Ae)}Object.keys(W).forEach(function(et){if(W[et].length>1){var Ze="DummyCompound_"+et;x.memberGroups[Ze]=W[et];var Dt=W[et][0].getParent(),Ot=new R(x.graphManager);Ot.id=Ze,Ot.paddingLeft=Dt.paddingLeft||0,Ot.paddingRight=Dt.paddingRight||0,Ot.paddingBottom=Dt.paddingBottom||0,Ot.paddingTop=Dt.paddingTop||0,x.idToDummyNode[Ze]=Ot;var He=x.getGraphManager().add(x.newGraph(),Ot),rt=Dt.getChild();rt.add(Ot);for(var ct=0;ct=0;x--){var W=this.compoundOrder[x];this.adjustLocations(this.tiledMemberPack[W.id],W.rect.x,W.rect.y,W.paddingLeft,W.paddingTop)}},oe.prototype.repopulateZeroDegreeMembers=function(){var x=this,W=this.tiledZeroDegreePack;Object.keys(W).forEach(function(_){var ee=x.idToDummyNode[_];x.adjustLocations(W[_],ee.rect.x,ee.rect.y,ee.paddingLeft,ee.paddingTop)})},oe.prototype.getToBeTiled=function(x){var W=x.id;if(null!=this.toBeTiled[W])return this.toBeTiled[W];var _=x.getChild();if(null==_)return this.toBeTiled[W]=!1,!1;for(var ee=_.getNodes(),he=0;he0)return this.toBeTiled[W]=!1,!1;if(null!=Ae.getChild()){if(!this.getToBeTiled(Ae))return this.toBeTiled[W]=!1,!1}else this.toBeTiled[Ae.id]=!1}return this.toBeTiled[W]=!0,!0},oe.prototype.getNodeDegree=function(x){for(var _=x.getEdges(),ee=0,he=0;he<_.length;he++){var Ae=_[he];Ae.getSource().id!==Ae.getTarget().id&&(ee+=1)}return ee},oe.prototype.getNodeDegreeWithChildren=function(x){var W=this.getNodeDegree(x);if(null==x.getChild())return W;for(var _=x.getChild().getNodes(),ee=0;ee<_.length;ee++)W+=this.getNodeDegreeWithChildren(_[ee]);return W},oe.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},oe.prototype.fillCompexOrderByDFS=function(x){for(var W=0;Wet&&(et=Dt.rect.height)}_+=et+x.verticalPadding}},oe.prototype.tileCompoundMembers=function(x,W){var _=this;this.tiledMemberPack=[],Object.keys(x).forEach(function(ee){var he=W[ee];_.tiledMemberPack[ee]=_.tileNodes(x[ee],he.paddingLeft+he.paddingRight),he.rect.width=_.tiledMemberPack[ee].width,he.rect.height=_.tiledMemberPack[ee].height})},oe.prototype.tileNodes=function(x,W){var he={rows:[],rowWidth:[],rowHeight:[],width:0,height:W,verticalPadding:D.TILING_PADDING_VERTICAL,horizontalPadding:D.TILING_PADDING_HORIZONTAL};x.sort(function(Pe,et){return Pe.rect.width*Pe.rect.height>et.rect.width*et.rect.height?-1:Pe.rect.width*Pe.rect.height0&&(Ie+=x.horizontalPadding),x.rowWidth[_]=Ie,x.width0&&(Pe+=x.verticalPadding);var et=0;Pe>x.rowHeight[_]&&(et=x.rowHeight[_],x.rowHeight[_]=Pe,et=x.rowHeight[_]-et),x.height+=et,x.rows[_].push(W)},oe.prototype.getShortestRowIndex=function(x){for(var W=-1,_=Number.MAX_VALUE,ee=0;ee_&&(W=ee,_=x.rowWidth[ee]);return W},oe.prototype.canAddHorizontal=function(x,W,_){var ee=this.getShortestRowIndex(x);if(ee<0)return!0;var he=x.rowWidth[ee];if(he+x.horizontalPadding+W<=x.width)return!0;var Ie,Pe,Ae=0;return x.rowHeight[ee]<_&&ee>0&&(Ae=_+x.verticalPadding-x.rowHeight[ee]),Ie=x.width-he>=W+x.horizontalPadding?(x.height+Ae)/(he+W+x.horizontalPadding):(x.height+Ae)/x.width,Ae=_+x.verticalPadding,(Pe=x.widthAe&&W!=_){ee.splice(-1,1),x.rows[_].push(he),x.rowWidth[W]=x.rowWidth[W]-Ae,x.rowWidth[_]=x.rowWidth[_]+Ae,x.width=x.rowWidth[instance.getLongestRowIndex(x)];for(var Ie=Number.MIN_VALUE,Pe=0;PeIe&&(Ie=ee[Pe].height);W>0&&(Ie+=x.verticalPadding);var et=x.rowHeight[W]+x.rowHeight[_];x.rowHeight[W]=Ie,x.rowHeight[_]0)for(var rt=he;rt<=Ae;rt++)He[0]+=this.grid[rt][Ie-1].length+this.grid[rt][Ie].length-1;if(Ae0)for(rt=Ie;rt<=Pe;rt++)He[3]+=this.grid[he-1][rt].length+this.grid[he][rt].length-1;for(var dt,Ut,ct=ae.MAX_VALUE,It=0;It0&&(Pe=Te.getGraphManager().add(Te.newGraph(),_),this.processChildrenList(Pe,W,Te))}},K.prototype.stop=function(){return this.stopped=!0,this};var ae=function(re){re("layout","cose-bilkent",K)};typeof cytoscape<"u"&&ae(cytoscape),G.exports=ae}]))},7403:function(Xr){Xr.exports=function(){"use strict";function Ne(t){return(Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function _e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,a=new Array(e);r"u"?null:window,z=D?D.navigator:null,$=Ne(""),q=Ne({}),K=Ne(function(){}),se=typeof HTMLElement>"u"?"undefined":Ne(HTMLElement),ae=function(e){return e&&e.instanceString&&re(e.instanceString)?e.instanceString():null},Z=function(e){return null!=e&&Ne(e)==$},re=function(e){return null!=e&&Ne(e)===K},Te=function(e){return!ee(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},oe=function(e){return null!=e&&Ne(e)===q&&!Te(e)&&e.constructor===Object},x=function(e){return null!=e&&Ne(e)===Ne(1)&&!isNaN(e)},_=function(e){if("undefined"!==se)return null!=e&&e instanceof HTMLElement},ee=function(e){return he(e)||Ae(e)},he=function(e){return"collection"===ae(e)&&e._private.single},Ae=function(e){return"collection"===ae(e)&&!e._private.single},Ie=function(e){return"core"===ae(e)},Pe=function(e){return"stylesheet"===ae(e)},Ze=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},He=function(e){return function(e){return null!=e&&Ne(e)===q}(e)&&re(e.then)},rt=function(){return z&&z.userAgent.match(/msie|trident|edge/i)},ct=function(e,r){r||(r=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var i=[],s=0;sr?1:0},Qe=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r255)return;r.push(Math.floor(s))}if((n[1]||n[2]||n[3])&&!(n[1]&&n[2]&&n[3]))return;var u=a[4];if(void 0!==u){if((u=parseFloat(u))<0||u>1)return;r.push(u)}}return r}(e)||function(e){var r,a,n,i,s,o,l,u;function f(d,g,y){return y<0&&(y+=1),y>1&&(y-=1),y<1/6?d+6*(g-d)*y:y<.5?g:y<2/3?d+(g-d)*(2/3-y)*6:d}var h=new RegExp("^"+en+"$").exec(e);if(h){if((a=parseInt(h[1]))<0?a=(360- -1*a%360)%360:a>360&&(a%=360),a/=360,(n=parseFloat(h[2]))<0||n>100||(n/=100,(i=parseFloat(h[3]))<0||i>100)||(i/=100,void 0!==(s=h[4])&&((s=parseFloat(s))<0||s>1)))return;if(0===n)o=l=u=Math.round(255*i);else{var c=i<.5?i*(1+n):i+n-i*n,v=2*i-c;o=Math.round(255*f(v,c,a+1/3)),l=Math.round(255*f(v,c,a)),u=Math.round(255*f(v,c,a-1/3))}r=[o,l,u,s]}return r}(e)},Bs={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},$n=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i=e||w<0||h&&L-u>=i}function p(){var L=jt();if(y(L))return m(L);o=setTimeout(p,function g(L){var C=e-(L-l);return h?un(C,i-(L-u)):C}(L))}function m(L){return o=void 0,c&&a?v(L):(a=n=void 0,s)}function O(){var L=jt(),w=y(L);if(a=arguments,n=this,l=L,w){if(void 0===o)return function d(L){return u=L,o=setTimeout(p,e),f?v(L):s}(l);if(h)return clearTimeout(o),o=setTimeout(p,e),v(l)}return void 0===o&&(o=setTimeout(p,e)),s}return e=yr(e)||0,ve(r)&&(f=!!r.leading,i=(h="maxWait"in r)?Sa(yr(r.maxWait)||0,e):i,c="trailing"in r?!!r.trailing:c),O.cancel=function b(){void 0!==o&&clearTimeout(o),u=0,a=l=n=o=void 0},O.flush=function E(){return void 0===o?s:m(jt())},O},Yi=D?D.performance:null,Fs=Yi&&Yi.now?function(){return Yi.now()}:function(){return Date.now()},pl=function(){if(D){if(D.requestAnimationFrame)return function(t){D.requestAnimationFrame(t)};if(D.mozRequestAnimationFrame)return function(t){D.mozRequestAnimationFrame(t)};if(D.webkitRequestAnimationFrame)return function(t){D.webkitRequestAnimationFrame(t)};if(D.msRequestAnimationFrame)return function(t){D.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(Fs())},1e3/60)}}(),Wn=function(e){return pl(e)},Gr=Fs,La=9261,zs=65599,ln=5381,Gs=function(e){for(var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:La;!(n=e.next()).done;)a=a*zs+n.value|0;return a},fn=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:La)*zs+e|0},hn=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ln;return(r<<5)+r+e|0},_r=function(e){return 2097152*e[0]+e[1]},_n=function(e,r){return[fn(e[0],r[0]),hn(e[1],r[1])]},fa=function(e,r){var a={value:0,done:!1},n=0,i=e.length;return Gs({next:function(){return n=0&&(e[n]!==r||(e.splice(n,1),!a));n--);},Wi=function(e){e.splice(0,e.length)},Tr=function(e,r,a){return a&&(r=It(a,r)),e[r]},Kr=function(e,r,a,n){a&&(r=It(a,r)),e[r]=n},Sl=function(){function t(){_e(this,t),this._obj={}}return G(t,[{key:"set",value:function(r,a){return this._obj[r]=a,this}},{key:"delete",value:function(r){return this._obj[r]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(r){return void 0!==this._obj[r]}},{key:"get",value:function(r){return this._obj[r]}}]),t}(),Ir=typeof Map<"u"?Map:Sl,Al=function(){function t(e){if(_e(this,t),this._obj=Object.create(null),this.size=0,null!=e){var r;r=null!=e.instanceString&&e.instanceString()===this.instanceString()?e.toArray():e;for(var a=0;a"u"?"undefined":Ne(Set))?Set:Al,Kn=function(e,r){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==r&&Ie(e)){var n=r.group;if(null==n&&(n=r.data&&null!=r.data.source&&null!=r.data.target?"edges":"nodes"),"nodes"===n||"edges"===n){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:void 0===r.selectable||!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:void 0===r.grabbable||!!r.grabbable,pannable:void 0===r.pannable?"edges"===n:!!r.pannable,active:!1,classes:new Aa,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];Te(r.classes)?u=r.classes:Z(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,h=u.length;fm?1:0},f=function(p,m,b,E,O){var L;if(null==b&&(b=0),null==O&&(O=a),b<0)throw new Error("lo must be non-negative");for(null==E&&(E=p.length);bk;0<=k?C++:C--)M.push(C);return M}.apply(this).reverse()).length;EB;0<=B?++M:--M)N.push(s(p,b));return N},g=function(p,m,b,E){var O,L,w;for(null==E&&(E=a),O=p[b];b>m&&E(O,L=p[w=b-1>>1])<0;)p[b]=L,b=w;return p[b]=O},y=function(p,m,b){var E,O,L,w,M;for(null==b&&(b=a),O=p.length,M=m,L=p[m],E=2*m+1;E0;){var L=m.pop(),w=y(L),M=L.id();if(c[M]=w,w!==1/0)for(var C=L.neighborhood().intersect(d),k=0;k0)for(j.unshift(H);h[fe];){var te=h[fe];j.unshift(te.edge),j.unshift(te.node),fe=(ne=te.node).id()}return o.spawn(j)}}}},Il={kruskal:function(e){e=e||function(b){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(E){for(var O=0;O0;){if(b=d.pop(),E=b.id(),g.delete(E),w++,E===f){for(var M=[],C=i,k=f,B=p[k];M.unshift(C),null!=B&&M.unshift(B),null!=(C=y[k]);)B=p[k=C.id()];return{found:!0,distance:h[E],path:this.spawn(M),steps:w}}v[E]=!0;for(var N=b._private.edges,U=0;UB&&(d[k]=B,m[k]=C,b[k]=O),!i){var N=C*f+M;!i&&d[N]>B&&(d[N]=B,m[N]=M,b[N]=O)}}}for(var U=0;U1&&void 0!==arguments[1]?arguments[1]:s,st=[],je=b(Be);;){if(null==je)return r.spawn();var De=m(je),A=De.edge,ie=De.pred;if(st.unshift(je[0]),je.same(Xe)&&st.length>0)break;null!=A&&st.unshift(A),je=ie}return l.spawn(st)},hasNegativeWeightCycle:g,negativeWeightCycles:y}}},Gl=Math.sqrt(2),Vl=function(e,r,a){0===a.length&&Bt("Karger-Stein must be run on a connected (sub)graph");for(var n=a[e],o=r[n[1]],l=r[n[2]],u=a,f=u.length-1;f>=0;f--){var h=u[f],c=h[1],v=h[2];(r[c]===o&&r[v]===l||r[c]===l&&r[v]===o)&&u.splice(f,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*r.length);r=Vl(i,e,r),a--}return r},$l={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(j){return j.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Gl);if(!(i<2)){for(var u=[],f=0;f0?1:e<0?-1:0},ha=function(e,r){return Math.sqrt(ca(e,r))},ca=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},ql=function(e){for(var r=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Jl=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},jl=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},Jn=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ki=function(e){var a,n,i,s,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===r.length)a=n=i=s=r[0];else if(2===r.length)a=i=r[0],s=n=r[1];else if(4===r.length){var o=T(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Zs=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Zi=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},Na=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},ef=function(e,r){return Na(e,r.x,r.y)},Qs=function(e,r){return Na(e,r.x1,r.y1)&&Na(e,r.x2,r.y2)},Js=function(e,r,a,n,i,s,o){var h,l=yn(i,s),u=i/2,f=s/2,v=n-f-o;if((h=Zr(e,r,a,n,a-u+l-o,v,a+u-l+o,v,!1)).length>0)return h;var y=a+u+o;if((h=Zr(e,r,a,n,y,n-f+l-o,y,n+f-l+o,!1)).length>0)return h;var O=n+f+o;if((h=Zr(e,r,a,n,a-u+l-o,O,a+u-l+o,O,!1)).length>0)return h;var N,M=a-u-o;if((h=Zr(e,r,a,n,M,n-f+l-o,M,n+f-l+o,!1)).length>0)return h;var U=a-u+l,F=n-f+l;if((N=gn(e,r,a,n,U,F,l+o)).length>0&&N[0]<=U&&N[1]<=F)return[N[0],N[1]];var Q=a+u-l,Y=n-f+l;if((N=gn(e,r,a,n,Q,Y,l+o)).length>0&&N[0]>=Q&&N[1]<=Y)return[N[0],N[1]];var H=a+u-l,j=n+f-l;if((N=gn(e,r,a,n,H,j,l+o)).length>0&&N[0]>=H&&N[1]>=j)return[N[0],N[1]];var ne=a-u+l,fe=n+f-l;return(N=gn(e,r,a,n,ne,fe,l+o)).length>0&&N[0]<=ne&&N[1]>=fe?[N[0],N[1]]:[]},tf=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),h=Math.min(n,s),c=Math.max(n,s);return u-l<=e&&e<=f+l&&h-l<=r&&r<=c+l},rf=function(e,r,a,n,i,s,o,l,u){var f_x1=Math.min(a,o,i)-u,f_x2=Math.max(a,o,i)+u,f_y1=Math.min(n,l,s)-u,f_y2=Math.max(n,l,s)+u;return!(ef_x2||rf_y2)},sf=function(e,r,a,n,i,s,o,l){var v=[];!function(e,r,a,n,i){var o,l,u,f,h,c,v,d;0===e&&(e=1e-5),u=-27*(n/=e)+(r/=e)*(9*(a/=e)-r*r*2),o=(l=(3*a-r*r)/9)*l*l+(u/=54)*u,i[1]=0,v=r/3,o>0?(h=(h=u+Math.sqrt(o))<0?-Math.pow(-h,1/3):Math.pow(h,1/3),c=(c=u-Math.sqrt(o))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-v+h+c,i[4]=i[2]=-(v+=(h+c)/2),v=Math.sqrt(3)*(-c+h)/2,i[3]=v,i[5]=-v):(i[5]=i[3]=0,0===o?(d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=2*d-v,i[4]=i[2]=-(d+v)):(f=(l=-l)*l*l,f=Math.acos(u/Math.sqrt(f)),d=2*Math.sqrt(l),i[0]=-v+d*Math.cos(f/3),i[2]=-v+d*Math.cos((f+2*Math.PI)/3),i[4]=-v+d*Math.cos((f+4*Math.PI)/3)))}(1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,v);for(var g=[],y=0;y<6;y+=2)Math.abs(v[y+1])<1e-7&&v[y]>=0&&v[y]<=1&&g.push(v[y]);g.push(1),g.push(0);for(var m,b,E,p=-1,O=0;O=0?Eu?(e-i)*(e-i)+(r-s)*(r-s):f-c},fr=function(e,r,a){for(var n,i,s,o,u=0,f=0;f=e&&e>=s||n<=e&&e<=s))continue;(e-n)/(s-n)*(o-i)+i>r&&u++}return u%2!=0},Vr=function(e,r,a,n,i,s,o,l,u){var h,g,f=new Array(a.length);null!=l[0]?(h=Math.atan(l[1]/l[0]),l[0]<0?h+=Math.PI/2:h=-h-Math.PI/2):h=l;for(var c=Math.cos(-h),v=Math.sin(-h),d=0;d0){var y=eo(f,-u);g=js(y)}else g=f;return fr(e,r,g)},js=function(e){for(var o,l,u,f,r=new Array(e.length/2),h=0;h=0&&y<=1&&m.push(y),p>=0&&p<=1&&m.push(p),0===m.length)return[];var b=m[0]*l[0]+e,E=m[0]*l[1]+r;return m.length>1?m[0]==m[1]?[b,E]:[b,E,m[1]*l[0]+e,m[1]*l[1]+r]:[b,E]},Qi=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},Zr=function(e,r,a,n,i,s,o,l,u){var f=e-i,h=a-e,c=o-i,v=r-s,d=n-r,g=l-s,y=c*v-g*f,p=h*v-d*f,m=g*h-c*d;if(0!==m){var b=y/m,E=p/m,L=-.001;return L<=b&&b<=1.001&&L<=E&&E<=1.001||u?[e+b*h,r+b*d]:[]}return 0===y||0===p?Qi(e,a,o)===o?[o,l]:Qi(e,a,i)===i?[i,s]:Qi(i,o,a)===a?[a,n]:[]:[]},pn=function(e,r,a,n,i,s,o,l){var f,v,u=[],h=new Array(a.length),c=!0;if(null==s&&(c=!1),c){for(var d=0;d0){var g=eo(h,-l);v=js(g)}else v=h}else v=a;for(var m,b,E=0;Ef&&(f=E)},get:function(b){return u[b]}},c=0;c0?Q.edgesTo(F)[0]:F.edgesTo(Q)[0];var H=n(Y);F=F.id(),M[F]>M[N]+H&&(M[F]=M[N]+H,C.nodes.indexOf(F)<0?C.push(F):C.updateItem(F),w[F]=0,L[F]=[]),M[F]==M[N]+H&&(w[F]=w[F]+w[N],L[F].push(N))}else for(var j=0;j0;){for(var le=O.pop(),be=0;be0&&o.push(a[l]);0!==o.length&&i.push(n.collection(o))}return i}(f,l,r,n);return function(e){for(var r=0;r5&&void 0!==arguments[5]?arguments[5]:Lf,o=n,f=0;f=2?mn(e,r,a,0,lo,Af):mn(e,r,a,0,uo)},squaredEuclidean:function(e,r,a){return mn(e,r,a,0,lo)},manhattan:function(e,r,a){return mn(e,r,a,0,uo)},max:function(e,r,a){return mn(e,r,a,-1/0,Of)}};function ei(t,e,r,a,n,i){var s;return s=re(t)?t:ka[t]||ka.euclidean,0===e&&re(t)?s(n,i):s(e,r,a,n,i)}ka["squared-euclidean"]=ka.squaredEuclidean,ka.squaredeuclidean=ka.squaredEuclidean;var Mf=Wt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),rs=function(e){return Mf(e)},ti=function(e,r,a,n,i){var o="kMedoids"!==i?function(h){return a[h]}:function(h){return n[h](a)};return ei(e,n.length,o,function(c){return n[c](r)},a,r)},as=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;ua)return!1;return!0},Rf=function(e,r,a){for(var n=0;no&&(o=r[u][f],l=f);i[l].push(e[u])}for(var h=0;h=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var y,d=r[s],g=r[n[s]];y="dendrogram"===i.mode?{left:d,right:g,key:d.key}:{value:d.value.concat(g.value),key:d.key},e[d.index]=y,e.splice(g.index,1),r[d.key]=y;for(var p=0;pa[g.key][m.key]&&(l=a[g.key][m.key])):"max"===i.linkage?(l=a[d.key][m.key],a[d.key][m.key]1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(a0&&e.splice(0,r)):e=e.slice(r,a);for(var o=0,l=e.length-1;l>=0;l--)s?isFinite(e[l])||(e[l]=-1/0,o++):e.splice(l,1);i&&e.sort(function(c,v){return c-v});var f=e.length,h=Math.floor(f/2);return f%2!=0?e[h+1+o]:(e[h-1+o]+e[h+o])/2}(e):"mean"===r?function(e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=0,i=0,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;s2&&void 0!==arguments[2]?arguments[2]:e.length,n=1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i2&&void 0!==arguments[2]?arguments[2]:e.length,n=-1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;io&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;f=B?(N=B,B=F,U=Q):F>N&&(N=F);for(var Y=0;Y0?1:0;w[C%n.minIterations*o+le]=be,te+=be}if(te>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var we=0,me=0;me0&&n.push(i);return n}(o,h,c),Ee=function(e,r,a){for(var n=mo(e,r,a),i=0;iu&&(l=f,u=h)}a[i]=s[l]}return mo(e,r,a)}(o,u,J),xe={},Oe=0;Oe1||L>1)&&(o=!0),h[b]=[],m.outgoers().forEach(function(M){M.isEdge()&&h[b].push(M.id())})}else c[b]=[void 0,m.target().id()]}:function(m){var b=m.id();m.isNode()?(m.degree(!0)%2&&(l?u?o=!0:u=b:l=b),h[b]=[],m.connectedEdges().forEach(function(O){return h[b].push(O.id())})):c[b]=[m.source().id(),m.target().id()]});var v={found:!1,trail:void 0};if(o)return v;if(u&&l)if(i){if(f&&u!=f)return v;f=u}else{if(f&&u!=f&&l!=f)return v;f||(f=u)}else f||(f=s[0].id());var d=function(b){for(var L,w,M,E=b,O=[b];h[E].length;)L=h[E].shift(),w=c[L][0],E!=(M=c[L][1])?(h[M]=h[M].filter(function(C){return C!=L}),E=M):!i&&E!=w&&(h[w]=h[w].filter(function(C){return C!=L}),E=w),O.unshift(L),O.unshift(E);return O},g=[],y=[];for(y=d(f);1!=y.length;)0==h[y[0]].length?(g.unshift(s.getElementById(y.shift())),g.unshift(s.getElementById(y.shift()))):y=d(y.shift()).concat(y);for(var p in g.unshift(s.getElementById(y.shift())),h)if(h[p].length)return v;return v.found=!0,v.trail=this.spawn(g,!0),v}},ai=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},u=function h(c,v,d){c===d&&(n+=1),r[v]={id:a,low:a++,cutVertex:!1};var y,p,m,b,g=e.getElementById(v).connectedEdges().intersection(e);0===g.size()?i.push(e.spawn(e.getElementById(v))):g.forEach(function(E){y=E.source().id(),p=E.target().id(),(m=y===v?p:y)!==d&&(b=E.id(),o[b]||(o[b]=!0,s.push({x:v,y:m,edge:E})),m in r?r[v].low=Math.min(r[v].low,r[m].id):(h(c,m,v),r[v].low=Math.min(r[v].low,r[m].low),r[v].id<=r[m].low&&(r[v].cutVertex=!0,function(c,v){for(var d=s.length-1,g=[],y=e.spawn();s[d].x!=c||s[d].y!=v;)g.push(s.pop().edge),d--;g.push(s.pop().edge),g.forEach(function(p){var m=p.connectedNodes().intersection(e);y.merge(p),m.forEach(function(b){var E=b.id(),O=b.connectedEdges().intersection(e);y.merge(b),y.merge(r[E].cutVertex?O.filter(function(L){return L.isLoop()}):O)})}),i.push(y)}(v,m))))})};e.forEach(function(h){if(h.isNode()){var c=h.id();c in r||(n=0,u(c,c),r[c].cutVertex=n>1)}});var f=Object.keys(r).filter(function(h){return r[h].cutVertex}).map(function(h){return e.getElementById(h)});return{cut:e.spawn(f),components:i}},ni=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){if(i.push(u),r[u]={index:a,low:a++,explored:!1},e.getElementById(u).connectedEdges().intersection(e).forEach(function(g){var y=g.target().id();y!==u&&(y in r||l(y),r[y].explored||(r[u].low=Math.min(r[u].low,r[y].low)))}),r[u].index===r[u].low){for(var h=e.spawn();;){var c=i.pop();if(h.merge(e.getElementById(c)),r[c].low=r[u].index,r[c].explored=!0,c===u)break}var v=h.edgesWith(h),d=h.merge(v);n.push(d),s=s.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},Eo={};[cn,Nl,Il,kl,Bl,zl,$l,vf,Ia,Ra,ts,Sf,Gf,Xf,Jf,eh,{hopcroftTarjanBiconnected:ai,htbc:ai,htb:ai,hopcroftTarjanBiconnectedComponents:ai},{tarjanStronglyConnected:ni,tsc:ni,tscc:ni,tarjanStronglyConnectedComponents:ni}].forEach(function(t){Qe(Eo,t)});var $r=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};$r.prototype={fulfill:function(e){return Co(this,1,"fulfillValue",e)},reject:function(e){return Co(this,2,"rejectReason",e)},then:function(e,r){var a=this,n=new $r;return a.onFulfilled.push(Lo(e,n,"fulfill")),a.onRejected.push(Lo(r,n,"reject")),Do(a),n.proxy}};var Co=function(e,r,a,n){return 0===e.state&&(e.state=r,e[a]=n,Do(e)),e},Do=function(e){1===e.state?So(e,"onFulfilled",e.fulfillValue):2===e.state&&So(e,"onRejected",e.rejectReason)},So=function(e,r,a){if(0!==e[r].length){var n=e[r];e[r]=[];var i=function(){for(var o=0;o0:void 0}},clearQueue:function(){return function(){var r=this,n=void 0!==r.length?r:[r];if(!(this._private.cy||this).styleEnabled())return this;for(var s=0;s-1};var hc=function fc(t,e){var r=this.__data__,a=si(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this};function Fa(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0&&this.spawn(n).updateStyle().emit("class"),r},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var r=this[0];return null!=r&&r._private.classes.has(e)},toggleClass:function(e,r){Te(e)||(e=e.match(/\S+/g)||[]);for(var a=this,n=void 0===r,i=[],s=0,o=a.length;s0&&this.spawn(i).updateStyle().emit("class"),a},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,r){var a=this;if(null==r)r=250;else if(0===r)return a;return a.addClass(e),setTimeout(function(){a.removeClass(e)},r),a}};ui.className=ui.classNames=ui.classes;var gt={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:St,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};gt.variable="(?:[\\w-.]|(?:\\\\"+gt.metaChar+"))+",gt.className="(?:[\\w-]|(?:\\\\"+gt.metaChar+"))+",gt.value=gt.string+"|"+gt.number,gt.id=gt.variable,function(){var t,e,r;for(t=gt.comparatorOp.split("|"),r=0;r=0)&&"="!==e&&(gt.comparatorOp+="|\\!"+e)}();var Ve_GROUP=0,Ve_COLLECTION=1,Ve_FILTER=2,Ve_DATA_COMPARE=3,Ve_DATA_EXIST=4,Ve_DATA_BOOL=5,Ve_META_COMPARE=6,Ve_STATE=7,Ve_ID=8,Ve_CLASS=9,Ve_UNDIRECTED_EDGE=10,Ve_DIRECTED_EDGE=11,Ve_NODE_SOURCE=12,Ve_NODE_TARGET=13,Ve_NODE_NEIGHBOR=14,Ve_CHILD=15,Ve_DESCENDANT=16,Ve_PARENT=17,Ve_ANCESTOR=18,Ve_COMPOUND_SPLIT=19,Ve_TRUE=20,ls=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(t,e){return function(e,r){return-1*Gn(e,r)}(t.selector,e.selector)}),gv=function(){for(var e,t={},r=0;r0&&f.edgeCount>0)return wt("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return wt("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===f.edgeCount&&wt("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(f){return f??""},r=function(f){return Z(f)?'"'+f+'"':e(f)},a=function(f){return" "+f+" "},i=function(f,h){return f.checks.reduce(function(c,v,d){return c+(h===f&&0===d?"$":"")+function(f,h){var v=f.value;switch(f.type){case Ve_GROUP:var d=e(v);return d.substring(0,d.length-1);case Ve_DATA_COMPARE:return"["+f.field+a(e(f.operator))+r(v)+"]";case Ve_DATA_BOOL:var m=f.field;return"["+e(f.operator)+m+"]";case Ve_DATA_EXIST:return"["+f.field+"]";case Ve_META_COMPARE:return"[["+f.field+a(e(f.operator))+r(v)+"]]";case Ve_STATE:return v;case Ve_ID:return"#"+v;case Ve_CLASS:return"."+v;case Ve_PARENT:case Ve_CHILD:return i(f.parent,h)+a(">")+i(f.child,h);case Ve_ANCESTOR:case Ve_DESCENDANT:return i(f.ancestor,h)+" "+i(f.descendant,h);case Ve_COMPOUND_SPLIT:var L=i(f.left,h),w=i(f.subject,h),M=i(f.right,h);return L+(L.length>0?" ":"")+w+M;case Ve_TRUE:return""}}(v,h)},"")},s="",o=0;o1&&o=0&&(r=r.replace("!",""),h=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(i||o||f)&&(l=i||s?""+e:"",u=""+a),f&&(e=l=l.toLowerCase(),a=u=u.toLowerCase()),r){case"*=":n=l.indexOf(u)>=0;break;case"$=":n=l.indexOf(u,l.length-u.length)>=0;break;case"^=":n=0===l.indexOf(u);break;case"=":n=e===a;break;case">":c=!0,n=e>a;break;case">=":c=!0,n=e>=a;break;case"<":c=!0,n=e0;){var f=n.shift();e(f),i.add(f.id()),o&&a(n,i,f)}return t}function $o(t,e,r){if(r.isParent())for(var a=r._private.children,n=0;n1&&void 0!==arguments[1])||arguments[1],$o)},Va.forEachUp=function(t){return cs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Uo)},Va.forEachUpAndDown=function(t){return cs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ov)},Va.ancestors=Va.parents,(En=Yo={data:xt.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:xt.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:xt.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:xt.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:xt.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:xt.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=En.data,En.removeAttr=En.removeData;var Mv=Yo,li={};function vs(t){return function(e){var r=this;if(void 0===e&&(e=!0),0===r.length);else if(r.isNode()&&!r.removed()){for(var a=0,n=r[0],i=n._private.edges,s=0;se}),minIndegree:$a("indegree",function(t,e){return te}),minOutdegree:$a("outdegree",function(t,e){return te})}),Qe(li,{totalDegree:function(e){for(var r=0,a=this.nodes(),n=0;n0;y&&(g=g[0]);var m=y?g.position():{x:0,y:0};return i={x:d.x-m.x,y:d.y-m.y},void 0===e?i:i[e]}for(var l=0;l0;h&&(f=f[0]);var v=h?f.position():{x:0,y:0};void 0!==r?u.position(e,r+v[e]):void 0!==i&&u.position({x:i.x+v.x,y:i.y+v.y})}}else if(!s)return;return this}}).modelPosition=Cr.point=Cr.position,Cr.modelPositions=Cr.points=Cr.positions,Cr.renderedPoint=Cr.renderedPosition,Cr.relativePoint=Cr.relativePosition;var Ua,ta,Nv=Ho;Ua=ta={},ta.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),a=r.zoom(),n=r.pan(),i=e.x1*a+n.x,s=e.x2*a+n.x,o=e.y1*a+n.y,l=e.y2*a+n.y;return{x1:i,x2:s,y1:o,y2:l,w:s-i,h:l-o}},ta.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp(function(r){if(r.isParent()){var a=r._private;a.compoundBoundsClean=!1,a.bbCache=null,t||r.emitAndNotify("bounds")}}),this):this},ta.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(s.isParent()){var o=s._private,l=s.children(),u="include"===s.pstyle("compound-sizing-wrt-labels").value,f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},h=l.boundingBox({includeLabels:u,includeOverlays:!1,useCache:!1}),c=o.position;(0===h.w||0===h.h)&&((h={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue}).x1=c.x-h.w/2,h.x2=c.x+h.w/2,h.y1=c.y-h.h/2,h.y2=c.y+h.h/2);var g=f.width.left.value;"px"===f.width.left.units&&f.width.val>0&&(g=100*g/f.width.val);var y=f.width.right.value;"px"===f.width.right.units&&f.width.val>0&&(y=100*y/f.width.val);var p=f.height.top.value;"px"===f.height.top.units&&f.height.val>0&&(p=100*p/f.height.val);var m=f.height.bottom.value;"px"===f.height.bottom.units&&f.height.val>0&&(m=100*m/f.height.val);var b=v(f.width.val-h.w,g,y),E=b.biasDiff,O=b.biasComplementDiff,L=v(f.height.val-h.h,p,m),w=L.biasDiff,M=L.biasComplementDiff;o.autoPadding=function d(C,k,B,N){if("%"!==B.units)return"px"===B.units?B.pfValue:0;switch(N){case"width":return C>0?B.pfValue*C:0;case"height":return k>0?B.pfValue*k:0;case"average":return C>0&&k>0?B.pfValue*(C+k)/2:0;case"min":return C>0&&k>0?C>k?B.pfValue*k:B.pfValue*C:0;case"max":return C>0&&k>0?C>k?B.pfValue*C:B.pfValue*k:0;default:return 0}}(h.w,h.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),o.autoWidth=Math.max(h.w,f.width.val),c.x=(-E+h.x1+h.x2+O)/2,o.autoHeight=Math.max(h.h,f.height.val),c.y=(-w+h.y1+h.y2+M)/2}function v(C,k,B){var N=0,U=0,F=k+B;return C>0&&F>0&&(N=k/F*C,U=B/F*C),{biasDiff:N,biasComplementDiff:U}}}for(var a=0;ae.x2?n:e.x2,e.y1=ae.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},ga=function(e,r){return null==r?e:Dr(e,r.x1,r.y1,r.x2,r.y2)},wn=function(e,r,a){return Tr(e,r,a)},fi=function(e,r,a){if(!r.cy().headless()){var l,u,n=r._private,i=n.rstyle,s=i.arrowWidth/2;if("none"!==r.pstyle(a+"-arrow-shape").value){"source"===a?(l=i.srcX,u=i.srcY):"target"===a?(l=i.tgtX,u=i.tgtY):(l=i.midX,u=i.midY);var f=n.arrowBounds=n.arrowBounds||{},h=f[a]=f[a]||{};h.x1=l-s,h.y1=u-s,h.x2=l+s,h.y2=u+s,h.w=h.x2-h.x1,h.h=h.y2-h.y1,Jn(h,1),Dr(e,h.x1,h.y1,h.x2,h.y2)}}},ds=function(e,r,a){if(!r.cy().headless()){var n,i=r._private,s=i.rstyle;if(r.pstyle((n=a?a+"-":"")+"label").strValue){var B,N,U,F,l=r.pstyle("text-halign"),u=r.pstyle("text-valign"),f=wn(s,"labelWidth",a),h=wn(s,"labelHeight",a),c=wn(s,"labelX",a),v=wn(s,"labelY",a),d=r.pstyle(n+"text-margin-x").pfValue,g=r.pstyle(n+"text-margin-y").pfValue,y=r.isEdge(),p=r.pstyle(n+"text-rotation"),m=r.pstyle("text-outline-width").pfValue,E=r.pstyle("text-border-width").pfValue/2,O=r.pstyle("text-background-padding").pfValue,w=h,M=f,C=M/2,k=w/2;if(y)B=c-C,N=c+C,U=v-k,F=v+k;else{switch(l.value){case"left":B=c-M,N=c;break;case"center":B=c-C,N=c+C;break;case"right":B=c,N=c+M}switch(u.value){case"top":U=v-w,F=v;break;case"center":U=v-k,F=v+k;break;case"bottom":U=v,F=v+w}}B+=d-Math.max(m,E)-O-2,N+=d+Math.max(m,E)+O+2,U+=g-Math.max(m,E)-O-2,F+=g+Math.max(m,E)+O+2;var Q=a||"main",Y=i.labelBounds,H=Y[Q]=Y[Q]||{};H.x1=B,H.y1=U,H.x2=N,H.y2=F,H.w=N-B,H.h=F-U;var j=y&&"autorotate"===p.strValue;if(j||null!=p.pfValue&&0!==p.pfValue){var fe=j?wn(i.rstyle,"labelAngle",a):p.pfValue,te=Math.cos(fe),le=Math.sin(fe),be=(B+N)/2,we=(U+F)/2;if(!y){switch(l.value){case"left":be=N;break;case"right":be=B}switch(u.value){case"top":we=F;break;case"bottom":we=U}}var me=function(nt,ke){return{x:(nt-=be)*te-(ke-=we)*le+be,y:nt*le+ke*te+we}},ge=me(B,U),J=me(B,F),Ee=me(N,U),xe=me(N,F);B=Math.min(ge.x,J.x,Ee.x,xe.x),N=Math.max(ge.x,J.x,Ee.x,xe.x),U=Math.min(ge.y,J.y,Ee.y,xe.y),F=Math.max(ge.y,J.y,Ee.y,xe.y)}var Oe=Q+"Rot",Re=Y[Oe]=Y[Oe]||{};Re.x1=B,Re.y1=U,Re.x2=N,Re.y2=F,Re.w=N-B,Re.h=F-U,Dr(e,B,U,N,F),Dr(i.labelBounds.all,B,U,N,F)}return e}},_o=function(e){var r=0,a=function(s){return(s?1:0)<(h=H[1].x)){var j=f;f=h,h=j}if((c=H[0].y)>(v=H[1].y)){var ne=c;c=v,v=ne}Dr(s,f-k,c-k,h+k,v+k)}}else if("bezier"===Y||"unbundled-bezier"===Y||"segments"===Y||"taxi"===Y){var fe;switch(Y){case"bezier":case"unbundled-bezier":fe=y.bezierPts;break;case"segments":case"taxi":fe=y.linePts}if(null!=fe)for(var te=0;te(h=ge.x)){var J=f;f=h,h=J}if((c=we.y)>(v=ge.y)){var Ee=c;c=v,v=Ee}Dr(s,f-=k,c-=k,h+=k,v+=k)}if(n&&r.includeEdges&&u&&(fi(s,e,"mid-source"),fi(s,e,"mid-target"),fi(s,e,"source"),fi(s,e,"target")),n&&"yes"===e.pstyle("ghost").value){var Oe=e.pstyle("ghost-offset-x").pfValue,Re=e.pstyle("ghost-offset-y").pfValue;Dr(s,s.x1+Oe,s.y1+Re,s.x2+Oe,s.y2+Re)}var tt=o.bodyBounds=o.bodyBounds||{};Zs(tt,s),Ki(tt,p),Jn(tt,1),n&&Dr(s,(f=s.x1)-M,(c=s.y1)-M,(h=s.x2)+M,(v=s.y2)+M);var nt=o.overlayBounds=o.overlayBounds||{};Zs(nt,s),Ki(nt,p),Jn(nt,1);var ke=o.labelBounds=o.labelBounds||{};null!=ke.all?function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0}(ke.all):ke.all=lr(),n&&r.includeLabels&&(r.includeMainLabels&&ds(s,e,null),u&&(r.includeSourceLabels&&ds(s,e,"source"),r.includeTargetLabels&&ds(s,e,"target")))}return s.x1=br(s.x1),s.y1=br(s.y1),s.x2=br(s.x2),s.y2=br(s.y2),s.w=br(s.x2-s.x1),s.h=br(s.y2-s.y1),s.w>0&&s.h>0&&b&&(Ki(s,p),Jn(s,1)),s}(e,xn),a.bbCache=n,a.bbCachePosKey=l):n=a.bbCache,!o){var v=e.isNode();n=lr(),(r.includeNodes&&v||r.includeEdges&&!v)&&ga(n,r.includeOverlays?a.overlayBounds:a.bodyBounds),r.includeLabels&&(r.includeMainLabels&&(!i||r.includeSourceLabels&&r.includeTargetLabels)?ga(n,a.labelBounds.all):(r.includeMainLabels&&ga(n,a.labelBounds.mainRot),r.includeSourceLabels&&ga(n,a.labelBounds.sourceRot),r.includeTargetLabels&&ga(n,a.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},xn={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},Zo=_o(xn),Qo=Wt(xn);ta.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=lr();var r=Qo(t=t||xn),a=this;if(a.cy().styleEnabled())for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:_v,e=arguments.length>1?arguments[1]:void 0,r=0;r=0;o--)s(o);return this},ra.removeAllListeners=function(){return this.removeListener("*")},ra.emit=ra.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,Te(e)||(e=[e]),qv(this,function(i,s){null!=r&&(n=(a=[{event:s.event,type:s.type,namespace:s.namespace,callback:r}]).length);for(var o=function(f){var h=a[f];if(h.type===s.type&&(!h.namespace||h.namespace===s.namespace||".*"===h.namespace)&&i.eventMatches(i.context,h,s)){var c=[s];null!=e&&function(e,r){for(var a=0;a1&&e!==this.length-1){var o=this.length-1,l=this[o],u=l._private.data.id;this[o]=void 0,this[e]=l,i.set(u,{ele:l,index:e})}return this.length--,this},unmergeOne:function(e){var i=this._private.map.get((e=e[0])._private.data.id);return i?(this.unmergeAt(i.index),this):this},unmerge:function(e){var r=this._private.cy;if(!e)return this;if(e&&Z(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=0;n=0;r--)e(this[r])&&this.unmergeAt(r);return this},map:function(e,r){for(var a=[],n=this,i=0;ia&&(a=l,n=o)}return{value:a,ele:n}},min:function(e,r){for(var n,a=1/0,i=this,s=0;s=0&&i"u"?"undefined":Ne(Symbol))!=e&&Ne(Symbol.iterator)!=e&&(di[Symbol.iterator]=function(){var a=this,n={value:void 0,done:!1},i=0,s=this.length;return P({next:function(){return i1&&void 0!==arguments[1])||arguments[1],a=this[0],n=a.cy();if(n.styleEnabled()&&a)return this.cleanStyle(),a._private.style[e]??(r?n.style().getDefaultProperty(e):null)},numericStyle:function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var a=r.pstyle(e);return void 0!==a.pfValue?a.pfValue:a.value}},numericStyleUnits:function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},renderedStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=this[0];return a?r.style().getRenderedStyle(a,e):void 0},style:function(e,r){var a=this.cy();if(!a.styleEnabled())return this;var i=a.style();if(oe(e))i.applyBypass(this,e,false),this.emitAndNotify("style");else if(Z(e)){if(void 0===r){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,r,false),this.emitAndNotify("style")}else if(void 0===e){var l=this[0];return l?i.getRawStyle(l):void 0}return this},removeStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=r.style(),i=this;if(void 0===e)for(var s=0;s0&&e.push(f[0]),e.push(o[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),er.neighbourhood=er.neighborhood,er.closedNeighbourhood=er.closedNeighborhood,er.openNeighbourhood=er.openNeighborhood,Qe(er,{source:mr(function(e){var a,r=this[0];return r&&(a=r._private.source||r.cy().collection()),a&&e?a.filter(e):a},"source"),target:mr(function(e){var a,r=this[0];return r&&(a=r._private.target||r.cy().collection()),a&&e?a.filter(e):a},"target"),sources:du({attr:"source"}),targets:du({attr:"target"})}),Qe(er,{edgesWith:mr(gu(),"edgesWith"),edgesTo:mr(gu({thisIsSrc:!0}),"edgesTo")}),Qe(er,{connectedEdges:mr(function(t){for(var e=[],a=0;a0);return s},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),er.componentsOf=er.components;var qt=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new Ir,s=!1;if(r){if(r.length>0&&oe(r[0])&&!he(r[0])){s=!0;for(var o=[],l=new Aa,u=0,f=r.length;u0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),n=a._private,i=[],s=[],l=0,u=r.length;l0){for(var ne=o.length===r.length?r:new qt(a,o),fe=0;fe0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=[],n={},i=r._private.cy;function l(F){var Q=n[F.id()];e&&F.removed()||Q||(n[F.id()]=!0,F.isNode()?(a.push(F),function s(F){for(var Q=F._private.edges,Y=0;Y0&&(t?B.emitAndNotify("remove"):e&&B.emit("remove"));for(var N=0;N=i?function m(k,B){for(var N=0;N0?N=F:B=F}while(Math.abs(U)>s&&++Qf&&Math.abs(d.v)>f;);return c?function(g){return l[g*(l.length-1)|0]}:u}}(),Nt=function(e,r,a,n){var i=nd(e,r,a,n);return function(s,o,l){return s+(o-s)*i(l)}},mi={linear:function(e,r,a){return e+(r-e)*a},ease:Nt(.25,.1,.25,1),"ease-in":Nt(.42,0,1,1),"ease-out":Nt(0,0,.58,1),"ease-in-out":Nt(.42,0,.58,1),"ease-in-sine":Nt(.47,0,.745,.715),"ease-out-sine":Nt(.39,.575,.565,1),"ease-in-out-sine":Nt(.445,.05,.55,.95),"ease-in-quad":Nt(.55,.085,.68,.53),"ease-out-quad":Nt(.25,.46,.45,.94),"ease-in-out-quad":Nt(.455,.03,.515,.955),"ease-in-cubic":Nt(.55,.055,.675,.19),"ease-out-cubic":Nt(.215,.61,.355,1),"ease-in-out-cubic":Nt(.645,.045,.355,1),"ease-in-quart":Nt(.895,.03,.685,.22),"ease-out-quart":Nt(.165,.84,.44,1),"ease-in-out-quart":Nt(.77,0,.175,1),"ease-in-quint":Nt(.755,.05,.855,.06),"ease-out-quint":Nt(.23,1,.32,1),"ease-in-out-quint":Nt(.86,0,.07,1),"ease-in-expo":Nt(.95,.05,.795,.035),"ease-out-expo":Nt(.19,1,.22,1),"ease-in-out-expo":Nt(1,0,0,1),"ease-in-circ":Nt(.6,.04,.98,.335),"ease-out-circ":Nt(.075,.82,.165,1),"ease-in-out-circ":Nt(.785,.135,.15,.86),spring:function(e,r,a){if(0===a)return mi.linear;var n=id(e,r,a);return function(i,s,o){return i+(s-i)*n(o)}},"cubic-bezier":Nt};function yu(t,e,r,a,n){if(1===a||e===r)return r;var i=n(e,r,a);return null==t||((t.roundValue||t.color)&&(i=Math.round(i)),void 0!==t.min&&(i=Math.max(i,t.min)),void 0!==t.max&&(i=Math.min(i,t.max))),i}function mu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Xa(t,e,r,a,n){var i=null!=n?n.type:null;r<0?r=0:r>1&&(r=1);var s=mu(t,n),o=mu(e,n);if(x(s)&&x(o))return yu(i,s,o,r,a);if(Te(s)&&Te(o)){for(var l=[],u=0;u0?("spring"===v&&d.push(s.duration),s.easingImpl=mi[v].apply(null,d)):s.easingImpl=mi[v]}var y,g=s.easingImpl;if(y=0===s.duration?1:(r-l)/s.duration,s.applying&&(y=s.progress),y<0?y=0:y>1&&(y=1),null==s.delay){var p=s.startPosition,m=s.position;if(m&&n&&!t.locked()){var b={};Sn(p.x,m.x)&&(b.x=Xa(p.x,m.x,y,g)),Sn(p.y,m.y)&&(b.y=Xa(p.y,m.y,y,g)),t.position(b)}var E=s.startPan,O=s.pan,L=i.pan,w=null!=O&&a;w&&(Sn(E.x,O.x)&&(L.x=Xa(E.x,O.x,y,g)),Sn(E.y,O.y)&&(L.y=Xa(E.y,O.y,y,g)),t.emit("pan"));var M=s.startZoom,C=s.zoom,k=null!=C&&a;k&&(Sn(M,C)&&(i.zoom=dn(i.minZoom,Xa(M,C,y,g),i.maxZoom)),t.emit("zoom")),(w||k)&&t.emit("viewport");var B=s.style;if(B&&B.length>0&&n){for(var N=0;N=0;w--)(0,L[w])();L.splice(0,L.length)},m=v.length-1;m>=0;m--){var b=v[m],E=b._private;E.stopped?(v.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.frames)):!E.playing&&!E.applying||(E.playing&&E.applying&&(E.applying=!1),E.started||od(0,b,t),sd(f,b,t,h),E.applying&&(E.applying=!1),p(E.frames),null!=E.step&&E.step(t),b.completed()&&(v.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,p(E.completes)),g=!0)}return!h&&0===v.length&&0===d.length&&a.push(f),g}for(var i=!1,s=0;s0?e.notify("draw",r):e.notify("draw")),r.unmerge(a),e.emit("step")}var ud={animate:xt.animate(),animation:xt.animation(),animated:xt.animated(),clearQueue:xt.clearQueue(),delay:xt.delay(),delayAnimation:xt.delayAnimation(),stop:xt.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var a=e.renderer();a&&a.beforeRender?a.beforeRender(function(i,s){bu(s,e)},a.beforeRenderPriorities.animations):function r(){e._private.animationsRunning&&Wn(function(i){bu(i,e),r()})}()}}},ld={qualifierCompare:function(e,r){return null==e||null==r?null==e&&null==r:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return null==n||e!==a.target&&he(a.target)&&n.matches(a.target)},addEventFields:function(e,r){r.cy=e,r.target=e},callbackContext:function(e,r,a){return null!=r.qualifier?a.target:e}},bi=function(e){return Z(e)?new Jr(e):e},Eu={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new ci(ld,this)),this},emitter:function(){return this._private.emitter},on:function(e,r,a){return this.emitter().on(e,bi(r),a),this},removeListener:function(e,r,a){return this.emitter().removeListener(e,bi(r),a),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,r,a){return this.emitter().one(e,bi(r),a),this},once:function(e,r,a){return this.emitter().one(e,bi(r),a),this},emit:function(e,r){return this.emitter().emit(e,r),this},emitAndNotify:function(e,r){return this.emit(e),this.notify(e,r),this}};xt.eventAliasesOn(Eu);var ys={png:function(e){return this._private.renderer.png(e=e||{})},jpg:function(e){var r=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",r.jpg(e)}};ys.jpeg=ys.jpg;var Ei={layout:function(e){var r=this;if(null!=e)if(null!=e.name){var i,a=e.name,n=r.extension("layout",a);if(null!=n)return i=Z(e.eles)?r.$(e.eles):null!=e.eles?e.eles:r.$(),new n(Qe({},e,{cy:r,eles:i}));Bt("No such layout `"+a+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Bt("A `name` must be specified to make a layout");else Bt("Layout options must be specified to make a layout")}};Ei.createLayout=Ei.makeLayout=Ei.layout;var fd={notify:function(e,r){var a=this._private;if(this.batching()){a.batchNotifications=a.batchNotifications||{};var n=a.batchNotifications[e]=a.batchNotifications[e]||this.collection();null!=r&&n.merge(r)}else if(a.notificationsEnabled){var i=this.renderer();this.destroyed()||!i||i.notify(e,r)}},notifications:function(e){var r=this._private;return void 0===e?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(a){var n=e.batchNotifications[a];n.empty()?r.notify(a):r.notify(a,n)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var r=this;return this.batch(function(){for(var a=Object.keys(e),n=0;n0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(a){var n=a._private;n.rscratch={},n.rstyle={},n.animation.current=[],n.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};ms.invalidateDimensions=ms.resize;var wi={collection:function(e,r){return Z(e)?this.$(e):ee(e)?e.collection():Te(e)?(r||(r={}),new qt(this,e,r.unique,r.removed)):new qt(this)},nodes:function(e){var r=this.$(function(a){return a.isNode()});return e?r.filter(e):r},edges:function(e){var r=this.$(function(a){return a.isEdge()});return e?r.filter(e):r},$:function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},mutableElements:function(){return this._private.elements}};wi.elements=wi.filter=wi.$;var tr={};tr.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i0;if(c||h&&v){var d=void 0;c&&v||c?d=u.properties:v&&(d=u.mappedProperties);for(var g=0;g1&&(E=1),o.color){var L=a.valueMin[0],M=a.valueMin[1],C=a.valueMax[1],k=a.valueMin[2],B=a.valueMax[2],N=null==a.valueMin[3]?1:a.valueMin[3],U=null==a.valueMax[3]?1:a.valueMax[3],F=[Math.round(L+(a.valueMax[0]-L)*E),Math.round(M+(C-M)*E),Math.round(k+(B-k)*E),Math.round(N+(U-N)*E)];i={bypass:a.bypass,name:a.name,value:F,strValue:"rgb("+F[0]+", "+F[1]+", "+F[2]+")"}}else{if(!o.number)return!1;i=this.parse(a.name,a.valueMin+(a.valueMax-a.valueMin)*E,a.bypass,c)}if(!i)return g(),!1;i.mapping=a,a=i;break;case s.data:for(var Y=a.field.split("."),H=h.data,j=0;j0&&i>0){for(var o={},l=!1,u=0;u0?t.delayAnimation(s).play().promise().then(b):b()}).then(function(){return t.animation({style:o,duration:i,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1)},tr.checkTrigger=function(t,e,r,a,n,i){var s=this.properties[e],o=n(s);null!=o&&o(r,a)&&i(s)},tr.checkZOrderTrigger=function(t,e,r,a){var n=this;this.checkTrigger(t,e,r,a,function(i){return i.triggersZOrder},function(){n._private.cy.notify("zorder",t)})},tr.checkBoundsTrigger=function(t,e,r,a){this.checkTrigger(t,e,r,a,function(n){return n.triggersBounds},function(n){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),n.triggersBoundsOfParallelBeziers&&("curve-style"===e&&("bezier"===r||"bezier"===a)||"display"===e&&("none"===r||"none"===a))&&t.parallelEdges().forEach(function(i){i.isBundledBezier()&&i.dirtyBoundingBoxCache()})})},tr.checkTriggers=function(t,e,r,a){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,a),this.checkBoundsTrigger(t,e,r,a)};var An={applyBypass:function(t,e,r,a){var i=[];if("*"===e||"**"===e){if(void 0!==r)for(var o=0;on.length?a.substr(n.length):""}function l(){i=i.length>s.length?i.substr(s.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var f=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){wt("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}n=f[0];var h=f[1];if("core"!==h&&new Jr(h).invalid)wt("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),o();else{var v=f[2],d=!1;i=v;for(var g=[];!i.match(/^\s*$/);){var p=i.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){wt("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+v),d=!0;break}s=p[0];var m=p[1],b=p[2];this.properties[m]?r.parse(m,b)?(g.push({name:m,val:b}),l()):(wt("Skipping property: Invalid property definition in: "+s),l()):(wt("Skipping property: Invalid property name in: "+s),l())}if(d){o();break}r.selector(h);for(var L=0;L=7&&"d"===e[0]&&(f=new RegExp(o.data.regex).exec(e)))return!r&&{name:t,value:f,strValue:""+e,mapped:o.data,field:f[1],bypass:r};if(e.length>=10&&"m"===e[0]&&(h=new RegExp(o.mapData.regex).exec(e))){if(r||u.multiple)return!1;var v=o.mapData;if(!u.color&&!u.number)return!1;var d=this.parse(t,h[4]);if(!d||d.mapped)return!1;var g=this.parse(t,h[5]);if(!g||g.mapped)return!1;if(d.pfValue===g.pfValue||d.strValue===g.strValue)return wt("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+d.strValue+"`"),this.parse(t,d.strValue);if(u.color){var y=d.value,p=g.value;if(!(y[0]!==p[0]||y[1]!==p[1]||y[2]!==p[2]||y[3]!==p[3]&&(null!=y[3]&&1!==y[3]||null!=p[3]&&1!==p[3])))return!1}return{name:t,value:h,strValue:""+e,mapped:v,field:h[1],fieldMin:parseFloat(h[2]),fieldMax:parseFloat(h[3]),valueMin:d.value,valueMax:g.value,bypass:r}}}if(u.multiple&&"multiple"!==a){var b;if(b=l?e.split(/\s+/):Te(e)?e:[e],u.evenMultiple&&b.length%2!=0)return null;for(var E=[],O=[],L=[],w="",M=!1,C=0;C0?" ":"")+k.strValue}return u.validate&&!u.validate(E,O)?null:u.singleEnum&&M?1===E.length&&Z(E[0])?{name:t,value:E[0],strValue:E[0],bypass:r}:null:{name:t,value:E,pfValue:L,strValue:w,bypass:r,units:O}}var B=function(){for(var xe=0;xeu.max||u.strictMax&&e===u.max))return null;var Y={name:t,value:e,strValue:""+e+(N||""),units:N,bypass:r};return Y.pfValue=u.unitless||"px"!==N&&"em"!==N?e:"px"!==N&&N?this.getEmSizeInPixels()*e:e,("ms"===N||"s"===N)&&(Y.pfValue="ms"===N?e:1e3*e),("deg"===N||"rad"===N)&&(Y.pfValue="rad"===N?e:function(e){return Math.PI*e/180}(e)),"%"===N&&(Y.pfValue=e/100),Y}if(u.propList){var H=[],j=""+e;if("none"!==j){for(var ne=j.split(/\s*,\s*|\s+/),fe=0;fe0&&o>0&&!isNaN(a.w)&&!isNaN(a.h)&&a.w>0&&a.h>0)return{zoom:l=(l=(l=Math.min((s-2*r)/a.w,(o-2*r)/a.h))>this._private.maxZoom?this._private.maxZoom:l)=a.minZoom&&(a.maxZoom=r),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var i,s,r=this._private,a=r.pan,n=r.zoom,o=!1;return r.zoomingEnabled||(o=!0),x(e)?s=e:oe(e)&&(s=e.level,null!=e.position?i=Zn(e.position,n,a):null!=e.renderedPosition&&(i=e.renderedPosition),null!=i&&!r.panningEnabled&&(o=!0)),s=(s=s>r.maxZoom?r.maxZoom:s)r.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=l,i.push("zoom"))}if(n&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var u=e.pan;x(u.x)&&(r.pan.x=u.x,o=!1),x(u.y)&&(r.pan.y=u.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,r){if(this._private.panningEnabled){if(Z(e)){var a=e;e=this.mutableElements().filter(a)}else ee(e)||(e=this.mutableElements());if(0!==e.length){var n=e.boundingBox(),i=this.width(),s=this.height();return{x:(i-(r=void 0===r?this._private.zoom:r)*(n.x1+n.x2))/2,y:(s-r*(n.y1+n.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var a,n,e=this._private,r=e.container;return e.sizeCache=e.sizeCache||(r?(a=D.getComputedStyle(r),{width:r.clientWidth-(n=function(s){return parseFloat(a.getPropertyValue(s))})("padding-left")-n("padding-right"),height:r.clientHeight-n("padding-top")-n("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,r=this._private.zoom,a=this.renderedExtent(),n={x1:(a.x1-e.x)/r,x2:(a.x2-e.x)/r,y1:(a.y1-e.y)/r,y2:(a.y2-e.y)/r};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n},renderedExtent:function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};pa.centre=pa.center,pa.autolockNodes=pa.autolock,pa.autoungrabifyNodes=pa.autoungrabify;var On={data:xt.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:xt.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:xt.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:xt.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};On.attr=On.data,On.removeAttr=On.removeData;var Mn=function(e){var r=this,a=(e=Qe({},e)).container;a&&!_(a)&&_(a[0])&&(a=a[0]);var n=a?a._cyreg:null;(n=n||{})&&n.cy&&(n.cy.destroy(),n={});var i=n.readies=n.readies||[];a&&(a._cyreg=n),n.cy=r;var s=void 0!==D&&void 0!==a&&!e.headless,o=e;o.layout=Qe({name:s?"grid":"null"},o.layout),o.renderer=Qe({name:s?"canvas":"null"},o.renderer);var l=function(d,g,y){return void 0!==g?g:void 0!==y?y:d},u=this._private={container:a,ready:!1,options:o,elements:new qt(this),listeners:[],aniEles:new qt(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:l(!0,o.zoomingEnabled),userZoomingEnabled:l(!0,o.userZoomingEnabled),panningEnabled:l(!0,o.panningEnabled),userPanningEnabled:l(!0,o.userPanningEnabled),boxSelectionEnabled:l(!0,o.boxSelectionEnabled),autolock:l(!1,o.autolock,o.autolockNodes),autoungrabify:l(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:l(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?s:o.styleEnabled,zoom:x(o.zoom)?o.zoom:1,pan:{x:oe(o.pan)&&x(o.pan.x)?o.pan.x:0,y:oe(o.pan)&&x(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:l(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});u.styleEnabled&&r.setStyle([]);var h=Qe({},o,o.renderer);r.initRenderer(h);!function(d,g){if(d.some(He))return Pa.all(d).then(g);g(d)}([o.style,o.elements],function(v){var d=v[0],g=v[1];u.styleEnabled&&r.style().append(d),function(d,g,y){r.notifications(!1);var p=r.mutableElements();p.length>0&&p.remove(),null!=d&&(oe(d)||Te(d))&&r.add(d),r.one("layoutready",function(b){r.notifications(!0),r.emit(b),r.one("load",g),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",y),r.emit("done")});var m=Qe({},r._private.options.layout);m.eles=r.elements(),r.layout(m).run()}(g,function(){r.startAnimationLoop(),u.ready=!0,re(o.ready)&&r.on("ready",o.ready);for(var y=0;y0,l=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(ee(e.roots))u=e.roots;else if(Te(e.roots)){for(var f=[],h=0;h0;){var Q=B.shift(),Y=k(Q,N);if(Y)Q.outgoers().filter(function(ke){return ke.isNode()&&a.has(ke)}).forEach(U);else if(null===Y){wt("Detected double maximal shift for node `"+Q.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}C();var H=0;if(e.avoidOverlap)for(var j=0;j0&&p[0].length<=3?je/2:0),ie=2*Math.PI/p[$e].length*Be;return 0===$e&&1===p[0].length&&(A=1),{x:Re_x+A*Math.cos(ie),y:Re_y+A*Math.sin(ie)}}return{x:Re_x+(Be+1-(Xe+1)/2)*ht,y:($e+1)*st}}),this};var pd={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Tu(t){this.options=Qe({},pd,t)}Tu.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=a.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));for(var f,s=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/i.length:e.sweep)/Math.max(1,i.length-1),h=0,c=0;c1&&e.avoidOverlap){h*=1.75;var p=Math.cos(u)-Math.cos(0),m=Math.sin(u)-Math.sin(0),b=Math.sqrt(h*h/(p*p+m*m));f=Math.max(b,f)}return a.nodes().layoutPositions(this,e,function(L,w){var M=e.startAngle+w*u*(n?1:-1),C=f*Math.cos(M),k=f*Math.sin(M);return{x:o.x+C,y:o.y+k}}),this};var yd={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Cu(t){this.options=Qe({},yd,t)}Cu.prototype.run=function(){for(var t=this.options,e=t,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=t.cy,n=e.eles,i=n.nodes().not(":parent"),s=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},l=[],u=0,f=0;f0&&Math.abs(m[0].value-E.value)>=y&&p.push(m=[]),m.push(E)}var L=u+e.minNodeSpacing;if(!e.avoidOverlap){var w=p.length>0&&p[0].length>1,M=Math.min(s.w,s.h)/2-L;L=Math.min(L,M/(p.length+w?1:0))}for(var k=0,B=0;B1&&e.avoidOverlap){var Q=Math.cos(F)-Math.cos(0),Y=Math.sin(F)-Math.sin(0),H=Math.sqrt(L*L/(Q*Q+Y*Y));k=Math.max(H,k)}N.r=k,k+=L}if(e.equidistant){for(var j=0,ne=0,fe=0;fe=t.numIter||(Dd(a,t),a.temperature=a.temperature*t.coolingFactor,a.temperature=t.animationThreshold&&i(),Wn(h)):(Lu(a,t),o())}();else{for(;u;)u=s(l),l++;Lu(a,t),o()}return this},Di.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Di.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var bd=function(e,r,a){for(var n=a.eles.edges(),i=a.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:n.size(),temperature:a.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:lr(a.boundingBox?a.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},o=a.eles.components(),l={},u=0;u0)for(s.graphSet.push(w),u=0;un.count?0:n.graph},wd=function t(e,r,a,n){var i=n.graphSet[a];if(-10)var v=(h=n.nodeOverlap*f)*o/(c=Math.sqrt(o*o+l*l)),d=h*l/c;else{var h,g=Si(e,o,l),y=Si(r,-1*o,-1*l),p=y.x-g.x,m=y.y-g.y,b=p*p+m*m,c=Math.sqrt(b);v=(h=(e.nodeRepulsion+r.nodeRepulsion)/b)*p/c,d=h*m/c}e.isLocked||(e.offsetX-=v,e.offsetY-=d),r.isLocked||(r.offsetX+=v,r.offsetY+=d)}},Ad=function(e,r,a,n){if(a>0)var i=e.maxX-r.minX;else i=r.maxX-e.minX;if(n>0)var s=e.maxY-r.minY;else s=r.maxY-e.minY;return i>=0&&s>=0?Math.sqrt(i*i+s*s):0},Si=function(e,r,a){var n=e.positionX,i=e.positionY,s=e.height||1,o=e.width||1,l=a/r,u=s/o,f={};return 0===r&&0a?(f.x=n,f.y=i+s/2,f):0r&&-1*u<=l&&l<=u?(f.x=n-o/2,f.y=i-o*a/2/r,f):0=u)?(f.x=n+s*r/2/a,f.y=i+s/2,f):(0>a&&(l<=-1*u||l>=u)&&(f.x=n-s*r/2/a,f.y=i-s/2),f)},Od=function(e,r){for(var a=0;a1){var p=r.gravity*d/g;c.offsetX+=r.gravity*v/g,c.offsetY+=p}}}}},Nd=function(e,r){var a=[],n=0,i=-1;for(a.push.apply(a,e.graphSet[0]),i+=e.graphSet[0].length;n<=i;){var s=a[n++],l=e.layoutNodes[e.idToIndex[s]],u=l.children;if(0a)var i={x:a*e/n,y:a*r/n};else i={x:e,y:r};return i},kd=function t(e,r){var a=e.parentId;if(null!=a){var n=r.layoutNodes[r.idToIndex[a]],i=!1;if((null==n.maxX||e.maxX+n.padRight>n.maxX)&&(n.maxX=e.maxX+n.padRight,i=!0),(null==n.minX||e.minX-n.padLeftn.maxY)&&(n.maxY=e.maxY+n.padBottom,i=!0),(null==n.minY||e.minY-n.padTopp&&(d+=y+r.componentSpacing,v=0,g=0,y=0)}}},Pd={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function Au(t){this.options=Qe({},Pd,t)}Au.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().not(":parent");e.sort&&(n=n.sort(e.sort));var i=lr(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(0===i.h||0===i.w)a.nodes().layoutPositions(this,e,function(be){return{x:i.x1,y:i.y1}});else{var s=n.size(),o=Math.sqrt(s*i.h/i.w),l=Math.round(o),u=Math.round(i.w/i.h*o),f=function(we){if(null==we)return Math.min(l,u);Math.min(l,u)==l?l=we:u=we},h=function(we){if(null==we)return Math.max(l,u);Math.max(l,u)==l?l=we:u=we},c=e.rows,v=null!=e.cols?e.cols:e.columns;if(null!=c&&null!=v)l=c,u=v;else if(null!=c&&null==v)l=c,u=Math.ceil(s/l);else if(null==c&&null!=v)u=v,l=Math.ceil(s/u);else if(u*l>s){var d=f(),g=h();(d-1)*g>=s?f(d-1):(g-1)*d>=s&&h(g-1)}else for(;u*l=s?h(p+1):f(y+1)}var m=i.w/u,b=i.h/l;if(e.condense&&(m=0,b=0),e.avoidOverlap)for(var E=0;E=u&&(Q=0,F++)},H={},j=0;j(Q=of(t,e,Y[H],Y[H+1],Y[H+2],Y[H+3])))return y(w,Q),!0}else if("bezier"===C.edgeType||"multibezier"===C.edgeType||"self"===C.edgeType||"compound"===C.edgeType)for(Y=C.allpts,H=0;H+5(Q=sf(t,e,Y[H],Y[H+1],Y[H+2],Y[H+3],Y[H+4],Y[H+5])))return y(w,Q),!0;j=j||M.source,ne=ne||M.target;var fe=n.getArrowWidth(k,B),te=[{name:"source",x:C.arrowStartX,y:C.arrowStartY,angle:C.srcArrowAngle},{name:"target",x:C.arrowEndX,y:C.arrowEndY,angle:C.tgtArrowAngle},{name:"mid-source",x:C.midX,y:C.midY,angle:C.midsrcArrowAngle},{name:"mid-target",x:C.midX,y:C.midY,angle:C.midtgtArrowAngle}];for(H=0;H0&&(p(j),p(ne))}function b(w,M,C){return Tr(w,M,C)}function E(w,M){var B,C=w._private,k=c;B=M?M+"-":"",w.boundingBox();var N=C.labelBounds[M||"main"],U=w.pstyle(B+"label").value;if("yes"===w.pstyle("text-events").strValue&&U){var Q=b(C.rscratch,"labelX",M),Y=b(C.rscratch,"labelY",M),H=b(C.rscratch,"labelAngle",M),j=w.pstyle(B+"text-margin-x").pfValue,ne=w.pstyle(B+"text-margin-y").pfValue,fe=N.x1-k-j,te=N.x2+k-j,le=N.y1-k-ne,be=N.y2+k-ne;if(H){var we=Math.cos(H),me=Math.sin(H),ge=function(nt,ke){return{x:(nt-=Q)*we-(ke-=Y)*me+Q,y:nt*me+ke*we+Y}},J=ge(fe,le),Ee=ge(fe,be),xe=ge(te,le),Oe=ge(te,be);if(fr(t,e,[J.x+j,J.y+ne,xe.x+j,xe.y+ne,Oe.x+j,Oe.y+ne,Ee.x+j,Ee.y+ne]))return y(w),!0}else if(Na(N,t,e))return y(w),!0}}r&&(s=s.interactive);for(var O=s.length-1;O>=0;O--){var L=s[O];L.isNode()?p(L)||E(L):m(L)||E(L)||E(L,"source")||E(L,"target")}return o},getAllInBox:function(t,e,r,a){for(var n=this.getCachedZSortedEles().interactive,i=[],s=Math.min(t,r),o=Math.max(t,r),l=Math.min(e,a),u=Math.max(e,a),f=lr({x1:t=s,y1:e=l,x2:r=o,y2:a=u}),h=0;h0?Math.max(Ye-vt,0):Math.min(Ye+vt,0)},U=N(k,y?(h+v)/2:0),F=N(B,C),Q=!1;"auto"===m?p=Math.abs(U)>Math.abs(F)?n:a:m===l||m===o?(p=a,Q=!0):(m===i||m===s)&&(p=n,Q=!0);var te,Y=p===a,H=Y?F:U,j=Y?B:k,ne=Ks(j),fe=!1;(!Q||!E&&!L)&&(m===o&&j<0||m===l&&j>0||m===i&&j>0||m===s&&j<0)&&(H=(ne*=-1)*Math.abs(H),fe=!0);var we=function(Ye){return Math.abs(Ye)=Math.abs(H)},me=we(te=E?(O<0?1+O:O)*H:(O<0?H:0)+O*ne),ge=we(Math.abs(H)-Math.abs(te));if(!me&&!ge||fe)if(Y){var A=f.y1+te+(y?c/2*ne:0);r.segpts=[f.x1,A,f.x2,A]}else{var pe=f.x1+te+(y?h/2*ne:0);r.segpts=[pe,f.y1,pe,f.y2]}else if(Y){var Ee=Math.abs(j)<=c/2,xe=Math.abs(k)<=v/2;if(Ee){var Oe=(f.x1+f.x2)/2;r.segpts=[Oe,f.y1,Oe,f.y2]}else if(xe){var nt=(f.y1+f.y2)/2;r.segpts=[f.x1,nt,f.x2,nt]}else r.segpts=[f.x1,f.y2]}else{var Ke=Math.abs(j)<=h/2,$e=Math.abs(B)<=d/2;if(Ke){var Be=(f.y1+f.y2)/2;r.segpts=[f.x1,Be,f.x2,Be]}else if($e){var st=(f.x1+f.x2)/2;r.segpts=[st,f.y1,st,f.y2]}else r.segpts=[f.x2,f.y1]}},sr.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if("bezier"===r.edgeType){var a=e.srcPos,n=e.tgtPos,i=e.srcW,s=e.srcH,o=e.tgtW,l=e.tgtH,u=e.srcShape,f=e.tgtShape,h=!x(r.startX)||!x(r.startY),c=!x(r.arrowStartX)||!x(r.arrowStartY),v=!x(r.endX)||!x(r.endY),d=!x(r.arrowEndX)||!x(r.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,m=ha({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),b=mF.poolIndex()){var Q=U;U=F,F=Q}var Y=C.srcPos=U.position(),H=C.tgtPos=F.position(),j=C.srcW=U.outerWidth(),ne=C.srcH=U.outerHeight(),fe=C.tgtW=F.outerWidth(),te=C.tgtH=F.outerHeight(),le=C.srcShape=r.nodeShapes[e.getNodeShape(U)],be=C.tgtShape=r.nodeShapes[e.getNodeShape(F)];C.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var we=0;we0){var Ee=i,xe=ca(Ee,Oa(r)),Oe=ca(Ee,Oa(J)),Re=xe;Oe2&&ca(Ee,{x:J[2],y:J[3]})0){var ie=s,Ce=ca(ie,Oa(r)),pe=ca(ie,Oa(A)),ye=Ce;pe2&&ca(ie,{x:A[2],y:A[3]})=d||b===g.length-1&&O===E.segments.length-1){y={cp:E,segment:L};break}}if(y)break}var M=y.cp,C=y.segment,k=(d-p)/C.length,B=C.t1-C.t0,N=v?C.t0+B*k:C.t1-B*k;N=dn(0,N,1),e=Ma(M.p0,M.p1,M.p2,N),c=function(e,r,a,n){var i=dn(0,n-.001,1),s=dn(0,n+.001,1),o=Ma(e,r,a,i),l=Ma(e,r,a,s);return Bu(o,l)}(M.p0,M.p1,M.p2,N);break;case"straight":case"segments":case"haystack":for(var F,Q,Y,H,U=0,j=a.allpts.length,ne=0;ne+3=d));ne+=2);var te=(d-Q)/F;te=dn(0,te,1),e=function(e,r,a,n){var i_x=r.x-e.x,i_y=r.y-e.y,s=ha(e,r);return a=a??0,{x:e.x+i_x/s*(n=n??a*s),y:e.y+i_y/s*n}}(Y,H,te),c=Bu(Y,H)}s("labelX",h,e.x),s("labelY",h,e.y),s("labelAutoAngle",h,c)}};u("source"),u("target"),this.applyLabelDimensions(t)}},kr.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},kr.applyPrefixedLabelDimensions=function(t,e){var r=t._private,a=this.getLabelText(t,e),n=this.calculateLabelDimensions(t,a),i=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,o=Tr(r.rscratch,"labelWrapCachedLines",e)||[],l="wrap"!==s?1:Math.max(o.length,1),u=n.height/l,f=u*i,h=n.width,c=n.height+(l-1)*(i-1)*u;Kr(r.rstyle,"labelWidth",e,h),Kr(r.rscratch,"labelWidth",e,h),Kr(r.rstyle,"labelHeight",e,c),Kr(r.rscratch,"labelHeight",e,c),Kr(r.rscratch,"labelLineHeight",e,f)},kr.getLabelText=function(t,e){var r=t._private,n=t.pstyle((e?e+"-":"")+"label").strValue,i=t.pstyle("text-transform").value,s=function(fe,te){return te?(Kr(r.rscratch,fe,e,te),te):Tr(r.rscratch,fe,e)};if(!n)return"";"none"==i||("uppercase"==i?n=n.toUpperCase():"lowercase"==i&&(n=n.toLowerCase()));var o=t.pstyle("text-wrap").value;if("wrap"===o){var l=s("labelKey");if(null!=l&&s("labelWrapKey")===l)return s("labelWrapCachedText");for(var f=n.split("\n"),h=t.pstyle("text-max-width").pfValue,v="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,y=v?"":" ",p=0;ph){for(var L=m.split(g),w="",M=0;MU);H++)F+=n[H],H===n.length-1&&(Y=!0);return Y||(F+="\u2026"),F}return n},kr.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(r){case"left":return"right";case"right":return"left";default:return"center"}},kr.calculateLabelDimensions=function(t,e){var a=fa(e,t._private.labelDimsKey),n=this.labelDimCache||(this.labelDimCache=[]),i=n[a];if(null!=i)return i;var o=t.pstyle("font-style").strValue,l=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,f=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=h.getContext("2d");var v=h.style;v.position="absolute",v.left="-9999px",v.top="-9999px",v.zIndex="-1",v.visibility="hidden",v.pointerEvents="none"}c.font="".concat(o," ").concat(f," ").concat(l,"px ").concat(u);for(var d=0,g=0,y=e.split("\n"),p=0;p1&&void 0!==arguments[1])||arguments[1];if(e.merge(s),o)for(var l=0;l"u")&&e instanceof HTMLElement}(t);if(null==e.supportsPassiveEvents){var a=!1;try{var n=Object.defineProperty({},"passive",{get:function(){return a=!0,!0}});window.addEventListener("test",null,n)}catch{}e.supportsPassiveEvents=a}var i=function(o,l,u){var f=Array.prototype.slice.call(arguments);return r&&e.supportsPassiveEvents&&(f[2]={capture:u??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:f}),(t.addEventListener||t.on).apply(t,f),this};return{on:i,addEventListener:i,addListener:i,bind:i}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=function(A){return A.selected()},r=function(A,ie,Ce,pe){null==A&&(A=t.cy);for(var ye=0;ye=t.desktopTapThreshold2}var Hr=a(A);Qt&&(t.hoverData.tapholdCancelled=!0);Ce=!0,r(lt,["mousemove","vmousemove","tapdrag"],A,{x:Se[0],y:Se[1]});var Ja=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||pe.emit({originalEvent:A,type:"boxstart",position:{x:Se[0],y:Se[1]}}),Tt[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(Qt){var wa={originalEvent:A,type:"cxtdrag",position:{x:Se[0],y:Se[1]}};ut?ut.emit(wa):pe.emit(wa),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||lt!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:A,type:"cxtdragout",position:{x:Se[0],y:Se[1]}}),t.hoverData.cxtOver=lt,lt&<.emit({originalEvent:A,type:"cxtdragover",position:{x:Se[0],y:Se[1]}}))}}else if(t.hoverData.dragging){if(Ce=!0,pe.panningEnabled()&&pe.userPanningEnabled()){var ja;if(t.hoverData.justStartedPan){var Ri=t.hoverData.mdownPos;ja={x:(Se[0]-Ri[0])*ye,y:(Se[1]-Ri[1])*ye},t.hoverData.justStartedPan=!1}else ja={x:ft[0]*ye,y:ft[1]*ye};pe.panBy(ja),pe.emit("dragpan"),t.hoverData.dragged=!0}Se=t.projectIntoViewport(A.clientX,A.clientY)}else if(1!=Tt[4]||null!=ut&&!ut.pannable()){if(ut&&ut.pannable()&&ut.active()&&ut.unactivate(),(!ut||!ut.grabbed())&<!=mt&&(mt&&r(mt,["mouseout","tapdragout"],A,{x:Se[0],y:Se[1]}),lt&&r(lt,["mouseover","tapdragover"],A,{x:Se[0],y:Se[1]}),t.hoverData.last=lt),ut)if(Qt){if(pe.boxSelectionEnabled()&&Hr)ut&&ut.grabbed()&&(g(zt),ut.emit("freeon"),zt.emit("free"),t.dragData.didDrag&&(ut.emit("dragfreeon"),zt.emit("dragfree"))),Ja();else if(ut&&ut.grabbed()&&t.nodeIsDraggable(ut)){var hr=!t.dragData.didDrag;hr&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||v(zt,{inDragLayer:!0});var nr={x:0,y:0};if(x(ft[0])&&x(ft[1])&&(nr.x+=ft[0],nr.y+=ft[1],hr)){var cr=t.hoverData.dragDelta;cr&&x(cr[0])&&x(cr[1])&&(nr.x+=cr[0],nr.y+=cr[1])}t.hoverData.draggingEles=!0,zt.silentShift(nr).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else 0===(Br=t.hoverData.dragDelta=t.hoverData.dragDelta||[]).length?(Br.push(ft[0]),Br.push(ft[1])):(Br[0]+=ft[0],Br[1]+=ft[1]);Ce=!0}else Qt&&(t.hoverData.dragging||!pe.boxSelectionEnabled()||!Hr&&pe.panningEnabled()&&pe.userPanningEnabled()?!t.hoverData.selecting&&pe.panningEnabled()&&pe.userPanningEnabled()&&n(ut,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Tt[4]=0,t.data.bgActivePosistion=Oa(Ye),t.redrawHint("select",!0),t.redraw()):Ja(),ut&&ut.pannable()&&ut.active()&&ut.unactivate());if(Tt[2]=Se[0],Tt[3]=Se[1],Ce)return A.stopPropagation&&A.stopPropagation(),A.preventDefault&&A.preventDefault(),!1}var Br},!1),t.registerBinding(window,"mouseup",function(A){if(t.hoverData.capture){t.hoverData.capture=!1;var Ce=t.cy,pe=t.projectIntoViewport(A.clientX,A.clientY),ye=t.selection,ot=t.findNearestElement(pe[0],pe[1],!0,!1),Se=t.dragData.possibleDragElements,Ye=t.hoverData.down,vt=a(A);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,Ye&&Ye.unactivate(),3===t.hoverData.which){var Tt={originalEvent:A,type:"cxttapend",position:{x:pe[0],y:pe[1]}};if(Ye?Ye.emit(Tt):Ce.emit(Tt),!t.hoverData.cxtDragged){var lt={originalEvent:A,type:"cxttap",position:{x:pe[0],y:pe[1]}};Ye?Ye.emit(lt):Ce.emit(lt)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(r(ot,["mouseup","tapend","vmouseup"],A,{x:pe[0],y:pe[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(r(Ye,["click","tap","vclick"],A,{x:pe[0],y:pe[1]}),k=!1,A.timeStamp-B<=Ce.multiClickDebounceTime()?(C&&clearTimeout(C),k=!0,B=null,r(Ye,["dblclick","dbltap","vdblclick"],A,{x:pe[0],y:pe[1]})):(C=setTimeout(function(){k||r(Ye,["oneclick","onetap","voneclick"],A,{x:pe[0],y:pe[1]})},Ce.multiClickDebounceTime()),B=A.timeStamp)),null==Ye&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!a(A)&&(Ce.$(e).unselect(["tapunselect"]),Se.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=Se=Ce.collection()),ot==Ye&&!t.dragData.didDrag&&!t.hoverData.selecting&&null!=ot&&ot._private.selectable&&(t.hoverData.dragging||("additive"===Ce.selectionType()||vt?ot.selected()?ot.unselect(["tapunselect"]):ot.select(["tapselect"]):vt||(Ce.$(e).unmerge(ot).unselect(["tapunselect"]),ot.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var mt=Ce.collection(t.getAllInBox(ye[0],ye[1],ye[2],ye[3]));t.redrawHint("select",!0),mt.length>0&&t.redrawHint("eles",!0),Ce.emit({type:"boxend",originalEvent:A,position:{x:pe[0],y:pe[1]}});"additive"===Ce.selectionType()||vt||Ce.$(e).unmerge(mt).unselect(),mt.emit("box").stdFilter(function(Qt){return Qt.selectable()&&!Qt.selected()}).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!ye[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var ft=Ye&&Ye.grabbed();g(Se),ft&&(Ye.emit("freeon"),Se.emit("free"),t.dragData.didDrag&&(Ye.emit("dragfreeon"),Se.emit("dragfree")))}}ye[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}},!1);var N=function(A){if(!t.scrollingPage){var ie=t.cy,Ce=ie.zoom(),pe=ie.pan(),ye=t.projectIntoViewport(A.clientX,A.clientY),ot=[ye[0]*Ce+pe.x,ye[1]*Ce+pe.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||0!==t.selection[4])return void A.preventDefault();if(ie.panningEnabled()&&ie.userPanningEnabled()&&ie.zoomingEnabled()&&ie.userZoomingEnabled()){var Se;A.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150),Se=null!=A.deltaY?A.deltaY/-250:null!=A.wheelDeltaY?A.wheelDeltaY/1e3:A.wheelDelta/1e3,Se*=t.wheelSensitivity,1===A.deltaMode&&(Se*=33);var vt=ie.zoom()*Math.pow(10,Se);"gesturechange"===A.type&&(vt=t.gestureStartZoom*A.scale),ie.zoom({level:vt,renderedPosition:{x:ot[0],y:ot[1]}}),ie.emit("gesturechange"===A.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",N,!0),t.registerBinding(window,"scroll",function(A){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},!0),t.registerBinding(t.container,"gesturestart",function(A){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||A.preventDefault()},!0),t.registerBinding(t.container,"gesturechange",function(De){t.hasTouchStarted||N(De)},!0),t.registerBinding(t.container,"mouseout",function(A){var ie=t.projectIntoViewport(A.clientX,A.clientY);t.cy.emit({originalEvent:A,type:"mouseout",position:{x:ie[0],y:ie[1]}})},!1),t.registerBinding(t.container,"mouseover",function(A){var ie=t.projectIntoViewport(A.clientX,A.clientY);t.cy.emit({originalEvent:A,type:"mouseover",position:{x:ie[0],y:ie[1]}})},!1);var U,F,Q,Y,H,j,ne,fe,te,le,be,we,me,Ee,xe,Oe,Re,tt,nt,ke,ge=function(A,ie,Ce,pe){return Math.sqrt((Ce-A)*(Ce-A)+(pe-ie)*(pe-ie))},J=function(A,ie,Ce,pe){return(Ce-A)*(Ce-A)+(pe-ie)*(pe-ie)};if(t.registerBinding(t.container,"touchstart",Ee=function(A){if(t.hasTouchStarted=!0,M(A)){p(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var ie=t.cy,Ce=t.touchData.now,pe=t.touchData.earlier;if(A.touches[0]){var ye=t.projectIntoViewport(A.touches[0].clientX,A.touches[0].clientY);Ce[0]=ye[0],Ce[1]=ye[1]}if(A.touches[1]&&(ye=t.projectIntoViewport(A.touches[1].clientX,A.touches[1].clientY),Ce[2]=ye[0],Ce[3]=ye[1]),A.touches[2]&&(ye=t.projectIntoViewport(A.touches[2].clientX,A.touches[2].clientY),Ce[4]=ye[0],Ce[5]=ye[1]),A.touches[1]){t.touchData.singleTouchMoved=!0,g(t.dragData.touchDragEles);var ot=t.findContainerClientCoords();be=ot[2],we=ot[3],F=A.touches[0].clientY-(le=ot[1]),Q=A.touches[1].clientX-(te=ot[0]),Y=A.touches[1].clientY-le,me=0<=(U=A.touches[0].clientX-te)&&U<=be&&0<=Q&&Q<=be&&0<=F&&F<=we&&0<=Y&&Y<=we;var Se=ie.pan(),Ye=ie.zoom();H=ge(U,F,Q,Y),j=J(U,F,Q,Y),fe=[((ne=[(U+Q)/2,(F+Y)/2])[0]-Se.x)/Ye,(ne[1]-Se.y)/Ye];if(j<4e4&&!A.touches[2]){var lt=t.findNearestElement(Ce[0],Ce[1],!0,!0),mt=t.findNearestElement(Ce[2],Ce[3],!0,!0);return lt&<.isNode()?(lt.activate().emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start=lt):mt&&mt.isNode()?(mt.activate().emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start=mt):ie.emit({originalEvent:A,type:"cxttapstart",position:{x:Ce[0],y:Ce[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(A.touches[2])ie.boxSelectionEnabled()&&A.preventDefault();else if(!A.touches[1]&&A.touches[0]){var ut=t.findNearestElements(Ce[0],Ce[1],!0,!0),ft=ut[0];if(null!=ft&&(ft.activate(),t.touchData.start=ft,t.touchData.starts=ut,t.nodeIsGrabbable(ft))){var zt=t.dragData.touchDragEles=ie.collection(),Qt=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),ft.selected()?(Qt=ie.$(function(or){return or.selected()&&t.nodeIsGrabbable(or)}),v(Qt,{addToList:zt})):d(ft,{addToList:zt}),u(ft);var Sr=function(Hr){return{originalEvent:A,type:Hr,position:{x:Ce[0],y:Ce[1]}}};ft.emit(Sr("grabon")),Qt?Qt.forEach(function(or){or.emit(Sr("grab"))}):ft.emit(Sr("grab"))}r(ft,["touchstart","tapstart","vmousedown"],A,{x:Ce[0],y:Ce[1]}),null==ft&&(t.data.bgActivePosistion={x:ye[0],y:ye[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){!1===t.touchData.singleTouchMoved&&!t.pinching&&!t.touchData.selecting&&r(t.touchData.start,["taphold"],A,{x:Ce[0],y:Ce[1]})},t.tapholdDuration)}if(A.touches.length>=1){for(var Lr=t.touchData.startPosition=[],Jt=0;Jt=t.touchTapThreshold2}if(ie&&t.touchData.cxt){A.preventDefault();var Hr=J(Lr=A.touches[0].clientX-te,Jt=A.touches[0].clientY-le,Er=A.touches[1].clientX-te,or=A.touches[1].clientY-le);if(Hr/j>=2.25||Hr>=22500){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var xa={originalEvent:A,type:"cxttapend",position:{x:ye[0],y:ye[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(xa),t.touchData.start=null):pe.emit(xa)}}if(ie&&t.touchData.cxt){xa={originalEvent:A,type:"cxtdrag",position:{x:ye[0],y:ye[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(xa):pe.emit(xa),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var hr=t.findNearestElement(ye[0],ye[1],!0,!0);(!t.touchData.cxtOver||hr!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:A,type:"cxtdragout",position:{x:ye[0],y:ye[1]}}),t.touchData.cxtOver=hr,hr&&hr.emit({originalEvent:A,type:"cxtdragover",position:{x:ye[0],y:ye[1]}}))}else if(ie&&A.touches[2]&&pe.boxSelectionEnabled())A.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||pe.emit({originalEvent:A,type:"boxstart",position:{x:ye[0],y:ye[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,Ce[4]=1,Ce&&0!==Ce.length&&void 0!==Ce[0]?(Ce[2]=(ye[0]+ye[2]+ye[4])/3,Ce[3]=(ye[1]+ye[3]+ye[5])/3):(Ce[0]=(ye[0]+ye[2]+ye[4])/3,Ce[1]=(ye[1]+ye[3]+ye[5])/3,Ce[2]=(ye[0]+ye[2]+ye[4])/3+1,Ce[3]=(ye[1]+ye[3]+ye[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(ie&&A.touches[1]&&!t.touchData.didSelect&&pe.zoomingEnabled()&&pe.panningEnabled()&&pe.userZoomingEnabled()&&pe.userPanningEnabled()){if(A.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nr=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var cr=0;cr0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(window,"touchcancel",Oe=function(A){var ie=t.touchData.start;t.touchData.capture=!1,ie&&ie.unactivate()}),t.registerBinding(window,"touchend",Re=function(A){var ie=t.touchData.start;if(t.touchData.capture){0===A.touches.length&&(t.touchData.capture=!1),A.preventDefault();var pe=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var Tt,ye=t.cy,ot=ye.zoom(),Se=t.touchData.now,Ye=t.touchData.earlier;if(A.touches[0]){var vt=t.projectIntoViewport(A.touches[0].clientX,A.touches[0].clientY);Se[0]=vt[0],Se[1]=vt[1]}if(A.touches[1]&&(vt=t.projectIntoViewport(A.touches[1].clientX,A.touches[1].clientY),Se[2]=vt[0],Se[3]=vt[1]),A.touches[2]&&(vt=t.projectIntoViewport(A.touches[2].clientX,A.touches[2].clientY),Se[4]=vt[0],Se[5]=vt[1]),ie&&ie.unactivate(),t.touchData.cxt){if(Tt={originalEvent:A,type:"cxttapend",position:{x:Se[0],y:Se[1]}},ie?ie.emit(Tt):ye.emit(Tt),!t.touchData.cxtDragged){var lt={originalEvent:A,type:"cxttap",position:{x:Se[0],y:Se[1]}};ie?ie.emit(lt):ye.emit(lt)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!A.touches[2]&&ye.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var mt=ye.collection(t.getAllInBox(pe[0],pe[1],pe[2],pe[3]));pe[0]=void 0,pe[1]=void 0,pe[2]=void 0,pe[3]=void 0,pe[4]=0,t.redrawHint("select",!0),ye.emit({type:"boxend",originalEvent:A,position:{x:Se[0],y:Se[1]}});mt.emit("box").stdFilter(function(wa){return wa.selectable()&&!wa.selected()}).select().emit("boxselect"),mt.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(ie?.unactivate(),A.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!A.touches[1]&&!A.touches[0]&&!A.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var ft=t.dragData.touchDragEles;if(null!=ie){var zt=ie._private.grabbed;g(ft),t.redrawHint("drag",!0),t.redrawHint("eles",!0),zt&&(ie.emit("freeon"),ft.emit("free"),t.dragData.didDrag&&(ie.emit("dragfreeon"),ft.emit("dragfree"))),r(ie,["touchend","tapend","vmouseup","tapdragout"],A,{x:Se[0],y:Se[1]}),ie.unactivate(),t.touchData.start=null}else{var Qt=t.findNearestElement(Se[0],Se[1],!0,!0);r(Qt,["touchend","tapend","vmouseup","tapdragout"],A,{x:Se[0],y:Se[1]})}var Sr=t.touchData.startPosition[0]-Se[0],Jt=t.touchData.startPosition[1]-Se[1],Hr=(Sr*Sr+Jt*Jt)*ot*ot;t.touchData.singleTouchMoved||(ie||ye.$(":selected").unselect(["tapunselect"]),r(ie,["tap","vclick"],A,{x:Se[0],y:Se[1]}),tt=!1,A.timeStamp-ke<=ye.multiClickDebounceTime()?(nt&&clearTimeout(nt),tt=!0,ke=null,r(ie,["dbltap","vdblclick"],A,{x:Se[0],y:Se[1]})):(nt=setTimeout(function(){tt||r(ie,["onetap","voneclick"],A,{x:Se[0],y:Se[1]})},ye.multiClickDebounceTime()),ke=A.timeStamp)),null!=ie&&!t.dragData.didDrag&&ie._private.selectable&&Hr"u"){var Me=[],Ke=function(A){return{clientX:A.clientX,clientY:A.clientY,force:1,identifier:A.pointerId,pageX:A.pageX,pageY:A.pageY,radiusX:A.width/2,radiusY:A.height/2,screenX:A.screenX,screenY:A.screenY,target:A.target}},Be=function(A){Me.push(function(A){return{event:A,touch:Ke(A)}}(A))},Xe=function(A){for(var ie=0;ie2){for(var Y=[u[0],u[1]],H=Math.pow(Y[0]-e,2)+Math.pow(Y[1]-r,2),j=1;j0)return te[0]}return null},v=Object.keys(h),d=0;d0?c:Js(i,s,e,r,a,n,o)},checkPoint:function(e,r,a,n,i,s,o){var l=yn(n,i),u=2*l;if(Vr(e,r,this.points,s,o,n,i-u,[0,-1],a)||Vr(e,r,this.points,s,o,n-u,i,[0,-1],a))return!0;var f=n/2+2*a,h=i/2+2*a;return!!(fr(e,r,[s-f,o-h,s-f,o,s+f,o,s+f,o-h])||va(e,r,u,u,s+n/2-l,o+i/2-l,a)||va(e,r,u,u,s-n/2+l,o+i/2-l,a))}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",ir(3,0)),this.generateRoundPolygon("round-triangle",ir(3,0)),this.generatePolygon("rectangle",ir(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r),this.generatePolygon("pentagon",ir(5,0)),this.generateRoundPolygon("round-pentagon",ir(5,0)),this.generatePolygon("hexagon",ir(6,0)),this.generateRoundPolygon("round-hexagon",ir(6,0)),this.generatePolygon("heptagon",ir(7,0)),this.generateRoundPolygon("round-heptagon",ir(7,0)),this.generatePolygon("octagon",ir(8,0)),this.generateRoundPolygon("round-octagon",ir(8,0));var a=new Array(20),n=Ji(5,0),i=Ji(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var o=0;o=e.deqFastCost*(Ds-(u?c:0)))break}else if(u){if(m>=e.deqCost*v||m>=e.deqAvgCost*c)break}else if(b>=e.deqNoDrawCost*Ds)break;var O=e.deq(a,y,g);if(!(O.length>0))break;for(var L=0;L0&&(e.onDeqd(a,d),!u&&e.shouldRedraw(a,d,y,g)&&i())},(e.priority||Xi)(a))}}},Yd=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qn;_e(this,t),this.idsByKey=new Ir,this.keyForId=new Ir,this.cachesByLvl=new Ir,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return G(t,[{key:"getIdsFor",value:function(r){null==r&&Bt("Can not get id list for null key");var a=this.idsByKey,n=this.idsByKey.get(r);return n||(n=new Aa,a.set(r,n)),n}},{key:"addIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).add(a)}},{key:"deleteIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).delete(a)}},{key:"getNumberOfIdsForKey",value:function(r){return null==r?0:this.getIdsFor(r).size}},{key:"updateKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);this.deleteIdForKey(n,a),this.addIdForKey(i,a),this.keyForId.set(a,i)}},{key:"deleteKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteIdForKey(n,a),this.keyForId.delete(a)}},{key:"keyHasChangedFor",value:function(r){var a=r.id();return this.keyForId.get(a)!==this.getKey(r)}},{key:"isInvalid",value:function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)}},{key:"getCachesAt",value:function(r){var a=this.cachesByLvl,n=this.lvls,i=a.get(r);return i||(i=new Ir,a.set(r,i),n.push(r)),i}},{key:"getCache",value:function(r,a){return this.getCachesAt(a).get(r)}},{key:"get",value:function(r,a){var n=this.getKey(r),i=this.getCache(n,a);return null!=i&&this.updateKeyMappingFor(r),i}},{key:"getForCachedKey",value:function(r,a){var n=this.keyForId.get(r.id());return this.getCache(n,a)}},{key:"hasCache",value:function(r,a){return this.getCachesAt(a).has(r)}},{key:"has",value:function(r,a){var n=this.getKey(r);return this.hasCache(n,a)}},{key:"setCache",value:function(r,a,n){n.key=r,this.getCachesAt(a).set(r,n)}},{key:"set",value:function(r,a,n){var i=this.getKey(r);this.setCache(i,a,n),this.updateKeyMappingFor(r)}},{key:"deleteCache",value:function(r,a){this.getCachesAt(a).delete(r)}},{key:"delete",value:function(r,a){var n=this.getKey(r);this.deleteCache(n,a)}},{key:"invalidateKey",value:function(r){var a=this;this.lvls.forEach(function(n){return a.deleteCache(r,n)})}},{key:"invalidate",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteKeyMappingFor(r);var i=this.doesEleInvalidateKey(r);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),Ka={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},ng=Wt({getKey:null,doesEleInvalidateKey:qn,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Us,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Rn=function(e,r){var a=this;a.renderer=e,a.onDequeues=[];var n=ng(r);Qe(a,n),a.lookup=new Yd(n.getKey,n.doesEleInvalidateKey),a.setupDequeueing()},$t=Rn.prototype;$t.reasons=Ka,$t.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},$t.getRetiredTextureQueue=function(t){var r=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return r[t]=r[t]||[]},$t.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new vn(function(r,a){return a.reqs-r.reqs})},$t.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},$t.getElement=function(t,e,r,a,n){var i=this,s=this.renderer,o=s.cy.zoom(),l=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!i.allowEdgeTxrCaching&&t.isEdge()||!i.allowParentTxrCaching&&t.isParent())return null;if(null==a&&(a=Math.ceil(qi(o*r))),a<-4)a=-4;else if(o>=7.99||a>3)return null;var u=Math.pow(2,a),f=e.h*u,h=e.w*u,c=s.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,c))return null;var d,v=l.get(t,a);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(d=f<=25?25:f<=50?50:50*Math.ceil(f/50),f>1024||h>1024)return null;var g=i.getTextureQueue(d),y=g[g.length-2],p=function(){return i.recycleTexture(d,h)||i.addTexture(d,h)};y||(y=g[g.length-1]),y||(y=p()),y.width-y.usedWidtha;B--)C=i.getElement(t,e,r,B,Ka.downscale);k()}else{var N;if(!b&&!E&&!O)for(var U=a-1;U>=-4;U--){var F=l.get(t,U);if(F){N=F;break}}if(m(N))return i.queueElement(t,a),N;y.context.translate(y.usedWidth,0),y.context.scale(u,u),this.drawElement(y.context,t,e,c,!1),y.context.scale(1/u,1/u),y.context.translate(-y.usedWidth,0)}return v={x:y.usedWidth,texture:y,level:a,scale:u,width:h,height:f,scaledLabelShown:c},y.usedWidth+=Math.ceil(h+8),y.eleCaches.push(v),l.set(t,a,v),i.checkTextureFullness(y),v},$t.invalidateElements=function(t){for(var e=0;e=.2*t.width&&this.retireTexture(t)},$t.checkTextureFullness=function(t){var r=this.getTextureQueue(t.height);t.usedWidth/t.width>.8&&t.fullnessChecks>=10?qr(r,t):t.fullnessChecks++},$t.retireTexture=function(t){var r=t.height,a=this.getTextureQueue(r),n=this.lookup;qr(a,t),t.retired=!0;for(var i=t.eleCaches,s=0;s=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,Wi(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),qr(n,s),a.push(s),s}},$t.queueElement=function(t,e){var a=this.getElementQueue(),n=this.getElementKeyToQueue(),i=this.getKey(t),s=n[i];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,a.updateItem(s);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:i};a.push(o),n[i]=o}},$t.dequeue=function(t){for(var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=[],i=e.lookup,s=0;s<1&&r.size()>0;s++){var o=r.pop(),l=o.key,u=o.eles[0],f=i.hasCache(u,o.level);if(a[l]=null,!f){n.push(o);var h=e.getBoundingBox(u);e.getElement(u,h,t,o.level,Ka.dequeue)}}return n},$t.removeFromQueue=function(t){var r=this.getElementQueue(),a=this.getElementKeyToQueue(),n=this.getKey(t),i=a[n];null!=i&&(1===i.eles.length?(i.reqs=Hi,r.updateItem(i),r.pop(),a[n]=null):i.eles.unmerge(t))},$t.onDequeue=function(t){this.onDequeues.push(t)},$t.offDequeue=function(t){qr(this.onDequeues,t)},$t.setupDequeueing=Hu_setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,r,a){return e.dequeue(r,a)},onDeqd:function(e,r){for(var a=0;a=3.99||r>2)return null;a.validateLayersElesOrdering(r,t);var h,v,l=a.layersByLevel,u=Math.pow(2,r),f=l[r]=l[r]||[];if(a.levelIsComplete(r,t))return f;!function(){var k=function(Q){if(a.validateLayersElesOrdering(Q,t),a.levelIsComplete(Q,t))return v=l[Q],!0},B=function(Q){if(!v)for(var Y=r+Q;-4<=Y&&Y<=2&&!k(Y);Y+=Q);};B(1),B(-1);for(var N=f.length-1;N>=0;N--){var U=f[N];U.invalid&&qr(f,U)}}();var y=function(k){var B=(k=k||{}).after;if(function(){if(!h){h=lr();for(var k=0;k16e6)return null;var U=a.makeLayer(h,r);if(null!=B){var F=f.indexOf(B)+1;f.splice(F,0,U)}else(void 0===k.insert||k.insert)&&f.unshift(U);return U};if(a.skipping&&!o)return null;for(var p=null,m=t.length/1,b=!o,E=0;E=m||!Qs(p.bb,O.boundingBox()))&&!(p=y({insert:!0,after:p})))return null;v||b?a.queueLayer(p,O):a.drawEleInLayer(p,O,r,e),p.eles.push(O),w[r]=p}}return v||(b?null:f)},Zt.getEleLevelForLayerLevel=function(t,e){return t},Zt.drawEleInLayer=function(t,e,r,a){var i=this.renderer,s=t.context,o=e.boundingBox();0===o.w||0===o.h||!e.visible()||(r=this.getEleLevelForLayerLevel(r,a),i.setImgSmoothing(s,!1),i.drawCachedElement(s,e,null,null,r,true),i.setImgSmoothing(s,!0))},Zt.levelIsComplete=function(t,e){var a=this.layersByLevel[t];if(!a||0===a.length)return!1;for(var n=0,i=0;i0||s.invalid)return!1;n+=s.eles.length}return n===e.length},Zt.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var a=0;a0){e=!0;break}}return e},Zt.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=Gr(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,function(a,n,i){e.invalidateLayer(a)}))},Zt.invalidateLayer=function(t){if(this.lastInvalidationTime=Gr(),!t.invalid){var e=t.level,r=t.eles;qr(this.layersByLevel[e],t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var n=0;n3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,o=e._private.rscratch;if((!i||e.visible())&&!o.badLine&&null!=o.allpts&&!isNaN(o.allpts[0])){var l;r&&t.translate(-(l=r).x1,-l.y1);var u=i?e.pstyle("opacity").value:1,f=i?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,c=e.pstyle("line-style").value,v=e.pstyle("width").pfValue,d=e.pstyle("line-cap").value,g=u*f,y=u*f,p=function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(s.eleStrokeStyle(t,e,N),s.drawEdgeTrianglePath(e,t,o.allpts)):(t.lineWidth=v,t.lineCap=d,s.eleStrokeStyle(t,e,N),s.drawEdgePath(e,t,o.allpts,c),t.lineCap="butt")},E=function(){s.drawArrowheads(t,e,arguments.length>0&&void 0!==arguments[0]?arguments[0]:y)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var w=e.pstyle("ghost-offset-x").pfValue,M=e.pstyle("ghost-offset-y").pfValue,C=e.pstyle("ghost-opacity").value,k=g*C;t.translate(w,M),p(k),E(k),t.translate(-w,-M)}n&&s.drawEdgeUnderlay(t,e),p(),E(),n&&s.drawEdgeOverlay(t,e),s.drawElementText(t,e,null,a),r&&t.translate(l.x1,l.y1)}}},Ju=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a){if(a.visible()){var n=a.pstyle("".concat(e,"-opacity")).value;if(0!==n){var i=this,s=i.usePaths(),o=a._private.rscratch,u=2*a.pstyle("".concat(e,"-padding")).pfValue,f=a.pstyle("".concat(e,"-color")).value;r.lineWidth=u,r.lineCap="self"!==o.edgeType||s?"round":"butt",i.colorStrokeStyle(r,f[0],f[1],f[2],n),i.drawEdgePath(a,r,o.allpts,"solid")}}}};Yr.drawEdgeOverlay=Ju("overlay"),Yr.drawEdgeUnderlay=Ju("underlay"),Yr.drawEdgePath=function(t,e,r,a){var s,n=t._private.rscratch,i=e,o=!1,l=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(l){var h=r.join("$");n.pathCacheKey&&n.pathCacheKey===h?(s=e=n.pathCache,o=!0):(s=e=new Path2D,n.pathCacheKey=h,n.pathCache=s)}if(i.setLineDash)switch(a){case"dotted":i.setLineDash([1,1]);break;case"dashed":i.setLineDash(u),i.lineDashOffset=f;break;case"solid":i.setLineDash([])}if(!o&&!n.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),n.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var v=2;v+35&&void 0!==arguments[5])||arguments[5],s=this;if(null==a){if(i&&!s.eleTextBiggerThanMin(e))return}else if(!1===a)return;if(e.isNode()){var o=e.pstyle("label");if(!o||!o.value)return;var l=s.getLabelJustification(e);t.textAlign=l,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,f=e.pstyle("label"),h=e.pstyle("source-label"),c=e.pstyle("target-label");if(u||(!f||!f.value)&&(!h||!h.value)&&(!c||!c.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,v=!r;r&&t.translate(-(d=r).x1,-d.y1),null==n?(s.drawText(t,e,null,v,i),e.isEdge()&&(s.drawText(t,e,"source",v,i),s.drawText(t,e,"target",v,i))):s.drawText(t,e,n,v,i),r&&t.translate(d.x1,d.y1)},ma.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r2&&void 0!==arguments[2])||arguments[2],a=e.pstyle("font-style").strValue,n=e.pstyle("font-size").pfValue+"px",i=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,o=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,l=e.pstyle("text-outline-opacity").value*o,u=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=a+" "+s+" "+n+" "+i,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],o),this.colorStrokeStyle(t,f[0],f[1],f[2],l)},ma.getTextAngle=function(t,e){var n=t._private.rscratch,s=t.pstyle((e?e+"-":"")+"text-rotation"),o=Tr(n,"labelAngle",e);return"autorotate"===s.strValue?t.isEdge()?o:0:"none"===s.strValue?0:s.pfValue},ma.drawText=function(t,e,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=e._private.rscratch,o=n?e.effectiveOpacity():1;if(!n||0!==o&&0!==e.pstyle("text-opacity").value){"main"===r&&(r=null);var f,h,l=Tr(s,"labelX",r),u=Tr(s,"labelY",r),c=this.getLabelText(e,r);if(null!=c&&""!==c&&!isNaN(l)&&!isNaN(u)){this.setupTextStyle(t,e,n);var O,v=r?r+"-":"",d=Tr(s,"labelWidth",r),g=Tr(s,"labelHeight",r),y=e.pstyle(v+"text-margin-x").pfValue,p=e.pstyle(v+"text-margin-y").pfValue,m=e.isEdge(),b=e.pstyle("text-halign").value,E=e.pstyle("text-valign").value;switch(m&&(b="center",E="center"),l+=y,u+=p,0!==(O=a?this.getTextAngle(e,r):0)&&(t.translate(f=l,h=u),t.rotate(O),l=0,u=0),E){case"top":break;case"center":u+=g/2;break;case"bottom":u+=g}var L=e.pstyle("text-background-opacity").value,w=e.pstyle("text-border-opacity").value,M=e.pstyle("text-border-width").pfValue,C=e.pstyle("text-background-padding").pfValue;if(L>0||M>0&&w>0){var k=l-C;switch(b){case"left":k-=d;break;case"center":k-=d/2}var B=u-g-C,N=d+2*C,U=g+2*C;if(L>0){var F=t.fillStyle,Q=e.pstyle("text-background-color").value;t.fillStyle="rgba("+Q[0]+","+Q[1]+","+Q[2]+","+L*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?function Sg(t,e,r,a,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+i,r),t.lineTo(e+a-i,r),t.quadraticCurveTo(e+a,r,e+a,r+i),t.lineTo(e+a,r+n-i),t.quadraticCurveTo(e+a,r+n,e+a-i,r+n),t.lineTo(e+i,r+n),t.quadraticCurveTo(e,r+n,e,r+n-i),t.lineTo(e,r+i),t.quadraticCurveTo(e,r,e+i,r),t.closePath(),t.fill()}(t,k,B,N,U,2):t.fillRect(k,B,N,U),t.fillStyle=F}if(M>0&&w>0){var H=t.strokeStyle,j=t.lineWidth,ne=e.pstyle("text-border-color").value,fe=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+ne[0]+","+ne[1]+","+ne[2]+","+w*o+")",t.lineWidth=M,t.setLineDash)switch(fe){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=M/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(k,B,N,U),"double"===fe){var te=M/2;t.strokeRect(k+te,B+te,N-2*te,U-2*te)}t.setLineDash&&t.setLineDash([]),t.lineWidth=j,t.strokeStyle=H}}var le=2*e.pstyle("text-outline-width").pfValue;if(le>0&&(t.lineWidth=le),"wrap"===e.pstyle("text-wrap").value){var be=Tr(s,"labelWrapCachedLines",r),we=Tr(s,"labelLineHeight",r),me=d/2,ge=this.getLabelJustification(e);switch("auto"===ge||("left"===b?"left"===ge?l+=-d:"center"===ge&&(l+=-me):"center"===b?"left"===ge?l+=-me:"right"===ge&&(l+=me):"right"===b&&("center"===ge?l+=me:"right"===ge&&(l+=d))),E){case"top":case"center":case"bottom":u-=(be.length-1)*we}for(var J=0;J0&&t.strokeText(be[J],l,u),t.fillText(be[J],l,u),u+=we}else le>0&&t.strokeText(c,l,u),t.fillText(c,l,u);0!==O&&(t.rotate(-O),t.translate(-f,-h))}}};var Za={drawNode:function(t,e,r){var o,l,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,u=e._private,f=u.rscratch,h=e.position();if(x(h.x)&&x(h.y)&&(!i||e.visible())){var d,p,c=i?e.effectiveOpacity():1,v=s.usePaths(),g=!1,y=e.padding();o=e.width()+2*y,l=e.height()+2*y,r&&t.translate(-(p=r).x1,-p.y1);for(var b=e.pstyle("background-image").value,E=new Array(b.length),O=new Array(b.length),L=0,w=0;w0&&void 0!==arguments[0]?arguments[0]:U)},j=function(){s.colorStrokeStyle(t,F[0],F[1],F[2],arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y)},ne=e.pstyle("shape").strValue,fe=e.pstyle("shape-polygon-points").pfValue;if(v){t.translate(h.x,h.y);var te=s.nodePathCache=s.nodePathCache||[],le=Vs("polygon"===ne?ne+","+fe.join(","):ne,""+l,""+o),be=te[le];null!=be?(g=!0,f.pathCache=d=be):(d=new Path2D,te[le]=f.pathCache=d)}var we=function(){if(!g){var Be=h;v&&(Be={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(d||t,Be.x,Be.y,o,l)}v?t.fill(d):t.fill()},me=function(){for(var Be=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,Xe=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ht=u.backgrounding,st=0,je=0;je0&&void 0!==arguments[0]&&arguments[0],Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;s.hasPie(e)&&(s.drawPie(t,e,Xe),Be&&(v||s.nodeShapes[s.getNodeShape(e)].draw(t,h.x,h.y,o,l)))},J=function(){var ht=B>0?0:255;0!==B&&(s.colorFillStyle(t,ht,ht,ht,(B>0?B:-B)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c)),v?t.fill(d):t.fill())},Ee=function(){if(N>0){if(t.lineWidth=N,t.lineCap="butt",t.setLineDash)switch(Q){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(v?t.stroke(d):t.stroke(),"double"===Q){t.lineWidth=N/3;var Be=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",v?t.stroke(d):t.stroke(),t.globalCompositeOperation=Be}t.setLineDash&&t.setLineDash([])}};if("yes"===e.pstyle("ghost").value){var nt=e.pstyle("ghost-offset-x").pfValue,ke=e.pstyle("ghost-offset-y").pfValue,Me=e.pstyle("ghost-opacity").value,Ke=Me*c;t.translate(nt,ke),H(Me*U),we(),me(Ke,!0),j(Me*Y),Ee(),ge(0!==B||0!==N),me(Ke,!1),J(Ke),t.translate(-nt,-ke)}v&&t.translate(-h.x,-h.y),n&&s.drawNodeUnderlay(t,e,h,o,l),v&&t.translate(h.x,h.y),H(),we(),me(c,!0),j(),Ee(),ge(0!==B||0!==N),me(c,!1),J(),v&&t.translate(-h.x,-h.y),s.drawElementText(t,e,null,a),n&&s.drawNodeOverlay(t,e,h,o,l),r&&t.translate(p.x1,p.y1)}}},ju=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a,n,i,s){if(a.visible()){var l=a.pstyle("".concat(e,"-padding")).pfValue,u=a.pstyle("".concat(e,"-opacity")).value,f=a.pstyle("".concat(e,"-color")).value,h=a.pstyle("".concat(e,"-shape")).value;if(u>0){if(n=n||a.position(),null==i||null==s){var c=a.padding();i=a.width()+2*c,s=a.height()+2*c}this.colorFillStyle(r,f[0],f[1],f[2],u),this.nodeShapes[h].draw(r,n.x,n.y,i+2*l,s+2*l),r.fill()}}}};Za.drawNodeOverlay=ju("overlay"),Za.drawNodeUnderlay=ju("underlay"),Za.hasPie=function(t){return(t=t[0])._private.hasPie},Za.drawPie=function(t,e,r,a){e=e[0],a=a||e.position();var n=e.cy().style(),i=e.pstyle("pie-size"),s=a.x,o=a.y,l=e.width(),u=e.height(),f=Math.min(l,u)/2,h=0;this.usePaths()&&(s=0,o=0),"%"===i.units?f*=i.pfValue:void 0!==i.pfValue&&(f=i.pfValue/2);for(var v=1;v<=n.pieBackgroundN;v++){var d=e.pstyle("pie-"+v+"-background-size").value,g=e.pstyle("pie-"+v+"-background-color").value,y=e.pstyle("pie-"+v+"-background-opacity").value*r,p=d/100;p+h>1&&(p=1-h);var m=1.5*Math.PI+2*Math.PI*h,E=m+2*Math.PI*p;0===d||h>=1||h+p>1||(t.beginPath(),t.moveTo(s,o),t.arc(s,o,f,m,E),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],y),t.fill(),h+=p)}};var dr={};dr.getPixelRatio=function(){var t=this.data.contexts[0];return null!=this.forcedPixelRatio?this.forcedPixelRatio:(window.devicePixelRatio||1)/(t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)},dr.paintCache=function(t){for(var a,e=this.paintCaches=this.paintCaches||[],r=!0,n=0;ns.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!h&&(f[s.NODE]=!0,f[s.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),E=void 0!==n?n:b,O=l.pan(),L={x:O.x,y:O.y},w={zoom:b,pan:{x:O.x,y:O.y}},M=s.prevViewport;!(void 0===M||w.zoom!==M.zoom||w.pan.x!==M.pan.x||w.pan.y!==M.pan.y)&&!(g&&!d)&&(s.motionBlurPxRatio=1),i&&(L=i),E*=o,L.x*=o,L.y*=o;var k=s.getCachedZSortedEles();function B(ke,Me,Ke,$e,Be){var Xe=ke.globalCompositeOperation;ke.globalCompositeOperation="destination-out",s.colorFillStyle(ke,255,255,255,s.motionBlurTransparency),ke.fillRect(Me,Ke,$e,Be),ke.globalCompositeOperation=Xe}function N(ke,Me){var Ke,$e,Be,Xe;s.clearingMotionBlur||ke!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&ke!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(Ke=L,$e=E,Be=s.canvasWidth,Xe=s.canvasHeight):(Ke={x:O.x*v,y:O.y*v},$e=b*v,Be=s.canvasWidth*v,Xe=s.canvasHeight*v),ke.setTransform(1,0,0,1,0,0),"motionBlur"===Me?B(ke,0,0,Be,Xe):!e&&(void 0===Me||Me)&&ke.clearRect(0,0,Be,Xe),r||(ke.translate(Ke.x,Ke.y),ke.scale($e,$e)),i&&ke.translate(i.x,i.y),n&&ke.scale(n,n)}if(h||(s.textureDrawLastFrame=!1),h){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=l.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var U=s.data.bufferContexts[s.TEXTURE_BUFFER];U.setTransform(1,0,0,1,0,0),U.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:U,drawOnlyNodeLayer:!0,forcedPxRatio:o*s.textureMult}),(w=s.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-w.pan.x)/w.zoom,y:(0-w.pan.y)/w.zoom}}f[s.DRAG]=!1,f[s.NODE]=!1;var Q=s.textureCache.texture;w=s.textureCache.viewport,(F=u.contexts[s.NODE]).setTransform(1,0,0,1,0,0),c?B(F,0,0,w.width,w.height):F.clearRect(0,0,w.width,w.height);var Y=m.core("outside-texture-bg-color").value,H=m.core("outside-texture-bg-opacity").value;s.colorFillStyle(F,Y[0],Y[1],Y[2],H),F.fillRect(0,0,w.width,w.height),b=l.zoom(),N(F,!1),F.clearRect(w.mpan.x,w.mpan.y,w.width/w.zoom/o,w.height/w.zoom/o),F.drawImage(Q,w.mpan.x,w.mpan.y,w.width/w.zoom/o,w.height/w.zoom/o)}else s.textureOnViewport&&!e&&(s.textureCache=null);var j=l.extent(),ne=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles||s.cy.animated(),fe=s.hideEdgesOnViewport&&ne,te=[];if(te[s.NODE]=!f[s.NODE]&&c&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,te[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),te[s.DRAG]=!f[s.DRAG]&&c&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,te[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),f[s.NODE]||r||a||te[s.NODE]){var le=c&&!te[s.NODE]&&1!==v;N(F=e||(le?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),c&&!le?"motionBlur":void 0),fe?s.drawCachedNodes(F,k.nondrag,o,j):s.drawLayeredElements(F,k.nondrag,o,j),s.debug&&s.drawDebugPoints(F,k.nondrag),!r&&!c&&(f[s.NODE]=!1)}if(!a&&(f[s.DRAG]||r||te[s.DRAG])&&(le=c&&!te[s.DRAG]&&1!==v,N(F=e||(le?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),c&&!le?"motionBlur":void 0),fe?s.drawCachedNodes(F,k.drag,o,j):s.drawCachedElements(F,k.drag,o,j),s.debug&&s.drawDebugPoints(F,k.drag),!r&&!c&&(f[s.DRAG]=!1)),s.showFps||!a&&f[s.SELECT_BOX]&&!r){var F;if(N(F=e||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){b=s.cy.zoom();var we=m.core("selection-box-border-width").value/b;F.lineWidth=we,F.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",F.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),we>0&&(F.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",F.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){b=s.cy.zoom();var me=u.bgActivePosistion;F.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",F.beginPath(),F.arc(me.x,me.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),F.fill()}var ge=s.lastRedrawTime;if(s.showFps&&ge){ge=Math.round(ge);var J=Math.round(1e3/ge);F.setTransform(1,0,0,1,0,0),F.fillStyle="rgba(255, 0, 0, 0.75)",F.strokeStyle="rgba(255, 0, 0, 0.75)",F.lineWidth=1,F.fillText("1 frame = "+ge+" ms = "+J+" fps",0,20);F.strokeRect(0,30,250,20),F.fillRect(0,30,250*Math.min(J/60,1),20)}r||(f[s.SELECT_BOX]=!1)}if(c&&1!==v){var Re=u.contexts[s.DRAG],tt=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],nt=function(Me,Ke,$e){Me.setTransform(1,0,0,1,0,0),$e||!p?Me.clearRect(0,0,s.canvasWidth,s.canvasHeight):B(Me,0,0,s.canvasWidth,s.canvasHeight),Me.drawImage(Ke,0,0,s.canvasWidth*v,s.canvasHeight*v,0,0,s.canvasWidth,s.canvasHeight)};(f[s.NODE]||te[s.NODE])&&(nt(u.contexts[s.NODE],s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],te[s.NODE]),f[s.NODE]=!1),(f[s.DRAG]||te[s.DRAG])&&(nt(Re,tt,te[s.DRAG]),f[s.DRAG]=!1)}s.prevViewport=w,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),c&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!h,s.mbFrames=0,f[s.NODE]=!0,f[s.DRAG]=!0,s.redraw()},100)),e||l.emit("render")};for(var na={drawPolygonPath:function(t,e,r,a,n,i){var s=a/2,o=n/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*i[0],r+o*i[1]);for(var l=1;l0&&s>0){v.clearRect(0,0,i,s),v.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)v.translate(-a.x1*u,-a.y1*u),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(a.x1*u,a.y1*u);else{var g=e.pan(),y={x:g.x*u,y:g.y*u};u*=e.zoom(),v.translate(y.x,y.y),v.scale(u,u),this.drawElements(v,d),v.scale(1/u,1/u),v.translate(-y.x,-y.y)}t.bg&&(v.globalCompositeOperation="destination-over",v.fillStyle=t.bg,v.rect(0,0,i,s),v.fill())}return c},Pn.png=function(t){return nl(t,this.bufferCanvasImage(t),"image/png")},Pn.jpg=function(t){return nl(t,this.bufferCanvasImage(t),"image/jpeg")};var Og=sl,yt=sl.prototype;function sl(t){var e=this;e.data={canvases:new Array(yt.CANVAS_LAYERS),contexts:new Array(yt.CANVAS_LAYERS),canvasNeedsRedraw:new Array(yt.CANVAS_LAYERS),bufferCanvases:new Array(yt.BUFFER_COUNT),bufferContexts:new Array(yt.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",a="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var n=e.data.canvasContainer.style;e.data.canvasContainer.style[r]=a,n.position="relative",n.zIndex="0",n.overflow="hidden";var i=t.cy.container();i.appendChild(e.data.canvasContainer),i.style[r]=a;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};rt()&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var o=0;o"u"?"undefined":Ne(OffscreenCanvas))?r=new OffscreenCanvas(t,e):((r=document.createElement("canvas")).width=t,r.height=e),r},[Ku,Pr,Yr,As,ma,Za,dr,na,Pn,{nodeShapeImpl:function(t,e,r,a,n,i,s){switch(t){case"ellipse":return this.drawEllipsePath(e,r,a,n,i);case"polygon":return this.drawPolygonPath(e,r,a,n,i,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,a,n,i,s);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,a,n,i);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,a,n,i);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,a,n,i);case"barrel":return this.drawBarrelPath(e,r,a,n,i)}}}].forEach(function(t){Qe(yt,t)});var Ig=[{type:"layout",extensions:Gd},{type:"renderer",extensions:[{name:"null",impl:Nu},{name:"base",impl:Yu},{name:"canvas",impl:Og}]}],ol={},ul={};function ll(t,e,r){var a=r,n=function(M){wt("Can not register `"+e+"` for `"+t+"` since `"+M+"` already exists in the prototype and can not be overridden")};if("core"===t){if(Mn.prototype[e])return n(e);Mn.prototype[e]=r}else if("collection"===t){if(qt.prototype[e])return n(e);qt.prototype[e]=r}else if("layout"===t){for(var i=function(M){this.options=M,r.call(this,M),oe(this._private)||(this._private={}),this._private.cy=M.cy,this._private.listeners=[],this.createEmitter()},s=i.prototype=Object.create(r.prototype),o=[],l=0;lz&&(this.rect.x-=(this.labelWidth-z)/2,this.setWidth(this.labelWidth)),this.labelHeight>$&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-$)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-$),this.setHeight(this.labelHeight))}}},R.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==P.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},R.prototype.transform=function(D){var z=this.rect.x;z>S.WORLD_BOUNDARY?z=S.WORLD_BOUNDARY:z<-S.WORLD_BOUNDARY&&(z=-S.WORLD_BOUNDARY);var $=this.rect.y;$>S.WORLD_BOUNDARY?$=S.WORLD_BOUNDARY:$<-S.WORLD_BOUNDARY&&($=-S.WORLD_BOUNDARY);var q=new V(z,$),K=D.inverseTransformPoint(q);this.setLocation(K.x,K.y)},R.prototype.getLeft=function(){return this.rect.x},R.prototype.getRight=function(){return this.rect.x+this.rect.width},R.prototype.getTop=function(){return this.rect.y},R.prototype.getBottom=function(){return this.rect.y+this.rect.height},R.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},Ne.exports=R},function(Ne,_e,de){"use strict";function G(P,T){null==P&&null==T?(this.x=0,this.y=0):(this.x=P,this.y=T)}G.prototype.getX=function(){return this.x},G.prototype.getY=function(){return this.y},G.prototype.setX=function(P){this.x=P},G.prototype.setY=function(P){this.y=P},G.prototype.getDifference=function(P){return new DimensionD(this.x-P.x,this.y-P.y)},G.prototype.getCopy=function(){return new G(this.x,this.y)},G.prototype.translate=function(P){return this.x+=P.width,this.y+=P.height,this},Ne.exports=G},function(Ne,_e,de){"use strict";var G=de(2),P=de(10),T=de(0),S=de(6),I=de(3),V=de(1),R=de(13),X=de(12),D=de(11);function z(q,K,se){G.call(this,se),this.estimatedSize=P.MIN_VALUE,this.margin=T.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=q,null!=K&&K instanceof S?this.graphManager=K:null!=K&&K instanceof Layout&&(this.graphManager=K.graphManager)}for(var $ in z.prototype=Object.create(G.prototype),G)z[$]=G[$];z.prototype.getNodes=function(){return this.nodes},z.prototype.getEdges=function(){return this.edges},z.prototype.getGraphManager=function(){return this.graphManager},z.prototype.getParent=function(){return this.parent},z.prototype.getLeft=function(){return this.left},z.prototype.getRight=function(){return this.right},z.prototype.getTop=function(){return this.top},z.prototype.getBottom=function(){return this.bottom},z.prototype.isConnected=function(){return this.isConnected},z.prototype.add=function(q,K,se){if(null==K&&null==se){var ae=q;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(ae)>-1)throw"Node already in graph!";return ae.owner=this,this.getNodes().push(ae),ae}var Z=q;if(!(this.getNodes().indexOf(K)>-1&&this.getNodes().indexOf(se)>-1))throw"Source or target not in graph!";if(K.owner!=se.owner||K.owner!=this)throw"Both owners must be this graph!";return K.owner!=se.owner?null:(Z.source=K,Z.target=se,Z.isInterGraph=!1,this.getEdges().push(Z),K.edges.push(Z),se!=K&&se.edges.push(Z),Z)},z.prototype.remove=function(q){var K=q;if(q instanceof I){if(null==K)throw"Node is null!";if(null==K.owner||K.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var se=K.edges.slice(),Z=se.length,re=0;re-1&&Fe>-1))throw"Source and/or target doesn't know this edge!";if(ae.source.edges.splice(oe,1),ae.target!=ae.source&&ae.target.edges.splice(Fe,1),-1==(Te=ae.source.owner.getEdges().indexOf(ae)))throw"Not in owner's edge list!";ae.source.owner.getEdges().splice(Te,1)}},z.prototype.updateLeftTop=function(){for(var se,ae,Z,q=P.MAX_VALUE,K=P.MAX_VALUE,re=this.getNodes(),Te=re.length,oe=0;oe(se=Fe.getTop())&&(q=se),K>(ae=Fe.getLeft())&&(K=ae)}return q==P.MAX_VALUE?null:(Z=null!=re[0].getParent().paddingLeft?re[0].getParent().paddingLeft:this.margin,this.left=K-Z,this.top=q-Z,new X(this.left,this.top))},z.prototype.updateBounds=function(q){for(var re,Te,oe,Fe,x,K=P.MAX_VALUE,se=-P.MAX_VALUE,ae=P.MAX_VALUE,Z=-P.MAX_VALUE,W=this.nodes,_=W.length,ee=0;ee<_;ee++){var he=W[ee];q&&null!=he.child&&he.updateBounds(),K>(re=he.getLeft())&&(K=re),se<(Te=he.getRight())&&(se=Te),ae>(oe=he.getTop())&&(ae=oe),Z<(Fe=he.getBottom())&&(Z=Fe)}var Ae=new R(K,ae,se-K,Z-ae);K==P.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),x=null!=W[0].getParent().paddingLeft?W[0].getParent().paddingLeft:this.margin,this.left=Ae.x-x,this.right=Ae.x+Ae.width+x,this.top=Ae.y-x,this.bottom=Ae.y+Ae.height+x},z.calculateBounds=function(q){for(var re,Te,oe,Fe,K=P.MAX_VALUE,se=-P.MAX_VALUE,ae=P.MAX_VALUE,Z=-P.MAX_VALUE,x=q.length,W=0;W(re=_.getLeft())&&(K=re),se<(Te=_.getRight())&&(se=Te),ae>(oe=_.getTop())&&(ae=oe),Z<(Fe=_.getBottom())&&(Z=Fe)}return new R(K,ae,se-K,Z-ae)},z.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},z.prototype.getEstimatedSize=function(){if(this.estimatedSize==P.MIN_VALUE)throw"assert failed";return this.estimatedSize},z.prototype.calcEstimatedSize=function(){for(var q=0,K=this.nodes,se=K.length,ae=0;ae=this.nodes.length){var _=0;se.forEach(function(ee){ee.owner==q&&_++}),_==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},Ne.exports=z},function(Ne,_e,de){"use strict";var G,P=de(1);function T(S){G=de(5),this.layout=S,this.graphs=[],this.edges=[]}T.prototype.addRoot=function(){var S=this.layout.newGraph(),I=this.layout.newNode(null),V=this.add(S,I);return this.setRootGraph(V),this.rootGraph},T.prototype.add=function(S,I,V,R,X){if(null==V&&null==R&&null==X){if(null==S)throw"Graph is null!";if(null==I)throw"Parent node is null!";if(this.graphs.indexOf(S)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(S),null!=S.parent)throw"Already has a parent!";if(null!=I.child)throw"Already has a child!";return S.parent=I,I.child=S,S}X=V,V=S;var D=(R=I).getOwner(),z=X.getOwner();if(null==D||D.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==z||z.getGraphManager()!=this)throw"Target not in this graph mgr!";if(D==z)return V.isInterGraph=!1,D.add(V,R,X);if(V.isInterGraph=!0,V.source=R,V.target=X,this.edges.indexOf(V)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(V),null==V.source||null==V.target)throw"Edge source and/or target is null!";if(-1!=V.source.edges.indexOf(V)||-1!=V.target.edges.indexOf(V))throw"Edge already in source and/or target incidency list!";return V.source.edges.push(V),V.target.edges.push(V),V},T.prototype.remove=function(S){if(S instanceof G){var I=S;if(I.getGraphManager()!=this)throw"Graph not in this graph mgr";if(I!=this.rootGraph&&(null==I.parent||I.parent.graphManager!=this))throw"Invalid parent node!";for(var R,V=[],X=(V=V.concat(I.getEdges())).length,D=0;D=S.getRight()?I[0]+=Math.min(S.getX()-T.getX(),T.getRight()-S.getRight()):S.getX()<=T.getX()&&S.getRight()>=T.getRight()&&(I[0]+=Math.min(T.getX()-S.getX(),S.getRight()-T.getRight())),T.getY()<=S.getY()&&T.getBottom()>=S.getBottom()?I[1]+=Math.min(S.getY()-T.getY(),T.getBottom()-S.getBottom()):S.getY()<=T.getY()&&S.getBottom()>=T.getBottom()&&(I[1]+=Math.min(T.getY()-S.getY(),S.getBottom()-T.getBottom()));var X=Math.abs((S.getCenterY()-T.getCenterY())/(S.getCenterX()-T.getCenterX()));S.getCenterY()===T.getCenterY()&&S.getCenterX()===T.getCenterX()&&(X=1);var D=X*I[0],z=I[1]/X;I[0]D)return I[0]=V,I[1]=$,I[2]=X,I[3]=W,!1;if(RX)return I[0]=z,I[1]=R,I[2]=Fe,I[3]=D,!1;if(VX?(I[0]=K,I[1]=se,Ae=!0):(I[0]=q,I[1]=$,Ae=!0):Pe===Ze&&(V>X?(I[0]=z,I[1]=$,Ae=!0):(I[0]=ae,I[1]=se,Ae=!0)),-et===Ze?X>V?(I[2]=x,I[3]=W,Ie=!0):(I[2]=Fe,I[3]=oe,Ie=!0):et===Ze&&(X>V?(I[2]=Te,I[3]=oe,Ie=!0):(I[2]=_,I[3]=W,Ie=!0)),Ae&&Ie)return!1;if(V>X?R>D?(Dt=this.getCardinalDirection(Pe,Ze,4),Ot=this.getCardinalDirection(et,Ze,2)):(Dt=this.getCardinalDirection(-Pe,Ze,3),Ot=this.getCardinalDirection(-et,Ze,1)):R>D?(Dt=this.getCardinalDirection(-Pe,Ze,1),Ot=this.getCardinalDirection(-et,Ze,3)):(Dt=this.getCardinalDirection(Pe,Ze,2),Ot=this.getCardinalDirection(et,Ze,4)),!Ae)switch(Dt){case 1:rt=$,I[0]=V+-re/Ze,I[1]=rt;break;case 2:rt=R+Z*Ze,I[0]=ae,I[1]=rt;break;case 3:rt=se,I[0]=V+re/Ze,I[1]=rt;break;case 4:rt=R+-Z*Ze,I[0]=K,I[1]=rt}if(!Ie)switch(Ot){case 1:dt=oe,I[2]=X+-he/Ze,I[3]=dt;break;case 2:dt=D+ee*Ze,I[2]=_,I[3]=dt;break;case 3:dt=W,I[2]=X+he/Ze,I[3]=dt;break;case 4:dt=D+-ee*Ze,I[2]=x,I[3]=dt}}return!1},P.getCardinalDirection=function(T,S,I){return T>S?I:1+I%4},P.getIntersection=function(T,S,I,V){if(null==V)return this.getIntersection2(T,S,I);var re,Te,oe,Fe,x,W,_,R=T.x,X=T.y,D=S.x,z=S.y,$=I.x,q=I.y,K=V.x,se=V.y;return x=D*X-R*z,W=K*q-$*se,0==(_=(re=z-X)*(Fe=$-K)-(Te=se-q)*(oe=R-D))?null:new G((oe*W-Fe*x)/_,(Te*x-re*W)/_)},P.angleOfVector=function(T,S,I,V){var R=void 0;return T!==I?(R=Math.atan((V-S)/(I-T)),I0?1:P<0?-1:0},G.floor=function(P){return P<0?Math.ceil(P):Math.floor(P)},G.ceil=function(P){return P<0?Math.floor(P):Math.ceil(P)},Ne.exports=G},function(Ne,_e,de){"use strict";function G(){}G.MAX_VALUE=2147483647,G.MIN_VALUE=-2147483648,Ne.exports=G},function(Ne,_e,de){"use strict";var G=function(){function R(X,D){for(var z=0;z"u"?"undefined":G(T);return null==T||"object"!=S&&"function"!=S},Ne.exports=P},function(Ne,_e,de){"use strict";function G($){if(Array.isArray($)){for(var q=0,K=Array($.length);q<$.length;q++)K[q]=$[q];return K}return Array.from($)}var P=de(0),T=de(6),S=de(3),I=de(1),V=de(5),R=de(4),X=de(17),D=de(27);function z($){D.call(this),this.layoutQuality=P.QUALITY,this.createBendsAsNeeded=P.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=P.DEFAULT_INCREMENTAL,this.animationOnLayout=P.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=P.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=P.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=P.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new T(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=$&&(this.isRemoteUse=$)}z.RANDOM_SEED=1,(z.prototype=Object.create(D.prototype)).getGraphManager=function(){return this.graphManager},z.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},z.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},z.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},z.prototype.newGraphManager=function(){var $=new T(this);return this.graphManager=$,$},z.prototype.newGraph=function($){return new V(null,this.graphManager,$)},z.prototype.newNode=function($){return new S(this.graphManager,$)},z.prototype.newEdge=function($){return new I(null,null,$)},z.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},z.prototype.runLayout=function(){var $;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),$=!this.checkLayoutSuccess()&&this.layout(),"during"!==P.ANIMATE&&($&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,$)},z.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},z.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var q=this.graphManager.getAllEdges(),K=0;K0&&q;){for(re.push(oe[0]);re.length>0&&q;){var Fe=re[0];re.splice(0,1),Z.add(Fe);var x=Fe.getEdges();for(ae=0;ae-1&&oe.splice(he,1)}Z=new Set,Te=new Map}else $=[]}return $},z.prototype.createDummyNodesForBendpoints=function($){for(var q=[],K=$.source,se=this.graphManager.calcLowestCommonAncestor($.source,$.target),ae=0;ae<$.bendpoints.length;ae++){var Z=this.newNode(null);Z.setRect(new Point(0,0),new Dimension(1,1)),se.add(Z);var re=this.newEdge(null);this.graphManager.add(re,K,Z),q.add(Z),K=Z}return re=this.newEdge(null),this.graphManager.add(re,K,$.target),this.edgeToDummyNodes.set($,q),$.isInterGraph()?this.graphManager.remove($):se.remove($),q},z.prototype.createBendpointsFromDummyNodes=function(){var $=[];$=$.concat(this.graphManager.getAllEdges()),$=[].concat(G(this.edgeToDummyNodes.keys())).concat($);for(var q=0;q<$.length;q++){var K=$[q];if(K.bendpoints.length>0){for(var se=this.edgeToDummyNodes.get(K),ae=0;ae=0&&q.splice(W,1),Te.getNeighborsList().forEach(function(Ae){if(K.indexOf(Ae)<0){var Pe=se.get(Ae)-1;1==Pe&&Fe.push(Ae),se.set(Ae,Pe)}})}K=K.concat(Fe),(1==q.length||2==q.length)&&(ae=!0,Z=q[0])}return Z},z.prototype.setGraphManager=function($){this.graphManager=$},Ne.exports=z},function(Ne,_e,de){"use strict";function G(){}G.seed=1,G.x=0,G.nextDouble=function(){return(G.x=1e4*Math.sin(G.seed++))-Math.floor(G.x)},Ne.exports=G},function(Ne,_e,de){"use strict";var G=de(4);function P(T,S){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}P.prototype.getWorldOrgX=function(){return this.lworldOrgX},P.prototype.setWorldOrgX=function(T){this.lworldOrgX=T},P.prototype.getWorldOrgY=function(){return this.lworldOrgY},P.prototype.setWorldOrgY=function(T){this.lworldOrgY=T},P.prototype.getWorldExtX=function(){return this.lworldExtX},P.prototype.setWorldExtX=function(T){this.lworldExtX=T},P.prototype.getWorldExtY=function(){return this.lworldExtY},P.prototype.setWorldExtY=function(T){this.lworldExtY=T},P.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},P.prototype.setDeviceOrgX=function(T){this.ldeviceOrgX=T},P.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},P.prototype.setDeviceOrgY=function(T){this.ldeviceOrgY=T},P.prototype.getDeviceExtX=function(){return this.ldeviceExtX},P.prototype.setDeviceExtX=function(T){this.ldeviceExtX=T},P.prototype.getDeviceExtY=function(){return this.ldeviceExtY},P.prototype.setDeviceExtY=function(T){this.ldeviceExtY=T},P.prototype.transformX=function(T){var S=0,I=this.lworldExtX;return 0!=I&&(S=this.ldeviceOrgX+(T-this.lworldOrgX)*this.ldeviceExtX/I),S},P.prototype.transformY=function(T){var S=0,I=this.lworldExtY;return 0!=I&&(S=this.ldeviceOrgY+(T-this.lworldOrgY)*this.ldeviceExtY/I),S},P.prototype.inverseTransformX=function(T){var S=0,I=this.ldeviceExtX;return 0!=I&&(S=this.lworldOrgX+(T-this.ldeviceOrgX)*this.lworldExtX/I),S},P.prototype.inverseTransformY=function(T){var S=0,I=this.ldeviceExtY;return 0!=I&&(S=this.lworldOrgY+(T-this.ldeviceOrgY)*this.lworldExtY/I),S},P.prototype.inverseTransformPoint=function(T){return new G(this.inverseTransformX(T.x),this.inverseTransformY(T.y))},Ne.exports=P},function(Ne,_e,de){"use strict";var P=de(15),T=de(7),S=de(0),I=de(8),V=de(9);function R(){P.call(this),this.useSmartIdealEdgeLengthCalculation=T.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=T.DEFAULT_EDGE_LENGTH,this.springConstant=T.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=T.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=T.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=T.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=T.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=T.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*T.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=T.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=T.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=T.MAX_ITERATIONS}for(var X in R.prototype=Object.create(P.prototype),P)R[X]=P[X];R.prototype.initParameters=function(){P.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=T.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},R.prototype.calcIdealEdgeLengths=function(){for(var D,z,$,q,K,se,ae=this.getGraphManager().getAllEdges(),Z=0;ZT.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*T.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(D-T.ADAPTATION_LOWER_NODE_LIMIT)/(T.ADAPTATION_UPPER_NODE_LIMIT-T.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-T.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=T.MAX_NODE_DISPLACEMENT_INCREMENTAL):(this.coolingFactor=D>T.ADAPTATION_LOWER_NODE_LIMIT?Math.max(T.COOLING_ADAPTATION_FACTOR,1-(D-T.ADAPTATION_LOWER_NODE_LIMIT)/(T.ADAPTATION_UPPER_NODE_LIMIT-T.ADAPTATION_LOWER_NODE_LIMIT)*(1-T.COOLING_ADAPTATION_FACTOR)):1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=T.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},R.prototype.calcSpringForces=function(){for(var z,D=this.getAllEdges(),$=0;$0&&void 0!==arguments[0])||arguments[0],z=arguments.length>1&&void 0!==arguments[1]&&arguments[1],ae=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%T.GRID_CALCULATION_CHECK_PERIOD==1&&D&&this.updateGrid(),Z=new Set,$=0;$(re=z.getEstimatedSize()*this.gravityRangeFactor)||Z>re)&&(D.gravitationForceX=-this.gravityConstant*K,D.gravitationForceY=-this.gravityConstant*se):(ae>(re=z.getEstimatedSize()*this.compoundGravityRangeFactor)||Z>re)&&(D.gravitationForceX=-this.gravityConstant*K*this.compoundGravityConstant,D.gravitationForceY=-this.gravityConstant*se*this.compoundGravityConstant)},R.prototype.isConverged=function(){var D,z=!1;return this.totalIterations>this.maxIterations/3&&(z=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),D=this.totalDisplacement=ae.length||re>=ae[0].length))for(var Te=0;TeR}}]),I}();Ne.exports=S},function(Ne,_e,de){"use strict";var G=function(){function S(I,V){for(var R=0;R2&&void 0!==arguments[2]?arguments[2]:1,X=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,D=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function P(S,I){if(!(S instanceof I))throw new TypeError("Cannot call a class as a function")})(this,S),this.sequence1=I,this.sequence2=V,this.match_score=R,this.mismatch_penalty=X,this.gap_penalty=D,this.iMax=I.length+1,this.jMax=V.length+1,this.grid=new Array(this.iMax);for(var z=0;z=0;I--){var V=this.listeners[I];V.event===T&&V.callback===S&&this.listeners.splice(I,1)}},P.emit=function(T,S){for(var I=0;I{"use strict";_e.r(Ne),_e.d(Ne,{diagram:()=>$n});var de=_e(5861),G=_e(855),P=_e(5703),T=_e(1775),S=_e(7403),I=_e(5791),V=_e(5847),R=_e(1223),X=_e(8674),$=(_e(2735),_e(1764),function(){var ce=function(wr,We,Ge,Je){for(Ge=Ge||{},Je=wr.length;Je--;Ge[wr[Je]]=We);return Ge},ue=[1,4],ve=[1,13],ze=[1,12],Le=[1,15],Ue=[1,16],bt=[1,20],at=[1,19],Lt=[6,7,8],Rt=[1,26],Gt=[1,24],jt=[1,25],At=[6,7,11],pr=[1,6,13,15,16,19,22],sa=[1,33],Un=[1,34],oa=[1,6,7,11,13,15,16,19,22],rn={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(We,Ge,Je,it,kt,qe,ua){var Et=qe.length-1;switch(kt){case 6:case 7:return it;case 8:it.getLogger().trace("Stop NL ");break;case 9:it.getLogger().trace("Stop EOF ");break;case 11:it.getLogger().trace("Stop NL2 ");break;case 12:it.getLogger().trace("Stop EOF2 ");break;case 15:it.getLogger().info("Node: ",qe[Et].id),it.addNode(qe[Et-1].length,qe[Et].id,qe[Et].descr,qe[Et].type);break;case 16:it.getLogger().trace("Icon: ",qe[Et]),it.decorateNode({icon:qe[Et]});break;case 17:case 21:it.decorateNode({class:qe[Et]});break;case 18:it.getLogger().trace("SPACELIST");break;case 19:it.getLogger().trace("Node: ",qe[Et].id),it.addNode(0,qe[Et].id,qe[Et].descr,qe[Et].type);break;case 20:it.decorateNode({icon:qe[Et]});break;case 25:it.getLogger().trace("node found ..",qe[Et-2]),this.$={id:qe[Et-1],descr:qe[Et-1],type:it.getType(qe[Et-2],qe[Et])};break;case 26:this.$={id:qe[Et],descr:qe[Et],type:it.nodeType.DEFAULT};break;case 27:it.getLogger().trace("node found ..",qe[Et-3]),this.$={id:qe[Et-3],descr:qe[Et-1],type:it.getType(qe[Et-2],qe[Et])}}},table:[{3:1,4:2,5:3,6:[1,5],8:ue},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:ue},{6:ve,7:[1,10],9:9,12:11,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},ce(Lt,[2,3]),{1:[2,2]},ce(Lt,[2,4]),ce(Lt,[2,5]),{1:[2,6],6:ve,12:21,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},{6:ve,9:22,12:11,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},{6:Rt,7:Gt,10:23,11:jt},ce(At,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:bt,22:at}),ce(At,[2,18]),ce(At,[2,19]),ce(At,[2,20]),ce(At,[2,21]),ce(At,[2,23]),ce(At,[2,24]),ce(At,[2,26],{19:[1,30]}),{20:[1,31]},{6:Rt,7:Gt,10:32,11:jt},{1:[2,7],6:ve,12:21,13:ze,14:14,15:Le,16:Ue,17:17,18:18,19:bt,22:at},ce(pr,[2,14],{7:sa,11:Un}),ce(oa,[2,8]),ce(oa,[2,9]),ce(oa,[2,10]),ce(At,[2,15]),ce(At,[2,16]),ce(At,[2,17]),{20:[1,35]},{21:[1,36]},ce(pr,[2,13],{7:sa,11:Un}),ce(oa,[2,11]),ce(oa,[2,12]),{21:[1,37]},ce(At,[2,25]),ce(At,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(We,Ge){if(!Ge.recoverable){var Je=new Error(We);throw Je.hash=Ge,Je}this.trace(We)},parse:function(We){var Je=[0],it=[],kt=[null],qe=[],ua=this.table,Et="",Ca=0,Yn=0,$i=qe.slice.call(arguments,1),Vt=Object.create(this.lexer),Fr={yy:{}};for(var nn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,nn)&&(Fr.yy[nn]=this.yy[nn]);Vt.setInput(We,Fr.yy),Fr.yy.lexer=Vt,Fr.yy.parser=this,typeof Vt.yylloc>"u"&&(Vt.yylloc={});var sn=Vt.yylloc;qe.push(sn);var xr,Ui=Vt.options&&Vt.options.ranges;this.parseError="function"==typeof Fr.yy.parseError?Fr.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Xt,zr,ur,on,Da,yr,Sa,Wr={};;){if(this.defaultActions[zr=Je[Je.length-1]]?ur=this.defaultActions[zr]:((null===Xt||typeof Xt>"u")&&(xr=void 0,"number"!=typeof(xr=it.pop()||Vt.lex()||1)&&(xr instanceof Array&&(xr=(it=xr).pop()),xr=this.symbols_[xr]||xr),Xt=xr),ur=ua[zr]&&ua[zr][Xt]),typeof ur>"u"||!ur.length||!ur[0]){var un;for(Da in Sa=[],ua[zr])this.terminals_[Da]&&Da>2&&Sa.push("'"+this.terminals_[Da]+"'");un=Vt.showPosition?"Parse error on line "+(Ca+1)+":\n"+Vt.showPosition()+"\nExpecting "+Sa.join(", ")+", got '"+(this.terminals_[Xt]||Xt)+"'":"Parse error on line "+(Ca+1)+": Unexpected "+(1==Xt?"end of input":"'"+(this.terminals_[Xt]||Xt)+"'"),this.parseError(un,{text:Vt.match,token:this.terminals_[Xt]||Xt,line:Vt.yylineno,loc:sn,expected:Sa})}if(ur[0]instanceof Array&&ur.length>1)throw new Error("Parse Error: multiple actions possible at state: "+zr+", token: "+Xt);switch(ur[0]){case 1:Je.push(Xt),kt.push(Vt.yytext),qe.push(Vt.yylloc),Je.push(ur[1]),Xt=null,Yn=Vt.yyleng,Et=Vt.yytext,Ca=Vt.yylineno,sn=Vt.yylloc;break;case 2:if(Wr.$=kt[kt.length-(yr=this.productions_[ur[1]][1])],Wr._$={first_line:qe[qe.length-(yr||1)].first_line,last_line:qe[qe.length-1].last_line,first_column:qe[qe.length-(yr||1)].first_column,last_column:qe[qe.length-1].last_column},Ui&&(Wr._$.range=[qe[qe.length-(yr||1)].range[0],qe[qe.length-1].range[1]]),typeof(on=this.performAction.apply(Wr,[Et,Yn,Ca,Fr.yy,ur[1],kt,qe].concat($i)))<"u")return on;yr&&(Je=Je.slice(0,-1*yr*2),kt=kt.slice(0,-1*yr),qe=qe.slice(0,-1*yr)),Je.push(this.productions_[ur[1]][0]),kt.push(Wr.$),qe.push(Wr._$),Je.push(ua[Je[Je.length-2]][Je[Je.length-1]]);break;case 3:return!0}}return!0}};function Mr(){this.yy={}}return rn.lexer={EOF:1,parseError:function(Ge,Je){if(!this.yy.parser)throw new Error(Ge);this.yy.parser.parseError(Ge,Je)},setInput:function(We,Ge){return this.yy=Ge||this.yy||{},this._input=We,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},input:function(){var We=this._input[0];return this.yytext+=We,this.yyleng++,this.offset++,this.match+=We,this.matched+=We,We.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),We},unput:function(We){var Ge=We.length,Je=We.split(/(?:\r\n?|\n)/g);this._input=We+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Ge),this.offset-=Ge;var it=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),Je.length-1&&(this.yylineno-=Je.length-1);var kt=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:Je?(Je.length===it.length?this.yylloc.first_column:0)+it[it.length-Je.length].length-Je[0].length:this.yylloc.first_column-Ge},this.options.ranges&&(this.yylloc.range=[kt[0],kt[0]+this.yyleng-Ge]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(We){this.unput(this.match.slice(We))},pastInput:function(){var We=this.matched.substr(0,this.matched.length-this.match.length);return(We.length>20?"...":"")+We.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var We=this.match;return We.length<20&&(We+=this._input.substr(0,20-We.length)),(We.substr(0,20)+(We.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var We=this.pastInput(),Ge=new Array(We.length+1).join("-");return We+this.upcomingInput()+"\n"+Ge+"^"},test_match:function(We,Ge){var Je,it,kt;if(this.options.backtrack_lexer&&(kt={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&&(kt.yylloc.range=this.yylloc.range.slice(0))),(it=We[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=it.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:it?it[it.length-1].length-it[it.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+We[0].length},this.yytext+=We[0],this.match+=We[0],this.matches=We,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(We[0].length),this.matched+=We[0],Je=this.performAction.call(this,this.yy,this,Ge,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Je)return Je;if(this._backtrack){for(var qe in kt)this[qe]=kt[qe];return!1}return!1},next:function(){if(this.done)return this.EOF;var We,Ge,Je,it;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var kt=this._currentRules(),qe=0;qeGe[0].length)){if(Ge=Je,it=qe,this.options.backtrack_lexer){if(!1!==(We=this.test_match(Je,kt[qe])))return We;if(this._backtrack){Ge=!1;continue}return!1}if(!this.options.flex)break}return Ge?!1!==(We=this.test_match(Ge,kt[it]))&&We:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Ge){this.conditionStack.push(Ge)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Ge){return(Ge=this.conditionStack.length-1-Math.abs(Ge||0))>=0?this.conditionStack[Ge]:"INITIAL"},pushState:function(Ge){this.begin(Ge)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Ge,Je,it,kt){switch(it){case 0:Ge.getLogger().trace("Found comment",Je.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:Ge.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return Ge.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:Ge.getLogger().trace("end icon"),this.popState();break;case 10:return Ge.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return Ge.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return Ge.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return Ge.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:Ge.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return Ge.getLogger().trace("description:",Je.yytext),"NODE_DESCR";case 24:return this.popState(),Ge.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),Ge.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),Ge.getLogger().trace("node end ...",Je.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),Ge.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),Ge.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return Ge.getLogger().trace("Long description:",Je.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},Mr.prototype=rn,rn.Parser=Mr,new Mr}());$.parser=$;const q=$,K=ce=>(0,G.b)(ce,(0,G.g)());let se=[],ae=0,Z={};const x={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_=(ce,ue)=>{Z[ce]=ue},he=ce=>{switch(ce){case x.DEFAULT:return"no-border";case x.RECT:return"rect";case x.ROUNDED_RECT:return"rounded-rect";case x.CIRCLE:return"circle";case x.CLOUD:return"cloud";case x.BANG:return"bang";case x.HEXAGON:return"hexgon";default:return"no-border"}};let Ae;const Ze=ce=>Z[ce],Dt=Object.freeze(Object.defineProperty({__proto__:null,addNode:(ce,ue,ve,ze)=>{G.l.info("addNode",ce,ue,ve,ze);const Le=(0,G.g)(),Ue={id:ae++,nodeId:K(ue),level:ce,descr:K(ve),type:ze,children:[],width:(0,G.g)().mindmap.maxNodeWidth};switch(Ue.type){case x.ROUNDED_RECT:case x.RECT:case x.HEXAGON:Ue.padding=2*Le.mindmap.padding;break;default:Ue.padding=Le.mindmap.padding}const bt=function(ce){for(let ue=se.length-1;ue>=0;ue--)if(se[ue].level{se=[],ae=0,Z={}},decorateNode:ce=>{const ue=se[se.length-1];ce&&ce.icon&&(ue.icon=K(ce.icon)),ce&&ce.class&&(ue.class=K(ce.class))},getElementById:Ze,getLogger:()=>G.l,getMindmap:()=>se.length>0?se[0]:null,getNodeById:ce=>se[ce],getType:(ce,ue)=>{switch(G.l.debug("In get type",ce,ue),ce){case"[":return x.RECT;case"(":return")"===ue?x.ROUNDED_RECT:x.CLOUD;case"((":return x.CIRCLE;case")":return x.CLOUD;case"))":return x.BANG;case"{{":return x.HEXAGON;default:return x.DEFAULT}},nodeType:x,get parseError(){return Ae},sanitizeText:K,setElementForId:_,setErrorHandler:ce=>{Ae=ce},type2Str:he},Symbol.toStringTag,{value:"Module"}));function He(ce,ue){ce.each(function(){var Le,ve=(0,P.Ys)(this),ze=ve.text().split(/(\s+|
)/).reverse(),Ue=[],at=ve.attr("y"),Lt=parseFloat(ve.attr("dy")),Rt=ve.text(null).append("tspan").attr("x",0).attr("y",at).attr("dy",Lt+"em");for(let Gt=0;Gtue||"
"===Le)&&(Ue.pop(),Rt.text(Ue.join(" ").trim()),Ue="
"===Le?[""]:[Le],Rt=ve.append("tspan").attr("x",0).attr("y",at).attr("dy","1.1em").text(Le))})}const Ta={drawNode:function(ce,ue,ve,ze){const Le=ve%11,Ue=ce.append("g");ue.section=Le;let bt="section-"+Le;Le<0&&(bt+=" section-root"),Ue.attr("class",(ue.class?ue.class+" ":"")+"mindmap-node "+bt);const at=Ue.append("g"),Lt=Ue.append("g"),Gt=Lt.append("text").text(ue.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(He,ue.width).node().getBBox(),jt=ze.fontSize.replace?ze.fontSize.replace("px",""):ze.fontSize;if(ue.height=Gt.height+1.1*jt*.5+ue.padding,ue.width=Gt.width+2*ue.padding,ue.icon)if(ue.type===x.CIRCLE)ue.height+=50,ue.width+=50,Ue.append("foreignObject").attr("height","50px").attr("width",ue.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+Le+" "+ue.icon),Lt.attr("transform","translate("+ue.width/2+", "+(ue.height/2-1.5*ue.padding)+")");else{ue.width+=50;const At=ue.height;ue.height=Math.max(At,60);const pr=Math.abs(ue.height-At);Ue.append("foreignObject").attr("width","60px").attr("height",ue.height).attr("style","text-align: center;margin-top:"+pr/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+Le+" "+ue.icon),Lt.attr("transform","translate("+(25+ue.width/2)+", "+(pr/2+ue.padding/2)+")")}else Lt.attr("transform","translate("+ue.width/2+", "+ue.padding/2+")");switch(ue.type){case x.DEFAULT:!function(ce,ue,ve){ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 ${ue.height-5} v${10-ue.height} q0,-5 5,-5 h${ue.width-10} q5,0 5,5 v${ue.height-5} H0 Z`),ce.append("line").attr("class","node-line-"+ve).attr("x1",0).attr("y1",ue.height).attr("x2",ue.width).attr("y2",ue.height)}(at,ue,Le);break;case x.ROUNDED_RECT:!function(ce,ue){ce.append("rect").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("height",ue.height).attr("rx",ue.padding).attr("ry",ue.padding).attr("width",ue.width)}(at,ue);break;case x.RECT:!function(ce,ue){ce.append("rect").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("height",ue.height).attr("width",ue.width)}(at,ue);break;case x.CIRCLE:at.attr("transform","translate("+ue.width/2+", "+ +ue.height/2+")"),function(ce,ue){ce.append("circle").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("r",ue.width/2)}(at,ue);break;case x.CLOUD:!function(ce,ue){const ve=ue.width,ze=ue.height,Le=.15*ve,Ue=.25*ve,bt=.35*ve,at=.2*ve;ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 0 a${Le},${Le} 0 0,1 ${.25*ve},${-1*ve*.1}\n a${bt},${bt} 1 0,1 ${.4*ve},${-1*ve*.1}\n a${Ue},${Ue} 1 0,1 ${.35*ve},${1*ve*.2}\n\n a${Le},${Le} 1 0,1 ${.15*ve},${1*ze*.35}\n a${at},${at} 1 0,1 ${-1*ve*.15},${1*ze*.65}\n\n a${Ue},${Le} 1 0,1 ${-1*ve*.25},${.15*ve}\n a${bt},${bt} 1 0,1 ${-1*ve*.5},0\n a${Le},${Le} 1 0,1 ${-1*ve*.25},${-1*ve*.15}\n\n a${Le},${Le} 1 0,1 ${-1*ve*.1},${-1*ze*.35}\n a${at},${at} 1 0,1 ${.1*ve},${-1*ze*.65}\n\n H0 V0 Z`)}(at,ue);break;case x.BANG:!function(ce,ue){const ve=ue.width,ze=ue.height,Le=.15*ve;ce.append("path").attr("id","node-"+ue.id).attr("class","node-bkg node-"+he(ue.type)).attr("d",`M0 0 a${Le},${Le} 1 0,0 ${.25*ve},${-1*ze*.1}\n a${Le},${Le} 1 0,0 ${.25*ve},0\n a${Le},${Le} 1 0,0 ${.25*ve},0\n a${Le},${Le} 1 0,0 ${.25*ve},${1*ze*.1}\n\n a${Le},${Le} 1 0,0 ${.15*ve},${1*ze*.33}\n a${.8*Le},${.8*Le} 1 0,0 0,${1*ze*.34}\n a${Le},${Le} 1 0,0 ${-1*ve*.15},${1*ze*.33}\n\n a${Le},${Le} 1 0,0 ${-1*ve*.25},${.15*ze}\n a${Le},${Le} 1 0,0 ${-1*ve*.25},0\n a${Le},${Le} 1 0,0 ${-1*ve*.25},0\n a${Le},${Le} 1 0,0 ${-1*ve*.25},${-1*ze*.15}\n\n a${Le},${Le} 1 0,0 ${-1*ve*.1},${-1*ze*.33}\n a${.8*Le},${.8*Le} 1 0,0 0,${-1*ze*.34}\n a${Le},${Le} 1 0,0 ${.1*ve},${-1*ze*.33}\n\n H0 V0 Z`)}(at,ue);break;case x.HEXAGON:!function(ce,ue){const ve=ue.height,Le=ve/4,Ue=ue.width-ue.padding+2*Le;!function Ht(ce,ue,ve,ze,Le){ce.insert("polygon",":first-child").attr("points",ze.map(function(Ue){return Ue.x+","+Ue.y}).join(" ")).attr("transform","translate("+(Le.width-ue)/2+", "+ve+")")}(ce,Ue,ve,[{x:Le,y:0},{x:Ue-Le,y:0},{x:Ue,y:-ve/2},{x:Ue-Le,y:-ve},{x:Le,y:-ve},{x:0,y:-ve/2}],ue)}(at,ue)}return _(ue.id,Ue),ue.height},positionNode:function(ce){Ze(ce.id).attr("transform","translate("+(ce.x||0)+","+(ce.y||0)+")")},drawEdge:function(ue,ve,ze,Le,Ue){const bt=Ue%11,at=ze.x+ze.width/2,Lt=ze.y+ze.height/2,Rt=ve.x+ve.width/2,Gt=ve.y+ve.height/2,jt=Rt>at?at+Math.abs(at-Rt)/2:at-Math.abs(at-Rt)/2,At=Gt>Lt?Lt+Math.abs(Lt-Gt)/2:Lt-Math.abs(Lt-Gt)/2,pr=Rt>at?Math.abs(at-jt)/2+at:-Math.abs(at-jt)/2+at,sa=Gt>Lt?Math.abs(Lt-At)/2+Lt:-Math.abs(Lt-At)/2+Lt;ue.append("path").attr("d","TB"===ze.direction||"BT"===ze.direction?`M${at},${Lt} Q${at},${sa} ${jt},${At} T${Rt},${Gt}`:`M${at},${Lt} Q${pr},${Lt} ${jt},${At} T${Rt},${Gt}`).attr("class","edge section-edge-"+bt+" edge-depth-"+Le)}};function zn(ce,ue,ve,ze){Ta.drawNode(ce,ue,ve,ze),ue.children&&ue.children.forEach((Le,Ue)=>{zn(ce,Le,ve<0?Ue:ve,ze)})}function Vn(ce,ue,ve,ze){ue.add({group:"nodes",data:{id:ce.id,labelText:ce.descr,height:ce.height,width:ce.width,level:ze,nodeId:ce.id,padding:ce.padding,type:ce.type},position:{x:ce.x,y:ce.y}}),ce.children&&ce.children.forEach(Le=>{Vn(Le,ue,ve,ze+1),ue.add({group:"edges",data:{id:`${ce.id}_${Le.id}`,source:ce.id,target:Le.id,depth:ze,section:Le.section}})})}function Qe(ce,ue){return new Promise(ve=>{const ze=(0,P.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),Le=S({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});ze.remove(),Vn(ce,Le,ue,0),Le.nodes().forEach(function(Ue){Ue.layoutDimensions=()=>{const bt=Ue.data();return{w:bt.width,h:bt.height}}}),Le.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),Le.ready(Ue=>{G.l.info("Ready",Ue),ve(Le)})})}S.use(I);const $n={db:Dt,renderer:{draw:function(){var ce=(0,de.Z)(function*(ue,ve,ze,Le){const Ue=(0,G.g)();Le.db.clear(),Le.parser.parse(ue),G.l.debug("Renering info diagram\n"+ue);const bt=(0,G.g)().securityLevel;let at;"sandbox"===bt&&(at=(0,P.Ys)("#i"+ve));const Rt=(0,P.Ys)("sandbox"===bt?at.nodes()[0].contentDocument.body:"body").select("#"+ve);Rt.append("g");const Gt=Le.db.getMindmap(),jt=Rt.append("g");jt.attr("class","mindmap-edges");const At=Rt.append("g");At.attr("class","mindmap-nodes"),zn(At,Gt,-1,Ue);const pr=yield Qe(Gt,Ue);(function Gn(ce,ue){ue.edges().map((ve,ze)=>{const Le=ve.data();if(ve[0]._private.bodyBounds){const Ue=ve[0]._private.rscratch;G.l.trace("Edge: ",ze,Le),ce.insert("path").attr("d",`M ${Ue.startX},${Ue.startY} L ${Ue.midX},${Ue.midY} L${Ue.endX},${Ue.endY} `).attr("class","edge section-edge-"+Le.section+" edge-depth-"+Le.depth)}})})(jt,pr),function Bi(ce){ce.nodes().map((ue,ve)=>{const ze=ue.data();ze.x=ue.position().x,ze.y=ue.position().y,Ta.positionNode(ze);const Le=Ze(ze.nodeId);G.l.info("Id:",ve,"Position: (",ue.position().x,", ",ue.position().y,")",ze),Le.attr("transform",`translate(${ue.position().x-ze.width/2}, ${ue.position().y-ze.height/2})`),Le.attr("attr",`apa-${ve})`)})}(pr),(0,T.s)(void 0,Rt,Ue.mindmap.padding,Ue.mindmap.useMaxWidth)});return function(ve,ze,Le,Ue){return ce.apply(this,arguments)}}()},parser:q,styles:ce=>`\n .edge {\n stroke-width: 3;\n }\n ${(ce=>{let ue="";for(let ve=0;ve{b.r(L),b.d(L,{diagram:()=>et});var m=b(839),P=b(8586),C=b(1065),W=b(8814),t=b(9037);b(1764),b(6780),b(2735);const N={},F=(e,i,r)=>{const o=(0,t.c)().state.padding,s=2*(0,t.c)().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,d=e.append("text").attr("x",0).attr("y",(0,t.c)().state.titleShift).attr("font-size",(0,t.c)().state.fontSize).attr("class","state-title").text(i.id),x=d.node().getBBox().width+s;let l,c=Math.max(x,p);c===p&&(c+=s);const w=e.node().getBBox();l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-w.x)p&&(l=a-(x-p)/2);const B=1-(0,t.c)().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",B).attr("class",r?"alt-composit":"composit").attr("width",c).attr("height",w.height+(0,t.c)().state.textHeight+(0,t.c)().state.titleShift+1).attr("rx","0"),d.attr("x",l+o),x<=p&&d.attr("x",a+(c-s)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",(0,t.c)().state.titleShift-(0,t.c)().state.textHeight-(0,t.c)().state.padding).attr("width",c).attr("height",3*(0,t.c)().state.textHeight).attr("rx",(0,t.c)().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",(0,t.c)().state.titleShift-(0,t.c)().state.textHeight-(0,t.c)().state.padding).attr("width",c).attr("height",w.height+3+2*(0,t.c)().state.textHeight).attr("rx",(0,t.c)().state.radius),e},H=function(e,i){const r=i.id,o={id:r,label:i.id,width:0,height:0},s=e.append("g").attr("id",r).attr("class","stateGroup");"start"===i.type&&(e=>{e.append("circle").attr("class","start-state").attr("r",(0,t.c)().state.sizeUnit).attr("cx",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit).attr("cy",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit)})(s),"end"===i.type&&(e=>{e.append("circle").attr("class","end-state-outer").attr("r",(0,t.c)().state.sizeUnit+(0,t.c)().state.miniPadding).attr("cx",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit+(0,t.c)().state.miniPadding).attr("cy",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit+(0,t.c)().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",(0,t.c)().state.sizeUnit).attr("cx",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit+2).attr("cy",(0,t.c)().state.padding+(0,t.c)().state.sizeUnit+2)})(s),("fork"===i.type||"join"===i.type)&&((e,i)=>{let r=(0,t.c)().state.forkWidth,o=(0,t.c)().state.forkHeight;if(i.parentId){let s=r;r=o,o=s}e.append("rect").style("stroke","black").style("fill","black").attr("width",r).attr("height",o).attr("x",(0,t.c)().state.padding).attr("y",(0,t.c)().state.padding)})(s,i),"note"===i.type&&((e,i)=>{i.attr("class","state-note");const r=i.append("rect").attr("x",0).attr("y",(0,t.c)().state.padding),o=i.append("g"),{textWidth:s,textHeight:g}=((e,i,r,o)=>{let s=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(t.e.lineBreakRegex);let d=1.25*(0,t.c)().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");c.text(x),0===d&&(d+=c.node().getBBox().height),s+=d,c.attr("x",0+(0,t.c)().state.noteMargin),c.attr("y",0+s+1.25*(0,t.c)().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}})(e,0,0,o);r.attr("height",g+2*(0,t.c)().state.noteMargin),r.attr("width",s+2*(0,t.c)().state.noteMargin)})(i.note.text,s),"divider"===i.type&&(e=>{e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,t.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,t.c)().state.textHeight).attr("y1",0).attr("y2",0)})(s),"default"===i.type&&0===i.descriptions.length&&((e,i)=>{const o=e.append("text").attr("x",2*(0,t.c)().state.padding).attr("y",(0,t.c)().state.textHeight+2*(0,t.c)().state.padding).attr("font-size",(0,t.c)().state.fontSize).attr("class","state-title").text(i.id).node().getBBox();e.insert("rect",":first-child").attr("x",(0,t.c)().state.padding).attr("y",(0,t.c)().state.padding).attr("width",o.width+2*(0,t.c)().state.padding).attr("height",o.height+2*(0,t.c)().state.padding).attr("rx",(0,t.c)().state.radius)})(s,i),"default"===i.type&&i.descriptions.length>0&&((e,i)=>{const s=e.append("text").attr("x",2*(0,t.c)().state.padding).attr("y",(0,t.c)().state.textHeight+1.3*(0,t.c)().state.padding).attr("font-size",(0,t.c)().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",(0,t.c)().state.padding).attr("y",g+.4*(0,t.c)().state.padding+(0,t.c)().state.dividerMargin+(0,t.c)().state.textHeight).attr("class","state-description");let a=!0,d=!0;i.descriptions.forEach(function(l){a||(function(l,w,B){const M=l.append("tspan").attr("x",2*(0,t.c)().state.padding).text(w);B||M.attr("dy",(0,t.c)().state.textHeight)}(p,l,d),d=!1),a=!1});const y=e.append("line").attr("x1",(0,t.c)().state.padding).attr("y1",(0,t.c)().state.padding+g+(0,t.c)().state.dividerMargin/2).attr("y2",(0,t.c)().state.padding+g+(0,t.c)().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,s.width);y.attr("x2",c+3*(0,t.c)().state.padding),e.insert("rect",":first-child").attr("x",(0,t.c)().state.padding).attr("y",(0,t.c)().state.padding).attr("width",c+2*(0,t.c)().state.padding).attr("height",x.height+g+2*(0,t.c)().state.padding).attr("rx",(0,t.c)().state.radius)})(s,i);const g=s.node().getBBox();return o.width=g.width+2*(0,t.c)().state.padding,o.height=g.height+2*(0,t.c)().state.padding,((e,i)=>{N[e]=i})(r,o),o};let E,z=0;const T={},q=e=>e?e.length*E.fontSizeFactor:1,A=(e,i,r,o,s,g,p)=>{const a=new W.k({compound:!0,multigraph:!0});let d,y=!0;for(d=0;d{const f=h.parentElement;let _=0,k=0;f&&(f.parentElement&&(_=f.parentElement.getBBox().width),k=parseInt(f.getAttribute("data-x-shift"),10),Number.isNaN(k)&&(k=0)),h.setAttribute("x1",0-k+8),h.setAttribute("x2",_-k-8)})):t.l.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let M=B.getBBox();a.edges().forEach(function(n){void 0!==n&&void 0!==a.edge(n)&&(t.l.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),function(e,i,r){i.points=i.points.filter(d=>!Number.isNaN(d.y));const s=i.points,g=(0,P.jvg)().x(function(d){return d.x}).y(function(d){return d.y}).curve(P.$0Z),p=e.append("path").attr("d",g(s)).attr("id","edge"+z).attr("class","transition");let a="";if((0,t.c)().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+function(d){switch(d){case m.d.relationType.AGGREGATION:return"aggregation";case m.d.relationType.EXTENSION:return"extension";case m.d.relationType.COMPOSITION:return"composition";case m.d.relationType.DEPENDENCY:return"dependency"}}(m.d.relationType.DEPENDENCY)+"End)"),void 0!==r.title){const d=e.append("g").attr("class","stateLabel"),{x:y,y:x}=t.u.calcLabelPosition(i.points),c=t.e.getRows(r.title);let l=0;const w=[];let B=0,M=0;for(let u=0;u<=c.length;u++){const h=d.append("text").attr("text-anchor","middle").text(c[u]).attr("x",y).attr("y",x+l),f=h.node().getBBox();B=Math.max(B,f.width),M=Math.min(M,f.x),t.l.info(f.x,y,x+l),0===l&&(l=h.node().getBBox().height,t.l.info("Title height",l,x)),w.push(h)}let S=l*c.length;if(c.length>1){const u=(c.length-1)*l*.5;w.forEach((h,f)=>h.attr("y",x+f*l-u)),S=l*c.length}const n=d.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",y-B/2-(0,t.c)().state.padding/2).attr("y",x-S/2-(0,t.c)().state.padding/2-3.5).attr("width",B+(0,t.c)().state.padding).attr("height",S+(0,t.c)().state.padding),t.l.info(n)}z++}(i,a.edge(n),a.edge(n).relation))}),M=B.getBBox();const S={id:r||"root",label:r||"root",width:0,height:0};return S.width=M.width+2*E.padding,S.height=M.height+2*E.padding,t.l.debug("Doc rendered",S,a),S},et={parser:m.p,db:m.d,renderer:{setConf:function(){},draw:function(e,i,r,o){E=(0,t.c)().state;const s=(0,t.c)().securityLevel;let g;"sandbox"===s&&(g=(0,P.Ys)("#i"+i));const p=(0,P.Ys)("sandbox"===s?g.nodes()[0].contentDocument.body:"body"),a="sandbox"===s?g.nodes()[0].contentDocument:document;t.l.debug("Rendering diagram "+e);const d=p.select(`[id='${i}']`);!function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}(d);const y=o.db.getRootDoc();A(y,d,void 0,!1,p,a,o);const x=E.padding,c=d.node().getBBox(),l=c.width+2*x,w=c.height+2*x;(0,t.i)(d,w,1.75*l,E.useMaxWidth),d.attr("viewBox",`${c.x-E.padding} ${c.y-E.padding} `+l+" "+w)}},styles:m.s,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,m.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/330.aa8e97600a53f037.js b/pkg/apiserver-impl/ui/330.aa8e97600a53f037.js deleted file mode 100644 index 62616dbc215..00000000000 --- a/pkg/apiserver-impl/ui/330.aa8e97600a53f037.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[330],{3330:(Lt,ct,W)=>{W.d(ct,{a:()=>h,b:()=>Dt,c:()=>L,d:()=>Pt,e:()=>jt,f:()=>Zt,g:()=>Gt,h:()=>Kt,i:()=>X,p:()=>Xt,s:()=>Ut,u:()=>b});var d=W(855),C=W(5703),I=W(4169),tt=W(5299),z=W(9111);const f={extension:(a,t,r)=>{d.l.trace("Making markers for ",r),a.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(a,t)=>{a.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(a,t)=>{a.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(a,t)=>{a.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(a,t)=>{a.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},h=(a,t,r,n)=>{t.forEach(e=>{f[e](a,r,n)})},L=(a,t,r,n)=>{let e=a||"";if("object"==typeof e&&(e=e[0]),(0,d.j)((0,d.g)().flowchart.htmlLabels))return e=e.replace(/\\n|\n/g,"
"),d.l.info("vertexText"+e),function S(a){const t=(0,C.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=t.append("xhtml:div");return r.html('"+a.label+""),function E(a,t){t&&a.attr("style",t)}(r,a.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}({isNode:n,label:(0,I.d)(e).replace(/fa[blrs]?:fa-[\w-]+/g,l=>``),labelStyle:t.replace("fill:","color:")});{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];i="string"==typeof e?e.split(/\\n|\n|/gi):Array.isArray(e)?e:[];for(const l of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class",r?"title-row":"row"),c.textContent=l.trim(),s.appendChild(c)}return s}},v=(a,t,r,n)=>{let e;e=r||"node default";const s=a.insert("g").attr("class",e).attr("id",t.domId||t.id),i=s.insert("g").attr("class","label").attr("style",t.labelStyle);let l;l=void 0===t.labelText?"":"string"==typeof t.labelText?t.labelText:t.labelText[0];const c=i.node().appendChild(L((0,d.b)((0,I.d)(l),(0,d.g)()),t.labelStyle,!1,n));let p=c.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const u=c.children[0],m=(0,C.Ys)(c);p=u.getBoundingClientRect(),m.attr("width",p.width),m.attr("height",p.height)}const o=t.padding/2;return i.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),{shapeSvg:s,bbox:p,halfPadding:o,label:i}},b=(a,t)=>{const r=t.node().getBBox();a.width=r.width,a.height=r.height};function M(a,t,r,n){return a.insert("polygon",":first-child").attr("points",n.map(function(e){return e.x+","+e.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+r/2+")")}function N(a,t,r,n){var e=a.x,s=a.y,i=e-n.x,l=s-n.y,c=Math.sqrt(t*t*l*l+r*r*i*i),p=Math.abs(t*r*i/c);n.x0}const X=(a,t)=>{var c,p,r=a.x,n=a.y,e=t.x-r,s=t.y-n,i=a.width/2,l=a.height/2;return Math.abs(s)*i>Math.abs(e)*l?(s<0&&(l=-l),c=0===s?0:l*e/s,p=l):(e<0&&(i=-i),c=i,p=0===e?0:i*s/e),{x:r+c,y:n+p}},w={node:function G(a,t){return a.intersect(t)},circle:function Y(a,t,r){return N(a,t,t,r)},ellipse:N,polygon:function V(a,t,r){var n=a.x,e=a.y,s=[],i=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof t.forEach?t.forEach(function(x){i=Math.min(i,x.x),l=Math.min(l,x.y)}):(i=Math.min(i,t.x),l=Math.min(l,t.y));for(var c=n-a.width/2-i,p=e-a.height/2-l,o=0;o1&&s.sort(function(x,k){var B=x.x-r.x,T=x.y-r.y,P=Math.sqrt(B*B+T*T),J=k.x-r.x,$=k.y-r.y,at=Math.sqrt(J*J+$*$);return P{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),i=n.width+t.padding+(n.height+t.padding),l=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];d.l.info("Question main (Circle)");const c=M(r,i,i,l);return c.attr("style",t.style),b(t,c),t.intersect=function(p){return d.l.warn("Intersect called"),w.polygon(t,l,p)},r};function bt(a,t,r,n){const e=[],s=l=>{e.push(l,0)},i=l=>{e.push(0,l)};t.includes("t")?(d.l.debug("add top border"),s(r)):i(r),t.includes("r")?(d.l.debug("add right border"),s(n)):i(n),t.includes("b")?(d.l.debug("add bottom border"),s(r)):i(r),t.includes("l")?(d.l.debug("add left border"),s(n)):i(n),a.attr("stroke-dasharray",e.join(" "))}const wt=(a,t,r)=>{const n=a.insert("g").attr("class","node default").attr("id",t.domId||t.id);let e=70,s=10;"LR"===r&&(e=10,s=70);const i=n.append("rect").attr("x",-1*e/2).attr("y",-1*s/2).attr("width",e).attr("height",s).attr("class","fork-join");return b(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(l){return w.rect(t,l)},n},mt={rhombus:U,question:U,rect:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,"node "+t.classes,!0);d.l.trace("Classes = ",t.classes);const s=r.insert("rect",":first-child"),i=n.width+t.padding,l=n.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-n.width/2-e).attr("y",-n.height/2-e).attr("width",i).attr("height",l),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(bt(s,t.props.borders,i,l),c.delete("borders")),c.forEach(p=>{d.l.warn(`Unknown node property ${p}`)})}return b(t,s),t.intersect=function(c){return w.rect(t,c)},r},labelRect:(a,t)=>{const{shapeSvg:r}=v(a,t,"label",!0);d.l.trace("Classes = ",t.classes);const n=r.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(bt(n,t.props.borders,0,0),i.delete("borders")),i.forEach(l=>{d.l.warn(`Unknown node property ${l}`)})}return b(t,n),t.intersect=function(i){return w.rect(t,i)},r},rectWithTitle:(a,t)=>{let r;r=t.classes?"node "+t.classes:"node default";const n=a.insert("g").attr("class",r).attr("id",t.domId||t.id),e=n.insert("rect",":first-child"),s=n.insert("line"),i=n.insert("g").attr("class","label"),l=t.labelText.flat?t.labelText.flat():t.labelText;let c="";c="object"==typeof l?l[0]:l,d.l.info("Label text abc79",c,l,"object"==typeof l);const p=i.node().appendChild(L(c,t.labelStyle,!0,!0));let o={width:0,height:0};if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const k=p.children[0],B=(0,C.Ys)(p);o=k.getBoundingClientRect(),B.attr("width",o.width),B.attr("height",o.height)}d.l.info("Text 2",l);const u=l.slice(1,l.length);let m=p.getBBox();const y=i.node().appendChild(L(u.join?u.join("
"):u,t.labelStyle,!0,!0));if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const k=y.children[0],B=(0,C.Ys)(y);o=k.getBoundingClientRect(),B.attr("width",o.width),B.attr("height",o.height)}const x=t.padding/2;return(0,C.Ys)(y).attr("transform","translate( "+(o.width>m.width?0:(m.width-o.width)/2)+", "+(m.height+x+5)+")"),(0,C.Ys)(p).attr("transform","translate( "+(o.width{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return w.circle(t,14,i)},r},circle:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,void 0,!0),s=r.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),d.l.info("Circle main"),b(t,s),t.intersect=function(i){return d.l.info("Circle intersect",t,n.width/2+e,i),w.circle(t,n.width/2+e,i)},r},doublecircle:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,void 0,!0),i=r.insert("g",":first-child"),l=i.insert("circle"),c=i.insert("circle");return l.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e+5).attr("width",n.width+t.padding+10).attr("height",n.height+t.padding+10),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",n.width/2+e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),d.l.info("DoubleCircle main"),b(t,l),t.intersect=function(p){return d.l.info("DoubleCircle intersect",t,n.width/2+e+5,p),w.circle(t,n.width/2+e+5,p)},r},stadium:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.height+t.padding,s=n.width+e/4+t.padding,i=r.insert("rect",":first-child").attr("style",t.style).attr("rx",e/2).attr("ry",e/2).attr("x",-s/2).attr("y",-e/2).attr("width",s).attr("height",e);return b(t,i),t.intersect=function(l){return w.rect(t,l)},r},hexagon:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),s=n.height+t.padding,i=s/4,l=n.width+2*i+t.padding,c=[{x:i,y:0},{x:l-i,y:0},{x:l,y:-s/2},{x:l-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],p=M(r,l,s,c);return p.attr("style",t.style),b(t,p),t.intersect=function(o){return w.polygon(t,c,o)},r},rect_left_inv_arrow:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-s/2,y:0},{x:e,y:0},{x:e,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return M(r,e,s,i).attr("style",t.style),t.width=e+s,t.height=s,t.intersect=function(c){return w.polygon(t,i,c)},r},lean_right:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-2*s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},lean_left:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:2*s/6,y:0},{x:e+s/6,y:0},{x:e-2*s/6,y:-s},{x:-s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},trapezoid:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:-2*s/6,y:0},{x:e+2*s/6,y:0},{x:e-s/6,y:-s},{x:s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},inv_trapezoid:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:s/6,y:0},{x:e-s/6,y:0},{x:e+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},rect_right_inv_arrow:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:0,y:0},{x:e+s/2,y:0},{x:e,y:-s/2},{x:e+s/2,y:-s},{x:0,y:-s}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},cylinder:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=e/2,i=s/(2.5+e/50),l=n.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+e+" 0 a "+s+","+i+" 0,0,0 "+-e+" 0 l 0,"+l+" a "+s+","+i+" 0,0,0 "+e+" 0 l 0,"+-l,p=r.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-e/2+","+-(l/2+i)+")");return b(t,p),t.intersect=function(o){const u=w.rect(t,o),m=u.x-t.x;if(0!=s&&(Math.abs(m)t.height/2-i)){let y=i*i*(1-m*m/(s*s));0!=y&&(y=Math.sqrt(y)),y=i-y,o.y-t.y>0&&(y=-y),u.y+=y}return u},r},start:(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),n=r.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),b(t,n),t.intersect=function(e){return w.circle(t,7,e)},r},end:(a,t)=>{const r=a.insert("g").attr("class","node default").attr("id",t.domId||t.id),n=r.insert("circle",":first-child"),e=r.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),n.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),b(t,e),t.intersect=function(s){return w.circle(t,7,s)},r},note:(a,t)=>{const{shapeSvg:r,bbox:n,halfPadding:e}=v(a,t,"node "+t.classes,!0);d.l.info("Classes = ",t.classes);const s=r.insert("rect",":first-child");return s.attr("rx",t.rx).attr("ry",t.ry).attr("x",-n.width/2-e).attr("y",-n.height/2-e).attr("width",n.width+t.padding).attr("height",n.height+t.padding),b(t,s),t.intersect=function(i){return w.rect(t,i)},r},subroutine:(a,t)=>{const{shapeSvg:r,bbox:n}=v(a,t,void 0,!0),e=n.width+t.padding,s=n.height+t.padding,i=[{x:0,y:0},{x:e,y:0},{x:e,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:e+8,y:0},{x:e+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=M(r,e,s,i);return l.attr("style",t.style),b(t,l),t.intersect=function(c){return w.polygon(t,i,c)},r},fork:wt,join:wt,class_box:(a,t)=>{const r=t.padding/2;let s;s=t.classes?"node "+t.classes:"node default";const i=a.insert("g").attr("class",s).attr("id",t.domId||t.id),l=i.insert("rect",":first-child"),c=i.insert("line"),p=i.insert("line");let o=0,u=4;const m=i.insert("g").attr("class","label");let y=0;const x=t.classData.annotations&&t.classData.annotations[0],k=t.classData.annotations[0]?"\xab"+t.classData.annotations[0]+"\xbb":"",B=m.node().appendChild(L(k,t.labelStyle,!0,!0));let T=B.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const O=B.children[0],H=(0,C.Ys)(B);T=O.getBoundingClientRect(),H.attr("width",T.width),H.attr("height",T.height)}t.classData.annotations[0]&&(u+=T.height+4,o+=T.width);let P=t.classData.label;void 0!==t.classData.type&&""!==t.classData.type&&((0,d.g)().flowchart.htmlLabels?P+="<"+t.classData.type+">":P+="<"+t.classData.type+">");const J=m.node().appendChild(L(P,t.labelStyle,!0,!0));(0,C.Ys)(J).attr("class","classTitle");let $=J.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const O=J.children[0],H=(0,C.Ys)(J);$=O.getBoundingClientRect(),H.attr("width",$.width),H.attr("height",$.height)}u+=$.height+4,$.width>o&&(o=$.width);const at=[];t.classData.members.forEach(O=>{const H=(0,tt.p)(O);let Q=H.displayText;(0,d.g)().flowchart.htmlLabels&&(Q=Q.replace(//g,">"));const Z=m.node().appendChild(L(Q,H.cssStyle?H.cssStyle:t.labelStyle,!0,!0));let A=Z.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const pt=Z.children[0],et=(0,C.Ys)(Z);A=pt.getBoundingClientRect(),et.attr("width",A.width),et.attr("height",A.height)}A.width>o&&(o=A.width),u+=A.height+4,at.push(Z)}),u+=8;const vt=[];if(t.classData.methods.forEach(O=>{const H=(0,tt.p)(O);let Q=H.displayText;(0,d.g)().flowchart.htmlLabels&&(Q=Q.replace(//g,">"));const Z=m.node().appendChild(L(Q,H.cssStyle?H.cssStyle:t.labelStyle,!0,!0));let A=Z.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const pt=Z.children[0],et=(0,C.Ys)(Z);A=pt.getBoundingClientRect(),et.attr("width",A.width),et.attr("height",A.height)}A.width>o&&(o=A.width),u+=A.height+4,vt.push(Z)}),u+=8,x){let O=(o-T.width)/2;(0,C.Ys)(B).attr("transform","translate( "+(-1*o/2+O)+", "+-1*u/2+")"),y=T.height+4}let Ft=(o-$.width)/2;return(0,C.Ys)(J).attr("transform","translate( "+(-1*o/2+Ft)+", "+(-1*u/2+y)+")"),y+=$.height+4,c.attr("class","divider").attr("x1",-o/2-r).attr("x2",o/2+r).attr("y1",-u/2-r+8+y).attr("y2",-u/2-r+8+y),y+=8,at.forEach(O=>{(0,C.Ys)(O).attr("transform","translate( "+-o/2+", "+(-1*u/2+y+4)+")"),y+=$.height+4}),y+=8,p.attr("class","divider").attr("x1",-o/2-r).attr("x2",o/2+r).attr("y1",-u/2-r+8+y).attr("y2",-u/2-r+8+y),y+=8,vt.forEach(O=>{(0,C.Ys)(O).attr("transform","translate( "+-o/2+", "+(-1*u/2+y)+")"),y+=$.height+4}),l.attr("class","outer title-state").attr("x",-o/2-r).attr("y",-u/2-r).attr("width",o+t.padding).attr("height",u+t.padding),b(t,l),t.intersect=function(O){return w.rect(t,O)},i}};let q={};const jt=(a,t,r)=>{let n,e;if(t.link){let s;"sandbox"===(0,d.g)().securityLevel?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),n=a.insert("svg:a").attr("xlink:href",t.link).attr("target",s),e=mt[t.shape](n,t,r)}else e=mt[t.shape](a,t,r),n=e;return t.tooltip&&e.attr("title",t.tooltip),t.class&&e.attr("class","node default "+t.class),q[t.id]=n,t.haveCallback&&q[t.id].attr("class",q[t.id].attr("class")+" clickable"),n},Ut=(a,t)=>{q[t.id]=a},Dt=()=>{q={}},Xt=a=>{const t=q[a.id];d.l.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");const n=a.diff||0;return t.attr("transform",a.clusterNode?"translate("+(a.x+n-a.width/2)+", "+(a.y-a.height/2-8)+")":"translate("+a.x+", "+a.y+")"),n};let nt={},R={};const Pt=()=>{nt={},R={}},Zt=(a,t)=>{const r=L(t.label,t.labelStyle),n=a.insert("g").attr("class","edgeLabel"),e=n.insert("g").attr("class","label");e.node().appendChild(r);let i,s=r.getBBox();if((0,d.j)((0,d.g)().flowchart.htmlLabels)){const l=r.children[0],c=(0,C.Ys)(r);s=l.getBoundingClientRect(),c.attr("width",s.width),c.attr("height",s.height)}if(e.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),nt[t.id]=n,t.width=s.width,t.height=s.height,t.startLabelLeft){const l=L(t.startLabelLeft,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),R[t.id]||(R[t.id]={}),R[t.id].startLeft=c,lt(i,t.startLabelLeft)}if(t.startLabelRight){const l=L(t.startLabelRight,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=c.node().appendChild(l),p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),R[t.id]||(R[t.id]={}),R[t.id].startRight=c,lt(i,t.startLabelRight)}if(t.endLabelLeft){const l=L(t.endLabelLeft,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),c.node().appendChild(l),R[t.id]||(R[t.id]={}),R[t.id].endLeft=c,lt(i,t.endLabelLeft)}if(t.endLabelRight){const l=L(t.endLabelRight,t.labelStyle),c=a.insert("g").attr("class","edgeTerminals"),p=c.insert("g").attr("class","inner");i=p.node().appendChild(l);const o=l.getBBox();p.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),c.node().appendChild(l),R[t.id]||(R[t.id]={}),R[t.id].endRight=c,lt(i,t.endLabelRight)}return r};function lt(a,t){(0,d.g)().flowchart.htmlLabels&&a&&(a.style.width=9*t.length+"px",a.style.height="12px")}const Kt=(a,t)=>{d.l.info("Moving label abc78 ",a.id,a.label,nt[a.id]);let r=t.updatedPath?t.updatedPath:t.originalPath;if(a.label){const n=nt[a.id];let e=a.x,s=a.y;if(r){const i=z.u.calcLabelPosition(r);d.l.info("Moving label "+a.label+" from (",e,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(e=i.x,s=i.y)}n.attr("transform","translate("+e+", "+s+")")}if(a.startLabelLeft){const n=R[a.id].startLeft;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_left",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.startLabelRight){const n=R[a.id].startRight;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeStart?10:0,"start_right",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.endLabelLeft){const n=R[a.id].endLeft;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_left",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}if(a.endLabelRight){const n=R[a.id].endRight;let e=a.x,s=a.y;if(r){const i=z.u.calcTerminalLabelPosition(a.arrowTypeEnd?10:0,"end_right",r);e=i.x,s=i.y}n.attr("transform","translate("+e+", "+s+")")}},kt=(a,t)=>{d.l.warn("abc88 cutPathAtIntersect",a,t);let r=[],n=a[0],e=!1;return a.forEach(s=>{if(d.l.info("abc88 checking point",s,t),((a,t)=>{const n=a.y,e=Math.abs(t.x-a.x),s=Math.abs(t.y-n);return e>=a.width/2||s>=a.height/2})(t,s)||e)d.l.warn("abc88 outside",s,n),n=s,e||r.push(s);else{const i=((a,t,r)=>{d.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(t)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${a.x} y:${a.y} w:${a.width} h:${a.height}`);const n=a.x,e=a.y,s=Math.abs(n-r.x),i=a.width/2;let l=r.xMath.abs(n-t.x)*c){let u=r.y{l=l||c.x===i.x&&c.y===i.y}),r.some(c=>c.x===i.x&&c.y===i.y)?d.l.warn("abc88 no intersect",i,r):r.push(i),e=!0}}),d.l.warn("abc88 returning points",r),r},Gt=function(a,t,r,n,e,s){let i=r.points,l=!1;const c=s.node(t.v);var p=s.node(t.w);d.l.info("abc88 InsertEdge: ",r),p.intersect&&c.intersect&&(i=i.slice(1,r.points.length-1),i.unshift(c.intersect(i[0])),d.l.info("Last point",i[i.length-1],p,p.intersect(i[i.length-1])),i.push(p.intersect(i[i.length-1]))),r.toCluster&&(d.l.info("to cluster abc88",n[r.toCluster]),i=kt(r.points,n[r.toCluster].node),l=!0),r.fromCluster&&(d.l.info("from cluster abc88",n[r.fromCluster]),i=kt(i.reverse(),n[r.fromCluster].node).reverse(),l=!0);const o=i.filter(T=>!Number.isNaN(T.y));let u;u=("graph"===e||"flowchart"===e)&&r.curve||C.$0Z;const m=(0,C.jvg)().x(function(T){return T.x}).y(function(T){return T.y}).curve(u);let y;switch(r.thickness){case"normal":y="edge-thickness-normal";break;case"thick":case"invisible":y="edge-thickness-thick";break;default:y=""}switch(r.pattern){case"solid":y+=" edge-pattern-solid";break;case"dotted":y+=" edge-pattern-dotted";break;case"dashed":y+=" edge-pattern-dashed"}const x=a.append("path").attr("d",m(o)).attr("id",r.id).attr("class"," "+y+(r.classes?" "+r.classes:"")).attr("style",r.style);let k="";switch(((0,d.g)().flowchart.arrowMarkerAbsolute||(0,d.g)().state.arrowMarkerAbsolute)&&(k=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\(/g,"\\("),k=k.replace(/\)/g,"\\)")),d.l.info("arrowTypeStart",r.arrowTypeStart),d.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+k+"#"+e+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+k+"#"+e+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+k+"#"+e+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+k+"#"+e+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+k+"#"+e+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+k+"#"+e+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+k+"#"+e+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+k+"#"+e+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+k+"#"+e+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+k+"#"+e+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+k+"#"+e+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+k+"#"+e+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+k+"#"+e+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+k+"#"+e+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+k+"#"+e+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+k+"#"+e+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+k+"#"+e+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+k+"#"+e+"-lollipopEnd)")}let B={};return l&&(B.updatedPath=i),B.originalPath=r.points,B}},5299:(Lt,ct,W)=>{W.d(ct,{p:()=>st,s:()=>xt});var d=W(5703),C=W(9111),I=W(855);let tt=0;const st=function(g){let E=g.match(/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/),S=g.match(/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/);return E&&!S?ft(E):S?yt(S):ut(g)},ft=function(g){let f="",h="";try{let E=g[1]?g[1].trim():"",S=g[2]?g[2].trim():"",_=g[3]?(0,I.p)(g[3].trim()):"",L=g[4]?g[4].trim():"",v=g[5]?g[5].trim():"";h=E+S+_+" "+L,f=it(v)}catch{h=g}return{displayText:h,cssStyle:f}},yt=function(g){let f="",h="";try{let E=g[1]?g[1].trim():"",S=g[2]?g[2].trim():"",_=g[3]?(0,I.p)(g[3].trim()):"",L=g[4]?g[4].trim():"";h=E+S+"("+_+")"+(g[5]?" : "+(0,I.p)(g[5]).trim():""),f=it(L)}catch{h=g}return{displayText:h,cssStyle:f}},ut=function(g){let f="",h="",E="",S=g.indexOf("("),_=g.indexOf(")");if(S>1&&_>S&&_<=g.length){let L="",v="",b=g.substring(0,1);b.match(/\w/)?v=g.substring(0,S).trim():(b.match(/[#+~-]/)&&(L=b),v=g.substring(1,S).trim());const M=g.substring(S+1,_);g.substring(_+1,1),h=it(g.substring(_+1,_+2)),f=L+v+"("+(0,I.p)(M.trim())+")",_");const G=v.append("tspan").text(M).attr("class","title");b||G.attr("dy",h.textHeight);const N=v.node().getBBox().height,Y=L.append("line").attr("x1",0).attr("y1",h.padding+N+h.dividerMargin/2).attr("y2",h.padding+N+h.dividerMargin/2),F=L.append("text").attr("x",h.padding).attr("y",N+h.dividerMargin+h.textHeight).attr("fill","white").attr("class","classText");b=!0,f.members.forEach(function(U){ht(F,U,b,h),b=!1});const D=F.node().getBBox(),V=L.append("line").attr("x1",0).attr("y1",h.padding+N+h.dividerMargin+D.height).attr("y2",h.padding+N+h.dividerMargin+D.height),rt=L.append("text").attr("x",h.padding).attr("y",N+2*h.dividerMargin+D.height+h.textHeight).attr("fill","white").attr("class","classText");b=!0,f.methods.forEach(function(U){ht(rt,U,b,h),b=!1});const X=L.node().getBBox();var w=" ";f.cssClasses.length>0&&(w+=f.cssClasses.join(" "));const j=L.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",X.width+2*h.padding).attr("height",X.height+h.padding+.5*h.dividerMargin).attr("class",w).node().getBBox().width;return v.node().childNodes.forEach(function(U){U.setAttribute("x",(j-U.getBBox().width)/2)}),f.tooltip&&v.insert("title").text(f.tooltip),Y.attr("x2",j),V.attr("x2",j),_.width=j,_.height=X.height+h.padding+.5*h.dividerMargin,_},drawEdge:function(g,f,h,E,S){const _=function(w){switch(w){case S.db.relationType.AGGREGATION:return"aggregation";case S.db.relationType.EXTENSION:return"extension";case S.db.relationType.COMPOSITION:return"composition";case S.db.relationType.DEPENDENCY:return"dependency";case S.db.relationType.LOLLIPOP:return"lollipop"}};f.points=f.points.filter(w=>!Number.isNaN(w.y));const L=f.points,v=(0,d.jvg)().x(function(w){return w.x}).y(function(w){return w.y}).curve(d.$0Z),b=g.append("path").attr("d",v(L)).attr("id","edge"+tt).attr("class","relation");let G,N,M="";E.arrowMarkerAbsolute&&(M=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,M=M.replace(/\(/g,"\\("),M=M.replace(/\)/g,"\\)")),1==h.relation.lineType&&b.attr("class","relation dashed-line"),10==h.relation.lineType&&b.attr("class","relation dotted-line"),"none"!==h.relation.type1&&b.attr("marker-start","url("+M+"#"+_(h.relation.type1)+"Start)"),"none"!==h.relation.type2&&b.attr("marker-end","url("+M+"#"+_(h.relation.type2)+"End)");const Y=f.points.length;let D,V,rt,X,F=C.u.calcLabelPosition(f.points);if(G=F.x,N=F.y,Y%2!=0&&Y>1){let w=C.u.calcCardinalityPosition("none"!==h.relation.type1,f.points,f.points[0]),K=C.u.calcCardinalityPosition("none"!==h.relation.type2,f.points,f.points[Y-1]);I.l.debug("cardinality_1_point "+JSON.stringify(w)),I.l.debug("cardinality_2_point "+JSON.stringify(K)),D=w.x,V=w.y,rt=K.x,X=K.y}if(void 0!==h.title){const w=g.append("g").attr("class","classLabel"),K=w.append("text").attr("class","label").attr("x",G).attr("y",N).attr("fill","red").attr("text-anchor","middle").text(h.title);window.label=K;const j=K.node().getBBox();w.insert("rect",":first-child").attr("class","box").attr("x",j.x-E.padding/2).attr("y",j.y-E.padding/2).attr("width",j.width+E.padding).attr("height",j.height+E.padding)}I.l.info("Rendering relation "+JSON.stringify(h)),void 0!==h.relationTitle1&&"none"!==h.relationTitle1&&g.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",D).attr("y",V).attr("fill","black").attr("font-size","6").text(h.relationTitle1),void 0!==h.relationTitle2&&"none"!==h.relationTitle2&&g.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",rt).attr("y",X).attr("fill","black").attr("font-size","6").text(h.relationTitle2),tt++},drawNote:function(g,f,h,E){I.l.debug("Rendering note ",f,h);const S=f.id,_={id:S,text:f.text,width:0,height:0},L=g.append("g").attr("id",S).attr("class","classGroup");let v=L.append("text").attr("y",h.textHeight+h.padding).attr("x",0);const b=JSON.parse(`"${f.text}"`).split("\n");b.forEach(function(Y){I.l.debug(`Adding line: ${Y}`),v.append("tspan").text(Y).attr("class","title").attr("dy",h.textHeight)});const M=L.node().getBBox(),N=L.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",M.width+2*h.padding).attr("height",M.height+b.length*h.textHeight+h.padding+.5*h.dividerMargin).node().getBBox().width;return v.node().childNodes.forEach(function(Y){Y.setAttribute("x",(N-Y.getBBox().width)/2)}),_.width=N,_.height=M.height+b.length*h.textHeight+h.padding+.5*h.dividerMargin,_},parseMember:st}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/38.fba2ecc6e4763433.js b/pkg/apiserver-impl/ui/38.fba2ecc6e4763433.js new file mode 100644 index 00000000000..24a939d4a86 --- /dev/null +++ b/pkg/apiserver-impl/ui/38.fba2ecc6e4763433.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[38],{9038:(Jt,ct,W)=>{W.d(ct,{a:()=>ft,b:()=>Xt,c:()=>C,d:()=>zt,e:()=>Nt,f:()=>Gt,g:()=>et,h:()=>Vt,i:()=>P,j:()=>Kt,k:()=>st,l:()=>k,m:()=>it,p:()=>jt,s:()=>At,u:()=>w});var v=W(5861),f=W(9037),S=W(8586),Q=W(9627);const ht={extension:(e,r,t)=>{f.l.trace("Making markers for ",t),e.append("defs").append("marker").attr("id",t+"_"+r+"-extensionStart").attr("class","marker extension "+r).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",t+"_"+r+"-extensionEnd").attr("class","marker extension "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(e,r,t)=>{e.append("defs").append("marker").attr("id",t+"_"+r+"-compositionStart").attr("class","marker composition "+r).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"_"+r+"-compositionEnd").attr("class","marker composition "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(e,r,t)=>{e.append("defs").append("marker").attr("id",t+"_"+r+"-aggregationStart").attr("class","marker aggregation "+r).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"_"+r+"-aggregationEnd").attr("class","marker aggregation "+r).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(e,r,t)=>{e.append("defs").append("marker").attr("id",t+"_"+r+"-dependencyStart").attr("class","marker dependency "+r).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",t+"_"+r+"-dependencyEnd").attr("class","marker dependency "+r).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(e,r,t)=>{e.append("defs").append("marker").attr("id",t+"_"+r+"-lollipopStart").attr("class","marker lollipop "+r).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",t+"_"+r+"-lollipopEnd").attr("class","marker lollipop "+r).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(e,r,t)=>{e.append("marker").attr("id",t+"_"+r+"-pointEnd").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"_"+r+"-pointStart").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(e,r,t)=>{e.append("marker").attr("id",t+"_"+r+"-circleEnd").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"_"+r+"-circleStart").attr("class","marker "+r).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(e,r,t)=>{e.append("marker").attr("id",t+"_"+r+"-crossEnd").attr("class","marker cross "+r).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",t+"_"+r+"-crossStart").attr("class","marker cross "+r).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(e,r,t)=>{e.append("defs").append("marker").attr("id",t+"_"+r+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},ft=(e,r,t,n)=>{r.forEach(l=>{ht[l](e,t,n)})},C=(e,r,t,n)=>{let l=e||"";if("object"==typeof l&&(l=l[0]),(0,f.m)((0,f.c)().flowchart.htmlLabels))return l=l.replace(/\\n|\n/g,"
"),f.l.debug("vertexText"+l),function yt(e){const r=(0,S.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),t=r.append("xhtml:div");return t.html('"+e.label+""),function pt(e,r){r&&e.attr("style",r)}(t,e.labelStyle),t.style("display","inline-block"),t.style("white-space","nowrap"),t.attr("xmlns","http://www.w3.org/1999/xhtml"),r.node()}({isNode:n,label:(0,f.M)(l).replace(/fa[blrs]?:fa-[\w-]+/g,s=>``),labelStyle:r.replace("fill:","color:")});{const i=document.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("style",r.replace("color:","fill:"));let a=[];a="string"==typeof l?l.split(/\\n|\n|/gi):Array.isArray(l)?l:[];for(const s of a){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class",t?"title-row":"row"),c.textContent=s.trim(),i.appendChild(c)}return i}},k=function(){var e=(0,v.Z)(function*(r,t,n,l){let i;const a=t.useHtmlLabels||(0,f.m)((0,f.c)().flowchart.htmlLabels);i=n||"node default";const s=r.insert("g").attr("class",i).attr("id",t.domId||t.id),c=s.insert("g").attr("class","label").attr("style",t.labelStyle);let h;h=void 0===t.labelText?"":"string"==typeof t.labelText?t.labelText:t.labelText[0];const o=c.node();let p;p="markdown"===t.labelType?(0,Q.a)(c,(0,f.d)((0,f.M)(h),(0,f.c)()),{useHtmlLabels:a,width:t.width||(0,f.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):o.appendChild(C((0,f.d)((0,f.M)(h),(0,f.c)()),t.labelStyle,!1,l));let y=p.getBBox();const x=t.padding/2;if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const u=p.children[0],m=(0,S.Ys)(p),d=u.getElementsByTagName("img");if(d){const T=""===h.replace(/]*>/g,"").trim();yield Promise.all([...d].map(g=>new Promise(B=>{function E(){if(g.style.display="flex",g.style.flexDirection="column",T){const D=(0,f.c)().fontSize?(0,f.c)().fontSize:window.getComputedStyle(document.body).fontSize,z=5,G=parseInt(D,10)*z+"px";g.style.minWidth=G,g.style.maxWidth=G}else g.style.width="100%";B(g)}setTimeout(()=>{g.complete&&E()}),g.addEventListener("error",E),g.addEventListener("load",E)})))}y=u.getBoundingClientRect(),m.attr("width",y.width),m.attr("height",y.height)}return c.attr("transform",a?"translate("+-y.width/2+", "+-y.height/2+")":"translate(0, "+-y.height/2+")"),t.centerLabel&&c.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),c.insert("rect",":first-child"),{shapeSvg:s,bbox:y,halfPadding:x,label:c}});return function(t,n,l,i){return e.apply(this,arguments)}}(),w=(e,r)=>{const t=r.node().getBBox();e.width=t.width,e.height=t.height};function R(e,r,t,n){return e.insert("polygon",":first-child").attr("points",n.map(function(l){return l.x+","+l.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-r/2+","+t/2+")")}function V(e,r,t,n){var l=e.x,i=e.y,a=l-n.x,s=i-n.y,c=Math.sqrt(r*r*s*s+t*t*a*a),h=Math.abs(r*t*a/c);n.x0}const P=(e,r)=>{var c,h,t=e.x,n=e.y,l=r.x-t,i=r.y-n,a=e.width/2,s=e.height/2;return Math.abs(i)*a>Math.abs(l)*s?(i<0&&(s=-s),c=0===i?0:s*l/i,h=s):(l<0&&(a=-a),c=a,h=0===l?0:a*i/l),{x:t+c,y:n+h}},b={node:function ut(e,r){return e.intersect(r)},circle:function xt(e,r,t){return V(e,r,r,t)},ellipse:V,polygon:function gt(e,r,t){var n=e.x,l=e.y,i=[],a=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof r.forEach?r.forEach(function(u){a=Math.min(a,u.x),s=Math.min(s,u.y)}):(a=Math.min(a,r.x),s=Math.min(s,r.y));for(var c=n-e.width/2-a,h=l-e.height/2-s,o=0;o1&&i.sort(function(u,m){var d=u.x-t.x,T=u.y-t.y,g=Math.sqrt(d*d+T*T),B=m.x-t.x,E=m.y-t.y,D=Math.sqrt(B*B+E*E);return ge?" "+e:"",$=(e,r)=>`${r||"node default"}${q(e.classes)} ${q(e.class)}`,tt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),s=l.width+t.padding+(l.height+t.padding),c=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];f.l.info("Question main (Circle)");const h=R(n,s,s,c);return h.attr("style",t.style),w(t,h),t.intersect=function(o){return f.l.warn("Intersect called"),b.polygon(t,c,o)},n});return function(t,n){return e.apply(this,arguments)}}(),kt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),a=l.height+t.padding,s=a/4,c=l.width+2*s+t.padding,h=[{x:s,y:0},{x:c-s,y:0},{x:c,y:-a/2},{x:c-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],o=R(n,c,a,h);return o.attr("style",t.style),w(t,o),t.intersect=function(p){return b.polygon(t,h,p)},n});return function(t,n){return e.apply(this,arguments)}}(),_t=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,void 0,!0),a=l.height+2*t.padding,c=l.width+a/2*2+t.padding,h=((e,r,t)=>{const n=(e=>{const r=new Set;for(const t of e)switch(t){case"x":r.add("right"),r.add("left");break;case"y":r.add("up"),r.add("down");break;default:r.add(t)}return r})(e),i=r.height+2*t.padding,a=i/2,s=r.width+2*a+t.padding,c=t.padding/2;return n.has("right")&&n.has("left")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:a,y:0},{x:s/2,y:2*c},{x:s-a,y:0},{x:s,y:0},{x:s,y:-i/3},{x:s+2*c,y:-i/2},{x:s,y:-2*i/3},{x:s,y:-i},{x:s-a,y:-i},{x:s/2,y:-i-2*c},{x:a,y:-i},{x:0,y:-i},{x:0,y:-2*i/3},{x:-2*c,y:-i/2},{x:0,y:-i/3}]:n.has("right")&&n.has("left")&&n.has("up")?[{x:a,y:0},{x:s-a,y:0},{x:s,y:-i/2},{x:s-a,y:-i},{x:a,y:-i},{x:0,y:-i/2}]:n.has("right")&&n.has("left")&&n.has("down")?[{x:0,y:0},{x:a,y:-i},{x:s-a,y:-i},{x:s,y:0}]:n.has("right")&&n.has("up")&&n.has("down")?[{x:0,y:0},{x:s,y:-a},{x:s,y:-i+a},{x:0,y:-i}]:n.has("left")&&n.has("up")&&n.has("down")?[{x:s,y:0},{x:0,y:-a},{x:0,y:-i+a},{x:s,y:-i}]:n.has("right")&&n.has("left")?[{x:a,y:0},{x:a,y:-c},{x:s-a,y:-c},{x:s-a,y:0},{x:s,y:-i/2},{x:s-a,y:-i},{x:s-a,y:-i+c},{x:a,y:-i+c},{x:a,y:-i},{x:0,y:-i/2}]:n.has("up")&&n.has("down")?[{x:s/2,y:0},{x:0,y:-c},{x:a,y:-c},{x:a,y:-i+c},{x:0,y:-i+c},{x:s/2,y:-i},{x:s,y:-i+c},{x:s-a,y:-i+c},{x:s-a,y:-c},{x:s,y:-c}]:n.has("right")&&n.has("up")?[{x:0,y:0},{x:s,y:-a},{x:0,y:-i}]:n.has("right")&&n.has("down")?[{x:0,y:0},{x:s,y:0},{x:0,y:-i}]:n.has("left")&&n.has("up")?[{x:s,y:0},{x:0,y:-a},{x:s,y:-i}]:n.has("left")&&n.has("down")?[{x:s,y:0},{x:0,y:0},{x:s,y:-i}]:n.has("right")?[{x:a,y:-c},{x:a,y:-c},{x:s-a,y:-c},{x:s-a,y:0},{x:s,y:-i/2},{x:s-a,y:-i},{x:s-a,y:-i+c},{x:a,y:-i+c},{x:a,y:-i+c}]:n.has("left")?[{x:a,y:0},{x:a,y:-c},{x:s-a,y:-c},{x:s-a,y:-i+c},{x:a,y:-i+c},{x:a,y:-i},{x:0,y:-i/2}]:n.has("up")?[{x:a,y:-c},{x:a,y:-i+c},{x:0,y:-i+c},{x:s/2,y:-i},{x:s,y:-i+c},{x:s-a,y:-i+c},{x:s-a,y:-c}]:n.has("down")?[{x:s/2,y:0},{x:0,y:-c},{x:a,y:-c},{x:a,y:-i+c},{x:s-a,y:-i+c},{x:s-a,y:-c},{x:s,y:-c}]:[{x:0,y:0}]})(t.directions,l,t),o=R(n,c,a,h);return o.attr("style",t.style),w(t,o),t.intersect=function(p){return b.polygon(t,h,p)},n});return function(t,n){return e.apply(this,arguments)}}(),Lt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return R(n,i,a,s).attr("style",t.style),t.width=i+a,t.height=a,t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),St=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),Mt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),Tt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),Et=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),Bt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),Ct=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=i/2,s=a/(2.5+i/50),c=l.height+s+t.padding,h="M 0,"+s+" a "+a+","+s+" 0,0,0 "+i+" 0 a "+a+","+s+" 0,0,0 "+-i+" 0 l 0,"+c+" a "+a+","+s+" 0,0,0 "+i+" 0 l 0,"+-c,o=n.attr("label-offset-y",s).insert("path",":first-child").attr("style",t.style).attr("d",h).attr("transform","translate("+-i/2+","+-(c/2+s)+")");return w(t,o),t.intersect=function(p){const y=b.rect(t,p),x=y.x-t.x;if(0!=a&&(Math.abs(x)t.height/2-s)){let u=s*s*(1-x*x/(a*a));0!=u&&(u=Math.sqrt(u)),u=s-u,p.y-t.y>0&&(u=-u),y.y+=u}return y},n});return function(t,n){return e.apply(this,arguments)}}(),$t=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l,halfPadding:i}=yield k(r,t,"node "+t.classes+" "+t.class,!0),a=n.insert("rect",":first-child"),s=t.positioned?t.width:l.width+t.padding,c=t.positioned?t.height:l.height+t.padding,h=t.positioned?-s/2:-l.width/2-i,o=t.positioned?-c/2:-l.height/2-i;if(a.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",h).attr("y",o).attr("width",s).attr("height",c),t.props){const p=new Set(Object.keys(t.props));t.props.borders&&(K(a,t.props.borders,s,c),p.delete("borders")),p.forEach(y=>{f.l.warn(`Unknown node property ${y}`)})}return w(t,a),t.intersect=function(p){return b.rect(t,p)},n});return function(t,n){return e.apply(this,arguments)}}(),Yt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l,halfPadding:i}=yield k(r,t,"node "+t.classes,!0),a=n.insert("rect",":first-child"),s=t.positioned?t.width:l.width+t.padding,c=t.positioned?t.height:l.height+t.padding,h=t.positioned?-s/2:-l.width/2-i,o=t.positioned?-c/2:-l.height/2-i;if(a.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",h).attr("y",o).attr("width",s).attr("height",c),t.props){const p=new Set(Object.keys(t.props));t.props.borders&&(K(a,t.props.borders,s,c),p.delete("borders")),p.forEach(y=>{f.l.warn(`Unknown node property ${y}`)})}return w(t,a),t.intersect=function(p){return b.rect(t,p)},n});return function(t,n){return e.apply(this,arguments)}}(),Rt=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n}=yield k(r,t,"label",!0);f.l.trace("Classes = ",t.class);const l=n.insert("rect",":first-child");if(l.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),t.props){const s=new Set(Object.keys(t.props));t.props.borders&&(K(l,t.props.borders,0,0),s.delete("borders")),s.forEach(c=>{f.l.warn(`Unknown node property ${c}`)})}return w(t,l),t.intersect=function(s){return b.rect(t,s)},n});return function(t,n){return e.apply(this,arguments)}}();function K(e,r,t,n){const l=[],i=s=>{l.push(s,0)},a=s=>{l.push(0,s)};r.includes("t")?(f.l.debug("add top border"),i(t)):a(t),r.includes("r")?(f.l.debug("add right border"),i(n)):a(n),r.includes("b")?(f.l.debug("add bottom border"),i(t)):a(t),r.includes("l")?(f.l.debug("add left border"),i(n)):a(n),e.attr("stroke-dasharray",l.join(" "))}const It=function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.height+t.padding,a=l.width+i/4+t.padding,s=n.insert("rect",":first-child").attr("style",t.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return w(t,s),t.intersect=function(c){return b.rect(t,c)},n});return function(t,n){return e.apply(this,arguments)}}(),rt=(e,r,t)=>{const n=e.insert("g").attr("class","node default").attr("id",r.domId||r.id);let l=70,i=10;"LR"===t&&(l=10,i=70);const a=n.append("rect").attr("x",-1*l/2).attr("y",-1*i/2).attr("width",l).attr("height",i).attr("class","fork-join");return w(r,a),r.height=r.height+r.padding/2,r.width=r.width+r.padding/2,r.intersect=function(s){return b.rect(r,s)},n},at={rhombus:tt,composite:Yt,question:tt,rect:$t,labelRect:Rt,rectWithTitle:(e,r)=>{let t;t=r.classes?"node "+r.classes:"node default";const n=e.insert("g").attr("class",t).attr("id",r.domId||r.id),l=n.insert("rect",":first-child"),i=n.insert("line"),a=n.insert("g").attr("class","label"),s=r.labelText.flat?r.labelText.flat():r.labelText;let c="";c="object"==typeof s?s[0]:s,f.l.info("Label text abc79",c,s,"object"==typeof s);const h=a.node().appendChild(C(c,r.labelStyle,!0,!0));let o={width:0,height:0};if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const m=h.children[0],d=(0,S.Ys)(h);o=m.getBoundingClientRect(),d.attr("width",o.width),d.attr("height",o.height)}f.l.info("Text 2",s);const p=s.slice(1,s.length);let y=h.getBBox();const x=a.node().appendChild(C(p.join?p.join("
"):p,r.labelStyle,!0,!0));if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const m=x.children[0],d=(0,S.Ys)(x);o=m.getBoundingClientRect(),d.attr("width",o.width),d.attr("height",o.height)}const u=r.padding/2;return(0,S.Ys)(x).attr("transform","translate( "+(o.width>y.width?0:(y.width-o.width)/2)+", "+(y.height+u+5)+")"),(0,S.Ys)(h).attr("transform","translate( "+(o.width{const t=e.insert("g").attr("class","node default").attr("id",r.domId||r.id);return t.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),r.width=28,r.height=28,r.intersect=function(a){return b.circle(r,14,a)},t},circle:function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l,halfPadding:i}=yield k(r,t,$(t,void 0),!0),a=n.insert("circle",":first-child");return a.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+i).attr("width",l.width+t.padding).attr("height",l.height+t.padding),f.l.info("Circle main"),w(t,a),t.intersect=function(s){return f.l.info("Circle intersect",t,l.width/2+i,s),b.circle(t,l.width/2+i,s)},n});return function(t,n){return e.apply(this,arguments)}}(),doublecircle:function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l,halfPadding:i}=yield k(r,t,$(t,void 0),!0),s=n.insert("g",":first-child"),c=s.insert("circle"),h=s.insert("circle");return s.attr("class",t.class),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+i+5).attr("width",l.width+t.padding+10).attr("height",l.height+t.padding+10),h.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+i).attr("width",l.width+t.padding).attr("height",l.height+t.padding),f.l.info("DoubleCircle main"),w(t,c),t.intersect=function(o){return f.l.info("DoubleCircle intersect",t,l.width/2+i+5,o),b.circle(t,l.width/2+i+5,o)},n});return function(t,n){return e.apply(this,arguments)}}(),stadium:It,hexagon:kt,block_arrow:_t,rect_left_inv_arrow:Lt,lean_right:St,lean_left:Mt,trapezoid:Tt,inv_trapezoid:Et,rect_right_inv_arrow:Bt,cylinder:Ct,start:(e,r)=>{const t=e.insert("g").attr("class","node default").attr("id",r.domId||r.id),n=t.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),w(r,n),r.intersect=function(l){return b.circle(r,7,l)},t},end:(e,r)=>{const t=e.insert("g").attr("class","node default").attr("id",r.domId||r.id),n=t.insert("circle",":first-child"),l=t.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),n.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),w(r,l),r.intersect=function(i){return b.circle(r,7,i)},t},note:bt,subroutine:function(){var e=(0,v.Z)(function*(r,t){const{shapeSvg:n,bbox:l}=yield k(r,t,$(t,void 0),!0),i=l.width+t.padding,a=l.height+t.padding,s=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],c=R(n,i,a,s);return c.attr("style",t.style),w(t,c),t.intersect=function(h){return b.polygon(t,s,h)},n});return function(t,n){return e.apply(this,arguments)}}(),fork:rt,join:rt,class_box:(e,r)=>{const t=r.padding/2;let i;i=r.classes?"node "+r.classes:"node default";const a=e.insert("g").attr("class",i).attr("id",r.domId||r.id),s=a.insert("rect",":first-child"),c=a.insert("line"),h=a.insert("line");let o=0,p=4;const y=a.insert("g").attr("class","label");let x=0;const u=r.classData.annotations&&r.classData.annotations[0],m=r.classData.annotations[0]?"\xab"+r.classData.annotations[0]+"\xbb":"",d=y.node().appendChild(C(m,r.labelStyle,!0,!0));let T=d.getBBox();if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const _=d.children[0],L=(0,S.Ys)(d);T=_.getBoundingClientRect(),L.attr("width",T.width),L.attr("height",T.height)}r.classData.annotations[0]&&(p+=T.height+4,o+=T.width);let g=r.classData.label;void 0!==r.classData.type&&""!==r.classData.type&&((0,f.c)().flowchart.htmlLabels?g+="<"+r.classData.type+">":g+="<"+r.classData.type+">");const B=y.node().appendChild(C(g,r.labelStyle,!0,!0));(0,S.Ys)(B).attr("class","classTitle");let E=B.getBBox();if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const _=B.children[0],L=(0,S.Ys)(B);E=_.getBoundingClientRect(),L.attr("width",E.width),L.attr("height",E.height)}p+=E.height+4,E.width>o&&(o=E.width);const D=[];r.classData.members.forEach(_=>{const L=_.getDisplayDetails();let Z=L.displayText;(0,f.c)().flowchart.htmlLabels&&(Z=Z.replace(//g,">"));const O=y.node().appendChild(C(Z,L.cssStyle?L.cssStyle:r.labelStyle,!0,!0));let Y=O.getBBox();if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const F=O.children[0],N=(0,S.Ys)(O);Y=F.getBoundingClientRect(),N.attr("width",Y.width),N.attr("height",Y.height)}Y.width>o&&(o=Y.width),p+=Y.height+4,D.push(O)}),p+=8;const z=[];if(r.classData.methods.forEach(_=>{const L=_.getDisplayDetails();let Z=L.displayText;(0,f.c)().flowchart.htmlLabels&&(Z=Z.replace(//g,">"));const O=y.node().appendChild(C(Z,L.cssStyle?L.cssStyle:r.labelStyle,!0,!0));let Y=O.getBBox();if((0,f.m)((0,f.c)().flowchart.htmlLabels)){const F=O.children[0],N=(0,S.Ys)(O);Y=F.getBoundingClientRect(),N.attr("width",Y.width),N.attr("height",Y.height)}Y.width>o&&(o=Y.width),p+=Y.height+4,z.push(O)}),p+=8,u){let _=(o-T.width)/2;(0,S.Ys)(d).attr("transform","translate( "+(-1*o/2+_)+", "+-1*p/2+")"),x=T.height+4}let G=(o-E.width)/2;return(0,S.Ys)(B).attr("transform","translate( "+(-1*o/2+G)+", "+(-1*p/2+x)+")"),x+=E.height+4,c.attr("class","divider").attr("x1",-o/2-t).attr("x2",o/2+t).attr("y1",-p/2-t+8+x).attr("y2",-p/2-t+8+x),x+=8,D.forEach(_=>{(0,S.Ys)(_).attr("transform","translate( "+-o/2+", "+(-1*p/2+x+4)+")");const L=_?.getBBox();x+=(L?.height??0)+4}),x+=8,h.attr("class","divider").attr("x1",-o/2-t).attr("x2",o/2+t).attr("y1",-p/2-t+8+x).attr("y2",-p/2-t+8+x),x+=8,z.forEach(_=>{(0,S.Ys)(_).attr("transform","translate( "+-o/2+", "+(-1*p/2+x)+")");const L=_?.getBBox();x+=(L?.height??0)+4}),s.attr("style",r.style).attr("class","outer title-state").attr("x",-o/2-t).attr("y",-p/2-t).attr("width",o+r.padding).attr("height",p+r.padding),w(r,s),r.intersect=function(_){return b.rect(r,_)},a}};let H={};const Nt=function(){var e=(0,v.Z)(function*(r,t,n){let l,i;if(t.link){let a;"sandbox"===(0,f.c)().securityLevel?a="_top":t.linkTarget&&(a=t.linkTarget||"_blank"),l=r.insert("svg:a").attr("xlink:href",t.link).attr("target",a),i=yield at[t.shape](l,t,n)}else i=yield at[t.shape](r,t,n),l=i;return t.tooltip&&i.attr("title",t.tooltip),t.class&&i.attr("class","node default "+t.class),l.attr("data-node","true"),l.attr("data-id",t.id),H[t.id]=l,t.haveCallback&&H[t.id].attr("class",H[t.id].attr("class")+" clickable"),l});return function(t,n,l){return e.apply(this,arguments)}}(),At=(e,r)=>{H[r.id]=e},Xt=()=>{H={}},jt=e=>{const r=H[e.id];f.l.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const n=e.diff||0;return r.attr("transform",e.clusterNode?"translate("+(e.x+n-e.width/2)+", "+(e.y-e.height/2-8)+")":"translate("+e.x+", "+e.y+")"),n},et=({flowchart:e})=>{var r,t;const n=(null==(r=e?.subGraphTitleMargin)?void 0:r.top)??0,l=(null==(t=e?.subGraphTitleMargin)?void 0:t.bottom)??0;return{subGraphTitleTopMargin:n,subGraphTitleBottomMargin:l,subGraphTitleTotalMargin:n+l}},I={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function A(e,r){if(void 0===e||void 0===r)return{angle:0,deltaX:0,deltaY:0};e=X(e),r=X(r);const[t,n]=[e.x,e.y],[l,i]=[r.x,r.y],a=l-t,s=i-n;return{angle:Math.atan(s/a),deltaX:a,deltaY:s}}const X=e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,st=e=>({x:function(r,t,n){let l=0;if(0===t&&Object.hasOwn(I,e.arrowTypeStart)){const{angle:i,deltaX:a}=A(n[0],n[1]);l=I[e.arrowTypeStart]*Math.cos(i)*(a>=0?1:-1)}else if(t===n.length-1&&Object.hasOwn(I,e.arrowTypeEnd)){const{angle:i,deltaX:a}=A(n[n.length-1],n[n.length-2]);l=I[e.arrowTypeEnd]*Math.cos(i)*(a>=0?1:-1)}return X(r).x+l},y:function(r,t,n){let l=0;if(0===t&&Object.hasOwn(I,e.arrowTypeStart)){const{angle:i,deltaY:a}=A(n[0],n[1]);l=I[e.arrowTypeStart]*Math.abs(Math.sin(i))*(a>=0?1:-1)}else if(t===n.length-1&&Object.hasOwn(I,e.arrowTypeEnd)){const{angle:i,deltaY:a}=A(n[n.length-1],n[n.length-2]);l=I[e.arrowTypeEnd]*Math.abs(Math.sin(i))*(a>=0?1:-1)}return X(r).y+l}}),it=(e,r,t,n,l)=>{r.arrowTypeStart&&nt(e,"start",r.arrowTypeStart,t,n,l),r.arrowTypeEnd&&nt(e,"end",r.arrowTypeEnd,t,n,l)},Ut={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},nt=(e,r,t,n,l,i)=>{const a=Ut[t];a?e.attr(`marker-${r}`,`url(${n}#${l}_${i}-${a}${"start"===r?"Start":"End"})`):f.l.warn(`Unknown arrow type: ${t}`)};let j={},M={};const zt=()=>{j={},M={}},Gt=(e,r)=>{const t=(0,f.m)((0,f.c)().flowchart.htmlLabels),n="markdown"===r.labelType?(0,Q.a)(e,r.label,{style:r.labelStyle,useHtmlLabels:t,addSvgBackground:!0}):C(r.label,r.labelStyle),l=e.insert("g").attr("class","edgeLabel"),i=l.insert("g").attr("class","label");i.node().appendChild(n);let s,a=n.getBBox();if(t){const c=n.children[0],h=(0,S.Ys)(n);a=c.getBoundingClientRect(),h.attr("width",a.width),h.attr("height",a.height)}if(i.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),j[r.id]=l,r.width=a.width,r.height=a.height,r.startLabelLeft){const c=C(r.startLabelLeft,r.labelStyle),h=e.insert("g").attr("class","edgeTerminals"),o=h.insert("g").attr("class","inner");s=o.node().appendChild(c);const p=c.getBBox();o.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),M[r.id]||(M[r.id]={}),M[r.id].startLeft=h,U(s,r.startLabelLeft)}if(r.startLabelRight){const c=C(r.startLabelRight,r.labelStyle),h=e.insert("g").attr("class","edgeTerminals"),o=h.insert("g").attr("class","inner");s=h.node().appendChild(c),o.node().appendChild(c);const p=c.getBBox();o.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),M[r.id]||(M[r.id]={}),M[r.id].startRight=h,U(s,r.startLabelRight)}if(r.endLabelLeft){const c=C(r.endLabelLeft,r.labelStyle),h=e.insert("g").attr("class","edgeTerminals"),o=h.insert("g").attr("class","inner");s=o.node().appendChild(c);const p=c.getBBox();o.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),h.node().appendChild(c),M[r.id]||(M[r.id]={}),M[r.id].endLeft=h,U(s,r.endLabelLeft)}if(r.endLabelRight){const c=C(r.endLabelRight,r.labelStyle),h=e.insert("g").attr("class","edgeTerminals"),o=h.insert("g").attr("class","inner");s=o.node().appendChild(c);const p=c.getBBox();o.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),h.node().appendChild(c),M[r.id]||(M[r.id]={}),M[r.id].endRight=h,U(s,r.endLabelRight)}return n};function U(e,r){(0,f.c)().flowchart.htmlLabels&&e&&(e.style.width=9*r.length+"px",e.style.height="12px")}const Kt=(e,r)=>{f.l.debug("Moving label abc88 ",e.id,e.label,j[e.id],r);let t=r.updatedPath?r.updatedPath:r.originalPath;const n=(0,f.c)(),{subGraphTitleTotalMargin:l}=et(n);if(e.label){const i=j[e.id];let a=e.x,s=e.y;if(t){const c=f.u.calcLabelPosition(t);f.l.debug("Moving label "+e.label+" from (",a,",",s,") to (",c.x,",",c.y,") abc88"),r.updatedPath&&(a=c.x,s=c.y)}i.attr("transform",`translate(${a}, ${s+l/2})`)}if(e.startLabelLeft){const i=M[e.id].startLeft;let a=e.x,s=e.y;if(t){const c=f.u.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",t);a=c.x,s=c.y}i.attr("transform",`translate(${a}, ${s})`)}if(e.startLabelRight){const i=M[e.id].startRight;let a=e.x,s=e.y;if(t){const c=f.u.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",t);a=c.x,s=c.y}i.attr("transform",`translate(${a}, ${s})`)}if(e.endLabelLeft){const i=M[e.id].endLeft;let a=e.x,s=e.y;if(t){const c=f.u.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",t);a=c.x,s=c.y}i.attr("transform",`translate(${a}, ${s})`)}if(e.endLabelRight){const i=M[e.id].endRight;let a=e.x,s=e.y;if(t){const c=f.u.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",t);a=c.x,s=c.y}i.attr("transform",`translate(${a}, ${s})`)}},lt=(e,r)=>{f.l.debug("abc88 cutPathAtIntersect",e,r);let t=[],n=e[0],l=!1;return e.forEach(i=>{if(((e,r)=>{const n=e.y,l=Math.abs(r.x-e.x),i=Math.abs(r.y-n);return l>=e.width/2||i>=e.height/2})(r,i)||l)n=i,l||t.push(i);else{const a=((e,r,t)=>{f.l.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(r)}\n insidePoint : ${JSON.stringify(t)}\n node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const n=e.x,l=e.y,i=Math.abs(n-t.x),a=e.width/2;let s=t.xMath.abs(n-r.x)*c){let p=t.y{s=s||c.x===a.x&&c.y===a.y}),t.some(c=>c.x===a.x&&c.y===a.y)||t.push(a),l=!0}}),t},Vt=function(e,r,t,n,l,i,a){let s=t.points;f.l.debug("abc88 InsertEdge: edge=",t,"e=",r);let c=!1;const h=i.node(r.v);var o=i.node(r.w);o?.intersect&&h?.intersect&&(s=s.slice(1,t.points.length-1),s.unshift(h.intersect(s[0])),s.push(o.intersect(s[s.length-1]))),t.toCluster&&(f.l.debug("to cluster abc88",n[t.toCluster]),s=lt(t.points,n[t.toCluster].node),c=!0),t.fromCluster&&(f.l.debug("from cluster abc88",n[t.fromCluster]),s=lt(s.reverse(),n[t.fromCluster].node).reverse(),c=!0);const p=s.filter(E=>!Number.isNaN(E.y));let y=S.$0Z;t.curve&&("graph"===l||"flowchart"===l)&&(y=t.curve);const{x,y:u}=st(t),m=(0,S.jvg)().x(x).y(u).curve(y);let d;switch(t.thickness){case"normal":d="edge-thickness-normal";break;case"thick":case"invisible":d="edge-thickness-thick";break;default:d=""}switch(t.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}const T=e.append("path").attr("d",m(p)).attr("id",t.id).attr("class"," "+d+(t.classes?" "+t.classes:"")).attr("style",t.style);let g="";((0,f.c)().flowchart.arrowMarkerAbsolute||(0,f.c)().state.arrowMarkerAbsolute)&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),it(T,t,g,a,l);let B={};return c&&(B.updatedPath=s),B.originalPath=t.points,B}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/3rdpartylicenses.txt b/pkg/apiserver-impl/ui/3rdpartylicenses.txt index 84a18580894..df468a3809b 100644 --- a/pkg/apiserver-impl/ui/3rdpartylicenses.txt +++ b/pkg/apiserver-impl/ui/3rdpartylicenses.txt @@ -141,7 +141,7 @@ SOFTWARE. cytoscape MIT -Copyright (c) 2016-2022, The Cytoscape Consortium. +Copyright (c) 2016-2024, The Cytoscape Consortium. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in @@ -387,6 +387,37 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +d3-sankey +BSD-3-Clause +Copyright 2015, Mike Bostock +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the author nor the names of contributors may be used to + endorse or promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + d3-scale ISC Copyright 2010-2021 Mike Bostock @@ -404,6 +435,38 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +d3-scale-chromatic +ISC +Copyright 2010-2024 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + +Apache-Style Software License for ColorBrewer software and ColorBrewer Color Schemes + +Copyright 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State University + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + + d3-selection ISC Copyright 2010-2021 Mike Bostock @@ -551,10 +614,36 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +decode-named-character-reference +MIT +(The MIT License) + +Copyright (c) 2021 Titus Wormer + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + dompurify (MPL-2.0 OR Apache-2.0) DOMPurify -Copyright 2015 Mario Heiderich +Copyright 2024 Dr.-Ing. Mario Heiderich, Cure53 DOMPurify is free software; you can redistribute it and/or modify it under the terms of either: @@ -564,17 +653,207 @@ b) the Mozilla Public License Version 2.0 ----------------------------------------------------------------------------- -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. ----------------------------------------------------------------------------- Mozilla Public License, version 2.0 @@ -1218,6 +1497,31 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +katex +MIT +The MIT License (MIT) + +Copyright (c) 2013-2020 Khan Academy and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + khroma The MIT License (MIT) @@ -1318,8 +1622,133 @@ licenses; we recommend you read them, as their terms may differ from the terms above. +mdast-util-from-markdown +MIT +(The MIT License) + +Copyright (c) 2020 Titus Wormer + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +mdast-util-to-string +MIT +(The MIT License) + +Copyright (c) 2015 Titus Wormer + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + mermaid MIT +The MIT License (MIT) + +Copyright (c) 2014 - 2022 Knut Sveidqvist + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +micromark +MIT + +micromark-core-commonmark +MIT + +micromark-factory-destination +MIT + +micromark-factory-label +MIT + +micromark-factory-space +MIT + +micromark-factory-title +MIT + +micromark-factory-whitespace +MIT + +micromark-util-character +MIT + +micromark-util-chunked +MIT + +micromark-util-classify-character +MIT + +micromark-util-combine-extensions +MIT + +micromark-util-decode-numeric-character-reference +MIT + +micromark-util-decode-string +MIT + +micromark-util-html-tag-name +MIT + +micromark-util-normalize-identifier +MIT + +micromark-util-resolve-all +MIT + +micromark-util-subtokenize +MIT ngx-segment-analytics MIT @@ -1595,6 +2024,32 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +unist-util-stringify-position +MIT +(The MIT License) + +Copyright (c) 2016 Titus Wormer + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + uuid MIT The MIT License (MIT) diff --git a/pkg/apiserver-impl/ui/400.251b299514a70c5d.js b/pkg/apiserver-impl/ui/400.251b299514a70c5d.js new file mode 100644 index 00000000000..c481a2b44bd --- /dev/null +++ b/pkg/apiserver-impl/ui/400.251b299514a70c5d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[400],{8400:(At,$,l)=>{l.r($),l.d($,{diagram:()=>Dt});var Z=l(5861),_=l(839),J=l(8814),P=l(8586),i=l(9037),Q=l(9547);l(1764),l(6780),l(2735),l(1065),l(317);const y="rect",O="rectWithTitle",D="statediagram",st=`${D}-state`,v="transition",nt=`${v} note-edge`,ct=`${D}-note`,it=`${D}-cluster`,rt=`${D}-cluster-alt`,G="parent",B="note",lt="state",R="----",dt=`${R}${B}`,N=`${R}${G}`,U="fill:none",w="fill: #333",K="text",H="normal";let p={},E=0;function x(e="",c=0,t="",r=R){return`${lt}-${e}${null!==t&&t.length>0?`${r}${t}`:""}-${c}`}const f=(e,c,t,r,n,d)=>{const s=t.id,h=function Et(e){return null==e?"":e.classes?e.classes.join(" "):""}(r[s]);if("root"!==s){let u=y;!0===t.start&&(u="start"),!1===t.start&&(u="end"),t.type!==_.D&&(u=t.type),p[s]||(p[s]={id:s,shape:u,description:i.e.sanitizeText(s,(0,i.c)()),classes:`${h} ${st}`});const o=p[s];t.description&&(Array.isArray(o.description)?(o.shape=O,o.description.push(t.description)):o.description.length>0?(o.shape=O,o.description=o.description===s?[t.description]:[o.description,t.description]):(o.shape=y,o.description=t.description),o.description=i.e.sanitizeTextOrArray(o.description,(0,i.c)())),1===o.description.length&&o.shape===O&&(o.shape=y),!o.type&&t.doc&&(i.l.info("Setting cluster for ",s,M(t)),o.type="group",o.dir=M(t),o.shape=t.type===_.a?"divider":"roundedWithTitle",o.classes=o.classes+" "+it+" "+(d?rt:""));const A={labelStyle:"",shape:o.shape,labelText:o.description,classes:o.classes,style:"",id:s,dir:o.dir,domId:x(s,E),type:o.type,padding:15,centerLabel:!0};if(t.note){const S={labelStyle:"",shape:"note",labelText:t.note.text,classes:ct,style:"",id:s+dt+"-"+E,domId:x(s,E,B),type:o.type,padding:15},C={labelStyle:"",shape:"noteGroup",labelText:t.note.text,classes:o.classes,style:"",id:s+N,domId:x(s,E,G),type:"group",padding:0};E++;const a=s+N;e.setNode(a,C),e.setNode(S.id,S),e.setNode(s,A),e.setParent(s,a),e.setParent(S.id,a);let g=s,T=S.id;"left of"===t.note.position&&(g=S.id,T=s),e.setEdge(g,T,{arrowhead:"none",arrowType:"",style:U,labelStyle:"",classes:nt,arrowheadStyle:w,labelpos:"c",labelType:K,thickness:H})}else e.setNode(s,A)}c&&"root"!==c.id&&(i.l.trace("Setting node ",s," to be child of its parent ",c.id),e.setParent(s,c.id)),t.doc&&(i.l.trace("Adding nodes children "),St(e,t,t.doc,r,n,!d))},St=(e,c,t,r,n,d)=>{i.l.trace("items",t),t.forEach(s=>{switch(s.stmt){case _.b:case _.D:f(e,c,s,r,n,d);break;case _.S:{f(e,c,s.state1,r,n,d),f(e,c,s.state2,r,n,d);const h={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:U,labelStyle:"",label:i.e.sanitizeText(s.description,(0,i.c)()),arrowheadStyle:w,labelpos:"c",labelType:K,thickness:H,classes:v};e.setEdge(s.state1.id,s.state2.id,h,E),E++}}})},M=(e,c=_.c)=>{let t=c;if(e.doc)for(let r=0;r{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,_.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/407.481a9d034fa71ad4.js b/pkg/apiserver-impl/ui/407.481a9d034fa71ad4.js new file mode 100644 index 00000000000..7faf441119c --- /dev/null +++ b/pkg/apiserver-impl/ui/407.481a9d034fa71ad4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[407],{1410:(Ne,J,O)=>{O.d(J,{Z:()=>te});var B=O(4258);const te=function ee(se){return(0,B.Z)(se,4)}},7772:(Ne,J,O)=>{O.r(J),O.d(J,{diagram:()=>qe});var Le,be,B=O(5861),f=O(9037),ee=O(1410),te=O(3987),se=O(3396),W=O(9038),Ie=O(8814),j=O(8586),ie=(O(1764),O(6780),O(2735),function(){var e=function(w,o,s,i){for(s=s||{},i=w.length;i--;s[w[i]]=o);return s},l=[1,7],a=[1,13],c=[1,14],r=[1,15],g=[1,19],u=[1,16],p=[1,17],_=[1,18],x=[8,30],L=[8,21,28,29,30,31,32,40,44,47],E=[1,23],C=[1,24],k=[8,15,16,21,28,29,30,31,32,40,44,47],z=[8,15,16,21,27,28,29,30,31,32,40,44,47],y=[1,49],m={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(o,s,i,d,h,t,b){var n=t.length-1;switch(h){case 4:d.getLogger().debug("Rule: separator (NL) ");break;case 5:d.getLogger().debug("Rule: separator (Space) ");break;case 6:d.getLogger().debug("Rule: separator (EOF) ");break;case 7:d.getLogger().debug("Rule: hierarchy: ",t[n-1]),d.setHierarchy(t[n-1]);break;case 8:d.getLogger().debug("Stop NL ");break;case 9:d.getLogger().debug("Stop EOF ");break;case 10:d.getLogger().debug("Stop NL2 ");break;case 11:d.getLogger().debug("Stop EOF2 ");break;case 12:d.getLogger().debug("Rule: statement: ",t[n]),this.$="number"==typeof t[n].length?t[n]:[t[n]];break;case 13:d.getLogger().debug("Rule: statement #2: ",t[n-1]),this.$=[t[n-1]].concat(t[n]);break;case 14:d.getLogger().debug("Rule: link: ",t[n],o),this.$={edgeTypeStr:t[n],label:""};break;case 15:d.getLogger().debug("Rule: LABEL link: ",t[n-3],t[n-1],t[n]),this.$={edgeTypeStr:t[n],label:t[n-1]};break;case 18:const P=parseInt(t[n]),V=d.generateId();this.$={id:V,type:"space",label:"",width:P,children:[]};break;case 23:d.getLogger().debug("Rule: (nodeStatement link node) ",t[n-2],t[n-1],t[n]," typestr: ",t[n-1].edgeTypeStr);const F=d.edgeStrToEdgeData(t[n-1].edgeTypeStr);this.$=[{id:t[n-2].id,label:t[n-2].label,type:t[n-2].type,directions:t[n-2].directions},{id:t[n-2].id+"-"+t[n].id,start:t[n-2].id,end:t[n].id,label:t[n-1].label,type:"edge",directions:t[n].directions,arrowTypeEnd:F,arrowTypeStart:"arrow_open"},{id:t[n].id,label:t[n].label,type:d.typeStr2Type(t[n].typeStr),directions:t[n].directions}];break;case 24:d.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[n-1],t[n]),this.$={id:t[n-1].id,label:t[n-1].label,type:d.typeStr2Type(t[n-1].typeStr),directions:t[n-1].directions,widthInColumns:parseInt(t[n],10)};break;case 25:d.getLogger().debug("Rule: nodeStatement (node) ",t[n]),this.$={id:t[n].id,label:t[n].label,type:d.typeStr2Type(t[n].typeStr),directions:t[n].directions,widthInColumns:1};break;case 26:d.getLogger().debug("APA123",this?this:"na"),d.getLogger().debug("COLUMNS: ",t[n]),this.$={type:"column-setting",columns:"auto"===t[n]?-1:parseInt(t[n])};break;case 27:d.getLogger().debug("Rule: id-block statement : ",t[n-2],t[n-1]),d.generateId(),this.$={...t[n-2],type:"composite",children:t[n-1]};break;case 28:d.getLogger().debug("Rule: blockStatement : ",t[n-2],t[n-1],t[n]);const R=d.generateId();this.$={id:R,type:"composite",label:"",children:t[n-1]};break;case 29:d.getLogger().debug("Rule: node (NODE_ID separator): ",t[n]),this.$={id:t[n]};break;case 30:d.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[n-1],t[n]),this.$={id:t[n-1],label:t[n].label,typeStr:t[n].typeStr,directions:t[n].directions};break;case 31:d.getLogger().debug("Rule: dirList: ",t[n]),this.$=[t[n]];break;case 32:d.getLogger().debug("Rule: dirList: ",t[n-1],t[n]),this.$=[t[n-1]].concat(t[n]);break;case 33:d.getLogger().debug("Rule: nodeShapeNLabel: ",t[n-2],t[n-1],t[n]),this.$={typeStr:t[n-2]+t[n],label:t[n-1]};break;case 34:d.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[n-3],t[n-2]," #3:",t[n-1],t[n]),this.$={typeStr:t[n-3]+t[n],label:t[n-2],directions:t[n-1]};break;case 35:case 36:this.$={type:"classDef",id:t[n-1].trim(),css:t[n].trim()};break;case 37:this.$={type:"applyClass",id:t[n-1].trim(),styleClass:t[n].trim()};break;case 38:this.$={type:"applyStyles",id:t[n-1].trim(),stylesStr:t[n].trim()}}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:c,31:r,32:g,40:u,44:p,47:_},{8:[1,20]},e(x,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:l,28:a,29:c,31:r,32:g,40:u,44:p,47:_}),e(L,[2,16],{14:22,15:E,16:C}),e(L,[2,17]),e(L,[2,18]),e(L,[2,19]),e(L,[2,20]),e(L,[2,21]),e(L,[2,22]),e(k,[2,25],{27:[1,25]}),e(L,[2,26]),{19:26,26:12,32:g},{11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:c,31:r,32:g,40:u,44:p,47:_},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(z,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(x,[2,13]),{26:35,32:g},{32:[2,14]},{17:[1,36]},e(k,[2,24]),{11:37,13:4,14:22,15:E,16:C,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:c,31:r,32:g,40:u,44:p,47:_},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(z,[2,30]),{18:[1,43]},{18:[1,44]},e(k,[2,23]),{18:[1,45]},{30:[1,46]},e(L,[2,28]),e(L,[2,35]),e(L,[2,36]),e(L,[2,37]),e(L,[2,38]),{37:[1,47]},{34:48,35:y},{15:[1,50]},e(L,[2,27]),e(z,[2,33]),{39:[1,51]},{34:52,35:y,39:[2,31]},{32:[2,15]},e(z,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(o,s){if(!s.recoverable){var i=new Error(o);throw i.hash=s,i}this.trace(o)},parse:function(o){var i=[0],d=[],h=[null],t=[],b=this.table,n="",P=0,V=0,$e=t.slice.call(arguments,1),D=Object.create(this.lexer),Y={yy:{}};for(var pe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pe)&&(Y.yy[pe]=this.yy[pe]);D.setInput(o,Y.yy),Y.yy.lexer=D,Y.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var fe=D.yylloc;t.push(fe);var M,et=D.options&&D.options.ranges;this.parseError="function"==typeof Y.yy.parseError?Y.yy.parseError:Object.getPrototypeOf(this).parseError;for(var T,U,A,xe,q,K,$,Z={};;){if(this.defaultActions[U=i[i.length-1]]?A=this.defaultActions[U]:((null===T||typeof T>"u")&&(M=void 0,"number"!=typeof(M=d.pop()||D.lex()||1)&&(M instanceof Array&&(M=(d=M).pop()),M=this.symbols_[M]||M),T=M),A=b[U]&&b[U][T]),typeof A>"u"||!A.length||!A[0]){var _e;for(q in $=[],b[U])this.terminals_[q]&&q>2&&$.push("'"+this.terminals_[q]+"'");_e=D.showPosition?"Parse error on line "+(P+1)+":\n"+D.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[T]||T)+"'":"Parse error on line "+(P+1)+": Unexpected "+(1==T?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(_e,{text:D.match,token:this.terminals_[T]||T,line:D.yylineno,loc:fe,expected:$})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+T);switch(A[0]){case 1:i.push(T),h.push(D.yytext),t.push(D.yylloc),i.push(A[1]),T=null,V=D.yyleng,n=D.yytext,P=D.yylineno,fe=D.yylloc;break;case 2:if(Z.$=h[h.length-(K=this.productions_[A[1]][1])],Z._$={first_line:t[t.length-(K||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(K||1)].first_column,last_column:t[t.length-1].last_column},et&&(Z._$.range=[t[t.length-(K||1)].range[0],t[t.length-1].range[1]]),typeof(xe=this.performAction.apply(Z,[n,V,P,Y.yy,A[1],h,t].concat($e)))<"u")return xe;K&&(i=i.slice(0,-1*K*2),h=h.slice(0,-1*K),t=t.slice(0,-1*K)),i.push(this.productions_[A[1]][0]),h.push(Z.$),t.push(Z._$),i.push(b[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function N(){this.yy={}}return m.lexer={EOF:1,parseError:function(s,i){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,i)},setInput:function(o,s){return this.yy=s||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},input: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},unput:function(o){var s=o.length,i=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=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),i.length-1&&(this.yylineno-=i.length-1);var h=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:i?(i.length===d.length?this.yylloc.first_column:0)+d[d.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+"\n"+s+"^"},test_match:function(o,s){var i,d,h;if(this.options.backtrack_lexer&&(h={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&&(h.yylloc.range=this.yylloc.range.slice(0))),(d=o[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.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],i=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var t in h)this[t]=h[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var o,s,i,d;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),t=0;ts[0].length)){if(s=i,d=t,this.options.backtrack_lexer){if(!1!==(o=this.test_match(i,h[t])))return o;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(o=this.test_match(s,h[d]))&&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})},lex:function(){return this.next()||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return(s=this.conditionStack.length-1-Math.abs(s||0))>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(s,i,d,h){switch(d){case 0:return 10;case 1:return s.getLogger().debug("Found space-block"),31;case 2:return s.getLogger().debug("Found nl-block"),31;case 3:return s.getLogger().debug("Found space-block"),29;case 4:s.getLogger().debug(".",i.yytext);break;case 5:s.getLogger().debug("_",i.yytext);break;case 6:return 5;case 7:return i.yytext=-1,28;case 8:return i.yytext=i.yytext.replace(/columns\s+/,""),s.getLogger().debug("COLUMNS (LEX)",i.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:s.getLogger().debug("LEX: POPPING STR:",i.yytext),this.popState();break;case 14:return s.getLogger().debug("LEX: STR end:",i.yytext),"STR";case 15:return i.yytext=i.yytext.replace(/space\:/,""),s.getLogger().debug("SPACE NUM (LEX)",i.yytext),21;case 16:return i.yytext="1",s.getLogger().debug("COLUMNS (LEX)",i.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),s.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),s.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),s.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),s.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),s.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),s.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),s.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),s.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),s.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),s.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),s.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),s.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return s.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return s.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return s.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return s.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return s.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return s.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return s.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return s.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),s.getLogger().debug("LEX ARR START"),38;case 75:return s.getLogger().debug("Lex: NODE_ID",i.yytext),32;case 76:return s.getLogger().debug("Lex: EOF",i.yytext),8;case 79:return"NODE_DESCR";case 81:s.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:s.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return s.getLogger().debug("LEX: NODE_DESCR:",i.yytext),"NODE_DESCR";case 84:s.getLogger().debug("LEX POPPING"),this.popState();break;case 85:s.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (right): dir:",i.yytext),"DIR";case 87:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (left):",i.yytext),"DIR";case 88:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (x):",i.yytext),"DIR";case 89:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (y):",i.yytext),"DIR";case 90:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (up):",i.yytext),"DIR";case 91:return i.yytext=i.yytext.replace(/^,\s*/,""),s.getLogger().debug("Lex (down):",i.yytext),"DIR";case 92:return i.yytext="]>",s.getLogger().debug("Lex (ARROW_DIR end):",i.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return s.getLogger().debug("Lex: LINK","#"+i.yytext+"#"),15;case 94:case 95:case 96:return s.getLogger().debug("Lex: LINK",i.yytext),15;case 97:case 98:case 99:return s.getLogger().debug("Lex: START_LINK",i.yytext),this.pushState("LLABEL"),16;case 101:return s.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),s.getLogger().debug("Lex: LINK","#"+i.yytext+"#"),15;case 103:case 104:return this.popState(),s.getLogger().debug("Lex: LINK",i.yytext),15;case 105:return s.getLogger().debug("Lex: COLON",i.yytext),i.yytext=i.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}},N.prototype=m,m.Parser=N,new N}());ie.parser=ie;const Te=ie;let I={},ne=[],X={};const ze=(0,f.c)();let G={};const Ae=e=>f.e.sanitizeText(e,ze),Re=function(e,l=""){void 0===G[e]&&(G[e]={id:e,styles:[],textStyles:[]});const a=G[e];l?.split(",").forEach(c=>{const r=c.replace(/([^;]*);/,"$1").trim();if(c.match("color")){const u=r.replace("fill","bgFill").replace("color","fill");a.textStyles.push(u)}a.styles.push(r)})},Be=function(e,l=""){null!=l&&(I[e].styles=l.split(","))},Pe=function(e,l){e.split(",").forEach(function(a){let c=I[a];if(void 0===c){const r=a.trim();I[r]={id:r,type:"na",children:[]},c=I[r]}c.classes||(c.classes=[]),c.classes.push(l)})},ye=(e,l)=>{const a=e.flat(),c=[];for(const r of a)if(r.label&&(r.label=Ae(r.label)),"classDef"!==r.type)if("applyClass"!==r.type)if("applyStyles"!==r.type)if("column-setting"===r.type)l.columns=r.columns||-1;else if("edge"===r.type)X[r.id]?X[r.id]++:X[r.id]=1,r.id=X[r.id]+"-"+r.id,ne.push(r);else{r.label||(r.label="composite"===r.type?"":r.id);const g=!I[r.id];if(g?I[r.id]=r:("na"!==r.type&&(I[r.id].type=r.type),r.label!==r.id&&(I[r.id].label=r.label)),r.children&&ye(r.children,r),"space"===r.type){const u=r.width||1;for(let p=0;p(0,f.F)().block,typeStr2Type:function Me(e){switch(f.l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return f.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}},edgeTypeStr2Type:function Fe(e){return"=="===(f.l.debug("typeStr2Type",e),e)?"thick":"normal"},edgeStrToEdgeData:function We(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}},getLogger:()=>console,getBlocksFlat:()=>[...Object.values(I)],getBlocks:()=>re||[],getEdges:()=>ne,setHierarchy:e=>{H.children=e,ye(e,H),re=H.children},getBlock:e=>I[e],setBlock:e=>{I[e.id]=e},getColumns:e=>{const l=I[e];return l?l.columns?l.columns:l.children?l.children.length:-1:-1},getClasses:function(){return G},clear:()=>{f.l.debug("Clear called"),(0,f.v)(),H={id:"root",type:"composite",children:[],columns:-1},I={root:H},re=[],G={},ne=[],X={}},generateId:()=>(De++,"id-"+Math.random().toString(36).substr(2,12)+"-"+De)},Q=(e,l)=>{const a=te.Z,c=a(e,"r"),r=a(e,"g"),g=a(e,"b");return se.Z(c,r,g,l)};function ve(e,l,a=!1){var c,r,g;const u=e;let p="default";((null==(c=u?.classes)?void 0:c.length)||0)>0&&(p=(u?.classes||[]).join(" ")),p+=" flowchart-label";let L,_=0,x="";switch(u.type){case"round":_=5,x="rect";break;case"composite":_=0,x="composite",L=0;break;case"square":case"group":default:x="rect";break;case"diamond":x="question";break;case"hexagon":x="hexagon";break;case"block_arrow":x="block_arrow";break;case"odd":case"rect_left_inv_arrow":x="rect_left_inv_arrow";break;case"lean_right":x="lean_right";break;case"lean_left":x="lean_left";break;case"trapezoid":x="trapezoid";break;case"inv_trapezoid":x="inv_trapezoid";break;case"circle":x="circle";break;case"ellipse":x="ellipse";break;case"stadium":x="stadium";break;case"subroutine":x="subroutine";break;case"cylinder":x="cylinder";break;case"doublecircle":x="doublecircle"}const E=(0,f.k)(u?.styles||[]),k=u.size||{width:0,height:0,x:0,y:0};return{labelStyle:E.labelStyle,shape:x,labelText:u.label,rx:_,ry:_,class:p,style:E.style,id:u.id,directions:u.directions,width:k.width,height:k.height,x:k.x,y:k.y,positioned:a,intersect:void 0,type:u.type,padding:L??((null==(g=null==(r=(0,f.F)())?void 0:r.block)?void 0:g.padding)||0)}}function je(e,l,a){return le.apply(this,arguments)}function le(){return(le=(0,B.Z)(function*(e,l,a){const c=ve(l,0,!1);if("group"===c.type)return;const r=yield(0,W.e)(e,c),g=r.node().getBBox(),u=a.getBlock(c.id);u.size={width:g.width,height:g.height,x:0,y:0,node:r},a.setBlock(u),r.remove()})).apply(this,arguments)}function Ve(e,l,a){return ae.apply(this,arguments)}function ae(){return(ae=(0,B.Z)(function*(e,l,a){const c=ve(l,0,!0);"space"!==a.getBlock(c.id).type&&(yield(0,W.e)(e,c),l.intersect=c?.intersect,(0,W.p)(c))})).apply(this,arguments)}function oe(e,l,a,c){return ce.apply(this,arguments)}function ce(){return(ce=(0,B.Z)(function*(e,l,a,c){for(const r of l)yield c(e,r,a),r.children&&(yield oe(e,r.children,a,c))})).apply(this,arguments)}function ue(){return(ue=(0,B.Z)(function*(e,l,a){yield oe(e,l,a,je)})).apply(this,arguments)}function de(){return(de=(0,B.Z)(function*(e,l,a){yield oe(e,l,a,Ve)})).apply(this,arguments)}function he(){return(he=(0,B.Z)(function*(e,l,a,c,r){const g=new Ie.k({multigraph:!0,compound:!0});g.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const u of a)u.size&&g.setNode(u.id,{width:u.size.width,height:u.size.height,intersect:u.intersect});for(const u of l)if(u.start&&u.end){const p=c.getBlock(u.start),_=c.getBlock(u.end);if(p?.size&&_?.size){const x=p.size,L=_.size,E=[{x:x.x,y:x.y},{x:x.x+(L.x-x.x)/2,y:x.y+(L.y-x.y)/2},{x:L.x,y:L.y}];yield(0,W.h)(e,{v:u.start,w:u.end,name:u.id},{...u,arrowTypeEnd:u.arrowTypeEnd,arrowTypeStart:u.arrowTypeStart,points:E,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",g,r),u.label&&(yield(0,W.f)(e,{...u,label:u.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:u.arrowTypeEnd,arrowTypeStart:u.arrowTypeStart,points:E,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),yield(0,W.j)({...u,x:E[1].x,y:E[1].y},{originalPath:E}))}}})).apply(this,arguments)}const S=(null==(be=null==(Le=(0,f.c)())?void 0:Le.block)?void 0:be.padding)||8;function He(e,l){if(0===e||!Number.isInteger(e))throw new Error("Columns must be an integer !== 0.");if(l<0||!Number.isInteger(l))throw new Error("Position must be a non-negative integer."+l);return e<0?{px:l,py:0}:1===e?{px:0,py:l}:{px:l%e,py:Math.floor(l/e)}}const Je=e=>{let l=0,a=0;for(const c of e.children){const{width:r,height:g,x:u,y:p}=c.size||{width:0,height:0,x:0,y:0};f.l.debug("getMaxChildSize abc95 child:",c.id,"width:",r,"height:",g,"x:",u,"y:",p,c.type),"space"!==c.type&&(r>l&&(l=r/(e.widthInColumns||1)),g>a&&(a=g))}return{width:l,height:a}};function ge(e,l,a=0,c=0){var r,g,u,p,_,x,L,E,C,k,z;f.l.debug("setBlockSizes abc95 (start)",e.id,null==(r=e?.size)?void 0:r.x,"block width =",e?.size,"sieblingWidth",a),null!=(g=e?.size)&&g.width||(e.size={width:a,height:c,x:0,y:0});let y=0,m=0;if((null==(u=e.children)?void 0:u.length)>0){for(const h of e.children)ge(h,l);const v=Je(e);y=v.width,m=v.height,f.l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",y,m);for(const h of e.children)h.size&&(f.l.debug(`abc95 Setting size of children of ${e.id} id=${h.id} ${y} ${m} ${h.size}`),h.size.width=y*(h.widthInColumns||1)+S*((h.widthInColumns||1)-1),h.size.height=m,h.size.x=0,h.size.y=0,f.l.debug(`abc95 updating size of ${e.id} children child:${h.id} maxWidth:${y} maxHeight:${m}`));for(const h of e.children)ge(h,l,y,m);const N=e.columns||-1;let w=0;for(const h of e.children)w+=h.widthInColumns||1;let o=e.children.length;N>0&&N0?Math.min(e.children.length,N):e.children.length;if(h>0){const t=(i-h*S-S)/h;f.l.debug("abc95 (growing to fit) width",e.id,i,null==(L=e.size)?void 0:L.width,t);for(const b of e.children)b.size&&(b.size.width=t)}}e.size={width:i,height:d,x:0,y:0}}f.l.debug("setBlockSizes abc94 (done)",e.id,null==(E=e?.size)?void 0:E.x,null==(C=e?.size)?void 0:C.width,null==(k=e?.size)?void 0:k.y,null==(z=e?.size)?void 0:z.height)}function we(e,l){var a,c,r,g,u,p,_,x,L,E,C,k,z,y,m,v,N;f.l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${null==(a=e?.size)?void 0:a.x} y: ${null==(c=e?.size)?void 0:c.y} width: ${null==(r=e?.size)?void 0:r.width}`);const w=e.columns||-1;if(f.l.debug("layoutBlocks columns abc95",e.id,"=>",w,e),e.children&&e.children.length>0){const o=(null==(u=null==(g=e?.children[0])?void 0:g.size)?void 0:u.width)||0;f.l.debug("widthOfChildren 88",e.children.length*o+(e.children.length-1)*S,"posX");let i=0;f.l.debug("abc91 block?.size?.x",e.id,null==(p=e?.size)?void 0:p.x);let d=null!=(_=e?.size)&&_.x?(null==(x=e?.size)?void 0:x.x)+(-(null==(L=e?.size)?void 0:L.width)/2||0):-S,h=0;for(const t of e.children){const b=e;if(!t.size)continue;const{width:n,height:P}=t.size,{px:V,py:F}=He(w,i);if(F!=h&&(h=F,d=null!=(E=e?.size)&&E.x?(null==(C=e?.size)?void 0:C.x)+(-(null==(k=e?.size)?void 0:k.width)/2||0):-S,f.l.debug("New row in layout for block",e.id," and child ",t.id,h)),f.l.debug(`abc89 layout blocks (child) id: ${t.id} Pos: ${i} (px, py) ${V},${F} (${null==(z=b?.size)?void 0:z.x},${null==(y=b?.size)?void 0:y.y}) parent: ${b.id} width: ${n}${S}`),b.size){const R=n/2;t.size.x=d+S+R,f.l.debug(`abc91 layout blocks (calc) px, pyid:${t.id} startingPos=X${d} new startingPosX${t.size.x} ${R} padding=${S} width=${n} halfWidth=${R} => x:${t.size.x} y:${t.size.y} ${t.widthInColumns} (width * (child?.w || 1)) / 2 ${n*(t?.widthInColumns||1)/2}`),d=t.size.x+R,t.size.y=b.size.y-b.size.height/2+F*(P+S)+P/2+S,f.l.debug(`abc88 layout blocks (calc) px, pyid:${t.id}startingPosX${d}${S}${R}=>x:${t.size.x}y:${t.size.y}${t.widthInColumns}(width * (child?.w || 1)) / 2${n*(t?.widthInColumns||1)/2}`)}t.children&&we(t),i+=t?.widthInColumns||1,f.l.debug("abc88 columnsPos",t,i)}}f.l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${null==(m=e?.size)?void 0:m.x} y: ${null==(v=e?.size)?void 0:v.y} width: ${null==(N=e?.size)?void 0:N.width}`)}function Oe(e,{minX:l,minY:a,maxX:c,maxY:r}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&"root"!==e.id){const{x:g,y:u,width:p,height:_}=e.size;g-p/2c&&(c=g+p/2),u+_/2>r&&(r=u+_/2)}if(e.children)for(const g of e.children)({minX:l,minY:a,maxX:c,maxY:r}=Oe(g,{minX:l,minY:a,maxX:c,maxY:r}));return{minX:l,minY:a,maxX:c,maxY:r}}function Qe(e){const l=e.getBlock("root");if(!l)return;ge(l,e,0,0),we(l),f.l.debug("getBlocks",JSON.stringify(l,null,2));const{minX:a,minY:c,maxX:r,maxY:g}=Oe(l);return{x:a,y:c,width:r-a,height:g-c}}const qe={parser:Te,db:Ye,renderer:{draw:function(){var e=(0,B.Z)(function*(l,a,c,r){const{securityLevel:g,block:u}=(0,f.F)(),p=r.db;let _;"sandbox"===g&&(_=(0,j.Ys)("#i"+a));const x=(0,j.Ys)("sandbox"===g?_.nodes()[0].contentDocument.body:"body"),L="sandbox"===g?x.select(`[id="${a}"]`):(0,j.Ys)(`[id="${a}"]`);(0,W.a)(L,["point","circle","cross"],r.type,a);const C=p.getBlocks(),k=p.getBlocksFlat(),z=p.getEdges(),y=L.insert("g").attr("class","block");yield function Ze(e,l,a){return ue.apply(this,arguments)}(y,C,p);const m=Qe(p);if(yield function Xe(e,l,a){return de.apply(this,arguments)}(y,C,p),yield function Ge(e,l,a,c,r){return he.apply(this,arguments)}(y,z,k,p,a),m){const v=m,N=Math.max(1,Math.round(v.width/v.height*.125)),w=v.height+N+10,o=v.width+10,{useMaxWidth:s}=u;(0,f.i)(L,w,o,!!s),f.l.debug("Here Bounds",m,v),L.attr("viewBox",`${v.x-5} ${v.y-5} ${v.width+10} ${v.height+10}`)}(0,j.PKp)(j.K2I)});return function(a,c,r,g){return e.apply(this,arguments)}}(),getClasses:function(e,l){return l.db.getClasses()}},styles:e=>`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${Q(e.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${Q(e.mainBkg,.5)};\n fill: ${Q(e.clusterBkg,.5)};\n stroke: ${Q(e.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/44.94245195e1d0b050.js b/pkg/apiserver-impl/ui/44.94245195e1d0b050.js new file mode 100644 index 00000000000..4c665ec9168 --- /dev/null +++ b/pkg/apiserver-impl/ui/44.94245195e1d0b050.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[44],{8044:(tt,ue,Y)=>{Y.r(ue),Y.d(ue,{diagram:()=>Qe});var p=Y(9037),we=Y(8586),ne=(Y(1764),Y(6780),Y(2735),function(){var r=function(I,o,u,k){for(u=u||{},k=I.length;k--;u[I[k]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],b=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],_=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],v=[1,42],E=[1,41],g=[7,13,29,32,35,38,47],f=[1,55],x=[1,56],d=[1,57],T=[7,13,32,35,42,47],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,k,s,w,e,ee){var t=e.length-1;switch(w){case 2:return e[t];case 3:return e[t-1];case 4:return s.setDirection(e[t-3]),e[t-1];case 6:s.setOptions(e[t-1]),this.$=e[t];break;case 7:e[t-1]+=e[t],this.$=e[t-1];break;case 9:this.$=[];break;case 10:e[t-1].push(e[t]),this.$=e[t-1];break;case 11:this.$=e[t-1];break;case 16:this.$=e[t].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=e[t].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 21:s.checkout(e[t]);break;case 22:s.branch(e[t]);break;case 23:s.branch(e[t-2],e[t]);break;case 24:s.cherryPick(e[t],"",void 0);break;case 25:s.cherryPick(e[t-2],"",void 0,e[t]);break;case 26:s.cherryPick(e[t-2],"",e[t]);break;case 27:s.cherryPick(e[t-4],"",e[t],e[t-2]);break;case 28:s.cherryPick(e[t-4],"",e[t-2],e[t]);break;case 29:s.cherryPick(e[t],"",e[t-2]);break;case 30:s.cherryPick(e[t],"","");break;case 31:s.cherryPick(e[t-2],"","");break;case 32:s.cherryPick(e[t-4],"","",e[t-2]);break;case 33:s.cherryPick(e[t-4],"","",e[t]);break;case 34:s.cherryPick(e[t-2],"",e[t-4],e[t]);break;case 35:s.cherryPick(e[t-2],"","",e[t]);break;case 36:s.merge(e[t],"","","");break;case 37:s.merge(e[t-2],e[t],"","");break;case 38:s.merge(e[t-2],"",e[t],"");break;case 39:s.merge(e[t-2],"","",e[t]);break;case 40:s.merge(e[t-4],e[t],"",e[t-2]);break;case 41:s.merge(e[t-4],"",e[t],e[t-2]);break;case 42:s.merge(e[t-4],"",e[t-2],e[t]);break;case 43:s.merge(e[t-4],e[t-2],e[t],"");break;case 44:s.merge(e[t-4],e[t-2],"",e[t]);break;case 45:s.merge(e[t-4],e[t],e[t-2],"");break;case 46:s.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 47:s.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 48:s.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 49:s.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 50:s.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 51:s.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 52:s.commit(e[t]);break;case 53:s.commit("","",s.commitType.NORMAL,e[t]);break;case 54:s.commit("","",e[t],"");break;case 55:s.commit("","",e[t],e[t-2]);break;case 56:s.commit("","",e[t-2],e[t]);break;case 57:s.commit("",e[t],s.commitType.NORMAL,"");break;case 58:s.commit("",e[t-2],s.commitType.NORMAL,e[t]);break;case 59:s.commit("",e[t],s.commitType.NORMAL,e[t-2]);break;case 60:s.commit("",e[t-2],e[t],"");break;case 61:s.commit("",e[t],e[t-2],"");break;case 62:s.commit("",e[t-4],e[t-2],e[t]);break;case 63:s.commit("",e[t-4],e[t],e[t-2]);break;case 64:s.commit("",e[t-2],e[t-4],e[t]);break;case 65:s.commit("",e[t],e[t-4],e[t-2]);break;case 66:s.commit("",e[t],e[t-2],e[t-4]);break;case 67:s.commit("",e[t-2],e[t],e[t-4]);break;case 68:s.commit(e[t],"",s.commitType.NORMAL,"");break;case 69:s.commit(e[t],"",s.commitType.NORMAL,e[t-2]);break;case 70:s.commit(e[t-2],"",s.commitType.NORMAL,e[t]);break;case 71:s.commit(e[t-2],"",e[t],"");break;case 72:s.commit(e[t],"",e[t-2],"");break;case 73:s.commit(e[t],e[t-2],s.commitType.NORMAL,"");break;case 74:s.commit(e[t-2],e[t],s.commitType.NORMAL,"");break;case 75:s.commit(e[t-4],"",e[t-2],e[t]);break;case 76:s.commit(e[t-4],"",e[t],e[t-2]);break;case 77:s.commit(e[t-2],"",e[t-4],e[t]);break;case 78:s.commit(e[t],"",e[t-4],e[t-2]);break;case 79:s.commit(e[t],"",e[t-2],e[t-4]);break;case 80:s.commit(e[t-2],"",e[t],e[t-4]);break;case 81:s.commit(e[t-4],e[t],e[t-2],"");break;case 82:s.commit(e[t-4],e[t-2],e[t],"");break;case 83:s.commit(e[t-2],e[t],e[t-4],"");break;case 84:s.commit(e[t],e[t-2],e[t-4],"");break;case 85:s.commit(e[t],e[t-4],e[t-2],"");break;case 86:s.commit(e[t-2],e[t-4],e[t],"");break;case 87:s.commit(e[t-4],e[t],s.commitType.NORMAL,e[t-2]);break;case 88:s.commit(e[t-4],e[t-2],s.commitType.NORMAL,e[t]);break;case 89:s.commit(e[t-2],e[t],s.commitType.NORMAL,e[t-4]);break;case 90:s.commit(e[t],e[t-2],s.commitType.NORMAL,e[t-4]);break;case 91:s.commit(e[t],e[t-4],s.commitType.NORMAL,e[t-2]);break;case 92:s.commit(e[t-2],e[t-4],s.commitType.NORMAL,e[t]);break;case 93:s.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 94:s.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 95:s.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 96:s.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 97:s.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 98:s.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 99:s.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 100:s.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 101:s.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 102:s.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 103:s.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 104:s.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 105:s.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 106:s.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 107:s.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 108:s.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 109:s.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 110:s.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 111:s.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 112:s.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 113:s.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 114:s.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 115:s.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 116:s.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 117:this.$="";break;case 118:this.$=e[t];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:b},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:b},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(_,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:b},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(_,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:l,13:h,47:i},r(y,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:v,46:E},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:v,46:E},{32:[1,50],35:[1,51]},{27:52,33:v,46:E},{1:[2,4]},r(y,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(g,[2,122]),r(g,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:x,45:d},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(T,[2,119]),r(T,[2,120]),r(T,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:x,45:d},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:x,45:d},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:x,45:d},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:x,45:d},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:x,45:d},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:x,45:d},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:x,45:d},{33:[1,148]},{39:149,43:f,44:x,45:d},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:x,45:d},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:x,45:d},{33:[1,162]},{39:163,43:f,44:x,45:d},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:x,45:d},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:x,45:d},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:x,45:d},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:x,45:d},{33:[1,215]},{39:216,43:f,44:x,45:d},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:x,45:d},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:x,45:d},{33:[1,229]},{39:230,43:f,44:x,45:d},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:x,45:d},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(!u.recoverable){var k=new Error(o);throw k.hash=u,k}this.trace(o)},parse:function(o){var k=[0],s=[],w=[null],e=[],ee=this.table,t="",ie=0,_e=0,Ze=e.slice.call(arguments,1),A=Object.create(this.lexer),U={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(U.yy[oe]=this.yy[oe]);A.setInput(o,U.yy),U.yy.lexer=A,U.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var le=A.yylloc;e.push(le);var j,$e=A.options&&A.options.ranges;this.parseError="function"==typeof U.yy.parseError?U.yy.parseError:Object.getPrototypeOf(this).parseError;for(var H,q,B,he,se,z,ae,J={};;){if(this.defaultActions[q=k[k.length-1]]?B=this.defaultActions[q]:((null===H||typeof H>"u")&&(j=void 0,"number"!=typeof(j=s.pop()||A.lex()||1)&&(j instanceof Array&&(j=(s=j).pop()),j=this.symbols_[j]||j),H=j),B=ee[q]&&ee[q][H]),typeof B>"u"||!B.length||!B[0]){var me;for(se in ae=[],ee[q])this.terminals_[se]&&se>2&&ae.push("'"+this.terminals_[se]+"'");me=A.showPosition?"Parse error on line "+(ie+1)+":\n"+A.showPosition()+"\nExpecting "+ae.join(", ")+", got '"+(this.terminals_[H]||H)+"'":"Parse error on line "+(ie+1)+": Unexpected "+(1==H?"end of input":"'"+(this.terminals_[H]||H)+"'"),this.parseError(me,{text:A.match,token:this.terminals_[H]||H,line:A.yylineno,loc:le,expected:ae})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+H);switch(B[0]){case 1:k.push(H),w.push(A.yytext),e.push(A.yylloc),k.push(B[1]),H=null,_e=A.yyleng,t=A.yytext,ie=A.yylineno,le=A.yylloc;break;case 2:if(J.$=w[w.length-(z=this.productions_[B[1]][1])],J._$={first_line:e[e.length-(z||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(z||1)].first_column,last_column:e[e.length-1].last_column},$e&&(J._$.range=[e[e.length-(z||1)].range[0],e[e.length-1].range[1]]),typeof(he=this.performAction.apply(J,[t,_e,ie,U.yy,B[1],w,e].concat(Ze)))<"u")return he;z&&(k=k.slice(0,-1*z*2),w=w.slice(0,-1*z),e=e.slice(0,-1*z)),k.push(this.productions_[B[1]][0]),w.push(J.$),e.push(J._$),k.push(ee[k[k.length-2]][k[k.length-1]]);break;case 3:return!0}}return!0}};function S(){this.yy={}}return D.lexer={EOF:1,parseError:function(u,k){if(!this.yy.parser)throw new Error(u);this.yy.parser.parseError(u,k)},setInput: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},input: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},unput:function(o){var u=o.length,k=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 s=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),k.length-1&&(this.yylineno-=k.length-1);var w=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:k?(k.length===s.length?this.yylloc.first_column:0)+s[s.length-k.length].length-k[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+"\n"+u+"^"},test_match:function(o,u){var k,s,w;if(this.options.backtrack_lexer&&(w={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&&(w.yylloc.range=this.yylloc.range.slice(0))),(s=o[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],k=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k)return k;if(this._backtrack){for(var e in w)this[e]=w[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var o,u,k,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),e=0;eu[0].length)){if(u=k,s=e,this.options.backtrack_lexer){if(!1!==(o=this.test_match(k,w[e])))return o;if(this._backtrack){u=!1;continue}return!1}if(!this.options.flex)break}return u?!1!==(o=this.test_match(u,w[s]))&&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})},lex:function(){return this.next()||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return(u=this.conditionStack.length-1-Math.abs(u||0))>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,k,s,w){switch(s){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 30:case 34:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}},S.prototype=D,D.Parser=S,new S}());ne.parser=ne;const Me=ne;let te=(0,p.c)().gitGraph.mainBranchName,Re=(0,p.c)().gitGraph.mainBranchOrder,L={},G=null,Q={};Q[te]={name:te,order:Re};let M={};M[te]=G;let O=te,fe="LR",K=0;function ce(){return(0,p.y)({length:7})}let pe={};const be=function(r){if(r=p.e.sanitizeText(r,(0,p.c)()),void 0===M[r]){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}O=r,G=L[M[O]]};function ge(r,n,l){const h=r.indexOf(n);-1===h?r.push(l):r.splice(h,1,l)}function de(r){const n=r.reduce((i,c)=>i.seq>c.seq?i:c,r[0]);let l="";r.forEach(function(i){l+=i===n?"\t*":"\t|"});const h=[l,n.id,n.seq];for(let i in M)M[i]===n.id&&h.push(i);if(p.l.debug(h.join(" ")),n.parents&&2==n.parents.length)ge(r,n,L[n.parents[0]]),r.push(L[n.parents[1]]);else{if(0==n.parents.length)return;ge(r,n,L[n.parents])}r=function Le(r,n){const l=Object.create(null);return r.reduce((h,i)=>{const c=n(i);return l[c]||(l[c]=!0,h.push(i)),h},[])}(r,i=>i.id),de(r)}const ke=function(){const r=Object.keys(L).map(function(n){return L[n]});return r.forEach(function(n){p.l.debug(n.id)}),r.sort((n,l)=>n.seq-l.seq),r},W={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4};let X={};let N={},V={},re=[],Z=0,R="LR";const xe=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let l=[];l="string"==typeof r?r.split(/\\n|\n|/gi):Array.isArray(r)?r:[];for(const h of l){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=h.trim(),n.appendChild(i)}return n},ye=(r,n,l)=>{const h=(0,p.c)().gitGraph,i=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let b=0;"TB"===R&&(b=30);const y=Object.keys(n).sort((E,g)=>n[E].seq-n[g].seq),_=h.parallelCommits;y.forEach(E=>{const g=n[E];if(_)if(g.parents.length){const T=(r=>{let n="",l=0;return r.forEach(h=>{const i="TB"===R?V[h].y:V[h].x;i>=l&&(n=h,l=i)}),n||void 0})(g.parents);b="TB"===R?V[T].y+40:V[T].x+40}else b=0,"TB"===R&&(b=30);const f=b+10,x="TB"===R?f:N[g.branch].pos,d="TB"===R?N[g.branch].pos:f;if(l){let T,D=void 0!==g.customType&&""!==g.customType?g.customType:g.type;switch(D){case 0:default:T="commit-normal";break;case 1:T="commit-reverse";break;case 2:T="commit-highlight";break;case 3:T="commit-merge";break;case 4:T="commit-cherry-pick"}if(2===D){const C=i.append("rect");C.attr("x",d-10),C.attr("y",x-10),C.attr("height",20),C.attr("width",20),C.attr("class",`commit ${g.id} commit-highlight${N[g.branch].index%8} ${T}-outer`),i.append("rect").attr("x",d-6).attr("y",x-6).attr("height",12).attr("width",12).attr("class",`commit ${g.id} commit${N[g.branch].index%8} ${T}-inner`)}else if(4===D)i.append("circle").attr("cx",d).attr("cy",x).attr("r",10).attr("class",`commit ${g.id} ${T}`),i.append("circle").attr("cx",d-3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${g.id} ${T}`),i.append("circle").attr("cx",d+3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${g.id} ${T}`),i.append("line").attr("x1",d+3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${g.id} ${T}`),i.append("line").attr("x1",d-3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${g.id} ${T}`);else{const C=i.append("circle");if(C.attr("cx",d),C.attr("cy",x),C.attr("r",3===g.type?9:10),C.attr("class",`commit ${g.id} commit${N[g.branch].index%8}`),3===D){const S=i.append("circle");S.attr("cx",d),S.attr("cy",x),S.attr("r",6),S.attr("class",`commit ${T} ${g.id} commit${N[g.branch].index%8}`)}1===D&&i.append("path").attr("d",`M ${d-5},${x-5}L${d+5},${x+5}M${d-5},${x+5}L${d+5},${x-5}`).attr("class",`commit ${T} ${g.id} commit${N[g.branch].index%8}`)}}if(V[g.id]="TB"===R?{x:d,y:f}:{x:f,y:x},l){if(4!==g.type&&(g.customId&&3===g.type||3!==g.type)&&h.showCommitLabel){const C=c.append("g"),S=C.insert("rect").attr("class","commit-label-bkg"),I=C.append("text").attr("x",b).attr("y",x+25).attr("class","commit-label").text(g.id);let o=I.node().getBBox();S.attr("x",f-o.width/2-2).attr("y",x+13.5).attr("width",o.width+4).attr("height",o.height+4),"TB"===R&&(S.attr("x",d-(o.width+16+5)).attr("y",x-12),I.attr("x",d-(o.width+16)).attr("y",x+o.height-12)),"TB"!==R&&I.attr("x",f-o.width/2),h.rotateCommitLabel&&("TB"===R?(I.attr("transform","rotate(-45, "+d+", "+x+")"),S.attr("transform","rotate(-45, "+d+", "+x+")")):C.attr("transform","translate("+(-7.5-(o.width+10)/25*9.5)+", "+(10+o.width/25*8.5)+") rotate(-45, "+b+", "+x+")"))}if(g.tag){const C=c.insert("polygon"),S=c.append("circle"),I=c.append("text").attr("y",x-16).attr("class","tag-label").text(g.tag);let o=I.node().getBBox();I.attr("x",f-o.width/2);const u=o.height/2,k=x-19.2;C.attr("class","tag-label-bkg").attr("points",`\n ${b-o.width/2-2},${k+2}\n ${b-o.width/2-2},${k-2}\n ${f-o.width/2-4},${k-u-2}\n ${f+o.width/2+4},${k-u-2}\n ${f+o.width/2+4},${k+u+2}\n ${f-o.width/2-4},${k+u+2}`),S.attr("cx",b-o.width/2+2).attr("cy",k).attr("r",1.5).attr("class","tag-hole"),"TB"===R&&(C.attr("class","tag-label-bkg").attr("points",`\n ${d},${b+2}\n ${d},${b-2}\n ${d+10},${b-u-2}\n ${d+10+o.width+4},${b-u-2}\n ${d+10+o.width+4},${b+u+2}\n ${d+10},${b+u+2}`).attr("transform","translate(12,12) rotate(45, "+d+","+b+")"),S.attr("cx",d+2).attr("cy",b).attr("transform","translate(12,12) rotate(45, "+d+","+b+")"),I.attr("x",d+5).attr("y",b+3).attr("transform","translate(14,14) rotate(45, "+d+","+b+")"))}}b+=50,b>Z&&(Z=b)})},$=(r,n,l=0)=>{const h=r+Math.abs(r-n)/2;if(l>5)return h;if(re.every(b=>Math.abs(b-h)>=10))return re.push(h),h;const c=Math.abs(r-n);return $(r,n-c/5,l+1)},We=(r,n)=>{const l=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(h=>{const i=n[h];i.parents&&i.parents.length>0&&i.parents.forEach(c=>{((r,n,l,h)=>{const i=V[n.id],c=V[l.id],b=((r,n,l,h,i)=>{const b=("TB"===R?l.x(_=>_.seq>r.seq&&_.seq_.branch===b)(_))})(n,l,i,c,h);let E,m="",y="",_=0,a=0,v=N[l.branch].index;if(3===l.type&&n.id!==l.parents[0]&&(v=N[n.branch].index),b){m="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",_=10,a=10;const g=i.yc.x&&(m="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",_=20,a=20,E=3===l.type&&n.id!==l.parents[0]?`M ${i.x} ${i.y} L ${i.x} ${c.y-_} ${y} ${i.x-a} ${c.y} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${c.x+_} ${i.y} ${m} ${c.x} ${i.y+a} L ${c.x} ${c.y}`),i.x===c.x&&(E=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):(i.yc.y&&(E=3===l.type&&n.id!==l.parents[0]?`M ${i.x} ${i.y} L ${c.x-_} ${i.y} ${m} ${c.x} ${i.y-a} L ${c.x} ${c.y}`:`M ${i.x} ${i.y} L ${i.x} ${c.y+_} ${y} ${i.x+a} ${c.y} L ${c.x} ${c.y}`),i.y===c.y&&(E=`M ${i.x} ${i.y} L ${c.x} ${c.y}`));r.append("path").attr("d",E).attr("class","arrow arrow"+v%8)})(l,n[c],i,n)})})},Qe={parser:Me,db:{getConfig:()=>(0,p.c)().gitGraph,setDirection:function(r){fe=r},setOptions:function(r){p.l.debug("options str",r),r=(r=r&&r.trim())||"{}";try{pe=JSON.parse(r)}catch(n){p.l.error("error while parsing gitGraph options",n.message)}},getOptions:function(){return pe},commit:function(r,n,l,h){p.l.debug("Entering commit:",r,n,l,h),n=p.e.sanitizeText(n,(0,p.c)()),r=p.e.sanitizeText(r,(0,p.c)()),h=p.e.sanitizeText(h,(0,p.c)());const i={id:n||K+"-"+ce(),message:r,seq:K++,type:l||W.NORMAL,tag:h||"",parents:null==G?[]:[G.id],branch:O};G=i,L[i.id]=i,M[O]=i.id,p.l.debug("in pushCommit "+i.id)},branch:function(r,n){if(r=p.e.sanitizeText(r,(0,p.c)()),void 0!==M[r]){let l=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw l.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},l}M[r]=null!=G?G.id:null,Q[r]={name:r,order:n?parseInt(n,10):null},be(r),p.l.debug("in createBranch")},merge:function(r,n,l,h){r=p.e.sanitizeText(r,(0,p.c)()),n=p.e.sanitizeText(n,(0,p.c)());const i=L[M[O]],c=L[M[r]];if(O===r){let m=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}if(void 0===i||!i){let m=new Error('Incorrect usage of "merge". Current branch ('+O+")has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},m}if(void 0===M[r]){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},m}if(void 0===c||!c){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},m}if(i===c){let m=new Error('Incorrect usage of "merge". Both branches have same head');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}if(n&&void 0!==L[n]){let m=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw m.hash={text:"merge "+r+n+l+h,token:"merge "+r+n+l+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+l+" "+h]},m}const b={id:n||K+"-"+ce(),message:"merged branch "+r+" into "+O,seq:K++,parents:[null==G?null:G.id,M[r]],branch:O,type:W.MERGE,customType:l,customId:!!n,tag:h||""};G=b,L[b.id]=b,M[O]=b.id,p.l.debug(M),p.l.debug("in mergeBranch")},cherryPick:function(r,n,l,h){if(p.l.debug("Entering cherryPick:",r,n,l),r=p.e.sanitizeText(r,(0,p.c)()),n=p.e.sanitizeText(n,(0,p.c)()),l=p.e.sanitizeText(l,(0,p.c)()),h=p.e.sanitizeText(h,(0,p.c)()),!r||void 0===L[r]){let b=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw b.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},b}let i=L[r],c=i.branch;if(h&&(!Array.isArray(i.parents)||!i.parents.includes(h)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(i.type===W.MERGE&&!h)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||void 0===L[n]){if(c===O){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const b=L[M[O]];if(void 0===b||!b){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+O+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const m={id:K+"-"+ce(),message:"cherry-picked "+i+" into "+O,seq:K++,parents:[null==G?null:G.id,i.id],branch:O,type:W.CHERRY_PICK,tag:l??`cherry-pick:${i.id}${i.type===W.MERGE?`|parent:${h}`:""}`};G=m,L[m.id]=m,M[O]=m.id,p.l.debug(M),p.l.debug("in cherryPick")}},checkout:be,prettyPrint:function(){p.l.debug(L),de([ke()[0]])},clear:function(){L={},G=null;let r=(0,p.c)().gitGraph.mainBranchName,n=(0,p.c)().gitGraph.mainBranchOrder;M={},M[r]=null,Q={},Q[r]={name:r,order:n},O=r,K=0,(0,p.v)()},getBranchesAsObjArray:function(){return Object.values(Q).map((n,l)=>null!==n.order?n:{...n,order:parseFloat(`0.${l}`,10)}).sort((n,l)=>n.order-l.order).map(({name:n})=>({name:n}))},getBranches:function(){return M},getCommits:function(){return L},getCommitsArray:ke,getCurrentBranch:function(){return O},getDirection:function(){return fe},getHead:function(){return G},setAccTitle:p.s,getAccTitle:p.g,getAccDescription:p.a,setAccDescription:p.b,setDiagramTitle:p.q,getDiagramTitle:p.t,commitType:W},renderer:{draw:function(r,n,l,h){N={},V={},X={},Z=0,re=[],R="LR";const i=(0,p.c)(),c=i.gitGraph;p.l.debug("in gitgraph renderer",r+"\n","id:",n,l),X=h.db.getCommits();const b=h.db.getBranchesAsObjArray();R=h.db.getDirection();const m=(0,we.Ys)(`[id="${n}"]`);let y=0;b.forEach((_,a)=>{const v=xe(_.name),E=m.append("g"),g=E.insert("g").attr("class","branchLabel"),f=g.insert("g").attr("class","label branch-label");f.node().appendChild(v);let x=v.getBBox();N[_.name]={pos:y,index:a},y+=50+(c.rotateCommitLabel?40:0)+("TB"===R?x.width/2:0),f.remove(),g.remove(),E.remove()}),ye(m,X,!1),c.showBranches&&((r,n)=>{const l=(0,p.c)().gitGraph,h=r.append("g");n.forEach((i,c)=>{const b=c%8,m=N[i.name].pos,y=h.append("line");y.attr("x1",0),y.attr("y1",m),y.attr("x2",Z),y.attr("y2",m),y.attr("class","branch branch"+b),"TB"===R&&(y.attr("y1",30),y.attr("x1",m),y.attr("y2",Z),y.attr("x2",m)),re.push(m);const a=xe(i.name),v=h.insert("rect"),g=h.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+b);g.node().appendChild(a);let f=a.getBBox();v.attr("class","branchLabelBkg label"+b).attr("rx",4).attr("ry",4).attr("x",-f.width-4-(!0===l.rotateCommitLabel?30:0)).attr("y",-f.height/2+8).attr("width",f.width+18).attr("height",f.height+4),g.attr("transform","translate("+(-f.width-14-(!0===l.rotateCommitLabel?30:0))+", "+(m-f.height/2-1)+")"),"TB"===R&&(v.attr("x",m-f.width/2-10).attr("y",0),g.attr("transform","translate("+(m-f.width/2-5)+", 0)")),"TB"!==R&&v.attr("transform","translate(-19, "+(m-f.height/2)+")")})})(m,b),We(m,X),ye(m,X,!0),p.u.insertTitle(m,"gitTitleText",c.titleTopMargin,h.db.getDiagramTitle()),(0,p.z)(void 0,m,c.diagramPadding,c.useMaxWidth??i.useMaxWidth)}},styles:r=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map(n=>`\n .branch-label${n} { fill: ${r["gitBranchLabel"+n]}; }\n .commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; }\n .commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; }\n .label${n} { fill: ${r["git"+n]}; }\n .arrow${n} { stroke: ${r["git"+n]}; }\n `).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${r.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}\n .commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}\n .tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }\n .tag-hole { fill: ${r.textColor}; }\n\n .commit-merge {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n .commit-reverse {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${r.textColor};\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/450.1756491cf50c2969.js b/pkg/apiserver-impl/ui/450.1756491cf50c2969.js deleted file mode 100644 index c71747f406c..00000000000 --- a/pkg/apiserver-impl/ui/450.1756491cf50c2969.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[450],{7942:DI=>{DI.exports=function dh(zc,bh,v1){function j(pc,gi){if(!bh[pc]){if(!zc[pc]){if(fa)return fa(pc,!0);var Yr=new Error("Cannot find module '"+pc+"'");throw Yr.code="MODULE_NOT_FOUND",Yr}var vi=bh[pc]={exports:{}};zc[pc][0].call(vi.exports,function(Eu){return j(zc[pc][1][Eu]||Eu)},vi,vi.exports,dh,zc,bh,v1)}return bh[pc].exports}for(var fa=void 0,xf=0;xf0&&void 0!==arguments[0]?arguments[0]:{},Yr=Tt.defaultLayoutOptions,vi=void 0===Yr?{}:Yr,Eu=Tt.algorithms,qu=void 0===Eu?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Eu,Rh=Tt.workerFactory,js=Tt.workerUrl;if(j(this,pc),this.defaultLayoutOptions=vi,this.initialized=!1,typeof js>"u"&&typeof Rh>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Yn=Rh;typeof js<"u"&&typeof Rh>"u"&&(Yn=function(q9){return new Worker(q9)});var Vv=Yn(js);if("function"!=typeof Vv.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new xf(Vv),this.worker.postMessage({cmd:"register",algorithms:qu}).then(function(z4){return gi.initialized=!0}).catch(console.err)}return v1(pc,[{key:"layout",value:function(Tt){var Yr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vi=Yr.layoutOptions,qu=Yr.logging,js=Yr.measureExecutionTime;return Tt?this.worker.postMessage({cmd:"layout",graph:Tt,layoutOptions:void 0===vi?this.defaultLayoutOptions:vi,options:{logging:void 0!==qu&&qu,measureExecutionTime:void 0!==js&&js}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),pc}();bh.default=fa;var xf=function(){function pc(gi){var Tt=this;if(j(this,pc),void 0===gi)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=gi,this.worker.onmessage=function(Yr){setTimeout(function(){Tt.receive(Tt,Yr)},0)}}return v1(pc,[{key:"postMessage",value:function(Tt){var Yr=this.id||0;this.id=Yr+1,Tt.id=Yr;var vi=this;return new Promise(function(Eu,qu){vi.resolvers[Yr]=function(Rh,js){Rh?(vi.convertGwtStyleError(Rh),qu(Rh)):Eu(js)},vi.worker.postMessage(Tt)})}},{key:"receive",value:function(Tt,Yr){var vi=Yr.data,Eu=Tt.resolvers[vi.id];Eu&&(delete Tt.resolvers[vi.id],vi.error?Eu(vi.error):Eu(null,vi.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Tt){if(Tt){var Yr=Tt.__java$exception;Yr&&(Yr.cause&&Yr.cause.backingJsObject&&(Tt.cause=Yr.cause.backingJsObject,this.convertGwtStyleError(Tt.cause)),delete Tt.__java$exception)}}}]),pc}()},{}],2:[function(dh,zc,bh){(function(v1){(function(){"use strict";var j;function Yr(){}function vi(){}function Eu(){}function qu(){}function Rh(){}function js(){}function Yn(){}function Vv(){}function z4(){}function q9(){}function $I(){}function FI(){}function LI(){}function NI(){}function xI(){}function BI(){}function hj(){}function _I(){}function lj(){}function RI(){}function W4(){}function uq(){}function KI(){}function HI(){}function Se(){}function wt(){}function F(){}function yr(){}function mt(){}function ri(){}function Bf(){}function Kt(){}function ha(){}function Vi(){}function go(){}function Mi(){}function pd(){}function Gu(){}function lt(){}function Es(){}function sf(){}function md(){}function la(){}function fu(){}function kd(){}function Iw(){}function Ko(){}function rl(){}function Qv(){}function _f(){}function Rf(){}function X4(){}function aj(){}function Ho(){}function h2(){}function l2(){}function mln(){}function kln(){}function qI(){}function yln(){}function jln(){}function Eln(){}function Tln(){}function Cln(){}function Mln(){}function Sln(){}function Aln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function Lln(){}function Nln(){}function xln(){}function Bln(){}function _ln(){}function Rln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function Uln(){}function zln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function Zln(){}function sq(){}function nan(){}function ean(){}function tan(){}function ran(){}function GI(){}function UI(){}function dj(){}function ian(){}function can(){}function zI(){}function uan(){}function san(){}function oan(){}function bj(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function van(){}function oq(){}function pan(){}function man(){}function kan(){}function yan(){}function jan(){}function fq(){}function Ean(){}function Tan(){}function Can(){}function Man(){}function San(){}function Aan(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function Lan(){}function Nan(){}function WI(){}function xan(){}function Ban(){}function _an(){}function Ran(){}function Kan(){}function hq(){}function Han(){}function qan(){}function Gan(){}function Uan(){}function zan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function rdn(){}function idn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function vdn(){}function pdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Tdn(){}function Cdn(){}function Mdn(){}function Sdn(){}function Adn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function Ldn(){}function Ndn(){}function xdn(){}function Bdn(){}function _dn(){}function Rdn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function Udn(){}function zdn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function r0n(){}function i0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function v0n(){}function p0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function T0n(){}function C0n(){}function M0n(){}function S0n(){}function A0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function $0n(){}function lq(){}function F0n(){}function L0n(){}function N0n(){}function x0n(){}function B0n(){}function _0n(){}function R0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function U0n(){}function z0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function rbn(){}function ibn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function vbn(){}function pbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Tbn(){}function Cbn(){}function Mbn(){}function Sbn(){}function Abn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function Lbn(){}function Nbn(){}function xbn(){}function Bbn(){}function _bn(){}function Rbn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function Ubn(){}function zbn(){}function aq(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function rwn(){}function iwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dq(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function vwn(){}function pwn(){}function bq(){}function wq(){}function mwn(){}function gq(){}function vq(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Twn(){}function Cwn(){}function Mwn(){}function Swn(){}function Awn(){}function pq(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function Lwn(){}function Nwn(){}function xwn(){}function Bwn(){}function _wn(){}function Rwn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function Uwn(){}function zwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function rgn(){}function ign(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function vgn(){}function pgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Tgn(){}function Cgn(){}function Mgn(){}function Sgn(){}function Agn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function Lgn(){}function Ngn(){}function xgn(){}function Bgn(){}function _gn(){}function Rgn(){}function Kgn(){}function Hgn(){}function XI(){}function VI(){}function QI(){}function qgn(){}function Ggn(){}function Ugn(){}function zgn(){}function Wgn(){}function mq(){}function Xgn(){}function Vgn(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function r2n(){}function aa(){}function i2n(){}function a2(){}function kq(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function v2n(){}function p2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function T2n(){}function C2n(){}function dn(){}function M2n(){}function S2n(){}function A2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function F2n(){}function L2n(){}function JI(){}function N2n(){}function x2n(){}function B2n(){}function _2n(){}function R2n(){}function yq(){}function wj(){}function gj(){}function K2n(){}function jq(){}function vj(){}function H2n(){}function q2n(){}function G2n(){}function U2n(){}function z2n(){}function W2n(){}function pj(){}function X2n(){}function V2n(){}function Q2n(){}function mj(){}function J2n(){}function Eq(){}function Y2n(){}function YI(){}function Tq(){}function Z2n(){}function nvn(){}function evn(){}function tvn(){}function rvn(){}function ivn(){}function cvn(){}function uvn(){}function svn(){}function ovn(){}function fvn(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function Jv(){}function ZI(){}function bvn(){}function wvn(){}function gvn(){}function vvn(){}function pvn(){}function mvn(){}function kvn(){}function yvn(){}function jvn(){}function Evn(){}function Tvn(){}function Cvn(){}function Mvn(){}function Svn(){}function Avn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Dvn(){}function $vn(){}function Fvn(){}function Lvn(){}function Nvn(){}function xvn(){}function Bvn(){}function _vn(){}function Rvn(){}function Kvn(){}function Hvn(){}function qvn(){}function Gvn(){}function Uvn(){}function zvn(){}function Wvn(){}function Xvn(){}function Vvn(){}function Qvn(){}function Jvn(){}function Yvn(){}function Zvn(){}function npn(){}function epn(){}function tpn(){}function rpn(){}function ipn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function vpn(){}function ppn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Tpn(){}function Cpn(){}function Mpn(){}function Spn(){}function Apn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function Lpn(){}function Npn(){}function xpn(){}function Bpn(){}function _pn(){}function Rpn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function Upn(){}function zpn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function r3n(){}function i3n(){}function c3n(){}function u3n(){}function Cq(){}function s3n(){}function o3n(){}function nO(){e5()}function f3n(){zF()}function h3n(){A6()}function l3n(){bM()}function a3n(){TY()}function d3n(){Zo()}function b3n(){LJ()}function w3n(){q7()}function g3n(){o8()}function v3n(){s8()}function p3n(){F8()}function m3n(){y7n()}function k3n(){X2()}function y3n(){Vj()}function j3n(){DAn()}function E3n(){UIn()}function T3n(){hPn()}function C3n(){SMn()}function M3n(){o3()}function S3n(){Ol()}function A3n(){zIn()}function P3n(){kSn()}function I3n(){vnn()}function O3n(){$Fn()}function D3n(){AMn()}function $3n(){nn()}function F3n(){MMn()}function L3n(){WIn()}function N3n(){QOn()}function x3n(){IMn()}function B3n(){wPn()}function _3n(){j7n()}function R3n(){cZ()}function K3n(){Ob()}function H3n(){kOn()}function q3n(){W7()}function G3n(){yN()}function U3n(){AL()}function z3n(){w0()}function W3n(){eQ()}function X3n(){PMn()}function V3n(){KBn()}function Q3n(){tZ()}function J3n(){dN()}function Y3n(){ZT()}function Z3n(){yM()}function Mq(){We()}function n4n(){NC()}function e4n(){fJ()}function Sq(){RM()}function qo(){gEn()}function Aq(){IF()}function t4n(){qZ()}function Pq(n){_n(n)}function r4n(n){this.a=n}function kj(n){this.a=n}function i4n(n){this.a=n}function c4n(n){this.a=n}function u4n(n){this.a=n}function s4n(n){this.a=n}function o4n(n){this.a=n}function f4n(n){this.a=n}function Iq(n){this.a=n}function Oq(n){this.a=n}function h4n(n){this.a=n}function eO(n){this.a=n}function l4n(n){this.a=n}function tO(n){this.a=n}function a4n(n){this.a=n}function rO(n){this.a=n}function d4n(n){this.a=n}function iO(n){this.a=n}function b4n(n){this.a=n}function w4n(n){this.a=n}function g4n(n){this.a=n}function Dq(n){this.b=n}function v4n(n){this.c=n}function p4n(n){this.a=n}function m4n(n){this.a=n}function k4n(n){this.a=n}function y4n(n){this.a=n}function j4n(n){this.a=n}function E4n(n){this.a=n}function T4n(n){this.a=n}function C4n(n){this.a=n}function M4n(n){this.a=n}function S4n(n){this.a=n}function A4n(n){this.a=n}function P4n(n){this.a=n}function I4n(n){this.a=n}function $q(n){this.a=n}function Fq(n){this.a=n}function yj(n){this.a=n}function G9(n){this.a=n}function da(){this.a=[]}function O4n(n,e){n.a=e}function Lq(n,e){n.j=e}function nte(n,e){n.c=e}function ete(n,e){n.d=e}function ba(n,e){n.k=e}function Nq(n,e){n.c=e}function xq(n,e){n.a=e}function cte(n,e){n.a=e}function ute(n,e){n.f=e}function ste(n,e){n.a=e}function ote(n,e){n.b=e}function cO(n,e){n.d=e}function jj(n,e){n.i=e}function Bq(n,e){n.o=e}function D4n(n,e){n.e=e}function _q(n,e){n.g=e}function dte(n,e){n.e=e}function bte(n,e){n.f=e}function wte(n,e){n.f=e}function gte(n,e){n.n=e}function $4n(n){n.b=n.a}function F4n(n){n.c=n.d.d}function V4(n){this.d=n}function wa(n){this.a=n}function Yv(n){this.a=n}function Rq(n){this.a=n}function Kh(n){this.a=n}function U9(n){this.a=n}function L4n(n){this.a=n}function Kq(n){this.a=n}function z9(n){this.a=n}function Hq(n){this.a=n}function qq(n){this.a=n}function Gq(n){this.a=n}function J0(n){this.a=n}function W9(n){this.a=n}function X9(n){this.a=n}function Uq(n){this.b=n}function Zv(n){this.b=n}function np(n){this.b=n}function uO(n){this.a=n}function N4n(n){this.a=n}function zq(n){this.a=n}function sO(n){this.c=n}function E(n){this.c=n}function x4n(n){this.c=n}function Wq(n){this.a=n}function Xq(n){this.a=n}function Vq(n){this.a=n}function Qq(n){this.a=n}function ct(n){this.a=n}function B4n(n){this.a=n}function Jq(n){this.a=n}function Yq(n){this.a=n}function _4n(n){this.a=n}function R4n(n){this.a=n}function Q4(n){this.a=n}function K4n(n){this.a=n}function H4n(n){this.a=n}function q4n(n){this.a=n}function G4n(n){this.a=n}function U4n(n){this.a=n}function z4n(n){this.a=n}function W4n(n){this.a=n}function X4n(n){this.a=n}function V4n(n){this.a=n}function Q4n(n){this.a=n}function J4n(n){this.a=n}function Y4n(n){this.a=n}function Z4n(n){this.a=n}function n5n(n){this.a=n}function e5n(n){this.a=n}function t5n(n){this.a=n}function r5n(n){this.a=n}function V9(n){this.a=n}function i5n(n){this.a=n}function c5n(n){this.a=n}function Ej(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function ep(n){this.a=n}function Zq(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function h5n(n){this.a=n}function l5n(n){this.a=n}function a5n(n){this.a=n}function nG(n){this.a=n}function eG(n){this.a=n}function tG(n){this.a=n}function Tj(n){this.a=n}function Cj(n){this.e=n}function tp(n){this.a=n}function d5n(n){this.a=n}function d2(n){this.a=n}function rG(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function v5n(n){this.a=n}function p5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function j5n(n){this.a=n}function E5n(n){this.a=n}function T5n(n){this.a=n}function iG(n){this.a=n}function C5n(n){this.a=n}function M5n(n){this.a=n}function S5n(n){this.a=n}function A5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function x5n(n){this.a=n}function B5n(n){this.a=n}function _5n(n){this.a=n}function R5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function U5n(n){this.a=n}function z5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function r6n(n){this.a=n}function i6n(n){this.a=n}function c6n(n){this.a=n}function u6n(n){this.a=n}function s6n(n){this.a=n}function o6n(n){this.c=n}function f6n(n){this.b=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function v6n(n){this.a=n}function p6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function T6n(n){this.a=n}function C6n(n){this.a=n}function M6n(n){this.a=n}function S6n(n){this.a=n}function A6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function O6n(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function il(n){this.a=n}function b2(n){this.a=n}function F6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function x6n(n){this.a=n}function B6n(n){this.a=n}function _6n(n){this.a=n}function R6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function U6n(n){this.a=n}function z6n(n){this.a=n}function W6n(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Mj(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function rmn(n){this.a=n}function imn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function vmn(n){this.a=n}function pmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function ymn(n){this.a=n}function jmn(n){this.a=n}function Emn(n){this.a=n}function cG(n){this.a=n}function at(n){this.b=n}function Tmn(n){this.f=n}function uG(n){this.a=n}function Cmn(n){this.a=n}function Mmn(n){this.a=n}function Smn(n){this.a=n}function Amn(n){this.a=n}function Pmn(n){this.a=n}function Imn(n){this.a=n}function Omn(n){this.a=n}function Dmn(n){this.a=n}function Q9(n){this.a=n}function $mn(n){this.a=n}function Fmn(n){this.b=n}function sG(n){this.c=n}function Sj(n){this.e=n}function Lmn(n){this.a=n}function Aj(n){this.a=n}function Pj(n){this.a=n}function oO(n){this.a=n}function Nmn(n){this.a=n}function xmn(n){this.d=n}function oG(n){this.a=n}function fG(n){this.a=n}function yd(n){this.e=n}function J9(){this.a=0}function Ow(){gyn(this)}function X(){bD(this)}function we(){Cu(this)}function fO(){kCn(this)}function Bmn(){}function jd(){this.c=H1n}function _mn(n,e){n.b+=e}function Rmn(n){n.b=new MO}function C(n){return n.e}function Fte(n){return n.a}function Lte(n){return n.a}function Nte(n){return n.a}function xte(n){return n.a}function Bte(n){return n.a}function _te(){return null}function Rte(){return null}function J4(n,e){n.b=e-n.b}function Y4(n,e){n.a=e-n.a}function Kmn(n,e){e.ad(n.a)}function Y9(n,e){n.e=e,e.b=n}function hG(n){zf(),this.a=n}function Hmn(n){zf(),this.a=n}function qmn(n){zf(),this.a=n}function lG(n){wb(),this.a=n}function Gmn(n){$p(),K_.be(n)}function ga(){Zyn.call(this)}function aG(){Zyn.call(this)}function dG(){ga.call(this)}function hO(){ga.call(this)}function Umn(){ga.call(this)}function Z9(){ga.call(this)}function hu(){ga.call(this)}function Z4(){ga.call(this)}function ye(){ga.call(this)}function Ts(){ga.call(this)}function zmn(){ga.call(this)}function ic(){ga.call(this)}function Wmn(){ga.call(this)}function Xmn(){this.a=this}function Ij(){this.Bb|=256}function Vmn(){this.b=new Jkn}function bG(){bG=F,new we}function wG(){dG.call(this)}function Qmn(n,e){n.length=e}function Oj(n,e){W(n.a,e)}function rp(n,e){nt(n.e,e)}function w2(n){TM(n.c,n.b)}function gG(n){this.a=function Wge(n){var e;return(e=Lb(n))>34028234663852886e22?Ft:e<-34028234663852886e22?Wt:e}(n)}function sr(){this.a=new we}function Jmn(){this.a=new we}function Dj(){this.a=new X}function lO(){this.a=new X}function vG(){this.a=new X}function qs(){this.a=new Dln}function va(){this.a=new AAn}function pG(){this.a=new oq}function mG(){this.a=new d7n}function Ymn(){this.a=new eSn}function kG(){this.a=new vMn}function yG(){this.a=new Kjn}function Zmn(){this.a=new X}function jG(){this.a=new X}function n9n(){this.a=new X}function e9n(){this.a=new X}function t9n(){this.d=new X}function r9n(){this.a=new sr}function i9n(){this.a=new we}function c9n(){this.b=new we}function u9n(){this.b=new X}function EG(){this.e=new X}function s9n(){this.d=new X}function o9n(){this.a=new S3n}function f9n(){X.call(this)}function TG(){Dj.call(this)}function h9n(){KE.call(this)}function l9n(){jG.call(this)}function aO(){n5.call(this)}function n5(){Bmn.call(this)}function g2(){Bmn.call(this)}function CG(){g2.call(this)}function a9n(){XCn.call(this)}function d9n(){XCn.call(this)}function b9n(){DG.call(this)}function w9n(){DG.call(this)}function g9n(){DG.call(this)}function v9n(){$G.call(this)}function lu(){Ct.call(this)}function MG(){R2n.call(this)}function SG(){R2n.call(this)}function p9n(){F9n.call(this)}function m9n(){F9n.call(this)}function k9n(){we.call(this)}function y9n(){we.call(this)}function j9n(){we.call(this)}function E9n(){sr.call(this)}function dO(){HIn.call(this)}function T9n(){Ij.call(this)}function bO(){rz.call(this)}function wO(){rz.call(this)}function AG(){we.call(this)}function gO(){we.call(this)}function C9n(){we.call(this)}function PG(){mj.call(this)}function M9n(){mj.call(this)}function S9n(){PG.call(this)}function A9n(){Cq.call(this)}function P9n(n){dIn.call(this,n)}function I9n(n){dIn.call(this,n)}function IG(n){Iq.call(this,n)}function OG(n){r7n.call(this,n)}function Qte(n){OG.call(this,n)}function Jte(n){r7n.call(this,n)}function ip(){this.a=new Ct}function DG(){this.a=new sr}function $G(){this.a=new we}function O9n(){this.a=new X}function D9n(){this.j=new X}function FG(){this.a=new Rgn}function $9n(){this.a=new A8n}function F9n(){this.a=new Q2n}function vO(){vO=F,L_=new Y9n}function pO(){pO=F,F_=new J9n}function e5(){e5=F,$_=new vi}function $j(){$j=F,B_=new Jyn}function Yte(n){OG.call(this,n)}function Zte(n){OG.call(this,n)}function L9n(n){X$.call(this,n)}function N9n(n){X$.call(this,n)}function x9n(n){fEn.call(this,n)}function mO(n){m5e.call(this,n)}function Ed(n){eb.call(this,n)}function t5(n){Uj.call(this,n)}function LG(n){Uj.call(this,n)}function B9n(n){Uj.call(this,n)}function Ri(n){ETn.call(this,n)}function _9n(n){Ri.call(this,n)}function v2(){G9.call(this,{})}function Fj(n){pp(),this.a=n}function r5(n){n.b=null,n.c=0}function ere(n,e){n.a=e,function c6e(n){var e,t,r;for(function l9e(n){var e,t,r;for(t=new E(n.a.a.b);t.a0&&(!(al(n.a.c)&&e.n.d)&&!(vp(n.a.c)&&e.n.b)&&(e.g.d-=j.Math.max(0,r/2-.5)),(!al(n.a.c)||!e.n.a)&&(!vp(n.a.c)||!e.n.c)&&(e.g.a+=j.Math.max(0,r-1)))}(n),r=new X,t=new E(n.a.a.b);t.a0&&(!(al(n.a.c)&&e.n.d)&&!(vp(n.a.c)&&e.n.b)&&(e.g.d+=j.Math.max(0,r/2-.5)),(!al(n.a.c)||!e.n.a)&&(!vp(n.a.c)||!e.n.c)&&(e.g.a-=r-1))}(n)}(n)}function kO(n,e,t){n.a[e.g]=t}function tre(n,e,t){!function y3e(n,e,t){var r,i;for(SE(n,n.j+e,n.k+t),i=new re((!n.a&&(n.a=new Vt(fo,n,5)),n.a));i.e!=i.i.gc();)UU(r=u(oe(i),469),r.a+e,r.b+t);ME(n,n.b+e,n.c+t)}(t,n,e)}function rre(n,e){!function Aue(n,e){al(n.f)?function Ume(n,e){var t,r,i,c,o;for(c=n.g.a,o=n.g.b,r=new E(n.d);r.a=e.length)return{done:!0};var i=e[r++];return{value:[i,t.get(i)],done:!1}}}},function j7e(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",e=Object.create(null);return void 0===e[n]&&!(0!=Object.getOwnPropertyNames(e).length||(e[n]=42,42!==e[n])||0==Object.getOwnPropertyNames(e).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(e){return this.obj[":"+e]},n.prototype.set=function(e,t){this.obj[":"+e]=t},n.prototype[Ix]=function(e){delete this.obj[":"+e]},n.prototype.keys=function(){var e=[];for(var t in this.obj)58==t.charCodeAt(0)&&e.push(t.substring(1));return e}),n}()}()}function n8n(n){return n.a?n.b:0}function wre(n){return n.a?n.b:0}function Bj(n,e){return mV(n,e)}function M(n,e){return kMn(n,e)}function e8n(n,e){return n.f=e,n}function t8n(n,e){return n.c=e,n}function HG(n,e){return n.a=e,n}function qG(n,e){return n.f=e,n}function jre(n,e){return n.k=e,n}function GG(n,e){return n.a=e,n}function UG(n,e){return n.e=e,n}function Cre(n,e){n.b=!0,n.d=e}function r8n(n,e){return n?0:e-1}function Td(n,e){return n.b=e,n}function _j(n,e){return n.a=e,n}function Cd(n,e){return n.c=e,n}function Md(n,e){return n.d=e,n}function Sd(n,e){return n.e=e,n}function zG(n,e){return n.f=e,n}function o5(n,e){return n.a=e,n}function sp(n,e){return n.b=e,n}function op(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function On(n,e){return n.b=e,n}function vn(n,e){return n.d=e,n}function pn(n,e){return n.e=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function i8n(n,e){return n.k=e,n}function Bre(n,e,t){!function Dfe(n,e,t){return tr(n,new j2(e.a,t.a))}(n.a,e,t)}function c8n(n){jCn.call(this,n)}function WG(n){jCn.call(this,n)}function Rj(n){LD.call(this,n)}function u8n(n){e2e.call(this,n)}function ul(n){Yd.call(this,n)}function s8n(n){E$.call(this,n)}function o8n(n){E$.call(this,n)}function f8n(){YU.call(this,"")}function $r(){this.a=0,this.b=0}function h8n(){this.b=0,this.a=0}function l8n(n,e){n.b=0,Cb(n,e)}function a8n(n,e){return n.c._b(e)}function Go(n){return n.e&&n.e()}function PO(n){return n?n.d:null}function d8n(n,e){return _Dn(n.b,e)}function sl(n){return Gh(n),n.o}function Ad(){Ad=F,One=function c3e(){var n,e;RM();try{if(e=u(eY((fl(),ao),Z3),2014))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new K2n}()}function b8n(){b8n=F,gr=function v4e(){var n;return Rne?u(S3((fl(),ao),Z3),2016):(n=u(I(kc((fl(),ao),Z3),555)?kc(ao,Z3):new YNn,555),Rne=!0,function yEe(n){n.q||(n.q=!0,n.p=Zi(n,0),n.a=Zi(n,1),dt(n.a,0),n.f=Zi(n,2),dt(n.f,1),Pt(n.f,2),n.n=Zi(n,3),Pt(n.n,3),Pt(n.n,4),Pt(n.n,5),Pt(n.n,6),n.g=Zi(n,4),dt(n.g,7),Pt(n.g,8),n.c=Zi(n,5),dt(n.c,7),dt(n.c,8),n.i=Zi(n,6),dt(n.i,9),dt(n.i,10),dt(n.i,11),dt(n.i,12),Pt(n.i,13),n.j=Zi(n,7),dt(n.j,9),n.d=Zi(n,8),dt(n.d,3),dt(n.d,4),dt(n.d,5),dt(n.d,6),Pt(n.d,7),Pt(n.d,8),Pt(n.d,9),Pt(n.d,10),n.b=Zi(n,9),Pt(n.b,0),Pt(n.b,1),n.e=Zi(n,10),Pt(n.e,1),Pt(n.e,2),Pt(n.e,3),Pt(n.e,4),dt(n.e,5),dt(n.e,6),dt(n.e,7),dt(n.e,8),dt(n.e,9),dt(n.e,10),Pt(n.e,11),n.k=Zi(n,11),Pt(n.k,0),Pt(n.k,1),n.o=Ue(n,12),n.s=Ue(n,13))}(n),function PCe(n){var l,a,d,g,v,p,m;n.r||(n.r=!0,Dc(n,"graph"),CC(n,"graph"),MC(n,Z3),k7(n.o,"T"),me(Si(n.a),n.p),me(Si(n.f),n.a),me(Si(n.n),n.f),me(Si(n.g),n.n),me(Si(n.c),n.n),me(Si(n.i),n.c),me(Si(n.j),n.c),me(Si(n.d),n.f),me(Si(n.e),n.a),Yi(n.p,UCe,LKn,!0,!0,!1),m=GOn(p=ng(n.p,n.p,"setProperty")),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),iY(a,d=y$(m)),gM(p,l,irn),gM(p,l=y$(m),mm),m=GOn(p=ng(n.p,null,"getProperty")),l=zh(n.o),a=y$(m),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),gM(p,l,irn),(v=jf(p,l=y$(m),null))&&v.Fi(),p=ng(n.p,n.wb.e,"hasProperty"),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),gM(p,l,irn),Ti(p=ng(n.p,n.p,"copyProperties"),n.p,i_),p=ng(n.p,null,"getAllProperties"),l=zh(n.wb.P),a=zh(n.o),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),d=new jd,me((!a.d&&(a.d=new Vt(hi,a,1)),a.d),d),a=zh(n.wb.M),me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),(g=jf(p,l,null))&&g.Fi(),Yi(n.a,R4,dqn,!0,!1,!0),bt(u(O(_(n.a),0),18),n.k,null,Cqn,0,-1,R4,!1,!1,!0,!0,!1,!1,!1),Yi(n.f,Vy,wqn,!0,!1,!0),bt(u(O(_(n.f),0),18),n.g,u(O(_(n.g),0),18),"labels",0,-1,Vy,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.f),1),34),n.wb._,Mqn,null,0,1,Vy,!1,!1,!0,!1,!0,!1),Yi(n.n,Qy,"ElkShape",!0,!1,!0),_t(u(O(_(n.n),0),34),n.wb.t,c_,K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),1),34),n.wb.t,u_,K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),2),34),n.wb.t,"x",K3,1,1,Qy,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.n),3),34),n.wb.t,"y",K3,1,1,Qy,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.n,null,"setDimensions"),n.wb.t,u_),Ti(p,n.wb.t,c_),Ti(p=ng(n.n,null,"setLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.g,_i,ern,!1,!1,!0),bt(u(O(_(n.g),0),18),n.f,u(O(_(n.f),0),18),s_,0,1,_i,!1,!1,!0,!1,!1,!1,!1),_t(u(O(_(n.g),1),34),n.wb._,o_,"",0,1,_i,!1,!1,!0,!1,!0,!1),Yi(n.c,he,gqn,!0,!1,!0),bt(u(O(_(n.c),0),18),n.d,u(O(_(n.d),1),18),"outgoingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.c),1),18),n.d,u(O(_(n.d),2),18),"incomingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),Yi(n.i,It,trn,!1,!1,!0),bt(u(O(_(n.i),0),18),n.j,u(O(_(n.j),0),18),"ports",0,-1,It,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.i),1),18),n.i,u(O(_(n.i),2),18),f_,0,-1,It,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.i),2),18),n.i,u(O(_(n.i),1),18),s_,0,1,It,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.i),3),18),n.d,u(O(_(n.d),0),18),"containedEdges",0,-1,It,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.i),4),34),n.wb.e,Sqn,null,0,1,It,!0,!0,!1,!1,!0,!0),Yi(n.j,Ku,rrn,!1,!1,!0),bt(u(O(_(n.j),0),18),n.i,u(O(_(n.i),0),18),s_,0,1,Ku,!1,!1,!0,!1,!1,!1,!1),Yi(n.d,lr,nrn,!1,!1,!0),bt(u(O(_(n.d),0),18),n.i,u(O(_(n.i),3),18),"containingNode",0,1,lr,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.d),1),18),n.c,u(O(_(n.c),0),18),crn,0,-1,lr,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.d),2),18),n.c,u(O(_(n.c),1),18),h_,0,-1,lr,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.d),3),18),n.e,u(O(_(n.e),5),18),urn,0,-1,lr,!1,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.d),4),34),n.wb.e,"hyperedge",null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),5),34),n.wb.e,Sqn,null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),6),34),n.wb.e,"selfloop",null,0,1,lr,!0,!0,!1,!1,!0,!0),_t(u(O(_(n.d),7),34),n.wb.e,"connected",null,0,1,lr,!0,!0,!1,!1,!0,!0),Yi(n.b,fo,bqn,!1,!1,!0),_t(u(O(_(n.b),0),34),n.wb.t,"x",K3,1,1,fo,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.b),1),34),n.wb.t,"y",K3,1,1,fo,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.b,null,"set"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.e,Mt,vqn,!1,!1,!0),_t(u(O(_(n.e),0),34),n.wb.t,"startX",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),1),34),n.wb.t,"startY",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),2),34),n.wb.t,"endX",null,0,1,Mt,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.e),3),34),n.wb.t,"endY",null,0,1,Mt,!1,!1,!0,!1,!0,!1),bt(u(O(_(n.e),4),18),n.b,null,BS,0,-1,Mt,!1,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.e),5),18),n.d,u(O(_(n.d),3),18),s_,0,1,Mt,!1,!1,!0,!1,!1,!1,!1),bt(u(O(_(n.e),6),18),n.c,null,srn,0,1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),7),18),n.c,null,orn,0,1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),8),18),n.e,u(O(_(n.e),9),18),frn,0,-1,Mt,!1,!1,!0,!1,!0,!1,!1),bt(u(O(_(n.e),9),18),n.e,u(O(_(n.e),8),18),hrn,0,-1,Mt,!1,!1,!0,!1,!0,!1,!1),_t(u(O(_(n.e),10),34),n.wb._,Mqn,null,0,1,Mt,!1,!1,!0,!1,!0,!1),Ti(p=ng(n.e,null,"setStartLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Ti(p=ng(n.e,null,"setEndLocation"),n.wb.t,"x"),Ti(p,n.wb.t,"y"),Yi(n.k,ed,"ElkPropertyToValueMapEntry",!1,!1,!1),l=zh(n.o),a=new jd,me((!l.d&&(l.d=new Vt(hi,l,1)),l.d),a),GNn(u(O(_(n.k),0),34),l,"key",ed,!1,!1,!0,!1),_t(u(O(_(n.k),1),34),n.s,mm,null,0,1,ed,!1,!1,!0,!1,!0,!1),Ge(n.o,pH,"IProperty",!0),Ge(n.s,Zn,"PropertyValue",!0),OQ(n,Z3))}(n),BL(n),ki(ao,Z3,n),n)}()}function fp(){fp=F,K1n=function s3e(){var n,e;RM();try{if(e=u(eY((fl(),ao),eo),1941))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new bvn}()}function w8n(){w8n=F,gee=function u3e(){var n,e;LPn();try{if(e=u(eY((fl(),ao),nd),2024))return e}catch(t){if(!I(t=jt(t),102))throw C(t);n=t,HW((je(),n))}return new spn}()}function XG(){XG=F,fc=function t6e(){var n;return $ee?u(S3((fl(),ao),nd),1945):(function gTe(){He(tj,new kpn),He(AI,new Opn),He(rj,new Hpn),He(rln,new Zpn),He(tn,new r3n),He(M(ju,1),new i3n),He(cr,new c3n),He(yv,new u3n),He(tn,new hpn),He(tn,new lpn),He(tn,new apn),He(Cr,new dpn),He(tn,new bpn),He(Bs,new wpn),He(Bs,new gpn),He(tn,new vpn),He(c4,new ppn),He(tn,new mpn),He(tn,new ypn),He(tn,new jpn),He(tn,new Epn),He(tn,new Tpn),He(M(ju,1),new Cpn),He(tn,new Mpn),He(tn,new Spn),He(Bs,new Apn),He(Bs,new Ppn),He(tn,new Ipn),He(qr,new Dpn),He(tn,new $pn),He(A0,new Fpn),He(tn,new Lpn),He(tn,new Npn),He(tn,new xpn),He(tn,new Bpn),He(Bs,new _pn),He(Bs,new Rpn),He(tn,new Kpn),He(tn,new qpn),He(tn,new Gpn),He(tn,new Upn),He(tn,new zpn),He(tn,new Wpn),He(P0,new Xpn),He(tn,new Vpn),He(tn,new Qpn),He(tn,new Jpn),He(P0,new Ypn),He(A0,new n3n),He(tn,new e3n),He(qr,new t3n)}(),n=u(I(kc((fl(),ao),nd),586)?kc(ao,nd):new aCn,586),$ee=!0,function ZTe(n){n.N||(n.N=!0,n.b=Zi(n,0),Pt(n.b,0),Pt(n.b,1),Pt(n.b,2),n.bb=Zi(n,1),Pt(n.bb,0),Pt(n.bb,1),n.fb=Zi(n,2),Pt(n.fb,3),Pt(n.fb,4),dt(n.fb,5),n.qb=Zi(n,3),Pt(n.qb,0),dt(n.qb,1),dt(n.qb,2),Pt(n.qb,3),Pt(n.qb,4),dt(n.qb,5),Pt(n.qb,6),n.a=Ue(n,4),n.c=Ue(n,5),n.d=Ue(n,6),n.e=Ue(n,7),n.f=Ue(n,8),n.g=Ue(n,9),n.i=Ue(n,10),n.j=Ue(n,11),n.k=Ue(n,12),n.n=Ue(n,13),n.o=Ue(n,14),n.p=Ue(n,15),n.q=Ue(n,16),n.s=Ue(n,17),n.r=Ue(n,18),n.t=Ue(n,19),n.u=Ue(n,20),n.v=Ue(n,21),n.w=Ue(n,22),n.B=Ue(n,23),n.A=Ue(n,24),n.C=Ue(n,25),n.D=Ue(n,26),n.F=Ue(n,27),n.G=Ue(n,28),n.H=Ue(n,29),n.J=Ue(n,30),n.I=Ue(n,31),n.K=Ue(n,32),n.M=Ue(n,33),n.L=Ue(n,34),n.P=Ue(n,35),n.Q=Ue(n,36),n.R=Ue(n,37),n.S=Ue(n,38),n.T=Ue(n,39),n.U=Ue(n,40),n.V=Ue(n,41),n.X=Ue(n,42),n.W=Ue(n,43),n.Y=Ue(n,44),n.Z=Ue(n,45),n.$=Ue(n,46),n._=Ue(n,47),n.ab=Ue(n,48),n.cb=Ue(n,49),n.db=Ue(n,50),n.eb=Ue(n,51),n.gb=Ue(n,52),n.hb=Ue(n,53),n.ib=Ue(n,54),n.jb=Ue(n,55),n.kb=Ue(n,56),n.lb=Ue(n,57),n.mb=Ue(n,58),n.nb=Ue(n,59),n.ob=Ue(n,60),n.pb=Ue(n,61))}(n),function SCe(n){var e;n.O||(n.O=!0,Dc(n,"type"),CC(n,"ecore.xml.type"),MC(n,nd),e=u(S3((fl(),ao),nd),1945),me(Si(n.fb),n.b),Yi(n.b,tj,"AnyType",!1,!1,!0),_t(u(O(_(n.b),0),34),n.wb.D,Hk,null,0,-1,tj,!1,!1,!0,!1,!1,!1),_t(u(O(_(n.b),1),34),n.wb.D,"any",null,0,-1,tj,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.b),2),34),n.wb.D,"anyAttribute",null,0,-1,tj,!1,!1,!0,!1,!1,!1),Yi(n.bb,AI,RGn,!1,!1,!0),_t(u(O(_(n.bb),0),34),n.gb,"data",null,0,1,AI,!1,!1,!0,!1,!0,!1),_t(u(O(_(n.bb),1),34),n.gb,drn,null,1,1,AI,!1,!1,!0,!1,!0,!1),Yi(n.fb,rj,KGn,!1,!1,!0),_t(u(O(_(n.fb),0),34),e.gb,"rawValue",null,0,1,rj,!0,!0,!0,!1,!0,!0),_t(u(O(_(n.fb),1),34),e.a,mm,null,0,1,rj,!0,!0,!0,!1,!0,!0),bt(u(O(_(n.fb),2),18),n.wb.q,null,"instanceType",1,1,rj,!1,!1,!0,!1,!1,!1,!1),Yi(n.qb,rln,HGn,!1,!1,!0),_t(u(O(_(n.qb),0),34),n.wb.D,Hk,null,0,-1,null,!1,!1,!0,!1,!1,!1),bt(u(O(_(n.qb),1),18),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),bt(u(O(_(n.qb),2),18),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),_t(u(O(_(n.qb),3),34),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.qb),4),34),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),bt(u(O(_(n.qb),5),18),n.bb,null,eUn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),_t(u(O(_(n.qb),6),34),n.gb,o_,null,0,-2,null,!0,!0,!0,!1,!1,!0),Ge(n.a,Zn,"AnySimpleType",!0),Ge(n.c,tn,"AnyURI",!0),Ge(n.d,M(ju,1),"Base64Binary",!0),Ge(n.e,Hu,"Boolean",!0),Ge(n.f,cr,"BooleanObject",!0),Ge(n.g,ju,"Byte",!0),Ge(n.i,yv,"ByteObject",!0),Ge(n.j,tn,"Date",!0),Ge(n.k,tn,"DateTime",!0),Ge(n.n,G_,"Decimal",!0),Ge(n.o,kr,"Double",!0),Ge(n.p,Cr,"DoubleObject",!0),Ge(n.q,tn,"Duration",!0),Ge(n.s,Bs,"ENTITIES",!0),Ge(n.r,Bs,"ENTITIESBase",!0),Ge(n.t,tn,Prn,!0),Ge(n.u,Aw,"Float",!0),Ge(n.v,c4,"FloatObject",!0),Ge(n.w,tn,"GDay",!0),Ge(n.B,tn,"GMonth",!0),Ge(n.A,tn,"GMonthDay",!0),Ge(n.C,tn,"GYear",!0),Ge(n.D,tn,"GYearMonth",!0),Ge(n.F,M(ju,1),"HexBinary",!0),Ge(n.G,tn,"ID",!0),Ge(n.H,tn,"IDREF",!0),Ge(n.J,Bs,"IDREFS",!0),Ge(n.I,Bs,"IDREFSBase",!0),Ge(n.K,be,"Int",!0),Ge(n.M,$g,"Integer",!0),Ge(n.L,qr,"IntObject",!0),Ge(n.P,tn,"Language",!0),Ge(n.Q,oa,"Long",!0),Ge(n.R,A0,"LongObject",!0),Ge(n.S,tn,"Name",!0),Ge(n.T,tn,eA,!0),Ge(n.U,$g,"NegativeInteger",!0),Ge(n.V,tn,Drn,!0),Ge(n.X,Bs,"NMTOKENS",!0),Ge(n.W,Bs,"NMTOKENSBase",!0),Ge(n.Y,$g,"NonNegativeInteger",!0),Ge(n.Z,$g,"NonPositiveInteger",!0),Ge(n.$,tn,"NormalizedString",!0),Ge(n._,tn,"NOTATION",!0),Ge(n.ab,tn,"PositiveInteger",!0),Ge(n.cb,tn,"QName",!0),Ge(n.db,o2,"Short",!0),Ge(n.eb,P0,"ShortObject",!0),Ge(n.gb,tn,ynn,!0),Ge(n.hb,tn,"Time",!0),Ge(n.ib,tn,"Token",!0),Ge(n.jb,o2,"UnsignedByte",!0),Ge(n.kb,P0,"UnsignedByteObject",!0),Ge(n.lb,oa,"UnsignedInt",!0),Ge(n.mb,A0,"UnsignedIntObject",!0),Ge(n.nb,$g,"UnsignedLong",!0),Ge(n.ob,be,"UnsignedShort",!0),Ge(n.pb,qr,"UnsignedShortObject",!0),OQ(n,nd),function ACe(n){ke(n.a,Le,S(M(tn,1),q,2,6,[ze,"anySimpleType"])),ke(n.b,Le,S(M(tn,1),q,2,6,[ze,"anyType",no,Hk])),ke(u(O(_(n.b),0),34),Le,S(M(tn,1),q,2,6,[no,y_,ze,":mixed"])),ke(u(O(_(n.b),1),34),Le,S(M(tn,1),q,2,6,[no,y_,Srn,E_,ze,":1",qGn,"lax"])),ke(u(O(_(n.b),2),34),Le,S(M(tn,1),q,2,6,[no,_Gn,Srn,E_,ze,":2",qGn,"lax"])),ke(n.c,Le,S(M(tn,1),q,2,6,[ze,"anyURI",to,ef])),ke(n.d,Le,S(M(tn,1),q,2,6,[ze,"base64Binary",to,ef])),ke(n.e,Le,S(M(tn,1),q,2,6,[ze,sv,to,ef])),ke(n.f,Le,S(M(tn,1),q,2,6,[ze,"boolean:Object",Nr,sv])),ke(n.g,Le,S(M(tn,1),q,2,6,[ze,ym])),ke(n.i,Le,S(M(tn,1),q,2,6,[ze,"byte:Object",Nr,ym])),ke(n.j,Le,S(M(tn,1),q,2,6,[ze,"date",to,ef])),ke(n.k,Le,S(M(tn,1),q,2,6,[ze,"dateTime",to,ef])),ke(n.n,Le,S(M(tn,1),q,2,6,[ze,"decimal",to,ef])),ke(n.o,Le,S(M(tn,1),q,2,6,[ze,jm,to,ef])),ke(n.p,Le,S(M(tn,1),q,2,6,[ze,"double:Object",Nr,jm])),ke(n.q,Le,S(M(tn,1),q,2,6,[ze,"duration",to,ef])),ke(n.s,Le,S(M(tn,1),q,2,6,[ze,"ENTITIES",Nr,GGn,Arn,"1"])),ke(n.r,Le,S(M(tn,1),q,2,6,[ze,GGn,j_,Prn])),ke(n.t,Le,S(M(tn,1),q,2,6,[ze,Prn,Nr,eA])),ke(n.u,Le,S(M(tn,1),q,2,6,[ze,Em,to,ef])),ke(n.v,Le,S(M(tn,1),q,2,6,[ze,"float:Object",Nr,Em])),ke(n.w,Le,S(M(tn,1),q,2,6,[ze,"gDay",to,ef])),ke(n.B,Le,S(M(tn,1),q,2,6,[ze,"gMonth",to,ef])),ke(n.A,Le,S(M(tn,1),q,2,6,[ze,"gMonthDay",to,ef])),ke(n.C,Le,S(M(tn,1),q,2,6,[ze,"gYear",to,ef])),ke(n.D,Le,S(M(tn,1),q,2,6,[ze,"gYearMonth",to,ef])),ke(n.F,Le,S(M(tn,1),q,2,6,[ze,"hexBinary",to,ef])),ke(n.G,Le,S(M(tn,1),q,2,6,[ze,"ID",Nr,eA])),ke(n.H,Le,S(M(tn,1),q,2,6,[ze,"IDREF",Nr,eA])),ke(n.J,Le,S(M(tn,1),q,2,6,[ze,"IDREFS",Nr,UGn,Arn,"1"])),ke(n.I,Le,S(M(tn,1),q,2,6,[ze,UGn,j_,"IDREF"])),ke(n.K,Le,S(M(tn,1),q,2,6,[ze,Tm])),ke(n.M,Le,S(M(tn,1),q,2,6,[ze,Irn])),ke(n.L,Le,S(M(tn,1),q,2,6,[ze,"int:Object",Nr,Tm])),ke(n.P,Le,S(M(tn,1),q,2,6,[ze,"language",Nr,T_,C_,zGn])),ke(n.Q,Le,S(M(tn,1),q,2,6,[ze,Cm])),ke(n.R,Le,S(M(tn,1),q,2,6,[ze,"long:Object",Nr,Cm])),ke(n.S,Le,S(M(tn,1),q,2,6,[ze,"Name",Nr,T_,C_,Orn])),ke(n.T,Le,S(M(tn,1),q,2,6,[ze,eA,Nr,"Name",C_,WGn])),ke(n.U,Le,S(M(tn,1),q,2,6,[ze,"negativeInteger",Nr,XGn,Wk,"-1"])),ke(n.V,Le,S(M(tn,1),q,2,6,[ze,Drn,Nr,T_,C_,"\\c+"])),ke(n.X,Le,S(M(tn,1),q,2,6,[ze,"NMTOKENS",Nr,VGn,Arn,"1"])),ke(n.W,Le,S(M(tn,1),q,2,6,[ze,VGn,j_,Drn])),ke(n.Y,Le,S(M(tn,1),q,2,6,[ze,$rn,Nr,Irn,Xk,"0"])),ke(n.Z,Le,S(M(tn,1),q,2,6,[ze,XGn,Nr,Irn,Wk,"0"])),ke(n.$,Le,S(M(tn,1),q,2,6,[ze,QGn,Nr,YN,to,"replace"])),ke(n._,Le,S(M(tn,1),q,2,6,[ze,"NOTATION",to,ef])),ke(n.ab,Le,S(M(tn,1),q,2,6,[ze,"positiveInteger",Nr,$rn,Xk,"1"])),ke(n.bb,Le,S(M(tn,1),q,2,6,[ze,"processingInstruction_._type",no,"empty"])),ke(u(O(_(n.bb),0),34),Le,S(M(tn,1),q,2,6,[no,JS,ze,"data"])),ke(u(O(_(n.bb),1),34),Le,S(M(tn,1),q,2,6,[no,JS,ze,drn])),ke(n.cb,Le,S(M(tn,1),q,2,6,[ze,"QName",to,ef])),ke(n.db,Le,S(M(tn,1),q,2,6,[ze,Mm])),ke(n.eb,Le,S(M(tn,1),q,2,6,[ze,"short:Object",Nr,Mm])),ke(n.fb,Le,S(M(tn,1),q,2,6,[ze,"simpleAnyType",no,qk])),ke(u(O(_(n.fb),0),34),Le,S(M(tn,1),q,2,6,[ze,":3",no,qk])),ke(u(O(_(n.fb),1),34),Le,S(M(tn,1),q,2,6,[ze,":4",no,qk])),ke(u(O(_(n.fb),2),18),Le,S(M(tn,1),q,2,6,[ze,":5",no,qk])),ke(n.gb,Le,S(M(tn,1),q,2,6,[ze,YN,to,"preserve"])),ke(n.hb,Le,S(M(tn,1),q,2,6,[ze,"time",to,ef])),ke(n.ib,Le,S(M(tn,1),q,2,6,[ze,T_,Nr,QGn,to,ef])),ke(n.jb,Le,S(M(tn,1),q,2,6,[ze,JGn,Wk,"255",Xk,"0"])),ke(n.kb,Le,S(M(tn,1),q,2,6,[ze,"unsignedByte:Object",Nr,JGn])),ke(n.lb,Le,S(M(tn,1),q,2,6,[ze,YGn,Wk,"4294967295",Xk,"0"])),ke(n.mb,Le,S(M(tn,1),q,2,6,[ze,"unsignedInt:Object",Nr,YGn])),ke(n.nb,Le,S(M(tn,1),q,2,6,[ze,"unsignedLong",Nr,$rn,Wk,ZGn,Xk,"0"])),ke(n.ob,Le,S(M(tn,1),q,2,6,[ze,nUn,Wk,"65535",Xk,"0"])),ke(n.pb,Le,S(M(tn,1),q,2,6,[ze,"unsignedShort:Object",Nr,nUn])),ke(n.qb,Le,S(M(tn,1),q,2,6,[ze,"",no,Hk])),ke(u(O(_(n.qb),0),34),Le,S(M(tn,1),q,2,6,[no,y_,ze,":mixed"])),ke(u(O(_(n.qb),1),18),Le,S(M(tn,1),q,2,6,[no,JS,ze,"xmlns:prefix"])),ke(u(O(_(n.qb),2),18),Le,S(M(tn,1),q,2,6,[no,JS,ze,"xsi:schemaLocation"])),ke(u(O(_(n.qb),3),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,"cDATA",ZS,Gk])),ke(u(O(_(n.qb),4),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,"comment",ZS,Gk])),ke(u(O(_(n.qb),5),18),Le,S(M(tn,1),q,2,6,[no,YS,ze,eUn,ZS,Gk])),ke(u(O(_(n.qb),6),34),Le,S(M(tn,1),q,2,6,[no,YS,ze,o_,ZS,Gk]))}(n))}(n),tt((cU(),R1n),n,new fpn),BL(n),ki(ao,nd,n),n)}()}function VG(){VG=F,ra=Qp()}function g8n(){throw C(new ye)}function v8n(){throw C(new ye)}function p8n(){throw C(new ye)}function m8n(){throw C(new ye)}function k8n(){throw C(new ye)}function y8n(){throw C(new ye)}function Kj(n){this.a=new k2(n)}function QG(n){gRn(),function lCe(n,e){var t,r,i,c,o,f,h,l;if(t=0,o=0,c=e.length,f=null,l=new nb,o1?bf(Uh(e.a[1],32),rr(e.a[0],si)):rr(e.a[0],si),Vd(Fr(e.e,t))))}(n,new dl(h));for(n.d=l.a.length,i=0;i0}(u(n,33))?du(r,(Jo(),wr))||du(r,Wn):du(r,(Jo(),wr));if(I(n,352))return du(r,(Jo(),ah));if(I(n,186))return du(r,(Jo(),ld));if(I(n,354))return du(r,(Jo(),X1))}return!0}(n,e)}function ZG(n,e,t){n.splice(e,t)}function T8n(n){n.c?sBn(n):oBn(n)}function qj(n){this.a=0,this.b=n}function C8n(){this.a=new rk(nfn)}function M8n(){this.b=new rk(Ron)}function S8n(){this.b=new rk(oH)}function A8n(){this.b=new rk(oH)}function P8n(){throw C(new ye)}function I8n(){throw C(new ye)}function O8n(){throw C(new ye)}function D8n(){throw C(new ye)}function $8n(){throw C(new ye)}function F8n(){throw C(new ye)}function L8n(){throw C(new ye)}function N8n(){throw C(new ye)}function x8n(){throw C(new ye)}function B8n(){throw C(new ye)}function e8(n){this.a=new _8n(n)}function _8n(n){!function nbe(n,e,t){var r;n.b=e,n.a=t,r=512==(512&n.a)?new A9n:new Cq,n.c=function g7e(n,e,t){var r,i,c;if(n.e=t,n.d=0,n.b=0,n.f=1,n.i=e,16==(16&n.e)&&(n.i=function tke(n){var e,t,r,i,c;for(r=n.length,e=new s5,c=0;ce&&e0)){if(i=-1,32==Pr(a.c,0)){if(d=l[0],GPn(e,l),l[0]>d)continue}else if(k1e(e,a.c,l[0])){l[0]+=a.c.length;continue}return 0}if(i<0&&a.a&&(i=h,c=l[0],r=0),i>=0){if(f=a.b,h==i&&0==(f-=r++))return 0;if(!ERn(e,l,a,f,o)){h=i-1,l[0]=c;continue}}else if(i=-1,!ERn(e,l,a,0,o))return 0}return function kTe(n,e){var t,r,i,c,o,f;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>Lr&&UX(e,n.p-Ll),o=e.q.getDate(),z8(e,1),n.k>=0&&function tle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),G6(n,t)}(e,n.k),n.c>=0?z8(e,n.c):n.k>=0?(r=35-new aQ(e.q.getFullYear()-Ll,e.q.getMonth(),35).q.getDate(),z8(e,j.Math.min(r,o))):z8(e,o),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function dce(n,e){n.q.setHours(e),G6(n,e)}(e,24==n.f&&n.g?0:n.f),n.j>=0&&function dde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),G6(n,t)}(e,n.j),n.n>=0&&function Ode(n,e){var t;t=n.q.getHours()+(e/3600|0),n.q.setSeconds(e),G6(n,t)}(e,n.n),n.i>=0&&Gkn(e,_r(Fr(U7(tu(e.q.getTime()),B1),B1),n.i)),n.a&&(UX(i=new zj,i.q.getFullYear()-Ll-80),FO(tu(e.q.getTime()),tu(i.q.getTime()))&&UX(e,i.q.getFullYear()-Ll+100)),n.d>=0)if(-1==n.c)(t=(7+n.d-e.q.getDay())%7)>3&&(t-=7),f=e.q.getMonth(),z8(e,e.q.getDate()+t),e.q.getMonth()!=f&&z8(e,e.q.getDate()+(t>0?-7:7));else if(e.q.getDay()!=n.d)return!1;return n.o>Lr&&(c=e.q.getTimezoneOffset(),Gkn(e,_r(tu(e.q.getTime()),60*(n.o-c)*B1))),!0}(o,t)?l[0]:0}(n,e,i=new aQ((r=new zj).q.getFullYear()-Ll,r.q.getMonth(),r.q.getDate())))||t0}function FO(n,e){return hc(n,e)<0}function g5(n,e){return n.a.get(e)}function O7n(n,e){return Vu(n.e,e)}function oU(n){return _n(n),!1}function tE(n){Fn.call(this,n,21)}function sie(n,e){oMn.call(this,n,e)}function rE(n,e){Oe.call(this,n,e)}function LO(n,e){Oe.call(this,n,e)}function fU(n){w$(),fEn.call(this,n)}function hU(n,e){aTn(n,n.length,e)}function h8(n,e){KTn(n,n.length,e)}function v5(n,e,t){n.splice(e,0,t)}function iE(n,e){this.d=n,this.e=e}function D7n(n,e){this.b=n,this.a=e}function $7n(n,e){this.b=n,this.a=e}function lU(n,e){this.b=n,this.a=e}function F7n(n,e){this.a=n,this.b=e}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function x7n(n,e){this.a=n,this.b=e}function j2(n,e){this.a=n,this.b=e}function aU(n,e){this.b=n,this.a=e}function dU(n,e){this.b=n,this.a=e}function cE(n,e){Oe.call(this,n,e)}function uE(n,e){Oe.call(this,n,e)}function bU(n,e){Oe.call(this,n,e)}function wU(n,e){Oe.call(this,n,e)}function Lw(n,e){Oe.call(this,n,e)}function NO(n,e){Oe.call(this,n,e)}function xO(n,e){Oe.call(this,n,e)}function BO(n,e){Oe.call(this,n,e)}function sE(n,e){Oe.call(this,n,e)}function gU(n,e){Oe.call(this,n,e)}function _O(n,e){Oe.call(this,n,e)}function l8(n,e){Oe.call(this,n,e)}function oE(n,e){Oe.call(this,n,e)}function RO(n,e){Oe.call(this,n,e)}function p5(n,e){Oe.call(this,n,e)}function vU(n,e){Oe.call(this,n,e)}function qt(n,e){Oe.call(this,n,e)}function fE(n,e){Oe.call(this,n,e)}function B7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function G7n(n,e){this.a=n,this.b=e}function U7n(n,e){this.a=n,this.b=e}function z7n(n,e){this.a=n,this.b=e}function pU(n,e){this.b=n,this.a=e}function W7n(n,e){this.b=n,this.a=e}function X7n(n,e){this.b=n,this.a=e}function V7n(n,e){this.b=n,this.a=e}function wp(n,e){this.c=n,this.d=e}function Q7n(n,e){this.e=n,this.d=e}function J7n(n,e){this.a=n,this.b=e}function Y7n(n,e){this.b=e,this.c=n}function hE(n,e){Oe.call(this,n,e)}function a8(n,e){Oe.call(this,n,e)}function KO(n,e){Oe.call(this,n,e)}function m5(n,e){Oe.call(this,n,e)}function mU(n,e){Oe.call(this,n,e)}function HO(n,e){Oe.call(this,n,e)}function qO(n,e){Oe.call(this,n,e)}function d8(n,e){Oe.call(this,n,e)}function kU(n,e){Oe.call(this,n,e)}function GO(n,e){Oe.call(this,n,e)}function k5(n,e){Oe.call(this,n,e)}function yU(n,e){Oe.call(this,n,e)}function y5(n,e){Oe.call(this,n,e)}function j5(n,e){Oe.call(this,n,e)}function rb(n,e){Oe.call(this,n,e)}function UO(n,e){Oe.call(this,n,e)}function zO(n,e){Oe.call(this,n,e)}function jU(n,e){Oe.call(this,n,e)}function E5(n,e){Oe.call(this,n,e)}function WO(n,e){Oe.call(this,n,e)}function lE(n,e){Oe.call(this,n,e)}function b8(n,e){Oe.call(this,n,e)}function w8(n,e){Oe.call(this,n,e)}function E2(n,e){Oe.call(this,n,e)}function XO(n,e){Oe.call(this,n,e)}function EU(n,e){Oe.call(this,n,e)}function VO(n,e){Oe.call(this,n,e)}function QO(n,e){Oe.call(this,n,e)}function TU(n,e){Oe.call(this,n,e)}function JO(n,e){Oe.call(this,n,e)}function YO(n,e){Oe.call(this,n,e)}function ZO(n,e){Oe.call(this,n,e)}function nD(n,e){Oe.call(this,n,e)}function CU(n,e){Oe.call(this,n,e)}function Z7n(n,e){this.b=n,this.a=e}function nkn(n,e){this.a=n,this.b=e}function ekn(n,e){this.a=n,this.b=e}function tkn(n,e){this.a=n,this.b=e}function rkn(n,e){this.a=n,this.b=e}function MU(n,e){Oe.call(this,n,e)}function SU(n,e){Oe.call(this,n,e)}function ikn(n,e){this.b=n,this.d=e}function AU(n,e){Oe.call(this,n,e)}function PU(n,e){Oe.call(this,n,e)}function ckn(n,e){this.a=n,this.b=e}function ukn(n,e){this.a=n,this.b=e}function aE(n,e){Oe.call(this,n,e)}function T5(n,e){Oe.call(this,n,e)}function IU(n,e){Oe.call(this,n,e)}function OU(n,e){Oe.call(this,n,e)}function DU(n,e){Oe.call(this,n,e)}function eD(n,e){Oe.call(this,n,e)}function $U(n,e){Oe.call(this,n,e)}function tD(n,e){Oe.call(this,n,e)}function dE(n,e){Oe.call(this,n,e)}function rD(n,e){Oe.call(this,n,e)}function iD(n,e){Oe.call(this,n,e)}function g8(n,e){Oe.call(this,n,e)}function cD(n,e){Oe.call(this,n,e)}function FU(n,e){Oe.call(this,n,e)}function v8(n,e){Oe.call(this,n,e)}function LU(n,e){Oe.call(this,n,e)}function NU(n,e){return du(n.g,e)}function p8(n,e){Oe.call(this,n,e)}function T2(n,e){Oe.call(this,n,e)}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function C5(n,e){Oe.call(this,n,e)}function M5(n,e){Oe.call(this,n,e)}function m8(n,e){Oe.call(this,n,e)}function uD(n,e){Oe.call(this,n,e)}function bE(n,e){Oe.call(this,n,e)}function S5(n,e){Oe.call(this,n,e)}function sD(n,e){Oe.call(this,n,e)}function wE(n,e){Oe.call(this,n,e)}function Nw(n,e){Oe.call(this,n,e)}function k8(n,e){Oe.call(this,n,e)}function A5(n,e){Oe.call(this,n,e)}function P5(n,e){Oe.call(this,n,e)}function y8(n,e){Oe.call(this,n,e)}function gE(n,e){Oe.call(this,n,e)}function xw(n,e){Oe.call(this,n,e)}function vE(n,e){Oe.call(this,n,e)}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function akn(n,e){this.a=n,this.b=e}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function Mr(n,e){this.a=n,this.b=e}function pE(n,e){Oe.call(this,n,e)}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function mkn(n,e){this.a=n,this.b=e}function kkn(n,e){this.a=n,this.b=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.b=n,this.a=e}function Ekn(n,e){this.b=n,this.a=e}function Tkn(n,e){this.b=n,this.a=e}function Ckn(n,e){this.a=n,this.b=e}function Mkn(n,e){this.a=n,this.b=e}function gie(n,e){!function z9e(n,e){if(I(e,239))return function jge(n,e){var t;if(null==(t=Qw(n.i,e)))throw C(new Kf("Node did not exist in input."));return YV(e,t),null}(n,u(e,33));if(I(e,186))return function Lge(n,e){var t;if(null==(t=te(n.k,e)))throw C(new Kf("Port did not exist in input."));return YV(e,t),null}(n,u(e,118));if(I(e,354))return function Xhe(n,e){return YV(e,te(n.f,e)),null}(n,u(e,137));if(I(e,352))return function pye(n,e){var t,l,a,d,g,v;if(!(g=u(te(n.c,e),183)))throw C(new Kf("Edge did not exist in input."));return l=g3(g),!t8((!e.a&&(e.a=new V(Mt,e,6,6)),e.a))&&(t=new yEn(n,l,v=new da),function Eie(n,e){!function w0e(n,e){var t;for(t=0;n.e!=n.i.gc();)ffe(e,oe(n),Q(t)),t!=Ze&&++t}(new re(n),e)}((!e.a&&(e.a=new V(Mt,e,6,6)),e.a),t),Xo(g,urn,v)),Aa(e,(We(),n2))&&!(!(a=u(hn(e,n2),74))||uCn(a))&&(Ir(a,new bmn(d=new da)),Xo(g,"junctionPoints",d)),Tp(g,"container",W8(e).k),null}(n,u(e,79));if(e)return null;throw C(new Kn(arn+Il(new Uu(S(M(Zn,1),rn,1,5,[e])))))}(n.a,u(e,56))}function Skn(n,e){!function i0e(n,e){return Ep(),W(n,new Mr(e,Q(e.e.c.length+e.g.c.length)))}(n.a,u(e,11))}function Akn(){return Z9n(),new DUn}function Pkn(){F$(),this.b=new sr}function Ikn(){OM(),this.a=new sr}function Okn(){AX(),xW.call(this)}function C2(n,e){Oe.call(this,n,e)}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function mE(n,e){this.a=n,this.b=e}function Fkn(n,e){this.a=n,this.b=e}function Lkn(n,e){this.a=n,this.b=e}function Nkn(n,e){this.a=n,this.b=e}function xkn(n,e){this.d=n,this.b=e}function xU(n,e){this.d=n,this.e=e}function Bkn(n,e){this.f=n,this.c=e}function j8(n,e){this.b=n,this.c=e}function BU(n,e){this.i=n,this.g=e}function _kn(n,e){this.e=n,this.a=e}function Rkn(n,e){this.a=n,this.b=e}function _U(n,e){n.i=null,yC(n,e)}function Kkn(n,e){return aL(n.a,e)}function kE(n){return L7(n.c,n.b)}function Qi(n){return n?n.dd():null}function B(n){return n??null}function ib(n){return typeof n===sv}function cb(n){return typeof n===pnn}function vr(n){return typeof n===YN}function ll(n,e){return n.Hd().Xb(e)}function yE(n,e){return function Fbe(n,e){for(ve(e);n.Ob();)if(!tQ(u(n.Pb(),10)))return!1;return!0}(n.Kc(),e)}function Dd(n,e){return 0==hc(n,e)}function I5(n,e){return 0!=hc(n,e)}function E8(n,e){return n.substr(e)}function Hkn(n){return Lu(n),n.d.gc()}function oD(n){return function gme(n,e){var r,i,c;for(r=new E(n.a.a);r.ae?1:0}function Eyn(n,e){return hc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function ece(n,e){null!=n.a&&Skn(e,n.a)}function Tyn(n){n.a=new mt,n.c=new mt}function AE(n){this.b=n,this.a=new X}function Cyn(n){this.b=new oan,this.a=n}function YU(n){Gz.call(this),this.a=n}function Myn(){rE.call(this,"Range",2)}function Syn(){zJ(),this.a=new rk(wcn)}function Kw(n,e,t){return aJ(e,t,n.c)}function ZU(n){return new fn(n.c,n.d)}function sce(n){return new fn(n.c,n.d)}function Ji(n){return new fn(n.a,n.b)}function Ayn(n,e){return function IEe(n,e,t){var r,i,c,o,f,h,l,a,d;for(!t&&(t=function awe(n){var e;return(e=new NI).a=n,e.b=function mwe(n){var e;return 0==n?"Etc/GMT":(n<0?(n=-n,e="Etc/GMT-"):e="Etc/GMT+",e+qPn(n))}(n),e.c=L(tn,q,2,2,6,1),e.c[0]=sOn(n),e.c[1]=sOn(n),e}(e.q.getTimezoneOffset())),i=6e4*(e.q.getTimezoneOffset()-t.a),h=f=new Dz(_r(tu(e.q.getTime()),i)),f.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,h=new Dz(_r(tu(e.q.getTime()),i))),a=new nb,l=n.a.length,c=0;c=97&&r<=122||r>=65&&r<=90){for(o=c+1;o=l)throw C(new Kn("Missing trailing '"));o+11)throw C(new Kn(Uk));for(a=Kc(n.e.Tg(),e),r=u(n.g,119),o=0;o0),c=u(a.a.Xb(a.c=--a.b),17);c!=r&&a.b>0;)n.a[c.p]=!0,n.a[r.p]=!0,ne(a.b>0),c=u(a.a.Xb(a.c=--a.b),17);a.b>0&&Qu(a)}}(n,e,t),t}function Lyn(n,e,t){n.a=1502^e,n.b=t^Ox}function mD(n,e,t){return n.a[e.g][t.g]}function hf(n,e){return n.a[e.c.p][e.p]}function gce(n,e){return n.e[e.c.p][e.p]}function vce(n,e){return n.c[e.c.p][e.p]}function pce(n,e){return n.j[e.p]=function S9e(n){var e,t,r,i;for(e=0,t=0,i=new E(n.j);i.a1||t>1)return 2;return e+t==1?2:0}(e)}function Gf(n,e){return n.a*=e,n.b*=e,n}function N5(n,e,t){return St(n.g,e,t),t}function Nyn(n){n.a=u(Bn(n.b.a,4),126)}function xyn(n){n.a=u(Bn(n.b.a,4),126)}function Mce(n){G8(n,Lqn),wN(n,function STe(n){var e,t,r,i,c;switch(G8(n,Lqn),(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i+(!n.c&&(n.c=new $n(he,n,5,8)),n.c).i){case 0:throw C(new Kn("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i?At(Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))):At(Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)))}if(1==(!n.b&&(n.b=new $n(he,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new $n(he,n,5,8)),n.c).i){if(i=Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)),c=Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82)),At(i)==At(c))return At(i);if(i==At(c))return i;if(c==At(i))return c}for(e=Ii(u(pe(r=gl(pf(S(M(Mf,1),rn,20,0,[(!n.b&&(n.b=new $n(he,n,4,7)),n.b),(!n.c&&(n.c=new $n(he,n,5,8)),n.c)])))),82));Ae(r);)if((t=Ii(u(pe(r),82)))!=e&&!Eb(t,e))if(At(t)==At(e))e=At(t);else if(!(e=a9e(e,t)))return null;return e}(n))}function pp(){pp=F,dA=new Fj(null)}function tz(){(tz=F)(),LUn=new md}function rz(){this.Bb|=256,this.Bb|=512}function re(n){this.i=n,this.f=this.i.j}function Vt(n,e,t){x8.call(this,n,e,t)}function OE(n,e,t){Vt.call(this,n,e,t)}function au(n,e,t){Vt.call(this,n,e,t)}function Byn(n,e,t){OE.call(this,n,e,t)}function iz(n,e,t){x8.call(this,n,e,t)}function Hw(n,e,t){x8.call(this,n,e,t)}function cz(n,e,t){WE.call(this,n,e,t)}function _yn(n,e,t){WE.call(this,n,e,t)}function Ryn(n,e,t){cz.call(this,n,e,t)}function Kyn(n,e,t){iz.call(this,n,e,t)}function qw(n,e){this.a=n,Gj.call(this,e)}function Hyn(n,e){this.a=n,CO.call(this,e)}function qyn(n,e){this.a=n,CO.call(this,e)}function Gyn(n,e){this.a=n,CO.call(this,e)}function uz(n){this.a=n,v4n.call(this,n.d)}function bl(n){this.c=n,this.a=this.c.a}function sz(n,e){this.a=e,CO.call(this,n)}function Uyn(n,e){this.a=e,X$.call(this,n)}function zyn(n,e){this.a=n,X$.call(this,e)}function oz(n,e){return function Hge(n,e,t){try{!function jwe(n,e,t){if(ve(e),t.Ob())for(RU(e,XTn(t.Pb()));t.Ob();)RU(e,n.a),RU(e,XTn(t.Pb()));return e}(n,e,t)}catch(i){throw I(i=jt(i),597)?C(new VX(i)):C(i)}return e}(n,new cl,e).a}function ue(n,e){return ve(e),new Wyn(n,e)}function Wyn(n,e){this.a=e,Uj.call(this,n)}function fz(n){this.b=n,this.a=this.b.a.e}function Xyn(n){n.b.Qb(),--n.d.f.d,iT(n.d)}function Vyn(n){tO.call(this,u(ve(n),35))}function Qyn(n){tO.call(this,u(ve(n),35))}function Jyn(){Oe.call(this,"INSTANCE",0)}function hz(n){if(!n)throw C(new Z9)}function lz(n){if(!n)throw C(new hu)}function az(n){if(!n)throw C(new ic)}function Yyn(){Yyn=F,$O(),dee=new t4n}function Hn(){Hn=F,td=!1,i4=!0}function Gs(n){U9.call(this,(_n(n),n))}function ts(n){U9.call(this,(_n(n),n))}function DE(n){Zv.call(this,n),this.a=n}function dz(n){np.call(this,n),this.a=n}function bz(n){up.call(this,n),this.a=n}function Zyn(){PE(this),jT(this),this._d()}function njn(n,e){this.a=e,Uj.call(this,n)}function ejn(n,e){return new VLn(n.a,n.b,e)}function $E(n,e){return n.lastIndexOf(e)}function wz(n,e,t){return n.indexOf(e,t)}function x5(n){return null==n?iu:xi(n)}function gz(n){return null!=n.a?n.a:null}function kD(n,e){return null!=e6(n.a,e)}function du(n,e){return!!e&&n.b[e.g]==e}function Ld(n){return n.$H||(n.$H=++HCe)}function tjn(n,e){return W(e.a,n.a),n.a}function rjn(n,e){return W(e.b,n.a),n.a}function Nd(n,e){return W(e.a,n.a),n.a}function xd(n){return ne(null!=n.a),n.a}function yD(n){Jq.call(this,new aV(n))}function vz(n,e){pJ.call(this,n,e,null)}function B5(n){this.a=n,Uq.call(this,n)}function FE(){FE=F,pA=new er(FKn,0)}function LE(n,e){return++n.b,W(n.a,e)}function pz(n,e){return++n.b,Jc(n.a,e)}function Xc(n,e){return u(it(n.b,e),15)}function _5(n){return Ki(n.a)||Ki(n.b)}function mz(n,e,t){return ISn(n,e,t,n.c)}function kz(n,e,t){u(o7(n,e),21).Fc(t)}function T8(n,e){w5(),this.a=n,this.b=e}function NE(n,e){y1(),this.b=n,this.c=e}function jD(n,e){YD(),this.f=e,this.d=n}function yz(n,e){cV(e,n),this.d=n,this.c=e}function j1(n){var e;e=n.a,n.a=n.b,n.b=e}function jz(n,e){return new nEn(n,n.gc(),e)}function S2(n){this.d=n,re.call(this,n)}function A2(n){this.c=n,re.call(this,n)}function C8(n){this.c=n,S2.call(this,n)}function ijn(){a5(),this.b=new K5n(this)}function gh(n){return os(n,Gb),new Oc(n)}function cjn(n){return $p(),parseInt(n)||-1}function rs(n,e,t){return n.substr(e,t-e)}function mp(n,e,t){return wz(n,ru(e),t)}function ED(n){return tX(n.c,n.c.length)}function TD(n){return null!=n.f?n.f:""+n.g}function CD(n){return ne(0!=n.b),n.a.a.c}function xE(n){return ne(0!=n.b),n.c.b.c}function M8(n){I(n,150)&&u(n,150).Gh()}function BE(n){return n.b=u(NCn(n.a),42)}function Ez(n){dp(),this.b=n,this.a=!0}function ujn(n){Wj(),this.b=n,this.a=!0}function sjn(n){n.d=new fjn(n),n.e=new we}function ojn(n){if(!n)throw C(new Ts)}function Tz(n){if(!n)throw C(new Z9)}function ub(n){if(!n)throw C(new hu)}function ne(n){if(!n)throw C(new ic)}function fjn(n){wW.call(this,n,null,null)}function hjn(){Oe.call(this,"POLYOMINO",0)}function ljn(n,e,t,r){qW.call(this,n,e,t,r)}function fr(n,e){return!!n.q&&Vu(n.q,e)}function kp(n,e,t){n.Zc(e).Rb(t)}function sb(n,e,t){return n.a+=e,n.b+=t,n}function Vce(n,e,t){return n.a*=e,n.b*=t,n}function S8(n,e,t){return n.a-=e,n.b-=t,n}function Cz(n,e){return n.a=e.a,n.b=e.b,n}function _E(n){return n.a=-n.a,n.b=-n.b,n}function ajn(n){this.c=n,this.a=1,this.b=1}function djn(n){this.c=n,nu(n,0),eu(n,0)}function bjn(n){Ct.call(this),l6(this,n)}function wjn(n){QN(),Rmn(this),this.mf(n)}function gjn(n,e){w5(),T8.call(this,n,e)}function Mz(n,e){y1(),NE.call(this,n,e)}function vjn(n,e){y1(),NE.call(this,n,e)}function pjn(n,e){y1(),Mz.call(this,n,e)}function Wu(n,e,t){Ju.call(this,n,e,t,2)}function MD(n,e){Cs(),eT.call(this,n,e)}function mjn(n,e){Cs(),MD.call(this,n,e)}function Sz(n,e){Cs(),MD.call(this,n,e)}function kjn(n,e){Cs(),Sz.call(this,n,e)}function Az(n,e){Cs(),eT.call(this,n,e)}function yjn(n,e){Cs(),Az.call(this,n,e)}function jjn(n,e){Cs(),eT.call(this,n,e)}function Pz(n,e,t){return qM(f7(n,e),t)}function SD(n,e){return Sl(n.e,u(e,49))}function Iz(n,e){e.$modCount=n.$modCount}function R5(){R5=F,h9=new at("root")}function yp(){yp=F,nj=new p9n,new m9n}function Ejn(){this.a=new Wd,this.b=new Wd}function Oz(){HIn.call(this),this.Bb|=Vr}function Tjn(){Oe.call(this,"GROW_TREE",0)}function eue(n){return null==n?null:function mTe(n){var e,t,r,i,c,o,f,h,l,a,d,v,m,T;if(GZ(),null==n)return null;if(0==(d=8*n.length))return"";for(v=d/24|0,c=null,c=L(Hs,Yf,25,4*(0!=(f=d%24)?v+1:v),15,1),l=0,a=0,e=0,t=0,r=0,o=0,i=0,h=0;h>24,l=(3&e)<<24>>24,m=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,T=-128&(r=n[i++])?(r>>6^252)<<24>>24:r>>6<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[m|l<<4],c[o++]=el[a<<2|T],c[o++]=el[63&r];return 8==f?(l=(3&(e=n[i]))<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[l<<4],c[o++]=61,c[o++]=61):16==f&&(a=(15&(t=n[i+1]))<<24>>24,l=(3&(e=n[i]))<<24>>24,m=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,c[o++]=el[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[o++]=el[m|l<<4],c[o++]=el[a<<2],c[o++]=61),Xs(c,0,c.length)}(n)}function tue(n){return null==n?null:function S5e(n){var e,t,r,c;if(TZ(),null==n)return null;for(e=L(Hs,Yf,25,2*(r=n.length),15,1),t=0;t>4],e[2*t+1]=PI[15&c];return Xs(e,0,e.length)}(n)}function Gh(n){null==n.o&&function e9e(n){if(n.pe()){var e=n.c;return n.o=e.qe()?"["+e.n:e.pe()?"["+e.ne():"[L"+e.ne()+";",n.b=e.me()+"[]",void(n.k=e.oe()+"[]")}var t=n.j,r=n.d;r=r.split("/"),n.o=bL(".",[t,bL("$",r)]),n.b=bL(".",[t,bL(".",r)]),n.k=r[r.length-1]}(n)}function sn(n){return q5(null==n||ib(n)),n}function Y(n){return q5(null==n||cb(n)),n}function Te(n){return q5(null==n||vr(n)),n}function Dz(n){this.q=new j.Date(Vd(n))}function A8(n,e){this.c=n,lp.call(this,n,e)}function RE(n,e){this.a=n,A8.call(this,n,e)}function cue(n,e){this.d=n,F4n(this),this.b=e}function $z(n,e){iF.call(this,n),this.a=e}function Fz(n,e){iF.call(this,n),this.a=e}function uue(n){sJ.call(this,0,0),this.f=n}function Lz(n,e,t){JT.call(this,n,e,t,null)}function Cjn(n,e,t){JT.call(this,n,e,t,null)}function fue(n,e){return u(Jd(n.b,e),149)}function hue(n,e){return u(Jd(n.c,e),229)}function AD(n){return u(un(n.a,n.b),287)}function Mjn(n){return new fn(n.c,n.d+n.a)}function Sjn(n){return is(),hyn(u(n,197))}function ob(){ob=F,Gin=Tn((Zu(),gd))}function lue(n,e){e.a?function Q8e(n,e){var i,c,o;if(!_8(n.a,e.b))throw C(new $i("Invalid hitboxes for scanline overlap calculation."));for(o=!1,c=new X9(new K5(new B5(new W9(n.a.a).a).b));f8(c.a.a);)if(i=u(BE(c.a).cd(),65),bwe(e.b,i))Bre(n.b.a,e.b,i),o=!0;else if(o)break}(n,e):kD(n.a,e.b)}function Ajn(n,e){Sf||W(n.a,e)}function Uf(n,e){return G8(e,Bnn),n.f=e,n}function Nz(n,e,t){return as(n,e,3,t)}function xz(n,e,t){return as(n,e,6,t)}function Bz(n,e,t){return as(n,e,9,t)}function P8(n,e,t){++n.j,n.Ki(),tF(n,e,t)}function Pjn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Ijn(n,e,t){n.Zc(e).Rb(t)}function Ojn(n,e,t){return YZ(n.c,n.b,e,t)}function _z(n,e){return(e&Ze)%n.d.length}function er(n,e){at.call(this,n),this.a=e}function Rz(n,e){sG.call(this,n),this.a=e}function PD(n,e){sG.call(this,n),this.a=e}function Djn(n,e){this.c=n,Yd.call(this,e)}function $jn(n,e){this.a=n,Fmn.call(this,e)}function I8(n,e){this.a=n,Fmn.call(this,e)}function Fjn(n){this.a=(os(n,Gb),new Oc(n))}function Ljn(n){this.a=(os(n,Gb),new Oc(n))}function O8(n){return!n.a&&(n.a=new $I),n.a}function Njn(n){return n>8?0:n+1}function Kz(n,e,t){return D2(n,u(e,22),t)}function xjn(n,e,t){return n.a+=Xs(e,0,t),n}function Hz(n,e){var t;return t=n.e,n.e=e,t}function gue(n,e){n[Ix].call(n,e)}function fb(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function Bjn(n){Cu(n.e),n.d.b=n.d,n.d.a=n.d}function D8(n){n.b?D8(n.b):n.f.c.zc(n.e,n.d)}function yo(n,e){return Bj(new Array(e),n)}function ID(n){return String.fromCharCode(n)}function _jn(){this.a=new X,this.b=new X}function Rjn(){this.a=new oq,this.b=new Vmn}function Kjn(){this.b=new $r,this.c=new X}function qz(){this.d=new $r,this.e=new $r}function Gz(){this.n=new $r,this.o=new $r}function KE(){this.n=new g2,this.i=new M2}function Hjn(){this.a=new y3n,this.b=new uwn}function qjn(){this.a=new X,this.d=new X}function Gjn(){this.b=new sr,this.a=new sr}function Ujn(){this.b=new we,this.a=new we}function zjn(){this.b=new M8n,this.a=new ogn}function Wjn(){KE.call(this),this.a=new $r}function K5(n){zbe.call(this,n,(eC(),W_))}function Uz(n,e,t,r){tT.call(this,n,e,t,r)}function zz(n,e,t){return as(n,e,11,t)}function ut(n,e){return n.a+=e.a,n.b+=e.b,n}function pr(n,e){return n.a-=e.a,n.b-=e.b,n}function Xjn(n,e){return null==tt(n.a,e,"")}function hb(n,e){pi.call(this,km+n+Ya+e)}function P2(n,e,t,r){V.call(this,n,e,t,r)}function Wz(n,e,t,r){V.call(this,n,e,t,r)}function Vjn(n,e,t,r){Wz.call(this,n,e,t,r)}function Qjn(n,e,t,r){aT.call(this,n,e,t,r)}function OD(n,e,t,r){aT.call(this,n,e,t,r)}function Xz(n,e,t,r){aT.call(this,n,e,t,r)}function Jjn(n,e,t,r){OD.call(this,n,e,t,r)}function Vz(n,e,t,r){OD.call(this,n,e,t,r)}function $n(n,e,t,r){Xz.call(this,n,e,t,r)}function Yjn(n,e,t,r){Vz.call(this,n,e,t,r)}function Zjn(n,e,t,r){WW.call(this,n,e,t,r)}function nEn(n,e,t){this.a=n,yz.call(this,e,t)}function eEn(n,e,t){this.c=e,this.b=t,this.a=n}function Qz(n,e){return n.Aj().Nh().Kh(n,e)}function Jz(n,e){return n.Aj().Nh().Ih(n,e)}function tEn(n,e){return _n(n),B(n)===B(e)}function Mn(n,e){return _n(n),B(n)===B(e)}function DD(n,e){return PO(k$n(n.a,e,!1))}function $D(n,e){return PO(y$n(n.a,e,!1))}function rEn(n,e){return n.b.sd(new x7n(n,e))}function Yz(n,e,t){return n.lastIndexOf(e,t)}function iEn(n){return n.c?Li(n.c.a,n,0):-1}function I2(n){return n==wd||n==Bh||n==Pc}function cEn(n,e){return I(e,15)&&lBn(n.c,e)}function FD(n,e){return!!yQ(n,e)}function Zz(n,e){this.c=n,s$.call(this,n,e)}function uEn(n){this.c=n,fD.call(this,JM,0)}function sEn(n,e){Goe.call(this,n,n.length,e)}function HE(n,e,t){return u(n.c,69).mk(e,t)}function nW(n,e,t){return function Yce(n,e,t){return e.Rk(n.e,n.c,t)}(n,u(e,332),t)}function oEn(n,e,t){return function R4e(n,e,t){var r,i,c;return r=e.ak(),c=e.dd(),i=r.$j()?kl(n,4,r,c,null,D3(n,r,c,I(r,99)&&0!=(u(r,18).Bb&Vr)),!0):kl(n,r.Kj()?2:1,r,c,r.zj(),-1,!0),t?t.Ei(i):t=i,t}(n,u(e,332),t)}function H5(n,e){return null==e?null:Sb(n.b,e)}function eW(n){return cb(n)?(_n(n),n):n.ke()}function qE(n){return!isNaN(n)&&!isFinite(n)}function fEn(n){zf(),this.a=(An(),new up(n))}function $8(n){Ep(),this.d=n,this.a=new Ow}function Ms(n,e,t){this.a=n,this.b=e,this.c=t}function hEn(n,e,t){this.a=n,this.b=e,this.c=t}function lEn(n,e,t){this.d=n,this.b=t,this.a=e}function LD(n){Tyn(this),zs(this),zr(this,n)}function bu(n){bD(this),gW(this.c,0,n.Pc())}function aEn(n){Qu(n.a),fPn(n.c,n.b),n.b=null}function dEn(n){this.a=n,wh(),tu(Date.now())}function bEn(){bEn=F,yin=new Yr,wA=new Yr}function ND(){ND=F,ain=new ri,$Un=new Bf}function wEn(){wEn=F,qne=L(Zn,rn,1,0,5,1)}function gEn(){gEn=F,see=L(Zn,rn,1,0,5,1)}function tW(){tW=F,oee=L(Zn,rn,1,0,5,1)}function zf(){zf=F,new hG((An(),An(),Gr))}function rW(n,e){if(!n)throw C(new Kn(e))}function iW(n){tT.call(this,n.d,n.c,n.a,n.b)}function xD(n){tT.call(this,n.d,n.c,n.a,n.b)}function cW(n,e,t){this.b=n,this.c=e,this.a=t}function GE(n,e,t){this.b=n,this.a=e,this.c=t}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function uW(n,e,t){this.a=n,this.b=e,this.c=t}function pEn(n,e,t){this.a=n,this.b=e,this.c=t}function sW(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.b=n,this.a=e,this.c=t}function UE(n,e,t){this.e=e,this.b=n,this.d=t}function BD(n){var e;return(e=new $ln).e=n,e}function oW(n){var e;return(e=new t9n).b=n,e}function F8(){F8=F,AA=new Ldn,PA=new Ndn}function jo(){jo=F,JWn=new pbn,YWn=new mbn}function _D(n,e){this.c=n,this.a=e,this.b=e-n}function kEn(n,e,t){this.a=n,this.b=e,this.c=t}function fW(n,e,t){this.a=n,this.b=e,this.c=t}function hW(n,e,t){this.a=n,this.b=e,this.c=t}function yEn(n,e,t){this.a=n,this.b=e,this.c=t}function jEn(n,e,t){this.a=n,this.b=e,this.c=t}function E1(n,e,t){this.e=n,this.a=e,this.c=t}function EEn(n,e,t){Cs(),jX.call(this,n,e,t)}function RD(n,e,t){Cs(),uX.call(this,n,e,t)}function lW(n,e,t){Cs(),uX.call(this,n,e,t)}function aW(n,e,t){Cs(),uX.call(this,n,e,t)}function TEn(n,e,t){Cs(),RD.call(this,n,e,t)}function dW(n,e,t){Cs(),RD.call(this,n,e,t)}function CEn(n,e,t){Cs(),dW.call(this,n,e,t)}function MEn(n,e,t){Cs(),lW.call(this,n,e,t)}function SEn(n,e,t){Cs(),aW.call(this,n,e,t)}function L8(n,e){return ve(n),ve(e),new X8n(n,e)}function O2(n,e){return ve(n),ve(e),new REn(n,e)}function u(n,e){return q5(null==n||jL(n,e)),n}function jp(n){var e;return wF(e=new X,n),e}function AEn(n){var e;return PF(e=new mG,n),e}function N8(n){var e;return PF(e=new Ct,n),e}function Hoe(n){return!n.e&&(n.e=new X),n.e}function W(n,e){return n.c[n.c.length]=e,!0}function PEn(n,e){this.c=n,this.b=e,this.a=!1}function bW(n){this.d=n,F4n(this),this.b=function Lfe(n){return I(n,15)?u(n,15).Yc():n.Kc()}(n.d)}function IEn(){this.a=";,;",this.b="",this.c=""}function Goe(n,e,t){OTn.call(this,e,t),this.a=n}function OEn(n,e,t){this.b=n,Ukn.call(this,e,t)}function wW(n,e,t){this.c=n,iE.call(this,e,t)}function gW(n,e,t){BY(t,0,n,e,t.length,!1)}function vh(n,e,t,r,i){n.b=e,n.c=t,n.d=r,n.a=i}function vW(n,e,t,r,i){n.d=e,n.c=t,n.a=r,n.b=i}function pW(n){var e;e=n.b,n.b=n.c,n.c=e}function mW(n){var t;t=n.d,n.d=n.a,n.a=t}function kW(n){return Tl(function Jfe(n){return Bc(~n.l&Bu,~n.m&Bu,~n.h&o1)}(Fi(n)?Ws(n):n))}function Ep(){Ep=F,J(),Bon=qn,FP=Xn}function DEn(){this.b=K(Y(cn((Zo(),hR))))}function $En(n){return pa(),L(Zn,rn,1,n,5,1)}function Xoe(n){return new fn(n.c+n.b,n.d+n.a)}function KD(n){return ne(0!=n.b),Os(n,n.a.a)}function Qoe(n){return ne(0!=n.b),Os(n,n.c.b)}function yW(n,e){if(!n)throw C(new H9n(e))}function zE(n,e){if(!n)throw C(new Kn(e))}function jW(n,e,t){wp.call(this,n,e),this.b=t}function x8(n,e,t){xU.call(this,n,e),this.c=t}function FEn(n,e,t){lIn.call(this,e,t),this.d=n}function EW(n){tW(),mj.call(this),this.th(n)}function LEn(n,e,t){this.a=n,Bw.call(this,e,t)}function NEn(n,e,t){this.a=n,Bw.call(this,e,t)}function WE(n,e,t){xU.call(this,n,e),this.c=t}function xEn(){Bp(),whe.call(this,(fl(),ao))}function BEn(n){return null!=n&&!oL(n,A9,P9)}function Joe(n,e){return(WDn(n)<<4|WDn(e))&Gt}function ka(n,e){n.n&&W(n.f,e)}function Tp(n,e,t){Xo(n,e,new bb(t))}function TW(n,e){return n.g=e<0?-1:e,n}function XE(n,e){return function x0e(n){var e;return(e=j.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=e,n.b/=e),n}(n),n.a*=e,n.b*=e,n}function _En(n,e,t,r,i){n.c=e,n.d=t,n.b=r,n.a=i}function Ke(n,e){return Rt(n,e,n.c.b,n.c),!0}function CW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function HD(n){this.b=n,this.a=_d(this.b.a).Ed()}function REn(n,e){this.b=n,this.a=e,nO.call(this)}function KEn(n,e){this.a=n,this.b=e,nO.call(this)}function HEn(n,e){OTn.call(this,e,1040),this.a=n}function B8(n){return 0==n||isNaN(n)?n:n<0?-1:1}function Bd(n,e){return F6(n,new wp(e.a,e.b))}function VE(n){var e;return n.a.b+(e=n.n).d+e.a}function qEn(n){var e;return n.e.b+(e=n.n).d+e.a}function MW(n){var e;return n.e.a+(e=n.n).b+e.c}function GEn(n){return Qe(),new ph(0,n)}function q5(n){if(!n)throw C(new cp(null))}function UEn(){UEn=F,An(),QH=new uO(E_)}function QE(){QE=F,new EJ((vO(),L_),(pO(),F_))}function zEn(){zEn=F,Vrn=L(qr,q,19,256,0,1)}function qD(n,e,t,r){YQ.call(this,n,e,t,r,0,0)}function GD(n){return n.e.c.length+n.g.c.length}function WEn(n){return n.e.c.length-n.g.c.length}function XEn(n){return n.b.c.length-n.e.c.length}function VEn(n){tW(),EW.call(this,n),this.a=-1}function JE(n,e){j8.call(this,n,e),this.a=this}function Et(n,e){var t;return(t=l$(n,e)).i=2,t}function YE(n,e){return++n.j,n.Ti(e)}function Ye(n,e,t){return n.a=-1,kz(n,e.g,t),n}function ffe(n,e,t){!function nTe(n,e,t,r,i){var c,o,f,g,v,z,en,ln,wn,Gn,zn,se;null==(Gn=te(n.e,r))&&(v=u(Gn=new v2,183),g=new bb(e+"_s"+i),Xo(v,uh,g)),L2(t,wn=u(Gn,183)),Ta(se=new v2,"x",r.j),Ta(se,"y",r.k),Xo(wn,Aqn,se),Ta(en=new v2,"x",r.b),Ta(en,"y",r.c),Xo(wn,"endPoint",en),!t8((!r.a&&(r.a=new Vt(fo,r,5)),r.a))&&(c=new amn(z=new da),Ir((!r.a&&(r.a=new Vt(fo,r,5)),r.a),c),Xo(wn,BS,z)),!!TL(r)&&gY(n.a,wn,orn,eN(n,TL(r))),!!CL(r)&&gY(n.a,wn,srn,eN(n,CL(r))),!(0==(!r.e&&(r.e=new $n(Mt,r,10,9)),r.e).i)&&(o=new Dkn(n,ln=new da),Ir((!r.e&&(r.e=new $n(Mt,r,10,9)),r.e),o),Xo(wn,hrn,ln)),0!=(!r.g&&(r.g=new $n(Mt,r,9,10)),r.g).i&&(f=new $kn(n,zn=new da),Ir((!r.g&&(r.g=new $n(Mt,r,9,10)),r.g),f),Xo(wn,frn,zn))}(n.a,n.b,n.c,u(e,202),t)}function UD(n,e,t){return new eEn(function ghe(n){return 0>=n?new eU:function tbe(n){return 0>n?new eU:new Fz(null,new pAn(n+1,n))}(n-1)}(n).Ie(),t,e)}function ya(n,e,t,r,i,c){return ZFn(n,e,t,r,i,0,c)}function QEn(){QEn=F,zrn=L(yv,q,217,256,0,1)}function JEn(){JEn=F,Qrn=L(A0,q,162,256,0,1)}function YEn(){YEn=F,Zrn=L(P0,q,184,256,0,1)}function ZEn(){ZEn=F,Xrn=L(Im,q,172,128,0,1)}function SW(){vh(this,!1,!1,!1,!1)}function zD(n){wb(),this.a=(An(),new uO(ve(n)))}function ZE(n){for(ve(n);n.Ob();)n.Pb(),n.Qb()}function AW(n){this.c=n,this.b=this.c.d.vc().Kc()}function nTn(n){this.c=n,this.a=new y2(this.c.a)}function G5(n){this.a=new k2(n.gc()),zr(this,n)}function PW(n){Jq.call(this,new Sa),zr(this,n)}function eTn(n,e){return n.a+=Xs(e,0,e.length),n}function un(n,e){return Ln(e,n.c.length),n.c[e]}function tTn(n,e){return Ln(e,n.a.length),n.a[e]}function Dn(n,e){pa(),iF.call(this,n),this.a=e}function IW(n,e){return function bfe(n,e){return _a(_r(_a(n.a).a,e.a))}(u(n,162),u(e,162))}function rTn(n){return n.c-u(un(n.a,n.b),287).b}function iTn(n){return n.q?n.q:(An(),An(),$h)}function cTn(n){return n.e.Hd().gc()*n.c.Hd().gc()}function OW(n,e,t){return j.Math.min(t/n,1/e)}function uTn(n,e){return n?0:j.Math.max(0,e-1)}function sTn(n){var e;return(e=eLn(n))?sTn(e):n}function Tfe(n,e){return null==n.a&&gBn(n),n.a[e]}function Xu(n){return n.c?n.c.f:n.e.b}function wu(n){return n.c?n.c.g:n.e.a}function nT(n){Yd.call(this,n.gc()),Dt(this,n)}function eT(n,e){Cs(),Sj.call(this,e),this.a=n}function U5(n,e,t){this.a=n,Vt.call(this,e,t,2)}function tT(n,e,t,r){vW(this,n,e,t,r)}function ph(n,e){Qe(),yd.call(this,n),this.a=e}function oTn(n){this.b=new Ct,this.a=n,this.c=-1}function fTn(){this.d=new fn(0,0),this.e=new sr}function hTn(n){yz.call(this,0,0),this.a=n,this.b=0}function lTn(n){this.a=n,this.c=new we,function wwe(n){var e,t,r,i;for(r=0,i=(t=n.a).length;r>>e,i=n.m>>e|t<<22-e,r=n.l>>e|n.m<<22-e):e<44?(c=0,i=t>>>e-22,r=n.m>>e-22|n.h<<44-e):(c=0,i=0,r=t>>>e-44),Bc(r&Bu,i&Bu,c&o1)}(Fi(n)?Ws(n):n,e))}function Nfe(n,e){return function bue(n,e){return Hn(),n==e?0:n?1:-1}((_n(n),n),(_n(e),e))}function n$(n,e){return Jt((_n(n),n),(_n(e),e))}function MTn(n,e){return ve(e),n.a.Ad(e)&&!n.b.Ad(e)}function oT(n,e){return D7(n,(_n(e),new _4n(e)))}function fT(n,e){return D7(n,(_n(e),new R4n(e)))}function STn(n){return gu(),0!=u(n,11).e.c.length}function ATn(n){return gu(),0!=u(n,11).g.c.length}function PTn(n,e,t){return function ETe(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(0!=e.e.c.length&&0!=t.e.c.length){if((r=u(un(e.e,0),17).c.i)==(o=u(un(t.e,0),17).c.i))return Wc(u(k(u(un(e.e,0),17),(G(),bc)),19).a,u(k(u(un(t.e,0),17),bc),19).a);for(d=0,g=(a=n.a).length;df?1:0:(n.b&&(n.b._b(c)&&(i=u(n.b.xc(c),19).a),n.b._b(h)&&(f=u(n.b.xc(h),19).a)),if?1:0)):0!=e.e.c.length&&0!=t.g.c.length?1:-1}(n,u(e,11),u(t,11))}function Kfe(n){return n.e?sV(n.e):null}function UW(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function Cp(n,e){if(n<0||n>=e)throw C(new wG)}function ITn(n,e,t){return gg(),Yp(n,e)&&Yp(n,t)}function X5(n){return Su(),!n.Hc(w1)&&!n.Hc(na)}function hT(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function e$(n,e){return e.kh()?Sl(n.b,u(e,49)):e}function zW(n,e){this.e=n,this.d=64&e?e|Jf:e}function OTn(n,e){this.c=0,this.d=n,this.b=64|e|Jf}function lT(n){this.b=new Oc(11),this.a=(zw(),n)}function t$(n){this.b=null,this.a=(zw(),n||fin)}function DTn(n){this.a=eFn(n.a),this.b=new bu(n.b)}function $Tn(n){this.b=n,S2.call(this,n),Nyn(this)}function FTn(n){this.b=n,C8.call(this,n),xyn(this)}function db(n,e,t){this.a=n,P2.call(this,e,t,5,6)}function WW(n,e,t,r){this.b=n,Vt.call(this,e,t,r)}function dr(n,e,t,r,i){sF.call(this,n,e,t,r,i,-1)}function V5(n,e,t,r,i){i7.call(this,n,e,t,r,i,-1)}function V(n,e,t,r){Vt.call(this,n,e,t),this.b=r}function aT(n,e,t,r){x8.call(this,n,e,t),this.b=r}function LTn(n){Bkn.call(this,n,!1),this.a=!1}function NTn(n,e){this.b=n,v4n.call(this,n.b),this.a=e}function xTn(n,e){wb(),Wre.call(this,n,RC(new Uu(e)))}function dT(n,e){return Qe(),new sX(n,e,0)}function r$(n,e){return Qe(),new sX(6,n,e)}function Ufe(n,e){return Mn(n.substr(0,e.length),e)}function Vu(n,e){return vr(e)?C$(n,e):!!Ai(n.f,e)}function Ar(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Gw(n,e,t){Dl(),this.e=n,this.d=e,this.a=t}function T1(n,e,t,r){var i;(i=n.i).i=e,i.a=t,i.b=r}function XW(n){var e;for(e=n;e.f;)e=e.f;return e}function F2(n){var e;return ne(null!=(e=p6(n))),e}function zfe(n){var e;return ne(null!=(e=function Oge(n){var e;return null==(e=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,St(n.a,n.c,null),e)}(n))),e}function Mp(n,e){var t;return cV(e,t=n.a.gc()),t-e}function VW(n,e){var t;for(t=0;tn||n>e)throw C(new RG("fromIndex: 0, toIndex: "+n+Ann+e))}(e,n.length),new HEn(n,e)}(n,n.length))}function gl(n){return new ie(new sz(n.a.length,n.a))}function u$(n){return typeof n===wk||typeof n===ZN}function BTn(n,e){return hc(n,e)<0?-1:hc(n,e)>0?1:0}function nX(n,e,t){return P_n(n,u(e,46),u(t,167))}function _Tn(n,e){return u(GW(_d(n.a)).Xb(e),42).cd()}function s$(n,e){this.d=n,re.call(this,n),this.e=e}function Rd(n){this.d=(_n(n),n),this.a=0,this.c=JM}function eX(n,e){yd.call(this,1),this.a=n,this.b=e}function RTn(n,e){return n.c?RTn(n.c,e):W(n.b,e),n}function the(n,e,t){var r;return r=yb(n,e),U$(n,e,t),r}function tX(n,e){return mV(n.slice(0,e),n)}function KTn(n,e,t){var r;for(r=0;r=14&&t<=16);case 11:return null!=e&&typeof e===ZN;case 12:return null!=e&&(typeof e===wk||typeof e==ZN);case 0:return jL(e,n.__elementTypeId$);case 2:return u$(e)&&e.im!==wt;case 1:return u$(e)&&e.im!==wt||jL(e,n.__elementTypeId$);default:return!0}}(n,t)),n[e]=t}function cX(n,e){var t;return J8(e,t=n.a.gc()),t-1-e}function Ap(n,e){return n.a+=String.fromCharCode(e),n}function vl(n,e){return n.a+=String.fromCharCode(e),n}function b$(n,e){for(_n(e);n.c0?(iM(n,t,0),t.a+=String.fromCharCode(r),iM(n,t,i=z2e(e,c)),c+=i-1):39==r?c+1=n.g}function g$(n,e,t){return IZ(n,SF(n,e,t))}function L2(n,e){var t;yb(n,t=n.a.length),U$(n,t,e)}function tCn(n,e){console[n].call(console,e)}function rCn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function uX(n,e,t){Sj.call(this,e),this.a=n,this.b=t}function sX(n,e,t){yd.call(this,n),this.a=e,this.b=t}function oX(n,e,t){this.a=n,sG.call(this,e),this.b=t}function iCn(n,e,t){this.a=n,BX.call(this,8,e,null,t)}function whe(n){this.a=(_n(Le),Le),this.b=n,new AG}function cCn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function fX(n){this.c=n,this.b=n.a.d.a,Iz(n.a.e,this)}function Qu(n){ub(-1!=n.c),n.d.$c(n.c),n.b=n.c,n.c=-1}function Y5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Hd(n,e){return Cp(e,n.a.c.length),un(n.a,e)}function Wf(n,e){return B(n)===B(e)||null!=n&&et(n,e)}function uCn(n){return n?n.dc():!n.Kc().Ob()}function Rr(n){return!n.a&&n.c?n.c.b:n.a}function phe(n){return!n.a&&(n.a=new Vt(ea,n,4)),n.a}function qd(n){return!n.d&&(n.d=new Vt(hi,n,1)),n.d}function _n(n){if(null==n)throw C(new Z4);return n}function Z5(n){n.c?n.c.He():(n.d=!0,function E8e(n){var e,t,r,i,c;if(c=new X,Zc(n.b,new e5n(c)),n.b.c=L(Zn,rn,1,0,5,1),0!=c.c.length){for(Ln(0,c.c.length),e=u(c.c[0],78),t=1,r=c.c.length;t0;)n=n<<1|(n<0?1:0);return n}function mc(n,e){return B(n)===B(e)||null!=n&&et(n,e)}function ai(n,e){return VD(n.a,e)?n.b[u(e,22).g]:null}function Lhe(n,e,t,r){n.a=rs(n.a,0,e)+""+r+E8(n.a,t)}function pCn(n,e){n.u.Hc((Su(),w1))&&function _6e(n,e){var t,r,i,c;for(t=(c=u(ai(n.b,e),124)).a,i=u(u(it(n.r,e),21),84).Kc();i.Ob();)(r=u(i.Pb(),111)).c&&(t.a=j.Math.max(t.a,MW(r.c)));if(t.a>0)switch(e.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}(n,e),function yde(n,e){var t;n.C&&((t=u(ai(n.b,e),124).n).d=n.C.d,t.a=n.C.a)}(n,e)}function Pr(n,e){return Ce(e,n.length),n.charCodeAt(e)}function mCn(){Ri.call(this,"There is no more element.")}function n6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function kCn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function Ge(n,e,t,r){return mOn(n,e,t,!1),KC(n,r),n}function pT(n){return!n.n&&(n.n=new V(_i,n,1,7)),n.n}function v$(n){return!n.c&&(n.c=new V(Ku,n,9,9)),n.c}function Op(n){return n.e==e4&&function Ste(n,e){n.e=e}(n,function tve(n,e){var t,r;return(t=e.Hh(n.a))&&null!=(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ze)))?r:e.ne()}(n.g,n.b)),n.e}function H8(n){return n.f==e4&&function Ate(n,e){n.f=e}(n,function qpe(n,e){var t,r;return(t=e.Hh(n.a))?(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ZS)),Mn(Gk,r)?z5(n,ss(e.Hj())):r):null}(n.g,n.b)),n.f}function Uw(n){var e;return!(e=n.b)&&(n.b=e=new h4n(n)),e}function dX(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Dp(n){if(Lu(n.d),n.d.d!=n.c)throw C(new Ts)}function bX(n,e){this.b=n,this.c=e,this.a=new y2(this.b)}function p$(n,e,t){this.a=Enn,this.d=n,this.b=e,this.c=t}function yCn(n,e){this.d=(_n(n),n),this.a=16449,this.c=e}function _he(n,e){ZDn(n,K(Zh(e,"x")),K(Zh(e,"y")))}function Rhe(n,e){ZDn(n,K(Zh(e,"x")),K(Zh(e,"y")))}function gt(n,e){return Ba(n),new Dn(n,new pV(e,n.a))}function Vc(n,e){return Ba(n),new Dn(n,new uV(e,n.a))}function mT(n,e){return Ba(n),new $z(n,new IAn(e,n.a))}function kT(n,e){return Ba(n),new Fz(n,new OAn(e,n.a))}function jCn(n){this.a=new X,this.e=L(be,q,48,n,0,2)}function m$(n,e,t,r){this.a=n,this.e=e,this.d=t,this.c=r}function yT(n,e,t,r){this.a=n,this.c=e,this.b=t,this.d=r}function wX(n,e,t,r){this.c=n,this.b=e,this.a=t,this.d=r}function ECn(n,e,t,r){this.c=n,this.b=e,this.d=t,this.a=r}function Ss(n,e,t,r){this.c=n,this.d=e,this.b=t,this.a=r}function TCn(n,e,t,r){this.a=n,this.d=e,this.c=t,this.b=r}function N2(n,e,t,r){Oe.call(this,n,e),this.a=t,this.b=r}function CCn(n,e,t,r){this.a=n,this.c=e,this.d=t,this.b=r}function Whe(n,e,t){(function rje(n,e){var t,r,i,c;for(function R0e(n){var e;for(e=0;e(r=Ht(t))&&++r,r}function zh(n){var t;return Gp(t=new jd,n),t}function y$(n){var t;return yY(t=new jd,n),t}function j$(n){return function cbe(n){var e;return I(e=k(n,(G(),rt)),160)?s$n(u(e,160)):null}(n)||null}function SCn(n){return!n.b&&(n.b=new V(lr,n,12,3)),n.b}function ACn(n,e,t){t.a?eu(n,e.b-n.f/2):nu(n,e.a-n.g/2)}function PCn(n,e,t,r){this.a=n,this.b=e,this.c=t,this.d=r}function ICn(n,e,t,r){this.a=n,this.b=e,this.c=t,this.d=r}function Ea(n,e,t,r){this.e=n,this.a=e,this.c=t,this.d=r}function OCn(n,e,t,r){this.a=n,this.c=e,this.d=t,this.b=r}function DCn(n,e,t,r){Cs(),TAn.call(this,e,t,r),this.a=n}function $Cn(n,e,t,r){Cs(),TAn.call(this,e,t,r),this.a=n}function FCn(n,e){this.a=n,cue.call(this,n,u(n.d,15).Zc(e))}function E$(n){this.f=n,this.c=this.f.e,n.f>0&&zFn(this)}function LCn(n,e,t,r){this.b=n,this.c=r,fD.call(this,e,t)}function NCn(n){return ne(n.b0?(j.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}(),n=new FI,K_=e?new RI:n}function S$(n,e){var t;return t=sl(n.gm),null==e?t:t+": "+e}function YCn(n,e){var t;return qSn(t=n.b.Qc(e),n.b.gc()),t}function G8(n,e){if(null==n)throw C(new p2(e));return n}function Ai(n,e){return EDn(n,e,function ele(n,e){return n.a.get(e)??new Array}(n,null==e?0:n.b.se(e)))}function k1e(n,e,t){return t>=0&&Mn(n.substr(t,e.length),e)}function kl(n,e,t,r,i,c,o){return new W$(n.e,e,t,r,i,c,o)}function ZCn(n,e,t,r,i,c){this.a=n,kF.call(this,e,t,r,i,c)}function nMn(n,e,t,r,i,c){this.a=n,kF.call(this,e,t,r,i,c)}function eMn(n,e){this.g=n,this.d=S(M(Fh,1),_1,10,0,[e])}function C1(n,e){this.e=n,this.a=Zn,this.b=TBn(e),this.c=e}function tMn(n,e){KE.call(this),SV(this),this.a=n,this.c=e}function U8(n,e,t,r){St(n.c[e.g],t.g,r),St(n.c[t.g],e.g,r)}function A$(n,e,t,r){St(n.c[e.g],e.g,t),St(n.b[e.g],e.g,r)}function AT(n,e,t,r){return t>=0?n.jh(e,t,r):n.Sg(null,t,r)}function P$(n){return 0==n.b.b?n.a.$e():KD(n.b)}function yX(n){return B(n.a)===B((IF(),WH))&&function Gje(n){var e,t,r,i,c,o,f,h,l,a;for(e=new YI,t=new YI,l=Mn(Hk,(i=q6(n.b,Le))?Te(Qo((!i.b&&(i.b=new Wu((Sn(),Jr),rc,i)),i.b),no)):null),h=0;h=0?n.sh(r,t):aZ(n,e,t)}function Ww(n,e,t){FT(),n&&tt(GH,n,e),n&&tt(Yy,n,t)}function sMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function DT(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function TX(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function oMn(n,e){PE(this),this.f=e,this.g=n,jT(this),this._d()}function z8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),G6(n,t)}function fMn(n,e){var t;for(ve(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function hMn(n){var e;return wQ(e=new Kj(jb(n.length)),n),e}function Wh(n,e){if(null==e)throw C(new Z4);return function W2e(n,e){var r,t=n.a;e=String(e),t.hasOwnProperty(e)&&(r=t[e]);var i=(FF(),H_)[typeof r];return i?i(r):AQ(typeof r)}(n,e)}function W8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function lf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function lMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function aMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function dMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function bMn(n,e){var t;return(t=n.Yg(e))>=0?n.lh(t):uN(n,e)}function wMn(n,e){var t;return gLn(t=new PW(e),n),new bu(t)}function CX(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function gMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function D$(n,e){return j.Math.abs(n)>16!=3?null:u(n.Cb,147)}function Fp(n){return n.Db>>16!=6?null:u(n.Cb,235)}function gb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function kMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ki(n,e,t){return null==e?Rc(n.f,null,t):u0(n.g,e,t)}function t6(n,e,t,r,i,c){return new Jh(n.e,e,n.aj(),t,r,i,c)}function X8(n,e,t){return n.a=rs(n.a,0,e)+""+t+E8(n.a,e),n}function rle(n,e,t){return W(n.a,(vT(),IL(e,t),new Id(e,t))),n}function MX(n){return az(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function yMn(n){return az(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function jr(n,e){n.d&&Jc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Br(n,e){n.c&&Jc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yi(n,e){n.c&&Jc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hi(n,e){n.i&&Jc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function jMn(n,e,t){this.a=e,this.c=n,this.b=(ve(t),new bu(t))}function EMn(n,e,t){this.a=e,this.c=n,this.b=(ve(t),new bu(t))}function TMn(n,e){this.a=n,this.c=Ji(this.a),this.b=new ST(e)}function vb(n,e){if(n<0||n>e)throw C(new pi(Onn+n+Dnn+e))}function SX(n,e){return bTn(n.a,e)?JW(n,u(e,22).g,null):null}function CMn(){CMn=F,gUn=Fe(($j(),S(M(wUn,1),U,538,0,[B_])))}function MMn(){MMn=F,tJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function AX(){AX=F,rJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function SMn(){SMn=F,cJn=Tu(new or,(Wr(),Oi),(ti(),uy))}function AMn(){AMn=F,kJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function is(){is=F,EJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function PMn(){PMn=F,TJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function F$(){F$=F,PJn=Ye(new or,(Wr(),Oi),(ti(),Nm))}function IMn(){IMn=F,wYn=Tu(new or,(p3(),u9),(N6(),HK))}function Ca(n,e,t,r){this.c=n,this.d=r,N$(this,e),x$(this,t)}function _2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function L$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function N$(n,e){n.a&&Jc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function x$(n,e){n.b&&Jc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function OMn(n,e){(function bhe(n,e,t){u(e.b,65),Zc(e.a,new fW(n,t,e))})(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65)}function B$(n,e){I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),4),Dc(n,e)}function LT(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Dc(n,e)}function yc(n,e){return Zr(),bF(e)?new JE(e,n):new j8(e,n)}function DMn(n){var t;return fp(),Gp(t=new jd,n),t}function $Mn(n){var t;return fp(),Gp(t=new jd,n),t}function FMn(n,e){var t;return t=new Us(n),e.c[e.c.length]=t,t}function LMn(n,e){var t;return(t=u(Sb(B2(n.a),e),14))?t.gc():0}function NMn(n){return Ba(n),zw(),zw(),hC(n,hin)}function xMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function PX(n,e){Jte.call(this,new k2(jb(n))),os(e,QRn),this.a=e}function yh(n,e,t){GDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function BMn(n,e,t){GDn(e,t,n.c.length),ZG(n.c,e,t-e)}function Ln(n,e){if(n<0||n>=e)throw C(new pi(Onn+n+Dnn+e))}function Ce(n,e){if(n<0||n>=e)throw C(new KG(Onn+n+Dnn+e))}function Fn(n,e){this.b=(_n(n),n),this.a=e&Ub?e:64|e|Jf}function _Mn(n){gyn(this),Qmn(this.a,dQ(j.Math.max(8,n))<<1)}function df(n){return Gi(S(M(hr,1),q,8,0,[n.i.n,n.n,n.a]))}function Nle(n,e){return function r9e(n,e,t){var r,i,c,o,f,h;if(o=new pj,f=Kc(n.e.Tg(),e),r=u(n.g,119),Zr(),u(e,66).Oj())for(c=0;c0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function sSn(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function oSn(n){return UD(n.e.Hd().gc()*n.c.Hd().gc(),16,new c4n(n))}function Vf(n){return u(yf(n,L(mR,eB,17,n.c.length,0,1)),474)}function V8(n){return u(yf(n,L(Fh,_1,10,n.c.length,0,1)),193)}function fSn(n,e,t){ve(n),function Dpe(n){var t,r,i;for(An(),ar(n.c,n.a),i=new E(n.c);i.a=0&&m=e)throw C(new pi(function v6e(n,e){if(n<0)return K6(GRn,S(M(Zn,1),rn,1,5,["index",Q(n)]));if(e<0)throw C(new Kn(URn+e));return K6("%s (%s) must be less than size (%s)",S(M(Zn,1),rn,1,5,["index",Q(n),Q(e)]))}(n,e)));return n}function aSn(n,e,t){if(n<0||et)throw C(new pi(function H5e(n,e,t){return n<0||n>t?LY(n,t,"start index"):e<0||e>t?LY(e,t,"end index"):K6("end index (%s) must not be less than start index (%s)",S(M(Zn,1),rn,1,5,[Q(e),Q(n)]))}(n,e,t)))}function H$(n,e){if(tr(n.a,e),e.d)throw C(new Ri(pKn));e.d=n}function q$(n,e){if(e.$modCount!=n.$modCount)throw C(new Ts)}function dSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function bSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function wSn(n,e){return!!I(e,42)&&DL(n.a,u(e,42))}function Vd(n){var e;return Fi(n)?-0==(e=n)?0:e:function b0e(n){return UJ(n,(qp(),Grn))<0?-function Ice(n){return n.l+n.m*hv+n.h*za}(i3(n)):n.l+n.m*hv+n.h*za}(n)}function _T(n){var e;return ml(n),e=new pd,$w(n.a,new Q4n(e)),e}function gSn(n){var e;return ml(n),e=new Mi,$w(n.a,new V4n(e)),e}function Sr(n,e){this.a=n,V4.call(this,n),vb(e,n.gc()),this.b=e}function xX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function RT(n){return new Oc((os(n,tx),oC(_r(_r(5,n),n/10|0))))}function vSn(n){return u(yf(n,L(BWn,XKn,11,n.c.length,0,1)),1943)}function oae(n,e,t){n.d&&Jc(n.d.e,n),n.d=e,n.d&&lb(n.d.e,t,n)}function G$(n,e){(function eCe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N;if($=0,0==e.f.b)for(T=new E(n);T.a2e3&&(mUn=n,oA=j.setTimeout(Gre,10)),0==sA++&&(function p0e(n){var e,t;if(n.a){t=null;do{e=n.a,n.a=null,t=HLn(e,t)}while(n.a);n.a=t}}((BG(),Rrn)),!0)}();try{return function wue(n,e,t){return n.apply(e,t)}(n,e,t)}finally{!function yae(n){n&&function v0e(n){var e,t;if(n.b){t=null;do{e=n.b,n.b=null,t=HLn(e,t)}while(n.b);n.b=t}}((BG(),Rrn)),--sA,n&&-1!=oA&&(function cie(n){j.clearTimeout(n)}(oA),oA=-1)}(r)}}function pSn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function or(){D9n.call(this),this.j.c=L(Zn,rn,1,0,5,1),this.a=-1}function BX(n,e,t,r){this.d=n,this.n=e,this.g=t,this.o=r,this.p=-1}function mSn(n,e,t,r){this.e=r,this.d=null,this.c=n,this.a=e,this.b=t}function _X(n,e,t){this.d=new s6n(this),this.e=n,this.i=e,this.f=t}function KT(){KT=F,ZR=new jU(q3,0),$un=new jU("TOP_LEFT",1)}function kSn(){kSn=F,xon=wCn(Q(1),Q(4)),Non=wCn(Q(1),Q(2))}function ySn(){ySn=F,hZn=Fe((Jj(),S(M(fZn,1),U,551,0,[hH])))}function jSn(){jSn=F,oZn=Fe((Qj(),S(M(Nfn,1),U,482,0,[fH])))}function ESn(){ESn=F,AZn=Fe((d5(),S(M(rhn,1),U,530,0,[Py])))}function TSn(){TSn=F,Fzn=Fe((Xj(),S(M(Win,1),U,481,0,[rR])))}function CSn(n,e,t,r){return I(t,54)?new ljn(n,e,t,r):new qW(n,e,t,r)}function MSn(n,e){return u(xd(oT(u(it(n.k,e),15).Oc(),xg)),113)}function SSn(n,e){return u(xd(fT(u(it(n.k,e),15).Oc(),xg)),113)}function kae(n){return new Fn(function vbe(n,e){var t,r;for(An(),r=new X,t=0;t0}function _e(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function RX(n,e){_n(e),St(n.a,n.c,e),n.c=n.c+1&n.a.length-1,PFn(n)}function yl(n,e){_n(e),n.b=n.b-1&n.a.length-1,St(n.a,n.b,e),PFn(n)}function PSn(n,e){var t;for(t=n.j.c.length;t0&&vc(n.g,0,e,0,n.i),e}function $Sn(n,e){var t;return nE(),!(t=u(te(jI,n),55))||t.wj(e)}function Vh(n){var e;for(e=0;n.Ob();)n.Pb(),e=_r(e,1);return oC(e)}function FSn(n,e){var t;return t=new nb,n.xd(t),t.a+="..",e.yd(t),t.a}function HT(n,e,t){return _M(n,e,t,I(e,99)&&0!=(u(e,18).Bb&Vr))}function Rae(n,e,t){return function f9e(n,e,t,r){var i,c,o,f,h,l;if(f=new pj,h=Kc(n.e.Tg(),e),i=u(n.g,119),Zr(),u(e,66).Oj())for(o=0;on.c));o++)i.a>=n.s&&(c<0&&(c=o),f=o);return h=(n.s+n.c)/2,c>=0&&(h=function iie(n){return(n.c+n.a)/2}((Ln(r=function V7e(n,e,t,r){var i,c,o,f,h,l,a,d,g,v,p;if(c=t,t=t&&(r=e,h.c<=(l=(h.c+h.a)/2)-t&&lb(n,r++,new _D(h.c,l-t)),(f=l+t)<=h.a&&(c=new _D(f,h.a),vb(r,n.c.length),v5(n.c,r,c)))}(e,r,t)),h}(i,t,r))),function r5e(n,e,t){var r,i,c,o;for(c=e.q,o=e.r,new Ca((zo(),Xl),e,c,1),new Ca(Xl,c,o,1),i=new E(t);i.a0;)r+=n.a[t],t-=t&-t;return r}function dAn(n,e){var t;for(t=e;t;)sb(n,-t.i,-t.j),t=At(t);return n}function Ir(n,e){var t,r;for(_n(e),r=n.Kc();r.Ob();)t=r.Pb(),e.td(t)}function bAn(n,e){var t;return new Id(t=e.cd(),n.e.pc(t,u(e.dd(),14)))}function Rt(n,e,t,r){var i;(i=new mt).c=e,i.b=t,i.a=r,r.b=t.a=i,++n.b}function Ps(n,e,t){var r;return Ln(e,n.c.length),r=n.c[e],n.c[e]=t,r}function V$(n){return n.c&&n.d?OX(n.c)+"->"+OX(n.d):"e_"+Ld(n)}function xp(n,e){return(Ba(n),f5(new Dn(n,new pV(e,n.a)))).sd(o4)}function Ur(n){return!(!n.c||!n.d||!n.c.i||n.c.i!=n.d.i)}function wAn(n){if(!n.c.Sb())throw C(new ic);return n.a=!0,n.c.Ub()}function Y8(n){n.i=0,h8(n.b,null),h8(n.c,null),n.a=null,n.e=null,++n.g}function VX(n){sie.call(this,null==n?iu:xi(n),I(n,78)?u(n,78):null)}function gAn(n){KRn(),Rmn(this),this.a=new Ct,jQ(this,n),Ke(this.a,n)}function vAn(){bD(this),this.b=new fn(Ft,Ft),this.a=new fn(Wt,Wt)}function pAn(n,e){this.c=0,this.b=e,zkn.call(this,n,17493),this.a=this.c}function Q$(n){UT(),!Sf&&(this.c=n,this.e=!0,this.a=new X)}function UT(){UT=F,Sf=!0,BUn=!1,_Un=!1,KUn=!1,RUn=!1}function QX(n,e){return!!I(e,149)&&Mn(n.c,u(e,149).c)}function JX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function J$(n,e){return u(Jd(n.d,e),23)||u(Jd(n.e,e),23)}function mAn(n){this.b=n,re.call(this,n),this.a=u(Bn(this.b.a,4),126)}function kAn(n){this.b=n,A2.call(this,n),this.a=u(Bn(this.b.a,4),126)}function Du(n){return n.t||(n.t=new Imn(n),E6(new q9n(n),0,n.t)),n.t}function Bp(){var n,e;Bp=F,fp(),e=new Ij,MI=e,n=new dO,SI=n}function yAn(n){var e;return n.c||I(e=n.r,88)&&(n.c=u(e,26)),n.c}function Y$(n){return Bc(n&Bu,n>>22&Bu,n<0?o1:0)}function ade(n,e){var t,r;(t=u(function oge(n,e){ve(n);try{return n.Bc(e)}catch(t){if(I(t=jt(t),205)||I(t,173))return null;throw C(t)}}(n.c,e),14))&&(r=t.gc(),t.$b(),n.d-=r)}function jAn(n,e){var r;return!!(r=yQ(n,e.cd()))&&mc(r.e,e.dd())}function H2(n,e){return 0==e||0==n.e?n:e>0?m$n(n,e):Kxn(n,-e)}function YX(n,e){return 0==e||0==n.e?n:e>0?Kxn(n,e):m$n(n,-e)}function pe(n){if(Ae(n))return n.c=n.a,n.a.Pb();throw C(new ic)}function EAn(n){var t;return t=n.d.i,n.c.i.k==(Vn(),zt)&&t.k==zt}function Z$(n){var e;return Pi(e=new Ud,n),H(e,(nn(),Ci),null),e}function nF(n,e,t){var r;return(r=n.Yg(e))>=0?n._g(r,t,!0):b0(n,e,t)}function ZX(n,e,t,r){var i;for(i=0;ie)throw C(new pi(LY(n,e,"index")));return n}function eF(n,e,t,r){var i;return function T4e(n,e,t,r,i){var c,o;for(c=0,o=0;on.d[o.p]&&(t+=XX(n.b,c)*u(h.b,19).a,yl(n.a,Q(c)));for(;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}(n,t)}function $An(n){var e;return n.a||I(e=n.r,148)&&(n.a=u(e,148)),n.a}function sV(n){return n.a?n.e?sV(n.e):null:n}function QT(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function NAn(){NAn=F,ZUn=Fe((Vo(),S(M(ew,1),U,232,0,[nc,Nc,ec])))}function xAn(){xAn=F,ezn=Fe((Mu(),S(M(nzn,1),U,461,0,[oh,Kl,Oo])))}function BAn(){BAn=F,rzn=Fe((Yc(),S(M(tzn,1),U,462,0,[tf,Hl,Do])))}function _An(){_An=F,HUn=Fe((kf(),S(M(_u,1),U,132,0,[kin,ws,nw])))}function RAn(){RAn=F,pWn=Fe((f6(),S(M(bcn,1),U,379,0,[aR,lR,dR])))}function KAn(){KAn=F,$Wn=Fe((c0(),S(M(pcn,1),U,423,0,[Ng,vcn,pR])))}function HAn(){HAn=F,aXn=Fe((W2(),S(M(aun,1),U,314,0,[Cv,oy,lun])))}function qAn(){qAn=F,dXn=Fe((gC(),S(M(bun,1),U,337,0,[dun,ZA,_R])))}function GAn(){GAn=F,vXn=Fe((Fa(),S(M(gXn,1),U,450,0,[HR,p4,Rg])))}function UAn(){UAn=F,oXn=Fe((r0(),S(M(PR,1),U,361,0,[D0,Gl,O0])))}function zAn(){zAn=F,CXn=Fe((Yh(),S(M(TXn,1),U,303,0,[hy,Hg,Mv])))}function WAn(){WAn=F,EXn=Fe((t3(),S(M(YR,1),U,292,0,[QR,JR,fy])))}function XAn(){XAn=F,qQn=Fe((m6(),S(M(won,1),U,378,0,[AK,bon,PP])))}function VAn(){VAn=F,JQn=Fe((PC(),S(M(Aon,1),U,375,0,[Mon,NK,Son])))}function QAn(){QAn=F,WQn=Fe((n1(),S(M(Ton,1),U,339,0,[Wl,Eon,$K])))}function JAn(){JAn=F,QQn=Fe((ii(),S(M(VQn,1),U,452,0,[n9,Pu,xc])))}function YAn(){YAn=F,eJn=Fe((FC(),S(M(Lon,1),U,377,0,[RK,I4,gw])))}function ZAn(){ZAn=F,ZQn=Fe((f3(),S(M(Oon,1),U,336,0,[BK,Ion,e9])))}function nPn(){nPn=F,nJn=Fe((SC(),S(M(Fon,1),U,338,0,[$on,_K,Don])))}function ePn(){ePn=F,bJn=Fe((t0(),S(M(dJn,1),U,454,0,[Ey,t9,$P])))}function tPn(){tPn=F,yYn=Fe((UC(),S(M(kYn,1),U,442,0,[eH,ZK,nH])))}function rPn(){rPn=F,EYn=Fe((A7(),S(M(cfn,1),U,380,0,[UP,rfn,ifn])))}function iPn(){iPn=F,RYn=Fe((GC(),S(M(Efn,1),U,381,0,[jfn,sH,yfn])))}function cPn(){cPn=F,_Yn=Fe((AC(),S(M(mfn,1),U,293,0,[uH,pfn,vfn])))}function uPn(){uPn=F,sZn=Fe((F7(),S(M(oH,1),U,437,0,[XP,VP,QP])))}function sPn(){sPn=F,lne=Fe((e1(),S(M(a1n,1),U,334,0,[fI,Q1,m9])))}function oPn(){oPn=F,sne=Fe((vf(),S(M(n1n,1),U,272,0,[L4,kw,N4])))}function Aa(n,e){return!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),aL(n.o,e)}function t7(n){return!n.g&&(n.g=new vj),!n.g.c&&(n.g.c=new Pmn(n)),n.g.c}function tF(n,e,t){var r;if(null!=t)for(r=0;r=i){for(o=1;ot||e=0?n._g(t,!0,!0):b0(n,e,!0)}function wPn(){wPn=F,gYn=h0(h0(Zj(new or,(p3(),c9)),(N6(),BP)),qK)}function Vde(n){for(;!n.a;)if(!rEn(n.c,new J4n(n)))return!1;return!0}function z2(n){return ve(n),I(n,198)?u(n,198):new g4n(n)}function ZT(){ZT=F,$Zn=new t2n,LZn=new r2n,FZn=function Fwe(n,e,t,r){return vT(),new mO(S(M(ed,1),YM,42,0,[(IL(n,e),new Id(n,e)),(IL(t,r),new Id(t,r))]))}((We(),DH),$Zn,Ql,LZn)}function nC(){nC=F,efn=new $U("LEAF_NUMBER",0),tH=new $U("NODE_SIZE",1)}function oF(n){n.a=L(be,Ne,25,n.b+1,15,1),n.c=L(be,Ne,25,n.b,15,1),n.d=0}function vV(n,e){if(null==n.g||e>=n.i)throw C(new hD(e,n.i));return n.g[e]}function gPn(n,e,t){if(u3(n,t),null!=t&&!n.wj(t))throw C(new hO);return t}function vPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)O(n,e);return HX(n)}function Zde(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function n0e(n,e){var t;return _Sn(e),(t=mV(n.slice(0,e),n)).length=e,t}function Kp(n,e,t,r){zw(),r=r||fin,NY(n.slice(e,t),n,e,t,-e,r)}function Is(n,e,t,r,i){return e<0?b0(n,t,r):u(t,66).Nj().Pj(n,n.yh(),e,r,i)}function pPn(n,e){if(e.a)throw C(new Ri(pKn));tr(n.a,e),e.a=n,!n.j&&(n.j=e)}function pV(n,e){fD.call(this,e.rd(),-16449&e.qd()),_n(n),this.a=n,this.c=e}function mPn(n,e){var t,r;return r=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),U2(n,r,t)}function Mu(){Mu=F,oh=new xO(lv,0),Kl=new xO(q3,1),Oo=new xO(av,2)}function eC(){eC=F,W_=new rE("All",0),gin=new byn,vin=new Myn,pin=new wyn}function kPn(){kPn=F,NUn=Fe((eC(),S(M(bA,1),U,297,0,[W_,gin,vin,pin])))}function yPn(){yPn=F,SWn=Fe((r3(),S(M(MWn,1),U,405,0,[I0,rw,tw,Lg])))}function jPn(){jPn=F,Azn=Fe((i0(),S(M(Szn,1),U,406,0,[Qk,Vk,eR,tR])))}function EPn(){EPn=F,Izn=Fe((nv(),S(M(Pzn,1),U,323,0,[Yk,Jk,Zk,ny])))}function TPn(){TPn=F,$zn=Fe((P6(),S(M(Dzn,1),U,394,0,[ey,mA,kA,ty])))}function CPn(){CPn=F,JJn=Fe((p3(),S(M(Ron,1),U,393,0,[xP,c9,Cy,u9])))}function MPn(){MPn=F,zWn=Fe(($C(),S(M(UWn,1),U,360,0,[SR,zA,WA,sy])))}function SPn(){SPn=F,BYn=Fe((hM(),S(M(gfn,1),U,340,0,[cH,bfn,wfn,dfn])))}function APn(){APn=F,eXn=Fe((mf(),S(M(nXn,1),U,411,0,[Tv,d4,b4,AR])))}function PPn(){PPn=F,GQn=Fe((Ib(),S(M(IK,1),U,197,0,[IP,PK,Qg,Vg])))}function IPn(){IPn=F,Ane=Fe((Yu(),S(M(Sne,1),U,396,0,[ks,E1n,j1n,T1n])))}function OPn(){OPn=F,dne=Fe((hs(),S(M(ane,1),U,285,0,[Hy,Nh,Jl,Ky])))}function DPn(){DPn=F,one=Fe((r1(),S(M(NH,1),U,218,0,[LH,Ry,x4,Kv])))}function $Pn(){$Pn=F,Cne=Fe((XC(),S(M(y1n,1),U,311,0,[_H,p1n,k1n,m1n])))}function FPn(){FPn=F,Ene=Fe((Zu(),S(M(T9,1),U,374,0,[zy,gd,Uy,yw])))}function LPn(){LPn=F,RM(),cln=Ft,Oee=Wt,uln=new z9(Ft),Dee=new z9(Wt)}function u7(){u7=F,kun=new yU(f1,0),tP=new yU("IMPROVE_STRAIGHTNESS",1)}function mV(n,e){return 10!=l7(e)&&S(Fu(e),e.hm,e.__elementTypeId$,l7(e),n),n}function Jc(n,e){var t;return-1!=(t=Li(n,e,0))&&(M1(n,t),!0)}function NPn(n,e){var t;return(t=u(G2(n.e,e),387))?(CW(t),t.e):null}function Hp(n){var e;return Fi(n)&&(e=0-n,!isNaN(e))?e:Tl(i3(n))}function Li(n,e,t){for(;t0?(n.f[a.p]=v/(a.e.c.length+a.g.c.length),n.c=j.Math.min(n.c,n.f[a.p]),n.b=j.Math.max(n.b,n.f[a.p])):f&&(n.f[a.p]=v)}}(n,e,t),0==n.a.c.length||function Ake(n,e){var t,r,i,c,o,f,h,l,a,d;for(l=n.e[e.c.p][e.p]+1,h=e.c.a.c.length+1,f=new E(n.a);f.a=0?cM(n,t,!0,!0):b0(n,e,!0)}function TV(n,e){var t,r;return a5(),t=K2(n),r=K2(e),!!t&&!!r&&!Y$n(t.k,r.k)}function KPn(n){(this.q?this.q:(An(),An(),$h)).Ac(n.q?n.q:(An(),An(),$h))}function HPn(n,e){Uin=new bj,Ozn=e,u((Dm=n).b,65),hV(Dm,Uin,null),L_n(Dm)}function dF(n,e,t){var r;return r=n.g[e],N5(n,e,n.oi(e,t)),n.gi(e,t,r),n.ci(),r}function cC(n,e){var t;return(t=n.Xc(e))>=0&&(n.$c(t),!0)}function bF(n){var e;return n.d!=n.r&&(e=Vs(n),n.e=!!e&&e.Cj()==TGn,n.d=e),n.e}function wF(n,e){var t;for(ve(n),ve(e),t=!1;e.Ob();)t|=n.Fc(e.Pb());return t}function Jd(n,e){var t;return(t=u(te(n.e,e),387))?(Fyn(n,t),t.e):null}function qPn(n){var e,t;return e=n/60|0,0==(t=n%60)?""+e:e+":"+t}function qi(n,e){return Ba(n),new Dn(n,new uEn(new uV(e,n.a)))}function yb(n,e){var t=n.a[e],r=(FF(),H_)[typeof t];return r?r(t):AQ(typeof t)}function l7(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function gF(n){var e;return null!=(e=0==n.b.c.length?null:un(n.b,0))&&MF(n,0),e}function GPn(n,e){for(;e[0]=0;)++e[0]}function a7(n,e){this.e=e,this.a=xOn(n),this.a<54?this.f=Vd(n):this.c=B7(n)}function UPn(n,e,t,r){Qe(),yd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=r}function Eh(n,e,t){var r,i;for(r=10,i=0;in.a[r]&&(r=t);return r}function Vw(n,e){return 0==e.e||0==n.e?u4:(C3(),vN(n,e))}function h6(){h6=F,IWn=new Pan,OWn=new San,AWn=new Fan,PWn=new Lan,DWn=new Nan}function uC(){uC=F,Cin=new wU("BY_SIZE",0),J_=new wU("BY_SIZE_AND_SHAPE",1)}function sC(){sC=F,oR=new gU("EADES",0),EA=new gU("FRUCHTERMAN_REINGOLD",1)}function b7(){b7=F,nP=new kU("READING_DIRECTION",0),vun=new kU("ROTATION",1)}function WPn(){WPn=F,bXn=Fe((Ha(),S(M(gun,1),U,335,0,[RR,wun,KR,_m,Bm])))}function XPn(){XPn=F,UQn=Fe((I6(),S(M(von,1),U,315,0,[gon,OK,DK,Ym,Zm])))}function VPn(){VPn=F,rXn=Fe((hg(),S(M(tXn,1),U,363,0,[VA,JA,YA,QA,XA])))}function QPn(){QPn=F,SXn=Fe((Fs(),S(M(Wun,1),U,163,0,[wy,Gm,Ul,Um,sw])))}function JPn(){JPn=F,aZn=Fe((X7(),S(M(Kfn,1),U,316,0,[Bfn,aH,Rfn,dH,_fn])))}function YPn(){YPn=F,NZn=Fe((Jo(),S(M(V1,1),U,175,0,[Wn,wr,ah,ld,X1])))}function ZPn(){ZPn=F,uZn=Fe((P3(),S(M(cZn,1),U,355,0,[Yg,Nv,a9,l9,d9])))}function nIn(){nIn=F,jWn=Fe((Wr(),S(M(wcn,1),U,356,0,[fh,ql,Hc,Mc,Oi])))}function eIn(){eIn=F,une=Fe((ci(),S(M(v9,1),U,103,0,[Lh,Fo,co,a1,d1])))}function tIn(){tIn=F,wne=Fe((ig(),S(M(y9,1),U,249,0,[Yl,qy,d1n,k9,b1n])))}function rIn(){rIn=F,pne=Fe((J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])))}function vF(n,e){var t;return(t=u(te(n.a,e),134))||(t=new zI,tt(n.a,e,t)),t}function iIn(n){var e;return!!(e=u(k(n,(G(),$0)),305))&&e.a==n}function cIn(n){var e;return!!(e=u(k(n,(G(),$0)),305))&&e.i==n}function uIn(n,e){return _n(e),UW(n),!!n.d.Ob()&&(e.td(n.d.Pb()),!0)}function oC(n){return hc(n,Ze)>0?Ze:hc(n,Lr)<0?Lr:ge(n)}function jb(n){return n<3?(os(n,nKn),n+1):n=0&&e=-.01&&n.a<=Tf&&(n.a=0),n.b>=-.01&&n.b<=Tf&&(n.b=0),n}function oIn(n,e){return e==(ND(),ND(),$Un)?n.toLocaleLowerCase():n.toLowerCase()}function MV(n){return(2&n.i?"interface ":1&n.i?"":"class ")+(Gh(n),n.o)}function Ei(n){var t;t=new bO,me((!n.q&&(n.q=new V(lo,n,11,10)),n.q),t)}function fIn(n){this.g=n,this.f=new X,this.a=j.Math.min(this.g.c.c,this.g.d.c)}function hIn(n){this.b=new X,this.a=new X,this.c=new X,this.d=new X,this.e=n}function lIn(n,e){this.a=new we,this.e=new we,this.b=(m6(),PP),this.c=n,this.b=e}function aIn(n,e,t){KE.call(this),SV(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function dIn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=($j(),B_)}function Yd(n){if(n<0)throw C(new Kn("Illegal Capacity: "+n));this.g=this.ri(n)}function fC(n){var e;ub(!!n.c),e=n.c.a,Os(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function hC(n,e){var t;return Ba(n),t=new LCn(n,n.a.rd(),4|n.a.qd(),e),new Dn(n,t)}function lC(n,e){var r;for(r=n.Kc();r.Ob();)H(u(r.Pb(),70),(G(),Iv),e)}function S0e(n){var e;return(e=K(Y(k(n,(nn(),G1)))))<0&&H(n,G1,e=0),e}function bIn(n,e,t,r,i,c){var o;Br(o=Z$(r),i),jr(o,c),Cn(n.a,r,new GE(o,e,t.f))}function wIn(n,e){var t;if(!(t=ik(n.Tg(),e)))throw C(new Kn(_l+e+e_));return t}function Eb(n,e){var t;for(t=n;At(t);)if((t=At(t))==e)return!0;return!1}function Zc(n,e){var r,i,c;for(_n(e),i=0,c=(r=n.c).length;i>16!=6?null:u(fN(n),235)}(n))&&!e.kh()&&(n.w=e),e)}function B0e(n){var e;return null==n?null:function _4e(n,e){var r,i,c,o;if(null==n)return null;for(o=L(Hs,Yf,25,2*e,15,1),r=0,i=0;r>4&15],o[i++]=P1n[c];return Xs(o,0,o.length)}(e=u(n,190),e.length)}function O(n,e){if(null==n.g||e>=n.i)throw C(new hD(e,n.i));return n.li(e,n.g[e])}function _0e(n){var e,t;for(e=n.a.d.j,t=n.c.d.j;e!=t;)So(n.b,e),e=HC(e);So(n.b,e)}function pF(n,e){var r,i,c;for(i=0,c=(r=n.d).length;i=14&&e<=16)),n}function mIn(n,e,t){var r=function(){return n.apply(r,arguments)};return e.apply(r,t),r}function kIn(n,e,t){var r,i;r=e;do{i=K(n.p[r.p])+t,n.p[r.p]=i,r=n.a[r.p]}while(r!=e)}function Gp(n,e){var t,r;r=n.a,t=function kge(n,e,t){var r,i;return i=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,5,i,n.a),t?uY(t,r):t=r),t}(n,e,null),r!=e&&!n.e&&(t=L3(n,e,t)),t&&t.Fi()}function AV(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)}function PV(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)}function Qw(n,e){return function Kre(n){return n?n.i:null}(d6(n,e,ge(Fr(Ah,kh(ge(Fr(null==e?0:kt(e),Ph)),15)))))}function yIn(){yIn=F,xWn=Fe((Vn(),S(M(kR,1),U,267,0,[nr,br,zt,Sc,ns,Af])))}function jIn(){jIn=F,UZn=Fe(($b(),S(M(EH,1),U,291,0,[jH,Ly,Fy,yH,Dy,$y])))}function EIn(){EIn=F,_Zn=Fe((Th(),S(M(hhn,1),U,248,0,[mH,Iy,Oy,tI,nI,eI])))}function TIn(){TIn=F,hXn=Fe((tv(),S(M(v4,1),U,227,0,[g4,xm,w4,iw,_g,Bg])))}function CIn(){CIn=F,yXn=Fe((E3(),S(M(Dun,1),U,275,0,[Rm,Aun,Oun,Iun,Pun,Sun])))}function MIn(){MIn=F,kXn=Fe((z7(),S(M(Mun,1),U,274,0,[rP,Eun,Cun,jun,Tun,XR])))}function SIn(){SIn=F,HQn=Fe((pM(),S(M(don,1),U,313,0,[SK,lon,MK,hon,aon,AP])))}function AIn(){AIn=F,pXn=Fe((jM(),S(M(mun,1),U,276,0,[GR,qR,zR,UR,WR,eP])))}function PIn(){PIn=F,ZJn=Fe((N6(),S(M(YJn,1),U,327,0,[BP,qK,UK,GK,zK,HK])))}function IIn(){IIn=F,vne=Fe((Su(),S(M(hI,1),U,273,0,[na,w1,Gy,E9,j9,Hv])))}function OIn(){OIn=F,fne=Fe((kM(),S(M(u1n,1),U,312,0,[xH,r1n,c1n,e1n,i1n,t1n])))}function dC(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,0,t,n.a))}function bC(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,1,t,n.b))}function Up(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,3,t,n.b))}function n0(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,3,t,n.f))}function e0(n,e){var t;t=n.g,n.g=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,4,t,n.g))}function nu(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,5,t,n.i))}function eu(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,6,t,n.j))}function zp(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,1,t,n.j))}function Wp(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,4,t,n.c))}function Xp(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&nt(n,new mb(n,2,t,n.k))}function mF(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,2,t,n.d))}function P1(n,e){var t;t=n.s,n.s=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,4,t,n.s))}function Cb(n,e){var t;t=n.t,n.t=e,4&n.Db&&!(1&n.Db)&&nt(n,new z$(n,5,t,n.t))}function Vp(n,e){var t;t=n.F,n.F=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,5,t,e))}function w7(n,e){var t;return(t=u(te((nE(),jI),n),55))?t.xj(e):L(Zn,rn,1,e,5,1)}function Zh(n,e){var r;return e in n.a&&(r=Wh(n,e).he())?r.a:null}function U0e(n,e){var t,r;return Ad(),r=new jq,e&&vZ(r,e),BV(t=r,n),t}function DIn(n,e,t){if(u3(n,t),!n.Bk()&&null!=t&&!n.wj(t))throw C(new hO);return t}function $In(n,e){return n.n=e,n.n?(n.f=new X,n.e=new X):(n.f=null,n.e=null),n}function Me(n,e,t,r,i,c){var o;return LIn(t,o=l$(n,e)),o.i=i?8:0,o.f=r,o.e=i,o.g=c,o}function IV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=n,this.a=t}function OV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=n,this.a=t}function DV(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=n,this.a=t}function $V(n,e,t,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=n,this.a=t}function FV(n,e,t,r,i){this.d=e,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=n,this.a=t}function FIn(n,e){var r,i,c;for(i=0,c=(r=e).length;i=0),function U2e(n,e){var t,r,c;return c=n.c-e&(r=n.a.length-1),ojn((t=e-n.b&r)<(n.c-n.b&r)),t>=c?(function Gwe(n,e){var t,r;for(n.c=n.c-1&(t=n.a.length-1);e!=n.c;)St(n.a,e,n.a[r=e+1&t]),e=r;St(n.a,n.c,null)}(n,e),-1):(function Uwe(n,e){var t,r;for(t=n.a.length-1;e!=n.b;)St(n.a,e,n.a[r=e-1&t]),e=r;St(n.a,n.b,null),n.b=n.b+1&t}(n,e),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function LV(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=P7(n.f)),n.c).e}function Mo(n){if(!(n>=0))throw C(new Kn("tolerance ("+n+") must be >= 0"));return n}function Qp(){return vH||eg(vH=new EBn,S(M(Fg,1),rn,130,0,[new Mq])),vH}function ii(){ii=F,n9=new VO(rm,0),Pu=new VO("INPUT",1),xc=new VO("OUTPUT",2)}function gC(){gC=F,dun=new qO("ARD",0),ZA=new qO("MSD",1),_R=new qO("MANUAL",2)}function t0(){t0=F,Ey=new nD("BARYCENTER",0),t9=new nD(uHn,1),$P=new nD(sHn,2)}function g7(n,e){var t;if(t=n.gc(),e<0||e>t)throw C(new hb(e,t));return new Zz(n,e)}function BIn(n,e){var t;return I(e,42)?n.c.Mc(e):(t=aL(n,e),JC(n,e),t)}function di(n,e,t){return xa(n,e),Dc(n,t),P1(n,0),Cb(n,1),$1(n,!0),D1(n,!0),n}function os(n,e){if(n<0)throw C(new Kn(e+" cannot be negative but was: "+n));return n}function _In(n,e){var t,r;for(t=0,r=n.gc();t0?u(un(n.c.a,r-1),10):null}function a6(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,2,t,n.k))}function pC(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,8,t,n.f))}function mC(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,7,t,n.i))}function BV(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,8,t,n.a))}function _V(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,0,t,n.b))}function RV(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,0,t,n.b))}function KV(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.c))}function HV(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.c))}function yF(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,4,t,n.c))}function qV(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,1,t,n.d))}function jF(n,e){var t;t=n.D,n.D=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,2,t,n.D))}function EF(n,e){n.r>0&&n.c0&&0!=n.g&&EF(n.i,e/n.r*n.i.d))}function XIn(n,e){return u1(n.e,e)?(Zr(),bF(e)?new JE(e,n):new j8(e,n)):new Rkn(e,n)}function kC(n,e){return function Rre(n){return n?n.g:null}(b6(n.a,e,ge(Fr(Ah,kh(ge(Fr(null==e?0:kt(e),Ph)),15)))))}function VIn(n){var e;return(n=j.Math.max(n,2))>(e=dQ(n))?(e<<=1)>0?e:Y6:e}function TF(n){switch(lz(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function hde(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function QIn(n,e){var t;return!!I(e,8)&&(t=u(e,8),n.a==t.a&&n.b==t.b)}function CF(n,e,t){return rr(ab(n.n[t][e>>5],ge(Uh(31&e,1))),3)}function GV(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,21,t,n.b))}function UV(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,11,t,n.d))}function yC(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,13,t,n.j))}function JIn(n,e,t){var r,i,c;for(c=n.a.length-1,i=n.b,r=0;r0?e-1:e,i8n(function Nre(n,e){return n.j=e,n}($In(TW(new ip,t),n.n),n.j),n.k)}(n,n.g),Ke(n.a,t),t.i=n,n.d=e,t)}function Mbe(n,e,t){le(t,"DFS Treeifying phase",1),function L2e(n,e){var t,i,c;for(c=e.b.b,n.a=new Ct,n.b=L(be,Ne,25,c,15,1),t=0,i=Re(e.b,0);i.b!=i.d.c;)u(_e(i),86).g=t++}(n,e),function O8e(n,e){var t,r,i,c,o;for(o=u(k(e,(w0(),Xon)),425),c=Re(e.b,0);c.b!=c.d.c;)if(i=u(_e(c),86),0==n.b[i.g]){switch(o.g){case 0:fFn(n,i);break;case 1:$me(n,i)}n.b[i.g]=2}for(r=Re(n.a,0);r.b!=r.d.c;)Ab((t=u(_e(r),188)).b.d,t,!0),Ab(t.c.b,t,!0);H(e,(uc(),Kon),n.a)}(n,e),n.a=null,n.b=null,ce(t)}function wOn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new X,function T6e(n){var e,t,i,c;for(c=y6(n.d,n.e).Kc();c.Ob();)for(i=u(c.Pb(),11),t=new E(n.e==(J(),qn)?i.e:i.g);t.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function $t(n,e){WE.call(this,hee,n,e),this.b=this,this.a=Kc(n.Tg(),In(this.e.Tg(),this.c))}function w6(n,e){var t,r;for(_n(e),r=e.vc().Kc();r.Ob();)t=u(r.Pb(),42),n.zc(t.cd(),t.dd())}function gOn(n){var e;if(-2==n.b){if(0==n.e)e=-1;else for(e=0;0==n.a[e];e++);n.b=e}return n.b}function vOn(n){switch(n.g){case 2:return J(),qn;case 4:return J(),Xn;default:return n}}function pOn(n){switch(n.g){case 1:return J(),ae;case 3:return J(),Rn;default:return n}}function v7(n,e){return Hn(),vr(n)?iV(n,Te(e)):cb(n)?n$(n,Y(e)):ib(n)?Nfe(n,sn(e)):n.wd(e)}function JV(n,e){e.q=n,n.d=j.Math.max(n.d,e.r),n.b+=e.d+(0==n.a.c.length?0:n.c),W(n.a,e)}function Yp(n,e){return e.a>n.c&&e.an.d&&e.b0||a.j==qn&&a.e.c.length-a.g.c.length<0)){e=!1;break}for(i=new E(a.g);i.a=0x8000000000000000?(qp(),Hrn):(i=!1,n<0&&(i=!0,n=-n),r=0,n>=za&&(n-=(r=Ht(n/za))*za),t=0,n>=hv&&(n-=(t=Ht(n/hv))*hv),c=Bc(Ht(n),t,r),i&&NF(c),c)}(n))}function _be(n,e){var t,r,i;for(t=n.c.Ee(),i=e.Kc();i.Ob();)r=i.Pb(),n.a.Od(t,r);return n.b.Kb(t)}function nt(n,e){var t,r,i;if(null!=(t=n.Jg())&&n.Mg())for(r=0,i=t.length;r1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw C(new ic)}function Ws(n){var t,r,i;return r=0,(i=n)<0&&(i+=za,r=o1),t=Ht(i/hv),Bc(Ht(i-t*hv),t,r)}function p7(n){var e,t,r;for(r=0,t=new y2(n.a);t.a>22))&Bu,n.h-e.h+(r>>22)&o1)}function j7(n){var e;return n<128?(!(e=(ZEn(),Xrn)[n])&&(e=Xrn[n]=new Kq(n)),e):new Kq(n)}function jt(n){var e;return I(n,78)?n:((e=n&&n.__java$exception)||Gmn(e=new SDn(n)),e)}function E7(n){if(I(n,186))return u(n,118);if(n)return null;throw C(new p2(Fqn))}function _On(n,e){if(null==e)return!1;for(;n.a!=n.b;)if(et(e,_C(n)))return!0;return!1}function rQ(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new xX(n.e.f),n.a.Ob())}function Qt(n,e){var t;return 0!=(t=e.Pc()).length&&(gW(n.c,n.c.length,t),!0)}function ROn(n,e){var r;for(r=new E(n.b);r.a=0,"Negative initial capacity"),zE(e>=0,"Non-positive load factor"),Cu(this)}function LF(n,e,t){return!(n>=128)&&I5(n<64?rr(Uh(1,n),t):rr(Uh(1,n-64),e),0)}function bwe(n,e){return!(!n||!e||n==e)&&s0(n.b.c,e.b.c+e.b.b)<0&&s0(e.b.c,n.b.c+n.b.b)<0}function YOn(n){var e,t,r;return new Ss((t=n.n).a-(e=n.d).b,t.b-e.d,(r=n.o).a+(e.b+e.c),r.b+(e.d+e.a))}function gwe(n){var t,r;for(null==n.j&&(n.j=($p(),function A3e(n){var e,t,r;for(e="Sz",t="ez",r=j.Math.min(n.length,5)-1;r>=0;r--)if(Mn(n[r].d,e)||Mn(n[r].d,t)){n.length>=r+1&&n.splice(0,r+1);break}return n}(K_.ce(n)))),t=0,r=n.j.length;t(r=n.gc()))throw C(new hb(e,r));return n.hi()&&(t=wMn(n,t)),n.Vh(e,t)}function M7(n,e,t){return null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t)),n}function H(n,e,t){return null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t)),n}function ZOn(n){var e,t;return Pi(t=new zT,n),H(t,(El(),Ev),n),function mye(n,e,t){var r,i,c,o,f;for(r=0,c=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));c.e!=c.i.gc();)o="",0==(!(i=u(oe(c),33)).n&&(i.n=new V(_i,i,1,7)),i.n).i||(o=u(O((!i.n&&(i.n=new V(_i,i,1,7)),i.n),0),137).a),Pi(f=new YTn(o),i),H(f,(El(),Ev),i),f.b=r++,f.d.a=i.i+i.g/2,f.d.b=i.j+i.f/2,f.e.a=j.Math.max(i.g,1),f.e.b=j.Math.max(i.f,1),W(e.e,f),Rc(t.f,i,f),u(hn(i,(Zo(),ccn)),98),Tr()}(n,t,e=new we),function UEe(n,e,t){var r,i,c,o,f,h,l,a;for(h=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));h.e!=h.i.gc();)for(i=new ie(ue(c1(f=u(oe(h),33)).a.Kc(),new Yn));Ae(i);){if(!(r=u(pe(i),79)).b&&(r.b=new $n(he,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new $n(he,r,5,8)),r.c.i<=1)))throw C(new u5("Graph must not contain hyperedges."));if(!B6(r)&&f!=Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82)))for(Pi(l=new _jn,r),H(l,(El(),Ev),r),nte(l,u(Qi(Ai(t.f,f)),144)),ete(l,u(te(t,Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82))),144)),W(e.c,l),o=new re((!r.n&&(r.n=new V(_i,r,1,7)),r.n));o.e!=o.i.gc();)Pi(a=new HSn(l,(c=u(oe(o),137)).a),c),H(a,Ev,c),a.e.a=j.Math.max(c.g,1),a.e.b=j.Math.max(c.f,1),VZ(a),W(e.d,a)}}(n,t,e),t}function nDn(n,e){var t,r,c;for(t=!1,r=n.a[e].length,c=0;c>=1);return e}function tDn(n){var e,t;return 32==(t=nk(n.h))?32==(e=nk(n.m))?nk(n.l)+32:e+20-10:t-12}function p6(n){var e;return null==(e=n.a[n.b])?null:(St(n.a,n.b,null),n.b=n.b+1&n.a.length-1,e)}function rDn(n){return n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f||n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d}function LC(n,e,t){var r,i;return r=new cF(e,t),i=new Es,n.b=Xxn(n,n.b,r,i),i.b||++n.c,n.b.b=!1,i.d}function iDn(n,e,t){var r,i,c;for(c=0,i=y6(e,t).Kc();i.Ob();)r=u(i.Pb(),11),tt(n.c,r,Q(c++))}function Cl(n){var e,t;for(t=new E(n.a.b);t.at&&(t=n[e]);return t}function cDn(n,e,t){var r;return kZ(n,e,r=new X,(J(),Xn),!0,!1),kZ(n,t,r,qn,!1,!1),r}function xF(n,e,t){var r,i;return i=Qd(e,"labels"),function xme(n,e,t){var r,f,h,l;if(t)for(f=((r=new ja(t.a.length)).b-r.a)*r.c<0?(hl(),sa):new bl(r);f.Ob();)(h=Lp(t,u(f.Pb(),19).a))&&(l=U0e(Xh(h,o_),e),tt(n.f,l,h),uh in h.a&&a6(l,Xh(h,uh)),mM(h,l),xY(h,l))}((r=new Ckn(n,t)).a,r.b,i),i}function uDn(n,e){var t;for(t=0;t1||e>=0&&n.b<3)}function S7(n){var e,r;for(e=new lu,r=Re(n,0);r.b!=r.d.c;)kp(e,0,new mi(u(_e(r),8)));return e}function La(n){var t;for(t=new E(n.a.b);t.a=n.b.c.length||(EQ(n,2*e+1),(t=2*e+2)=0&&n[r]===e[r];r--);return r<0?0:FO(rr(n[r],si),rr(e[r],si))?-1:1}function qF(n,e){var t,r;return r=u(Bn(n.a,4),126),t=L(UH,p_,415,e,0,1),null!=r&&vc(r,0,t,0,r.length),t}function bDn(n,e){var t;return t=new kN(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,e),null!=n.e||(t.c=n),t}function GF(n,e,t,r,i){var c,o;for(o=t;o<=i;o++)for(c=e;c<=r;c++)if(ug(n,c,o))return!0;return!1}function wDn(n,e,t){var r,i,c,o;for(_n(t),o=!1,c=n.Zc(e),i=t.Kc();i.Ob();)r=i.Pb(),c.Rb(r),o=!0;return o}function gDn(n,e,t){var r,i;for(i=t.Kc();i.Ob();)if(r=u(i.Pb(),42),n.re(e,r.dd()))return!0;return!1}function vDn(n,e,t){return n.d[e.p][t.p]||(function $ve(n,e,t){if(n.e)switch(n.b){case 1:!function o1e(n,e,t){n.i=0,n.e=0,e!=t&&oDn(n,e,t)}(n.c,e,t);break;case 0:!function f1e(n,e,t){n.i=0,n.e=0,e!=t&&fDn(n,e,t)}(n.c,e,t)}else BSn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function u3(n,e){if(!n.ai()&&null==e)throw C(new Kn("The 'no null' constraint is violated"));return e}function s3(n,e){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),jF(n,null==e?null:(_n(e),e)),n.C&&n.yk(null)}function Bwe(n,e){return!(!n||n==e||!fr(e,(G(),L0)))&&u(k(e,(G(),L0)),10)!=n}function UF(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function pDn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function mDn(n){oMn.call(this,"The given string does not match the expected format for individual spacings.",n)}function Yu(){Yu=F,ks=new pE("ELK",0),E1n=new pE("JSON",1),j1n=new pE("DOT",2),T1n=new pE("SVG",3)}function A7(){A7=F,UP=new tD(f1,0),rfn=new tD("RADIAL_COMPACTION",1),ifn=new tD("WEDGE_COMPACTION",2)}function kf(){kf=F,kin=new LO("CONCURRENT",0),ws=new LO("IDENTITY_FINISH",1),nw=new LO("UNORDERED",2)}function zF(){zF=F,Xj(),Xin=new Pn(qnn,Vin=rR),Lzn=new at(Gnn),Nzn=new at(Unn),xzn=new at(znn)}function o3(){o3=F,uun=new E0n,sun=new T0n,VWn=new C0n,XWn=new M0n,_n(new S0n),cun=new ha}function f3(){f3=F,BK=new JO("CONSERVATIVE",0),Ion=new JO("CONSERVATIVE_SOFT",1),e9=new JO("SLOPPY",2)}function NC(){NC=F,l1n=new Fd(15),hne=new ni((We(),dd),l1n),p9=_v,s1n=WZn,o1n=ad,h1n=t2,f1n=cI}function WF(n,e,t){var r,c;for(r=new Ct,c=Re(t,0);c.b!=c.d.c;)Ke(r,new mi(u(_e(c),8)));wDn(n,e,r)}function CQ(n){var e;return!n.a&&(n.a=new V(g1,n,9,5)),0!=(e=n.a).i?function rie(n){return n.b?n.b:n.a}(u(O(e,0),678)):null}function Rwe(n,e){var t;return t=_r(n,e),FO(_$(n,e),0)|function mie(n,e){return hc(n,e)>=0}(_$(n,t),0)?t:_r(JM,_$(ab(t,63),1))}function MQ(n,e){var t,r;if(0!=(r=n.c[e]))for(n.c[e]=0,n.d-=r,t=e+1;t0)return Cp(e-1,n.a.c.length),M1(n.a,e-1);throw C(new zmn)}function yDn(n,e,t){if(n>e)throw C(new Kn(tS+n+wKn+e));if(n<0||e>t)throw C(new RG(tS+n+Inn+e+Ann+t))}function jDn(n){if(!(n.a&&8&n.a.i))throw C(new $i("Enumeration class expected for layout option "+n.f))}function Mb(n){var e;++n.j,0==n.i?n.g=null:n.iOS?n-t>OS:t-n>OS)}function VF(n,e){return!n||e&&!n.j||I(n,124)&&0==u(n,124).a.b?0:n.Re()}function BC(n,e){return!n||e&&!n.k||I(n,124)&&0==u(n,124).a.a?0:n.Se()}function P7(n){return Dl(),n<0?-1!=n?new yJ(-1,-n):U_:n<=10?oin[Ht(n)]:new yJ(1,n)}function AQ(n){throw FF(),C(new _9n("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function SDn(n){U9n(),PE(this),jT(this),this.e=n,Rxn(this,n),this.g=null==n?iu:xi(n),this.a="",this.b=n,this.a=""}function PQ(){this.a=new Ggn,this.f=new F6n(this),this.b=new L6n(this),this.i=new N6n(this),this.e=new x6n(this)}function ADn(){Yte.call(this,new aV(jb(16))),os(2,QRn),this.b=2,this.a=new lX(null,null,0,null),Y9(this.a,this.a)}function m6(){m6=F,AK=new WO("DUMMY_NODE_OVER",0),bon=new WO("DUMMY_NODE_UNDER",1),PP=new WO("EQUAL",2)}function QF(){QF=F,wR=hMn(S(M(v9,1),U,103,0,[(ci(),co),Fo])),gR=hMn(S(M(v9,1),U,103,0,[d1,a1]))}function JF(n){return(J(),uu).Hc(n.j)?K(Y(k(n,(G(),E4)))):Gi(S(M(hr,1),q,8,0,[n.i.n,n.n,n.a])).b}function xa(n,e){var r,i;r=n.nk(e,null),i=null,e&&(fp(),Gp(i=new jd,n.r)),(r=jf(n,i,r))&&r.Fi()}function IQ(n,e){var t,r,i;return r=!1,t=e.q.d,e.di&&(nLn(e.q,i),r=t!=e.q.d)),r}function PDn(n,e){var r,o,f;return j.Math.sqrt((o=e.i-(r=n.f).i)*o+(f=e.j-r.j)*f)}function OQ(n,e){var r;return(r=YC(n))||(!_ne&&(_ne=new rvn),qN(),me((r=new xmn(eNn(e))).Vk(),n)),r}function I7(n,e){var t,r;return(t=u(n.c.Bc(e),14))?((r=n.hc()).Gc(t),n.d-=t.gc(),t.$b(),n.mc(r)):n.jc()}function IDn(n,e){var t;for(t=0;t=0?e:-e;r>0;)r%2==0?(t*=t,r=r/2|0):(i*=t,r-=1);return e<0?1/i:i}function xDn(n){var e,t,r,i;if(null!=n)for(t=0;t0&&jQ(u(un(n.a,n.a.c.length-1),570),e)||W(n.a,new gAn(e))}function KDn(n){var e;return(e=new cl).a+="VerticalSegment ",cc(e,n.e),e.a+=" ",De(e,oz(new SO,new E(n.k))),e.a}function lge(n){var e;return(e=u(Jd(n.c.c,""),229))||(e=new _2(op(sp(new a2,""),"Other")),Ra(n.c.c,"",e)),e}function k6(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (name: ",li(e,n.zb),e.a+=")",e.a)}function NQ(n,e,t){var r,i;return i=n.sb,n.sb=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,4,i,e),t?t.Ei(r):t=r),t}function ZF(n,e){var t,i;for(t=0,i=Ui(n,e).Kc();i.Ob();)t+=null!=k(u(i.Pb(),11),(G(),Au))?1:0;return t}function tg(n,e,t){var r,i,c;for(r=0,c=Re(n,0);c.b!=c.d.c&&!((i=K(Y(_e(c))))>t);)i>=e&&++r;return r}function xQ(n,e,t){var r,i;return i=n.r,n.r=e,4&n.Db&&!(1&n.Db)&&(r=new dr(n,1,8,i,n.r),t?t.Ei(r):t=r),t}function O1(n,e){var t,r;return!(r=(t=u(e,676)).vk())&&t.wk(r=I(e,88)?new xkn(n,u(e,26)):new iSn(n,u(e,148))),r}function O7(n,e,t){var r;n.qi(n.i+1),r=n.oi(e,t),e!=n.i&&vc(n.g,e,n.g,e+1,n.i-e),St(n.g,e,r),++n.i,n.bi(e,t),n.ci()}function D7(n,e){var t;return t=new qI,n.a.sd(t)?(pp(),new Fj(_n(xPn(n,t.a,e)))):(ml(n),pp(),pp(),dA)}function y6(n,e){switch(e.g){case 2:case 1:return Ui(n,e);case 3:case 4:return Oa(Ui(n,e))}return An(),An(),Gr}function et(n,e){return vr(n)?Mn(n,e):cb(n)?tEn(n,e):ib(n)?(_n(n),B(n)===B(e)):RW(n)?n.Fb(e):LW(n)?ryn(n,e):DX(n,e)}function vge(n,e,t,r,i){0==e||0==r||(1==e?i[r]=TJ(i,t,r,n[0]):1==r?i[e]=TJ(i,n,e,t[0]):function mme(n,e,t,r,i){var c,o,f,h;if(B(n)!==B(e)||r!=i)for(f=0;ft)throw C(new pi(tS+n+Inn+e+", size: "+t));if(n>e)throw C(new Kn(tS+n+wKn+e))}function $s(n,e,t){if(e<0)RY(n,t);else{if(!t.Ij())throw C(new Kn(_l+t.ne()+vm));u(t,66).Nj().Vj(n,n.yh(),e)}}function UDn(n,e,t,r,i,c){this.e=new X,this.f=(ii(),n9),W(this.e,n),this.d=e,this.a=t,this.b=r,this.f=i,this.c=c}function zDn(n,e){var t,r;for(r=new re(n);r.e!=r.i.gc();)if(t=u(oe(r),26),B(e)===B(t))return!0;return!1}function WDn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function XDn(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (source: ",li(e,n.d),e.a+=")",e.a)}function D1(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,2,t,e))}function _Q(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,8,t,e))}function KC(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,8,t,e))}function $1(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,3,t,e))}function RQ(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,9,t,e))}function j6(n,e){var t;return-1==n.b&&n.a&&(t=n.a.Gj(),n.b=t?n.c.Xg(n.a.aj(),t):yt(n.c.Tg(),n.a)),n.c.Og(n.b,e)}function Q(n){var e,t;return n>-129&&n<128?(e=n+128,!(t=(zEn(),Vrn)[e])&&(t=Vrn[e]=new Hq(n)),t):new Hq(n)}function h3(n){var e,t;return n>-129&&n<128?(e=n+128,!(t=(YEn(),Zrn)[e])&&(t=Zrn[e]=new Gq(n)),t):new Gq(n)}function KQ(n){var t;return n.k==(Vn(),zt)&&((t=u(k(n,(G(),tc)),61))==(J(),Rn)||t==ae)}function nL(n,e,t){var r,c;return(c=S3(n.b,e))&&(r=u(qM(f7(n,c),""),26))?oZ(n,r,e,t):null}function VDn(n,e){var t,r;for(r=new re(n);r.e!=r.i.gc();)if(t=u(oe(r),138),B(e)===B(t))return!0;return!1}function E6(n,e,t){var r;if(e>(r=n.gc()))throw C(new hb(e,r));if(n.hi()&&n.Hc(t))throw C(new Kn(Rk));n.Xh(e,t)}function Ege(n,e){var t;if(I(t=ik(n,e),322))return u(t,34);throw C(new Kn(_l+e+"' is not a valid attribute"))}function Mge(n){var e,t,r;for(e=new X,r=new E(n.b);r.ae?1:n==e?0==n?Jt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function T6(n,e,t){var r,i;return n.ej()?(i=n.fj(),r=sN(n,e,t),n.$i(n.Zi(7,Q(t),r,e,i)),r):sN(n,e,t)}function eL(n,e){var t,r,i;null==n.d?(++n.e,--n.f):(i=e.cd(),function gde(n,e,t){return++n.e,--n.f,u(n.d[e].$c(t),133).dd()}(n,r=((t=e.Sh())&Ze)%n.d.length,dxn(n,r,t,i)))}function l3(n,e){var t;t=0!=(n.Bb&Io),e?n.Bb|=Io:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,10,t,e))}function a3(n,e){var t;t=0!=(n.Bb&Ub),e?n.Bb|=Ub:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,12,t,e))}function d3(n,e){var t;t=0!=(n.Bb&ku),e?n.Bb|=ku:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,15,t,e))}function b3(n,e){var t;t=0!=(n.Bb&Zb),e?n.Bb|=Zb:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&nt(n,new Co(n,1,11,t,e))}function Nge(n){var e,t;for(t=pxn(ss(n)).Kc();t.Ob();)if(q6(n,e=Te(t.Pb())))return Gae((S7n(),Jne),e);return null}function YDn(n,e,t){var i;if(n.c)vY(n.c,e,t);else for(i=new E(n.b);i.a>10)+Ek&Gt,e[1]=56320+(1023&n)&Gt,Xs(e,0,e.length)}function qC(n){var t;return(t=u(k(n,(nn(),gs)),103))==(ci(),Lh)?K(Y(k(n,aP)))>=1?Fo:a1:t}function Ba(n){if(n.c)Ba(n.c);else if(n.d)throw C(new $i("Stream already terminated, can't be modified or used"))}function iL(n){var e;return 64&n.Db?Ao(n):((e=new Gs(Ao(n))).a+=" (identifier: ",li(e,n.k),e.a+=")",e.a)}function ZDn(n,e,t){var r;return Ad(),dC(r=new wj,e),bC(r,t),n&&me((!n.a&&(n.a=new Vt(fo,n,5)),n.a),r),r}function cL(n,e,t,r){var i,c;return _n(r),_n(t),null==(c=null==(i=n.xc(e))?t:b7n(u(i,15),u(t,14)))?n.Bc(e):n.zc(e,c),c}function Tn(n){var e,t,r,i;return So(t=new Ms(e=u(Go((i=(r=n.gm).f)==Ie?r:i),9),u(yo(e,e.length),9),0),n),t}function Kge(n,e,t){var r,i;for(i=n.a.ec().Kc();i.Ob();)if(r=u(i.Pb(),10),y7(t,u(un(e,r.p),14)))return r;return null}function Al(n,e){var t;return Fi(n)&&Fi(e)&&jk<(t=n-e)&&t>22))&Bu,n.h+e.h+(r>>22)&o1)}(Fi(n)?Ws(n):n,Fi(e)?Ws(e):e))}function Fr(n,e){var t;return Fi(n)&&Fi(e)&&jk<(t=n*e)&&t>13|(15&n.m)<<9)*(f=8191&e.l),Gn=(i=n.m>>4&8191)*f,zn=(c=n.m>>17|(255&n.h)<<5)*f,se=((1048320&n.h)>>8)*f,0!=(h=e.l>>13|(15&e.m)<<9)&&(wn+=t*h,Gn+=r*h,zn+=i*h,se+=c*h),0!=(l=e.m>>4&8191)&&(Gn+=t*l,zn+=r*l,se+=i*l),0!=(a=e.m>>17|(255&e.h)<<5)&&(zn+=t*a,se+=r*a),0!=(d=(1048320&e.h)>>8)&&(se+=t*d),m=((ln=t*f)>>22)+(wn>>9)+((262143&Gn)<<4)+((31&zn)<<17),N=(Gn>>18)+(zn>>5)+((4095&se)<<8),N+=(m+=(g=(ln&Bu)+((511&wn)<<13))>>22)>>22,Bc(g&=Bu,m&=Bu,N&=o1)}(Fi(n)?Ws(n):n,Fi(e)?Ws(e):e))}function Ui(n,e){var t;return n.i||_Y(n),(t=u(ai(n.g,e),46))?new yh(n.j,u(t.a,19).a,u(t.b,19).a):(An(),An(),Gr)}function u0(n,e,t){var r;return r=n.a.get(e),n.a.set(e,void 0===t?null:t),void 0===r?(++n.c,MT(n.b)):++n.d,r}function uL(){var n,e,t;aY(),t=BCe+++Date.now(),n=Ht(j.Math.floor(t*Ck))&eS,e=Ht(t-n*Snn),this.a=1502^n,this.b=e^Ox}function t1(n){var e,r;for(e=new X,r=new E(n.j);r.a>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function e$n(n){var e,r,i;for(e=new Ljn(n.Hd().gc()),i=0,r=z2(n.Hd().Kc());r.Ob();)rle(e,r.Pb(),Q(i++));return function A5e(n){var e;switch(vT(),n.c.length){case 0:return dUn;case 1:return function Yoe(n,e){return vT(),IL(n,e),new lCn(n,e)}((e=u(gNn(new E(n)),42)).cd(),e.dd());default:return new mO(u(yf(n,L(ed,YM,42,n.c.length,0,1)),165))}}(e.a)}function WQ(n,e){0==n.n.c.length&&W(n.n,new DT(n.s,n.t,n.i)),W(n.b,e),PJ(u(un(n.n,n.n.c.length-1),211),e),l_n(n,e)}function rg(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=L(Zn,rn,1,0,5,1),Qt(n.a,n.b),Qt(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function sL(n,e){var r,i;for(i=0,r=u(e.Kb(n),20).Kc();r.Ob();)on(sn(k(u(r.Pb(),17),(G(),Pf))))||++i;return i}function Fs(){Fs=F,wy=new w8(f1,0),Gm=new w8("FIRST",1),Ul=new w8(oHn,2),Um=new w8("LAST",3),sw=new w8(fHn,4)}function r1(){r1=F,LH=new bE(rm,0),Ry=new bE("POLYLINE",1),x4=new bE("ORTHOGONAL",2),Kv=new bE("SPLINES",3)}function GC(){GC=F,jfn=new iD("ASPECT_RATIO_DRIVEN",0),sH=new iD("MAX_SCALE_DRIVEN",1),yfn=new iD("AREA_DRIVEN",2)}function F7(){F7=F,XP=new cD("P1_STRUCTURE",0),VP=new cD("P2_PROCESSING_ORDER",1),QP=new cD("P3_EXECUTION",2)}function UC(){UC=F,eH=new eD("OVERLAP_REMOVAL",0),ZK=new eD("COMPACTION",1),nH=new eD("GRAPH_SIZE_CALCULATION",2)}function s0(n,e){return ff(),Mo(Fl),j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e))}function t$n(n,e){var t,r;for(t=Re(n,0);t.b!=t.d.c;){if((r=n8(Y(_e(t))))==e)return;if(r>e){K$(t);break}}R8(t,e)}function En(n,e){var i,c,o;if(Ra(n.c.d,e.f,e),null!=e.g)for(c=0,o=(i=e.g).length;c>>0).toString(16):n.toString()}function C6(n){var e;this.a=new Ms(e=u(n.e&&n.e(),9),u(yo(e,e.length),9),0),this.b=L(Zn,rn,1,this.a.a.length,5,1)}function e2e(n){var e,t,r;for(this.a=new qh,r=new E(n);r.a=i)return e.c+t;return e.c+e.b.gc()}function VQ(n,e){var t,r,i,c,o,f;for(r=0,t=0,o=0,f=(c=e).length;o0&&(r+=i,++t);return t>1&&(r+=n.d*(t-1)),r}function QQ(n){var e,t,r;for((r=new m1).a+="[",e=0,t=n.gc();eeh,wn=j.Math.abs(g.b-p.b)>eh,(!t&&ln&&wn||t&&(ln||wn))&&Ke(T.a,N)),zr(T.a,r),0==r.b?g=N:(ne(0!=r.b),g=u(r.c.b.c,8)),Ybe(v,d,m),dOn(i)==en&&(Rr(en.i)!=i.a&&IY(m=new $r,Rr(en.i),$),H(T,sK,m)),j5e(v,T,$),a.a.zc(v,a);Br(T,R),jr(T,en)}for(l=a.a.ec().Kc();l.Ob();)Br(h=u(l.Pb(),17),null),jr(h,null);ce(e)}(e,jc(r,1)),ce(r)}function YQ(n,e,t,r,i,c){this.a=n,this.c=e,this.b=t,this.f=r,this.d=i,this.e=c,this.c>0&&this.b>0&&OW(this.c,this.b,this.a)}function ZQ(n){hL(),this.c=wf(S(M(tMe,1),rn,831,0,[RQn])),this.b=new we,this.a=n,tt(this.b,SP,1),Zc(KQn,new z6n(this))}function i$n(n,e){var t;return n.d?Vu(n.b,e)?u(te(n.b,e),51):(t=e.Kf(),tt(n.b,e,t),t):e.Kf()}function nJ(n,e){var t;return B(n)===B(e)||!!I(e,91)&&(t=u(e,91),n.e==t.e&&n.d==t.d&&function zae(n,e){var t;for(t=n.d-1;t>=0&&n.a[t]===e[t];t--);return t<0}(n,t.a))}function J2(n){switch(J(),n.g){case 4:return Rn;case 1:return Xn;case 3:return ae;case 2:return qn;default:return Xi}}function eJ(n,e){switch(e){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return nQ(n,e)}function c$n(n){switch(n.g){case 0:return new Ngn;case 1:return new _gn;default:throw C(new Kn(tB+(null!=n.f?n.f:""+n.g)))}}function u$n(n){switch(n.g){case 0:return new $G;case 1:return new v9n;default:throw C(new Kn(LS+(null!=n.f?n.f:""+n.g)))}}function s$n(n){var e,t,r;return(t=n.zg())?I(e=n.Ug(),160)&&null!=(r=s$n(u(e,160)))?r+"."+t:t:null}function Ab(n,e,t){var r,i;for(i=n.Kc();i.Ob();)if(r=i.Pb(),B(e)===B(r)||null!=e&&et(e,r))return t&&i.Qb(),!0;return!1}function tJ(n,e,t){var r,i;if(++n.j,t.dc())return!1;for(i=t.Kc();i.Ob();)r=i.Pb(),n.Hi(e,n.oi(e,r)),++e;return!0}function o$n(n,e){var t;if(e){for(t=0;tf.d&&(a=f.d+f.a+l);t.c.d=a,e.a.zc(t,e),h=j.Math.max(h,t.c.d+t.c.a)}return h}(n),Bt(new Dn(null,new Fn(n.d,16)),new s5n(n)),e}function WC(n){var e;return 64&n.Db?k6(n):((e=new Gs(k6(n))).a+=" (instanceClassName: ",li(e,n.D),e.a+=")",e.a)}function yt(n,e){var t,r,i;if(null==n.i&&Qf(n),t=n.i,-1!=(r=e.aj()))for(i=t.length;r>1,this.k=e-1>>1}function S2e(n,e,t){var r,i;for(r=rr(t,si),i=0;0!=hc(r,0)&&i0&&(e.lengthn.i&&St(e,n.i,null),e}function $c(n,e,t){var r,i,c;return n.ej()?(r=n.i,c=n.fj(),O7(n,r,e),i=n.Zi(3,null,e,r,c),t?t.Ei(i):t=i):O7(n,n.i,e),t}function l$n(n){var e;return ob(),e=new mi(u(n.e.We((We(),t2)),8)),n.B.Hc((xu(),_4))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function a$n(n){return Ib(),(n.q?n.q:(An(),An(),$h))._b((nn(),B0))?u(k(n,B0),197):u(k(Rr(n),Vm),197)}function Pb(n,e){var t,r;return r=null,fr(n,(nn(),CP))&&(t=u(k(n,CP),94)).Xe(e)&&(r=t.We(e)),null==r&&(r=k(Rr(n),e)),r}function d$n(n,e){var t,r,i;return!!I(e,42)&&(r=(t=u(e,42)).cd(),Wf(i=Sb(n.Rc(),r),t.dd())&&(null!=i||n.Rc()._b(r)))}function aL(n,e){var r;return n.f>0&&(n.qj(),-1!=dxn(n,((r=null==e?0:kt(e))&Ze)%n.d.length,r,e))}function Qo(n,e){var t,r;return n.f>0&&(n.qj(),t=zY(n,((r=null==e?0:kt(e))&Ze)%n.d.length,r,e))?t.dd():null}function L7(n,e){var t,i,c;for(c=Kc(n.e.Tg(),e),t=u(n.g,119),i=0;it;c--)n[c]|=e[c-t-1]>>>o,n[c-1]=e[c-t-1]<>5)+(0==(e&=31)?0:1),15,1),n.a,t,e),r6(c=new Gw(n.e,i,r)),c}function hJ(n,e,t){var r,i;r=u(kc(H4,e),117),i=u(kc(L9,e),117),t?(ki(H4,n,r),ki(L9,n,i)):(ki(L9,n,r),ki(H4,n,i))}function k$n(n,e,t){var r,i,c;for(i=null,c=n.b;c;){if(r=n.a.ue(e,c.d),t&&0==r)return c;r>=0?c=c.a[1]:(i=c,c=c.a[0])}return i}function y$n(n,e,t){var r,i,c;for(i=null,c=n.b;c;){if(r=n.a.ue(e,c.d),t&&0==r)return c;r<=0?c=c.a[0]:(i=c,c=c.a[1])}return i}function N2e(n,e,t,r){var i,c,o;return i=!1,function vEe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;return v=n.c[t],!((p=u(k(g=n.c[e],(G(),Pv)),15))&&0!=p.gc()&&p.Hc(v)||(m=g.k!=(Vn(),br)&&v.k!=br,T=u(k(g,L0),10),A=u(k(v,L0),10),$=T!=A,D=!!T&&T!=g||!!A&&A!=v,N=OL(g,(J(),Rn)),R=OL(v,ae),D|=OL(g,ae)||OL(v,Rn),z=D&&$||N||R,m&&z)||g.k==(Vn(),Sc)&&v.k==nr||v.k==(Vn(),Sc)&&g.k==nr)&&(i=XFn(n.e,a=n.c[e],c=n.c[t],(J(),qn)),h=XFn(n.i,a,c,Xn),function f8e(n,e,t){n.d=0,n.b=0,e.k==(Vn(),Sc)&&t.k==Sc&&u(k(e,(G(),rt)),10)==u(k(t,rt),10)&&(fF(e).j==(J(),Rn)?vxn(n,e,t):vxn(n,t,e)),e.k==Sc&&t.k==br?fF(e).j==(J(),Rn)?n.d=1:n.b=1:t.k==Sc&&e.k==br&&(fF(t).j==(J(),Rn)?n.b=1:n.d=1),function Qve(n,e,t){e.k==(Vn(),nr)&&t.k==br&&(n.d=ZF(e,(J(),ae)),n.b=ZF(e,Rn)),t.k==nr&&e.k==br&&(n.d=ZF(t,(J(),Rn)),n.b=ZF(t,ae))}(n,e,t)}(n.f,a,c),l=vDn(n.b,a,c)+u(i.a,19).a+u(h.a,19).a+n.f.d,f=vDn(n.b,c,a)+u(i.b,19).a+u(h.b,19).a+n.f.b,n.a&&(d=u(k(a,rt),11),o=u(k(c,rt),11),l+=u((r=DFn(n.g,d,o)).a,19).a,f+=u(r.b,19).a),l>f)}(n.f,t,r)&&(function sve(n,e,t){var r,i;QL(n.e,e,t,(J(),qn)),QL(n.i,e,t,Xn),n.a&&(i=u(k(e,(G(),rt)),11),r=u(k(t,rt),11),R$(n.g,i,r))}(n.f,n.a[e][t],n.a[e][r]),o=(c=n.a[e])[r],c[r]=c[t],c[t]=o,i=!0),i}function lJ(n,e,t,r,i){var c,o,f;for(o=i;e.b!=e.c;)c=u(F2(e),10),f=u(Ui(c,r).Xb(0),11),n.d[f.p]=o++,t.c[t.c.length]=f;return o}function aJ(n,e,t){var r,i,c;return i=Y(Pb(n,r=t[n.k.g][e.k.g])),c=Y(Pb(e,r)),j.Math.max((_n(i),i),(_n(c),c))}function j$n(n,e,t){var r,i,o;for(i=u(te(n.b,t),177),r=0,o=new E(e.j);o.ae?1:$d(isNaN(n),isNaN(e)))>0}function bJ(n,e){return ff(),ff(),Mo(Fl),(j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e)))<0}function T$n(n,e){return ff(),ff(),Mo(Fl),(j.Math.abs(n-e)<=Fl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:$d(isNaN(n),isNaN(e)))<=0}function bL(n,e){for(var t=0;!e[t]||""==e[t];)t++;for(var r=e[t++];tMx)return t.fh();if((r=t.Zg())||t==n)break}return r}function wJ(n){return FT(),I(n,156)?u(te(Yy,OUn),288).vg(n):Vu(Yy,Fu(n))?u(te(Yy,Fu(n)),288).vg(n):null}function G2e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw C(new Kn("Input edge is not connected to the input port."))}function I$n(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+j.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function D$n(n,e){var t;return B(e)===B(n)||!(!I(e,21)||(t=u(e,21),t.gc()!=n.gc()))&&n.Ic(t)}function z2e(n,e){var t,r;for(Ce(e,n.length),t=n.charCodeAt(e),r=e+1;r=2*e&&W(t,new _D(o[r-1]+e,o[r]-e));return t}(t,r),Bt(hC(new Dn(null,new Fn(function O6e(n){var e,t,r,i,c,o,f;for(c=new qh,t=new E(n);t.a2&&f.e.b+f.j.b<=2&&(i=f,r=o),c.a.zc(i,c),i.q=r);return c}(e),1)),new wgn),new TCn(n,t,i,r)))}function Y2(n,e,t){var r;n.Db&e?null==t?function vme(n,e){var t,r,i,c,o,f,h;if(1==(r=n$n(254&n.Db)))n.Eb=null;else if(c=Ia(n.Eb),2==r)i=LL(n,e),n.Eb=c[0==i?1:0];else{for(o=L(Zn,rn,1,r-1,5,1),t=2,f=0,h=0;t<=128;t<<=1)t==e?++f:n.Db&t&&(o[h++]=c[f++]);n.Eb=o}n.Db&=~e}(n,e):-1==(r=LL(n,e))?n.Eb=t:St(Ia(n.Eb),r,t):null!=t&&function H8e(n,e,t){var r,i,o,f,h,l;if(0==(i=n$n(254&n.Db)))n.Eb=t;else{if(1==i)f=L(Zn,rn,1,2,5,1),0==LL(n,e)?(f[0]=t,f[1]=n.Eb):(f[0]=n.Eb,f[1]=t);else for(f=L(Zn,rn,1,i+1,5,1),o=Ia(n.Eb),r=2,h=0,l=0;r<=128;r<<=1)r==e?f[l++]=t:n.Db&r&&(f[l++]=o[h++]);n.Eb=f}n.Db|=e}(n,e,t)}function _c(n){var t;return 32&n.Db||0!=(t=ee(u(Bn(n,16),26)||n.zh())-ee(n.zh()))&&Y2(n,32,L(Zn,rn,1,t,5,1)),n}function Z2e(n){var t,r;for(t=new E(n.g);t.a0&&hc(n,128)<0?(e=ge(n)+128,!(t=(JEn(),Qrn)[e])&&(t=Qrn[e]=new qq(n)),t):new qq(n)}function F$n(n,e){var t,r;return(t=e.Hh(n.a))&&null!=(r=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),ze)))?r:e.ne()}function rve(n,e){var t,r;for(F$(),r=new ie(ue(t1(n).a.Kc(),new Yn));Ae(r);)if((t=u(pe(r),17)).d.i==e||t.c.i==e)return t;return null}function pJ(n,e,t){this.c=n,this.f=new X,this.e=new $r,this.j=new SW,this.n=new SW,this.b=e,this.g=new Ss(e.c,e.d,e.b,e.a),this.a=t}function wL(n){var e,t,r,i;for(this.a=new qh,this.d=new sr,this.e=0,r=0,i=(t=n).length;rz&&(p.c=z-p.b),W(o.d,new JD(p,HQ(o,p))),$=e==Rn?j.Math.max($,m.b+l.b.rf().b):j.Math.min($,m.b));for((D=iJ((o.e=$+=e==Rn?n.t:-n.t,o)))>0&&(u(ai(n.b,e),124).a.b=D),a=g.Kc();a.Ob();)(l=u(a.Pb(),111)).c&&!(l.c.d.c.length<=0)&&((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else wRn(n,e)}(n,e):wRn(n,e):n.u.Hc(na)&&(t?function VEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;if((a=u(u(it(n.r,e),21),84)).gc()<=2||e==(J(),Xn)||e==(J(),qn))PRn(n,e);else{for(m=n.u.Hc((Su(),Hv)),t=e==(J(),Rn)?(i0(),Qk):(i0(),Vk),A=e==Rn?(Yc(),Do):(Yc(),tf),r=GG(oW(t),n.s),T=e==Rn?Ft:Wt,l=a.Kc();l.Ob();)(f=u(l.Pb(),111)).c&&!(f.c.d.c.length<=0)&&(p=f.b.rf(),v=f.e,(g=(d=f.c).i).b=d.e.a+(c=d.n).b+c.c,g.a=d.e.b+(o=d.n).d+o.a,m?(g.c=v.a-(d.e.a+(i=d.n).b+i.c)-n.s,m=!1):g.c=v.a+p.a+n.s,G8(A,Bnn),d.f=A,Wo(d,(Mu(),Oo)),W(r.d,new JD(g,HQ(r,g))),T=e==Rn?j.Math.min(T,v.b):j.Math.max(T,v.b+f.b.rf().b));for(iJ((r.e=T+=e==Rn?-n.t:n.t,r)),h=a.Kc();h.Ob();)(f=u(h.Pb(),111)).c&&!(f.c.d.c.length<=0)&&((g=f.c.i).c-=f.e.a,g.d-=f.e.b)}}(n,e):PRn(n,e))}function v3(n,e){var t,r;++n.j,null!=e&&function rme(n,e){var t,r,i;if(B(n)===B(e))return!0;if(null==n||null==e||n.length!=e.length)return!1;for(t=0;t=(i=n.length))return i;for(e=e>0?e:0;er&&St(e,r,null),e}function q$n(n,e){var t,r;for(e.length<(r=n.a.length)&&(e=Bj(new Array(r),e)),t=0;tr&&St(e,r,null),e}function Ra(n,e,t){var r,i,c;return(i=u(te(n.e,e),387))?(c=Hz(i,t),Fyn(n,i),c):(r=new wW(n,e,t),tt(n.e,e,r),uMn(r),null)}function dve(n){var e;if(null==n)return null;if(null==(e=function s9e(n){var e,t,r,i,c,o,f;if(TZ(),null==n||(i=n.length)%2!=0)return null;for(e=iC(n),t=L(ju,Ig,25,c=i/2|0,15,1),r=0;r>24}return t}(Tc(n,!0))))throw C(new TO("Invalid hexBinary value: '"+n+"'"));return e}function B7(n){return Dl(),hc(n,0)<0?0!=hc(n,-1)?new rY(-1,Hp(n)):U_:hc(n,10)<=0?oin[ge(n)]:new rY(1,n)}function pL(){return VM(),S(M(Czn,1),U,159,0,[Ezn,jzn,Tzn,bzn,dzn,wzn,pzn,vzn,gzn,yzn,kzn,mzn,lzn,hzn,azn,ozn,szn,fzn,czn,izn,uzn,nR])}function G$n(n){var e;this.d=new X,this.j=new $r,this.g=new $r,this.f=u(k(Rr(e=n.g.b),(nn(),gs)),103),this.e=K(Y(tM(e,ww)))}function U$n(n){this.b=new X,this.e=new X,this.d=n,this.a=!f5(gt(new Dn(null,new Rd(new gf(n.b))),new Q4(new Gbn))).sd((pa(),o4))}function Jo(){Jo=F,Wn=new p8("PARENTS",0),wr=new p8("NODES",1),ah=new p8("EDGES",2),ld=new p8("PORTS",3),X1=new p8("LABELS",4)}function ig(){ig=F,Yl=new k8("DISTRIBUTED",0),qy=new k8("JUSTIFIED",1),d1n=new k8("BEGIN",2),k9=new k8(q3,3),b1n=new k8("END",4)}function mL(n){switch(n.g){case 1:return ci(),d1;case 4:return ci(),co;case 2:return ci(),Fo;case 3:return ci(),a1}return ci(),Lh}function Re(n,e){var t,r;if(vb(e,n.b),e>=n.b>>1)for(r=n.c,t=n.b;t>e;--t)r=r.b;else for(r=n.a.a,t=0;t=64&&e<128&&(i=bf(i,Uh(1,e-64)));return i}function tM(n,e){var t,r;return r=null,fr(n,(We(),Rv))&&(t=u(k(n,Rv),94)).Xe(e)&&(r=t.We(e)),null==r&&Rr(n)&&(r=k(Rr(n),e)),r}function X$n(n,e){var t,r,i;(r=(i=e.d.i).k)!=(Vn(),nr)&&r!=Af&&Ae(t=new ie(ue(Yt(i).a.Kc(),new Yn)))&&tt(n.k,e,u(pe(t),17))}function kL(n,e){var t,r,i;return r=In(n.Tg(),e),(t=e-n.Ah())<0?(i=n.Yg(r))>=0?n.lh(i):uN(n,r):t<0?uN(n,r):u(r,66).Nj().Sj(n,n.yh(),t)}function cn(n){var e;if(I(n.a,4)){if(null==(e=wJ(n.a)))throw C(new $i(GHn+n.b+"'. "+qHn+(Gh(Zy),Zy.k)+Qtn));return e}return n.a}function pve(n){var e;if(null==n)return null;if(null==(e=function BTe(n){var e,t,r,i,c,o,f,h,l,a,d,g,v,p,m,T;if(GZ(),null==n||(p=function Cge(n){var e,t,r;for(r=0,t=n.length,e=0;e>4)<<24>>24,d[g++]=((15&t)<<4|r>>2&15)<<24>>24,d[g++]=(r<<6|i)<<24>>24}return r8(o=c[a++])&&r8(f=c[a++])?(e=Lf[o],t=Lf[f],h=c[a++],l=c[a++],-1==Lf[h]||-1==Lf[l]?61==h&&61==l?15&t?null:(vc(d,0,T=L(ju,Ig,25,3*v+1,15,1),0,3*v),T[g]=(e<<2|t>>4)<<24>>24,T):61!=h&&61==l?3&(r=Lf[h])?null:(vc(d,0,T=L(ju,Ig,25,3*v+2,15,1),0,3*v),T[g++]=(e<<2|t>>4)<<24>>24,T[g]=((15&t)<<4|r>>2&15)<<24>>24,T):null:(r=Lf[h],i=Lf[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((15&t)<<4|r>>2&15)<<24>>24,d[g++]=(r<<6|i)<<24>>24,d)):null}(Tc(n,!0))))throw C(new TO("Invalid base64Binary value: '"+n+"'"));return e}function oe(n){var e;try{return e=n.i.Xb(n.e),n.mj(),n.g=n.e++,e}catch(t){throw I(t=jt(t),73)?(n.mj(),C(new ic)):C(t)}}function yL(n){var e;try{return e=n.c.ki(n.e),n.mj(),n.g=n.e++,e}catch(t){throw I(t=jt(t),73)?(n.mj(),C(new ic)):C(t)}}function A6(){A6=F,We(),Yin=zhn,cR=Thn,Bzn=Bv,Jin=dd,bM(),Hzn=Iin,Kzn=Ain,qzn=Din,Rzn=Sin,zF(),_zn=Xin,iR=Lzn,Qin=Nzn,yA=xzn}function rM(n){switch(iU(),this.c=new X,this.d=n,n.g){case 0:case 2:this.a=aX(gcn),this.b=Ft;break;case 3:case 1:this.a=gcn,this.b=Wt}}function V$n(n,e,t){var i;if(n.c)nu(n.c,n.c.i+e),eu(n.c,n.c.j+t);else for(i=new E(n.b);i.a0&&(W(n.b,new PEn(e.a,t)),0<(r=e.a.length)?e.a=e.a.substr(0,0):0>r&&(e.a+=$yn(L(Hs,Yf,25,-r,15,1))))}function Q$n(n,e){var t,r,i;for(t=n.o,i=u(u(it(n.r,e),21),84).Kc();i.Ob();)(r=u(i.Pb(),111)).e.a=ype(r,t.a),r.e.b=t.b*K(Y(r.b.We(pA)))}function jve(n,e){var t;return t=u(k(n,(nn(),Ci)),74),pD(e,FWn)?t?zs(t):(t=new lu,H(n,Ci,t)):t&&H(n,Ci,null),t}function J$n(n){var e;return(e=new cl).a+="n",n.k!=(Vn(),nr)&&De(De((e.a+="(",e),TD(n.k).toLowerCase()),")"),De((e.a+="_",e),H7(n)),e.a}function Z2(n,e,t,r){var i;return t>=0?n.hh(e,t,r):(n.eh()&&(r=(i=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-i,null,r)),n.Sg(e,t,r))}function kJ(n,e){switch(e){case 7:return!n.e&&(n.e=new $n(lr,n,7,4)),void de(n.e);case 8:return!n.d&&(n.d=new $n(lr,n,8,5)),void de(n.d)}uJ(n,e)}function Yo(n,e){var t;t=n.Zc(e);try{return t.Pb()}catch(r){throw I(r=jt(r),109)?C(new pi("Can't get element "+e)):C(r)}}function yJ(n,e){this.e=n,e=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function nv(){nv=F,Yk=new uE(iS,0),Jk=new uE(Rx,1),Zk=new uE(Kx,2),ny=new uE(Hx,3),Yk.a=!1,Jk.a=!0,Zk.a=!1,ny.a=!0}function P6(){P6=F,ey=new cE(iS,0),mA=new cE(Rx,1),kA=new cE(Kx,2),ty=new cE(Hx,3),ey.a=!1,mA.a=!0,kA.a=!1,ty.a=!0}function nFn(n){var t,r,i;if(r=0,0==(i=_b(n)).c.length)return 1;for(t=new E(i);t.at.b)return!0}return!1}function jL(n,e){return vr(n)?!!aUn[e]:n.hm?!!n.hm[e]:cb(n)?!!lUn[e]:!!ib(n)&&!!hUn[e]}function bi(n,e,t){return null==t?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),JC(n.o,e)):(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),wM(n.o,e,t)),n}function cM(n,e,t,r){var i,c,o;return c=In(n.Tg(),e),(i=e-n.Ah())<0?(o=n.Yg(c))>=0?n._g(o,t,!0):b0(n,c,t):u(c,66).Nj().Pj(n,n.yh(),i,t,r)}function Ove(n,e,t,r){var c,o;t.mh(e)&&(Zr(),bF(e)?function eve(n,e){var t,r,i,c;for(r=0,i=e.gc();r=0)return i;if(n.Fk())for(r=0;r=(i=n.gc()))throw C(new hb(e,i));if(n.hi()&&(r=n.Xc(t))>=0&&r!=e)throw C(new Kn(Rk));return n.mi(e,t)}function EJ(n,e){if(this.a=u(ve(n),245),this.b=u(ve(e),245),n.vd(e)>0||n==(pO(),F_)||e==(vO(),L_))throw C(new Kn("Invalid range: "+FSn(n,e)))}function tFn(n){var e,t;for(this.b=new X,this.c=n,this.a=!1,t=new E(n.a);t.a0),(e&-e)==e)return Ht(e*Nu(n,31)*4.656612873077393e-10);do{r=(t=Nu(n,31))%e}while(t-r+(e-1)<0);return Ht(r)}function L1(n){var e,t,r;return bEn(),null!=(r=wA[t=":"+n])?Ht((_n(r),r)):(e=null==(r=yin[t])?function C8e(n){var e,t,r,i;for(e=0,i=(r=n.length)-4,t=0;t0)for(r=new bu(u(it(n.a,c),21)),An(),ar(r,new tG(e)),i=new Sr(c.b,0);i.b1&&(c=function Lve(n,e){var t,r,i;for(t=Nd(new va,n),i=new E(e);i.a(h=null==n.d?0:n.d.length)){for(a=n.d,n.d=L(O1n,yrn,63,2*h+4,0,1),c=0;cxB;){for(c=e,o=0;j.Math.abs(e-c)0),i.a.Xb(i.c=--i.b),aye(n,n.b-o,c,r,i),ne(i.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(t=0;t102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function IL(n,e){if(null==n)throw C(new p2("null key in entry: null="+e));if(null==e)throw C(new p2("null value in entry: "+n+"=null"))}function sFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[VF(n.a[0],e),VF(n.a[1],e),VF(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function oFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[BC(n.a[0],e),BC(n.a[1],e),BC(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function Ha(){Ha=F,RR=new d8("GREEDY",0),wun=new d8(lHn,1),KR=new d8(iB,2),_m=new d8("MODEL_ORDER",3),Bm=new d8("GREEDY_MODEL_ORDER",4)}function fFn(n,e){var t,r,i;for(n.b[e.g]=1,r=Re(e.d,0);r.b!=r.d.c;)t=u(_e(r),188),1==n.b[(i=t.c).g]?Ke(n.a,t):2==n.b[i.g]?n.b[i.g]=1:fFn(n,i)}function Gve(n,e,t){var r,i,o,f;for(f=n.r+e,n.r+=e,n.d+=t,r=t/n.n.c.length,i=0,o=new E(n.n);o.a0||!o&&0==f))}(n,t,r.d,i,c,o,f)&&e.Fc(r),(l=r.a[1])&&IJ(n,e,t,l,i,c,o,f))}function ug(n,e,t){try{return Dd(CF(n,e,t),1)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function bFn(n,e,t){try{return Dd(CF(n,e,t),0)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function wFn(n,e,t){try{return Dd(CF(n,e,t),2)}catch(r){throw I(r=jt(r),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(r)}}function gFn(n,e){if(-1==n.g)throw C(new hu);n.mj();try{n.d._c(n.g,e),n.f=n.d.j}catch(t){throw I(t=jt(t),73)?C(new Ts):C(t)}}function rpe(n,e,t){le(t,"Linear segments node placement",1),n.b=u(k(e,(G(),Ug)),304),function vCe(n,e){var t,r,i,c,o,f,h,l,a,d,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur,ys,wo;for(ur=new X,p=new E(e.b);p.a=0){for(h=null,f=new Sr(a.a,l+1);f.b0&&h[r]&&(p=Kw(n.b,h[r],i)),m=j.Math.max(m,i.c.c.b+p);for(c=new E(a.e);c.aR)?(h=2,o=Ze):0==h?(h=1,o=en):(h=0,o=en):(v=en>=o||o-en0?(d=u(un(g.c.a,o-1),10),ln=Kw(n.b,g,d),T=g.n.b-g.d.d-(d.n.b+d.o.b+d.d.a+ln)):T=g.n.b-g.d.d,l=j.Math.min(T,l),oc&&St(e,c,null),e}function DL(n,e){var t,r,i;return t=e.cd(),i=e.dd(),r=n.xc(t),!(!(B(i)===B(r)||null!=i&&et(i,r))||null==r&&!n._b(t))}function OJ(n,e,t,r){var i,c;this.a=e,this.c=r,function Qee(n,e){n.b=e}(this,new fn(-(i=n.a).c,-i.d)),ut(this.b,t),c=r/2,e.a?S8(this.b,0,c):S8(this.b,c,0),W(n.c,this)}function hM(){hM=F,cH=new dE(f1,0),bfn=new dE(aHn,1),wfn=new dE("EDGE_LENGTH_BY_POSITION",2),dfn=new dE("CROSSING_MINIMIZATION_BY_POSITION",3)}function $L(n,e){var t,r;if(t=u(Qw(n.g,e),33))return t;if(r=u(Qw(n.j,e),118))return r;throw C(new Kf("Referenced shape does not exist: "+e))}function ope(n,e){if(n.c==e)return n.d;if(n.d==e)return n.c;throw C(new Kn("Node 'one' must be either source or target of edge 'edge'."))}function fpe(n,e){if(n.c.i==e)return n.d.i;if(n.d.i==e)return n.c.i;throw C(new Kn("Node "+e+" is neither source nor target of edge "+n))}function hpe(n,e){var t;switch(e.g){case 2:case 4:n.c.d.n.b<(t=n.a).d.n.b&&(t=n.c),T1(n,e,(mf(),AR),t);break;case 1:case 3:T1(n,e,(mf(),Tv),null)}}function FL(n,e,t,r,i,c){var o,f,h,l,a;for(o=function d3e(n,e,t){var r,i;switch(r=(i=n.b).d,e.g){case 1:return-r.d-t;case 2:return i.o.a+r.c+t;case 3:return i.o.b+r.a+t;case 4:return-r.b-t;default:return-1}}(e,t,c),f=t==(J(),Rn)||t==qn?-1:1,l=n[t.g],a=0;a0&&(h+=i),l[a]=o,o+=f*(h+r)}function vFn(n){var e,t,r;for(n.n=L(kr,wi,25,r=n.f,15,1),n.d=L(kr,wi,25,r,15,1),e=0;e0?n.c:0),++i;n.b=r,n.d=c}function jFn(n,e){var t;return t=S(M(kr,1),wi,25,15,[CJ(n,(Vo(),nc),e),CJ(n,Nc,e),CJ(n,ec,e)]),n.f&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function ape(n,e,t){try{NM(n,e+n.j,t+n.k,!1,!0)}catch(i){throw I(i=jt(i),73)?C(new pi(i.g+uS+e+Xr+t+").")):C(i)}}function dpe(n,e,t){try{NM(n,e+n.j,t+n.k,!0,!1)}catch(i){throw I(i=jt(i),73)?C(new pi(i.g+uS+e+Xr+t+").")):C(i)}}function EFn(n){var e;fr(n,(nn(),x0))&&((e=u(k(n,x0),21)).Hc((xb(),Lo))?(e.Mc(Lo),e.Fc(No)):e.Hc(No)&&(e.Mc(No),e.Fc(Lo)))}function TFn(n){var e;fr(n,(nn(),x0))&&((e=u(k(n,x0),21)).Hc((xb(),Bo))?(e.Mc(Bo),e.Fc(so)):e.Hc(so)&&(e.Mc(so),e.Fc(Bo)))}function K7(n,e,t,r){var i,c;for(i=e;i0&&(i.b+=e),i}function aM(n,e){var t,r,i;for(i=new $r,r=n.Kc();r.Ob();)H6(t=u(r.Pb(),37),0,i.b),i.b+=t.f.b+e,i.a=j.Math.max(i.a,t.f.a);return i.a>0&&(i.a+=e),i}function MFn(n){var e,t,r;for(r=Ze,t=new E(n.a);t.a>16==6?n.Cb.ih(n,5,cf,e):(r=ei(u(In(u(Bn(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function PFn(n){var e,t,r;n.b==n.c&&(t=dQ(j.Math.max(8,r=n.a.length))<<1,0!=n.b?(JIn(n,e=yo(n.a,t),r),n.a=e,n.b=0):Qmn(n.a,t),n.c=r)}function ype(n,e){var t;return(t=n.b).Xe((We(),Ru))?t.Hf()==(J(),qn)?-t.rf().a-K(Y(t.We(Ru))):e+K(Y(t.We(Ru))):t.Hf()==(J(),qn)?-t.rf().a:e}function H7(n){return 0!=n.b.c.length&&u(un(n.b,0),70).a?u(un(n.b,0),70).a:j$(n)??""+(n.c?Li(n.c.a,n,0):-1)}function dM(n){return 0!=n.f.c.length&&u(un(n.f,0),70).a?u(un(n.f,0),70).a:j$(n)??""+(n.i?Li(n.i.j,n,0):-1)}function jpe(n,e){var t,r;if(e<0||e>=n.gc())return null;for(t=e;t0?n.c:0),i=j.Math.max(i,e.d),++r;n.e=c,n.b=i}function FJ(n,e,t,r){return 0==e?r?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),n.o):(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),t7(n.o)):cM(n,e,t,r)}function BL(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e>22),i+=r>>22,i<0)||(n.l=t&Bu,n.m=r&Bu,n.h=i&o1,0))}function Ti(n,e,t){var r,i;return xa(i=new wO,e),Dc(i,t),me((!n.c&&(n.c=new V(U0,n,12,10)),n.c),i),P1(r=i,0),Cb(r,1),$1(r,!0),D1(r,!0),r}function ev(n,e){var t,r;if(e>=n.i)throw C(new hD(e,n.i));return++n.j,t=n.g[e],(r=n.i-e-1)>0&&vc(n.g,e+1,n.g,e,r),St(n.g,--n.i,null),n.fi(e,t),n.ci(),t}function IFn(n,e){var r;return n.Db>>16==17?n.Cb.ih(n,21,ho,e):(r=ei(u(In(u(Bn(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function Fpe(n){var e,t,r,i,c;for(i=Ze,c=null,r=new E(n.d);r.at.a.c.length))throw C(new Kn("index must be >= 0 and <= layer node count"));n.c&&Jc(n.c.a,n),n.c=t,t&&lb(t.a,e,n)}function LFn(n,e){var t,r,i;for(r=new ie(ue(t1(n).a.Kc(),new Yn));Ae(r);)return t=u(pe(r),17),new kj(ve((i=u(e.Kb(t),10)).n.b+i.o.b/2));return e5(),e5(),$_}function NFn(n,e){this.c=new we,this.a=n,this.b=e,this.d=u(k(n,(G(),Ug)),304),this.e=B(k(n,(nn(),zsn)))===B((u7(),tP))?new d9n:new a9n}function O6(n,e){var t,r;return r=null,n.Xe((We(),Rv))&&(t=u(n.We(Rv),94)).Xe(e)&&(r=t.We(e)),null==r&&n.yf()&&(r=n.yf().We(e)),null==r&&(r=cn(e)),r}function _L(n,e){var t,r;t=n.Zc(e);try{return r=t.Pb(),t.Qb(),r}catch(i){throw I(i=jt(i),109)?C(new pi("Can't remove element "+e)):C(i)}}function xJ(n,e){var t,r,i;for(_n(e),Tz(e!=n),i=n.b.c.length,r=e.Kc();r.Ob();)t=r.Pb(),W(n.b,_n(t));return i!=n.b.c.length&&(EQ(n,0),!0)}function q7(){q7=F,We(),lcn=iI,new ni(TH,(Hn(),!0)),bWn=ad,wWn=t2,gWn=Ql,dWn=e2,dcn=_y,vWn=mw,LJ(),hcn=lWn,ocn=fWn,fcn=hWn,acn=aWn,SA=oWn}function BJ(n,e,t,r){var i,c,f;for(yi(e,u(r.Xb(0),29)),f=r.bd(1,r.gc()),c=u(t.Kb(e),20).Kc();c.Ob();)BJ(n,(i=u(c.Pb(),17)).c.i==e?i.d.i:i.c.i,t,f)}function xFn(n){var e;return e=new we,fr(n,(G(),uK))?u(k(n,uK),83):(Bt(gt(new Dn(null,new Fn(n.j,16)),new ebn),new x5n(e)),H(n,uK,e),e)}function _J(n,e){var r;return n.Db>>16==6?n.Cb.ih(n,6,lr,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),wI),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function RJ(n,e){var r;return n.Db>>16==7?n.Cb.ih(n,1,Vy,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),M1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function KJ(n,e){var r;return n.Db>>16==9?n.Cb.ih(n,9,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),A1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function BFn(n,e){var r;return n.Db>>16==5?n.Cb.ih(n,9,TI,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Y1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function HJ(n,e){var r;return n.Db>>16==3?n.Cb.ih(n,0,Jy,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),J1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function _Fn(n,e){var r;return n.Db>>16==7?n.Cb.ih(n,6,cf,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),nl),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function RFn(){this.a=new U2n,this.g=new fM,this.j=new fM,this.b=new we,this.d=new fM,this.i=new fM,this.k=new we,this.c=new we,this.e=new we,this.f=new we}function Hpe(n,e,t){var r,i,c;for(t<0&&(t=0),c=n.i,i=t;iMx)return m3(n,r);if(r==n)return!0}}return!1}function G7(n,e){var t,r,i;for(Jc(n.a,e),n.e-=e.r+(0==n.a.c.length?0:n.c),i=Ptn,r=new E(n.a);r.a>16==3?n.Cb.ih(n,12,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),C1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function GJ(n,e){var r;return n.Db>>16==11?n.Cb.ih(n,10,It,e):(r=ei(u(In(u(Bn(n,16),26)||(Fc(),S1n),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function KFn(n,e){var r;return n.Db>>16==10?n.Cb.ih(n,11,ho,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Z1),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function HFn(n,e){var r;return n.Db>>16==10?n.Cb.ih(n,12,lo,e):(r=ei(u(In(u(Bn(n,16),26)||(Sn(),Mw),n.Db>>16),18)),n.Cb.ih(n,r.n,r.f,e))}function Vs(n){var e;return!(1&n.Bb)&&n.r&&n.r.kh()&&(e=u(n.r,49),n.r=u(Sl(n,e),138),n.r!=e&&4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,9,8,e,n.r))),n.r}function RL(n,e,t){var r;return r=S(M(kr,1),wi,25,15,[wY(n,(Vo(),nc),e,t),wY(n,Nc,e,t),wY(n,ec,e,t)]),n.f&&(r[0]=j.Math.max(r[0],r[2]),r[2]=r[0]),r}function Vpe(n,e){var t,r,i;if(0!=(i=function qve(n,e){var t,r,i;for(i=new Oc(e.gc()),r=e.Kc();r.Ob();)(t=u(r.Pb(),286)).c==t.f?T3(n,t,t.c):K5e(n,t)||(i.c[i.c.length]=t);return i}(n,e)).c.length)for(ar(i,new t0n),t=i.c.length,r=0;r>19)!=(l=e.h>>19)?l-h:(i=n.h)!=(f=e.h)?i-f:(r=n.m)!=(o=e.m)?r-o:n.l-e.l}function bM(){bM=F,FM(),Din=new Pn($nn,$in=Y_),uC(),Iin=new Pn(Fnn,Oin=J_),nM(),Ain=new Pn(Lnn,Pin=Q_),Sin=new Pn(Nnn,(Hn(),!0))}function D6(n,e,t){var r,i;r=e*t,I(n.g,145)?(i=K2(n)).f.d?i.f.a||(n.d.a+=r+Tf):(n.d.d-=r+Tf,n.d.a+=r+Tf):I(n.g,10)&&(n.d.d-=r,n.d.a+=2*r)}function qFn(n,e,t){var r,i,c,o,f;for(i=n[t.g],f=new E(e.d);f.a0?n.g:0),++t;e.b=r,e.e=i}function GFn(n){var e,t,r;if(a7n(n.i,(r=n.b).length)){for(n.b=L(x_,mk,317,t=2*r.length,0,1),n.c=L(x_,mk,317,t,0,1),n.f=t-1,n.i=0,e=n.a;e;e=e.c)J7(n,e,e);++n.g}}function i3e(n,e,t){var r;(r=e.c.i).k==(Vn(),br)?(H(n,(G(),rf),u(k(r,rf),11)),H(n,io,u(k(r,io),11))):(H(n,(G(),rf),e.c),H(n,io,t.d))}function k3(n,e,t){var r,i,c,o,f,h;return gg(),o=e/2,c=t/2,f=1,h=1,(r=j.Math.abs(n.a))>o&&(f=o/r),(i=j.Math.abs(n.b))>c&&(h=c/i),Gf(n,j.Math.min(f,h)),n}function UFn(){zj.call(this),this.e=-1,this.a=!1,this.p=Lr,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Lr}function zJ(){zJ=F,mWn=Tu(Ye(Ye(Ye(new or,(Wr(),Mc),(ti(),zcn)),Mc,Wcn),Oi,Xcn),Oi,Lcn),yWn=Ye(Ye(new or,Mc,Acn),Mc,Ncn),kWn=Tu(new or,Oi,Bcn)}function w3e(n,e){var t,r,i,c;for(c=new we,e.e=null,e.f=null,r=new E(e.i);r.a0)try{i=ls(e,Lr,Ze)}catch(c){throw I(c=jt(c),127)?C(new tC(c)):C(c)}return!n.a&&(n.a=new oO(n)),i<(t=n.a).i&&i>=0?u(O(t,i),56):null}(n,0==(i=e.c.length)?"":(Ln(0,e.c.length),Te(e.c[0]))),r=1;r0&&(i=zY(n,(c&Ze)%n.d.length,c,e))?i.ed(t):(r=n.tj(c,e,t),n.c.Fc(r),null)}function VJ(n,e){var t,r,i,c;switch(O1(n,e)._k()){case 3:case 2:for(i=0,c=(t=pg(e)).i;i=0?e:-e;r>0;)r%2==0?(t*=t,r=r/2|0):(i*=t,r-=1);return e<0?1/i:i}(n,n)/$Q(2.718281828459045,n))}function y3(n,e){var t;if(n.ni()&&null!=e){for(t=0;t0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=j.Math.min(r,i))}function YFn(n,e){var r;if(r=!1,vr(e)&&(r=!0,L2(n,new bb(Te(e)))),r||I(e,236)&&(r=!0,L2(n,new yj(eW(u(e,236))))),!r)throw C(new yO(lrn))}function YJ(n){var e,t;switch(u(k(Rr(n),(nn(),Bsn)),420).g){case 0:return new fn((e=n.n).a+(t=n.o).a/2,e.b+t.b/2);case 1:return new mi(n.n);default:return null}}function z7(){z7=F,rP=new y5(f1,0),Eun=new y5("LEFTUP",1),Cun=new y5("RIGHTUP",2),jun=new y5("LEFTDOWN",3),Tun=new y5("RIGHTDOWN",4),XR=new y5("BALANCED",5)}function ZJ(n,e,t){switch(e){case 1:return!n.n&&(n.n=new V(_i,n,1,7)),de(n.n),!n.n&&(n.n=new V(_i,n,1,7)),void Dt(n.n,u(t,14));case 2:return void a6(n,Te(t))}mQ(n,e,t)}function nY(n,e,t){switch(e){case 3:return void n0(n,K(Y(t)));case 4:return void e0(n,K(Y(t)));case 5:return void nu(n,K(Y(t)));case 6:return void eu(n,K(Y(t)))}ZJ(n,e,t)}function gM(n,e,t){var i,c;(i=jf(c=new wO,e,null))&&i.Fi(),Dc(c,t),me((!n.c&&(n.c=new V(U0,n,12,10)),n.c),c),P1(c,0),Cb(c,1),$1(c,!0),D1(c,!0)}function eY(n,e){var t,i;return I(t=g5(n.g,e),235)?((i=u(t,235)).Qh(),i.Nh()):I(t,498)?i=u(t,1938).b:null}function L3e(n,e,t,r){var i,c;return ve(e),ve(t),RPn(!!(c=u(H5(n.d,e),19)),"Row %s not in %s",e,n.e),RPn(!!(i=u(H5(n.b,t),19)),"Column %s not in %s",t,n.c),UOn(n,c.a,i.a,r)}function ZFn(n,e,t,r,i,c,o){var f,h,l,a,d;if(d=kFn(f=(l=c==o-1)?r:0,a=i[c]),10!=r&&S(M(n,o-c),e[c],t[c],f,d),!l)for(++c,h=0;h0?n.i:0)),++e;for(function o2e(n,e){var t,r;for(_n(e),t=!1,r=new E(n);r.a1||-1==f?(c=u(h,15),i.Wb(function H2e(n,e){var r,i,c;for(i=new Oc(e.gc()),r=e.Kc();r.Ob();)(c=AN(n,u(r.Pb(),56)))&&(i.c[i.c.length]=c);return i}(n,c))):i.Wb(AN(n,u(h,56))))}function G3e(n){switch(u(k(n.b,(nn(),Osn)),375).g){case 1:Bt(Vc(qi(new Dn(null,new Fn(n.d,16)),new _bn),new Rbn),new Kbn);break;case 2:!function $7e(n){var e,t,r,i,c,o,f;for(r=0,f=0,o=new E(n.d);o.a0&&OFn(this,this.c-1,(J(),Xn)),this.c0&&n[0].length>0&&(this.c=on(sn(k(Rr(n[0][0]),(G(),Run))))),this.a=L(fJn,q,2018,n.length,0,2),this.b=L(hJn,q,2019,n.length,0,2),this.d=new ADn}function s4e(n){return 0!=n.c.length&&((Ln(0,n.c.length),u(n.c[0],17)).c.i.k==(Vn(),br)||xp(Vc(new Dn(null,new Fn(n,16)),new Own),new Dwn))}function o4e(n,e,t){return le(t,"Tree layout",1),BT(n.b),mh(n.b,(p3(),xP),xP),mh(n.b,c9,c9),mh(n.b,Cy,Cy),mh(n.b,u9,u9),n.a=GM(n.b,e),function x8e(n,e,t){var r,i,o;if(!(i=t)&&(i=new ip),le(i,"Layout",n.a.c.length),on(sn(k(e,(w0(),Uon)))))for(wh(),r=0;r=0?(t=U7(n,nS),r=N7(n,nS)):(t=U7(e=ab(n,1),5e8),r=_r(Uh(r=N7(e,5e8),1),rr(n,1))),bf(Uh(r,32),rr(t,si))}function hLn(n,e,t){var r;switch(ne(0!=e.b),r=u(Os(e,e.a.a),8),t.g){case 0:r.b=0;break;case 2:r.b=n.f;break;case 3:r.a=0;break;default:r.a=n.g}return R8(Re(e,0),r),e}function lLn(n,e,t,r){var i,c,o,f;switch(f=mJ(o=(c=e.d).j,n.b.d[o.g],t),i=ut(Ji(c.n),c.a),c.j.g){case 1:case 3:f.a+=i.a;break;case 2:case 4:f.b+=i.b}Rt(r,f,r.c.b,r.c)}function k4e(n,e,t){var r,i,c,o;for(o=Li(n.e,e,0),(c=new EG).b=t,r=new Sr(n.e,o);r.b=0;e--)win[e]=r,r*=.5;for(t=1,n=24;n>=0;n--)bin[n]=t,t*=.5}function M4e(n){var e,t;if(on(sn(hn(n,(nn(),lw)))))for(t=new ie(ue(c1(n).a.Kc(),new Yn));Ae(t);)if(d0(e=u(pe(t),79))&&on(sn(hn(e,ud))))return!0;return!1}function aLn(n,e){var t,r,i;tr(n.f,e)&&(e.b=n,-1!=Li(n.j,r=e.c,0)||W(n.j,r),-1!=Li(n.j,i=e.d,0)||W(n.j,i),0!=(t=e.a.b).c.length&&(!n.i&&(n.i=new G$n(n)),function Hbe(n,e){var t,r;for(r=new E(e);r.a=0&&Mn(n.substr(e,3),"GMT")||e>=0&&Mn(n.substr(e,3),"UTC"))&&(t[0]=e+3),function _Z(n,e,t){var r,i,c,o;if(e[0]>=n.length)return t.o=0,!0;switch(Pr(n,e[0])){case 43:i=1;break;case 45:i=-1;break;default:return t.o=0,!0}if(++e[0],c=e[0],0==(o=EM(n,e))&&e[0]==c)return!1;if(e[0]=n.f)break;c.c[c.c.length]=t}return c}function bY(n){var e,t,r,i;for(e=null,i=new E(n.wf());i.a0&&vc(n.g,e,n.g,e+r,f),o=t.Kc(),n.i+=r,i=0;ic&&Ufe(l,oIn(t[f],ain))&&(i=f,c=h);return i>=0&&(r[0]=e+c),i}function B4e(n,e,t){le(t,"Grow Tree",1),n.b=e.f,on(sn(k(e,(Zp(),$m))))?(n.c=new bj,OMn(n,null)):n.c=new bj,n.a=!1,Fxn(n,e.f),H(e,zin,(Hn(),!!n.a)),ce(t)}function ru(n){var t;return n>=Vr?(t=56320+(n-Vr&1023)&Gt,String.fromCharCode(Ek+(n-Vr>>10&1023)&Gt)+""+String.fromCharCode(t)):String.fromCharCode(n&Gt)}function wLn(n,e,t,r,i){var c,o,f;for(c=Yxn(n,e,t,r,i),f=!1;!c;)CM(n,i,!0),f=!0,c=Yxn(n,e,t,r,i);f&&CM(n,i,!1),0!=(o=$F(i)).c.length&&(n.d&&n.d.lg(o),wLn(n,i,t,r,o))}function kM(){kM=F,xH=new S5(f1,0),r1n=new S5("DIRECTED",1),c1n=new S5("UNDIRECTED",2),e1n=new S5("ASSOCIATION",3),i1n=new S5("GENERALIZATION",4),t1n=new S5("DEPENDENCY",5)}function j3(n,e){var t,r;for(_n(e),r=n.b.c.length,W(n.b,e);r>0;){if(t=r,n.a.ue(un(n.b,r=(r-1)/2|0),e)<=0)return Ps(n.b,t,e),!0;Ps(n.b,t,un(n.b,r))}return Ps(n.b,r,e),!0}function wY(n,e,t,r){var i,c;if(i=0,t)i=BC(n.a[t.g][e.g],r);else for(c=0;c=f}function gY(n,e,t,r){var i;if(i=!1,vr(r)&&(i=!0,Tp(e,t,Te(r))),i||ib(r)&&(i=!0,gY(n,e,t,r)),i||I(r,236)&&(i=!0,Ta(e,t,u(r,236))),!i)throw C(new yO(lrn))}function gLn(n,e){var t,r,i,c;if(_n(e),(c=n.a.gc())=B1?"error":"warn",n.a),n.b&&pZ(e,t,n.b,"Exception: ",!0))}function k(n,e){var t;return!n.q&&(n.q=new we),te(n.q,e)??(I(t=e.wg(),4)&&(null==t?(!n.q&&(n.q=new we),G2(n.q,e)):(!n.q&&(n.q=new we),tt(n.q,e,t))),t)}function Wr(){Wr=F,fh=new l8("P1_CYCLE_BREAKING",0),ql=new l8("P2_LAYERING",1),Hc=new l8("P3_NODE_ORDERING",2),Mc=new l8("P4_NODE_PLACEMENT",3),Oi=new l8("P5_EDGE_ROUTING",4)}function kLn(n,e){var t,r,c,o;for(r=(1==e?gR:wR).a.ec().Kc();r.Ob();)for(t=u(r.Pb(),103),o=u(it(n.f.c,t),21).Kc();o.Ob();)c=u(o.Pb(),46),Jc(n.b.b,c.b),Jc(n.b.a,u(c.b,81).d)}function Q4e(n,e){var t;if(h6(),n.c==e.c){if(n.b==e.b||function ybe(n,e){return r3(),n==I0&&e==rw||n==rw&&e==I0||n==Lg&&e==tw||n==tw&&e==Lg}(n.b,e.b)){if(t=function Iie(n){return n==I0||n==rw}(n.b)?1:-1,n.a&&!e.a)return t;if(!n.a&&e.a)return-t}return Wc(n.b.g,e.b.g)}return Jt(n.c,e.c)}function yLn(n,e){var t,r;if(kY(n,e))return!0;for(r=new E(e);r.a=(i=n.Vi())||e<0)throw C(new pi(a_+e+Ya+i));if(t>=i||t<0)throw C(new pi(d_+t+Ya+i));return e!=t?(c=n.Ti(t),n.Hi(e,c),r=c):r=n.Oi(t),r}function TLn(n){var e,t,r;if(r=n,n)for(e=0,t=n.Ug();t;t=t.Ug()){if(++e>Mx)return TLn(t);if(r=t,t==n)throw C(new $i("There is a cycle in the containment hierarchy of "+n))}return r}function Il(n){var e,t,r;for(r=new $a(Xr,"[","]"),t=n.Kc();t.Ob();)Qh(r,B(e=t.Pb())===B(n)?"(this Collection)":null==e?iu:xi(e));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function kY(n,e){var t,r;if(r=!1,e.gc()<2)return!1;for(t=0;tr&&(Ce(e-1,n.length),n.charCodeAt(e-1)<=32);)--e;return r>0||e1&&(n.j.b+=n.e)):(n.j.a+=t.a,n.j.b=j.Math.max(n.j.b,t.b),n.d.c.length>1&&(n.j.a+=n.e))}function Ol(){Ol=F,cXn=S(M(Qr,1),lc,61,0,[(J(),Rn),Xn,ae]),iXn=S(M(Qr,1),lc,61,0,[Xn,ae,qn]),uXn=S(M(Qr,1),lc,61,0,[ae,qn,Rn]),sXn=S(M(Qr,1),lc,61,0,[qn,Rn,Xn])}function Z4e(n,e,t,r){var i,o,f,h,a;if((o=n.c.d).j!=(f=n.d.d).j)for(a=n.b,i=o.j,h=null;i!=f.j;)h=0==e?HC(i):qQ(i),Ke(r,ut(mJ(i,a.d[i.g],t),mJ(h,a.d[h.g],t))),i=h}function n5e(n,e,t,r){var i,c,o,f,h;return f=u((o=DFn(n.a,e,t)).a,19).a,c=u(o.b,19).a,r&&(h=u(k(e,(G(),Au)),10),i=u(k(t,Au),10),h&&i&&(BSn(n.b,h,i),f+=n.b.i,c+=n.b.e)),f>c}function MLn(n){var e,t,r,i,c,f,h,l;for(this.a=eFn(n),this.b=new X,r=0,i=(t=n).length;r0&&(n.a[tl.p]=pln++)}for(R9=0,Nf=0,x9=(ur=t).length;Nf0;){for(ne(fj.b>0),oj=0,f=new E((tl=u(fj.a.Xb(fj.c=--fj.b),11)).e);f.a0&&(tl.j==(J(),Rn)?(n.a[tl.p]=R9,++R9):(n.a[tl.p]=R9+sj+eq,++eq))}R9+=eq}for(U4=new we,p=new qh,ys=0,OI=(se=e).length;ysl.b&&(l.b=Wv)):tl.i.c==zee&&(Wvl.c&&(l.c=Wv));for(Kp(m,0,m.length,null),Xv=L(be,Ne,25,m.length,15,1),r=L(be,Ne,25,R9+1,15,1),A=0;A0;)en%2>0&&(i+=cq[en+1]),++cq[en=(en-1)/2|0];for(wn=L(vJn,rn,362,2*m.length,0,1),N=0;NAD(n.d).c?(n.i+=n.g.c,dL(n.d)):AD(n.d).c>AD(n.g).c?(n.e+=n.d.c,dL(n.g)):(n.i+=rTn(n.g),n.e+=rTn(n.d),dL(n.g),dL(n.d))}function ALn(n,e,t,r){n.a.d=j.Math.min(e,t),n.a.a=j.Math.max(e,r)-n.a.d,ef&&(h=f/r),(i=j.Math.abs(e.b-n.b))>c&&(l=c/i),o=j.Math.min(h,l),n.a+=o*(e.a-n.a),n.b+=o*(e.b-n.b)}function s5e(n,e,t,r,i){var c,o;for(o=!1,c=u(un(t.b,0),33);jye(n,e,c,r,i)&&(o=!0,R3e(t,c),0!=t.b.c.length);)c=u(un(t.b,0),33);return 0==t.b.c.length&&G7(t.j,t),o&&lM(e.q),o}function o5e(n,e){var t,r,i,c;if(gg(),e.b<2)return!1;for(r=t=u(_e(c=Re(e,0)),8);c.b!=c.d.c;){if(gN(n,r,i=u(_e(c),8)))return!0;r=i}return!!gN(n,r,t)}function jY(n,e,t,r){return 0==t?(!n.o&&(n.o=new Ju((Fc(),ta),G0,n,0)),HE(n.o,e,r)):u(In(u(Bn(n,16),26)||n.zh(),t),66).Nj().Rj(n,_c(n),t-ee(n.zh()),e,r)}function JL(n,e){var t;e!=n.sb?(t=null,n.sb&&(t=u(n.sb,49).ih(n,1,M9,t)),e&&(t=u(e,49).gh(n,1,M9,t)),(t=NQ(n,e,t))&&t.Fi()):4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,4,e,e))}function Vn(){Vn=F,nr=new p5("NORMAL",0),br=new p5("LONG_EDGE",1),zt=new p5("EXTERNAL_PORT",2),Sc=new p5("NORTH_SOUTH_PORT",3),ns=new p5("LABEL",4),Af=new p5("BREAKING_POINT",5)}function d5e(n,e,t){var r;le(t,"Self-Loop routing",1),r=function Rge(n){switch(u(k(n,(nn(),l1)),218).g){case 1:return new twn;case 3:return new swn;default:return new ewn}}(e),jE(k(e,(VT(),b9))),Bt(Vc(gt(gt(qi(new Dn(null,new Fn(e.b,16)),new U0n),new z0n),new W0n),new X0n),new B7n(n,r)),ce(t)}function OLn(n,e){var t,r,i;return(e&=63)<22?(t=n.l<>22-e,i=n.h<>22-e):e<44?(t=0,r=n.l<>44-e):(t=0,r=0,i=n.l<n)throw C(new Kn("k must be smaller than n"));return 0==e||e==n?1:0==n?0:QJ(n)/(QJ(e)*QJ(n-e))}function EY(n,e){var t,r,i,c;for(t=new zU(n);null!=t.g||t.c?null==t.g||0!=t.i&&u(t.g[t.i-1],47).Ob():CX(t);)if(I(c=u(MM(t),56),160))for(r=u(c,160),i=0;i0&&sk(n,t,e),i):function lme(n,e,t){var r,i,c;return i=n.c[t.c.p][t.p],null!=(r=n.c[e.c.p][e.p]).a&&null!=i.a?((c=n$(r.a,i.a))<0?sk(n,e,t):c>0&&sk(n,t,e),c):null!=r.a?(sk(n,e,t),-1):null!=i.a?(sk(n,t,e),1):0}(n,e,t)}function FLn(n,e,t){var r,i,c,o;if(0!=e.b){for(r=new Ct,o=Re(e,0);o.b!=o.d.c;)zr(r,cQ(c=u(_e(o),86))),(i=c.e).a=u(k(c,(uc(),QK)),19).a,i.b=u(k(c,Hon),19).a;FLn(n,r,jc(t,r.b/n.a|0))}}function LLn(n,e){var t,r,i,c,o;if(n.e<=e||function xle(n,e,t){var r;return(r=W6(n,e,!1)).b<=e&&r.a<=t}(n,n.g,e))return n.g;for(o=n.r,i=((c=n.r)-(r=n.g))/2+r;r+11&&(n.e.b+=n.a)):(n.e.a+=t.a,n.e.b=j.Math.max(n.e.b,t.b),n.d.c.length>1&&(n.e.a+=n.a))}function F5e(n){var e,t,r,i;switch(e=(i=n.i).b,r=i.j,t=i.g,i.a.g){case 0:t.a=(n.g.b.o.a-r.a)/2;break;case 1:t.a=e.d.n.a+e.d.a.a;break;case 2:t.a=e.d.n.a+e.d.a.a-r.a;break;case 3:t.b=e.d.n.b+e.d.a.b}}function NLn(n,e,t,r,i){if(rr&&(n.a=r),n.bi&&(n.b=i),n}function L5e(n){if(I(n,149))return function h8e(n){var t,r,l,a,d;return d=dY(n),null!=n.a&&Tp(d,"category",n.a),!t8(new Yv(n.d))&&(Xo(d,"knownOptions",l=new da),t=new kmn(l),Ir(new Yv(n.d),t)),!t8(n.g)&&(Xo(d,"supportedFeatures",a=new da),r=new ymn(a),Ir(n.g,r)),d}(u(n,149));if(I(n,229))return function s2e(n){var e,i,c;return c=dY(n),!t8(n.c)&&(Xo(c,"knownLayouters",i=new da),e=new jmn(i),Ir(n.c,e)),c}(u(n,229));if(I(n,23))return function b5e(n){var e,h,l;return l=dY(n),null!=n.e&&Tp(l,_S,n.e),!!n.k&&Tp(l,"type",TD(n.k)),!t8(n.j)&&(h=new da,Xo(l,h_,h),e=new Emn(h),Ir(n.j,e)),l}(u(n,23));throw C(new Kn(arn+Il(new Uu(S(M(Zn,1),rn,1,5,[n])))))}function SY(n,e,t,r){var i,c;if(e.k==(Vn(),br))for(c=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(c);)if((i=u(pe(c),17)).c.i.k==br&&n.c.a[i.c.i.c.p]==r&&n.c.a[e.c.p]==t)return!0;return!1}function xLn(n,e,t,r){var i;this.b=r,this.e=n==(t0(),t9),this.d=ya(Hu,[q,Oh],[177,25],16,[(i=e[t]).length,i.length],2),this.a=ya(be,[q,Ne],[48,25],15,[i.length,i.length],2),this.c=new fY(e,t)}function B5e(n){var t,r;for(n.k=new PX((J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])).length,n.j.c.length),r=new E(n.j);r.a=t)return T3(n,e,r.p),!0;return!1}function _Ln(n){var e;return 64&n.Db?YL(n):(e=new ts(ern),!n.a||De(De((e.a+=' "',e),n.a),'"'),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function RLn(n,e,t){var r,i,c,o,f;for(f=Kc(n.e.Tg(),e),i=u(n.g,119),r=0,o=0;o0&&qLn(n,c,t));e.p=0}function bn(n){var e;this.c=new Ct,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,this.j=n.i?n.i:new Ms(e=u(Go(V1),9),u(yo(e,e.length),9),0),this.g=n.f}function GLn(n,e,t){var r,i,c;if(!(t<=e+2))for(i=(t-e)/2|0,r=0;r=0?n.Bh(i):RY(n,r)}else $s(n,t,r)}function AY(n){var e,t;if(t=null,e=!1,I(n,204)&&(e=!0,t=u(n,204).a),e||I(n,258)&&(e=!0,t=""+u(n,258).a),e||I(n,483)&&(e=!0,t=""+u(n,483).a),!e)throw C(new yO(lrn));return t}function WLn(n,e){var t,r;if(n.f){for(;e.Ob();)if(I(r=(t=u(e.Pb(),72)).ak(),99)&&u(r,18).Bb&sc&&(!n.e||r.Gj()!=R4||0!=r.aj())&&null!=t.dd())return e.Ub(),!0;return!1}return e.Ob()}function XLn(n,e){var t,r;if(n.f){for(;e.Sb();)if(I(r=(t=u(e.Ub(),72)).ak(),99)&&u(r,18).Bb&sc&&(!n.e||r.Gj()!=R4||0!=r.aj())&&null!=t.dd())return e.Pb(),!0;return!1}return e.Sb()}function PY(n,e,t){var r,i,o,f,h;for(h=Kc(n.e.Tg(),e),r=0,f=n.i,i=u(n.g,119),o=0;o=(i/2|0))for(this.e=r?r.c:null,this.d=i;t++0;)MX(this);this.b=e,this.a=null}function J5e(n,e){var t,r;e.a?function k8e(n,e){var t;if(!_8(n.b,e.b))throw C(new $i("Invalid hitboxes for scanline constraint calculation."));(HOn(e.b,u(function kue(n,e){return PO(y$n(n.a,e,!0))}(n.b,e.b),57))||HOn(e.b,u(function mue(n,e){return PO(k$n(n.a,e,!0))}(n.b,e.b),57)))&&wh(),n.a[e.b.f]=u($D(n.b,e.b),57),(t=u(DD(n.b,e.b),57))&&(n.a[t.f]=e.b)}(n,e):((t=u($D(n.b,e.b),57))&&t==n.a[e.b.f]&&t.a&&t.a!=e.b.a&&t.c.Fc(e.b),(r=u(DD(n.b,e.b),57))&&n.a[r.f]==e.b&&r.a&&r.a!=e.b.a&&e.b.c.Fc(r),kD(n.b,e.b))}function QLn(n,e){var t,r;if(t=u(ai(n.b,e),124),u(u(it(n.r,e),21),84).dc())return t.n.b=0,void(t.n.c=0);t.n.b=n.C.b,t.n.c=n.C.c,n.A.Hc((Zu(),gd))&&kBn(n,e),r=function Sve(n,e){var t,r,i;for(i=0,r=u(u(it(n.r,e),21),84).Kc();r.Ob();)i+=(t=u(r.Pb(),111)).d.b+t.b.rf().a+t.d.c,r.Ob()&&(i+=n.w);return i}(n,e),pN(n,e)==(ig(),Yl)&&(r+=2*n.w),t.a.a=r}function JLn(n,e){var t,r;if(t=u(ai(n.b,e),124),u(u(it(n.r,e),21),84).dc())return t.n.d=0,void(t.n.a=0);t.n.d=n.C.d,t.n.a=n.C.a,n.A.Hc((Zu(),gd))&&yBn(n,e),r=function Ave(n,e){var t,r,i;for(i=0,r=u(u(it(n.r,e),21),84).Kc();r.Ob();)i+=(t=u(r.Pb(),111)).d.d+t.b.rf().b+t.d.a,r.Ob()&&(i+=n.w);return i}(n,e),pN(n,e)==(ig(),Yl)&&(r+=2*n.w),t.a.b=r}function Y5e(n,e){var t,r,i,c;for(c=new X,r=new E(e);r.a=0&&Mn(n.substr(f,2),"//")?(h=vL(n,f+=2,A9,P9),r=n.substr(f,h-f),f=h):null!=d&&(f==n.length||(Ce(f,n.length),47!=n.charCodeAt(f)))&&(o=!1,-1==(h=wz(n,ru(35),f))&&(h=n.length),r=n.substr(f,h-f),f=h);if(!t&&f0&&58==Pr(a,a.length-1)&&(i=a,f=h)),f0&&(Ce(0,t.length),47!=t.charCodeAt(0))))throw C(new Kn("invalid opaquePart: "+t));if(n&&(null==e||!c8(EI,e.toLowerCase()))&&null!=t&&oL(t,A9,P9))throw C(new Kn(aGn+t));if(n&&null!=e&&c8(EI,e.toLowerCase())&&!function Z3e(n){if(null!=n&&n.length>0&&33==Pr(n,n.length-1))try{return null==eNn(rs(n,0,n.length-1)).e}catch(t){if(!I(t=jt(t),32))throw C(t)}return!1}(t))throw C(new Kn(aGn+t));if(!function r2e(n){var e;return null==n||(e=n.length)>0&&(Ce(e-1,n.length),58==n.charCodeAt(e-1))&&!oL(n,A9,P9)}(r))throw C(new Kn("invalid device: "+r));if(!function Qwe(n){var e,t;if(null==n)return!1;for(e=0,t=n.length;et.a&&(r.Hc(($b(),Dy))?i=(e.a-t.a)/2:r.Hc($y)&&(i=e.a-t.a)),e.b>t.b&&(r.Hc(($b(),Ly))?c=(e.b-t.b)/2:r.Hc(Fy)&&(c=e.b-t.b)),vY(n,i,c)}function cNn(n,e,t,r,i,c,o,f,h,l,a,d,g){I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),4),Dc(n,t),n.f=o,a3(n,f),b3(n,h),l3(n,l),d3(n,a),$1(n,d),w3(n,g),D1(n,!0),P1(n,i),n.ok(c),xa(n,e),null!=r&&(n.i=null,yC(n,r))}function uNn(n){var e,t;if(n.f){for(;n.n>0;){if(I(t=(e=u(n.k.Xb(n.n-1),72)).ak(),99)&&u(t,18).Bb&sc&&(!n.e||t.Gj()!=R4||0!=t.aj())&&null!=e.dd())return!0;--n.n}return!1}return n.n>0}function LY(n,e,t){if(n<0)return K6(GRn,S(M(Zn,1),rn,1,5,[t,Q(n)]));if(e<0)throw C(new Kn(URn+e));return K6("%s (%s) must not be greater than size (%s)",S(M(Zn,1),rn,1,5,[t,Q(n),Q(e)]))}function NY(n,e,t,r,i,c){var f,h,l;if(r-t<7)!function Qge(n,e,t,r){var i,c,o;for(i=e+1;ie&&r.ue(n[c-1],n[c])>0;--c)o=n[c],St(n,c,n[c-1]),St(n,c-1,o)}(e,t,r,c);else if(NY(e,n,h=t+i,l=h+((f=r+i)-h>>1),-i,c),NY(e,n,l,f,-i,c),c.ue(n[l-1],n[l])<=0)for(;t=r||e=0?n.sh(c,t):aZ(n,i,t)}else Ls(n,r,i,t)}function sNn(n){var e,t,r,i;if(t=u(n,49).qh())try{if(r=null,(e=S3((fl(),ao),qBn(function Zge(n){return null==n.e?n:(!n.c&&(n.c=new kN(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,null)),n.c)}(t))))&&(i=e.rh())&&(r=i.Wk(function sre(n){return _n(n),n}(t.e))),r&&r!=n)return sNn(r)}catch(c){if(!I(c=jt(c),60))throw C(c)}return n}function Rc(n,e,t){var i,c,o;if(o=null==e?0:n.b.se(e),0==(i=n.a.get(o)??new Array).length)n.a.set(o,i);else if(c=EDn(n,e,i))return c.ed(t);return St(i,i.length,new iE(e,t)),++n.c,MT(n.b),null}function oNn(n,e){var r;return BT(n.a),mh(n.a,(TC(),GP),GP),mh(n.a,D4,D4),Ye(r=new or,D4,(UC(),eH)),B(hn(e,(Ob(),iH)))!==B((A7(),UP))&&Ye(r,D4,ZK),Ye(r,D4,nH),oyn(n.a,r),GM(n.a,e)}function fNn(n){if(!n)return z9n(),jUn;var e=n.valueOf?n.valueOf():n;if(e!==n){var t=H_[typeof e];return t?t(e):AQ(typeof e)}return n instanceof Array||n instanceof j.Array?new $q(n):new G9(n)}function hNn(n,e,t){var r,i,c;switch(c=n.o,(i=(r=u(ai(n.p,t),244)).i).b=Z7(r),i.a=Y7(r),i.b=j.Math.max(i.b,c.a),i.b>c.a&&!e&&(i.b=c.a),i.c=-(i.b-c.a)/2,t.g){case 1:i.d=-i.a;break;case 3:i.d=c.b}ON(r),DN(r)}function lNn(n,e,t){var r,i,c;switch(c=n.o,(i=(r=u(ai(n.p,t),244)).i).b=Z7(r),i.a=Y7(r),i.a=j.Math.max(i.a,c.b),i.a>c.b&&!e&&(i.a=c.b),i.d=-(i.a-c.b)/2,t.g){case 4:i.c=-i.b;break;case 2:i.c=c.a}ON(r),DN(r)}function w6e(n,e){var t,r,i,c;if(gg(),e.b<2)return!1;for(r=t=u(_e(c=Re(e,0)),8);c.b!=c.d.c;){if(i=u(_e(c),8),!Yp(n,r)||!Yp(n,i))return!1;r=i}return!(!Yp(n,r)||!Yp(n,t))}function xY(n,e){var o,f,h,l,d;return o=Zh(d=n,"x"),function s0e(n,e){nu(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new smn(e).a,o),f=Zh(d,"y"),function o0e(n,e){eu(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new omn(e).a,f),h=Zh(d,u_),function f0e(n,e){e0(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new fmn(e).a,h),l=Zh(d,c_),function h0e(n,e){n0(n,null==e||qE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}(new hmn(e).a,l),l}function Nb(n,e){vBn(n,e),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function p6e(n){var e,t,r,i,c;if(null==n)return iu;for(c=new $a(Xr,"[","]"),r=0,i=(t=n).length;r0)for(o=n.c.d,i=Gf(pr(new fn((f=n.d.d).a,f.b),o),1/(r+1)),c=new fn(o.a,o.b),t=new E(n.a);t.a(Ln(f+1,e.c.length),u(e.c[f+1],19)).a-r&&++l,W(o,(Ln(f+l,e.c.length),u(e.c[f+l],19))),h+=(Ln(f+l,e.c.length),u(e.c[f+l],19)).a-r,++t;t=0?n._g(t,!0,!0):b0(n,i,!0),153),u(r,215).ol(e)}function KY(n){var e,t;return n>-0x800000000000&&n<0x800000000000?0==n?0:((e=n<0)&&(n=-n),t=Ht(j.Math.floor(j.Math.log(n)/.6931471805599453)),(!e||n!=j.Math.pow(2,t))&&++t,t):xOn(tu(n))}function mNn(n,e){var t,r,i;return Pi(r=new i1(n),e),H(r,(G(),hP),e),H(r,(nn(),Nt),(Tr(),Pc)),H(r,hh,(Th(),eI)),ba(r,(Vn(),zt)),Hi(t=new gc,r),ir(t,(J(),qn)),Hi(i=new gc,r),ir(i,Xn),r}function kNn(n){switch(n.g){case 0:return new jO((t0(),Ey));case 1:return new L3n;case 2:return new H3n;default:throw C(new Kn("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)))}}function yNn(n,e){var r,i,c,o;for(n.c[e.p]=!0,W(n.a,e),o=new E(e.j);o.a=(c=o.gc()))o.$b();else for(i=o.Kc(),r=0;r0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}else f=n8n(lOn(mT(gt(c$(n.a),new Nln),new xln)));return f>0?f+n.n.d+n.n.a:0}function Z7(n){var e,t,r,i,c,f;if(f=0,0==n.b)f=n8n(lOn(mT(gt(c$(n.a),new Fln),new Lln)));else{for(e=0,i=0,c=(r=oFn(n,!0)).length;i0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}return f>0?f+n.n.b+n.n.c:0}function MNn(n){var e,t;return(t=new cl).a+="e_",null!=(e=function Qbe(n){return 0!=n.b.c.length&&u(un(n.b,0),70).a?u(un(n.b,0),70).a:j$(n)}(n))&&(t.a+=""+e),n.c&&n.d&&(De((t.a+=" ",t),dM(n.c)),De(cc((t.a+="[",t),n.c.i),"]"),De((t.a+=nB,t),dM(n.d)),De(cc((t.a+="[",t),n.d.i),"]")),t.a}function SNn(n){switch(n.g){case 0:return new x3n;case 1:return new B3n;case 2:return new N3n;case 3:return new _3n;default:throw C(new Kn("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function qY(n,e,t,r,i){var c;switch(c=0,i.g){case 1:c=j.Math.max(0,e.b+n.b-(t.b+r));break;case 3:c=j.Math.max(0,-n.b-r);break;case 2:c=j.Math.max(0,-n.a-r);break;case 4:c=j.Math.max(0,e.a+n.a-(t.a+r))}return c}function GY(n){var e,t;switch(n.b){case-1:return!0;case 0:return(t=n.t)>1||-1==t||(e=Vs(n))&&(Zr(),e.Cj()==TGn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function UY(n,e){var t,r,i,c;if(Ve(n),0!=n.c||123!=n.a)throw C(new Ee(Pe((je(),zqn))));if(c=112==e,(t=mp(n.i,125,r=n.d))<0)throw C(new Ee(Pe((je(),Wqn))));return i=rs(n.i,r,t),n.d=t+1,dPn(i,c,512==(512&n.e))}function x6(n,e,t,r,i){var c,o,f,h;return B(h=SD(n,u(i,56)))!==B(i)?(f=u(n.g[t],72),N5(n,t,zL(n,0,c=jh(e,h))),zu(n.e)&&(uY(o=kl(n,9,c.ak(),i,h,r,!1),new Jh(n.e,9,n.c,f,c,r,!1)),lF(o)),h):i}function ANn(n,e){var t,r;try{return function Ble(n,e){var t;return Tz(!!(t=(_n(n),n).g)),_n(e),t(e)}(n.a,e)}catch(c){if(I(c=jt(c),32)){try{if(r=ls(e,Lr,Ze),t=Go(n.a),r>=0&&r=0?n._g(t,!0,!0):b0(n,i,!0),153),u(r,215).ll(e);throw C(new Kn(_l+e.ne()+e_))}function EM(n,e){var t,r,i;if(i=0,(r=e[0])>=n.length)return-1;for(Ce(r,n.length),t=n.charCodeAt(r);t>=48&&t<=57&&(i=10*i+(t-48),!(++r>=n.length));)Ce(r,n.length),t=n.charCodeAt(r);return r>e[0]?e[0]=r:i=-1,i}function Y6e(n,e,t){var r,i,o,f;o=n.c,f=n.d,i=(Gi(S(M(hr,1),q,8,0,[o.i.n,o.n,o.a])).b+Gi(S(M(hr,1),q,8,0,[f.i.n,f.n,f.a])).b)/2,r=o.j==(J(),Xn)?new fn(e+o.i.c.c.a+t,i):new fn(e-t,i),kp(n.a,0,r)}function d0(n){var e,r,i;for(e=null,r=gl(pf(S(M(Mf,1),rn,20,0,[(!n.b&&(n.b=new $n(he,n,4,7)),n.b),(!n.c&&(n.c=new $n(he,n,5,8)),n.c)])));Ae(r);)if(i=Ii(u(pe(r),82)),e){if(e!=i)return!1}else e=i;return!0}function sN(n,e,t){var r;if(++n.j,e>=n.i)throw C(new pi(a_+e+Ya+n.i));if(t>=n.i)throw C(new pi(d_+t+Ya+n.i));return r=n.g[t],e!=t&&(e>16)>>16&16),t+=e=(n>>=e)-256>>16&8,t+=e=(n<<=e)-Ub>>16&4,(t+=e=(n<<=e)-Jf>>16&2)+2-(e=(r=(n<<=e)>>14)&~(r>>1)))}function Z6e(n){var e,t,r,i;for(x2(),jA=new X,sR=new we,uR=new X,!n.a&&(n.a=new V(It,n,10,11)),function OTe(n){var e,t,i,o,f,h,l,d,g,v;for(e=new we,h=new re(n);h.e!=h.i.gc();){for(f=u(oe(h),33),t=new sr,tt(sR,f,t),v=new aan,i=u(us(new Dn(null,new Rd(new ie(ue(tk(f).a.Kc(),new Yn)))),dTn(v,Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)])))),83),NIn(t,u(i.xc((Hn(),!0)),14),new dan),o=u(us(gt(u(i.xc(!1),15).Lc(),new ban),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws]))),15).Kc();o.Ob();)(g=jLn(u(o.Pb(),79)))&&((l=u(Qi(Ai(e.f,g)),21))||(l=Hxn(g),Rc(e.f,g,l)),zr(t,l));for(i=u(us(new Dn(null,new Rd(new ie(ue(c1(f).a.Kc(),new Yn)))),dTn(v,Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws])))),83),NIn(t,u(i.xc(!0),14),new wan),d=u(us(gt(u(i.xc(!1),15).Lc(),new gan),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[ws]))),15).Kc();d.Ob();)(g=ELn(u(d.Pb(),79)))&&((l=u(Qi(Ai(e.f,g)),21))||(l=Hxn(g),Rc(e.f,g,l)),zr(t,l))}}(e=n.a),i=new re(e);i.e!=i.i.gc();)r=u(oe(i),33),-1==Li(jA,r,0)&&(t=new X,W(uR,t),_$n(r,t));return uR}function PNn(n,e){var t,r,i,c,o,f,h,l;for(l=K(Y(k(e,(nn(),Qm)))),h=n[0].n.a+n[0].o.a+n[0].d.c+l,f=1;f0?1:$d(isNaN(r),isNaN(0)))>=0^(Mo(ih),(j.Math.abs(f)<=ih||0==f||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:$d(isNaN(f),isNaN(0)))>=0)?j.Math.max(f,r):(Mo(ih),(j.Math.abs(r)<=ih||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:$d(isNaN(r),isNaN(0)))>0?j.Math.sqrt(f*f+r*r):-j.Math.sqrt(f*f+r*r))}(c=r.b,o=i.b))>=0?t:(f=Y5(pr(new fn(o.c+o.b/2,o.d+o.a/2),new fn(c.c+c.b/2,c.d+c.a/2))),-(JBn(c,o)-1)*f)}function b0(n,e,t){var r,i,c;if(c=mg((vu(),Dr),n.Tg(),e))return Zr(),u(c,66).Oj()||(c=R2(ji(Dr,c))),i=u((r=n.Yg(c))>=0?n._g(r,!0,!0):b0(n,c,!0),153),u(i,215).hl(e,t);throw C(new Kn(_l+e.ne()+e_))}function zY(n,e,t,r){var i,c,o,f,h;if(i=n.d[e])if(c=i.g,h=i.i,null!=r){for(f=0;f>5),15,1))[t]=1<1;e>>=1)1&e&&(r=Vw(r,t)),t=1==t.d?Vw(t,t):new L$n(GBn(t.a,t.d,L(be,Ne,25,t.d<<1,15,1)));return Vw(r,t)}(n,e)}function INn(n){var e,t,r;for(rU(),this.b=CWn,this.c=(ci(),Lh),this.f=(k7n(),TWn),this.a=n,UG(this,new Oan),PM(this),r=new E(n.b);r.a=null.jm()?(MM(n),WY(n)):e.Ob()}function ume(n,e,t){var i,c,o,f;if(!(f=t)&&(f=TW(new ip,0)),le(f,UKn,1),J_n(n.c,e),1==(o=function kEe(n,e){var t,r,i,c,o,f,h,a,d,g,v,p;if(n.c=n.d,v=null==(p=sn(k(e,(nn(),_Qn))))||(_n(p),p),c=u(k(e,(G(),Ac)),21).Hc((ui(),_s)),t=!((i=u(k(e,Nt),98))==(Tr(),wd)||i==Bh||i==Pc),!v||!t&&c)g=new Uu(S(M(LWn,1),zKn,37,0,[e]));else{for(d=new E(e.a);d.ae.a&&(r.Hc(($b(),Dy))?n.c.a+=(t.a-e.a)/2:r.Hc($y)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(r.Hc(($b(),Ly))?n.c.b+=(t.b-e.b)/2:r.Hc(Fy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Ac)),21).Hc((ui(),_s))&&(t.a>e.a||t.b>e.b))for(f=new E(n.a);f.a0?J2(t):$7(J2(t)),bi(e,M4,c)}function hme(n,e){var t,r,i,c,o;for(o=n.j,e.a!=e.b&&ar(o,new zbn),i=o.c.length/2|0,r=0;r=0;)o.rl((r=t[c]).ak())&&me(i,r);!IRn(n,i)&&zu(n.e)&&rp(n,e.$j()?kl(n,6,e,(An(),Gr),null,-1,!1):kl(n,e.Kj()?2:1,e,null,null,-1,!1))}function C3(){var n,e;for(C3=F,jv=L($g,q,91,32,0,1),Om=L($g,q,91,32,0,1),n=1,e=0;e<=18;e++)jv[e]=B7(n),Om[e]=B7(Uh(n,e)),n=Fr(n,5);for(;eo)||e.q&&(r=e.C,o=r.c.c.a-r.o.a/2,i=r.n.a-(e.a.c+e.a.b),i>o))}function HNn(n){var e,t,i,c,o,f;for(F$(),t=new Sa,i=new E(n.e.b);i.a1?n.e*=K(n.a):n.f/=K(n.a),function Xwe(n){var t,i;for(t=n.b.a.a.ec().Kc();t.Ob();)i=new kxn(u(t.Pb(),561),n.e,n.f),W(n.g,i)}(n),Z2e(n),function L7e(n){var r,i,c,o,d,g;for(i=function _9e(n){var e,t,r,i,c,o,f,h,l,a;for(t=n.o,e=n.p,o=Ze,i=Lr,f=Ze,c=Lr,l=0;l=0?n.Qg(null):n.eh().ih(n,-1-e,null,null),n.Rg(u(i,49),t),r&&r.Fi(),n.Lg()&&n.Mg()&&t>-1&&nt(n,new dr(n,9,t,c,i)),i):c}function JNn(n){var e,t,r,i,c,o,f,h;for(o=0,c=n.f.e,r=0;r>5)>=n.d)return n.e<0;if(t=n.a[i],e=1<<(31&e),n.e<0){if(i<(r=gOn(n)))return!1;t=r==i?-t:~t}return 0!=(t&e)}function JY(n,e){var t,r,i,c,o,f,h;if(c=e.e)for(t=fN(c),r=u(n.g,674),o=0;o>16)),15).Xc(c))>e,c=n.m>>e|t<<22-e,i=n.l>>e|n.m<<22-e):e<44?(o=r?o1:0,c=t>>e-22,i=n.m>>e-22|t<<44-e):(o=r?o1:0,c=r?Bu:0,i=t>>e-44),Bc(i&Bu,c&Bu,o&o1)}function hN(n){var e,t,r,i,c,o;for(this.c=new X,this.d=n,r=Ft,i=Ft,e=Wt,t=Wt,o=Re(n,0);o.b!=o.d.c;)c=u(_e(o),8),r=j.Math.min(r,c.a),i=j.Math.min(i,c.b),e=j.Math.max(e,c.a),t=j.Math.max(t,c.b);this.a=new Ss(r,i,e-r,t-i)}function rxn(n,e){var r,c,o,f;for(c=new E(n.b);c.a0&&I(e,42)&&(n.a.qj(),c=null==(h=(l=u(e,42)).cd())?0:kt(h),o=_z(n.a,c),t=n.a.d[o]))for(r=u(t.g,367),a=t.i,f=0;f=2)for(e=Y((t=i.Kc()).Pb());t.Ob();)c=e,e=Y(t.Pb()),r=j.Math.min(r,(_n(e),e-(_n(c),c)));return r}function $me(n,e){var t,r,i,c,o;Rt(r=new Ct,e,r.c.b,r.c);do{for(ne(0!=r.b),t=u(Os(r,r.a.a),86),n.b[t.g]=1,c=Re(t.d,0);c.b!=c.d.c;)i=u(_e(c),188),1==n.b[(o=i.c).g]?Ke(n.a,i):2==n.b[o.g]?n.b[o.g]=1:Rt(r,o,r.c.b,r.c)}while(0!=r.b)}function Fme(n,e){var t,r,i;if(B(e)===B(ve(n)))return!0;if(!I(e,15)||(r=u(e,15),(i=n.gc())!=r.gc()))return!1;if(I(r,54)){for(t=0;t0&&(i=t),o=new E(n.f.e);o.a0&&i0):i<0&&-i0)}function Zme(n,e,t,r){var i,c,h,l,a,d;for(i=(e-n.d)/n.c.c.length,c=0,n.a+=t,n.d=e,d=new E(n.c);d.a=0;e-=2)for(t=0;t<=e;t+=2)(n.b[t]>n.b[t+2]||n.b[t]===n.b[t+2]&&n.b[t+1]>n.b[t+3])&&(r=n.b[t+2],n.b[t+2]=n.b[t],n.b[t]=r,r=n.b[t+3],n.b[t+3]=n.b[t+1],n.b[t+1]=r);n.c=!0}}function lxn(n,e){var t,r,i,c,f,h,l;for(c=(1==e?gR:wR).a.ec().Kc();c.Ob();)for(i=u(c.Pb(),103),h=u(it(n.f.c,i),21).Kc();h.Ob();)switch(f=u(h.Pb(),46),r=u(f.b,81),l=u(f.a,189),t=l.c,i.g){case 2:case 1:r.g.d+=t;break;case 4:case 3:r.g.c+=t}}function c9e(n,e){var t,r,i,c,o,f,h,l,a;for(l=-1,a=0,f=0,h=(o=n).length;f0&&++a;++l}return a}function Ao(n){var t;return(t=new ts(sl(n.gm))).a+="@",De(t,(kt(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",cc(t,n.qh()),n.$g()&&(t.a+=" eClass: ",cc(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",cc(t,n.$g()),t.a+=")"),t.a}function _6(n){var e,t,i;if(n.e)throw C(new $i((Gh(V_),Lx+V_.k+Nx)));for(n.d==(ci(),Lh)&&zM(n,co),t=new E(n.a.a);t.a=0)return i;for(c=1,f=new E(e.j);f.a0&&e.ue((Ln(i-1,n.c.length),u(n.c[i-1],10)),c)>0;)Ps(n,i,(Ln(i-1,n.c.length),u(n.c[i-1],10))),--i;Ln(i,n.c.length),n.c[i]=c}t.a=new we,t.b=new we}function gxn(n,e,t){var i;if(2==(n.c-n.b&n.a.length-1))e==(J(),Rn)||e==Xn?(lC(u(p6(n),15),(hs(),Nh)),lC(u(p6(n),15),Jl)):(lC(u(p6(n),15),(hs(),Jl)),lC(u(p6(n),15),Nh));else for(i=new n6(n);i.a!=i.b;)lC(u(_C(i),15),t)}function a9e(n,e){var t,i,c,o,f,h;for(f=new Sr(i=jp(new uG(n)),i.c.length),h=new Sr(c=jp(new uG(e)),c.c.length),o=null;f.b>0&&h.b>0&&(ne(f.b>0),t=u(f.a.Xb(f.c=--f.b),33),ne(h.b>0),t==u(h.a.Xb(h.c=--h.b),33));)o=t;return o}function Nu(n,e){var t,r,c,f;return c=n.a*Ox+1502*n.b,c+=t=j.Math.floor((f=n.b*Ox+11)*Ck),f-=t*Snn,n.a=c%=Snn,n.b=f,e<=24?j.Math.floor(n.a*bin[e]):((r=n.a*(1<=2147483648&&(r-=Sx),r)}function vxn(n,e,t){var r,i,c,o;KMn(n,e)>KMn(n,t)?(r=Ui(t,(J(),Xn)),n.d=r.dc()?0:GD(u(r.Xb(0),11)),o=Ui(e,qn),n.b=o.dc()?0:GD(u(o.Xb(0),11))):(i=Ui(t,(J(),qn)),n.d=i.dc()?0:GD(u(i.Xb(0),11)),c=Ui(e,Xn),n.b=c.dc()?0:GD(u(c.Xb(0),11)))}function pxn(n){var e,r,i,c,o,f;if(n&&(e=n.Hh(eo))&&null!=(o=Te(Qo((!e.b&&(e.b=new Wu((Sn(),Jr),rc,e)),e.b),"conversionDelegates")))){for(f=new X,i=0,c=(r=Rb(o,"\\w+")).length;i>1,n.k=t-1>>1}(this,this.d,this.c),function L6e(n){var e,t,r,i,c,o,f;for(t=VU(n.e),c=Gf(S8(Ji(XU(n.e)),n.d*n.a,n.c*n.b),-.5),e=t.a-c.a,i=t.b-c.b,f=0;f0&&Hje(this,i)}function fZ(n,e,t,r,i,c){var o,f,h;if(!i[e.b]){for(i[e.b]=!0,!(o=r)&&(o=new zT),W(o.e,e),h=c[e.b].Kc();h.Ob();)(f=u(h.Pb(),282)).d!=t&&f.c!=t&&(f.c!=e&&fZ(n,f.c,e,o,i,c),f.d!=e&&fZ(n,f.d,e,o,i,c),W(o.c,f),Qt(o.d,f.b));return o}return null}function w9e(n){var e,i,o;for(e=0,i=new E(n.e);i.a=2}function k9e(n){var e,r;try{return null==n?iu:xi(n)}catch(i){if(I(i=jt(i),102))return e=i,r=sl(Fu(n))+"@"+(wh(),(jJ(n)>>>0).toString(16)),ove(swe(),(bp(),"Exception during lenientFormat for "+r),e),"<"+r+" threw "+sl(e.gm)+">";throw C(i)}}function yxn(n){switch(n.g){case 0:return new A3n;case 1:return new E3n;case 2:return new E7n;case 3:return new Ewn;case 4:return new Gjn;case 5:return new P3n;default:throw C(new Kn("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function hZ(n,e,t){var r,i,c;for(c=new E(n.t);c.a0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&Ke(e,r.b));for(i=new E(n.i);i.a0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&Ke(t,r.a))}function MM(n){var e,t,i;if(null==n.g&&(n.d=n.si(n.f),me(n,n.d),n.c))return n.f;if(i=(e=u(n.g[n.i-1],47)).Pb(),n.e=e,(t=n.si(i)).Ob())n.d=t,me(n,t);else for(n.d=null;!e.Ob()&&(St(n.g,--n.i,null),0!=n.i);)e=u(n.g[n.i-1],47);return i}function j9e(n,e,t,r){var i,o,f;for(ba(i=new i1(n),(Vn(),ns)),H(i,(G(),rt),e),H(i,by,r),H(i,(nn(),Nt),(Tr(),Pc)),H(i,rf,e.c),H(i,io,e.d),Wxn(e,i),f=j.Math.floor(t/2),o=new E(i.j);o.a=0?n._g(r,!0,!0):b0(n,c,!0),153),u(i,215).ml(e,t)}function $9e(n,e,t){le(t,"Eades radial",1),t.n&&e&&Eo(t,To(e),(Yu(),ks)),n.d=u(hn(e,(R5(),h9)),33),n.c=K(Y(hn(e,(Ob(),WP)))),n.e=EL(u(hn(e,Sy),293)),n.a=function a2e(n){switch(n.g){case 0:return new xgn;case 1:return new Bgn;default:throw C(new Kn(RB+(null!=n.f?n.f:""+n.g)))}}(u(hn(e,afn),426)),n.b=function F3e(n){switch(n.g){case 1:return new Dgn;case 2:return new $gn;case 3:return new Ogn;case 0:return null;default:throw C(new Kn(RB+(null!=n.f?n.f:""+n.g)))}}(u(hn(e,lfn),340)),function b3e(n){var e,t,r,i,c;if(r=0,i=U3,n.b)for(e=0;e<360;e++)NZ(n,n.d,0,0,Sg,t=.017453292519943295*e),(c=n.b.ig(n.d))0),c.a.Xb(c.c=--c.b),fb(c,i),ne(c.b0);t++);if(t>0&&t0);e++);return e>0&&t>16!=6&&e){if(m3(n,e))throw C(new Kn(pm+qNn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?_J(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,6,r)),(r=xz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,6,e,e))}function dZ(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=9&&e){if(m3(n,e))throw C(new Kn(pm+CBn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?KJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,9,r)),(r=Bz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,9,e,e))}function wN(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=3&&e){if(m3(n,e))throw C(new Kn(pm+T_n(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?qJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,12,r)),(r=Nz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,3,e,e))}function A3(n){var e,t,r,i,c;if(r=Vs(n),null==(c=n.j)&&r)return n.$j()?null:r.zj();if(I(r,148)){if((t=r.Aj())&&(i=t.Nh())!=n.i){if((e=u(r,148)).Ej())try{n.g=i.Kh(e,c)}catch(o){if(!I(o=jt(o),78))throw C(o);n.g=null}n.i=i}return n.g}return null}function Mxn(n){var e;return W(e=new X,new j2(new fn(n.c,n.d),new fn(n.c+n.b,n.d))),W(e,new j2(new fn(n.c,n.d),new fn(n.c,n.d+n.a))),W(e,new j2(new fn(n.c+n.b,n.d+n.a),new fn(n.c+n.b,n.d))),W(e,new j2(new fn(n.c+n.b,n.d+n.a),new fn(n.c,n.d+n.a))),e}function Sxn(n,e,t,r){var i,c,o;if(o=JJ(e,t),r.c[r.c.length]=e,-1==n.j[o.p]||2==n.j[o.p]||n.a[e.p])return r;for(n.j[o.p]=-1,c=new ie(ue(t1(o).a.Kc(),new Yn));Ae(c);)if(!Ur(i=u(pe(c),17))&&(Ur(i)||i.c.i.c!=i.d.i.c)&&i!=e)return Sxn(n,i,o,r);return r}function q9e(n,e,t){var i,c;for(c=e.a.ec().Kc();c.Ob();)i=u(c.Pb(),79),!u(te(n.b,i),266)&&(At(Ch(i))==At(Pl(i))?i7e(n,i,t):Ch(i)==At(Pl(i))?null==te(n.c,i)&&null!=te(n.b,Pl(i))&&uRn(n,i,t,!1):null==te(n.d,i)&&null!=te(n.b,Ch(i))&&uRn(n,i,t,!0))}function G9e(n,e){var t,r,i,c,o,f,h;for(i=n.Kc();i.Ob();)for(r=u(i.Pb(),10),Hi(f=new gc,r),ir(f,(J(),Xn)),H(f,(G(),lP),(Hn(),!0)),o=e.Kc();o.Ob();)c=u(o.Pb(),10),Hi(h=new gc,c),ir(h,qn),H(h,lP,!0),H(t=new Ud,lP,!0),Br(t,f),jr(t,h)}function U9e(n,e,t,r){var i,c,o,f;i=j$n(n,e,t),c=j$n(n,t,e),o=u(te(n.c,e),112),f=u(te(n.c,t),112),i0&&T.a<=0){a.c=L(Zn,rn,1,0,5,1),a.c[a.c.length]=T;break}(m=T.i-T.d)>=l&&(m>l&&(a.c=L(Zn,rn,1,0,5,1),l=m),a.c[a.c.length]=T)}0!=a.c.length&&(h=u(un(a,sM(i,a.c.length)),112),e6(R.a,h),h.g=g++,zZ(h,e,t,r),a.c=L(Zn,rn,1,0,5,1))}for($=n.c.length+1,p=new E(n);p.ar.b.g&&(c.c[c.c.length]=r);return c}function P3(){P3=F,Yg=new g8("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),Nv=new g8("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),a9=new g8("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),l9=new g8("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),d9=new g8("WHOLE_DRAWING",4)}function bZ(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=11&&e){if(m3(n,e))throw C(new Kn(pm+DZ(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?GJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=Z2(e,n,10,r)),(r=zz(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,11,e,e))}function gN(n,e,t){return gg(),(!Yp(n,e)||!Yp(n,t))&&(WN(new fn(n.c,n.d),new fn(n.c+n.b,n.d),e,t)||WN(new fn(n.c+n.b,n.d),new fn(n.c+n.b,n.d+n.a),e,t)||WN(new fn(n.c+n.b,n.d+n.a),new fn(n.c,n.d+n.a),e,t)||WN(new fn(n.c,n.d+n.a),new fn(n.c,n.d),e,t))}function wZ(n,e){var t,r,i,c;if(!n.dc())for(t=0,r=n.gc();t>16!=7&&e){if(m3(n,e))throw C(new Kn(pm+_Ln(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?RJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=u(e,49).gh(n,1,Vy,r)),(r=BW(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,7,e,e))}function $xn(n,e){var t,r;if(e!=n.Cb||n.Db>>16!=3&&e){if(m3(n,e))throw C(new Kn(pm+XDn(n)));r=null,n.Cb&&(r=(t=n.Db>>16)>=0?HJ(n,r):n.Cb.ih(n,-1-t,null,r)),e&&(r=u(e,49).gh(n,0,Jy,r)),(r=_W(n,e,r))&&r.Fi()}else 4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,3,e,e))}function vN(n,e){var t,r,i,c,o,f,h,l,a;return C3(),e.d>n.d&&(f=n,n=e,e=f),e.d<63?function e7e(n,e){var r,c,o,f,h,l,a,d,g;return h=n.e!=e.e?-1:1,2==(f=(r=n.d)+(c=e.d))?(g=ge(a=Fr(rr(n.a[0],si),rr(e.a[0],si))),0==(d=ge(ab(a,32)))?new S1(h,g):new Gw(h,2,S(M(be,1),Ne,25,15,[g,d]))):(vge(n.a,r,e.a,c,o=L(be,Ne,25,f,15,1)),r6(l=new Gw(h,f,o)),l)}(n,e):(l=YX(n,o=(-2&n.d)<<4),a=YX(e,o),r=$N(n,H2(l,o)),i=$N(e,H2(a,o)),h=vN(l,a),t=vN(r,i),c=H2(c=KN(KN(c=vN($N(l,r),$N(i,a)),h),t),o),KN(KN(h=H2(h,o<<1),c),t))}function d8e(n,e,t){var r,i,c,o,f;for(o=y6(n,t),f=L(Fh,_1,10,e.length,0,1),r=0,c=o.Kc();c.Ob();)on(sn(k(i=u(c.Pb(),11),(G(),ay))))&&(f[r++]=u(k(i,Au),10));if(r=0;c+=t?1:-1)o|=e.c.Sf(h,c,t,r&&!on(sn(k(e.j,(G(),F0))))&&!on(sn(k(e.j,(G(),Gg))))),o|=e.q._f(h,c,t),o|=pBn(n,h[c],t,r);return tr(n.c,e),o}function IM(n,e,t){var r,i,c,o,l,a,d,g;for(d=0,g=(a=vSn(n.j)).length;d1&&(n.a=!0),Pfe(u(t.b,65),ut(Ji(u(e.b,65).c),Gf(pr(Ji(u(t.b,65).a),u(e.b,65).a),i))),OMn(n,e),Fxn(n,t)}function Lxn(n){var t,r,i,c,o,f;for(c=new E(n.a.a);c.a0&&c>0?e++:r>0?t++:c>0?i++:t++}An(),ar(n.j,new b0n)}function m8e(n,e){var t,r,i,c,o,f,h,l,a;for(o=e.g,h=u(un(f=e.j,f.c.length-1),113),Ln(0,f.c.length),l=NL(n,o,h,a=u(f.c[0],113)),c=1;cl&&(h=t,a=i,l=r);e.a=a,e.c=h}function Po(n){if(!n.a.d||!n.a.e)throw C(new $i((Gh(JUn),JUn.k+" must have a source and target "+(Gh(qin),qin.k+" specified."))));if(n.a.d==n.a.e)throw C(new $i("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return LE(n.a.d.g,n.a),LE(n.a.e.b,n.a),n.a}function Nxn(n,e,t){var r,i,c,o,f,h;if(r=0,0!=e.b&&0!=t.b){c=Re(e,0),o=Re(t,0),f=K(Y(_e(c))),h=K(Y(_e(o))),i=!0;do{if(f>h-n.b&&fh-n.a&&fe.a&&(r.Hc(($b(),Dy))?n.c.a+=(t.a-e.a)/2:r.Hc($y)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(r.Hc(($b(),Ly))?n.c.b+=(t.b-e.b)/2:r.Hc(Fy)&&(n.c.b+=t.b-e.b)),u(k(n,(G(),Ac)),21).Hc((ui(),_s))&&(t.a>e.a||t.b>e.b))for(o=new E(n.a);o.a0&&++v;++g}return v}function Kc(n,e){var t,r,i,c;return Zr(),e?e==(ot(),Iee)||(e==pee||e==vd||e==vee)&&n!=iln?new hnn(n,e):((t=(r=u(e,677)).pk())||(Op(ji((vu(),Dr),e)),t=r.pk()),!t.i&&(t.i=new we),!(i=u(Qi(Ai((c=t.i).f,n)),1942))&&tt(c,n,i=new hnn(n,e)),i):bee}function D8e(n,e){var r,i,c,o,f,h,l,a;for(h=u(k(n,(G(),rt)),11),l=Gi(S(M(hr,1),q,8,0,[h.i.n,h.n,h.a])).a,a=n.i.n.b,c=0,o=(i=Vf(n.e)).length;c0&&(i+=(c=u(un(this.b,0),167)).o,r+=c.p),i*=2,r*=2,e>1?i=Ht(j.Math.ceil(i*e)):r=Ht(j.Math.ceil(r/e)),this.a=new sJ(i,r)}function Bxn(n,e,t,r,i,c){var o,f,l,a,d,g,v,p,m;for(a=r,e.j&&e.o?(m=(v=u(te(n.f,e.A),57)).d.c+v.d.b,--a):m=e.a.c+e.a.b,d=i,t.q&&t.o?(l=(v=u(te(n.f,t.C),57)).d.c,++d):l=t.a.c,p=m+(f=(l-m)/j.Math.max(2,d-a)),g=a;g=0;o+=i?1:-1){for(f=e[o],h=r==(J(),Xn)?i?Ui(f,r):Oa(Ui(f,r)):i?Oa(Ui(f,r)):Ui(f,r),c&&(n.c[f.p]=h.gc()),d=h.Kc();d.Ob();)a=u(d.Pb(),11),n.d[a.p]=l++;Qt(t,h)}}function _xn(n,e,t){var r,i,c,o,f,h,l,a;for(c=K(Y(n.b.Kc().Pb())),l=K(Y(function Jbe(n){var e;if(n){if((e=n).dc())throw C(new ic);return e.Xb(e.gc()-1)}return xMn(n.Kc())}(e.b))),r=Gf(Ji(n.a),l-t),i=Gf(Ji(e.a),t-c),Gf(a=ut(r,i),1/(l-c)),this.a=a,this.b=new X,f=!0,(o=n.b.Kc()).Pb();o.Ob();)h=K(Y(o.Pb())),f&&h-t>xB&&(this.b.Fc(t),f=!1),this.b.Fc(h);f&&this.b.Fc(t)}function q8e(n){var e,t,r,i;if(function nke(n,e){var t,r,i,c,o,f,h;for(i=L(be,Ne,25,n.e.a.c.length,15,1),o=new E(n.e.a);o.a0){for(c5(n.c);ZY(n,u(y(new E(n.e.a)),121))>5,e&=31,r>=n.d)return n.e<0?(Dl(),U_):(Dl(),u4);if(function N5e(n,e,t,r,i){var c,o,f;for(c=!0,o=0;o>>i|t[o+r+1]<>>i,++o}return c}(i=L(be,Ne,25,1+(c=n.d-r),15,1),c,n.a,r,e),n.e<0){for(t=0;t0&&n.a[t]<<32-e){for(t=0;t=0)&&(!(t=mg((vu(),Dr),i,e))||((r=t.Zj())>1||-1==r)&&3!=Gd(ji(Dr,t))))}function W8e(n,e,t,r){var i,c,o,f,h;return f=Ii(u(O((!e.b&&(e.b=new $n(he,e,4,7)),e.b),0),82)),h=Ii(u(O((!e.c&&(e.c=new $n(he,e,5,8)),e.c),0),82)),At(f)==At(h)||Eb(h,f)?null:(o=W8(e))==t?r:(c=u(te(n.a,o),10))&&(i=c.e)?i:null}function yZ(n,e,t){var i,c,o,f,h;if((o=n[function $re(n,e){return n?e-1:0}(t,n.length)])[0].k==(Vn(),zt))for(c=r8n(t,o.length),h=e.j,i=0;i>24}(n));break;case 2:n.g=j7(function Rle(n){if(2!=n.p)throw C(new hu);return ge(n.f)&Gt}(n));break;case 3:n.g=function Ehe(n){if(3!=n.p)throw C(new hu);return n.e}(n);break;case 4:n.g=new z9(function jhe(n){if(4!=n.p)throw C(new hu);return n.e}(n));break;case 6:n.g=_a(function The(n){if(6!=n.p)throw C(new hu);return n.f}(n));break;case 5:n.g=Q(function H1e(n){if(5!=n.p)throw C(new hu);return ge(n.f)}(n));break;case 7:n.g=h3(function Nae(n){if(7!=n.p)throw C(new hu);return ge(n.f)<<16>>16}(n))}return n.g}function jZ(n){if(null==n.n)switch(n.p){case 0:n.n=function nle(n){if(0!=n.p)throw C(new hu);return I5(n.k,0)}(n)?(Hn(),i4):(Hn(),td);break;case 1:n.n=d7(function Fae(n){if(1!=n.p)throw C(new hu);return ge(n.k)<<24>>24}(n));break;case 2:n.n=j7(function Kle(n){if(2!=n.p)throw C(new hu);return ge(n.k)&Gt}(n));break;case 3:n.n=function Mhe(n){if(3!=n.p)throw C(new hu);return n.j}(n);break;case 4:n.n=new z9(function She(n){if(4!=n.p)throw C(new hu);return n.j}(n));break;case 6:n.n=_a(function Che(n){if(6!=n.p)throw C(new hu);return n.k}(n));break;case 5:n.n=Q(function q1e(n){if(5!=n.p)throw C(new hu);return ge(n.k)}(n));break;case 7:n.n=h3(function Lae(n){if(7!=n.p)throw C(new hu);return ge(n.k)<<16>>16}(n))}return n.n}function Uxn(n){var t,r,i,c,o,f;for(c=new E(n.a.a);c.a0&&(t[0]+=n.d,o-=t[0]),t[2]>0&&(t[2]+=n.d,o-=t[2]),c=j.Math.max(0,o),t[1]=j.Math.max(t[1],o),nV(n,Nc,i.c+r.b+t[0]-(t[1]-o)/2,t),e==Nc&&(n.c.b=c,n.c.c=i.c+r.b+(c-o)/2)}function Qxn(){this.c=L(kr,wi,25,(J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])).length,15,1),this.b=L(kr,wi,25,S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn]).length,15,1),this.a=L(kr,wi,25,S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn]).length,15,1),hU(this.c,Ft),hU(this.b,Wt),hU(this.a,Wt)}function Ec(n,e,t){var r,i,c,o;if(e<=t?(i=e,c=t):(i=t,c=e),r=0,null==n.b)n.b=L(be,Ne,25,2,15,1),n.b[0]=i,n.b[1]=c,n.c=!0;else{if(n.b[(r=n.b.length)-1]+1==i)return void(n.b[r-1]=c);o=L(be,Ne,25,r+2,15,1),vc(n.b,0,o,0,r),n.b=o,n.b[r-1]>=i&&(n.c=!1,n.a=!1),n.b[r++]=i,n.b[r]=c,n.c||ag(n)}}function Jxn(n,e,t){var r,i,c,o,f,h;if(!Np(e)){for(le(h=jc(t,(I(e,14)?u(e,14).gc():Vh(e.Kc()))/n.a|0),IHn,1),f=new jgn,o=0,c=e.Kc();c.Ob();)r=u(c.Pb(),86),f=pf(S(M(Mf,1),rn,20,0,[f,new il(r)])),o1;)Bb(i,i.i-1);return r}function Zxn(n,e){var t,r,c,o,f,h;for(t=new Ow,c=new E(n.b);c.an.d[o.p]&&(t+=XX(n.b,c),yl(n.a,Q(c)));for(;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}function nBn(n,e,t){var r,i,c,o;for(c=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,i=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));i.e!=i.i.gc();)0==(!(r=u(oe(i),33)).a&&(r.a=new V(It,r,10,11)),r.a).i||(c+=nBn(n,r,!1));if(t)for(o=At(e);o;)c+=(!o.a&&(o.a=new V(It,o,10,11)),o.a).i,o=At(o);return c}function Bb(n,e){var t,r,i,c;return n.ej()?(r=null,i=n.fj(),n.ij()&&(r=n.kj(n.pi(e),null)),t=n.Zi(4,c=ev(n,e),null,e,i),n.bj()&&null!=c&&(r=n.dj(c,r)),r?(r.Ei(t),r.Fi()):n.$i(t),c):(c=ev(n,e),n.bj()&&null!=c&&(r=n.dj(c,null))&&r.Fi(),c)}function ui(){ui=F,iP=new rb("COMMENTS",0),_s=new rb("EXTERNAL_PORTS",1),Km=new rb("HYPEREDGES",2),cP=new rb("HYPERNODES",3),y4=new rb("NON_FREE_PORTS",4),Kg=new rb("NORTH_SOUTH_PORTS",5),Hm=new rb(dHn,6),m4=new rb("CENTER_LABELS",7),k4=new rb("END_LABELS",8),uP=new rb("PARTITIONS",9)}function _b(n){var e,t,r,i,c;for(i=new X,e=new G5((!n.a&&(n.a=new V(It,n,10,11)),n.a)),r=new ie(ue(c1(n).a.Kc(),new Yn));Ae(r);)I(O((!(t=u(pe(r),79)).b&&(t.b=new $n(he,t,4,7)),t.b),0),186)||(c=Ii(u(O((!t.c&&(t.c=new $n(he,t,5,8)),t.c),0),82)),e.a._b(c)||(i.c[i.c.length]=c));return i}function h7e(n){var e,r,i,c,o;for(c=new sr,e=new G5((!n.a&&(n.a=new V(It,n,10,11)),n.a)),i=new ie(ue(c1(n).a.Kc(),new Yn));Ae(i);)I(O((!(r=u(pe(i),79)).b&&(r.b=new $n(he,r,4,7)),r.b),0),186)||(o=Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82)),e.a._b(o)||c.a.zc(o,c));return c}function eBn(n,e){var t,i,o;At(n)&&(o=u(k(e,(nn(),sd)),174),B(hn(n,Nt))===B((Tr(),Zl))&&bi(n,Nt,Df),tb(),i=lRn(new Y0(At(n)),new jD(At(n)?new Y0(At(n)):null,n),!1,!0),So(o,(Zu(),yw)),(t=u(k(e,T4),8)).a=j.Math.max(i.a,t.a),t.b=j.Math.max(i.b,t.b))}function DM(){DM=F,OR=new N2(iS,0,(J(),Rn),Rn),FR=new N2(Kx,1,ae,ae),IR=new N2(Rx,2,Xn,Xn),xR=new N2(Hx,3,qn,qn),$R=new N2("NORTH_WEST_CORNER",4,qn,Rn),DR=new N2("NORTH_EAST_CORNER",5,Rn,Xn),NR=new N2("SOUTH_WEST_CORNER",6,ae,qn),LR=new N2("SOUTH_EAST_CORNER",7,Xn,ae)}function gg(){gg=F,ohn=S(M(oa,1),Cx,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),j.Math.pow(2,-65)}function tBn(n,e){var t,r,i,c,o;if(0==n.c.length)return new Mr(Q(0),Q(0));for(t=(Ln(0,n.c.length),u(n.c[0],11)).j,o=0,c=e.g,r=e.g+1;o=l&&(h=r);h&&(a=j.Math.max(a,h.a.o.a)),a>g&&(d=l,g=a)}return d}function pN(n,e){var t;switch(t=null,e.g){case 1:n.e.Xe((We(),AH))&&(t=u(n.e.We(AH),249));break;case 3:n.e.Xe((We(),PH))&&(t=u(n.e.We(PH),249));break;case 2:n.e.Xe((We(),SH))&&(t=u(n.e.We(SH),249));break;case 4:n.e.Xe((We(),IH))&&(t=u(n.e.We(IH),249))}return!t&&(t=u(n.e.We((We(),_hn)),249)),t}function rBn(n,e,t){var i,c,f,h,l,d;for(e.p=1,c=e.c,d=o0(e,(ii(),xc)).Kc();d.Ob();)for(i=new E(u(d.Pb(),11).g);i.aNHn?ar(h,n.b):r<=NHn&&r>xHn?ar(h,n.d):r<=xHn&&r>BHn?ar(h,n.c):r<=BHn&&ar(h,n.a),c=iBn(n,h,c);return i}function Dl(){var n;for(Dl=F,hA=new S1(1,1),z_=new S1(1,10),u4=new S1(0,0),U_=new S1(-1,1),oin=S(M($g,1),q,91,0,[u4,hA,new S1(1,2),new S1(1,3),new S1(1,4),new S1(1,5),new S1(1,6),new S1(1,7),new S1(1,8),new S1(1,9),z_]),lA=L($g,q,91,32,0,1),n=0;n1&&(r=new fn(i,t.b),Ke(e.a,r)),l6(e.a,S(M(hr,1),q,8,0,[g,d]))}function fBn(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,xS),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new L2n))),Z(n,xS,j0,g1n),Z(n,xS,Wb,15),Z(n,xS,fS,Q(0)),Z(n,xS,bv,z3)}function TZ(){var n,e,t,r,i,c;for(TZ=F,F9=L(ju,Ig,25,255,15,1),PI=L(Hs,Yf,25,16,15,1),e=0;e<255;e++)F9[e]=-1;for(t=57;t>=48;t--)F9[t]=t-48<<24>>24;for(r=70;r>=65;r--)F9[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)F9[i]=i-97+10<<24>>24;for(c=0;c<10;c++)PI[c]=48+c≫for(n=10;n<=15;n++)PI[n]=65+n-10&Gt}function $M(n,e,t){var r,i,c,o,f,h,l,a;return l=e.j-n.g/2,a=t.j-n.g/2,c=e.g+n.g/2,r=e.f+n.g/2,i=t.f+n.g/2,(f=e.i-n.g/2)<(h=t.i-n.g/2)+(o=t.g+n.g/2)&&h=0;--r)for(e=t[r],i=0;i>19)return"-"+hBn(i3(n));for(t=n,r="";0!=t.l||0!=t.m||0!=t.h;){if(t=tnn(t,Y$(nS),!0),e=""+j8n(Rl),0!=t.l||0!=t.m||0!=t.h)for(c=9-e.length;c>0;c--)e="0"+e;r=e+r}return r}function MZ(n,e,t,r){var i,c,o,f;if(Vh((F8(),new ie(ue(t1(e).a.Kc(),new Yn))))>=n.a||!lY(e,t))return-1;if(Np(u(r.Kb(e),20)))return 1;for(i=0,o=u(r.Kb(e),20).Kc();o.Ob();)if(-1==(f=MZ(n,(c=u(o.Pb(),17)).c.i==e?c.d.i:c.c.i,t,r))||(i=j.Math.max(i,f))>n.c-1)return-1;return i+1}function lBn(n,e){var t,r,i,c,o,f;if(B(e)===B(n))return!0;if(!I(e,15)||(r=u(e,15),f=n.gc(),r.gc()!=f))return!1;if(o=r.Kc(),n.ni()){for(t=0;t0)if(n.qj(),null!=e){for(c=0;c0&&(n.a=h+(v-1)*c,e.c.b+=n.a,e.f.b+=n.a),0!=p.a.gc()&&(v=unn(new f$(1,c),e,p,m,e.f.b+h-e.c.b))>0&&(e.f.b+=h+(v-1)*c)}(n,e,r),function vTe(n){var e,t,r,i,c,o,f,l,a,g,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn;for(z=new X,p=new E(n.b);p.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw C(new Hf("Invalid hexadecimal"))}}function S7e(n,e,t){var r,i,c,o;for(le(t,"Processor order nodes",2),n.a=K(Y(k(e,(w0(),Von)))),i=new Ct,o=Re(e.b,0);o.b!=o.d.c;)on(sn(k(c=u(_e(o),86),(uc(),pw))))&&Rt(i,c,i.c.b,i.c);ne(0!=i.b),O_n(n,r=u(i.a.a.c,86)),!t.b&&EF(t,1),OZ(n,r,0-K(Y(k(r,(uc(),KP))))/2,0),!t.b&&EF(t,1),ce(t)}function FM(){FM=F,Kin=new Lw("SPIRAL",0),xin=new Lw("LINE_BY_LINE",1),Bin=new Lw("MANHATTAN",2),Nin=new Lw("JITTER",3),Y_=new Lw("QUADRANTS_LINE_BY_LINE",4),Rin=new Lw("QUADRANTS_MANHATTAN",5),_in=new Lw("QUADRANTS_JITTER",6),Lin=new Lw("COMBINE_LINE_BY_LINE_MANHATTAN",7),Fin=new Lw("COMBINE_JITTER_MANHATTAN",8)}function dBn(n,e,t,r){var i,c,o,f,h,l;for(h=KL(n,t),l=KL(e,t),i=!1;h&&l&&(r||Epe(h,l,t));)o=KL(h,t),f=KL(l,t),s7(e),s7(n),c=h.c,UN(h,!1),UN(l,!1),t?(Db(e,l.p,c),e.p=l.p,Db(n,h.p+1,c),n.p=h.p):(Db(n,h.p,c),n.p=h.p,Db(e,l.p+1,c),e.p=l.p),yi(h,null),yi(l,null),h=o,l=f,i=!0;return i}function A7e(n,e,t,r){var i,c,o,f,h;for(i=!1,c=!1,f=new E(r.j);f.a=e.length)throw C(new pi("Greedy SwitchDecider: Free layer not in graph."));this.c=e[n],this.e=new $8(r),SF(this.e,this.c,(J(),qn)),this.i=new $8(r),SF(this.i,this.c,Xn),this.f=new lTn(this.c),this.a=!c&&i.i&&!i.s&&this.c[0].k==(Vn(),zt),this.a&&function U5e(n,e,t){var r,i,c,o,f,l;f=(c=n.d.p).e,n.g=new $8(c.r),r=(o=n.d.o.c.p)>0?f[o-1]:L(Fh,_1,10,0,0,1),i=f[o],l=oi.d.d+i.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))),r.b!=r.d.c&&(e=t);a&&(c=u(te(n.f,o.d.i),57),e.bc.d.d+c.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))}for(f=new ie(ue(Ni(v).a.Kc(),new Yn));Ae(f);)0!=(o=u(pe(f),17)).a.b&&(e=u(xE(o.a),8),o.d.j==(J(),Rn)&&((T=new U6(e,new fn(e.a,i.d.d),i,o)).f.a=!0,T.a=o.d,m.c[m.c.length]=T),o.d.j==ae&&((T=new U6(e,new fn(e.a,i.d.d+i.d.a),i,o)).f.d=!0,T.a=o.d,m.c[m.c.length]=T))}return m}(n);break;case 3:r=new X,Bt(gt(Vc(qi(qi(new Dn(null,new Fn(n.d.b,16)),new Ibn),new Obn),new Dbn),new vbn),new V5n(r)),t=r;break;default:throw C(new $i("Compaction not supported for "+e+" edges."))}(function Aje(n,e){var t,r,i,c,o,h,l;if(0!=e.c.length){for(An(),XD(e.c,e.c.length,null),r=u(y(i=new E(e)),145);i.a0&&e0?c.a?t>(f=c.b.rf().a)&&(c.d.b=i=(t-f)/2,c.d.c=i):c.d.c=n.s+t:X5(n.u)&&((r=bY(c.b)).c<0&&(c.d.b=-r.c),r.c+r.b>c.b.rf().a&&(c.d.c=r.c+r.b-c.b.rf().a))}(n,e),i=null,h=null,f){for(h=i=u((c=o.Kc()).Pb(),111);c.Ob();)h=u(c.Pb(),111);i.d.b=0,h.d.c=0,a&&!i.a&&(i.d.c=0)}d&&(function $4e(n){var e,t,r,i,c;for(e=0,t=0,c=n.Kc();c.Ob();)r=u(c.Pb(),111),e=j.Math.max(e,r.d.b),t=j.Math.max(t,r.d.c);for(i=n.Kc();i.Ob();)(r=u(i.Pb(),111)).d.b=e,r.d.c=t}(o),f&&(i.d.b=0,h.d.c=0))}function yBn(n,e){var t,r,i,c,o,f,h,l,a,d;if(o=u(u(it(n.r,e),21),84),f=n.u.Hc((Su(),na)),t=n.u.Hc(E9),r=n.u.Hc(j9),h=n.u.Hc(Hv),d=n.B.Hc((xu(),bI)),l=!t&&!r&&(h||2==o.gc()),function Qke(n,e){var t,r,i,c,o,f,h,l;for(h=u(u(it(n.r,e),21),84).Kc();h.Ob();)(i=(f=u(h.Pb(),111)).c?qEn(f.c):0)>0?f.a?i>(l=f.b.rf().b)&&(n.v||1==f.c.d.c.length?(f.d.d=o=(i-l)/2,f.d.a=o):(t=u(un(f.c.d,0),181).rf().b,f.d.d=j.Math.max(0,r=(t-l)/2),f.d.a=i-r-l)):f.d.a=n.t+i:X5(n.u)&&((c=bY(f.b)).d<0&&(f.d.d=-c.d),c.d+c.a>f.b.rf().b&&(f.d.a=c.d+c.a-f.b.rf().b))}(n,e),a=null,i=null,f){for(i=a=u((c=o.Kc()).Pb(),111);c.Ob();)i=u(c.Pb(),111);a.d.d=0,i.d.a=0,l&&!a.a&&(a.d.a=0)}d&&(function F4e(n){var e,t,r,i,c;for(t=0,e=0,c=n.Kc();c.Ob();)r=u(c.Pb(),111),t=j.Math.max(t,r.d.d),e=j.Math.max(e,r.d.a);for(i=n.Kc();i.Ob();)(r=u(i.Pb(),111)).d.d=t,r.d.a=e}(o),f&&(a.d.d=0,i.d.a=0))}function jBn(n,e,t){var i,o,f,h,a;if(i=e.k,e.p>=0)return!1;if(e.p=t.b,W(t.e,e),i==(Vn(),br)||i==Sc)for(o=new E(e.j);o.a1||-1==o)&&(c|=16),i.Bb&sc&&(c|=64)),t.Bb&Vr&&(c|=Zb),c|=Io):I(e,457)?c|=512:(r=e.Bj())&&1&r.i&&(c|=256),512&n.Bb&&(c|=128),c}function K6(n,e){var t,r,i,c,o;for(n=null==n?iu:(_n(n),n),i=0;in.d[f.p]&&(t+=XX(n.b,c),yl(n.a,Q(c))):++o;for(t+=n.b.d*o;!i5(n.a);)CV(n.b,u(F2(n.a),19).a)}return t}function jN(n){var e,t,r,i,c,o,f;for(f=new we,r=new E(n.a.b);r.a=n.o)throw C(new wG);f=e>>5,c=Uh(1,ge(Uh(31&e,1))),n.n[t][f]=i?bf(n.n[t][f],c):rr(n.n[t][f],kW(c)),c=Uh(c,1),n.n[t][f]=r?bf(n.n[t][f],c):rr(n.n[t][f],kW(c))}catch(h){throw I(h=jt(h),320)?C(new pi(qx+n.o+"*"+n.p+Gx+e+Xr+t+Ux)):C(h)}}function OZ(n,e,t,r){var c,o;e&&(c=K(Y(k(e,(uc(),W1))))+r,o=t+K(Y(k(e,KP)))/2,H(e,QK,Q(ge(tu(j.Math.round(c))))),H(e,Hon,Q(ge(tu(j.Math.round(o))))),0==e.d.b||OZ(n,u(IE(new b2(Re(new il(e).a.d,0))),86),t+K(Y(k(e,KP)))+n.a,r+K(Y(k(e,O4)))),null!=k(e,VK)&&OZ(n,u(k(e,VK),86),t,r))}function DZ(n){var e,t,r;return 64&n.Db?YL(n):(e=new ts(trn),(t=n.k)?De(De((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new V(_i,n,1,7)),n.n.i>0&&(!(r=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),r),'"'))),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function CBn(n){var e,t,r;return 64&n.Db?YL(n):(e=new ts(rrn),(t=n.k)?De(De((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new V(_i,n,1,7)),n.n.i>0&&(!(r=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),r),'"'))),De(Pd(De(Pd(De(Pd(De(Pd((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function TN(n,e){var t,r,i,c,o,h;if(null==e||0==e.length)return null;if(!(i=u(kc(n.a,e),149))){for(r=new J0(new Kh(n.b).a.vc().Kc());r.a.Ob();)if(c=u(r.a.Pb(),42),Mn((o=(t=u(c.dd(),149)).c).substr(o.length-(h=e.length),h),e)&&(e.length==o.length||46==Pr(o,o.length-e.length-1))){if(i)return null;i=t}i&&ki(n.a,e,i)}return i}function MBn(n){var e,t,r;fr(n,(nn(),x0))&&!(r=u(k(n,x0),21)).dc()&&(t=new Ms(e=u(Go(fi),9),u(yo(e,e.length),9),0),r.Hc((xb(),vs))?So(t,vs):So(t,xo),r.Hc(uo)||So(t,uo),r.Hc(Lo)?So(t,Bo):r.Hc(b1)?So(t,xh):r.Hc(No)&&So(t,so),r.Hc(Bo)?So(t,Lo):r.Hc(xh)?So(t,b1):r.Hc(so)&&So(t,No),H(n,x0,t))}function X7e(n){var t,r,i,c,o;for(i=u(k(n,(G(),L0)),10),Ln(0,(r=n.j).c.length),t=u(r.c[0],11),o=new E(i.j);o.ai.p?(ir(c,ae),c.d&&(c.a.b=c.o.b-c.a.b)):c.j==ae&&i.p>n.p&&(ir(c,Rn),c.d&&(c.a.b=-(c.o.b-c.a.b)));break}return i}function uk(n,e,t,r,i){var c,o,f,h,l,a,d;if(!(I(e,239)||I(e,354)||I(e,186)))throw C(new Kn("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return l=(h=e.i+r-(o=n.a/2))+e.g+n.a,d=(a=e.j+i-o)+e.f+n.a,Ke(c=new lu,new fn(h,a)),Ke(c,new fn(h,d)),Ke(c,new fn(l,d)),Ke(c,new fn(l,a)),Pi(f=new hN(c),e),t&&tt(n.b,e,f),f}function H6(n,e,t){var r,i,c,o,h,l,a,g;for(c=new fn(e,t),a=new E(n.a);a.a1&&(r=new fn(i,t.b),Ke(e.a,r)),l6(e.a,S(M(hr,1),q,8,0,[g,d]))}function CN(n,e,t){var r,i,c,o,f,h;if(e){if(t<=-1){if(I(r=In(e.Tg(),-1-t),99))return u(r,18);for(f=0,h=(o=u(e.ah(r),153)).gc();f0){for(i=h.length;i>0&&""==h[i-1];)--i;i=40)&&function uye(n){var e,t,r,i,c,o,f;for(n.o=new Ow,r=new Ct,o=new E(n.e.a);o.a0,f=zC(e,c),pz(t?f.b:f.g,e),1==rg(f).c.length&&Rt(r,f,r.c.b,r.c),i=new Mr(c,e),yl(n.o,i),Jc(n.e.a,c))}(n),function hje(n){var e,t,r,i,o,f,h,l,a,d;for(a=n.e.a.c.length,o=new E(n.e.a);o.a0&&Ke(n.f,c)):(n.c[o]-=l+1,n.c[o]<=0&&n.a[o]>0&&Ke(n.e,c))))}function BBn(n,e,t){var r,i,c,o,f,h,l,a,d;for(c=new Oc(e.c.length),l=new E(e);l.a=0&&h0&&(Ce(0,n.length),45==n.charCodeAt(0)||(Ce(0,n.length),43==n.charCodeAt(0)))?1:0;rt)throw C(new Hf(y0+n+'"'));return f}function O3(n){switch(n){case 100:return yg(Am,!0);case 68:return yg(Am,!1);case 119:return yg(M_,!0);case 87:return yg(M_,!1);case 115:return yg(S_,!0);case 83:return yg(S_,!1);case 99:return yg(A_,!0);case 67:return yg(A_,!1);case 105:return yg(P_,!0);case 73:return yg(P_,!1);default:throw C(new Ri(tUn+n.toString(16)))}}function HBn(n,e,t,r,i){t&&(!r||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.b],10).k==(Vn(),ns)?uv(u(n.a[n.b],10),(hs(),Nh)):r&&(!t||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.c-1&n.a.length-1],10).k==(Vn(),ns)?uv(u(n.a[n.c-1&n.a.length-1],10),(hs(),Jl)):2==(n.c-n.b&n.a.length-1)?(uv(u(p6(n),10),(hs(),Nh)),uv(u(p6(n),10),Jl)):function E9e(n,e){var t,r,i,c,o,f,h,l,a;for(h=gh(n.c-n.b&n.a.length-1),l=null,a=null,c=new n6(n);c.a!=c.b;)i=u(_C(c),10),t=(f=u(k(i,(G(),rf)),11))?f.i:null,r=(o=u(k(i,io),11))?o.i:null,(l!=t||a!=r)&&(oxn(h,e),l=t,a=r),h.c[h.c.length]=i;oxn(h,e)}(n,i),zX(n)}function Fke(n){var e,t,r,o,f,h,l;for(o=new X,r=new ie(ue(Yt(n.b).a.Kc(),new Yn));Ae(r);)Ur(t=u(pe(r),17))&&W(o,new PAn(t,bPn(n,t.c),bPn(n,t.d)));for(l=new J0(new Kh(n.e).a.vc().Kc());l.a.Ob();)e=u(l.a.Pb(),42),(f=u(e.dd(),113)).d.p=0;for(h=new J0(new Kh(n.e).a.vc().Kc());h.a.Ob();)e=u(h.a.Pb(),42),0==(f=u(e.dd(),113)).d.p&&W(n.d,dke(n,f))}function as(n,e,t,r){var i,c,o,f,h;return o=n.eh(),i=null,(h=n.Zg())?!e||CN(n,e,t).Bb&Vr?h=null:(r=Kr(h.Vk(),n,r),n.uh(null),i=e.fh()):(o&&(h=o.fh()),e&&(i=e.fh())),h!=i&&h&&h.Zk(n),f=n.Vg(),n.Rg(e,t),h!=i&&i&&i.Yk(n),n.Lg()&&n.Mg()&&(o&&f>=0&&f!=t&&(c=new dr(n,1,f,o,null),r?r.Ei(c):r=c),t>=0&&(c=new dr(n,1,t,f==t?o:null,e),r?r.Ei(c):r=c)),r}function qBn(n){var e,t,r;if(null==n.b){if(r=new m1,null!=n.i&&(li(r,n.i),r.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(function Vhe(n){return null!=n&&c8(EI,n.toLowerCase())}(n.i)||(r.a+="//"),li(r,n.a)),null!=n.d&&(r.a+="/",li(r,n.d)),16&n.f&&(r.a+="/"),e=0,t=n.j.length;e0&&(e.td(t),t.i&&Pge(t))}(i=F8e(n,e),(f=u(Yo(i,0),214)).c.Rf()?f.c.Lf()?new d6n(n):new b6n(n):new a6n(n)),function sge(n){var e,t,r;for(r=new E(n.b);r.a>>31;0!=r&&(n[t]=r)}(t,t,e<<1),r=0,i=0,o=0;ig)&&(a+f+W6(r,g,!1).a<=e.b&&(r7(t,c-t.s),t.c=!0,r7(r,c-t.s),_7(r,t.s,t.t+t.d+f),r.k=!0,JV(t.q,r),v=!0,i&&(wC(e,r),r.j=e,n.c.length>o&&(G7((Ln(o,n.c.length),u(n.c[o],200)),r),0==(Ln(o,n.c.length),u(n.c[o],200)).a.c.length&&M1(n,o)))),v)}function zBn(n,e,t){var r,o,f,h,a;if(0==e.p){for(e.p=1,(o=t)||(o=new Mr(new X,new Ms(r=u(Go(Qr),9),u(yo(r,r.length),9),0))),u(o.a,15).Fc(e),e.k==(Vn(),zt)&&u(o.b,21).Fc(u(k(e,(G(),tc)),61)),h=new E(e.j);h.a0)if(i=u(n.Ab.g,1934),null==e){for(c=0;c1)for(r=new E(i);r.at.s&&f=0&&l>=0&&ho)return J(),Xn;break;case 4:case 3:if(a<0)return J(),Rn;if(a+t>c)return J(),ae}return(h=(l+f/2)/o)+(r=(a+t/2)/c)<=1&&h-r<=0?(J(),qn):h+r>=1&&h-r>=0?(J(),Xn):r<.5?(J(),Rn):(J(),ae)}function Xke(n,e){var t,r,i,c,f,l,a,d,g,v,p,m;for(t=!1,a=K(Y(k(e,(nn(),K0)))),p=Fl*a,i=new E(e.b);i.af.n.b-f.d.d+g.a+p&&(g.a=(g.g*g.a+d.g*d.a)/(m=d.g+g.g),g.g=m,d.f=g,t=!0)),c=f,d=g;return t}function QBn(n,e,t,r,i,c,o){var h,l,a,d,g;for(g=new M2,l=e.Kc();l.Ob();)for(d=new E(u(l.Pb(),839).wf());d.an.b/2+e.b/2||(i=j.Math.abs(n.d+n.a/2-(e.d+e.a/2)))>n.a/2+e.a/2?1:0==t&&0==i?0:0==t?c/i+1:0==i?r/t+1:j.Math.min(r/t,c/i)+1}function YBn(n,e){var t,r,i,c,o,f;return(i=LV(n))==(f=LV(e))?n.e==e.e&&n.a<54&&e.a<54?n.fe.f?1:0:(r=n.e-e.e,(t=(n.d>0?n.d:j.Math.floor((n.a-1)*fKn)+1)-(e.d>0?e.d:j.Math.floor((e.a-1)*fKn)+1))>r+1?i:t0&&(o=Vw(o,k_n(r))),I$n(c,o))):i0&&n.d!=(f6(),dR)&&(f+=o*(r.d.a+n.a[e.b][r.b]*(e.d.a-r.d.a)/t)),t>0&&n.d!=(f6(),lR)&&(h+=o*(r.d.b+n.a[e.b][r.b]*(e.d.b-r.d.b)/t)));switch(n.d.g){case 1:return new fn(f/c,e.d.b);case 2:return new fn(e.d.a,h/c);default:return new fn(f/c,h/c)}}function ZBn(n,e){var t,r,i,o;if(o3(),o=u(k(n.i,(nn(),Nt)),98),0!=n.j.g-e.j.g||o!=(Tr(),wd)&&o!=Bh&&o!=Pc)return 0;if(o==(Tr(),wd)&&(t=u(k(n,U1),19),r=u(k(e,U1),19),t&&r&&0!=(i=t.a-r.a)))return i;switch(n.j.g){case 1:return Jt(n.n.a,e.n.a);case 2:return Jt(n.n.b,e.n.b);case 3:return Jt(e.n.a,n.n.a);case 4:return Jt(e.n.b,n.n.b);default:throw C(new $i(uen))}}function n_n(n){var e,r,i,c,o;for(W(o=new Oc((!n.a&&(n.a=new Vt(fo,n,5)),n.a).i+2),new fn(n.j,n.k)),Bt(new Dn(null,(!n.a&&(n.a=new Vt(fo,n,5)),new Fn(n.a,16))),new X6n(o)),W(o,new fn(n.b,n.c)),e=1;e0&&(C7(h,!1,(ci(),co)),C7(h,!0,Fo)),Zc(e.g,new U7n(n,t)),tt(n.g,e,t)}function t_n(){var n;for(t_n=F,Jrn=S(M(be,1),Ne,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),q_=L(be,Ne,25,37,15,1),CUn=S(M(be,1),Ne,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Yrn=L(oa,Cx,25,37,14,1),n=2;n<=36;n++)q_[n]=Ht(j.Math.pow(n,Jrn[n])),Yrn[n]=U7(JM,q_[n])}function Zke(n){var e;if(1!=(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i)throw C(new Kn(aqn+(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i));return e=new lu,E7(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82))&&zr(e,BRn(n,E7(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)),!1)),E7(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))&&zr(e,BRn(n,E7(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82)),!0)),e}function r_n(n,e){var t,r,c;for(c=!1,r=new ie(ue((e.d?n.a.c==(Xf(),H0)?Ni(e.b):Yt(e.b):n.a.c==(Xf(),z1)?Ni(e.b):Yt(e.b)).a.Kc(),new Yn));Ae(r);)if(t=u(pe(r),17),(on(n.a.f[n.a.g[e.b.p].p])||Ur(t)||t.c.i.c!=t.d.i.c)&&!on(n.a.n[n.a.g[e.b.p].p])&&!on(n.a.n[n.a.g[e.b.p].p])&&(c=!0,Hh(n.b,n.a.g[fpe(t,e.b).p])))return e.c=!0,e.a=t,e;return e.c=c,e.a=null,e}function KZ(n,e,t){var r,i,c,o,f,h,l;if(0==(r=t.gc()))return!1;if(n.ej())if(h=n.fj(),tJ(n,e,t),o=1==r?n.Zi(3,null,t.Kc().Pb(),e,h):n.Zi(5,null,t,e,h),n.bj()){for(f=r<100?null:new ul(r),c=e+r,i=e;i0){for(o=0;o>16==-15&&n.Cb.nh()&&lF(new sF(n.Cb,9,13,t,n.c,F1($u(u(n.Cb,59)),n))):I(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(I(e=n.c,88)||(Sn(),e=bo),I(t,88)||(Sn(),t=bo),lF(new sF(n.Cb,9,10,t,e,F1(wc(u(n.Cb,26)),n)))))),n.c}function rye(n,e,t){var r,i,c,o,h,l,a,d;for(le(t,"Hyperedge merging",1),function Ome(n,e){var t,r,i,c;for((c=u(us(qi(qi(new Dn(null,new Fn(e.b,16)),new Bdn),new _dn),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)]))),15)).Jc(new Rdn),t=0,i=c.Kc();i.Ob();)-1==(r=u(i.Pb(),11)).p&&uZ(n,r,t++)}(n,e),h=new Sr(e.b,0);h.bt);return i}function c_n(n,e){var t,r,i;r=0!=Nu(n.d,1),!on(sn(k(e.j,(G(),F0))))&&!on(sn(k(e.j,Gg)))||B(k(e.j,(nn(),zl)))===B((n1(),Wl))?e.c.Tf(e.e,r):r=on(sn(k(e.j,F0))),ck(n,e,r,!0),on(sn(k(e.j,Gg)))&&H(e.j,Gg,(Hn(),!1)),on(sn(k(e.j,F0)))&&(H(e.j,F0,(Hn(),!1)),H(e.j,Gg,!0)),t=rN(n,e);do{if(WV(n),0==t)return 0;i=t,ck(n,e,r=!r,!1),t=rN(n,e)}while(i>t);return i}function u_n(n,e,t){var r,c,o,h,l,a,g;if(e==t)return!0;if(e=JY(n,e),t=JY(n,t),r=PL(e)){if((a=PL(t))!=r)return!!a&&(h=r.Dj())==a.Dj()&&null!=h;if(!e.d&&(e.d=new Vt(hi,e,1)),c=(o=e.d).i,!t.d&&(t.d=new Vt(hi,t,1)),c==(g=t.d).i)for(l=0;l0&&(g.d+=a.n.d,g.d+=a.d),g.a>0&&(g.a+=a.n.a,g.a+=a.d),g.b>0&&(g.b+=a.n.b,g.b+=a.d),g.c>0&&(g.c+=a.n.c,g.c+=a.d),g}((At(n)&&(tb(),new Y0(At(n))),tb(),new jD(At(n)?new Y0(At(n)):null,n)),Fo),c=u(k(r,Xsn),116),gMn(t=r.d,c),gMn(t,i),r}function h_n(n,e){var t,r,o,f;return r=j.Math.abs(hT(n.b).a-hT(e.b).a),f=j.Math.abs(hT(n.b).b-hT(e.b).b),t=1,o=1,r>n.b.b/2+e.b.b/2&&(t=1-j.Math.min(j.Math.abs(n.b.c-(e.b.c+e.b.b)),j.Math.abs(n.b.c+n.b.b-e.b.c))/r),f>n.b.a/2+e.b.a/2&&(o=1-j.Math.min(j.Math.abs(n.b.d-(e.b.d+e.b.a)),j.Math.abs(n.b.d+n.b.a-e.b.d))/f),(1-j.Math.min(t,o))*j.Math.sqrt(r*r+f*f)}function sye(n){var e,r,i;for(XN(n,n.e,n.f,(zd(),Vl),!0,n.c,n.i),XN(n,n.e,n.f,Vl,!1,n.c,n.i),XN(n,n.e,n.f,Jg,!0,n.c,n.i),XN(n,n.e,n.f,Jg,!1,n.c,n.i),function fye(n,e,t,r,i){var c,o,f,h,l,a,d;for(o=new E(e);o.a=p&&($>p&&(v.c=L(Zn,rn,1,0,5,1),p=$),v.c[v.c.length]=o);0!=v.c.length&&(g=u(un(v,sM(e,v.c.length)),128),zn.a.Bc(g),g.s=m++,hZ(g,wn,z),v.c=L(Zn,rn,1,0,5,1))}for(N=n.c.length+1,f=new E(n);f.a(Gn=r.b).s&&(Qu(t),Jc(Gn.i,r),r.c>0&&(r.a=Gn,W(Gn.t,r),r.b=en,W(en.i,r)))})(n.i,u(k(n.d,(G(),Ov)),230)),function TEe(n){var t,r,i,c,o,f,h,l,a;for(l=new Ct,f=new Ct,c=new E(n);c.a-1){for(i=Re(f,0);i.b!=i.d.c;)(r=u(_e(i),128)).v=o;for(;0!=f.b;)for(t=new E((r=u(_L(f,0),128)).i);t.a=65;t--)Lf[t]=t-65<<24>>24;for(r=122;r>=97;r--)Lf[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)Lf[i]=i-48+52<<24>>24;for(Lf[43]=62,Lf[47]=63,c=0;c<=25;c++)el[c]=65+c≫for(o=26,h=0;o<=51;++o,h++)el[o]=97+h≫for(n=52,f=0;n<=61;++n,f++)el[n]=48+f≫el[62]=43,el[63]=47}function UZ(n,e){var t,r,i,c,o,f,h;if(!lf(n))throw C(new $i(lqn));if(i=(r=lf(n)).f,(c=r.g)<=0&&i<=0)return J(),Xi;switch(f=n.i,h=n.j,e.g){case 2:case 1:if(f<0)return J(),qn;if(f+n.g>c)return J(),Xn;break;case 4:case 3:if(h<0)return J(),Rn;if(h+n.f>i)return J(),ae}return(o=(f+n.g/2)/c)+(t=(h+n.f/2)/i)<=1&&o-t<=0?(J(),qn):o+t>=1&&o-t>=0?(J(),Xn):t<.5?(J(),Rn):(J(),ae)}function Kb(n){var e,t,r,i,c,o;if(Qe(),4!=n.e&&5!=n.e)throw C(new Kn("Token#complementRanges(): must be RANGE: "+n.e));for(ag(c=n),X6(c),r=c.b.length+2,0==c.b[0]&&(r-=2),(t=c.b[c.b.length-1])==t4&&(r-=2),(i=new cs(4)).b=L(be,Ne,25,r,15,1),o=0,c.b[0]>0&&(i.b[o++]=0,i.b[o++]=c.b[0]-1),e=1;e0&&(cO(h,h.d-i.d),i.c==(zo(),Xl)&&ste(h,h.a-i.d),h.d<=0&&h.i>0&&Rt(e,h,e.c.b,e.c));for(c=new E(n.f);c.a0&&(jj(f,f.i-i.d),i.c==(zo(),Xl)&&ote(f,f.b-i.d),f.i<=0&&f.d>0&&Rt(t,f,t.c.b,t.c))}function lye(n,e,t){var r,i,c,o,f,h,l,a;for(le(t,"Processor compute fanout",1),Cu(n.b),Cu(n.a),f=null,c=Re(e.b,0);!f&&c.b!=c.d.c;)on(sn(k(l=u(_e(c),86),(uc(),pw))))&&(f=l);for(Rt(h=new Ct,f,h.c.b,h.c),yRn(n,h),a=Re(e.b,0);a.b!=a.d.c;)o=Te(k(l=u(_e(a),86),(uc(),o9))),i=null!=kc(n.b,o)?u(kc(n.b,o),19).a:0,H(l,_P,Q(i)),r=1+(null!=kc(n.a,o)?u(kc(n.a,o),19).a:0),H(l,nYn,Q(r));ce(t)}function aye(n,e,t,r,i){var o,f,h,l,a,d,g,v,p;for(g=function V3e(n,e){var t,i,c;for(c=new Sr(n.e,0),t=0;c.bxB)return t;i>-1e-6&&++t}return t}(n,t),h=0;h0),r.a.Xb(r.c=--r.b),d>g+h&&Qu(r);for(o=new E(v);o.a0),r.a.Xb(r.c=--r.b)}}function ON(n){var e,t,r,i,c,o,f,h,l,a,d,g,v;if(t=n.i,e=n.n,0==n.b)for(v=t.c+e.b,g=t.b-e.b-e.c,h=0,a=(o=n.a).length;h0&&(d-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(d-=r[2]+n.c),r[1]=j.Math.max(r[1],d),cT(n.a[1],t.c+e.b+r[0]-(r[1]-d)/2,r[1]);for(f=0,l=(c=n.a).length;ff&&(f=i,a.c=L(Zn,rn,1,0,5,1)),i==f&&W(a,new Mr(t.c.i,t)));An(),ar(a,n.c),lb(n.b,h.p,a)}}(d,n),d.f=gh(d.d),function Wke(n,e){var t,r,i,o,f,h,l,a;for(o=new E(e.b);o.af&&(f=i,a.c=L(Zn,rn,1,0,5,1)),i==f&&W(a,new Mr(t.d.i,t)));An(),ar(a,n.c),lb(n.f,h.p,a)}}(d,n),d}function l_n(n,e){var r,i,c;for(c=u(un(n.n,n.n.c.length-1),211).d,n.p=j.Math.min(n.p,e.g),n.r=j.Math.max(n.r,c),n.g=j.Math.max(n.g,e.g+(1==n.b.c.length?0:n.i)),n.o=j.Math.min(n.o,e.f),n.e+=e.f+(1==n.b.c.length?0:n.i),n.f=j.Math.max(n.f,e.f),i=n.n.c.length>0?(n.n.c.length-1)*n.i:0,r=new E(n.n);r.a1)for(r=Re(i,0);r.b!=r.d.c;)for(c=0,h=new E((t=u(_e(r),231)).e);h.a0&&(e[0]+=n.c,d-=e[0]),e[2]>0&&(d-=e[2]+n.c),e[1]=j.Math.max(e[1],d),uT(n.a[1],r.d+t.d+e[0]-(e[1]-d)/2,e[1]);else for(p=r.d+t.d,v=r.a-t.d-t.a,h=0,a=(o=n.a).length;h=0&&c!=t)throw C(new Kn(Rk));for(i=0,h=0;h0||0==s0(i.b.d,n.b.d+n.b.a)&&r.b<0||0==s0(i.b.d+i.b.a,n.b.d)&&r.b>0){f=0;break}}else f=j.Math.min(f,bNn(n,i,r));f=j.Math.min(f,b_n(n,c,f,r))}return f}function hk(n,e){var t,i,c,o,f,h;if(n.b<2)throw C(new Kn("The vector chain must contain at least a source and a target point."));for(ne(0!=n.b),SE(e,(i=u(n.a.a.c,8)).a,i.b),h=new S2((!e.a&&(e.a=new Vt(fo,e,5)),e.a)),o=Re(n,1);o.aK(hf(o.g,o.d[0]).a)?(ne(h.b>0),h.a.Xb(h.c=--h.b),fb(h,o),i=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new X),f.e).Mc(e),l=(!f.e&&(f.e=new X),f.e).Mc(t),(c||l)&&((!f.e&&(f.e=new X),f.e).Fc(o),++o.c));i||(r.c[r.c.length]=o)}function v_n(n){var e,t,r;if(_w(u(k(n,(nn(),Nt)),98)))for(t=new E(n.j);t.a>>0).toString(16),t.length-2,t.length):n>=Vr?"\\v"+rs(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&Gt)}return r}function $N(n,e){var t,r,i,c,o,f,h,l,a,d;if(0==(h=e.e))return n;if(0==(o=n.e))return 0==e.e?e:new Gw(-e.e,e.d,e.a);if((c=n.d)+(f=e.d)==2)return t=rr(n.a[0],si),r=rr(e.a[0],si),o<0&&(t=Hp(t)),h<0&&(r=Hp(r)),B7(Al(t,r));if(-1==(i=c!=f?c>f?1:-1:TQ(n.a,e.a,c)))d=-h,a=o==h?eF(e.a,f,n.a,c):rF(e.a,f,n.a,c);else if(d=o,o==h){if(0==i)return Dl(),u4;a=eF(n.a,c,e.a,f)}else a=rF(n.a,c,e.a,f);return r6(l=new Gw(d,a.length,a)),l}function XZ(n){var e,t,r,i,c,o;for(this.e=new X,this.a=new X,t=n.b-1;t<3;t++)kp(n,0,u(Yo(n,0),8));if(n.b<4)throw C(new Kn("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function u9e(n,e){var t,r,i,c,o;if(e<2*n.b)throw C(new Kn("The knot vector must have at least two time the dimension elements."));for(n.f=1,i=0;i=e.o&&t.f<=e.f||.5*e.a<=t.f&&1.5*e.a>=t.f){if((o=u(un(e.n,e.n.c.length-1),211)).e+o.d+t.g+i<=r&&(u(un(e.n,e.n.c.length-1),211).f-n.f+t.f<=n.b||1==n.a.c.length))return WQ(e,t),!0;if(e.s+t.g<=r&&(e.t+e.d+t.f+i<=n.b||1==n.a.c.length))return W(e.b,t),f=u(un(e.n,e.n.c.length-1),211),W(e.n,new DT(e.s,f.f+f.a+e.i,e.i)),PJ(u(un(e.n,e.n.c.length-1),211),t),l_n(e,t),!0}return!1}function m_n(n,e,t){var r,i,c,o;return n.ej()?(i=null,c=n.fj(),r=n.Zi(1,o=dF(n,e,t),t,e,c),n.bj()&&!(n.ni()&&null!=o?et(o,t):B(o)===B(t))?(null!=o&&(i=n.dj(o,i)),i=n.cj(t,i),n.ij()&&(i=n.lj(o,t,i)),i?(i.Ei(r),i.Fi()):n.$i(r)):(n.ij()&&(i=n.lj(o,t,i)),i?(i.Ei(r),i.Fi()):n.$i(r)),o):(o=dF(n,e,t),n.bj()&&!(n.ni()&&null!=o?et(o,t):B(o)===B(t))&&(i=null,null!=o&&(i=n.dj(o,null)),(i=n.cj(t,i))&&i.Fi()),o)}function G6(n,e){var r,i,c,o,f,h,l;e%=24,n.q.getHours()!=e&&((r=new j.Date(n.q.getTime())).setDate(r.getDate()+1),(f=n.q.getTimezoneOffset()-r.getTimezoneOffset())>0&&(h=f/60|0,l=f%60,i=n.q.getDate(),n.q.getHours()+h>=24&&++i,c=new j.Date(n.q.getFullYear(),n.q.getMonth(),i,e+h,n.q.getMinutes()+l,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),o=n.q.getTime(),n.q.setTime(o+36e5),n.q.getHours()!=e&&n.q.setTime(o)}function Eye(n,e){var t,r,i,c;if(le(e,"Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(i=new eZ(n)).i&&(i.i=XV(i,new bq)),t=K(i.i)*i.f/(null==i.i&&(i.i=XV(i,new bq)),K(i.i)),i.b>t)ce(e);else{switch(u(k(n,(nn(),TK)),337).g){case 2:c=new gq;break;case 0:c=new dq;break;default:c=new vq}if(r=c.Vf(n,i),!c.Wf())switch(u(k(n,MP),338).g){case 2:r=wNn(i,r);break;case 1:r=bLn(i,r)}(function kje(n,e,t){var r,i,c,f,h,a,d,g,v,p,T;if(!t.dc()){for(f=0,g=0,p=u((r=t.Kc()).Pb(),19).a;f1||-1==p)if(d=u(m,69),g=u(a,69),d.dc())g.$b();else for(o=!!ei(e),c=0,f=n.a?d.Kc():d.Zh();f.Ob();)l=u(f.Pb(),56),(i=u(Jd(n,l),56))?(o?-1==(h=g.Xc(i))?g.Xh(c,i):c!=h&&g.ji(c,i):g.Xh(c,i),++c):n.b&&!o&&(g.Xh(c,l),++c);else null==m?a.Wb(null):null==(i=Jd(n,m))?n.b&&!ei(e)&&a.Wb(m):a.Wb(i)}function Aye(n,e){var t,r,i,c,o,f,h,l;for(t=new Fdn,i=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(i);)if(!Ur(r=u(pe(i),17))&&lY(f=r.c.i,PA)){if(-1==(l=MZ(n,f,PA,AA)))continue;t.b=j.Math.max(t.b,l),!t.a&&(t.a=new X),W(t.a,f)}for(o=new ie(ue(Yt(e).a.Kc(),new Yn));Ae(o);)if(!Ur(c=u(pe(o),17))&&lY(h=c.d.i,AA)){if(-1==(l=MZ(n,h,AA,PA)))continue;t.d=j.Math.max(t.d,l),!t.c&&(t.c=new X),W(t.c,h)}return t}function k_n(n){var e,t,r,i;if(C3(),e=Ht(n),n1e6)throw C(new Lj("power of ten too big"));if(n<=Ze)return H2(ek(jv[1],e),e);for(i=r=ek(jv[1],Ze),t=tu(n-Ze),e=Ht(n%Ze);hc(t,Ze)>0;)i=Vw(i,r),t=Al(t,Ze);for(i=H2(i=Vw(i,ek(jv[1],e)),Ze),t=tu(n-Ze);hc(t,Ze)>0;)i=H2(i,Ze),t=Al(t,Ze);return H2(i,e)}function Iye(n,e){var t,i,c,f,h;le(e,"Layer constraint postprocessing",1),0!=(h=n.b).c.length&&(Ln(0,h.c.length),function bke(n,e,t,r,i){var o,f,h,l,a,d;for(o=new E(n.b);o.a1))););(f>0||g.Hc((Su(),w1))&&(!c.n&&(c.n=new V(_i,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(l=!0)}h&&e.Fc((ui(),_s)),l&&e.Fc((ui(),Km))}(e,i=u(k(c,(G(),Ac)),21)),i.Hc((ui(),_s)))for(r=new re((!e.c&&(e.c=new V(Ku,e,9,9)),e.c));r.e!=r.i.gc();)hTe(n,e,c,u(oe(r),118));return 0!=u(hn(e,(nn(),sd)),174).gc()&&eBn(e,c),on(sn(k(c,Qsn)))&&i.Fc(uP),fr(c,vy)&&R9n(new ZQ(K(Y(k(c,vy)))),c),B(hn(e,hw))===B((e1(),Q1))?function ECe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,$,D,N,R,z,en,ln,wn,Gn,zn;for(o=new Ct,R=u(k(t,(nn(),gs)),103),p=0,zr(o,(!e.a&&(e.a=new V(It,e,10,11)),e.a));0!=o.b;)l=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),33),(B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&!on(sn(hn(l,fK)))&&bi(l,(G(),bc),Q(p++)),!on(sn(hn(l,od)))&&(d=0!=(!l.a&&(l.a=new V(It,l,10,11)),l.a).i,v=M4e(l),g=B(hn(l,hw))===B((e1(),Q1)),D=null,(zn=!Aa(l,(We(),w9))||Mn(Te(hn(l,w9)),Qn))&&g&&(d||v)&&(H(D=f_n(l),gs,R),fr(D,vy)&&R9n(new ZQ(K(Y(k(D,vy)))),D),0!=u(hn(l,sd),174).gc()&&(a=D,Bt(new Dn(null,(!l.c&&(l.c=new V(Ku,l,9,9)),new Fn(l.c,16))),new w5n(a)),eBn(l,D))),z=t,(en=u(te(n.a,At(l)),10))&&(z=en.e),$=oRn(n,l,z),D&&($.e=D,D.e=$,zr(o,(!l.a&&(l.a=new V(It,l,10,11)),l.a))));for(p=0,Rt(o,e,o.c.b,o.c);0!=o.b;){for(h=new re((!(c=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),33)).b&&(c.b=new V(lr,c,12,3)),c.b));h.e!=h.i.gc();)SBn(f=u(oe(h),79)),(B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&bi(f,(G(),bc),Q(p++)),wn=Ii(u(O((!f.b&&(f.b=new $n(he,f,4,7)),f.b),0),82)),Gn=Ii(u(O((!f.c&&(f.c=new $n(he,f,5,8)),f.c),0),82)),!(on(sn(hn(f,od)))||on(sn(hn(wn,od)))||on(sn(hn(Gn,od))))&&(N=c,d0(f)&&on(sn(hn(wn,lw)))&&on(sn(hn(f,ud)))||Eb(Gn,wn)?N=wn:Eb(wn,Gn)&&(N=Gn),z=t,(en=u(te(n.a,N),10))&&(z=en.e),H(gnn(n,f,N,z),(G(),xun),W8e(n,f,e,t)));if(g=B(hn(c,hw))===B((e1(),Q1)))for(i=new re((!c.a&&(c.a=new V(It,c,10,11)),c.a));i.e!=i.i.gc();)zn=!Aa(r=u(oe(i),33),(We(),w9))||Mn(Te(hn(r,w9)),Qn),ln=B(hn(r,hw))===B(Q1),zn&&ln&&Rt(o,r,o.c.b,o.c)}}(n,e,c):function GTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m;for(d=0,i=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));i.e!=i.i.gc();)on(sn(hn(r=u(oe(i),33),(nn(),od))))||((B(hn(e,zl))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&!on(sn(hn(r,fK)))&&(bi(r,(G(),bc),Q(d)),++d),oRn(n,r,t));for(d=0,l=new re((!e.b&&(e.b=new V(lr,e,12,3)),e.b));l.e!=l.i.gc();)f=u(oe(l),79),(B(hn(e,(nn(),zl)))!==B((n1(),Wl))||B(hn(e,fw))===B((Ha(),_m))||B(hn(e,fw))===B((Ha(),Bm))||on(sn(hn(e,ow)))||B(hn(e,$v))!==B((c0(),Ng)))&&(bi(f,(G(),bc),Q(d)),++d),p=Ch(f),m=Pl(f),a=on(sn(hn(p,lw))),v=!on(sn(hn(f,od))),g=a&&d0(f)&&on(sn(hn(f,ud))),c=At(p)==e&&At(p)==At(m),o=(At(p)==e&&m==e)^(At(m)==e&&p==e),v&&!g&&(o||c)&&gnn(n,f,e,t);if(At(e))for(h=new re(SCn(At(e)));h.e!=h.i.gc();)(p=Ch(f=u(oe(h),79)))==e&&d0(f)&&(g=on(sn(hn(p,(nn(),lw))))&&on(sn(hn(f,ud))))&&gnn(n,f,e,t)}(n,e,c),c}function U6(n,e,t,r){var i,c,o;if(this.j=new X,this.k=new X,this.b=new X,this.c=new X,this.e=new M2,this.i=new lu,this.f=new fO,this.d=new X,this.g=new X,W(this.b,n),W(this.b,e),this.e.c=j.Math.min(n.a,e.a),this.e.d=j.Math.min(n.b,e.b),this.e.b=j.Math.abs(n.a-e.a),this.e.a=j.Math.abs(n.b-e.b),i=u(k(r,(nn(),Ci)),74))for(o=Re(i,0);o.b!=o.d.c;)AV((c=u(_e(o),8)).a,n.a)&&Ke(this.i,c);t&&W(this.j,t),W(this.k,r)}function $ye(n,e,t){var r,i,c,o,f,h,l,a,d,g;for(a=new lT(new l5n(t)),VW(f=L(Hu,Oh,25,n.f.e.c.length,16,1),f.length),t[e.b]=0,l=new E(n.f.e);l.al&&r>l)){i=!1,t.n&&ka(t,"bk node placement breaks on "+f+" which should have been after "+a);break}a=f,l=K(e.p[f.p])+K(e.d[f.p])+f.o.b+f.d.a}if(!i)break}return t.n&&ka(t,e+" is feasible: "+i),i}function Lye(n,e,t,r){var i,c,o,f,h,l,a;if(t.d.i!=e.i){for(ba(i=new i1(n),(Vn(),br)),H(i,(G(),rt),t),H(i,(nn(),Nt),(Tr(),Pc)),r.c[r.c.length]=i,Hi(o=new gc,i),ir(o,(J(),qn)),Hi(f=new gc,i),ir(f,Xn),a=t.d,jr(t,o),Pi(c=new Ud,t),H(c,Ci,null),Br(c,f),jr(c,a),l=new Sr(t.b,0);l.b=T&&n.e[h.p]>p*n.b||D>=t*T)&&(g.c[g.c.length]=f,f=new X,zr(o,c),c.a.$b(),v=j.Math.max(v,(l-=a)*n.b+m),l+=D,$=D,D=0,a=0,m=0);return new Mr(v,g)}function Bye(n){var e,t,r,i,c,o,f,h,a,d,g,v;for(t=new J0(new Kh(n.c.b).a.vc().Kc());t.a.Ob();)f=u(t.a.Pb(),42),null==(i=(e=u(f.dd(),149)).a)&&(i=""),!(r=hue(n.c,i))&&0==i.length&&(r=lge(n)),r&&!Ab(r.c,e,!1)&&Ke(r.c,e);for(o=Re(n.a,0);o.b!=o.d.c;)c=u(_e(o),478),a=J$(n.c,c.a),v=J$(n.c,c.b),a&&v&&Ke(a.c,new Mr(v,c.c));for(zs(n.a),g=Re(n.b,0);g.b!=g.d.c;)d=u(_e(g),478),e=fue(n.c,d.a),h=J$(n.c,d.b),e&&h&&Zre(e,h,d.c);zs(n.b)}function z6(n){var e,t,r,c,f,h;if(!n.f){if(h=new Tq,f=new Tq,null==(e=I9).a.zc(n,e)){for(c=new re(Si(n));c.e!=c.i.gc();)Dt(h,z6(u(oe(c),26)));e.a.Bc(n),e.a.gc()}for(!n.s&&(n.s=new V(ou,n,21,17)),r=new re(n.s);r.e!=r.i.gc();)I(t=u(oe(r),170),99)&&me(f,u(t,18));Mb(f),n.r=new NEn(n,(u(O(_((pl(),Nn).o),6),18),f.i),f.g),Dt(h,n.r),Mb(h),n.f=new Bw((u(O(_(Nn.o),5),18),h.i),h.g),Du(n).b&=-3}return n.f}function Kye(n){var e,t,r,i,c,o,f,h,l,a,d,g,v,p;for(r=L(be,Ne,25,o=n.o,15,1),i=L(be,Ne,25,o,15,1),e=L(be,Ne,25,t=n.p,15,1),c=L(be,Ne,25,t,15,1),l=0;l=0&&!ug(n,a,d);)--d;i[a]=d}for(v=0;v=0&&!ug(n,f,p);)--f;c[p]=f}for(h=0;he[g]&&gr[h]&&NM(n,h,g,!1,!0)}function VZ(n){var e,t,r,i,c,o,f,h;t=on(sn(k(n,(Zo(),Zzn)))),c=n.a.c.d,f=n.a.d.d,t?(o=Gf(pr(new fn(f.a,f.b),c),.5),h=Gf(Ji(n.e),.5),e=pr(ut(new fn(c.a,c.b),o),h),Cz(n.d,e)):(i=K(Y(k(n.a,sWn))),r=n.d,c.a>=f.a?c.b>=f.b?(r.a=f.a+(c.a-f.a)/2+i,r.b=f.b+(c.b-f.b)/2-i-n.e.b):(r.a=f.a+(c.a-f.a)/2+i,r.b=c.b+(f.b-c.b)/2+i):c.b>=f.b?(r.a=c.a+(f.a-c.a)/2+i,r.b=f.b+(c.b-f.b)/2+i):(r.a=c.a+(f.a-c.a)/2+i,r.b=c.b+(f.b-c.b)/2-i-n.e.b))}function Tc(n,e){var t,r,i,c,o,f,h;if(null==n)return null;if(0==(c=n.length))return"";for(h=L(Hs,Yf,25,c,15,1),lV(0,c,n.length),lV(0,c,h.length),HTn(n,0,c,h,0),t=null,f=e,i=0,o=0;i0?rs(t.a,0,c-1):"":n.substr(0,c-1):t?t.a:n}function E_n(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,Va),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new lan))),Z(n,Va,Wx,cn(Yin)),Z(n,Va,Xx,cn(cR)),Z(n,Va,bv,cn(Bzn)),Z(n,Va,j0,cn(Jin)),Z(n,Va,Fnn,cn(Hzn)),Z(n,Va,Lnn,cn(Kzn)),Z(n,Va,$nn,cn(qzn)),Z(n,Va,Nnn,cn(Rzn)),Z(n,Va,qnn,cn(_zn)),Z(n,Va,Gnn,cn(iR)),Z(n,Va,Unn,cn(Qin)),Z(n,Va,znn,cn(yA))}function QZ(n,e,t,r){var i,c,o,f,l,a,d;if(ba(c=new i1(n),(Vn(),Sc)),H(c,(nn(),Nt),(Tr(),Pc)),i=0,e){for(H(o=new gc,(G(),rt),e),H(c,rt,e.i),ir(o,(J(),qn)),Hi(o,c),a=0,d=(l=Vf(e.e)).length;a=0&&d<=1&&g>=0&&g<=1?ut(new fn(n.a,n.b),Gf(new fn(e.a,e.b),d)):null}function Uye(n){var t,r,i,c,o,h,l,a,d,g;for(a=new Rq(new Yv(HNn(n)).a.vc().Kc());a.a.Ob();){for(i=u(a.a.Pb(),42),d=0,g=0,d=(l=u(i.cd(),10)).d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)r=rve(t,c),0,h=n.c==(Xf(),z1)?r.d.n.b+r.d.a.b-r.c.n.b-r.c.a.b:r.c.n.b+r.c.a.b-r.d.n.b-r.d.a.b,o=K(n.d[t.p])+h,n.d[c.p]=o,d=j.Math.max(d,c.d.d-o),g=j.Math.max(g,o+c.o.b+c.d.a),t=c;t=l;do{n.d[t.p]=K(n.d[t.p])+d,t=n.a[t.p]}while(t!=l);n.b[l.p]=d+g}}function LN(n){var t,r,i,c,o,f,h,l,a,d,g;for(n.b=!1,d=Ft,h=Wt,g=Ft,l=Wt,r=n.e.a.ec().Kc();r.Ob();)for(t=u(r.Pb(),266),d=j.Math.min(d,(i=t.a).c),h=j.Math.max(h,i.c+i.b),g=j.Math.min(g,i.d),l=j.Math.max(l,i.d+i.a),o=new E(t.c);o.a=(Ln(c,n.c.length),u(n.c[c],200)).e,f=W6(r,g,!1),a=f.a,a>e.b&&!l))&&((l||a<=e.b)&&(l&&a>e.b?(t.d=a,r7(t,LLn(t,a))):(nLn(t.q,h),t.c=!0),r7(r,i-(t.s+t.r)),_7(r,t.q.e+t.q.d,e.f),wC(e,r),n.c.length>c&&(G7((Ln(c,n.c.length),u(n.c[c],200)),r),0==(Ln(c,n.c.length),u(n.c[c],200)).a.c.length&&M1(n,c)),d=!0),d)}function YZ(n,e,t,r){var i,c,o,f,h,l,a;if(a=Kc(n.e.Tg(),e),i=0,c=u(n.g,119),h=null,Zr(),u(e,66).Oj()){for(f=0;f0?n.i:0)>e&&h>0&&(c=0,o+=h+n.i,i=j.Math.max(i,g),r+=h+n.i,h=0,g=0,t&&(++d,W(n.n,new DT(n.s,o,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=j.Math.max(h,l.f),t&&PJ(u(un(n.n,d),211),l),c+=l.g+(f>0?n.i:0),++f;return i=j.Math.max(i,g),r+=h,t&&(n.r=i,n.d=r,$J(n.j)),new Ss(n.s,n.t,i,r)}function vc(n,e,t,r,i){var c,o,f,h,a,d,g;if(wh(),YW(n,"src"),YW(t,"dest"),g=Fu(n),h=Fu(t),yW(0!=(4&g.i),"srcType is not an array"),yW(0!=(4&h.i),"destType is not an array"),o=h.c,yW(1&(d=g.c).i?d==o:0==(1&o.i),"Array types don't match"),e<0||r<0||i<0||e+i>n.length||r+i>t.length)throw C(new dG);if(1&d.i||g==h)i>0&&BY(n,e,t,r,i,!0);else if(a=Ia(n),c=Ia(t),B(n)===B(t)&&er;)St(c,f,a[--e]);else for(f=r+i;r=n.b.length?(c[i++]=o.b[r++],c[i++]=o.b[r++]):r>=o.b.length?(c[i++]=n.b[t++],c[i++]=n.b[t++]):o.b[r]0&&(!(i=(!n.n&&(n.n=new V(_i,n,1,7)),u(O(n.n,0),137)).a)||De(De((e.a+=' "',e),i),'"'))),!n.b&&(n.b=new $n(he,n,4,7)),t=!(n.b.i<=1&&(!n.c&&(n.c=new $n(he,n,5,8)),n.c.i<=1)),e.a+=t?" [":" ",De(e,oz(new SO,new re(n.b))),t&&(e.a+="]"),e.a+=nB,t&&(e.a+="["),De(e,oz(new SO,new re(n.c))),t&&(e.a+="]"),e.a)}function BN(n,e){var t,r,i,c,o,f,h;if(n.a){if(h=null,null!=(f=n.a.ne())?e.a+=""+f:null!=(o=n.a.Dj())&&(-1!=(c=qf(o,ru(91)))?(h=o.substr(c),e.a+=""+rs(null==o?iu:(_n(o),o),0,c)):e.a+=""+o),n.d&&0!=n.d.i){for(i=!0,e.a+="<",r=new re(n.d);r.e!=r.i.gc();)t=u(oe(r),87),i?i=!1:e.a+=Xr,BN(t,e);e.a+=">"}null!=h&&(e.a+=""+h)}else n.e?null!=(f=n.e.zb)&&(e.a+=""+f):(e.a+="?",n.b?(e.a+=" super ",BN(n.b,e)):n.f&&(e.a+=" extends ",BN(n.f,e)))}function C_n(n,e,t,r){var i,c,o,h,l,a;if(c=qC(r),!on(sn(k(r,(nn(),Gsn))))&&!on(sn(k(n,mP)))||_w(u(k(n,Nt),98)))switch(h=new gc,Hi(h,n),e?(a=h.n,a.a=e.a-n.n.a,a.b=e.b-n.n.b,NLn(a,0,0,n.o.a,n.o.b),ir(h,VBn(h,c))):(i=J2(c),ir(h,t==(ii(),xc)?i:$7(i))),o=u(k(r,(G(),Ac)),21),l=h.j,c.g){case 2:case 1:(l==(J(),Rn)||l==ae)&&o.Fc((ui(),Kg));break;case 4:case 3:(l==(J(),Xn)||l==qn)&&o.Fc((ui(),Kg))}else i=J2(c),h=RZ(n,t,t==(ii(),xc)?i:$7(i));return h}function ZZ(n,e,t){var r,i,o,f,h,l,a;return j.Math.abs(e.s-e.c)a?new Ca((zo(),vw),t,e,l-a):l>0&&a>0&&(new Ca((zo(),vw),e,t,0),new Ca(vw,t,e,0))),o)}function M_n(n,e){var t,r,i,c,o;for(o=new Na(new wa(n.f.b).a);o.b;){if(i=u((c=Zd(o)).cd(),594),1==e){if(i.gf()!=(ci(),d1)&&i.gf()!=a1)continue}else if(i.gf()!=(ci(),co)&&i.gf()!=Fo)continue;switch(r=u(u(c.dd(),46).b,81),t=u(u(c.dd(),46).a,189).c,i.gf().g){case 2:r.g.c=n.e.a,r.g.b=j.Math.max(1,r.g.b+t);break;case 1:r.g.c=r.g.c+t,r.g.b=j.Math.max(1,r.g.b-t);break;case 4:r.g.d=n.e.b,r.g.a=j.Math.max(1,r.g.a+t);break;case 3:r.g.d=r.g.d+t,r.g.a=j.Math.max(1,r.g.a-t)}}}function S_n(n,e){var t,r,i,c,o,f,h,l,a,d,g;for(r=new ie(ue(c1(e).a.Kc(),new Yn));Ae(r);)I(O((!(t=u(pe(r),79)).b&&(t.b=new $n(he,t,4,7)),t.b),0),186)||(h=Ii(u(O((!t.c&&(t.c=new $n(he,t,5,8)),t.c),0),82)),B6(t)||(o=e.i+e.g/2,f=e.j+e.f/2,a=h.i+h.g/2,d=h.j+h.f/2,(g=new $r).a=a-o,g.b=d-f,k3(c=new fn(g.a,g.b),e.g,e.f),g.a-=c.a,g.b-=c.b,o=a-g.a,f=d-g.b,k3(l=new fn(g.a,g.b),h.g,h.f),g.a-=l.a,g.b-=l.b,a=o+g.a,d=f+g.b,zp(i=wg(t,!0,!0),o),Xp(i,f),Up(i,a),Wp(i,d),S_n(n,h)))}function A_n(n){Od(n,new qa(Sd(Td(Md(Cd(new aa,E0),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Ugn))),Z(n,E0,UB,cn(YP)),Z(n,E0,Gtn,cn(gH)),Z(n,E0,Utn,cn(wH)),Z(n,E0,zB,cn(Ufn)),Z(n,E0,WB,cn(bH)),Z(n,E0,j0,Gfn),Z(n,E0,Wb,8),Z(n,E0,XB,cn(gZn)),Z(n,E0,ztn,cn(Hfn)),Z(n,E0,Wtn,cn(qfn)),Z(n,E0,Bk,(Hn(),!1))}function _N(n,e,t){var r,i,c,f,h,l,a;return r=n.a.o==(af(),If)?Ft:Wt,!(f=r_n(n,new ikn(e,t))).a&&f.c?(Ke(n.d,f),r):f.a?(i=f.a.c,h=f.a.d,t?(l=n.a.c==(Xf(),H0)?h:i,a=K(n.a.p[n.a.g[(c=n.a.c==H0?i:h).i.p].p])+K(n.a.d[c.i.p])+c.n.b+c.a.b-K(n.a.d[l.i.p])-l.n.b-l.a.b):(l=n.a.c==(Xf(),z1)?h:i,a=K(n.a.p[n.a.g[(c=n.a.c==z1?i:h).i.p].p])+K(n.a.d[c.i.p])+c.n.b+c.a.b-K(n.a.d[l.i.p])-l.n.b-l.a.b),n.a.n[n.a.g[i.i.p].p]=(Hn(),!0),n.a.n[n.a.g[h.i.p].p]=!0,a):r}function HM(n,e,t){var r,c,o,f,h,l,a;if(u1(n.e,e))Zr(),TM((h=u(e,66).Oj()?new JE(e,n):new j8(e,n)).c,h.b),L5(h,u(t,14));else{for(a=Kc(n.e.Tg(),e),r=u(n.g,119),o=0;on.o.b||(t=Ui(n,Xn),f=e.d+e.a+(t.gc()-1)*o,f>n.o.b)))}function KN(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;if(0==(o=n.e))return e;if(0==(h=e.e))return n;if((c=n.d)+(f=e.d)==2)return t=rr(n.a[0],si),r=rr(e.a[0],si),o==h?(p=ge(a=_r(t,r)),0==(v=ge(ab(a,32)))?new S1(o,p):new Gw(o,2,S(M(be,1),Ne,25,15,[p,v]))):B7(o<0?Al(r,t):Al(t,r));if(o==h)g=o,d=c>=f?rF(n.a,c,e.a,f):rF(e.a,f,n.a,c);else{if(0==(i=c!=f?c>f?1:-1:TQ(n.a,e.a,c)))return Dl(),u4;1==i?(g=o,d=eF(n.a,c,e.a,f)):(g=h,d=eF(e.a,f,n.a,c))}return r6(l=new Gw(g,d.length,d)),l}function HN(n,e,t,r,i,c,o){var f,h,l,a,d,g,v;return d=on(sn(k(e,(nn(),Usn)))),g=null,c==(ii(),Pu)&&r.c.i==t?g=r.c:c==xc&&r.d.i==t&&(g=r.d),(l=o)&&d&&!g?(W(l.e,r),v=j.Math.max(K(Y(k(l.d,G1))),K(Y(k(r,G1)))),H(l.d,G1,v)):(J(),a=Xi,g?a=g.j:_w(u(k(t,Nt),98))&&(a=c==Pu?qn:Xn),h=function sje(n,e,t,r,i,c){var o,f,h,l,a,d;return o=null,l=r==(ii(),Pu)?c.c:c.d,h=qC(e),l.i==t?(o=u(te(n.b,l),10))||(H(o=bk(l,u(k(t,(nn(),Nt)),98),i,function vke(n){var e,t,r,i,c,o,f,h,l,a;for(i=on(sn(k(f=n.i,(nn(),lw)))),a=0,r=0,l=new E(n.g);l.a=n.b[i+1])i+=2;else{if(!(t=Vr?li(t,zQ(r)):Ap(t,r&Gt),o=new I$(10,null,0),function Xfe(n,e,t){Cp(t,n.a.c.length),Ps(n.a,t,e)}(n.a,o,f-1)):(o.bm(),li(t=new s5,o.bm())),0==e.e?(r=e._l())>=Vr?li(t,zQ(r)):Ap(t,r&Gt):li(t,e.bm()),u(o,521).b=t.a}}function F_n(n){var e,t,r,i,c;return null!=n.g?n.g:n.a<32?(n.g=function DTe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m;if(xN(),(h=hc(n,0)<0)&&(n=Hp(n)),0==hc(n,0))switch(e){case 0:return"0";case 1:return K3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(v=new cl).a+=e<0?"0E+":"0E",v.a+=e==Lr?"2147483648":""+-e,v.a}d=L(Hs,Yf,25,1+(a=18),15,1),t=a,m=n;do{l=m,m=U7(m,10),d[--t]=ge(_r(48,Al(l,Fr(m,10))))&Gt}while(0!=hc(m,0));if(i=Al(Al(Al(a,t),e),1),0==e)return h&&(d[--t]=45),Xs(d,t,a-t);if(e>0&&hc(i,-6)>=0){if(hc(i,0)>=0){for(c=t+ge(i),f=a-1;f>=c;f--)d[f+1]=d[f];return d[++c]=46,h&&(d[--t]=45),Xs(d,t,a-t+1)}for(o=2;FO(o,_r(Hp(i),1));o++)d[--t]=48;return d[--t]=46,d[--t]=48,h&&(d[--t]=45),Xs(d,t,a-t)}return p=t+1,r=a,g=new nb,h&&(g.a+="-"),r-p>=1?(vl(g,d[t]),g.a+=".",g.a+=Xs(d,t+1,a-t-1)):g.a+=Xs(d,t,a-t),g.a+="E",hc(i,0)>0&&(g.a+="+"),g.a+=""+W5(i),g.a}(tu(n.f),Ht(n.e)),n.g):(i=JN((!n.c&&(n.c=P7(n.f)),n.c),0),0==n.e?i:(e=(!n.c&&(n.c=P7(n.f)),n.c).e<0?2:1,r=-n.e+(t=i.length)-e,(c=new cl).a+=""+i,n.e>0&&r>=-6?r>=0?X8(c,t-Ht(n.e),String.fromCharCode(46)):(c.a=rs(c.a,0,e-1)+"0."+E8(c.a,e-1),X8(c,e+1,Xs(rd,0,-Ht(r)-1))):(t-e>=1&&(X8(c,e,String.fromCharCode(46)),++t),X8(c,t,String.fromCharCode(69)),r>0&&X8(c,++t,String.fromCharCode(43)),X8(c,++t,""+W5(tu(r)))),n.g=c.a,n.g))}function jje(n,e,t){var r,i,c;if((i=u(k(e,(nn(),bP)),275))!=(E3(),Rm)){switch(1===(le(t,"Horizontal Compaction",1),n.a=e,function yre(n,e){return n.g=e,n}(r=new xNn(((c=new BPn).d=e,c.c=u(k(c.d,l1),218),function E7e(n){var e,t,r,i,c,o,f;for(e=!1,t=0,i=new E(n.d.b);i.a0&&C7(l,!0,(ci(),Fo)),f.k==(Vn(),zt)&&kCn(l),tt(n.f,f,e)):((a=(r=u(d1e(t1(f)),17)).c.i)==f&&(a=r.d.i),d=new Mr(a,pr(Ji(f.n),a.n)),tt(n.b,f,d))}(c),I7e(c),c.a)),n.b),u(k(e,jsn),422).g)?t8n(r,new ZIn(n.a)):t8n(r,(vX(),zUn)),i.g){case 1:_6(r);break;case 2:_6(zM(r,(ci(),Fo)));break;case 3:_6(e8n(zM(_6(r),(ci(),Fo)),new gbn));break;case 4:_6(e8n(zM(_6(r),(ci(),Fo)),new H5n(c)));break;case 5:_6(function kre(n,e){return n.b=e,n}(r,QWn))}zM(r,(ci(),co)),r.e=!0,function JEe(n){var e,t,r,i;for(Bt(gt(new Dn(null,new Fn(n.a.b,16)),new kbn),new ybn),function q3e(n){var e,t,r,i,c;for(r=new Na(new wa(n.b).a);r.b;)e=u((t=Zd(r)).cd(),10),c=u(u(t.dd(),46).a,10),i=u(u(t.dd(),46).b,8),ut(Uo(e.n),ut(Ji(c.n),i))}(n),Bt(gt(new Dn(null,new Fn(n.a.b,16)),new jbn),new Ebn),n.c==(r1(),Kv)&&(Bt(gt(qi(new Dn(null,new Fn(new Yv(n.f),1)),new Tbn),new Cbn),new z5n(n)),Bt(gt(Vc(qi(qi(new Dn(null,new Fn(n.d.b,16)),new Mbn),new Sbn),new Abn),new Pbn),new X5n(n))),i=new fn(Ft,Ft),e=new fn(Wt,Wt),r=new E(n.a.b);r.a1&&(h=l.mg(h,n.a,f));return 1==h.c.length?u(un(h,h.c.length-1),220):2==h.c.length?function fje(n,e,t,r){var o,a,d,g,D;return g=e.f,(o=n.f)!=(P3(),Nv)&&o!=l9||g!=Nv&&g!=l9?o!=Yg&&o!=a9||g!=Yg&&g!=a9?o!=Yg&&o!=Nv||g!=Yg&&g!=Nv?n:(o==Yg?(d=n,a=e):(d=e,a=n),D=j.Math.max(t.j+t.f,d.e+r.f)-j.Math.min(t.j,d.e),(d.d+r.g-t.i)*D<=(j.Math.max(t.i+t.g,a.d+r.g)-j.Math.min(t.i,a.d))*(a.e+r.f-t.j)?n.f==Yg?n:e:n.f==Nv?n:e):n.f==a9?n:e:n.f==l9?n:e}((Ln(0,h.c.length),u(h.c[0],220)),(Ln(1,h.c.length),u(h.c[1],220)),o,c):null}function L_n(n){var e,t,r,i,c,o;for(Zc(n.a,new uan),t=new E(n.a);t.a=j.Math.abs(r.b)?(r.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(e=new BU(n.i,n.g),c=(t=n.i)<100?null:new ul(t),n.ij())for(r=0;r0){for(f=n.g,l=n.i,o6(n),c=l<100?null:new ul(l),r=0;r4){if(!n.wj(e))return!1;if(n.rk()){if(h=(r=(i=u(e,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!h&&!r&&i.Zg())for(c=0;c0)if(e=new QV(n.Gi()),c=(t=a)<100?null:new ul(t),P8(n,t,e.g),i=1==t?n.Zi(4,O(e,0),null,0,h):n.Zi(6,e,null,-1,h),n.bj()){for(r=new re(e);r.e!=r.i.gc();)c=n.dj(oe(r),c);c?(c.Ei(i),c.Fi()):n.$i(i)}else c?(c.Ei(i),c.Fi()):n.$i(i);else P8(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(An(),Gr),null,-1,h));else if(n.bj())if((a=n.Vi())>0){for(f=n.Wi(),l=a,P8(n,a,f),c=l<100?null:new ul(l),r=0;r2*c?(a=new aC(d),l=wu(o)/Xu(o),h=VN(a,e,new g2,t,r,i,l),ut(Uo(a.e),h),d.c=L(Zn,rn,1,0,5,1),c=0,d.c[d.c.length]=a,d.c[d.c.length]=o,c=wu(a)*Xu(a)+wu(o)*Xu(o)):(d.c[d.c.length]=o,c+=wu(o)*Xu(o));return d}(f,e,d.a,d.b,(l=r,_n(i),l));break;case 1:T=function Mye(n,e,t,r,i){var c,o,f,h,l,a,d,g,v;for(An(),ar(n,new I2n),o=N8(n),v=new X,g=new X,f=null,h=0;0!=o.b;)c=u(0==o.b?null:(ne(0!=o.b),Os(o,o.a.a)),157),!f||wu(f)*Xu(f)/21&&(h>wu(f)*Xu(f)/2||0==o.b)&&(d=new aC(g),a=wu(f)/Xu(f),l=VN(d,e,new g2,t,r,i,a),ut(Uo(d.e),l),f=d,v.c[v.c.length]=d,h=0,g.c=L(Zn,rn,1,0,5,1)));return Qt(v,g),v}(f,e,d.a,d.b,(a=r,_n(i),a));break;default:T=function Lje(n,e,t,r,i){var c,o,f,h,l,a,d,g,m;for(f=L(kr,wi,25,n.c.length,15,1),xJ(g=new lT(new O2n),n),l=0,m=new X;0!=g.b.c.length;)if(o=u(0==g.b.c.length?null:un(g.b,0),157),l>1&&wu(o)*Xu(o)/2>f[0]){for(c=0;cf[c];)++c;d=new aC(new yh(m,0,c+1)),a=wu(o)/Xu(o),h=VN(d,e,new g2,t,r,i,a),ut(Uo(d.e),h),_p(j3(g,d)),xJ(g,new yh(m,c+1,m.c.length)),m.c=L(Zn,rn,1,0,5,1),l=0,aTn(f,f.length,0)}else null!=(0==g.b.c.length?null:un(g.b,0))&&MF(g,0),l>0&&(f[l]=f[l-1]),f[l]+=wu(o)*Xu(o),++l,m.c[m.c.length]=o;return m}(f,e,d.a,d.b,(h=r,_n(i),h))}p0(n,(m=VN(new aC(T),e,t,d.a,d.b,r,(_n(i),i))).a,m.b,!1,!0)}function enn(n,e){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;for(c=0,o=0,l=new E(n.a);l.a.5?A-=2*o*(p-.5):p<.5&&(A+=2*c*(.5-p)),A<(i=f.d.b)&&(A=i),A>T.a-(m=f.d.c)-a&&(A=T.a-m-a),f.n.a=e+A}}function B_n(n,e){var t,r,i,c,o,f,h,l,a;return l="",0==e.length?n.de(Enn,rx,-1,-1):(Mn((a=Fb(e)).substr(0,3),"at ")&&(a=a.substr(3)),-1==(o=(a=a.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=a.indexOf("@"))?(l=a,a=""):(l=Fb(a.substr(o+1)),a=Fb(a.substr(0,o))):(t=a.indexOf(")",o),l=a.substr(o+1,t-(o+1)),a=Fb(a.substr(0,o))),-1!=(o=qf(a,ru(46)))&&(a=a.substr(o+1)),(0==a.length||Mn(a,"Anonymous function"))&&(a=rx),f=$E(l,ru(58)),i=Yz(l,ru(58),f-1),h=-1,r=-1,c=Enn,-1!=f&&-1!=i&&(c=l.substr(0,i),h=cjn(l.substr(i+1,f-(i+1))),r=cjn(l.substr(f+1))),n.de(c,a,h,r))}function tnn(n,e,t){var r,i,c,o,f,h;if(0==e.l&&0==e.m&&0==e.h)throw C(new Lj("divide by zero"));if(0==n.l&&0==n.m&&0==n.h)return t&&(Rl=Bc(0,0,0)),Bc(0,0,0);if(e.h==yk&&0==e.m&&0==e.l)return function n2e(n,e){return n.h==yk&&0==n.m&&0==n.l?(e&&(Rl=Bc(0,0,0)),iyn((qp(),qrn))):(e&&(Rl=Bc(n.l,n.m,n.h)),Bc(0,0,0))}(n,t);if(h=!1,e.h>>19&&(e=i3(e),h=!h),o=function N9e(n){var e,t,r;return(t=n.l)&t-1||(r=n.m)&r-1||(e=n.h)&e-1||0==e&&0==r&&0==t?-1:0==e&&0==r&&0!=t?NV(t):0==e&&0!=r&&0==t?NV(r)+22:0!=e&&0==r&&0==t?NV(e)+44:-1}(e),c=!1,i=!1,r=!1,n.h==yk&&0==n.m&&0==n.l){if(i=!0,c=!0,-1!=o)return f=nZ(n,o),h&&NF(f),t&&(Rl=Bc(0,0,0)),f;n=iyn((qp(),Hrn)),r=!0,h=!h}else n.h>>19&&(c=!0,n=i3(n),r=!0,h=!h);return-1!=o?Ewe(n,o,h,c,t):UJ(n,e)<0?(t&&(Rl=c?i3(n):Bc(n.l,n.m,n.h)),Bc(0,0,0)):function Ske(n,e,t,r,i,c){var o,h,l,a,d,g;for(o=OLn(e,l=tDn(e)-tDn(n)),h=Bc(0,0,0);l>=0&&(!Ape(n,o)||(l<22?h.l|=1<>>1,o.m=a>>>1|(1&d)<<21,o.l=g>>>1|(1&a)<<21,--l;return t&&NF(h),c&&(r?(Rl=i3(n),i&&(Rl=BOn(Rl,(qp(),qrn)))):Rl=Bc(n.l,n.m,n.h)),h}(r?n:Bc(n.l,n.m,n.h),e,h,c,i,t)}function GM(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;if(n.e&&n.c.ce.f||e.g>n.f)){for(t=0,r=0,o=n.w.a.ec().Kc();o.Ob();)i=u(o.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++t;for(f=n.r.a.ec().Kc();f.Ob();)i=u(f.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--t;for(h=e.w.a.ec().Kc();h.Ob();)i=u(h.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,n.g,n.f)&&++r;for(c=e.r.a.ec().Kc();c.Ob();)i=u(c.Pb(),11),XF(Gi(S(M(hr,1),q,8,0,[i.i.n,i.n,i.a])).b,n.g,n.f)&&--r;t=0)return i=function zge(n,e){var t;if(I(t=ik(n.Tg(),e),99))return u(t,18);throw C(new Kn(_l+e+"' is not a valid reference"))}(n,e.substr(1,o-1)),function KTe(n,e,t){var r,i,c,o,f,h,l,a,d,g;for(h=new X,d=e.length,o=bQ(t),l=0;l=0?n._g(l,!1,!0):b0(n,t,!1),58).Kc();c.Ob();){for(i=u(c.Pb(),56),a=0;a=0){r=u(nF(n,wIn(n,e.substr(1,t-1)),!1),58),l=0;try{l=ls(e.substr(t+1),Lr,Ze)}catch(g){throw I(g=jt(g),127)?C(new tC(g)):C(g)}if(l=0)return t;switch(Gd(ji(n,t))){case 2:if(Mn("",O1(n,t.Hj()).ne())){if(a=sZ(n,e,h=H8(ji(n,t)),Op(ji(n,t))))return a;for(o=0,d=(i=FZ(n,e)).gc();o1,l=new gf(g.b);Ki(l.a)||Ki(l.b);)d=(h=u(Ki(l.a)?y(l.a):y(l.b),17)).c==g?h.d:h.c,j.Math.abs(Gi(S(M(hr,1),q,8,0,[d.i.n,d.n,d.a])).b-o.b)>1&&R8e(n,h,o,c,g)}}function ot(){ot=F,iln=(XG(),fc).b,pee=u(O(_(fc.b),0),34),vd=u(O(_(fc.b),1),34),vee=u(O(_(fc.b),2),34),c2=fc.bb,u(O(_(fc.bb),0),34),u(O(_(fc.bb),1),34),u2=fc.fb,O9=u(O(_(fc.fb),0),34),u(O(_(fc.fb),1),34),u(O(_(fc.fb),2),18),X0=fc.qb,Iee=u(O(_(fc.qb),0),34),u(O(_(fc.qb),1),18),u(O(_(fc.qb),2),18),ij=u(O(_(fc.qb),3),34),cj=u(O(_(fc.qb),4),34),$9=u(O(_(fc.qb),6),34),D9=u(O(_(fc.qb),5),18),mee=fc.j,kee=fc.k,yee=fc.q,jee=fc.w,Eee=fc.B,Tee=fc.A,Cee=fc.C,Mee=fc.D,See=fc._,Aee=fc.cb,Pee=fc.hb}function F3(n,e){var t,r,i,c;c=n.F,null==e?(n.F=null,s3(n,null)):(n.F=(_n(e),e),-1!=(r=qf(e,ru(60)))?(i=e.substr(0,r),-1==qf(e,ru(46))&&!Mn(i,sv)&&!Mn(i,ym)&&!Mn(i,GS)&&!Mn(i,jm)&&!Mn(i,Em)&&!Mn(i,Tm)&&!Mn(i,Cm)&&!Mn(i,Mm)&&(i=CGn),-1!=(t=$E(e,ru(62)))&&(i+=""+e.substr(t+1)),s3(n,i)):(i=e,-1==qf(e,ru(46))&&(-1!=(r=qf(e,ru(91)))&&(i=e.substr(0,r)),Mn(i,sv)||Mn(i,ym)||Mn(i,GS)||Mn(i,jm)||Mn(i,Em)||Mn(i,Tm)||Mn(i,Cm)||Mn(i,Mm)?i=e:(i=CGn,-1!=r&&(i+=""+e.substr(r)))),s3(n,i),i==e&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&nt(n,new dr(n,1,5,c,e))}function rnn(n,e){var t;if(null==e||Mn(e,iu)||0==e.length&&n.k!=(x1(),xv))return null;switch(n.k.g){case 1:return ZC(e,J3)?(Hn(),i4):ZC(e,YB)?(Hn(),td):null;case 2:try{return Q(ls(e,Lr,Ze))}catch(r){if(I(r=jt(r),127))return null;throw C(r)}case 4:try{return Lb(e)}catch(r){if(I(r=jt(r),127))return null;throw C(r)}case 3:return e;case 5:return jDn(n),ANn(n,e);case 6:return jDn(n),function h9e(n,e,t){var r,i,c,o,f,l,a;for(a=new Ms(r=u(e.e&&e.e(),9),u(yo(r,r.length),9),0),o=0,f=(c=Rb(t,"[\\[\\]\\s,]+")).length;o-2;default:return!1}switch(e=n.gj(),n.p){case 0:return null!=e&&on(sn(e))!=I5(n.k,0);case 1:return null!=e&&u(e,217).a!=ge(n.k)<<24>>24;case 2:return null!=e&&u(e,172).a!=(ge(n.k)&Gt);case 6:return null!=e&&I5(u(e,162).a,n.k);case 5:return null!=e&&u(e,19).a!=ge(n.k);case 7:return null!=e&&u(e,184).a!=ge(n.k)<<16>>16;case 3:return null!=e&&K(Y(e))!=n.j;case 4:return null!=e&&u(e,155).a!=n.j;default:return null==e?null!=n.n:!et(e,n.n)}}function dk(n,e,t){var r,i,c,o;return n.Fk()&&n.Ek()&&B(o=e$(n,u(t,56)))!==B(t)?(n.Oi(e),n.Ui(e,gPn(n,0,o)),n.rk()&&(i=u(t,49),c=n.Dk()?n.Bk()?i.ih(n.b,ei(u(In(Qc(n.b),n.aj()),18)).n,u(In(Qc(n.b),n.aj()).Yj(),26).Bj(),null):i.ih(n.b,yt(i.Tg(),ei(u(In(Qc(n.b),n.aj()),18))),null,null):i.ih(n.b,-1-n.aj(),null,null),!u(o,49).eh()&&(r=u(o,49),c=n.Dk()?n.Bk()?r.gh(n.b,ei(u(In(Qc(n.b),n.aj()),18)).n,u(In(Qc(n.b),n.aj()).Yj(),26).Bj(),c):r.gh(n.b,yt(r.Tg(),ei(u(In(Qc(n.b),n.aj()),18))),null,c):r.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),zu(n.b)&&n.$i(n.Zi(9,t,o,e,!1)),o):t}function R_n(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,T,A,$,D,N;for(a=K(Y(k(n,(nn(),R0)))),r=K(Y(k(n,ton))),H(g=new JI,R0,a+r),A=(l=e).d,$=l.d.i,T=qU(l.c.i.c),D=qU($.c),i=new X,d=T;d<=D;d++)ba(f=new i1(n),(Vn(),br)),H(f,(G(),rt),l),H(f,Nt,(Tr(),Pc)),H(f,CP,g),v=u(un(n.b,d),29),d==T?Db(f,v.a.c.length-t,v):yi(f,v),(N=K(Y(k(l,G1))))<0&&H(l,G1,N=0),f.o.b=N,p=j.Math.floor(N/2),ir(o=new gc,(J(),qn)),Hi(o,f),o.n.b=p,ir(h=new gc,Xn),Hi(h,f),h.n.b=p,jr(l,o),Pi(c=new Ud,l),H(c,Ci,null),Br(c,h),jr(c,A),i3e(f,l,c),i.c[i.c.length]=c,l=c;return i}function UN(n,e){var r,i,c,o,f,h,a,d,g,v,p,m,T,A,D;for(h=u(N1(n,(J(),qn)).Kc().Pb(),11).e,v=u(N1(n,Xn).Kc().Pb(),11).g,f=h.c.length,D=df(u(un(n.j,0),11));f-- >0;){for(Ln(0,h.c.length),m=u(h.c[0],17),Ln(0,v.c.length),c=Li((i=u(v.c[0],17)).d.e,i,0),oae(m,i.d,c),Br(i,null),jr(i,null),p=m.a,e&&Ke(p,new mi(D)),r=Re(i.a,0);r.b!=r.d.c;)Ke(p,new mi(u(_e(r),8)));for(A=m.b,g=new E(i.b);g.a0&&(o=j.Math.max(o,bOn(n.C.b+r.d.b,i))),a=r,d=i,g=c;n.C&&n.C.c>0&&(v=g+n.C.c,l&&(v+=a.d.c),o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(d-1)<=Tf||1==d||isNaN(d)&&isNaN(1)?0:v/(1-d)))),t.n.b=0,t.a.a=o}function H_n(n,e){var t,r,i,c,o,f,h,l,a,d,g,v;if(t=u(ai(n.b,e),124),(h=u(u(it(n.r,e),21),84)).dc())return t.n.d=0,void(t.n.a=0);for(l=n.u.Hc((Su(),w1)),o=0,n.A.Hc((Zu(),gd))&&yBn(n,e),f=h.Kc(),a=null,g=0,d=0;f.Ob();)c=K(Y((r=u(f.Pb(),111)).b.We((FE(),pA)))),i=r.b.rf().b,a?(v=d+a.d.a+n.w+r.d.d,o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(g-c)<=Tf||g==c||isNaN(g)&&isNaN(c)?0:v/(c-g)))):n.C&&n.C.d>0&&(o=j.Math.max(o,bOn(n.C.d+r.d.d,c))),a=r,g=c,d=i;n.C&&n.C.a>0&&(v=d+n.C.a,l&&(v+=a.d.a),o=j.Math.max(o,(ff(),Mo(Tf),j.Math.abs(g-1)<=Tf||1==g||isNaN(g)&&isNaN(1)?0:v/(1-g)))),t.n.d=0,t.a.b=o}function q_n(n,e,t){var r,i,c,o,f,h;for(this.g=n,this.d=L(Fh,_1,10,(f=e.d.length)+(h=t.d.length),0,1),o=0;o0?pF(this,this.f/this.a):null!=hf(e.g,e.d[0]).a&&null!=hf(t.g,t.d[0]).a?pF(this,(K(hf(e.g,e.d[0]).a)+K(hf(t.g,t.d[0]).a))/2):null!=hf(e.g,e.d[0]).a?pF(this,hf(e.g,e.d[0]).a):null!=hf(t.g,t.d[0]).a&&pF(this,hf(t.g,t.d[0]).a)}function tEe(n,e){var t,r,c,o,f,h,l,a,d;for(n.a=new JTn(function Obe(n){var e;return new Ms(e=u(n.e&&n.e(),9),u(tX(e,e.length),9),e.length)}(v9)),r=new E(e.a);r.a=1&&(T-o>0&&d>=0?(h.n.a+=m,h.n.b+=c*o):T-o<0&&a>=0&&(h.n.a+=m*T,h.n.b+=c));n.o.a=e.a,n.o.b=e.b,H(n,(nn(),sd),(Zu(),new Ms(r=u(Go(T9),9),u(yo(r,r.length),9),0)))}function z_n(n){var e,t,r,i,c,o,f,h,l,a;for(r=new X,o=new E(n.e.a);o.a1)for(m=L(be,Ne,25,n.b.b.c.length,15,1),d=0,l=new E(n.b.b);l.a=f&&i<=h)f<=i&&c<=h?(t[a++]=i,t[a++]=c,r+=2):f<=i?(t[a++]=i,t[a++]=h,n.b[r]=h+1,o+=2):c<=h?(t[a++]=f,t[a++]=c,r+=2):(t[a++]=f,t[a++]=h,n.b[r]=h+1);else{if(!(hFl)&&f<10);UG(n.c,new Man),W_n(n),function Qfe(n){return kg(n,(ci(),co)),n.d=!0,n}(n.c),function iEe(n){var e,t,r,i,c,o,f,h;for(c=new E(n.a.b);c.a=2){for(o=u(_e(h=Re(t,0)),8),f=u(_e(h),8);f.a0&&W(n.p,a),W(n.o,a);l+=(e-=r)*n.e,Ps(n.a,f,Q(v=h+e)),Ps(n.b,f,l),n.j=j.Math.max(n.j,v),n.k=j.Math.max(n.k,l),n.d+=e,e+=m}}(n),n.q=u(k(e,(nn(),vK)),260),a=u(k(n.g,Hsn),19).a,c=new l0n,n.q.g){case 2:case 1:default:$3(n,c);break;case 3:for(n.q=(bg(),DP),$3(n,c),h=0,f=new E(n.a);f.an.j&&(n.q=ky,$3(n,c));break;case 4:for(n.q=(bg(),DP),$3(n,c),l=0,i=new E(n.b);i.an.k&&(n.q=yy,$3(n,c));break;case 6:$3(n,new P5n(Ht(j.Math.ceil(n.f.length*a/100))));break;case 5:$3(n,new I5n(Ht(j.Math.ceil(n.d*a/100))))}(function o7e(n,e){var t,r,i,c,o,f;for(i=new X,t=0;t<=n.i;t++)(r=new Us(e)).p=n.i-t,i.c[i.c.length]=r;for(f=new E(n.o);f.a=t}(this.k)}function Q_n(n,e){var t,r,i,c,o,f,h,l,a,d;for(h=!0,i=0,a=e.o.b+n.n,t=n.c[e.p][2],Ps(n.a,l=n.f[e.p],Q(u(un(n.a,l),19).a-1+t)),Ps(n.b,l,K(Y(un(n.b,l)))-a+t*n.e),++l>=n.i?(++n.i,W(n.a,Q(1)),W(n.b,a)):(r=n.c[e.p][1],Ps(n.a,l,Q(u(un(n.a,l),19).a+1-r)),Ps(n.b,l,K(Y(un(n.b,l)))+a-r*n.e)),(n.q==(bg(),ky)&&(u(un(n.a,l),19).a>n.j||u(un(n.a,l-1),19).a>n.j)||n.q==yy&&(K(Y(un(n.b,l)))>n.k||K(Y(un(n.b,l-1)))>n.k))&&(h=!1),o=new ie(ue(Ni(e).a.Kc(),new Yn));Ae(o);)c=u(pe(o),17),n.f[(f=c.c.i).p]==l&&(i+=u((d=Q_n(n,f)).a,19).a,h=h&&on(sn(d.b)));return n.f[e.p]=l,new Mr(Q(i+=n.c[e.p][0]),(Hn(),!!h))}function unn(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A;for(d=new we,o=new X,pNn(n,t,n.d.fg(),o,d),pNn(n,r,n.d.gg(),o,d),n.b=.2*(m=sxn(qi(new Dn(null,new Fn(o,16)),new mgn)),T=sxn(qi(new Dn(null,new Fn(o,16)),new kgn)),j.Math.min(m,T)),c=0,f=0;f=2&&(A=Pxn(o,!0,g),!n.e&&(n.e=new $6n(n)),X2e(n.e,A,o,n.b)),fLn(o,g),function DEe(n){var t,r,i,c,o,f,h,l,a;for(l=new X,f=new X,o=new E(n);o.a-1){for(c=new E(f);c.a0)&&(Bq(h,j.Math.min(h.o,i.o-1)),jj(h,h.i-1),0==h.i&&(f.c[f.c.length]=h))}}(o),v=-1,a=new E(o);a.at))}(n)&&(c=(B(k(n,hw))===B(Q1)?u(k(n,gy),292):u(k(n,lK),292))==(t3(),QR)?(ti(),Qcn):(ti(),run),Ye(e,(Wr(),Mc),c)),u(k(n,fon),377).g){case 1:Ye(e,(Wr(),Mc),(ti(),eun));break;case 2:Tu(Ye(Ye(e,(Wr(),Hc),(ti(),Ccn)),Mc,Mcn),Oi,Scn)}return B(k(n,zl))!==B((n1(),Wl))&&Ye(e,(Wr(),Hc),(ti(),tun)),e}(e)),H(e,cK,GM(n.a,e))}function Y_n(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$;for(l=Ft,a=Ft,f=Wt,h=Wt,g=new E(e.i);g.a=f&&i<=h)f<=i&&c<=h?r+=2:f<=i?(n.b[r]=h+1,o+=2):c<=h?(t[a++]=i,t[a++]=f-1,r+=2):(t[a++]=i,t[a++]=f-1,n.b[r]=h+1,o+=2);else{if(!(h0?1:0;c.a[i]!=t;)i=n.a.ue(t.d,(c=c.a[i]).d)>0?1:0;c.a[i]=r,r.b=t.b,r.a[0]=t.a[0],r.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}(n,h,o,a=new cF(d.d,d.e)),g==o&&(g=a)),g.a[g.a[1]==d?1:0]=d.a[d.a[0]?0:1],--n.c),n.b=h.a[1],n.b&&(n.b.b=!1),t.b}function iRn(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(t)for(r=-1,a=new Sr(e,0);a.b0&&0==t.c&&(!e&&(e=new X),e.c[e.c.length]=t);if(e)for(;0!=e.c.length;){if((t=u(M1(e,0),233)).b&&t.b.c.length>0)for(!t.b&&(t.b=new X),c=new E(t.b);c.aLi(n,t,0))return new Mr(i,t)}else if(K(hf(i.g,i.d[0]).a)>K(hf(t.g,t.d[0]).a))return new Mr(i,t);for(f=(!t.e&&(t.e=new X),t.e).Kc();f.Ob();)!(o=u(f.Pb(),233)).b&&(o.b=new X),vb(0,(h=o.b).c.length),v5(h.c,0,t),o.c==h.c.length&&(e.c[e.c.length]=o)}return null}function cRn(n,e){var t,r,i,c,o,a;if(null==n)return iu;if(null!=e.a.zc(n,e))return"[...]";for(t=new $a(Xr,"[","]"),c=0,o=(i=n).length;c=14&&a<=16?I(r,177)?Qh(t,y6e(u(r,177))):I(r,190)?Qh(t,h4e(u(r,190))):I(r,195)?Qh(t,k5e(u(r,195))):I(r,2012)?Qh(t,l4e(u(r,2012))):I(r,48)?Qh(t,k6e(u(r,48))):I(r,364)?Qh(t,F6e(u(r,364))):I(r,832)?Qh(t,m6e(u(r,832))):I(r,104)&&Qh(t,p6e(u(r,104))):e.a._b(r)?(t.a?De(t.a,t.b):t.a=new ts(t.d),D5(t.a,"[...]")):Qh(t,cRn(Ia(r),new G5(e))):Qh(t,null==r?iu:xi(r));return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function uRn(n,e,t,r){var i,o,h,l,a,d,v,m,T,A,$,D;for(A=V7(wg(e,!1,!1)),r&&(A=S7(A)),D=K(Y(hn(e,(A6(),cR)))),ne(0!=A.b),T=u(A.a.a.c,8),d=u(Yo(A,1),8),A.b>2?(Qt(a=new X,new yh(A,1,A.b)),Pi($=new hN(_Rn(a,D+n.a)),e),t.c[t.c.length]=$):$=u(te(n.b,r?Ch(e):Pl(e)),266),h=Ch(e),r&&(h=Pl(e)),o=function R5e(n,e){var t,r,i;return i=U3,P6(),r=ey,i=j.Math.abs(n.b),(t=j.Math.abs(e.f-n.b))>16==-10?t=u(n.Cb,284).nk(e,t):n.Db>>16==-15&&(!e&&(Sn(),e=Ff),!l&&(Sn(),l=Ff),n.Cb.nh()&&(h=new Jh(n.Cb,1,13,l,e,F1($u(u(n.Cb,59)),n),!1),t?t.Ei(h):t=h));else if(I(n.Cb,88))n.Db>>16==-23&&(I(e,88)||(Sn(),e=bo),I(l,88)||(Sn(),l=bo),n.Cb.nh()&&(h=new Jh(n.Cb,1,10,l,e,F1(wc(u(n.Cb,26)),n),!1),t?t.Ei(h):t=h));else if(I(n.Cb,444))for(!(f=u(n.Cb,836)).b&&(f.b=new Aj(new gO)),c=new Pj(new Na(new wa(f.b.a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,f),t);return t}function sRn(n){var e,t,r,i,c,o,f,h,l,a,d,g;if((g=u(hn(n,(We(),ad)),21)).dc())return null;if(f=0,o=0,g.Hc((Zu(),zy))){for(a=u(hn(n,g9),98),r=2,t=2,i=2,c=2,e=At(n)?u(hn(At(n),q0),103):u(hn(n,q0),103),l=new re((!n.c&&(n.c=new V(Ku,n,9,9)),n.c));l.e!=l.i.gc();)if(h=u(oe(l),118),(d=u(hn(h,r2),61))==(J(),Xi)&&(d=UZ(h,e),bi(h,r2,d)),a==(Tr(),Pc))switch(d.g){case 1:r=j.Math.max(r,h.i+h.g);break;case 2:t=j.Math.max(t,h.j+h.f);break;case 3:i=j.Math.max(i,h.i+h.g);break;case 4:c=j.Math.max(c,h.j+h.f)}else switch(d.g){case 1:r+=h.g+2;break;case 2:t+=h.f+2;break;case 3:i+=h.g+2;break;case 4:c+=h.f+2}f=j.Math.max(r,i),o=j.Math.max(t,c)}return p0(n,f,o,!0,!0)}function zN(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N;for($=u(us(hC(gt(new Dn(null,new Fn(e.d,16)),new Z5n(t)),new n6n(t)),Pa(new lt,new Gu,new Ho,S(M(_u,1),U,132,0,[(kf(),ws)]))),15),d=Ze,a=Lr,h=new E(e.b.j);h.a0)?l&&(g=A.p,o?++g:--g,v=!(gN(r=YOn(u(un(A.c.a,g),10)),z,t[0])||ITn(r,z,t[0]))):v=!0),p=!1,(R=e.D.i)&&R.c&&f.e&&(o&&R.p>0||!o&&R.p0&&(e.a+=Xr),UM(u(oe(f),160),e);for(e.a+=nB,h=new S2((!r.c&&(r.c=new $n(he,r,5,8)),r.c));h.e!=h.i.gc();)h.e>0&&(e.a+=Xr),UM(u(oe(h),160),e);e.a+=")"}}}function _Ee(n,e,t){var r,i,c,o,f,h,l,a,d,g,v;if(c=u(k(n,(G(),rt)),79)){for(r=n.a,ut(i=new mi(t),function P3e(n){var e,t,r,i;if(i=u(k(n,(G(),xun)),37)){for(r=new $r,e=Rr(n.c.i);e!=i;)e=Rr(t=e.e),sb(ut(ut(r,t.n),e.c),e.d.b,e.d.d);return r}return _Wn}(n)),n3(n.d.i,n.c.i)?(g=n.c,pr(d=Gi(S(M(hr,1),q,8,0,[g.n,g.a])),t)):d=df(n.c),Rt(r,d,r.a,r.a.a),v=df(n.d),null!=k(n,sK)&&ut(v,u(k(n,sK),8)),Rt(r,v,r.c.b,r.c),Tb(r,i),pC(o=wg(c,!0,!0),u(O((!c.b&&(c.b=new $n(he,c,4,7)),c.b),0),82)),mC(o,u(O((!c.c&&(c.c=new $n(he,c,5,8)),c.c),0),82)),hk(r,o),a=new E(n.b);a.ao?1:$d(isNaN(0),isNaN(o)))<0&&(Mo(ih),(j.Math.abs(o-1)<=ih||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:$d(isNaN(o),isNaN(1)))<0)&&(Mo(ih),(j.Math.abs(0-f)<=ih||0==f||isNaN(0)&&isNaN(f)?0:0f?1:$d(isNaN(0),isNaN(f)))<0)&&(Mo(ih),(j.Math.abs(f-1)<=ih||1==f||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:$d(isNaN(f),isNaN(1)))<0))}function HEe(n,e,t,r,i,c,o){var f,l,a,d,g,v,p,m,T,A,$,D;if(A=function zye(n,e,t){var r,i,c,o,h,l,a,d;for(d=new X,c=0,wC(a=new FX(0,t),new RF(0,0,a,t)),i=0,l=new re(n);l.e!=l.i.gc();)h=u(oe(l),33),r=u(un(a.a,a.a.c.length-1),187),i+h.g+(0==u(un(a.a,0),187).b.c.length?0:t)>e&&(i=0,c+=a.b+t,d.c[d.c.length]=a,wC(a=new FX(c,t),r=new RF(0,a.f,a,t)),i=0),0==r.b.c.length||h.f>=r.o&&h.f<=r.f||.5*r.a<=h.f&&1.5*r.a>=h.f?WQ(r,h):(wC(a,o=new RF(r.s+r.r+t,a.f,a,t)),WQ(o,h)),i=h.i+h.g;return d.c[d.c.length]=a,d}(e,t,n.g),i.n&&i.n&&c&&Eo(i,To(c),(Yu(),ks)),n.b)for(T=0;T0?n.g:0),++t;n.c=i,n.d=r}(n,A),i.n&&i.n&&c&&Eo(i,To(c),(Yu(),ks)),D=j.Math.max(n.d,r.a-(o.b+o.c)),f=(g=j.Math.max(n.c,r.b-(o.d+o.a)))-n.c,n.e&&n.f&&(D/g0&&(n.c[e.c.p][e.p].d+=Nu(n.i,24)*Ck*.07000000029802322-.03500000014901161,n.c[e.c.p][e.p].a=n.c[e.c.p][e.p].d/n.c[e.c.p][e.p].b)}}function rTe(n,e,t,r,i){var c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;for(z=0,v=0,d=new E(e.e);d.a=l&&R>=T&&(g+=p.n.b+m.n.b+m.a.b-N,++f));if(t)for(o=new E($.e);o.a=l&&R>=T&&(g+=p.n.b+m.n.b+m.a.b-N,++f))}f>0&&(z+=g/f,++v)}v>0?(e.a=i*z/v,e.g=v):(e.a=0,e.g=0)}function iTe(n,e){var r,i,c,o,f,h,l,a,d,g;for(i=new E(n.a.b);i.aWt||e.o==hd&&ar.d,r.d=j.Math.max(r.d,e),f&&t&&(r.d=j.Math.max(r.d,r.a),r.a=r.d+i);break;case 3:t=e>r.a,r.a=j.Math.max(r.a,e),f&&t&&(r.a=j.Math.max(r.a,r.d),r.d=r.a+i);break;case 2:t=e>r.c,r.c=j.Math.max(r.c,e),f&&t&&(r.c=j.Math.max(r.b,r.c),r.b=r.c+i);break;case 4:t=e>r.b,r.b=j.Math.max(r.b,e),f&&t&&(r.b=j.Math.max(r.b,r.c),r.c=r.b+i)}}}(f),function vpe(n){switch(n.q.g){case 5:VFn(n,(J(),Rn)),VFn(n,ae);break;case 4:K_n(n,(J(),Rn)),K_n(n,ae);break;default:QLn(n,(J(),Rn)),QLn(n,ae)}}(f),function ppe(n){switch(n.q.g){case 5:QFn(n,(J(),Xn)),QFn(n,qn);break;case 4:H_n(n,(J(),Xn)),H_n(n,qn);break;default:JLn(n,(J(),Xn)),JLn(n,qn)}}(f),function MEe(n){var e,t,r,i,c,o,f;if(!n.A.dc()){if(n.A.Hc((Zu(),zy))&&(u(ai(n.b,(J(),Rn)),124).k=!0,u(ai(n.b,ae),124).k=!0,e=n.q!=(Tr(),Bh)&&n.q!=Pc,Lq(u(ai(n.b,Xn),124),e),Lq(u(ai(n.b,qn),124),e),Lq(n.g,e),n.A.Hc(gd)&&(u(ai(n.b,Rn),124).j=!0,u(ai(n.b,ae),124).j=!0,u(ai(n.b,Xn),124).k=!0,u(ai(n.b,qn),124).k=!0,n.g.k=!0)),n.A.Hc(Uy))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,f=n.B.Hc((xu(),C9)),c=0,o=(i=pL()).length;c0&&(l=n.n.a/c);break;case 2:case 4:(i=n.i.o.b)>0&&(l=n.n.b/i)}H(n,(G(),N0),l)}if(h=n.o,o=n.a,r)o.a=r.a,o.b=r.b,n.d=!0;else if(e!=Df&&e!=Zl&&f!=Xi)switch(f.g){case 1:o.a=h.a/2;break;case 2:o.a=h.a,o.b=h.b/2;break;case 3:o.a=h.a/2,o.b=h.b;break;case 4:o.b=h.b/2}else o.a=h.a/2,o.b=h.b/2}(l,c,i,u(hn(e,_0),8)),h=new re((!e.n&&(e.n=new V(_i,e,1,7)),e.n));h.e!=h.i.gc();)!on(sn(hn(f=u(oe(h),137),od)))&&f.a&&W(l.f,YF(f));switch(i.g){case 2:case 1:(l.j==(J(),Rn)||l.j==ae)&&r.Fc((ui(),Kg));break;case 4:case 3:(l.j==(J(),Xn)||l.j==qn)&&r.Fc((ui(),Kg))}return l}function XN(n,e,t,r,i,c,o){var f,h,l,d,g,v,p,m,T,A,$,D;for(g=null,r==(zd(),Vl)?g=e:r==Jg&&(g=t),m=g.a.ec().Kc();m.Ob();){for(p=u(m.Pb(),11),T=Gi(S(M(hr,1),q,8,0,[p.i.n,p.n,p.a])).b,D=new sr,f=new sr,l=new gf(p.b);Ki(l.a)||Ki(l.b);)if(on(sn(k(h=u(Ki(l.a)?y(l.a):y(l.b),17),(G(),Pf))))==i&&-1!=Li(c,h,0)){if(A=h.d==p?h.c:h.d,$=Gi(S(M(hr,1),q,8,0,[A.i.n,A.n,A.a])).b,j.Math.abs($-T)<.2)continue;$1)for(Ir(D,new ckn(n,v=new nnn(p,D,r))),o.c[o.c.length]=v,d=D.a.ec().Kc();d.Ob();)Jc(c,u(d.Pb(),46).b);if(f.a.gc()>1)for(Ir(f,new ukn(n,v=new nnn(p,f,r))),o.c[o.c.length]=v,d=f.a.ec().Kc();d.Ob();)Jc(c,u(d.Pb(),46).b)}}function bRn(n){Od(n,new qa(_j(Sd(Td(Md(Cd(new aa,ch),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Lgn),ch))),Z(n,ch,PS,cn(NYn)),Z(n,ch,Wb,cn(xYn)),Z(n,ch,Cg,cn(DYn)),Z(n,ch,gv,cn($Yn)),Z(n,ch,wv,cn(FYn)),Z(n,ch,W3,cn(OYn)),Z(n,ch,um,cn(hfn)),Z(n,ch,X3,cn(LYn)),Z(n,ch,HB,cn(rH)),Z(n,ch,KB,cn(iH)),Z(n,ch,Ltn,cn(lfn)),Z(n,ch,Otn,cn(zP)),Z(n,ch,Dtn,cn(WP)),Z(n,ch,$tn,cn(Sy)),Z(n,ch,Ftn,cn(afn))}function fnn(n){var e;if(this.r=function Khe(n,e){return new VCn(u(ve(n),62),u(ve(e),62))}(new Bln,new _ln),this.b=new C6(u(ve(Qr),290)),this.p=new C6(u(ve(Qr),290)),this.i=new C6(u(ve(Czn),290)),this.e=n,this.o=new mi(n.rf()),this.D=n.Df()||on(sn(n.We((We(),xy)))),this.A=u(n.We((We(),ad)),21),this.B=u(n.We(Ql),21),this.q=u(n.We(g9),98),this.u=u(n.We(mw),21),!function X4e(n){var t;return Su(),!(p7(OT(vt(w1,S(M(hI,1),U,273,0,[na])),n))>1||(t=vt(E9,S(M(hI,1),U,273,0,[j9,Hv])),p7(OT(t,n))>1))}(this.u))throw C(new Dw("Invalid port label placement: "+this.u));if(this.v=on(sn(n.We(Ghn))),this.j=u(n.We(e2),21),!function p9e(n){var e,r;return xb(),!(p7(OT(vt(vs,S(M(fi,1),U,93,0,[xo])),n))>1||(e=vt(Lo,S(M(fi,1),U,93,0,[b1,No])),p7(OT(e,n))>1)||(r=vt(Bo,S(M(fi,1),U,93,0,[xh,so])),p7(OT(r,n))>1))}(this.j))throw C(new Dw("Invalid node label placement: "+this.j));this.n=u(O6(n,Ohn),116),this.k=K(Y(O6(n,oI))),this.d=K(Y(O6(n,Xhn))),this.w=K(Y(O6(n,Zhn))),this.s=K(Y(O6(n,Vhn))),this.t=K(Y(O6(n,Qhn))),this.C=u(O6(n,Jhn),142),this.c=2*this.d,e=!this.B.Hc((xu(),Wy)),this.f=new S6(0,e,0),this.g=new S6(1,e,0),kO(this.f,(Vo(),Nc),this.g)}function WM(n){var e,t,r,i,c,o,f,h,l,a,d;if(null==n)throw C(new Hf(iu));if(l=n,h=!1,(c=n.length)>0&&(Ce(0,n.length),(45==(e=n.charCodeAt(0))||43==e)&&(n=n.substr(1),--c,h=45==e)),0==c)throw C(new Hf(y0+l+'"'));for(;n.length>0&&(Ce(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(t_n(),CUn)[10])throw C(new Hf(y0+l+'"'));for(i=0;i0&&(d=-parseInt(n.substr(0,r),10),n=n.substr(r),c-=r,t=!1);c>=o;){if(r=parseInt(n.substr(0,o),10),n=n.substr(o),c-=o,t)t=!1;else{if(hc(d,f)<0)throw C(new Hf(y0+l+'"'));d=Fr(d,a)}d=Al(d,r)}if(hc(d,0)>0)throw C(new Hf(y0+l+'"'));if(!h&&hc(d=Hp(d),0)<0)throw C(new Hf(y0+l+'"'));return d}function hnn(n,e){var t,r,i,c,o,f,h;if(UEn(),this.a=new nz(this),this.b=n,this.c=e,this.f=i$(ji((vu(),Dr),e)),this.f.dc())if((f=VJ(Dr,n))==e)for(this.e=!0,this.d=new X,this.f=new G2n,this.f.Fc(nd),u(qM(f7(Dr,ss(n)),""),26)==n&&this.f.Fc(z5(Dr,ss(n))),i=MN(Dr,n).Kc();i.Ob();)switch(r=u(i.Pb(),170),Gd(ji(Dr,r))){case 4:this.d.Fc(r);break;case 5:this.f.Gc(i$(ji(Dr,r)))}else if(Zr(),u(e,66).Oj())for(this.e=!0,this.f=null,this.d=new X,o=0,h=(null==n.i&&Qf(n),n.i).length;o=0&&o0&&(u(ai(n.b,e),124).a.b=t)}function lnn(n,e){var t,r,i,c,o,h,l,a,d,g,v,p,m,T,A,$,D;if((g=e.length)>0&&(Ce(0,e.length),64!=(h=e.charCodeAt(0)))){if(37==h&&(l=!1,0!=(d=e.lastIndexOf("%"))&&(d==g-1||(Ce(d+1,e.length),l=46==e.charCodeAt(d+1))))){if(D=Mn("%",o=e.substr(1,d-1))?null:ann(o),r=0,l)try{r=ls(e.substr(d+2),Lr,Ze)}catch(N){throw I(N=jt(N),127)?C(new tC(N)):C(N)}for(T=zV(n.Wg());T.Ob();)if(I(p=OC(T),510)&&($=(i=u(p,590)).d,(null==D?null==$:Mn(D,$))&&0==r--))return i;return null}if(v=-1==(a=e.lastIndexOf("."))?e:e.substr(0,a),t=0,-1!=a)try{t=ls(e.substr(a+1),Lr,Ze)}catch(N){if(!I(N=jt(N),127))throw C(N);v=e}for(v=Mn("%",v)?null:ann(v),m=zV(n.Wg());m.Ob();)if(I(p=OC(m),191)&&(A=(c=u(p,191)).ne(),(null==v?null==A:Mn(v,A))&&0==t--))return c;return null}return __n(n,e)}function gRn(){var n,e,t;for(gRn=F,new a7(1,0),new a7(10,0),new a7(0,0),MUn=L(G_,q,240,11,0,1),rd=L(Hs,Yf,25,100,15,1),tin=S(M(kr,1),wi,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),rin=L(be,Ne,25,tin.length,15,1),iin=S(M(kr,1),wi,25,15,[1,10,100,B1,1e4,Mx,1e6,1e7,1e8,nS,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),cin=L(be,Ne,25,iin.length,15,1),uin=L(G_,q,240,11,0,1),n=0;ni+2&&LF((Ce(i+1,n.length),n.charCodeAt(i+1)),L1n,N1n)&&LF((Ce(i+2,n.length),n.charCodeAt(i+2)),L1n,N1n))if(t=Joe((Ce(i+1,n.length),n.charCodeAt(i+1)),(Ce(i+2,n.length),n.charCodeAt(i+2))),i+=2,r>0?128==(192&t)?e[f++]=t<<24>>24:r=0:t>=128&&(192==(224&t)?(e[f++]=t<<24>>24,r=2):224==(240&t)?(e[f++]=t<<24>>24,r=3):240==(248&t)&&(e[f++]=t<<24>>24,r=4)),r>0){if(f==r){switch(f){case 2:vl(h,((31&e[0])<<6|63&e[1])&Gt);break;case 3:vl(h,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&Gt)}f=0,r=0}}else{for(c=0;c0){if(o+r>n.length)return!1;f=EM(n.substr(0,o+r),e)}else f=EM(n,e);switch(c){case 71:return f=lg(n,o,S(M(tn,1),q,2,6,[rKn,iKn]),e),i.e=f,!0;case 77:return function l7e(n,e,t,r,i){return r<0?((r=lg(n,i,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx]),e))<0&&(r=lg(n,i,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(t.k=r,0))):r>0&&(t.k=r-1,!0)}(n,e,i,f,o);case 76:return function a7e(n,e,t,r,i){return r<0?((r=lg(n,i,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx]),e))<0&&(r=lg(n,i,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(t.k=r,0))):r>0&&(t.k=r-1,!0)}(n,e,i,f,o);case 69:return function r6e(n,e,t,r){var i;return(i=lg(n,t,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx]),e))<0&&(i=lg(n,t,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}(n,e,o,i);case 99:return function i6e(n,e,t,r){var i;return(i=lg(n,t,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx]),e))<0&&(i=lg(n,t,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}(n,e,o,i);case 97:return f=lg(n,o,S(M(tn,1),q,2,6,["AM","PM"]),e),i.b=f,!0;case 121:return function d7e(n,e,t,r,i,c){var o,f,l;if(f=32,r<0){if(e[0]>=n.length||43!=(f=Pr(n,e[0]))&&45!=f||(++e[0],(r=EM(n,e))<0))return!1;45==f&&(r=-r)}return 32==f&&e[0]-t==2&&2==i.b&&(l=(new zj).q.getFullYear()-Ll+Ll-80,c.a=r==(o=l%100),r+=100*(l/100|0)+(r3;)i*=10,--c;n=(n+(i>>1))/i|0}return r.i=n,!0}(f,o,e[0],i);case 104:12==f&&(f=0);case 75:case 72:return!(f<0||(i.f=f,i.g=!1,0));case 107:return!(f<0||(i.f=f,i.g=!0,0));case 109:return!(f<0||(i.j=f,0));case 115:return!(f<0||(i.n=f,0));case 90:if(o=1&&(R-l>0&&p>=0?(nu(d,d.i+N),eu(d,d.j+h*l)):R-l<0&&v>=0&&(nu(d,d.i+N*R),eu(d,d.j+h)));return bi(n,(We(),ad),(Zu(),new Ms(c=u(Go(T9),9),u(yo(c,c.length),9),0))),new fn(z,a)}function TRn(n){var e,t,r,c,o,f,h,l,a,d,g;if(d=At(Ii(u(O((!n.b&&(n.b=new $n(he,n,4,7)),n.b),0),82)))==At(Ii(u(O((!n.c&&(n.c=new $n(he,n,5,8)),n.c),0),82))),f=new $r,(e=u(hn(n,(NC(),s1n)),74))&&e.b>=2){if(0==(!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i)Ad(),t=new gj,me((!n.a&&(n.a=new V(Mt,n,6,6)),n.a),t);else if((!n.a&&(n.a=new V(Mt,n,6,6)),n.a).i>1)for(g=new S2((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));g.e!=g.i.gc();)$6(g);hk(e,u(O((!n.a&&(n.a=new V(Mt,n,6,6)),n.a),0),202))}if(d)for(r=new re((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));r.e!=r.i.gc();)for(l=new re((!(t=u(oe(r),202)).a&&(t.a=new Vt(fo,t,5)),t.a));l.e!=l.i.gc();)h=u(oe(l),469),f.a=j.Math.max(f.a,h.a),f.b=j.Math.max(f.b,h.b);for(o=new re((!n.n&&(n.n=new V(_i,n,1,7)),n.n));o.e!=o.i.gc();)c=u(oe(o),137),(a=u(hn(c,p9),8))&&of(c,a.a,a.b),d&&(f.a=j.Math.max(f.a,c.i+c.g),f.b=j.Math.max(f.b,c.j+c.f));return f}function LTe(n,e,t){var r,i,c,o,f;switch(r=e.i,c=n.i.o,i=n.i.d,f=n.n,o=Gi(S(M(hr,1),q,8,0,[f,n.a])),n.j.g){case 1:Uf(e,(Yc(),Do)),r.d=-i.d-t-r.a,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Wo(e,(Mu(),Oo)),r.c=o.a-K(Y(k(n,qg)))-t-r.b):(Wo(e,(Mu(),oh)),r.c=o.a+K(Y(k(n,qg)))+t);break;case 2:Wo(e,(Mu(),oh)),r.c=c.a+i.c+t,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Uf(e,(Yc(),Do)),r.d=o.b-K(Y(k(n,qg)))-t-r.a):(Uf(e,(Yc(),tf)),r.d=o.b+K(Y(k(n,qg)))+t);break;case 3:Uf(e,(Yc(),tf)),r.d=c.b+i.a+t,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Wo(e,(Mu(),Oo)),r.c=o.a-K(Y(k(n,qg)))-t-r.b):(Wo(e,(Mu(),oh)),r.c=o.a+K(Y(k(n,qg)))+t);break;case 4:Wo(e,(Mu(),Oo)),r.c=-i.b-t-r.b,u(u(un(e.d,0),181).We((G(),Iv)),285)==(hs(),Nh)?(Uf(e,(Yc(),Do)),r.d=o.b-K(Y(k(n,qg)))-t-r.a):(Uf(e,(Yc(),tf)),r.d=o.b+K(Y(k(n,qg)))+t)}}function NTe(n,e,t,r,i,c,o){var f,h,l,a,d,g,v,m,T,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur;for(v=0,Gn=0,h=new E(n);h.av&&(c&&(ma(z,g),ma(ln,Q(l.b-1))),Je=t.b,ur+=g+e,g=0,a=j.Math.max(a,t.b+t.c+se)),nu(f,Je),eu(f,ur),a=j.Math.max(a,Je+se+t.c),g=j.Math.max(g,d),Je+=se+e;if(a=j.Math.max(a,r),(zn=ur+g+t.a)f&&(D=0,N+=o+A,o=0),kke(m,t,D,N),e=j.Math.max(e,D+T.a),o=j.Math.max(o,T.b),D+=T.a+A;return m}function MRn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p;switch(a=new lu,n.a.g){case 3:g=u(k(e.e,(G(),cd)),15),v=u(k(e.j,cd),15),p=u(k(e.f,cd),15),t=u(k(e.e,zg),15),r=u(k(e.j,zg),15),i=u(k(e.f,zg),15),Qt(o=new X,g),v.Jc(new pwn),Qt(o,I(v,152)?q2(u(v,152)):I(v,131)?u(v,131).a:I(v,54)?new Ed(v):new eb(v)),Qt(o,p),Qt(c=new X,t),Qt(c,I(r,152)?q2(u(r,152)):I(r,131)?u(r,131).a:I(r,54)?new Ed(r):new eb(r)),Qt(c,i),H(e.f,cd,o),H(e.f,zg,c),H(e.f,zun,e.f),H(e.e,cd,null),H(e.e,zg,null),H(e.j,cd,null),H(e.j,zg,null);break;case 1:zr(a,e.e.a),Ke(a,e.i.n),zr(a,Oa(e.j.a)),Ke(a,e.a.n),zr(a,e.f.a);break;default:zr(a,e.e.a),zr(a,Oa(e.j.a)),zr(a,e.f.a)}zs(e.f.a),zr(e.f.a,a),Br(e.f,e.e.c),f=u(k(e.e,(nn(),Ci)),74),l=u(k(e.j,Ci),74),h=u(k(e.f,Ci),74),(f||l||h)&&(ZW(d=new lu,h),ZW(d,l),ZW(d,f),H(e.f,Ci,d)),Br(e.j,null),jr(e.j,null),Br(e.e,null),jr(e.e,null),yi(e.a,null),yi(e.i,null),e.g&&MRn(n,e.g)}function SRn(n,e,t){var r,i,c,o,f,h,l,a,d,T,A,$,D,N,R,z,en,ln;return D=n.c[(Ln(0,e.c.length),u(e.c[0],17)).p],en=n.c[(Ln(1,e.c.length),u(e.c[1],17)).p],!(D.a.e.e-D.a.a-(D.b.e.e-D.b.a)==0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)==0||(A=D.b.e.f,!I(A,10))||(T=u(A,10),R=n.i[T.p],z=T.c?Li(T.c.a,T,0):-1,c=Ft,z>0&&(i=u(un(T.c.a,z-1),10),o=n.i[i.p],ln=j.Math.ceil(Kw(n.n,i,T)),c=R.a.e-T.d.d-(o.a.e+i.o.b+i.d.a)-ln),l=Ft,z0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)<0)&&!(D.a.e.e-D.a.a-(D.b.e.e-D.b.a)<0&&en.a.e.e-en.a.a-(en.b.e.e-en.b.a)>0)&&(D.a.e.e+D.b.a>en.b.e.e+en.a.a?c+d>0?N=d:l-r>0&&(N=r):D.a.e.e+D.b.a0?N=f:l-$>0&&(N=$))),R.a.e+=N,R.b&&(R.d.e+=N),1)))}function ARn(n,e,t){var r,i,c,o,f,h,l,a,d,g;if(r=new Ss(e.qf().a,e.qf().b,e.rf().a,e.rf().b),i=new M2,n.c)for(o=new E(e.wf());o.a=2&&(r=u(i.Kc().Pb(),111),t=n.u.Hc((Su(),E9)),c=n.u.Hc(Hv),!r.a&&!t&&(2==i.gc()||c))}(n,e),t=n.u.Hc((Su(),j9)),h=l.Kc();h.Ob();)if((f=u(h.Pb(),111)).c&&!(f.c.d.c.length<=0)){switch(g=f.b.rf(),(d=(a=f.c).i).b=a.e.a+(c=a.n).b+c.c,d.a=a.e.b+(i=a.n).d+i.a,e.g){case 1:f.a?(d.c=(g.a-d.b)/2,Wo(a,(Mu(),Kl))):o||t?(d.c=-d.b-n.s,Wo(a,(Mu(),Oo))):(d.c=g.a+n.s,Wo(a,(Mu(),oh))),d.d=-d.a-n.t,Uf(a,(Yc(),Do));break;case 3:f.a?(d.c=(g.a-d.b)/2,Wo(a,(Mu(),Kl))):o||t?(d.c=-d.b-n.s,Wo(a,(Mu(),Oo))):(d.c=g.a+n.s,Wo(a,(Mu(),oh))),d.d=g.b+n.t,Uf(a,(Yc(),tf));break;case 2:f.a?(r=n.v?d.a:u(un(a.d,0),181).rf().b,d.d=(g.b-r)/2,Uf(a,(Yc(),Hl))):o||t?(d.d=-d.a-n.t,Uf(a,(Yc(),Do))):(d.d=g.b+n.t,Uf(a,(Yc(),tf))),d.c=g.a+n.s,Wo(a,(Mu(),oh));break;case 4:f.a?(r=n.v?d.a:u(un(a.d,0),181).rf().b,d.d=(g.b-r)/2,Uf(a,(Yc(),Hl))):o||t?(d.d=-d.a-n.t,Uf(a,(Yc(),Do))):(d.d=g.b+n.t,Uf(a,(Yc(),tf))),d.c=-d.b-n.s,Wo(a,(Mu(),Oo))}o=!1}}function $l(n,e){var t,r,i,c,o,f,h,l,a,d,v;if(Qe(),0==h5(H4)){for(d=L(sMe,q,117,Fee.length,0,1),o=0;ol&&(r.a+=$yn(L(Hs,Yf,25,-l,15,1))),r.a+="Is",qf(h,ru(32))>=0)for(i=0;i=r.o.b/2}$?(A=u(k(r,(G(),Dv)),15))?g?c=A:(i=u(k(r,Sv),15))?c=A.gc()<=i.gc()?A:i:(c=new X,H(r,Sv,c)):(c=new X,H(r,Dv,c)):(i=u(k(r,(G(),Sv)),15))?d?c=i:(A=u(k(r,Dv),15))?c=i.gc()<=A.gc()?i:A:(c=new X,H(r,Dv,c)):(c=new X,H(r,Sv,c)),c.Fc(n),H(n,(G(),sP),t),e.d==t?(jr(e,null),t.e.c.length+t.g.c.length==0&&Hi(t,null),function $we(n){var e,t;(e=u(k(n,(G(),Au)),10))&&(Jc((t=e.c).a,e),0==t.a.c.length&&Jc(Rr(e).b,t))}(t)):(Br(e,null),t.e.c.length+t.g.c.length==0&&Hi(t,null)),zs(e.a)}function UTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,zn,se,Je,ur;for(le(t,"MinWidth layering",1),v=e.b,en=e.a,ur=u(k(e,(nn(),Rsn)),19).a,f=u(k(e,Ksn),19).a,n.b=K(Y(k(e,$o))),n.d=Ft,N=new E(en);N.a0){for(g=a<100?null:new ul(a),p=new QV(e).g,A=L(be,Ne,25,a,15,1),r=0,N=new Yd(a),i=0;i=0;)if(null!=v?et(v,p[h]):B(v)===B(p[h])){A.length<=r&&vc(A,0,A=L(be,Ne,25,2*A.length,15,1),0,r),A[r++]=i,me(N,p[h]);break n}if(B(v)===B(f))break}}if(l=N,p=N.g,a=r,r>A.length&&vc(A,0,A=L(be,Ne,25,r,15,1),0,r),r>0){for(D=!0,c=0;c=0;)ev(n,A[o]);if(r!=a){for(i=a;--i>=r;)ev(l,i);vc(A,0,A=L(be,Ne,25,r,15,1),0,r)}e=l}}}else for(e=function Cpe(n,e){var t,r,i;if(e.dc())return yp(),yp(),nj;for(t=new Djn(n,e.gc()),i=new re(n);i.e!=i.i.gc();)r=oe(i),e.Hc(r)&&me(t,r);return t}(n,e),i=n.i;--i>=0;)e.Hc(n.g[i])&&(ev(n,i),D=!0);if(D){if(null!=A){for(d=1==(t=e.gc())?t6(n,4,e.Kc().Pb(),null,A[0],m):t6(n,6,e,A,A[0],m),g=t<100?null:new ul(t),i=e.Kc();i.Ob();)g=nW(n,u(v=i.Pb(),72),g);g?(g.Ei(d),g.Fi()):nt(n.e,d)}else{for(g=function Bue(n){return n<100?null:new ul(n)}(e.gc()),i=e.Kc();i.Ob();)g=nW(n,u(v=i.Pb(),72),g);g&&g.Fi()}return!0}return!1}function XTe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,m,T,A,$,D;for((t=new tFn(e)).a||function Oke(n){var e,t,r,i,c;switch(i=u(un(n.a,0),10),e=new i1(n),W(n.a,e),e.o.a=j.Math.max(1,i.o.a),e.o.b=j.Math.max(1,i.o.b),e.n.a=i.n.a,e.n.b=i.n.b,u(k(i,(G(),tc)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return Hi(r=new gc,e),Br(t=new Ud,c=u(un(i.j,0),11)),jr(t,r),ut(Uo(r.n),c.n),ut(Uo(r.a),c.a),e}(e),l=function D7e(n){var e,r,i,c,o,f,h;for(h=new vAn,f=new E(n.a);f.a=f.b.c)&&(f.b=e),(!f.c||e.c<=f.c.c)&&(f.d=f.c,f.c=e),(!f.e||e.d>=f.e.d)&&(f.e=e),(!f.f||e.d<=f.f.d)&&(f.f=e);return r=new rM((r3(),I0)),Q8(n,OWn,new Uu(S(M(iy,1),rn,369,0,[r]))),o=new rM(rw),Q8(n,IWn,new Uu(S(M(iy,1),rn,369,0,[o]))),i=new rM(tw),Q8(n,PWn,new Uu(S(M(iy,1),rn,369,0,[i]))),c=new rM(Lg),Q8(n,AWn,new Uu(S(M(iy,1),rn,369,0,[c]))),bN(r.c,I0),bN(i.c,tw),bN(c.c,Lg),bN(o.c,rw),f.a.c=L(Zn,rn,1,0,5,1),Qt(f.a,r.c),Qt(f.a,Oa(i.c)),Qt(f.a,c.c),Qt(f.a,Oa(o.c)),f}(l)),t}function ORn(n,e,t){var r,i,o,f,h,l,d,p,m;if(null==t.p[e.p]){f=!0,t.p[e.p]=0,o=e,m=t.o==(af(),hd)?Wt:Ft;do{i=n.b.e[o.p],t.o==hd&&i>0||t.o==If&&i(o=qL(n,t))?I3(n,e,t):I3(n,t,e),io?1:0}return(r=u(k(e,(G(),bc)),19).a)>(c=u(k(t,bc),19).a)?I3(n,e,t):I3(n,t,e),rc?1:0}function dnn(n,e,t,r){var i,c,o,h,l,a,d,g,v,p,T,$;if(on(sn(hn(e,(We(),uI)))))return An(),An(),Gr;if(l=0!=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,a=!(d=function N6e(n){var e,t,r;if(on(sn(hn(n,(We(),xy))))){for(r=new X,t=new ie(ue(c1(n).a.Kc(),new Yn));Ae(t);)d0(e=u(pe(t),79))&&on(sn(hn(e,MH)))&&(r.c[r.c.length]=e);return r}return An(),An(),Gr}(e)).dc(),l||a){if(!(i=u(hn(e,F4),149)))throw C(new Dw("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if($=NU(i,(M3(),mI)),x$n(e),!l&&a&&!$)return An(),An(),Gr;if(h=new X,B(hn(e,Zg))===B((e1(),Q1))&&(NU(i,vI)||NU(i,gI)))for(v=mBn(n,e),zr(p=new Ct,(!e.a&&(e.a=new V(It,e,10,11)),e.a));0!=p.b;)x$n(g=u(0==p.b?null:(ne(0!=p.b),Os(p,p.a.a)),33)),B(hn(g,Zg))===B(m9)||Aa(g,w9)&&!QX(i,hn(g,F4))?(Qt(h,dnn(n,g,t,r)),bi(g,Zg,m9),NBn(g)):zr(p,(!g.a&&(g.a=new V(It,g,10,11)),g.a));else for(v=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i,o=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));o.e!=o.i.gc();)Qt(h,dnn(n,c=u(oe(o),33),t,r)),NBn(c);for(T=new E(h);T.a=0?J2(f):$7(J2(f)),n.Ye(M4,v)),l=new $r,g=!1,n.Xe(_0)?(Cz(l,u(n.We(_0),8)),g=!0):function Ece(n,e,t){return n.a=e,n.b=t,n}(l,o.a/2,o.b/2),v.g){case 4:H(a,qc,(Fs(),Ul)),H(a,fP,(Fa(),Rg)),a.o.b=o.b,m<0&&(a.o.a=-m),ir(d,(J(),Xn)),g||(l.a=o.a),l.a-=o.a;break;case 2:H(a,qc,(Fs(),sw)),H(a,fP,(Fa(),p4)),a.o.b=o.b,m<0&&(a.o.a=-m),ir(d,(J(),qn)),g||(l.a=0);break;case 1:H(a,id,(Yh(),Hg)),a.o.a=o.a,m<0&&(a.o.b=-m),ir(d,(J(),ae)),g||(l.b=o.b),l.b-=o.b;break;case 3:H(a,id,(Yh(),Mv)),a.o.a=o.a,m<0&&(a.o.b=-m),ir(d,(J(),Rn)),g||(l.b=0)}if(Cz(d.n,l),H(a,_0,l),e==wd||e==Bh||e==Pc){if(p=0,e==wd&&n.Xe(U1))switch(v.g){case 1:case 2:p=u(n.We(U1),19).a;break;case 3:case 4:p=-u(n.We(U1),19).a}else switch(v.g){case 4:case 2:p=c.b,e==Bh&&(p/=i.b);break;case 1:case 3:p=c.a,e==Bh&&(p/=i.a)}H(a,N0,p)}return H(a,tc,v),a}function tCe(n,e,t,r){var i,c,o,f,h,l,a,d,g,v;for(d=!1,l=n+1,Ln(n,e.c.length),o=(a=u(e.c[n],200)).a,f=null,c=0;cl&&0==(Ln(l,e.c.length),u(e.c[l],200)).a.c.length;)Jc(e,(Ln(l,e.c.length),e.c[l]));if(!h){--c;continue}if(Rke(e,a,i,h,g,t,l,r)){d=!0;continue}if(g){if(Wye(e,a,i,h,t,l,r)){d=!0;continue}if(IQ(a,i)){i.c=!0,d=!0;continue}}else if(IQ(a,i)){i.c=!0,d=!0;continue}if(d)continue}if(IQ(a,i)){i.c=!0,d=!0,h&&(h.k=!1);continue}lM(i.q)}return d}function VN(n,e,t,r,i,c,o){var f,h,l,a,d,g,v,p,m,A,$,D,N,R,z,en,ln,wn,Gn,zn,se,Je,ur;for(m=0,Gn=0,l=new E(n.b);l.am&&(c&&(ma(z,v),ma(ln,Q(a.b-1)),W(n.d,p),f.c=L(Zn,rn,1,0,5,1)),Je=t.b,ur+=v+e,v=0,d=j.Math.max(d,t.b+t.c+se)),f.c[f.c.length]=h,V$n(h,Je,ur),d=j.Math.max(d,Je+se+t.c),v=j.Math.max(v,g),Je+=se+e,p=h;if(Qt(n.a,f),W(n.d,u(un(f,f.c.length-1),157)),d=j.Math.max(d,r),(zn=ur+v+t.a)1&&(o=j.Math.min(o,j.Math.abs(u(Yo(f.a,1),8).b-a.b)))));else for(m=new E(e.j);m.ai&&(c=g.a-i,o=Ze,r.c=L(Zn,rn,1,0,5,1),i=g.a),g.a>=i&&(r.c[r.c.length]=f,f.a.b>1&&(o=j.Math.min(o,j.Math.abs(u(Yo(f.a,f.a.b-2),8).b-g.b)))));if(0!=r.c.length&&c>e.o.a/2&&o>e.o.b/2){for(Hi(v=new gc,e),ir(v,(J(),Rn)),v.n.a=e.o.a/2,Hi(A=new gc,e),ir(A,ae),A.n.a=e.o.a/2,A.n.b=e.o.b,h=new E(r);h.a=l.b?A:v)):(l=u(Qoe(f.a),8),jr(f,(0==f.a.b?df(f.c):u(xE(f.a),8)).b>=l.b?A:v)),(d=u(k(f,(nn(),Ci)),74))&&Ab(d,l,!0);e.n.a=i-e.o.a/2}}function cCe(n,e,t){var r,i,a,g,v,zn,se,Je,ur,ys,wo;if(se=e,a6(zn=NSn(n,DSn(t),se),Xh(se,uh)),Je=u(Qw(n.g,rv(Wh(se,i_))),33),r=null,(g=Wh(se,"sourcePort"))&&(r=rv(g)),ur=u(Qw(n.j,r),118),!Je)throw C(new Kf("An edge must have a source node (edge id: '"+g3(se)+n4));if(ur&&!Wf(lf(ur),Je))throw C(new Kf("The source port of an edge must be a port of the edge's source node (edge id: '"+Xh(se,uh)+n4));if(!zn.b&&(zn.b=new $n(he,zn,4,7)),me(zn.b,ur||Je),ys=u(Qw(n.g,rv(Wh(se,drn))),33),i=null,(v=Wh(se,"targetPort"))&&(i=rv(v)),wo=u(Qw(n.j,i),118),!ys)throw C(new Kf("An edge must have a target node (edge id: '"+g3(se)+n4));if(wo&&!Wf(lf(wo),ys))throw C(new Kf("The target port of an edge must be a port of the edge's target node (edge id: '"+Xh(se,uh)+n4));if(!zn.c&&(zn.c=new $n(he,zn,5,8)),me(zn.c,wo||ys),0==(!zn.b&&(zn.b=new $n(he,zn,4,7)),zn.b).i||0==(!zn.c&&(zn.c=new $n(he,zn,5,8)),zn.c).i)throw a=Xh(se,uh),C(new Kf(Pqn+a+n4));return mM(se,zn),Vme(se,zn),xF(n,se,zn)}function $Rn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn;return d=function oye(n,e){var t,r,i,c,o,f,h,l,a,d,g,v;if(n.dc())return new $r;for(l=0,d=0,i=n.Kc();i.Ob();)r=u(i.Pb(),37),l=j.Math.max(l,(c=r.f).a),d+=c.a*c.b;for(l=j.Math.max(l,j.Math.sqrt(d)*K(Y(k(u(n.Kc().Pb(),37),(nn(),aP))))),g=0,v=0,h=0,t=e,f=n.Kc();f.Ob();)g+(a=(o=u(f.Pb(),37)).f).a>l&&(g=0,v+=h+e,h=0),H6(o,g,v),t=j.Math.max(t,g+a.a),h=j.Math.max(h,a.b),g+=a.a+e;return new fn(t+e,v+h+e)}(Xc(n,(J(),$f)),e),p=sg(Xc(n,_o),e),N=sg(Xc(n,ps),e),ln=aM(Xc(n,oo),e),g=aM(Xc(n,Rs),e),$=sg(Xc(n,Ro),e),m=sg(Xc(n,Iu),e),z=sg(Xc(n,ms),e),R=sg(Xc(n,Ks),e),wn=aM(Xc(n,Gc),e),A=sg(Xc(n,uu),e),D=sg(Xc(n,Ou),e),en=sg(Xc(n,cu),e),Gn=aM(Xc(n,su),e),v=aM(Xc(n,yu),e),T=sg(Xc(n,Ic),e),t=Zw(S(M(kr,1),wi,25,15,[$.a,ln.a,z.a,Gn.a])),r=Zw(S(M(kr,1),wi,25,15,[p.a,d.a,N.a,T.a])),i=A.a,c=Zw(S(M(kr,1),wi,25,15,[m.a,g.a,R.a,v.a])),l=Zw(S(M(kr,1),wi,25,15,[$.b,p.b,m.b,D.b])),h=Zw(S(M(kr,1),wi,25,15,[ln.b,d.b,g.b,T.b])),a=wn.b,f=Zw(S(M(kr,1),wi,25,15,[z.b,N.b,R.b,en.b])),A1(Xc(n,$f),t+i,l+a),A1(Xc(n,Ic),t+i,l+a),A1(Xc(n,_o),t+i,0),A1(Xc(n,ps),t+i,l+a+h),A1(Xc(n,oo),0,l+a),A1(Xc(n,Rs),t+i+r,l+a),A1(Xc(n,Iu),t+i+r,0),A1(Xc(n,ms),0,l+a+h),A1(Xc(n,Ks),t+i+r,l+a+h),A1(Xc(n,Gc),0,l),A1(Xc(n,uu),t,0),A1(Xc(n,cu),0,l+a+h),A1(Xc(n,yu),t+i+r,0),(o=new $r).a=Zw(S(M(kr,1),wi,25,15,[t+r+i+c,wn.a,D.a,en.a])),o.b=Zw(S(M(kr,1),wi,25,15,[l+h+a+f,A.b,Gn.b,v.b])),o}function sCe(n,e,t){var i,c,o,f,l,a,d;if(le(t,"Network simplex node placement",1),n.e=e,n.n=u(k(e,(G(),Ug)),304),function Tje(n){var e,r,i,o,f,h,l,a,d,g,v,p;for(n.f=new lO,l=0,i=0,o=new E(n.e.b);o.a=l.c.c.length?(Vn(),nr):(Vn(),br),br),t.a.g=j.Math.max(c=t.a.g,c+((a*=2)-c)),t.b.g=j.Math.max(o=t.b.g,o+(a-o)),i=e}}(n),ce(o)),_ve(n.f),c=u(k(e,Jm),19).a*n.f.a.c.length,SN(HG(qG(BD(n.f),c),!1),jc(t,1)),0!=n.d.a.gc()){for(le(o=jc(t,1),"Flexible Where Space Processing",1),f=u(xd(fT(Vc(new Dn(null,new Fn(n.f.a,16)),new Nwn),new Pwn)),19).a,l=u(xd(oT(Vc(new Dn(null,new Fn(n.f.a,16)),new xwn),new Iwn)),19).a-f,a=Nd(new va,n.f),d=Nd(new va,n.f),Po(mo(po(vo(ko(new qs,2e4),l),a),d)),Bt(gt(gt(c$(n.i),new Bwn),new _wn),new ECn(f,a,l,d)),i=n.d.a.ec().Kc();i.Ob();)u(i.Pb(),213).g=1;SN(HG(qG(BD(n.f),c),!1),jc(o,1)),ce(o)}on(sn(k(e,Xm)))&&(le(o=jc(t,1),"Straight Edges Post-Processing",1),function X5e(n){var e,t,r;for(zr(t=new Ct,n.o),r=new TG;0!=t.b;)SRn(n,e=u(0==t.b?null:(ne(0!=t.b),Os(t,t.a.a)),508),!0)&&W(r.a,e);for(;0!=r.a.c.length;)SRn(n,e=u(kDn(r),508),!1)}(n),ce(o)),function SEe(n){var e,r,i,c,o,f,h,l,a,g,v,p,m,T,A;for(r=new E(n.e.b);r.a0)if(r=d.gc(),l=Ht(j.Math.floor((r+1)/2))-1,i=Ht(j.Math.ceil((r+1)/2))-1,e.o==If)for(a=i;a>=l;a--)e.a[N.p]==N&&(m=u(d.Xb(a),46),p=u(m.a,10),!Hh(t,m.b)&&v>n.b.e[p.p]&&(e.a[p.p]=N,e.g[N.p]=e.g[p.p],e.a[N.p]=e.g[N.p],e.f[e.g[N.p].p]=(Hn(),!!(on(e.f[e.g[N.p].p])&N.k==(Vn(),br))),v=n.b.e[p.p]));else for(a=l;a<=i;a++)e.a[N.p]==N&&(A=u(d.Xb(a),46),T=u(A.a,10),!Hh(t,A.b)&&v=48&&e<=57))throw C(new Ee(Pe((je(),rGn))));for(r=e-48;i=48&&e<=57;)if((r=10*r+e-48)<0)throw C(new Ee(Pe((je(),mrn))));if(t=r,44==e){if(i>=n.j)throw C(new Ee(Pe((je(),cGn))));if((e=Pr(n.i,i++))>=48&&e<=57){for(t=e-48;i=48&&e<=57;)if((t=10*t+e-48)<0)throw C(new Ee(Pe((je(),mrn))));if(r>t)throw C(new Ee(Pe((je(),uGn))))}else t=-1}if(125!=e)throw C(new Ee(Pe((je(),iGn))));n.sl(i)?(Qe(),Qe(),c=new pb(9,c),n.d=i+1):(Qe(),Qe(),c=new pb(3,c),n.d=i),c.dm(r),c.cm(t),Ve(n)}}return c}function FRn(n,e,t,r,i){var c,o,f,h,l,a,d,g,p,m,T,A,D,N,R,z,en,ln,wn,Gn,zn;for(m=new Oc(e.b),N=new Oc(e.b),g=new Oc(e.b),ln=new Oc(e.b),T=new Oc(e.b),en=Re(e,0);en.b!=en.d.c;)for(f=new E((R=u(_e(en),11)).g);f.a0,(l=R.e.c.length>0)&&A?g.c[g.c.length]=R:l?m.c[m.c.length]=R:A&&(N.c[N.c.length]=R);for(p=new E(m);p.a1)for(p=new S2((!n.a&&(n.a=new V(Mt,n,6,6)),n.a));p.e!=p.i.gc();)$6(p);for(T=Je,Je>R+N?T=R+N:Jez+m?A=z+m:urR-N&&Tz-m&&AJe+se?ln=Je+se:Rur+en?wn=ur+en:zJe-se&&lnur-en&&wnt&&(g=t-1),(v=uj+Nu(e,24)*Ck*d-d/2)<0?v=1:v>r&&(v=r-1),Ad(),dC(i=new wj,g),bC(i,v),me((!o.a&&(o.a=new Vt(fo,o,5)),o.a),i)}function nn(){nn=F,We(),kK=ene,eon=tne,py=zhn,$o=rne,Lv=Whn,R0=ine,ww=Xhn,A4=Vhn,P4=Qhn,yK=oI,K0=bd,jK=cne,Qm=Zhn,CP=Rv,vnn(),vy=JVn,Wg=YVn,fd=ZVn,Xg=nQn,xQn=new ni(sI,Q(0)),S4=XVn,non=VVn,Fv=QVn,fon=jQn,ton=rQn,ron=uQn,TK=dQn,ion=fQn,con=lQn,MP=MQn,CK=EQn,son=pQn,uon=gQn,oon=kQn,B0=HVn,Vm=qVn,wK=uVn,Dsn=oVn,Vsn=new Fd(12),Xsn=new ni(dd,Vsn),r1(),l1=new ni(jhn,Psn=x4),aw=new ni(Ru,0),BQn=new ni($H,Q(1)),aP=new ni(Bv,z3),od=uI,Nt=g9,M4=r2,IQn=Ny,hh=zZn,hw=Zg,_Qn=new ni(FH,(Hn(),!0)),lw=xy,ud=MH,sd=ad,TP=Ql,mK=cI,ci(),gs=new ni(q0,Asn=Lh),x0=e2,jP=Ohn,dw=mw,NQn=DH,Ysn=Ghn,ig(),new ni(_hn,Jsn=qy),$Qn=AH,FQn=PH,LQn=IH,DQn=SH,EK=tQn,qsn=IVn,vK=PVn,Jm=eQn,qc=jVn,fw=YXn,Wm=JXn,ow=BXn,Csn=_Xn,lK=qXn,gy=RXn,aK=VXn,Gsn=OVn,Usn=DVn,Bsn=gVn,EP=zVn,pK=LVn,gK=lVn,Wsn=RVn,Osn=iVn,bK=cVn,hK=rI,zsn=$Vn,bP=OXn,jsn=IXn,dP=PXn,Lsn=bVn,Fsn=dVn,Nsn=wVn,T4=t2,Ci=n2,G1=Thn,lh=CH,dK=TH,Msn=UXn,U1=OH,zm=VZn,mP=QZn,_0=Khn,Qsn=JZn,C4=YZn,Rsn=TVn,Ksn=MVn,bw=_v,oK=AXn,Hsn=AVn,pP=eVn,vP=nVn,yP=By,_sn=mVn,Xm=xVn,my=Jhn,Ssn=ZXn,Zsn=WVn,Isn=tVn,OQn=yVn,PQn=WXn,xsn=Ahn,kP=EVn,gP=XXn,zl=xXn,Tsn=LXn,wP=$Xn,Esn=FXn,fK=NXn,$v=DXn,$sn=aVn}function JN(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z,en,ln,wn,Gn,se,Je;if(xN(),p=n.d,i=n.a,0==(ln=n.e))switch(e){case 0:return"0";case 1:return K3;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(z=new cl).a+=e<0?"0E+":"0E",z.a+=-e,z.a}if(N=L(Hs,Yf,25,1+(D=10*p+1+7),15,1),t=D,1==p)if((f=i[0])<0){Je=rr(f,si);do{m=Je,Je=U7(Je,10),N[--t]=48+ge(Al(m,Fr(Je,10)))&Gt}while(0!=hc(Je,0))}else{Je=f;do{N[--t]=(m=Je)-10*(Je=Je/10|0)+48&Gt}while(0!=Je)}else{vc(i,0,Gn=L(be,Ne,25,p,15,1),0,se=p);n:for(;;){for(en=0,l=se-1;l>=0;l--)A=m4e(_r(Uh(en,32),rr(Gn[l],si))),Gn[l]=ge(A),en=ge(wl(A,32));$=ge(en),T=t;do{N[--t]=48+$%10&Gt}while(0!=($=$/10|0)&&0!=t);for(r=9-T+t,h=0;h0;h++)N[--t]=48;for(d=se-1;0==Gn[d];d--)if(0==d)break n;se=d+1}for(;48==N[t];)++t}if(v=ln<0,o=D-t-e-1,0==e)return v&&(N[--t]=45),Xs(N,t,D-t);if(e>0&&o>=-6){if(o>=0){for(a=t+o,g=D-1;g>=a;g--)N[g+1]=N[g];return N[++a]=46,v&&(N[--t]=45),Xs(N,t,D-t+1)}for(d=2;d<1-o;d++)N[--t]=48;return N[--t]=46,N[--t]=48,v&&(N[--t]=45),Xs(N,t,D-t)}return wn=t+1,c=D,R=new nb,v&&(R.a+="-"),c-wn>=1?(vl(R,N[t]),R.a+=".",R.a+=Xs(N,t+1,D-t-1)):R.a+=Xs(N,t,D-t),R.a+="E",o>0&&(R.a+="+"),R.a+=""+o,R.a}function xRn(n,e){var i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D,N,R,z;switch(n.c=e,n.g=new we,tb(),JQ(new Ej(new Y0(n.c))),D=Te(hn(n.c,(W7(),Ufn))),h=u(hn(n.c,wH),316),R=u(hn(n.c,gH),429),o=u(hn(n.c,Hfn),482),N=u(hn(n.c,bH),430),n.j=K(Y(hn(n.c,wZn))),f=n.a,h.g){case 0:f=n.a;break;case 1:f=n.b;break;case 2:f=n.i;break;case 3:f=n.e;break;case 4:f=n.f;break;default:throw C(new Kn(LS+(null!=h.f?h.f:""+h.g)))}if(n.d=new sMn(f,R,o),H(n.d,(Zp(),$m),sn(hn(n.c,dZn))),n.d.c=on(sn(hn(n.c,qfn))),0==TT(n.c).i)return n.d;for(d=new re(TT(n.c));d.e!=d.i.gc();){for(z=new fn((a=u(oe(d),33)).i+(v=a.g/2),a.j+(g=a.f/2));Vu(n.g,z);)sb(z,(j.Math.random()-.5)*eh,(j.Math.random()-.5)*eh);m=u(hn(a,(We(),By)),142),T=new TMn(z,new Ss(z.a-v-n.j/2-m.b,z.b-g-n.j/2-m.d,a.g+n.j+(m.b+m.c),a.f+n.j+(m.d+m.a))),W(n.d.i,T),tt(n.g,z,new Mr(T,a))}switch(N.g){case 0:if(null==D)n.d.d=u(un(n.d.i,0),65);else for($=new E(n.d.i);$.a<$.c.c.length;)T=u(y($),65),null!=(p=u(u(te(n.g,T.a),46).b,33).zg())&&Mn(p,D)&&(n.d.d=T);break;case 1:for((i=new fn(n.c.g,n.c.f)).a*=.5,i.b*=.5,sb(i,n.c.i,n.c.j),c=Ft,A=new E(n.d.i);A.a1&&Rt(a,A,a.c.b,a.c),fC(i)));A=$}return a}function _Rn(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A;for(r=new X,f=new X,T=e/2,v=n.gc(),i=u(n.Xb(0),8),A=u(n.Xb(1),8),W(r,(Ln(0,(p=lN(i.a,i.b,A.a,A.b,T)).c.length),u(p.c[0],8))),W(f,(Ln(1,p.c.length),u(p.c[1],8))),l=2;l=0;h--)Ke(t,(Ln(h,o.c.length),u(o.c[h],8)));return t}function Ve(n){var e,t,r;if(n.d>=n.j)return n.a=-1,void(n.c=1);if(e=Pr(n.i,n.d++),n.a=e,1!=n.b){switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,n.d>=n.j||63!=Pr(n.i,n.d))break;if(++n.d>=n.j)throw C(new Ee(Pe((je(),w_))));switch(e=Pr(n.i,n.d++)){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(n.d>=n.j)throw C(new Ee(Pe((je(),w_))));if(61==(e=Pr(n.i,n.d++)))r=16;else{if(33!=e)throw C(new Ee(Pe((je(),_qn))));r=17}break;case 35:for(;n.d=n.j)throw C(new Ee(Pe((je(),HS))));n.a=Pr(n.i,n.d++);break;default:r=0}n.c=r}else{switch(e){case 92:if(r=10,n.d>=n.j)throw C(new Ee(Pe((je(),HS))));n.a=Pr(n.i,n.d++);break;case 45:512==(512&n.e)&&n.d=R||!_2e(A,r))&&(r=FMn(e,a)),yi(A,r),c=new ie(ue(Ni(A).a.Kc(),new Yn));Ae(c);)i=u(pe(c),17),!n.a[i.p]&&(--n.e[(m=i.c.i).p],0==n.e[m.p]&&_p(j3(v,m)));for(l=a.c.length-1;l>=0;--l)W(e.b,(Ln(l,a.c.length),u(a.c[l],29)));e.a.c=L(Zn,rn,1,0,5,1),ce(t)}else ce(t)}function RRn(n){var e,t,r,i,o,f,h,l;for(n.b=1,Ve(n),e=null,0==n.c&&94==n.a?(Ve(n),Qe(),Qe(),Ec(e=new cs(4),0,t4),f=new cs(4)):(Qe(),Qe(),f=new cs(4)),i=!0;1!=(l=n.c);){if(0==l&&93==n.a&&!i){e&&(Q6(e,f),f=e);break}if(t=n.a,r=!1,10==l)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:Hb(f,O3(t)),r=!0;break;case 105:case 73:case 99:case 67:Hb(f,O3(t)),(t=-1)<0&&(r=!0);break;case 112:case 80:if(!(h=UY(n,t)))throw C(new Ee(Pe((je(),g_))));Hb(f,h),r=!0;break;default:t=CZ(n)}else if(24==l&&!i){if(e&&(Q6(e,f),f=e),Q6(f,RRn(n)),0!=n.c||93!=n.a)throw C(new Ee(Pe((je(),Vqn))));break}if(Ve(n),!r){if(0==l){if(91==t)throw C(new Ee(Pe((je(),vrn))));if(93==t)throw C(new Ee(Pe((je(),prn))));if(45==t&&!i&&93!=n.a)throw C(new Ee(Pe((je(),v_))))}if(0!=n.c||45!=n.a||45==t&&i)Ec(f,t,t);else{if(Ve(n),1==(l=n.c))throw C(new Ee(Pe((je(),qS))));if(0==l&&93==n.a)Ec(f,t,t),Ec(f,45,45);else{if(0==l&&93==n.a||24==l)throw C(new Ee(Pe((je(),v_))));if(o=n.a,0==l){if(91==o)throw C(new Ee(Pe((je(),vrn))));if(93==o)throw C(new Ee(Pe((je(),prn))));if(45==o)throw C(new Ee(Pe((je(),v_))))}else 10==l&&(o=CZ(n));if(Ve(n),t>o)throw C(new Ee(Pe((je(),Yqn))));Ec(f,t,o)}}}i=!1}if(1==n.c)throw C(new Ee(Pe((je(),qS))));return ag(f),X6(f),n.b=0,Ve(n),f}function KRn(){KRn=F,QN(),Cn(xe=new Wd,(J(),_o),$f),Cn(xe,oo,$f),Cn(xe,Iu,$f),Cn(xe,Ro,$f),Cn(xe,su,$f),Cn(xe,Ou,$f),Cn(xe,Ro,_o),Cn(xe,$f,Rs),Cn(xe,_o,Rs),Cn(xe,oo,Rs),Cn(xe,Iu,Rs),Cn(xe,uu,Rs),Cn(xe,Ro,Rs),Cn(xe,su,Rs),Cn(xe,Ou,Rs),Cn(xe,Gc,Rs),Cn(xe,$f,ps),Cn(xe,_o,ps),Cn(xe,Rs,ps),Cn(xe,oo,ps),Cn(xe,Iu,ps),Cn(xe,uu,ps),Cn(xe,Ro,ps),Cn(xe,Gc,ps),Cn(xe,ms,ps),Cn(xe,su,ps),Cn(xe,yu,ps),Cn(xe,Ou,ps),Cn(xe,_o,oo),Cn(xe,Iu,oo),Cn(xe,Ro,oo),Cn(xe,Ou,oo),Cn(xe,_o,Iu),Cn(xe,oo,Iu),Cn(xe,Ro,Iu),Cn(xe,Iu,Iu),Cn(xe,su,Iu),Cn(xe,$f,Ks),Cn(xe,_o,Ks),Cn(xe,Rs,Ks),Cn(xe,ps,Ks),Cn(xe,oo,Ks),Cn(xe,Iu,Ks),Cn(xe,uu,Ks),Cn(xe,Ro,Ks),Cn(xe,ms,Ks),Cn(xe,Gc,Ks),Cn(xe,Ou,Ks),Cn(xe,su,Ks),Cn(xe,Ic,Ks),Cn(xe,$f,ms),Cn(xe,_o,ms),Cn(xe,Rs,ms),Cn(xe,oo,ms),Cn(xe,Iu,ms),Cn(xe,uu,ms),Cn(xe,Ro,ms),Cn(xe,Gc,ms),Cn(xe,Ou,ms),Cn(xe,yu,ms),Cn(xe,Ic,ms),Cn(xe,_o,Gc),Cn(xe,oo,Gc),Cn(xe,Iu,Gc),Cn(xe,Ro,Gc),Cn(xe,ms,Gc),Cn(xe,Ou,Gc),Cn(xe,su,Gc),Cn(xe,$f,cu),Cn(xe,_o,cu),Cn(xe,Rs,cu),Cn(xe,oo,cu),Cn(xe,Iu,cu),Cn(xe,uu,cu),Cn(xe,Ro,cu),Cn(xe,Gc,cu),Cn(xe,Ou,cu),Cn(xe,_o,su),Cn(xe,Rs,su),Cn(xe,ps,su),Cn(xe,Iu,su),Cn(xe,$f,yu),Cn(xe,_o,yu),Cn(xe,ps,yu),Cn(xe,oo,yu),Cn(xe,Iu,yu),Cn(xe,uu,yu),Cn(xe,Ro,yu),Cn(xe,Ro,Ic),Cn(xe,Iu,Ic),Cn(xe,Gc,$f),Cn(xe,Gc,oo),Cn(xe,Gc,Rs),Cn(xe,uu,$f),Cn(xe,uu,_o),Cn(xe,uu,ps)}function XM(n,e){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new HCn(n.b,n.a,e,n.c);case 1:return new OE(n.a,e,yt(e.Tg(),n.c));case 43:return new Byn(n.a,e,yt(e.Tg(),n.c));case 3:return new Vt(n.a,e,yt(e.Tg(),n.c));case 45:return new au(n.a,e,yt(e.Tg(),n.c));case 41:return new Ju(u(Vs(n.c),26),n.a,e,yt(e.Tg(),n.c));case 50:return new KIn(u(Vs(n.c),26),n.a,e,yt(e.Tg(),n.c));case 5:return new Wz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 47:return new Vjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 7:return new V(n.a,e,yt(e.Tg(),n.c),n.d.n);case 49:return new P2(n.a,e,yt(e.Tg(),n.c),n.d.n);case 9:return new Ryn(n.a,e,yt(e.Tg(),n.c));case 11:return new _yn(n.a,e,yt(e.Tg(),n.c));case 13:return new cz(n.a,e,yt(e.Tg(),n.c));case 15:return new WE(n.a,e,yt(e.Tg(),n.c));case 17:return new Kyn(n.a,e,yt(e.Tg(),n.c));case 19:return new Hw(n.a,e,yt(e.Tg(),n.c));case 21:return new iz(n.a,e,yt(e.Tg(),n.c));case 23:return new x8(n.a,e,yt(e.Tg(),n.c));case 25:return new Yjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 27:return new $n(n.a,e,yt(e.Tg(),n.c),n.d.n);case 29:return new Jjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 31:return new Qjn(n.a,e,yt(e.Tg(),n.c),n.d.n);case 33:return new Vz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 35:return new Xz(n.a,e,yt(e.Tg(),n.c),n.d.n);case 37:return new OD(n.a,e,yt(e.Tg(),n.c),n.d.n);case 39:return new aT(n.a,e,yt(e.Tg(),n.c),n.d.n);case 40:return new $t(e,yt(e.Tg(),n.c));default:throw C(new Ri("Unknown feature style: "+n.e))}}function jCe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,m,T,A,$,D,N,R,z;switch(le(t,"Brandes & Koepf node placement",1),n.a=e,n.c=wye(e),r=u(k(e,(nn(),pK)),274),v=on(sn(k(e,Xm))),n.d=r==(z7(),rP)&&!v||r==XR,function nEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,D;if(!((m=e.b.c.length)<3)){for(v=L(be,Ne,25,m,15,1),d=0,a=new E(e.b);a.ao)&&tr(n.b,u(T.b,17));++f}c=o}}}(n,e),R=null,z=null,A=null,$=null,os(4,Gb),T=new Oc(4),u(k(e,pK),274).g){case 3:A=new vg(e,n.c.d,(af(),hd),(Xf(),z1)),T.c[T.c.length]=A;break;case 1:$=new vg(e,n.c.d,(af(),If),(Xf(),z1)),T.c[T.c.length]=$;break;case 4:R=new vg(e,n.c.d,(af(),hd),(Xf(),H0)),T.c[T.c.length]=R;break;case 2:z=new vg(e,n.c.d,(af(),If),(Xf(),H0)),T.c[T.c.length]=z;break;default:A=new vg(e,n.c.d,(af(),hd),(Xf(),z1)),$=new vg(e,n.c.d,If,z1),R=new vg(e,n.c.d,hd,H0),z=new vg(e,n.c.d,If,H0),T.c[T.c.length]=R,T.c[T.c.length]=z,T.c[T.c.length]=A,T.c[T.c.length]=$}for(i=new rkn(e,n.c),f=new E(T);f.aln[h]&&(T=h),d=new E(n.a.b);d.aaN(c))&&(d=c);for(!d&&(Ln(0,T.c.length),d=u(T.c[0],180)),m=new E(e.b);m.a=-1900?1:0,De(n,t>=4?S(M(tn,1),q,2,6,[rKn,iKn])[f]:S(M(tn,1),q,2,6,["BC","AD"])[f]);break;case 121:!function wve(n,e,t){var r;switch((r=t.q.getFullYear()-Ll+Ll)<0&&(r=-r),e){case 1:n.a+=r;break;case 2:Eh(n,r%100,2);break;default:Eh(n,r,e)}}(n,t,r);break;case 77:!function mke(n,e,t){var r;switch(r=t.q.getMonth(),e){case 5:De(n,S(M(tn,1),q,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:De(n,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx])[r]);break;case 3:De(n,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:Eh(n,r+1,e)}}(n,t,r);break;case 107:Eh(n,0==(h=i.q.getHours())?24:h,t);break;case 83:!function R9e(n,e,t){var r,i;hc(r=tu(t.q.getTime()),0)<0?(i=B1-ge(N7(Hp(r),B1)))==B1&&(i=0):i=ge(N7(r,B1)),1==e?vl(n,48+(i=j.Math.min((i+50)/100|0,9))&Gt):2==e?Eh(n,i=j.Math.min((i+5)/10|0,99),2):(Eh(n,i,3),e>3&&Eh(n,0,e-3))}(n,t,i);break;case 69:a=r.q.getDay(),De(n,5==t?S(M(tn,1),q,2,6,["S","M","T","W","T","F","S"])[a]:4==t?S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx])[a]:S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[a]);break;case 97:i.q.getHours()>=12&&i.q.getHours()<24?De(n,S(M(tn,1),q,2,6,["AM","PM"])[1]):De(n,S(M(tn,1),q,2,6,["AM","PM"])[0]);break;case 104:Eh(n,0==(d=i.q.getHours()%12)?12:d,t);break;case 75:Eh(n,i.q.getHours()%12,t);break;case 72:Eh(n,i.q.getHours(),t);break;case 99:p=r.q.getDay(),5==t?De(n,S(M(tn,1),q,2,6,["S","M","T","W","T","F","S"])[p]):4==t?De(n,S(M(tn,1),q,2,6,[gx,vx,px,mx,kx,yx,jx])[p]):3==t?De(n,S(M(tn,1),q,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[p]):Eh(n,p,1);break;case 76:m=r.q.getMonth(),5==t?De(n,S(M(tn,1),q,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[m]):4==t?De(n,S(M(tn,1),q,2,6,[cx,ux,sx,ox,ov,fx,hx,lx,ax,dx,bx,wx])[m]):3==t?De(n,S(M(tn,1),q,2,6,["Jan","Feb","Mar","Apr",ov,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[m]):Eh(n,m+1,t);break;case 81:T=r.q.getMonth()/3|0,De(n,t<4?S(M(tn,1),q,2,6,["Q1","Q2","Q3","Q4"])[T]:S(M(tn,1),q,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[T]);break;case 100:Eh(n,r.q.getDate(),t);break;case 109:Eh(n,i.q.getMinutes(),t);break;case 115:Eh(n,i.q.getSeconds(),t);break;case 122:De(n,t<4?c.c[0]:c.c[1]);break;case 118:De(n,c.b);break;case 90:De(n,t<3?function P6e(n){var e,t;return t=-n.a,e=S(M(Hs,1),Yf,25,15,[43,48,48,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&Gt,e[2]=e[2]+(t/60|0)%10&Gt,e[3]=e[3]+(t%60/10|0)&Gt,e[4]=e[4]+t%10&Gt,Xs(e,0,e.length)}(c):3==t?function D6e(n){var e,t;return t=-n.a,e=S(M(Hs,1),Yf,25,15,[43,48,48,58,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&Gt,e[2]=e[2]+(t/60|0)%10&Gt,e[4]=e[4]+(t%60/10|0)&Gt,e[5]=e[5]+t%10&Gt,Xs(e,0,e.length)}(c):function $6e(n){var e;return e=S(M(Hs,1),Yf,25,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(e[3]=43,n=-n),e[4]=e[4]+((n/60|0)/10|0)&Gt,e[5]=e[5]+(n/60|0)%10&Gt,e[7]=e[7]+(n%60/10|0)&Gt,e[8]=e[8]+n%10&Gt,Xs(e,0,e.length)}(c.a));break;default:return!1}return!0}function gnn(n,e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T,A,$,N,R,z,en,ln,wn,Gn,zn,se,Je;if(SBn(e),h=u(O((!e.b&&(e.b=new $n(he,e,4,7)),e.b),0),82),a=u(O((!e.c&&(e.c=new $n(he,e,5,8)),e.c),0),82),f=Ii(h),l=Ii(a),o=0==(!e.a&&(e.a=new V(Mt,e,6,6)),e.a).i?null:u(O((!e.a&&(e.a=new V(Mt,e,6,6)),e.a),0),202),en=u(te(n.a,f),10),zn=u(te(n.a,l),10),ln=null,se=null,I(h,186)&&(I(z=u(te(n.a,h),299),11)?ln=u(z,11):I(z,10)&&(en=u(z,10),ln=u(un(en.j,0),11))),I(a,186)&&(I(Gn=u(te(n.a,a),299),11)?se=u(Gn,11):I(Gn,10)&&(zn=u(Gn,10),se=u(un(zn.j,0),11))),!en||!zn)throw C(new u5("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(Pi(m=new Ud,e),H(m,(G(),rt),e),H(m,(nn(),Ci),null),v=u(k(r,Ac),21),en==zn&&v.Fc((ui(),Hm)),ln||(ii(),R=xc,wn=null,o&&_w(u(k(en,Nt),98))&&(xSn(wn=new fn(o.j,o.k),W8(e)),dAn(wn,t),Eb(l,f)&&(R=Pu,ut(wn,en.n))),ln=C_n(en,wn,R,r)),se||(ii(),R=Pu,Je=null,o&&_w(u(k(zn,Nt),98))&&(xSn(Je=new fn(o.b,o.c),W8(e)),dAn(Je,t)),se=C_n(zn,Je,R,Rr(zn))),Br(m,ln),jr(m,se),(ln.e.c.length>1||ln.g.c.length>1||se.e.c.length>1||se.g.c.length>1)&&v.Fc((ui(),Km)),g=new re((!e.n&&(e.n=new V(_i,e,1,7)),e.n));g.e!=g.i.gc();)if(!on(sn(hn(d=u(oe(g),137),od)))&&d.a)switch(T=YF(d),W(m.b,T),u(k(T,lh),272).g){case 1:case 2:v.Fc((ui(),k4));break;case 0:v.Fc((ui(),m4)),H(T,lh,(vf(),L4))}if(c=u(k(r,Wm),314),A=u(k(r,EP),315),i=c==(W2(),oy)||A==(I6(),OK),o&&0!=(!o.a&&(o.a=new Vt(fo,o,5)),o.a).i&&i){for($=V7(o),p=new lu,N=Re($,0);N.b!=N.d.c;)Ke(p,new mi(u(_e(N),8)));H(m,Kun,p)}return m}function We(){var n,e;We=F,w9=new at(zHn),F4=new at(WHn),Th(),zZn=new Pn(itn,vhn=mH),new J9,Bv=new Pn(bv,null),WZn=new at(Ytn),$b(),mhn=vt(jH,S(M(EH,1),U,291,0,[yH])),rI=new Pn(AS,mhn),Ny=new Pn(Bk,(Hn(),!1)),ci(),q0=new Pn(stn,khn=Lh),r1(),jhn=new Pn(Nk,Ehn=LH),Mhn=new Pn(FS,!1),e1(),Zg=new Pn(SS,Shn=fI),xhn=new Fd(12),dd=new Pn(j0,xhn),iI=new Pn(Ik,!1),Ahn=new Pn(FB,!1),_y=new Pn(um,!1),Tr(),g9=new Pn(Zx,Hhn=Zl),_v=new at(PS),sI=new at(Pk),$H=new at(fS),FH=new at(cm),Phn=new lu,n2=new Pn(gtn,Phn),VZn=new Pn(mtn,!1),QZn=new Pn(ktn,!1),new at(XHn),Ihn=new n5,By=new Pn(jtn,Ihn),uI=new Pn(ttn,!1),new J9,nne=new Pn(VHn,1),new Pn(QHn,!0),Q(0),new Pn(JHn,Q(100)),new Pn(YHn,!1),Q(0),new Pn(ZHn,Q(4e3)),Q(0),new Pn(nqn,Q(400)),new Pn(eqn,!1),new Pn(tqn,!1),new Pn(rqn,!0),new Pn(iqn,!1),XC(),XZn=new Pn(Jtn,phn=_H),ene=new Pn(Gen,10),tne=new Pn(Uen,10),zhn=new Pn(Wx,20),rne=new Pn(zen,10),Whn=new Pn(Yx,2),ine=new Pn(Wen,10),Xhn=new Pn(Xen,0),oI=new Pn(Jen,5),Vhn=new Pn(Ven,1),Qhn=new Pn(Qen,1),bd=new Pn(Wb,20),cne=new Pn(Yen,10),Zhn=new Pn(Zen,10),Rv=new at(ntn),Yhn=new fyn,Jhn=new Pn(Etn,Yhn),YZn=new at($B),JZn=new Pn(DB,Bhn=!1),Dhn=new Fd(5),Ohn=new Pn(otn,Dhn),xb(),e=u(Go(fi),9),$hn=new Ms(e,u(yo(e,e.length),9),0),e2=new Pn(W3,$hn),ig(),_hn=new Pn(ltn,Rhn=Yl),AH=new at(atn),PH=new at(dtn),IH=new at(btn),SH=new at(wtn),n=u(Go(T9),9),Fhn=new Ms(n,u(yo(n,n.length),9),0),ad=new Pn(Cg,Fhn),Nhn=Tn((xu(),_4)),Ql=new Pn(wv,Nhn),Lhn=new fn(0,0),t2=new Pn(gv,Lhn),cI=new Pn(OB,!1),vf(),CH=new Pn(vtn,yhn=L4),TH=new Pn(hS,!1),new at(cqn),Q(1),new Pn(uqn,null),Khn=new at(ytn),OH=new at(ptn),J(),r2=new Pn(rtn,Uhn=Xi),Ru=new at(etn),Su(),qhn=Tn(na),mw=new Pn(X3,qhn),DH=new Pn(ftn,!1),Ghn=new Pn(htn,!0),xy=new Pn(ctn,!1),MH=new Pn(utn,!1),Thn=new Pn(Xx,1),kM(),new Pn(sqn,Chn=xH),ZZn=!0}function G(){var n,e;G=F,rt=new at(Znn),xun=new at("coordinateOrigin"),cK=new at("processors"),Nun=new er("compoundNode",(Hn(),!1)),ay=new er("insideConnections",!1),Kun=new at("originalBendpoints"),Hun=new at("originalDummyNodePosition"),qun=new at("originalLabelEdge"),by=new at("representedLabels"),qm=new at("endLabels"),Av=new at("endLabel.origin"),Iv=new er("labelSide",(hs(),Hy)),qg=new er("maxEdgeThickness",0),Pf=new er("reversed",!1),Ov=new at(nen),rf=new er("longEdgeSource",null),io=new er("longEdgeTarget",null),uw=new er("longEdgeHasLabelDummies",!1),dy=new er("longEdgeBeforeLabelDummy",!1),fP=new er("edgeConstraint",(Fa(),HR)),L0=new at("inLayerLayoutUnit"),id=new er("inLayerConstraint",(Yh(),hy)),Pv=new er("inLayerSuccessorConstraint",new X),Run=new er("inLayerSuccessorConstraintBetweenNonDummies",!1),Au=new at("portDummy"),oP=new er("crossingHint",Q(0)),Ac=new er("graphProperties",new Ms(e=u(Go(VR),9),u(yo(e,e.length),9),0)),tc=new er("externalPortSide",(J(),Xi)),_un=new er("externalPortSize",new $r),nK=new at("externalPortReplacedDummies"),hP=new at("externalPortReplacedDummy"),cw=new er("externalPortConnections",new Ms(n=u(Go(Qr),9),u(yo(n,n.length),9),0)),N0=new er(FKn,0),Lun=new at("barycenterAssociates"),Dv=new at("TopSideComments"),Sv=new at("BottomSideComments"),sP=new at("CommentConnectionPort"),tK=new er("inputCollect",!1),iK=new er("outputCollect",!1),ly=new er("cyclic",!1),Bun=new at("crossHierarchyMap"),sK=new at("targetOffset"),new er("splineLabelSize",new $r),Ug=new at("spacings"),lP=new er("partitionConstraint",!1),$0=new at("breakingPoint.info"),zun=new at("splines.survivingEdge"),cd=new at("splines.route.start"),zg=new at("splines.edgeChain"),Uun=new at("originalPortConstraints"),j4=new at("selfLoopHolder"),E4=new at("splines.nsPortY"),bc=new at("modelOrder"),rK=new at("longEdgeTargetNode"),F0=new er(bHn,!1),Gg=new er(bHn,!1),eK=new at("layerConstraints.hiddenNodes"),Gun=new at("layerConstraints.opposidePort"),uK=new at("targetNode.modelOrder")}function vnn(){vnn=F,b7(),ZXn=new Pn(oen,rsn=nP),lVn=new Pn(fen,(Hn(),!1)),KT(),gVn=new Pn(bS,fsn=ZR),OVn=new Pn(hen,!1),DVn=new Pn(len,!0),AXn=new Pn(aen,!1),h7(),WVn=new Pn(den,vsn=FK),Q(1),eQn=new Pn(ben,Q(7)),tQn=new Pn(wen,!1),aVn=new Pn(gen,!1),Ha(),YXn=new Pn(cB,tsn=RR),pM(),IVn=new Pn(Fk,asn=SK),Fs(),jVn=new Pn(ven,hsn=wy),Q(-1),yVn=new Pn(pen,Q(-1)),Q(-1),EVn=new Pn(men,Q(-1)),Q(-1),TVn=new Pn(uB,Q(4)),Q(-1),MVn=new Pn(sB,Q(2)),bg(),PVn=new Pn(oB,lsn=OP),Q(0),AVn=new Pn(fB,Q(0)),mVn=new Pn(hB,Q(Ze)),W2(),JXn=new Pn(hm,esn=Cv),BXn=new Pn(ken,!1),UXn=new Pn(lB,.1),VXn=new Pn(aB,!1),Q(-1),WXn=new Pn(yen,Q(-1)),Q(-1),XXn=new Pn(jen,Q(-1)),Q(0),_Xn=new Pn(Een,Q(40)),t3(),qXn=new Pn(dB,nsn=JR),RXn=new Pn(wS,Zun=fy),I6(),zVn=new Pn(Mg,gsn=Ym),xVn=new at(gS),u7(),$Vn=new Pn(bB,dsn=tP),z7(),LVn=new Pn(wB,bsn=rP),new J9,RVn=new Pn(gB,.3),HVn=new at(vB),Ib(),qVn=new Pn(pB,wsn=IP),PC(),iVn=new Pn(Ten,usn=NK),n7(),cVn=new Pn(Cen,ssn=xK),f3(),uVn=new Pn(vS,osn=e9),oVn=new Pn(pS,.2),tVn=new Pn(mB,2),JVn=new Pn(Men,null),ZVn=new Pn(Sen,10),YVn=new Pn(Aen,10),nQn=new Pn(Pen,20),Q(0),XVn=new Pn(Ien,Q(0)),Q(0),VVn=new Pn(Oen,Q(0)),Q(0),QVn=new Pn(Den,Q(0)),PXn=new Pn(kB,!1),E3(),OXn=new Pn($en,Vun=Rm),YT(),IXn=new Pn(Fen,Xun=BR),bVn=new Pn(mS,!1),Q(0),dVn=new Pn(yB,Q(16)),Q(0),wVn=new Pn(jB,Q(5)),FC(),jQn=new Pn(h1,ksn=RK),rQn=new Pn(kS,10),uQn=new Pn(yS,1),gC(),dQn=new Pn(lm,msn=ZA),fQn=new at(EB),psn=Q(1),Q(0),lQn=new Pn(TB,psn),SC(),MQn=new Pn(jS,ysn=_K),EQn=new at(ES),pQn=new Pn(TS,!0),gQn=new Pn(CS,2),kQn=new Pn(CB,!0),jM(),eVn=new Pn(Len,csn=eP),tv(),nVn=new Pn(Nen,isn=g4),n1(),xXn=new Pn(MS,Yun=Wl),NXn=new Pn(xen,!1),c0(),DXn=new Pn(MB,Qun=Ng),m6(),LXn=new Pn(Ben,Jun=AK),$Xn=new Pn(SB,0),FXn=new Pn(AB,0),pVn=KR,vVn=oy,CVn=AP,SVn=AP,kVn=MK,e1(),zXn=Q1,QXn=Cv,GXn=Cv,KXn=Cv,HXn=Q1,BVn=Zm,_Vn=Ym,FVn=Ym,NVn=Ym,KVn=DK,UVn=Zm,GVn=Zm,r1(),sVn=Kv,fVn=Kv,hVn=e9,rVn=Ry,iQn=I4,cQn=gw,sQn=I4,oQn=gw,bQn=I4,wQn=gw,hQn=_R,aQn=ZA,SQn=I4,AQn=gw,TQn=I4,CQn=gw,mQn=gw,vQn=gw,yQn=gw}function ti(){ti=F,Fcn=new qt("DIRECTION_PREPROCESSOR",0),Ocn=new qt("COMMENT_PREPROCESSOR",1),Lm=new qt("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),TR=new qt("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),Zcn=new qt("PARTITION_PREPROCESSOR",4),FA=new qt("LABEL_DUMMY_INSERTER",5),GA=new qt("SELF_LOOP_PREPROCESSOR",6),a4=new qt("LAYER_CONSTRAINT_PREPROCESSOR",7),Jcn=new qt("PARTITION_MIDPROCESSOR",8),Hcn=new qt("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Vcn=new qt("NODE_PROMOTION",10),l4=new qt("LAYER_CONSTRAINT_POSTPROCESSOR",11),Ycn=new qt("PARTITION_POSTPROCESSOR",12),_cn=new qt("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),nun=new qt("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ccn=new qt("BREAKING_POINT_INSERTER",15),BA=new qt("LONG_EDGE_SPLITTER",16),CR=new qt("PORT_SIDE_PROCESSOR",17),DA=new qt("INVERTED_PORT_PROCESSOR",18),KA=new qt("PORT_LIST_SORTER",19),tun=new qt("SORT_BY_INPUT_ORDER_OF_MODEL",20),RA=new qt("NORTH_SOUTH_PORT_PREPROCESSOR",21),Mcn=new qt("BREAKING_POINT_PROCESSOR",22),Qcn=new qt(uHn,23),run=new qt(sHn,24),HA=new qt("SELF_LOOP_PORT_RESTORER",25),eun=new qt("SINGLE_EDGE_GRAPH_WRAPPER",26),$A=new qt("IN_LAYER_CONSTRAINT_PROCESSOR",27),Ncn=new qt("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Wcn=new qt("LABEL_AND_NODE_SIZE_PROCESSOR",29),zcn=new qt("INNERMOST_NODE_MARGIN_CALCULATOR",30),UA=new qt("SELF_LOOP_ROUTER",31),Pcn=new qt("COMMENT_NODE_MARGIN_CALCULATOR",32),OA=new qt("END_LABEL_PREPROCESSOR",33),NA=new qt("LABEL_DUMMY_SWITCHER",34),Acn=new qt("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),h4=new qt("LABEL_SIDE_SELECTOR",36),Gcn=new qt("HYPEREDGE_DUMMY_MERGER",37),Rcn=new qt("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Xcn=new qt("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),Nm=new qt("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),Dcn=new qt("CONSTRAINTS_POSTPROCESSOR",41),Icn=new qt("COMMENT_POSTPROCESSOR",42),Ucn=new qt("HYPERNODE_PROCESSOR",43),Kcn=new qt("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),xA=new qt("LONG_EDGE_JOINER",45),qA=new qt("SELF_LOOP_POSTPROCESSOR",46),Scn=new qt("BREAKING_POINT_REMOVER",47),_A=new qt("NORTH_SOUTH_PORT_POSTPROCESSOR",48),qcn=new qt("HORIZONTAL_COMPACTOR",49),LA=new qt("LABEL_DUMMY_REMOVER",50),xcn=new qt("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),Lcn=new qt("END_LABEL_SORTER",52),uy=new qt("REVERSED_EDGE_RESTORER",53),IA=new qt("END_LABEL_POSTPROCESSOR",54),Bcn=new qt("HIERARCHICAL_NODE_RESIZER",55),$cn=new qt("DIRECTION_POSTPROCESSOR",56)}function Qe(){Qe=F,N9=new yd(7),hln=new ph(8,94),new ph(8,64),lln=new ph(8,36),Nee=new ph(8,65),xee=new ph(8,122),Bee=new ph(8,90),Ree=new ph(8,98),Lee=new ph(8,66),_ee=new ph(8,60),Kee=new ph(8,62),fln=new yd(11),Ec(II=new cs(4),48,57),Ec(q4=new cs(4),48,57),Ec(q4,65,90),Ec(q4,95,95),Ec(q4,97,122),Ec(zv=new cs(4),9,9),Ec(zv,10,10),Ec(zv,12,12),Ec(zv,13,13),Ec(zv,32,32),aln=Kb(II),bln=Kb(q4),dln=Kb(zv),H4=new we,L9=new we,Fee=S(M(tn,1),q,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),sln=S(M(tn,1),q,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",cUn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),oln=S(M(be,1),Ne,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function VM(){VM=F,Ezn=new Ds("OUT_T_L",0,(Mu(),oh),(Yc(),Do),(Vo(),nc),nc,S(M(ro,1),rn,21,0,[vt((xb(),xo),S(M(fi,1),U,93,0,[Bo,Lo]))])),jzn=new Ds("OUT_T_C",1,Kl,Do,nc,Nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Bo,b1])),vt(xo,S(M(fi,1),U,93,0,[Bo,b1,uo]))])),Tzn=new Ds("OUT_T_R",2,Oo,Do,nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Bo,No]))])),bzn=new Ds("OUT_B_L",3,oh,tf,ec,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,Lo]))])),dzn=new Ds("OUT_B_C",4,Kl,tf,ec,Nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,b1])),vt(xo,S(M(fi,1),U,93,0,[so,b1,uo]))])),wzn=new Ds("OUT_B_R",5,Oo,tf,ec,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[so,No]))])),pzn=new Ds("OUT_L_T",6,Oo,tf,nc,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,Bo,uo]))])),vzn=new Ds("OUT_L_C",7,Oo,Hl,Nc,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,xh])),vt(xo,S(M(fi,1),U,93,0,[Lo,xh,uo]))])),gzn=new Ds("OUT_L_B",8,Oo,Do,ec,nc,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[Lo,so,uo]))])),yzn=new Ds("OUT_R_T",9,oh,tf,nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,Bo,uo]))])),kzn=new Ds("OUT_R_C",10,oh,Hl,Nc,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,xh])),vt(xo,S(M(fi,1),U,93,0,[No,xh,uo]))])),mzn=new Ds("OUT_R_B",11,oh,Do,ec,ec,S(M(ro,1),rn,21,0,[vt(xo,S(M(fi,1),U,93,0,[No,so,uo]))])),lzn=new Ds("IN_T_L",12,oh,tf,nc,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,Lo])),vt(vs,S(M(fi,1),U,93,0,[Bo,Lo,uo]))])),hzn=new Ds("IN_T_C",13,Kl,tf,nc,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,b1])),vt(vs,S(M(fi,1),U,93,0,[Bo,b1,uo]))])),azn=new Ds("IN_T_R",14,Oo,tf,nc,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[Bo,No])),vt(vs,S(M(fi,1),U,93,0,[Bo,No,uo]))])),ozn=new Ds("IN_C_L",15,oh,Hl,Nc,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,Lo])),vt(vs,S(M(fi,1),U,93,0,[xh,Lo,uo]))])),szn=new Ds("IN_C_C",16,Kl,Hl,Nc,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,b1])),vt(vs,S(M(fi,1),U,93,0,[xh,b1,uo]))])),fzn=new Ds("IN_C_R",17,Oo,Hl,Nc,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[xh,No])),vt(vs,S(M(fi,1),U,93,0,[xh,No,uo]))])),czn=new Ds("IN_B_L",18,oh,Do,ec,nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,Lo])),vt(vs,S(M(fi,1),U,93,0,[so,Lo,uo]))])),izn=new Ds("IN_B_C",19,Kl,Do,ec,Nc,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,b1])),vt(vs,S(M(fi,1),U,93,0,[so,b1,uo]))])),uzn=new Ds("IN_B_R",20,Oo,Do,ec,ec,S(M(ro,1),rn,21,0,[vt(vs,S(M(fi,1),U,93,0,[so,No])),vt(vs,S(M(fi,1),U,93,0,[so,No,uo]))])),nR=new Ds(rm,21,null,null,null,null,S(M(ro,1),rn,21,0,[]))}function Sn(){Sn=F,Cw=(pl(),Nn).b,u(O(_(Nn.b),0),34),u(O(_(Nn.b),1),18),J1=Nn.a,u(O(_(Nn.a),0),34),u(O(_(Nn.a),1),18),u(O(_(Nn.a),2),18),u(O(_(Nn.a),3),18),u(O(_(Nn.a),4),18),ia=Nn.o,u(O(_(Nn.o),0),34),u(O(_(Nn.o),1),34),nee=u(O(_(Nn.o),2),18),u(O(_(Nn.o),3),18),u(O(_(Nn.o),4),18),u(O(_(Nn.o),5),18),u(O(_(Nn.o),6),18),u(O(_(Nn.o),7),18),u(O(_(Nn.o),8),18),u(O(_(Nn.o),9),18),u(O(_(Nn.o),10),18),u(O(_(Nn.o),11),18),u(O(_(Nn.o),12),18),u(O(_(Nn.o),13),18),u(O(_(Nn.o),14),18),u(O(_(Nn.o),15),18),u(O(st(Nn.o),0),59),u(O(st(Nn.o),1),59),u(O(st(Nn.o),2),59),u(O(st(Nn.o),3),59),u(O(st(Nn.o),4),59),u(O(st(Nn.o),5),59),u(O(st(Nn.o),6),59),u(O(st(Nn.o),7),59),u(O(st(Nn.o),8),59),u(O(st(Nn.o),9),59),Zne=Nn.p,u(O(_(Nn.p),0),34),u(O(_(Nn.p),1),34),u(O(_(Nn.p),2),34),u(O(_(Nn.p),3),34),u(O(_(Nn.p),4),18),u(O(_(Nn.p),5),18),u(O(st(Nn.p),0),59),u(O(st(Nn.p),1),59),eee=Nn.q,u(O(_(Nn.q),0),34),ca=Nn.v,u(O(_(Nn.v),0),18),u(O(st(Nn.v),0),59),u(O(st(Nn.v),1),59),u(O(st(Nn.v),2),59),Y1=Nn.w,u(O(_(Nn.w),0),34),u(O(_(Nn.w),1),34),u(O(_(Nn.w),2),34),u(O(_(Nn.w),3),18),ua=Nn.B,u(O(_(Nn.B),0),18),u(O(st(Nn.B),0),59),u(O(st(Nn.B),1),59),u(O(st(Nn.B),2),59),tee=Nn.Q,u(O(_(Nn.Q),0),18),u(O(st(Nn.Q),0),59),ree=Nn.R,u(O(_(Nn.R),0),34),bo=Nn.S,u(O(st(Nn.S),0),59),u(O(st(Nn.S),1),59),u(O(st(Nn.S),2),59),u(O(st(Nn.S),3),59),u(O(st(Nn.S),4),59),u(O(st(Nn.S),5),59),u(O(st(Nn.S),6),59),u(O(st(Nn.S),7),59),u(O(st(Nn.S),8),59),u(O(st(Nn.S),9),59),u(O(st(Nn.S),10),59),u(O(st(Nn.S),11),59),u(O(st(Nn.S),12),59),u(O(st(Nn.S),13),59),u(O(st(Nn.S),14),59),Z1=Nn.T,u(O(_(Nn.T),0),18),u(O(_(Nn.T),2),18),iee=u(O(_(Nn.T),3),18),u(O(_(Nn.T),4),18),u(O(st(Nn.T),0),59),u(O(st(Nn.T),1),59),u(O(_(Nn.T),1),18),nl=Nn.U,u(O(_(Nn.U),0),34),u(O(_(Nn.U),1),34),u(O(_(Nn.U),2),18),u(O(_(Nn.U),3),18),u(O(_(Nn.U),4),18),u(O(_(Nn.U),5),18),u(O(st(Nn.U),0),59),Mw=Nn.V,u(O(_(Nn.V),0),18),i2=Nn.W,u(O(_(Nn.W),0),34),u(O(_(Nn.W),1),34),u(O(_(Nn.W),2),34),u(O(_(Nn.W),3),18),u(O(_(Nn.W),4),18),u(O(_(Nn.W),5),18),cee=Nn.bb,u(O(_(Nn.bb),0),34),u(O(_(Nn.bb),1),34),u(O(_(Nn.bb),2),34),u(O(_(Nn.bb),3),34),u(O(_(Nn.bb),4),34),u(O(_(Nn.bb),5),34),u(O(_(Nn.bb),6),34),u(O(_(Nn.bb),7),18),u(O(st(Nn.bb),0),59),u(O(st(Nn.bb),1),59),uee=Nn.eb,u(O(_(Nn.eb),0),34),u(O(_(Nn.eb),1),34),u(O(_(Nn.eb),2),34),u(O(_(Nn.eb),3),34),u(O(_(Nn.eb),4),34),u(O(_(Nn.eb),5),34),u(O(_(Nn.eb),6),18),u(O(_(Nn.eb),7),18),Jr=Nn.ab,u(O(_(Nn.ab),0),34),u(O(_(Nn.ab),1),34),z0=Nn.H,u(O(_(Nn.H),0),18),u(O(_(Nn.H),1),18),u(O(_(Nn.H),2),18),u(O(_(Nn.H),3),18),u(O(_(Nn.H),4),18),u(O(_(Nn.H),5),18),u(O(st(Nn.H),0),59),W0=Nn.db,u(O(_(Nn.db),0),18),Ff=Nn.M}function HRn(n){Od(n,new qa(zG(_j(Sd(Td(Md(Cd(new aa,Qn),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new jwn),Qn),vt((M3(),qH),S(M(yI,1),U,237,0,[mI,kI,pI,HH,vI,gI]))))),Z(n,Qn,Gen,cn(kK)),Z(n,Qn,Uen,cn(eon)),Z(n,Qn,Wx,cn(py)),Z(n,Qn,zen,cn($o)),Z(n,Qn,Yx,cn(Lv)),Z(n,Qn,Wen,cn(R0)),Z(n,Qn,Xen,cn(ww)),Z(n,Qn,Ven,cn(A4)),Z(n,Qn,Qen,cn(P4)),Z(n,Qn,Jen,cn(yK)),Z(n,Qn,Wb,cn(K0)),Z(n,Qn,Yen,cn(jK)),Z(n,Qn,Zen,cn(Qm)),Z(n,Qn,ntn,cn(CP)),Z(n,Qn,Men,cn(vy)),Z(n,Qn,Aen,cn(Wg)),Z(n,Qn,Sen,cn(fd)),Z(n,Qn,Pen,cn(Xg)),Z(n,Qn,Pk,Q(0)),Z(n,Qn,Ien,cn(S4)),Z(n,Qn,Oen,cn(non)),Z(n,Qn,Den,cn(Fv)),Z(n,Qn,h1,cn(fon)),Z(n,Qn,kS,cn(ton)),Z(n,Qn,yS,cn(ron)),Z(n,Qn,lm,cn(TK)),Z(n,Qn,EB,cn(ion)),Z(n,Qn,TB,cn(con)),Z(n,Qn,jS,cn(MP)),Z(n,Qn,ES,cn(CK)),Z(n,Qn,TS,cn(son)),Z(n,Qn,CS,cn(uon)),Z(n,Qn,CB,cn(oon)),Z(n,Qn,vB,cn(B0)),Z(n,Qn,pB,cn(Vm)),Z(n,Qn,vS,cn(wK)),Z(n,Qn,pS,cn(Dsn)),Z(n,Qn,j0,Vsn),Z(n,Qn,Nk,Psn),Z(n,Qn,etn,0),Z(n,Qn,fS,Q(1)),Z(n,Qn,bv,z3),Z(n,Qn,ttn,cn(od)),Z(n,Qn,Zx,cn(Nt)),Z(n,Qn,rtn,cn(M4)),Z(n,Qn,Bk,cn(IQn)),Z(n,Qn,itn,cn(hh)),Z(n,Qn,SS,cn(hw)),Z(n,Qn,cm,(Hn(),!0)),Z(n,Qn,ctn,cn(lw)),Z(n,Qn,utn,cn(ud)),Z(n,Qn,Cg,cn(sd)),Z(n,Qn,wv,cn(TP)),Z(n,Qn,OB,cn(mK)),Z(n,Qn,stn,Asn),Z(n,Qn,W3,cn(x0)),Z(n,Qn,otn,cn(jP)),Z(n,Qn,X3,cn(dw)),Z(n,Qn,ftn,cn(NQn)),Z(n,Qn,htn,cn(Ysn)),Z(n,Qn,ltn,Jsn),Z(n,Qn,atn,cn($Qn)),Z(n,Qn,dtn,cn(FQn)),Z(n,Qn,btn,cn(LQn)),Z(n,Qn,wtn,cn(DQn)),Z(n,Qn,wen,cn(EK)),Z(n,Qn,Fk,cn(qsn)),Z(n,Qn,oB,cn(vK)),Z(n,Qn,ben,cn(Jm)),Z(n,Qn,ven,cn(qc)),Z(n,Qn,cB,cn(fw)),Z(n,Qn,hm,cn(Wm)),Z(n,Qn,ken,cn(ow)),Z(n,Qn,Een,cn(Csn)),Z(n,Qn,dB,cn(lK)),Z(n,Qn,wS,cn(gy)),Z(n,Qn,aB,cn(aK)),Z(n,Qn,hen,cn(Gsn)),Z(n,Qn,len,cn(Usn)),Z(n,Qn,bS,cn(Bsn)),Z(n,Qn,Mg,cn(EP)),Z(n,Qn,wB,cn(pK)),Z(n,Qn,fen,cn(gK)),Z(n,Qn,gB,cn(Wsn)),Z(n,Qn,Ten,cn(Osn)),Z(n,Qn,Cen,cn(bK)),Z(n,Qn,AS,cn(hK)),Z(n,Qn,bB,cn(zsn)),Z(n,Qn,$en,cn(bP)),Z(n,Qn,Fen,cn(jsn)),Z(n,Qn,kB,cn(dP)),Z(n,Qn,mS,cn(Lsn)),Z(n,Qn,yB,cn(Fsn)),Z(n,Qn,jB,cn(Nsn)),Z(n,Qn,gv,cn(T4)),Z(n,Qn,gtn,cn(Ci)),Z(n,Qn,Xx,cn(G1)),Z(n,Qn,vtn,cn(lh)),Z(n,Qn,hS,cn(dK)),Z(n,Qn,lB,cn(Msn)),Z(n,Qn,ptn,cn(U1)),Z(n,Qn,mtn,cn(zm)),Z(n,Qn,ktn,cn(mP)),Z(n,Qn,ytn,cn(_0)),Z(n,Qn,DB,cn(Qsn)),Z(n,Qn,$B,cn(C4)),Z(n,Qn,uB,cn(Rsn)),Z(n,Qn,sB,cn(Ksn)),Z(n,Qn,PS,cn(bw)),Z(n,Qn,aen,cn(oK)),Z(n,Qn,fB,cn(Hsn)),Z(n,Qn,Len,cn(pP)),Z(n,Qn,Nen,cn(vP)),Z(n,Qn,jtn,cn(yP)),Z(n,Qn,hB,cn(_sn)),Z(n,Qn,gS,cn(Xm)),Z(n,Qn,Etn,cn(my)),Z(n,Qn,oen,cn(Ssn)),Z(n,Qn,den,cn(Zsn)),Z(n,Qn,mB,cn(Isn)),Z(n,Qn,pen,cn(OQn)),Z(n,Qn,yen,cn(PQn)),Z(n,Qn,FB,cn(xsn)),Z(n,Qn,men,cn(kP)),Z(n,Qn,jen,cn(gP)),Z(n,Qn,MS,cn(zl)),Z(n,Qn,Ben,cn(Tsn)),Z(n,Qn,SB,cn(wP)),Z(n,Qn,AB,cn(Esn)),Z(n,Qn,xen,cn(fK)),Z(n,Qn,MB,cn($v)),Z(n,Qn,gen,cn($sn))}function yg(n,e){var r;return s2||(s2=new we,K4=new we,Qe(),Qe(),x7(r=new cs(4),"\t\n\r\r "),ki(s2,S_,r),ki(K4,S_,Kb(r)),x7(r=new cs(4),rUn),ki(s2,Am,r),ki(K4,Am,Kb(r)),x7(r=new cs(4),rUn),ki(s2,Am,r),ki(K4,Am,Kb(r)),x7(r=new cs(4),iUn),Hb(r,u(kc(s2,Am),117)),ki(s2,M_,r),ki(K4,M_,Kb(r)),x7(r=new cs(4),"-.0:AZ__az\xb7\xb7\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u02d0\u02d1\u0300\u0345\u0360\u0361\u0386\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0483\u0486\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u0591\u05a1\u05a3\u05b9\u05bb\u05bd\u05bf\u05bf\u05c1\u05c2\u05c4\u05c4\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0640\u0652\u0660\u0669\u0670\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06e8\u06ea\u06ed\u06f0\u06f9\u0901\u0903\u0905\u0939\u093c\u094d\u0951\u0954\u0958\u0963\u0966\u096f\u0981\u0983\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09bc\u09bc\u09be\u09c4\u09c7\u09c8\u09cb\u09cd\u09d7\u09d7\u09dc\u09dd\u09df\u09e3\u09e6\u09f1\u0a02\u0a02\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3c\u0a3e\u0a42\u0a47\u0a48\u0a4b\u0a4d\u0a59\u0a5c\u0a5e\u0a5e\u0a66\u0a74\u0a81\u0a83\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abc\u0ac5\u0ac7\u0ac9\u0acb\u0acd\u0ae0\u0ae0\u0ae6\u0aef\u0b01\u0b03\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3c\u0b43\u0b47\u0b48\u0b4b\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f\u0b61\u0b66\u0b6f\u0b82\u0b83\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0bbe\u0bc2\u0bc6\u0bc8\u0bca\u0bcd\u0bd7\u0bd7\u0be7\u0bef\u0c01\u0c03\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c3e\u0c44\u0c46\u0c48\u0c4a\u0c4d\u0c55\u0c56\u0c60\u0c61\u0c66\u0c6f\u0c82\u0c83\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cbe\u0cc4\u0cc6\u0cc8\u0cca\u0ccd\u0cd5\u0cd6\u0cde\u0cde\u0ce0\u0ce1\u0ce6\u0cef\u0d02\u0d03\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d3e\u0d43\u0d46\u0d48\u0d4a\u0d4d\u0d57\u0d57\u0d60\u0d61\u0d66\u0d6f\u0e01\u0e2e\u0e30\u0e3a\u0e40\u0e4e\u0e50\u0e59\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb9\u0ebb\u0ebd\u0ec0\u0ec4\u0ec6\u0ec6\u0ec8\u0ecd\u0ed0\u0ed9\u0f18\u0f19\u0f20\u0f29\u0f35\u0f35\u0f37\u0f37\u0f39\u0f39\u0f3e\u0f47\u0f49\u0f69\u0f71\u0f84\u0f86\u0f8b\u0f90\u0f95\u0f97\u0f97\u0f99\u0fad\u0fb1\u0fb7\u0fb9\u0fb9\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u20d0\u20dc\u20e1\u20e1\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3005\u3005\u3007\u3007\u3021\u302f\u3031\u3035\u3041\u3094\u3099\u309a\u309d\u309e\u30a1\u30fa\u30fc\u30fe\u3105\u312c\u4e00\u9fa5\uac00\ud7a3"),ki(s2,A_,r),ki(K4,A_,Kb(r)),x7(r=new cs(4),iUn),Ec(r,95,95),Ec(r,58,58),ki(s2,P_,r),ki(K4,P_,Kb(r))),u(kc(e?s2:K4,n),136)}function Pe(n){return Mn("_UI_EMFDiagnostic_marker",n)?"EMF Problem":Mn("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":Mn(xqn,n)?"Wrong character.":Mn(Bqn,n)?"Invalid reference number.":Mn(HS,n)?"A character is required after \\.":Mn(w_,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Mn(_qn,n)?"'(?<' or '(? toIndex: ",Inn=", toIndex: ",Onn="Index: ",Dnn=", Size: ",H3="org.eclipse.elk.alg.common",ft={62:1},gKn="org.eclipse.elk.alg.common.compaction",vKn="Scanline/EventHandler",Ih="org.eclipse.elk.alg.common.compaction.oned",pKn="CNode belongs to another CGroup.",mKn="ISpacingsHandler/1",Lx="The ",Nx=" instance has been finished already.",kKn="The direction ",yKn=" is not supported by the CGraph instance.",jKn="OneDimensionalCompactor",EKn="OneDimensionalCompactor/lambda$0$Type",TKn="Quadruplet",CKn="ScanlineConstraintCalculator",MKn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",SKn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",AKn="ScanlineConstraintCalculator/Timestamp",PKn="ScanlineConstraintCalculator/lambda$0$Type",Zf={169:1,45:1},xx="org.eclipse.elk.alg.common.compaction.options",Wi="org.eclipse.elk.core.data",$nn="org.eclipse.elk.polyomino.traversalStrategy",Fnn="org.eclipse.elk.polyomino.lowLevelSort",Lnn="org.eclipse.elk.polyomino.highLevelSort",Nnn="org.eclipse.elk.polyomino.fill",Js={130:1},Bx="polyomino",tm="org.eclipse.elk.alg.common.networksimplex",Oh={177:1,3:1,4:1},IKn="org.eclipse.elk.alg.common.nodespacing",Wa="org.eclipse.elk.alg.common.nodespacing.cellsystem",q3="CENTER",OKn={212:1,326:1},xnn={3:1,4:1,5:1,595:1},lv="LEFT",av="RIGHT",Bnn="Vertical alignment cannot be null",_nn="BOTTOM",rS="org.eclipse.elk.alg.common.nodespacing.internal",rm="UNDEFINED",Tf=.01,Mk="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",DKn="LabelPlacer/lambda$0$Type",$Kn="LabelPlacer/lambda$1$Type",FKn="portRatioOrPosition",G3="org.eclipse.elk.alg.common.overlaps",_x="DOWN",nh="org.eclipse.elk.alg.common.polyomino",iS="NORTH",Rx="EAST",Kx="SOUTH",Hx="WEST",cS="org.eclipse.elk.alg.common.polyomino.structures",Rnn="Direction",qx="Grid is only of size ",Gx=". Requested point (",Ux=") is out of bounds.",uS=" Given center based coordinates were (",Sk="org.eclipse.elk.graph.properties",LKn="IPropertyHolder",Knn={3:1,94:1,134:1},dv="org.eclipse.elk.alg.common.spore",NKn="org.eclipse.elk.alg.common.utils",Xa={209:1},Eg="org.eclipse.elk.core",xKn="Connected Components Compaction",BKn="org.eclipse.elk.alg.disco",sS="org.eclipse.elk.alg.disco.graph",zx="org.eclipse.elk.alg.disco.options",Hnn="CompactionStrategy",qnn="org.eclipse.elk.disco.componentCompaction.strategy",Gnn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",Unn="org.eclipse.elk.disco.debug.discoGraph",znn="org.eclipse.elk.disco.debug.discoPolys",_Kn="componentCompaction",Va="org.eclipse.elk.disco",Wx="org.eclipse.elk.spacing.componentComponent",Xx="org.eclipse.elk.edge.thickness",bv="org.eclipse.elk.aspectRatio",j0="org.eclipse.elk.padding",Tg="org.eclipse.elk.alg.disco.transform",Vx=1.5707963267948966,U3=17976931348623157e292,zb={3:1,4:1,5:1,192:1},Wnn={3:1,6:1,4:1,5:1,106:1,120:1},Xnn="org.eclipse.elk.alg.force",Vnn="ComponentsProcessor",RKn="ComponentsProcessor/1",Ak="org.eclipse.elk.alg.force.graph",KKn="Component Layout",Qnn="org.eclipse.elk.alg.force.model",oS="org.eclipse.elk.force.model",Jnn="org.eclipse.elk.force.iterations",Ynn="org.eclipse.elk.force.repulsivePower",Qx="org.eclipse.elk.force.temperature",eh=.001,Jx="org.eclipse.elk.force.repulsion",im="org.eclipse.elk.alg.force.options",z3=1.600000023841858,ds="org.eclipse.elk.force",Pk="org.eclipse.elk.priority",Wb="org.eclipse.elk.spacing.nodeNode",Yx="org.eclipse.elk.spacing.edgeLabel",fS="org.eclipse.elk.randomSeed",cm="org.eclipse.elk.separateConnectedComponents",Ik="org.eclipse.elk.interactive",Zx="org.eclipse.elk.portConstraints",hS="org.eclipse.elk.edgeLabels.inline",um="org.eclipse.elk.omitNodeMicroLayout",wv="org.eclipse.elk.nodeSize.options",Cg="org.eclipse.elk.nodeSize.constraints",W3="org.eclipse.elk.nodeLabels.placement",X3="org.eclipse.elk.portLabels.placement",Znn="origin",nen="random",HKn="boundingBox.upLeft",qKn="boundingBox.lowRight",een="org.eclipse.elk.stress.fixed",ten="org.eclipse.elk.stress.desiredEdgeLength",ren="org.eclipse.elk.stress.dimension",ien="org.eclipse.elk.stress.epsilon",cen="org.eclipse.elk.stress.iterationLimit",Nl="org.eclipse.elk.stress",GKn="ELK Stress",gv="org.eclipse.elk.nodeSize.minimum",lS="org.eclipse.elk.alg.force.stress",UKn="Layered layout",vv="org.eclipse.elk.alg.layered",Ok="org.eclipse.elk.alg.layered.compaction.components",sm="org.eclipse.elk.alg.layered.compaction.oned",aS="org.eclipse.elk.alg.layered.compaction.oned.algs",Qa="org.eclipse.elk.alg.layered.compaction.recthull",th="org.eclipse.elk.alg.layered.components",f1="NONE",lc={3:1,6:1,4:1,9:1,5:1,122:1},zKn={3:1,6:1,4:1,5:1,141:1,106:1,120:1},dS="org.eclipse.elk.alg.layered.compound",Lt={51:1},Lc="org.eclipse.elk.alg.layered.graph",nB=" -> ",WKn="Not supported by LGraph",uen="Port side is undefined",eB={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},_1={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},XKn={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},JKn="The given string contains parts that cannot be parsed as numbers.",Dk="org.eclipse.elk.core.math",YKn={3:1,4:1,142:1,207:1,414:1},ZKn={3:1,4:1,116:1,207:1,414:1},Qn="org.eclipse.elk.layered",R1="org.eclipse.elk.alg.layered.graph.transform",nHn="ElkGraphImporter",eHn="ElkGraphImporter/lambda$0$Type",tHn="ElkGraphImporter/lambda$1$Type",rHn="ElkGraphImporter/lambda$2$Type",iHn="ElkGraphImporter/lambda$4$Type",cHn="Node margin calculation",Un="org.eclipse.elk.alg.layered.intermediate",uHn="ONE_SIDED_GREEDY_SWITCH",sHn="TWO_SIDED_GREEDY_SWITCH",tB="No implementation is available for the layout processor ",sen="IntermediateProcessorStrategy",rB="Node '",oHn="FIRST_SEPARATE",fHn="LAST_SEPARATE",hHn="Odd port side processing",Xt="org.eclipse.elk.alg.layered.intermediate.compaction",om="org.eclipse.elk.alg.layered.intermediate.greedyswitch",Dh="org.eclipse.elk.alg.layered.p3order.counting",$k={225:1},pv="org.eclipse.elk.alg.layered.intermediate.loops",bs="org.eclipse.elk.alg.layered.intermediate.loops.ordering",xl="org.eclipse.elk.alg.layered.intermediate.loops.routing",fm="org.eclipse.elk.alg.layered.intermediate.preserveorder",rh="org.eclipse.elk.alg.layered.intermediate.wrapping",ac="org.eclipse.elk.alg.layered.options",iB="INTERACTIVE",lHn="DEPTH_FIRST",aHn="EDGE_LENGTH",dHn="SELF_LOOPS",bHn="firstTryWithInitialOrder",oen="org.eclipse.elk.layered.directionCongruency",fen="org.eclipse.elk.layered.feedbackEdges",bS="org.eclipse.elk.layered.interactiveReferencePoint",hen="org.eclipse.elk.layered.mergeEdges",len="org.eclipse.elk.layered.mergeHierarchyEdges",aen="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",den="org.eclipse.elk.layered.portSortingStrategy",ben="org.eclipse.elk.layered.thoroughness",wen="org.eclipse.elk.layered.unnecessaryBendpoints",gen="org.eclipse.elk.layered.generatePositionAndLayerIds",cB="org.eclipse.elk.layered.cycleBreaking.strategy",Fk="org.eclipse.elk.layered.layering.strategy",ven="org.eclipse.elk.layered.layering.layerConstraint",pen="org.eclipse.elk.layered.layering.layerChoiceConstraint",men="org.eclipse.elk.layered.layering.layerId",uB="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",sB="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",oB="org.eclipse.elk.layered.layering.nodePromotion.strategy",fB="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",hB="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",hm="org.eclipse.elk.layered.crossingMinimization.strategy",ken="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",lB="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",aB="org.eclipse.elk.layered.crossingMinimization.semiInteractive",yen="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",jen="org.eclipse.elk.layered.crossingMinimization.positionId",Een="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dB="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",wS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",Mg="org.eclipse.elk.layered.nodePlacement.strategy",gS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bB="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",wB="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",gB="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",vB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",pB="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Ten="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Cen="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",vS="org.eclipse.elk.layered.edgeRouting.splines.mode",pS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",mB="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Men="org.eclipse.elk.layered.spacing.baseValue",Sen="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Aen="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Pen="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Ien="org.eclipse.elk.layered.priority.direction",Oen="org.eclipse.elk.layered.priority.shortness",Den="org.eclipse.elk.layered.priority.straightness",kB="org.eclipse.elk.layered.compaction.connectedComponents",$en="org.eclipse.elk.layered.compaction.postCompaction.strategy",Fen="org.eclipse.elk.layered.compaction.postCompaction.constraints",mS="org.eclipse.elk.layered.highDegreeNodes.treatment",yB="org.eclipse.elk.layered.highDegreeNodes.threshold",jB="org.eclipse.elk.layered.highDegreeNodes.treeHeight",h1="org.eclipse.elk.layered.wrapping.strategy",kS="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",yS="org.eclipse.elk.layered.wrapping.correctionFactor",lm="org.eclipse.elk.layered.wrapping.cutting.strategy",EB="org.eclipse.elk.layered.wrapping.cutting.cuts",TB="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",jS="org.eclipse.elk.layered.wrapping.validify.strategy",ES="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",TS="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",CS="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",CB="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Len="org.eclipse.elk.layered.edgeLabels.sideSelection",Nen="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",MS="org.eclipse.elk.layered.considerModelOrder.strategy",xen="org.eclipse.elk.layered.considerModelOrder.noModelOrder",MB="org.eclipse.elk.layered.considerModelOrder.components",Ben="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",SB="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",AB="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",PB="layering",wHn="layering.minWidth",gHn="layering.nodePromotion",Lk="crossingMinimization",SS="org.eclipse.elk.hierarchyHandling",vHn="crossingMinimization.greedySwitch",pHn="nodePlacement",mHn="nodePlacement.bk",kHn="edgeRouting",Nk="org.eclipse.elk.edgeRouting",Cf="spacing",_en="priority",Ren="compaction",yHn="compaction.postCompaction",jHn="Specifies whether and how post-process compaction is applied.",Ken="highDegreeNodes",Hen="wrapping",EHn="wrapping.cutting",THn="wrapping.validify",qen="wrapping.multiEdge",IB="edgeLabels",xk="considerModelOrder",Gen="org.eclipse.elk.spacing.commentComment",Uen="org.eclipse.elk.spacing.commentNode",zen="org.eclipse.elk.spacing.edgeEdge",Wen="org.eclipse.elk.spacing.edgeNode",Xen="org.eclipse.elk.spacing.labelLabel",Ven="org.eclipse.elk.spacing.labelPortHorizontal",Qen="org.eclipse.elk.spacing.labelPortVertical",Jen="org.eclipse.elk.spacing.labelNode",Yen="org.eclipse.elk.spacing.nodeSelfLoop",Zen="org.eclipse.elk.spacing.portPort",ntn="org.eclipse.elk.spacing.individual",etn="org.eclipse.elk.port.borderOffset",ttn="org.eclipse.elk.noLayout",rtn="org.eclipse.elk.port.side",Bk="org.eclipse.elk.debugMode",itn="org.eclipse.elk.alignment",ctn="org.eclipse.elk.insideSelfLoops.activate",utn="org.eclipse.elk.insideSelfLoops.yo",OB="org.eclipse.elk.nodeSize.fixedGraphSize",stn="org.eclipse.elk.direction",otn="org.eclipse.elk.nodeLabels.padding",ftn="org.eclipse.elk.portLabels.nextToPortIfPossible",htn="org.eclipse.elk.portLabels.treatAsGroup",ltn="org.eclipse.elk.portAlignment.default",atn="org.eclipse.elk.portAlignment.north",dtn="org.eclipse.elk.portAlignment.south",btn="org.eclipse.elk.portAlignment.west",wtn="org.eclipse.elk.portAlignment.east",AS="org.eclipse.elk.contentAlignment",gtn="org.eclipse.elk.junctionPoints",vtn="org.eclipse.elk.edgeLabels.placement",ptn="org.eclipse.elk.port.index",mtn="org.eclipse.elk.commentBox",ktn="org.eclipse.elk.hypernode",ytn="org.eclipse.elk.port.anchor",DB="org.eclipse.elk.partitioning.activate",$B="org.eclipse.elk.partitioning.partition",PS="org.eclipse.elk.position",jtn="org.eclipse.elk.margins",Etn="org.eclipse.elk.spacing.portsSurrounding",FB="org.eclipse.elk.interactiveLayout",dc="org.eclipse.elk.core.util",Ttn={3:1,4:1,5:1,593:1},CHn="NETWORK_SIMPLEX",Cc={123:1,51:1},IS="org.eclipse.elk.alg.layered.p1cycles",Xb="org.eclipse.elk.alg.layered.p2layers",Ctn={402:1,225:1},MHn={832:1,3:1,4:1},mu="org.eclipse.elk.alg.layered.p3order",oi="org.eclipse.elk.alg.layered.p4nodes",SHn={3:1,4:1,5:1,840:1},ih=1e-5,Bl="org.eclipse.elk.alg.layered.p4nodes.bk",LB="org.eclipse.elk.alg.layered.p5edges",nf="org.eclipse.elk.alg.layered.p5edges.orthogonal",NB="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",xB=1e-6,Vb="org.eclipse.elk.alg.layered.p5edges.splines",BB=.09999999999999998,OS=1e-8,AHn=4.71238898038469,PHn=3.141592653589793,am="org.eclipse.elk.alg.mrtree",dm="org.eclipse.elk.alg.mrtree.graph",mv="org.eclipse.elk.alg.mrtree.intermediate",IHn="Set neighbors in level",OHn="DESCENDANTS",Mtn="org.eclipse.elk.mrtree.weighting",Stn="org.eclipse.elk.mrtree.searchOrder",DS="org.eclipse.elk.alg.mrtree.options",K1="org.eclipse.elk.mrtree",DHn="org.eclipse.elk.tree",Atn="org.eclipse.elk.alg.radial",Sg=6.283185307179586,Ptn=5e-324,$Hn="org.eclipse.elk.alg.radial.intermediate",_B="org.eclipse.elk.alg.radial.intermediate.compaction",FHn={3:1,4:1,5:1,106:1},Itn="org.eclipse.elk.alg.radial.intermediate.optimization",RB="No implementation is available for the layout option ",bm="org.eclipse.elk.alg.radial.options",Otn="org.eclipse.elk.radial.orderId",Dtn="org.eclipse.elk.radial.radius",KB="org.eclipse.elk.radial.compactor",HB="org.eclipse.elk.radial.compactionStepSize",$tn="org.eclipse.elk.radial.sorter",Ftn="org.eclipse.elk.radial.wedgeCriteria",Ltn="org.eclipse.elk.radial.optimizationCriteria",ch="org.eclipse.elk.radial",LHn="org.eclipse.elk.alg.radial.p1position.wedge",Ntn="org.eclipse.elk.alg.radial.sorting",NHn=5.497787143782138,xHn=3.9269908169872414,BHn=2.356194490192345,_Hn="org.eclipse.elk.alg.rectpacking",$S="org.eclipse.elk.alg.rectpacking.firstiteration",qB="org.eclipse.elk.alg.rectpacking.options",xtn="org.eclipse.elk.rectpacking.optimizationGoal",Btn="org.eclipse.elk.rectpacking.lastPlaceShift",_tn="org.eclipse.elk.rectpacking.currentPosition",Rtn="org.eclipse.elk.rectpacking.desiredPosition",Ktn="org.eclipse.elk.rectpacking.onlyFirstIteration",Htn="org.eclipse.elk.rectpacking.rowCompaction",GB="org.eclipse.elk.rectpacking.expandToAspectRatio",qtn="org.eclipse.elk.rectpacking.targetWidth",FS="org.eclipse.elk.expandNodes",Ys="org.eclipse.elk.rectpacking",_k="org.eclipse.elk.alg.rectpacking.util",LS="No implementation available for ",Qb="org.eclipse.elk.alg.spore",Jb="org.eclipse.elk.alg.spore.options",E0="org.eclipse.elk.sporeCompaction",UB="org.eclipse.elk.underlyingLayoutAlgorithm",Gtn="org.eclipse.elk.processingOrder.treeConstruction",Utn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",zB="org.eclipse.elk.processingOrder.preferredRoot",WB="org.eclipse.elk.processingOrder.rootSelection",XB="org.eclipse.elk.structure.structureExtractionStrategy",ztn="org.eclipse.elk.compaction.compactionStrategy",Wtn="org.eclipse.elk.compaction.orthogonal",Xtn="org.eclipse.elk.overlapRemoval.maxIterations",Vtn="org.eclipse.elk.overlapRemoval.runScanline",VB="processingOrder",RHn="overlapRemoval",V3="org.eclipse.elk.sporeOverlap",KHn="org.eclipse.elk.alg.spore.p1structure",QB="org.eclipse.elk.alg.spore.p2processingorder",JB="org.eclipse.elk.alg.spore.p3execution",HHn="Invalid index: ",Q3="org.eclipse.elk.core.alg",Ag={331:1},Yb={288:1},qHn="Make sure its type is registered with the ",Qtn=" utility class.",J3="true",YB="false",GHn="Couldn't clone property '",T0=.05,Zs="org.eclipse.elk.core.options",UHn=1.2999999523162842,C0="org.eclipse.elk.box",Jtn="org.eclipse.elk.box.packingMode",zHn="org.eclipse.elk.algorithm",WHn="org.eclipse.elk.resolvedAlgorithm",Ytn="org.eclipse.elk.bendPoints",XHn="org.eclipse.elk.labelManager",VHn="org.eclipse.elk.scaleFactor",QHn="org.eclipse.elk.animate",JHn="org.eclipse.elk.animTimeFactor",YHn="org.eclipse.elk.layoutAncestors",ZHn="org.eclipse.elk.maxAnimTime",nqn="org.eclipse.elk.minAnimTime",eqn="org.eclipse.elk.progressBar",tqn="org.eclipse.elk.validateGraph",rqn="org.eclipse.elk.validateOptions",iqn="org.eclipse.elk.zoomToFit",cqn="org.eclipse.elk.font.name",uqn="org.eclipse.elk.font.size",sqn="org.eclipse.elk.edge.type",oqn="partitioning",fqn="nodeLabels",NS="portAlignment",ZB="nodeSize",n_="port",Ztn="portLabels",hqn="insideSelfLoops",wm="org.eclipse.elk.fixed",xS="org.eclipse.elk.random",lqn="port must have a parent node to calculate the port side",aqn="The edge needs to have exactly one edge section. Found: ",gm="org.eclipse.elk.core.util.adapters",Ns="org.eclipse.emf.ecore",Pg="org.eclipse.elk.graph",dqn="EMapPropertyHolder",bqn="ElkBendPoint",wqn="ElkGraphElement",gqn="ElkConnectableShape",nrn="ElkEdge",vqn="ElkEdgeSection",pqn="EModelElement",mqn="ENamedElement",ern="ElkLabel",trn="ElkNode",rrn="ElkPort",kqn={92:1,90:1},kv="org.eclipse.emf.common.notify.impl",_l="The feature '",vm="' is not a valid changeable feature",yqn="Expecting null",e_="' is not a valid feature",jqn="The feature ID",Eqn=" is not a valid feature ID",sc=32768,Tqn={105:1,92:1,90:1,56:1,49:1,97:1},xn="org.eclipse.emf.ecore.impl",Ja="org.eclipse.elk.graph.impl",pm="Recursive containment not allowed for ",Y3="The datatype '",M0="' is not a valid classifier",t_="The value '",Ig={190:1,3:1,4:1},r_="The class '",Z3="http://www.eclipse.org/elk/ElkGraph",Io=1024,irn="property",mm="value",i_="source",Cqn="properties",Mqn="identifier",c_="height",u_="width",s_="parent",o_="text",f_="children",Sqn="hierarchical",crn="sources",h_="targets",urn="sections",BS="bendPoints",srn="outgoingShape",orn="incomingShape",frn="outgoingSections",hrn="incomingSections",Hr="org.eclipse.emf.common.util",lrn="Severe implementation error in the Json to ElkGraph importer.",uh="id",Or="org.eclipse.elk.graph.json",arn="Unhandled parameter types: ",Aqn="startPoint",Pqn="An edge must have at least one source and one target (edge id: '",n4="').",Iqn="Referenced edge section does not exist: ",Oqn=" (edge id: '",drn="target",Dqn="sourcePoint",$qn="targetPoint",_S="group",ze="name",Fqn="connectableShape cannot be null",Lqn="edge cannot be null",l_="Passed edge is not 'simple'.",RS="org.eclipse.elk.graph.util",Rk="The 'no duplicates' constraint is violated",a_="targetIndex=",Ya=", size=",d_="sourceIndex=",sh={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},b_={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},KS="logging",Nqn="measureExecutionTime",xqn="parser.parse.1",Bqn="parser.parse.2",HS="parser.next.1",w_="parser.next.2",_qn="parser.next.3",Rqn="parser.next.4",Za="parser.factor.1",brn="parser.factor.2",Kqn="parser.factor.3",Hqn="parser.factor.4",qqn="parser.factor.5",Gqn="parser.factor.6",Uqn="parser.atom.1",zqn="parser.atom.2",Wqn="parser.atom.3",wrn="parser.atom.4",g_="parser.atom.5",grn="parser.cc.1",qS="parser.cc.2",Xqn="parser.cc.3",Vqn="parser.cc.5",vrn="parser.cc.6",prn="parser.cc.7",v_="parser.cc.8",Qqn="parser.ope.1",Jqn="parser.ope.2",Yqn="parser.ope.3",H1="parser.descape.1",Zqn="parser.descape.2",nGn="parser.descape.3",eGn="parser.descape.4",tGn="parser.descape.5",xs="parser.process.1",rGn="parser.quantifier.1",iGn="parser.quantifier.2",cGn="parser.quantifier.3",uGn="parser.quantifier.4",mrn="parser.quantifier.5",sGn="org.eclipse.emf.common.notify",krn={415:1,672:1},oGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},Kk={366:1,143:1},km="index=",p_={3:1,4:1,5:1,126:1},fGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},yrn={3:1,6:1,4:1,5:1,192:1},hGn={3:1,4:1,5:1,165:1,367:1},lGn=";/?:@&=+$,",aGn="invalid authority: ",dGn="EAnnotation",bGn="ETypedElement",wGn="EStructuralFeature",gGn="EAttribute",vGn="EClassifier",pGn="EEnumLiteral",mGn="EGenericType",kGn="EOperation",yGn="EParameter",jGn="EReference",EGn="ETypeParameter",pt="org.eclipse.emf.ecore.util",m_={76:1},jrn={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},TGn="org.eclipse.emf.ecore.util.FeatureMap$Entry",ku=8192,Zb=2048,ym="byte",GS="char",jm="double",Em="float",Tm="int",Cm="long",Mm="short",CGn="java.lang.Object",Og={3:1,4:1,5:1,247:1},Ern={3:1,4:1,5:1,673:1},MGn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},Bi={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},Hk="mixed",Le="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",no="kind",SGn={3:1,4:1,5:1,674:1},Trn={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},US={20:1,28:1,52:1,14:1,15:1,58:1,69:1},zS={47:1,125:1,279:1},WS={72:1,332:1},XS="The value of type '",VS="' must be of type '",Dg=1316,eo="http://www.eclipse.org/emf/2002/Ecore",QS=-32768,S0="constraints",Nr="baseType",AGn="getEStructuralFeature",PGn="getFeatureID",Sm="feature",IGn="getOperationID",Crn="operation",OGn="defaultValue",DGn="eTypeParameters",$Gn="isInstance",FGn="getEEnumLiteral",LGn="eContainingClass",qe={55:1},NGn={3:1,4:1,5:1,119:1},xGn="org.eclipse.emf.ecore.resource",BGn={92:1,90:1,591:1,1935:1},k_="org.eclipse.emf.ecore.resource.impl",Mrn="unspecified",qk="simple",JS="attribute",_Gn="attributeWildcard",YS="element",y_="elementWildcard",ef="collapse",j_="itemType",ZS="namespace",Gk="##targetNamespace",to="whiteSpace",Srn="wildcards",nd="http://www.eclipse.org/emf/2003/XMLType",E_="##any",e4="uninitialized",Uk="The multiplicity constraint is violated",nA="org.eclipse.emf.ecore.xml.type",RGn="ProcessingInstruction",KGn="SimpleAnyType",HGn="XMLTypeDocumentRoot",Ut="org.eclipse.emf.ecore.xml.type.impl",zk="INF",qGn="processing",GGn="ENTITIES_._base",Arn="minLength",Prn="ENTITY",eA="NCName",UGn="IDREFS_._base",Irn="integer",T_="token",C_="pattern",zGn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Orn="\\i\\c*",WGn="[\\i-[:]][\\c-[:]]*",XGn="nonPositiveInteger",Wk="maxInclusive",Drn="NMTOKEN",VGn="NMTOKENS_._base",$rn="nonNegativeInteger",Xk="minInclusive",QGn="normalizedString",JGn="unsignedByte",YGn="unsignedInt",ZGn="18446744073709551615",nUn="unsignedShort",eUn="processingInstruction",q1="org.eclipse.emf.ecore.xml.type.internal",t4=1114111,tUn="Internal Error: shorthands: \\u",Am="xml:isDigit",M_="xml:isWord",S_="xml:isSpace",A_="xml:isNameChar",P_="xml:isInitialNameChar",rUn="09\u0660\u0669\u06f0\u06f9\u0966\u096f\u09e6\u09ef\u0a66\u0a6f\u0ae6\u0aef\u0b66\u0b6f\u0be7\u0bef\u0c66\u0c6f\u0ce6\u0cef\u0d66\u0d6f\u0e50\u0e59\u0ed0\u0ed9\u0f20\u0f29",iUn="AZaz\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u0386\u0386\u0388\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0641\u064a\u0671\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06d5\u06e5\u06e6\u0905\u0939\u093d\u093d\u0958\u0961\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09dc\u09dd\u09df\u09e1\u09f0\u09f1\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59\u0a5c\u0a5e\u0a5e\u0a72\u0a74\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abd\u0abd\u0ae0\u0ae0\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3d\u0b3d\u0b5c\u0b5d\u0b5f\u0b61\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c60\u0c61\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cde\u0cde\u0ce0\u0ce1\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d60\u0d61\u0e01\u0e2e\u0e30\u0e30\u0e32\u0e33\u0e40\u0e45\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb0\u0eb2\u0eb3\u0ebd\u0ebd\u0ec0\u0ec4\u0f40\u0f47\u0f49\u0f69\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30a1\u30fa\u3105\u312c\u4e00\u9fa5\uac00\ud7a3",cUn="Private Use",I_="ASSIGNED",O_="\0\x7f\x80\xff\u0100\u017f\u0180\u024f\u0250\u02af\u02b0\u02ff\u0300\u036f\u0370\u03ff\u0400\u04ff\u0530\u058f\u0590\u05ff\u0600\u06ff\u0700\u074f\u0780\u07bf\u0900\u097f\u0980\u09ff\u0a00\u0a7f\u0a80\u0aff\u0b00\u0b7f\u0b80\u0bff\u0c00\u0c7f\u0c80\u0cff\u0d00\u0d7f\u0d80\u0dff\u0e00\u0e7f\u0e80\u0eff\u0f00\u0fff\u1000\u109f\u10a0\u10ff\u1100\u11ff\u1200\u137f\u13a0\u13ff\u1400\u167f\u1680\u169f\u16a0\u16ff\u1780\u17ff\u1800\u18af\u1e00\u1eff\u1f00\u1fff\u2000\u206f\u2070\u209f\u20a0\u20cf\u20d0\u20ff\u2100\u214f\u2150\u218f\u2190\u21ff\u2200\u22ff\u2300\u23ff\u2400\u243f\u2440\u245f\u2460\u24ff\u2500\u257f\u2580\u259f\u25a0\u25ff\u2600\u26ff\u2700\u27bf\u2800\u28ff\u2e80\u2eff\u2f00\u2fdf\u2ff0\u2fff\u3000\u303f\u3040\u309f\u30a0\u30ff\u3100\u312f\u3130\u318f\u3190\u319f\u31a0\u31bf\u3200\u32ff\u3300\u33ff\u3400\u4db5\u4e00\u9fff\ua000\ua48f\ua490\ua4cf\uac00\ud7a3\ue000\uf8ff\uf900\ufaff\ufb00\ufb4f\ufb50\ufdff\ufe20\ufe2f\ufe30\ufe4f\ufe50\ufe6f\ufe70\ufefe\ufeff\ufeff\uff00\uffef",Frn="UNASSIGNED",r4={3:1,117:1},uUn="org.eclipse.emf.ecore.xml.type.util",tA={3:1,4:1,5:1,368:1},Lrn="org.eclipse.xtext.xbase.lib",sUn="Cannot add elements to a Range",oUn="Cannot set elements in a Range",fUn="Cannot remove elements from a Range",rA="locale",iA="default",cA="user.agent";j.goog=j.goog||{},j.goog.global=j.goog.global||j,function i5e(){uA={},!Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!Date.now&&(Date.now=function n(){return(new Date).getTime()})}(),b(1,null,{},Yr),s.Fb=function(e){return ryn(this,e)},s.Gb=function(){return this.gm},s.Hb=function(){return Ld(this)},s.Ib=function(){return sl(Fu(this))+"@"+(kt(this)>>>0).toString(16)},s.equals=function(n){return this.Fb(n)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()},b(290,1,{290:1,2026:1},lQ),s.le=function(e){var t;return(t=new lQ).i=4,t.c=e>1?kMn(this,e-1):this,t},s.me=function(){return Gh(this),this.b},s.ne=function(){return sl(this)},s.oe=function(){return Gh(this),this.k},s.pe=function(){return 0!=(4&this.i)},s.qe=function(){return 0!=(1&this.i)},s.Ib=function(){return MV(this)},s.i=0;var $_,Zn=w(zi,"Object",1),Nrn=w(zi,"Class",290);b(1998,1,gk),w(vk,"Optional",1998),b(1170,1998,gk,vi),s.Fb=function(e){return e===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(e){return ve(e),e5(),$_},w(vk,"Absent",1170),b(628,1,{},SO),w(vk,"Joiner",628);var $Ce=Et(vk,"Predicate");b(582,1,{169:1,582:1,3:1,45:1},r4n),s.Mb=function(e){return uDn(this,e)},s.Lb=function(e){return uDn(this,e)},s.Fb=function(e){var t;return!!I(e,582)&&(t=u(e,582),iZ(this.a,t.a))},s.Hb=function(){return gQ(this.a)+306654252},s.Ib=function(){return function G5e(n){var e,t,r,i;for(e=vl(De(new ts("Predicates."),"and"),40),t=!0,i=new V4(n);i.b0},s.Pb=function(){if(this.c>=this.d)throw C(new ic);return this.Xb(this.c++)},s.Tb=function(){return this.c},s.Ub=function(){if(this.c<=0)throw C(new ic);return this.Xb(--this.c)},s.Vb=function(){return this.c-1},s.c=0,s.d=0,w(an,"AbstractIndexedListIterator",386),b(699,198,N3),s.Ob=function(){return TF(this)},s.Pb=function(){return kV(this)},s.e=1,w(an,"AbstractIterator",699),b(1986,1,{224:1}),s.Zb=function(){return this.f||(this.f=this.ac())},s.Fb=function(e){return HF(this,e)},s.Hb=function(){return kt(this.Zb())},s.dc=function(){return 0==this.gc()},s.ec=function(){return $2(this)},s.Ib=function(){return xi(this.Zb())},w(an,"AbstractMultimap",1986),b(726,1986,Ua),s.$b=function(){vC(this)},s._b=function(e){return a8n(this,e)},s.ac=function(){return new lp(this,this.c)},s.ic=function(e){return this.hc()},s.bc=function(){return new qw(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new I9n(this)},s.lc=function(){return VL(this.c.vc().Nc(),new qu,64,this.d)},s.cc=function(e){return it(this,e)},s.fc=function(e){return I7(this,e)},s.gc=function(){return this.d},s.mc=function(e){return An(),new Zv(e)},s.nc=function(){return new P9n(this)},s.oc=function(){return VL(this.c.Cc().Nc(),new Eu,64,this.d)},s.pc=function(e,t){return new JT(this,e,t,null)},s.d=0,w(an,"AbstractMapBasedMultimap",726),b(1631,726,Ua),s.hc=function(){return new Oc(this.a)},s.jc=function(){return An(),An(),Gr},s.cc=function(e){return u(it(this,e),15)},s.fc=function(e){return u(I7(this,e),15)},s.Zb=function(){return B2(this)},s.Fb=function(e){return HF(this,e)},s.qc=function(e){return u(it(this,e),15)},s.rc=function(e){return u(I7(this,e),15)},s.mc=function(e){return q8(u(e,15))},s.pc=function(e,t){return CSn(this,e,u(t,15),null)},w(an,"AbstractListMultimap",1631),b(732,1,mr),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),42),this.b=e.cd(),this.a=u(e.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},w(an,"AbstractMapBasedMultimap/Itr",732),b(1099,732,mr,P9n),s.sc=function(e,t){return t},w(an,"AbstractMapBasedMultimap/1",1099),b(1100,1,{},Eu),s.Kb=function(e){return u(e,14).Nc()},w(an,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),b(1101,732,mr,I9n),s.sc=function(e,t){return new Id(e,t)},w(an,"AbstractMapBasedMultimap/2",1101);var xrn=Et(fe,"Map");b(1967,1,k0),s.wc=function(e){g6(this,e)},s.yc=function(e,t,r){return cL(this,e,t,r)},s.$b=function(){this.vc().$b()},s.tc=function(e){return DL(this,e)},s._b=function(e){return!!sY(this,e,!1)},s.uc=function(e){var r,i;for(r=this.vc().Kc();r.Ob();)if(i=u(r.Pb(),42).dd(),B(e)===B(i)||null!=e&&et(e,i))return!0;return!1},s.Fb=function(e){var t,r,i;if(e===this)return!0;if(!I(e,83)||(i=u(e,83),this.gc()!=i.gc()))return!1;for(r=i.vc().Kc();r.Ob();)if(t=u(r.Pb(),42),!this.tc(t))return!1;return!0},s.xc=function(e){return Qi(sY(this,e,!1))},s.Hb=function(){return uQ(this.vc())},s.dc=function(){return 0==this.gc()},s.ec=function(){return new Yv(this)},s.zc=function(e,t){throw C(new p1("Put not supported on this map"))},s.Ac=function(e){w6(this,e)},s.Bc=function(e){return Qi(sY(this,e,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return oLn(this)},s.Cc=function(){return new Kh(this)},w(fe,"AbstractMap",1967),b(1987,1967,k0),s.bc=function(){return new Gj(this)},s.vc=function(){return TTn(this)},s.ec=function(){return this.g||(this.g=this.bc())},s.Cc=function(){return this.i||(this.i=new i7n(this))},w(an,"Maps/ViewCachingAbstractMap",1987),b(389,1987,k0,lp),s.xc=function(e){return function M0e(n,e){var t;return(t=u(Sb(n.d,e),14))?n.e.pc(e,t):null}(this,e)},s.Bc=function(e){return function Hwe(n,e){var t,r;return(t=u(n.d.Bc(e),14))?((r=n.e.hc()).Gc(t),n.e.d-=t.gc(),t.$b(),r):null}(this,e)},s.$b=function(){this.d==this.e.c?this.e.$b():ZE(new AW(this))},s._b=function(e){return _Dn(this.d,e)},s.Ec=function(){return new s4n(this)},s.Dc=function(){return this.Ec()},s.Fb=function(e){return this===e||et(this.d,e)},s.Hb=function(){return kt(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return xi(this.d)},w(an,"AbstractMapBasedMultimap/AsMap",389);var Mf=Et(zi,"Iterable");b(28,1,qb),s.Jc=function(e){Ir(this,e)},s.Lc=function(){return this.Oc()},s.Nc=function(){return new Fn(this,0)},s.Oc=function(){return new Dn(null,this.Nc())},s.Fc=function(e){throw C(new p1("Add not supported on this collection"))},s.Gc=function(e){return zr(this,e)},s.$b=function(){dX(this)},s.Hc=function(e){return Ab(this,e,!1)},s.Ic=function(e){return y7(this,e)},s.dc=function(){return 0==this.gc()},s.Mc=function(e){return Ab(this,e,!0)},s.Pc=function(){return KW(this)},s.Qc=function(e){return R7(this,e)},s.Ib=function(){return Il(this)},w(fe,"AbstractCollection",28);var ro=Et(fe,"Set");b(Ef,28,pu),s.Nc=function(){return new Fn(this,1)},s.Fb=function(e){return D$n(this,e)},s.Hb=function(){return uQ(this)},w(fe,"AbstractSet",Ef),b(1970,Ef,pu),w(an,"Sets/ImprovedAbstractSet",1970),b(1971,1970,pu),s.$b=function(){this.Rc().$b()},s.Hc=function(e){return d$n(this,e)},s.dc=function(){return this.Rc().dc()},s.Mc=function(e){var t;return!!this.Hc(e)&&(t=u(e,42),this.Rc().ec().Mc(t.cd()))},s.gc=function(){return this.Rc().gc()},w(an,"Maps/EntrySet",1971),b(1097,1971,pu,s4n),s.Hc=function(e){return LQ(this.a.d.vc(),e)},s.Kc=function(){return new AW(this.a)},s.Rc=function(){return this.a},s.Mc=function(e){var t;return!!LQ(this.a.d.vc(),e)&&(t=u(e,42),ade(this.a.e,t.cd()),!0)},s.Nc=function(){return L8(this.a.d.vc().Nc(),new o4n(this.a))},w(an,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),b(1098,1,{},o4n),s.Kb=function(e){return bAn(this.a,u(e,42))},w(an,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),b(730,1,mr,AW),s.Nb=function(e){Ar(this,e)},s.Pb=function(){var e;return e=u(this.b.Pb(),42),this.a=u(e.dd(),14),bAn(this.c,e)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){Yw(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},w(an,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),b(532,1970,pu,Gj),s.$b=function(){this.b.$b()},s.Hc=function(e){return this.b._b(e)},s.Jc=function(e){ve(e),this.b.wc(new C4n(e))},s.dc=function(){return this.b.dc()},s.Kc=function(){return new t5(this.b.vc().Kc())},s.Mc=function(e){return!!this.b._b(e)&&(this.b.Bc(e),!0)},s.gc=function(){return this.b.gc()},w(an,"Maps/KeySet",532),b(318,532,pu,qw),s.$b=function(){ZE(new nU(this,this.b.vc().Kc()))},s.Ic=function(e){return this.b.ec().Ic(e)},s.Fb=function(e){return this===e||et(this.b.ec(),e)},s.Hb=function(){return kt(this.b.ec())},s.Kc=function(){return new nU(this,this.b.vc().Kc())},s.Mc=function(e){var t,r;return r=0,(t=u(this.b.Bc(e),14))&&(r=t.gc(),t.$b(),this.a.d-=r),r>0},s.Nc=function(){return this.b.ec().Nc()},w(an,"AbstractMapBasedMultimap/KeySet",318),b(731,1,mr,nU),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),42),this.a.cd()},s.Qb=function(){var e;Yw(!!this.a),e=u(this.a.dd(),14),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},w(an,"AbstractMapBasedMultimap/KeySet/1",731),b(491,389,{83:1,161:1},A8),s.bc=function(){return this.Sc()},s.ec=function(){return this.Tc()},s.Sc=function(){return new i8(this.c,this.Uc())},s.Tc=function(){return this.b||(this.b=this.Sc())},s.Uc=function(){return u(this.d,161)},w(an,"AbstractMapBasedMultimap/SortedAsMap",491),b(542,491,WRn,RE),s.bc=function(){return new hp(this.a,u(u(this.d,161),171))},s.Sc=function(){return new hp(this.a,u(u(this.d,161),171))},s.ec=function(){return u(this.b||(this.b=new hp(this.a,u(u(this.d,161),171))),271)},s.Tc=function(){return u(this.b||(this.b=new hp(this.a,u(u(this.d,161),171))),271)},s.Uc=function(){return u(u(this.d,161),171)},w(an,"AbstractMapBasedMultimap/NavigableAsMap",542),b(490,318,XRn,i8),s.Nc=function(){return this.b.ec().Nc()},w(an,"AbstractMapBasedMultimap/SortedKeySet",490),b(388,490,mnn,hp),w(an,"AbstractMapBasedMultimap/NavigableKeySet",388),b(541,28,qb,JT),s.Fc=function(e){var t,r;return Lu(this),r=this.d.dc(),(t=this.d.Fc(e))&&(++this.f.d,r&&D8(this)),t},s.Gc=function(e){var t,r,i;return!e.dc()&&(Lu(this),i=this.d.gc(),(t=this.d.Gc(e))&&(r=this.d.gc(),this.f.d+=r-i,0==i&&D8(this)),t)},s.$b=function(){var e;Lu(this),0!=(e=this.d.gc())&&(this.d.$b(),this.f.d-=e,iT(this))},s.Hc=function(e){return Lu(this),this.d.Hc(e)},s.Ic=function(e){return Lu(this),this.d.Ic(e)},s.Fb=function(e){return e===this||(Lu(this),et(this.d,e))},s.Hb=function(){return Lu(this),kt(this.d)},s.Kc=function(){return Lu(this),new bW(this)},s.Mc=function(e){var t;return Lu(this),(t=this.d.Mc(e))&&(--this.f.d,iT(this)),t},s.gc=function(){return Hkn(this)},s.Nc=function(){return Lu(this),this.d.Nc()},s.Ib=function(){return Lu(this),xi(this.d)},w(an,"AbstractMapBasedMultimap/WrappedCollection",541);var Bs=Et(fe,"List");b(728,541,{20:1,28:1,14:1,15:1},qW),s.ad=function(e){Jw(this,e)},s.Nc=function(){return Lu(this),this.d.Nc()},s.Vc=function(e,t){var r;Lu(this),r=this.d.dc(),u(this.d,15).Vc(e,t),++this.a.d,r&&D8(this)},s.Wc=function(e,t){var r,i,c;return!t.dc()&&(Lu(this),c=this.d.gc(),(r=u(this.d,15).Wc(e,t))&&(i=this.d.gc(),this.a.d+=i-c,0==c&&D8(this)),r)},s.Xb=function(e){return Lu(this),u(this.d,15).Xb(e)},s.Xc=function(e){return Lu(this),u(this.d,15).Xc(e)},s.Yc=function(){return Lu(this),new yyn(this)},s.Zc=function(e){return Lu(this),new FCn(this,e)},s.$c=function(e){var t;return Lu(this),t=u(this.d,15).$c(e),--this.a.d,iT(this),t},s._c=function(e,t){return Lu(this),u(this.d,15)._c(e,t)},s.bd=function(e,t){return Lu(this),CSn(this.a,this.e,u(this.d,15).bd(e,t),this.b?this.b:this)},w(an,"AbstractMapBasedMultimap/WrappedList",728),b(1096,728,{20:1,28:1,14:1,15:1,54:1},ljn),w(an,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),b(620,1,mr,bW),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return Dp(this),this.b.Ob()},s.Pb=function(){return Dp(this),this.b.Pb()},s.Qb=function(){Xyn(this)},w(an,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),b(729,620,Mh,yyn,FCn),s.Qb=function(){Xyn(this)},s.Rb=function(e){var t;t=0==Hkn(this.a),(Dp(this),u(this.b,125)).Rb(e),++this.a.a.d,t&&D8(this.a)},s.Sb=function(){return(Dp(this),u(this.b,125)).Sb()},s.Tb=function(){return(Dp(this),u(this.b,125)).Tb()},s.Ub=function(){return(Dp(this),u(this.b,125)).Ub()},s.Vb=function(){return(Dp(this),u(this.b,125)).Vb()},s.Wb=function(e){(Dp(this),u(this.b,125)).Wb(e)},w(an,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),b(727,541,XRn,Lz),s.Nc=function(){return Lu(this),this.d.Nc()},w(an,"AbstractMapBasedMultimap/WrappedSortedSet",727),b(1095,727,mnn,dyn),w(an,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),b(1094,541,pu,Cjn),s.Nc=function(){return Lu(this),this.d.Nc()},w(an,"AbstractMapBasedMultimap/WrappedSet",1094),b(1103,1,{},qu),s.Kb=function(e){return function pde(n){var e;return e=n.cd(),L8(u(n.dd(),14).Nc(),new f4n(e))}(u(e,42))},w(an,"AbstractMapBasedMultimap/lambda$1$Type",1103),b(1102,1,{},f4n),s.Kb=function(e){return new Id(this.a,e)},w(an,"AbstractMapBasedMultimap/lambda$2$Type",1102);var F_,L_,N_,dUn,ed=Et(fe,"Map/Entry");b(345,1,QM),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),Wf(this.cd(),t.cd())&&Wf(this.dd(),t.dd()))},s.Hb=function(){var e,t;return e=this.cd(),t=this.dd(),(null==e?0:kt(e))^(null==t?0:kt(t))},s.ed=function(e){throw C(new ye)},s.Ib=function(){return this.cd()+"="+this.dd()},w(an,VRn,345),b(1988,28,qb),s.$b=function(){this.fd().$b()},s.Hc=function(e){var t;return!!I(e,42)&&(t=u(e,42),function Yle(n,e,t){var r;return!!(r=u(n.Zb().xc(e),14))&&r.Hc(t)}(this.fd(),t.cd(),t.dd()))},s.Mc=function(e){var t;return!!I(e,42)&&(t=u(e,42),cSn(this.fd(),t.cd(),t.dd()))},s.gc=function(){return this.fd().d},w(an,"Multimaps/Entries",1988),b(733,1988,qb,Iq),s.Kc=function(){return this.a.kc()},s.fd=function(){return this.a},s.Nc=function(){return this.a.lc()},w(an,"AbstractMultimap/Entries",733),b(734,733,pu,IG),s.Nc=function(){return this.a.lc()},s.Fb=function(e){return CY(this,e)},s.Hb=function(){return uOn(this)},w(an,"AbstractMultimap/EntrySet",734),b(735,28,qb,Oq),s.$b=function(){this.a.$b()},s.Hc=function(e){return function Nwe(n,e){var r;for(r=n.Zb().Cc().Kc();r.Ob();)if(u(r.Pb(),14).Hc(e))return!0;return!1}(this.a,e)},s.Kc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Nc=function(){return this.a.oc()},w(an,"AbstractMultimap/Values",735),b(1989,28,{835:1,20:1,28:1,14:1}),s.Jc=function(e){ve(e),Uw(this).Jc(new T4n(e))},s.Nc=function(){var e;return VL(e=Uw(this).Nc(),new hj,64|1296&e.qd(),this.a.d)},s.Fc=function(e){return _G(),!0},s.Gc=function(e){return ve(this),ve(e),I(e,543)?rae(u(e,835)):!e.dc()&&wF(this,e.Kc())},s.Hc=function(e){var t;return((t=u(Sb(B2(this.a),e),14))?t.gc():0)>0},s.Fb=function(e){return function Qme(n,e){var t,r,i;if(e===n)return!0;if(I(e,543)){if(i=u(e,835),n.a.d!=i.a.d||Uw(n).gc()!=Uw(i).gc())return!1;for(r=Uw(i).Kc();r.Ob();)if(LMn(n,(t=u(r.Pb(),416)).a.cd())!=u(t.a.dd(),14).gc())return!1;return!0}return!1}(this,e)},s.Hb=function(){return kt(Uw(this))},s.dc=function(){return Uw(this).dc()},s.Mc=function(e){return CNn(this,e,1)>0},s.Ib=function(){return xi(Uw(this))},w(an,"AbstractMultiset",1989),b(1991,1970,pu),s.$b=function(){vC(this.a.a)},s.Hc=function(e){var r;return!(!I(e,492)||(r=u(e,416),u(r.a.dd(),14).gc()<=0||LMn(this.a,r.a.cd())!=u(r.a.dd(),14).gc()))},s.Mc=function(e){var t,r,i;return!(!I(e,492)||(r=u(e,416),t=r.a.cd(),i=u(r.a.dd(),14).gc(),0==i))&&function B6e(n,e,t){var r,c,o;return os(t,"oldCount"),os(0,"newCount"),((r=u(Sb(B2(n.a),e),14))?r.gc():0)==t&&(os(0,"count"),(o=-((c=u(Sb(B2(n.a),e),14))?c.gc():0))>0?_G():o<0&&CNn(n,e,-o),!0)}(this.a,t,i)},w(an,"Multisets/EntrySet",1991),b(1109,1991,pu,h4n),s.Kc=function(){return new B9n(TTn(B2(this.a.a)).Kc())},s.gc=function(){return B2(this.a.a).gc()},w(an,"AbstractMultiset/EntrySet",1109),b(619,726,Ua),s.hc=function(){return this.gd()},s.jc=function(){return this.hd()},s.cc=function(e){return this.jd(e)},s.fc=function(e){return this.kd(e)},s.Zb=function(){return this.f||(this.f=this.ac())},s.hd=function(){return An(),An(),aA},s.Fb=function(e){return HF(this,e)},s.jd=function(e){return u(it(this,e),21)},s.kd=function(e){return u(I7(this,e),21)},s.mc=function(e){return An(),new up(u(e,21))},s.pc=function(e,t){return new Cjn(this,e,u(t,21))},w(an,"AbstractSetMultimap",619),b(1657,619,Ua),s.hc=function(){return new ol(this.b)},s.gd=function(){return new ol(this.b)},s.jc=function(){return iX(new ol(this.b))},s.hd=function(){return iX(new ol(this.b))},s.cc=function(e){return u(u(it(this,e),21),84)},s.jd=function(e){return u(u(it(this,e),21),84)},s.fc=function(e){return u(u(I7(this,e),21),84)},s.kd=function(e){return u(u(I7(this,e),21),84)},s.mc=function(e){return I(e,271)?iX(u(e,271)):(An(),new bz(u(e,84)))},s.Zb=function(){return this.f||(this.f=I(this.c,171)?new RE(this,u(this.c,171)):I(this.c,161)?new A8(this,u(this.c,161)):new lp(this,this.c))},s.pc=function(e,t){return I(t,271)?new dyn(this,e,u(t,271)):new Lz(this,e,u(t,84))},w(an,"AbstractSortedSetMultimap",1657),b(1658,1657,Ua),s.Zb=function(){return u(u(this.f||(this.f=I(this.c,171)?new RE(this,u(this.c,171)):I(this.c,161)?new A8(this,u(this.c,161)):new lp(this,this.c)),161),171)},s.ec=function(){return u(u(this.i||(this.i=I(this.c,171)?new hp(this,u(this.c,171)):I(this.c,161)?new i8(this,u(this.c,161)):new qw(this,this.c)),84),271)},s.bc=function(){return I(this.c,171)?new hp(this,u(this.c,171)):I(this.c,161)?new i8(this,u(this.c,161)):new qw(this,this.c)},w(an,"AbstractSortedKeySortedSetMultimap",1658),b(2010,1,{1947:1}),s.Fb=function(e){return function S3e(n,e){var i;return e===n||!!I(e,664)&&(i=u(e,1947),D$n(n.g||(n.g=new eO(n)),i.g||(i.g=new eO(i))))}(this,e)},s.Hb=function(){return uQ(this.g||(this.g=new eO(this)))},s.Ib=function(){return oLn(this.f||(this.f=new uz(this)))},w(an,"AbstractTable",2010),b(665,Ef,pu,eO),s.$b=function(){X9n()},s.Hc=function(e){var t,r;return!!I(e,468)&&(t=u(e,682),!!(r=u(Sb(WTn(this.a),ll(t.c.e,t.b)),83))&&LQ(r.vc(),new Id(ll(t.c.c,t.a),U2(t.c,t.b,t.a))))},s.Kc=function(){return function l1e(n){return new Hyn(n,n.e.Hd().gc()*n.c.Hd().gc())}(this.a)},s.Mc=function(e){var t,r;return!!I(e,468)&&(t=u(e,682),!!(r=u(Sb(WTn(this.a),ll(t.c.e,t.b)),83))&&function fge(n,e){ve(n);try{return n.Mc(e)}catch(t){if(I(t=jt(t),205)||I(t,173))return!1;throw C(t)}}(r.vc(),new Id(ll(t.c.c,t.a),U2(t.c,t.b,t.a))))},s.gc=function(){return cTn(this.a)},s.Nc=function(){return function uae(n){return UD(n.e.Hd().gc()*n.c.Hd().gc(),273,new i4n(n))}(this.a)},w(an,"AbstractTable/CellSet",665),b(1928,28,qb,l4n),s.$b=function(){X9n()},s.Hc=function(e){return function p4e(n,e){var t,r,i,c,f,h,l;for(h=0,l=(f=n.a).length;h=0?"+":"")+(r/60|0),t=EE(j.Math.abs(r)%60),(pLn(),PUn)[this.q.getDay()]+" "+IUn[this.q.getMonth()]+" "+EE(this.q.getDate())+" "+EE(this.q.getHours())+":"+EE(this.q.getMinutes())+":"+EE(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var kUn,yUn,jUn,H_,Rl,Hrn,EUn,qrn,Grn,fA=w(fe,"Date",199);b(1915,199,sKn,UFn),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,w("com.google.gwt.i18n.shared.impl","DateRecord",1915),b(1966,1,{}),s.fe=function(){return null},s.ge=function(){return null},s.he=function(){return null},s.ie=function(){return null},s.je=function(){return null},w(fv,"JSONValue",1966),b(216,1966,{216:1},da,$q),s.Fb=function(e){return!!I(e,216)&&DX(this.a,u(e,216).a)},s.ee=function(){return Fte},s.Hb=function(){return mX(this.a)},s.fe=function(){return this},s.Ib=function(){var e,t,r;for(r=new ts("["),t=0,e=this.a.length;t0&&(r.a+=","),cc(r,yb(this,t));return r.a+="]",r.a},w(fv,"JSONArray",216),b(483,1966,{483:1},Fq),s.ee=function(){return Lte},s.ge=function(){return this},s.Ib=function(){return Hn(),""+this.a},s.a=!1,w(fv,"JSONBoolean",483),b(985,60,s1,_9n),w(fv,"JSONException",985),b(1023,1966,{},xI),s.ee=function(){return Rte},s.Ib=function(){return iu},w(fv,"JSONNull",1023),b(258,1966,{258:1},yj),s.Fb=function(e){return!!I(e,258)&&this.a==u(e,258).a},s.ee=function(){return Nte},s.Hb=function(){return gp(this.a)},s.he=function(){return this},s.Ib=function(){return this.a+""},s.a=0,w(fv,"JSONNumber",258),b(183,1966,{183:1},v2,G9),s.Fb=function(e){return!!I(e,183)&&DX(this.a,u(e,183).a)},s.ee=function(){return xte},s.Hb=function(){return mX(this.a)},s.ie=function(){return this},s.Ib=function(){var e,t,r,i,c,f;for(f=new ts("{"),e=!0,i=0,c=(r=AF(this,L(tn,q,2,0,6,1))).length;i=0?":"+this.c:"")+")"},s.c=0;var nin=w(zi,"StackTraceElement",310);aUn={3:1,475:1,35:1,2:1};var ein,tn=w(zi,ynn,2);b(107,418,{475:1},m1,s5,Gs),w(zi,"StringBuffer",107),b(100,418,{475:1},cl,nb,ts),w(zi,"StringBuilder",100),b(687,73,Tx,KG),w(zi,"StringIndexOutOfBoundsException",687),b(2043,1,{}),b(844,1,{},Kt),s.Kb=function(e){return u(e,78).e},w(zi,"Throwable/lambda$0$Type",844),b(41,60,{3:1,102:1,60:1,78:1,41:1},ye,p1),w(zi,"UnsupportedOperationException",41),b(240,236,{3:1,35:1,236:1,240:1},a7,QG),s.wd=function(e){return YBn(this,u(e,240))},s.ke=function(){return Lb(F_n(this))},s.Fb=function(e){var t;return this===e||!!I(e,240)&&(t=u(e,240),this.e==t.e&&0==YBn(this,t))},s.Hb=function(){var e;return 0!=this.b?this.b:this.a<54?(e=tu(this.f),this.b=ge(rr(e,-1)),this.b=33*this.b+ge(rr(wl(e,32),-1)),this.b=17*this.b+Ht(this.e),this.b):(this.b=17*DDn(this.c)+Ht(this.e),this.b)},s.Ib=function(){return F_n(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var MUn,rd,tin,rin,iin,cin,uin,sin,G_=w("java.math","BigDecimal",240);b(91,236,{3:1,35:1,236:1,91:1},yJ,S1,Gw,rY,L$n,dl),s.wd=function(e){return I$n(this,u(e,91))},s.ke=function(){return Lb(JN(this,0))},s.Fb=function(e){return nJ(this,e)},s.Hb=function(){return DDn(this)},s.Ib=function(){return JN(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var U_,hA,oin,z_,lA,u4,SUn,AUn,jv,Om,$g=w("java.math","BigInteger",91);b(488,1967,k0),s.$b=function(){Cu(this)},s._b=function(e){return Vu(this,e)},s.uc=function(e){return gDn(this,e,this.g)||gDn(this,e,this.f)},s.vc=function(){return new wa(this)},s.xc=function(e){return te(this,e)},s.zc=function(e,t){return tt(this,e,t)},s.Bc=function(e){return G2(this,e)},s.gc=function(){return h5(this)},w(fe,"AbstractHashMap",488),b(261,Ef,pu,wa),s.$b=function(){this.a.$b()},s.Hc=function(e){return bSn(this,e)},s.Kc=function(){return new Na(this.a)},s.Mc=function(e){var t;return!!bSn(this,e)&&(t=u(e,42).cd(),this.a.Bc(t),!0)},s.gc=function(){return this.a.gc()},w(fe,"AbstractHashMap/EntrySet",261),b(262,1,mr,Na),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return Zd(this)},s.Ob=function(){return this.b},s.Qb=function(){lPn(this)},s.b=!1,w(fe,"AbstractHashMap/EntrySetIterator",262),b(417,1,mr,V4),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return f8(this)},s.Pb=function(){return NCn(this)},s.Qb=function(){Qu(this)},s.b=0,s.c=-1,w(fe,"AbstractList/IteratorImpl",417),b(96,417,Mh,Sr),s.Qb=function(){Qu(this)},s.Rb=function(e){fb(this,e)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return ne(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(e){ub(-1!=this.c),this.a._c(this.c,e)},w(fe,"AbstractList/ListIteratorImpl",96),b(219,52,R3,yh),s.Vc=function(e,t){vb(e,this.b),this.c.Vc(this.a+e,t),++this.b},s.Xb=function(e){return Ln(e,this.b),this.c.Xb(this.a+e)},s.$c=function(e){var t;return Ln(e,this.b),t=this.c.$c(this.a+e),--this.b,t},s._c=function(e,t){return Ln(e,this.b),this.c._c(this.a+e,t)},s.gc=function(){return this.b},s.a=0,s.b=0,w(fe,"AbstractList/SubList",219),b(384,Ef,pu,Yv),s.$b=function(){this.a.$b()},s.Hc=function(e){return this.a._b(e)},s.Kc=function(){return new Rq(this.a.vc().Kc())},s.Mc=function(e){return!!this.a._b(e)&&(this.a.Bc(e),!0)},s.gc=function(){return this.a.gc()},w(fe,"AbstractMap/1",384),b(691,1,mr,Rq),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){return u(this.a.Pb(),42).cd()},s.Qb=function(){this.a.Qb()},w(fe,"AbstractMap/1/1",691),b(226,28,qb,Kh),s.$b=function(){this.a.$b()},s.Hc=function(e){return this.a.uc(e)},s.Kc=function(){return new J0(this.a.vc().Kc())},s.gc=function(){return this.a.gc()},w(fe,"AbstractMap/2",226),b(294,1,mr,J0),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){return u(this.a.Pb(),42).dd()},s.Qb=function(){this.a.Qb()},w(fe,"AbstractMap/2/1",294),b(484,1,{484:1,42:1}),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),mc(this.d,t.cd())&&mc(this.e,t.dd()))},s.cd=function(){return this.d},s.dd=function(){return this.e},s.Hb=function(){return Rw(this.d)^Rw(this.e)},s.ed=function(e){return Hz(this,e)},s.Ib=function(){return this.d+"="+this.e},w(fe,"AbstractMap/AbstractEntry",484),b(383,484,{484:1,383:1,42:1},iE),w(fe,"AbstractMap/SimpleEntry",383),b(1984,1,Ax),s.Fb=function(e){var t;return!!I(e,42)&&(t=u(e,42),mc(this.cd(),t.cd())&&mc(this.dd(),t.dd()))},s.Hb=function(){return Rw(this.cd())^Rw(this.dd())},s.Ib=function(){return this.cd()+"="+this.dd()},w(fe,VRn,1984),b(1992,1967,WRn),s.tc=function(e){return jAn(this,e)},s._b=function(e){return FD(this,e)},s.vc=function(){return new Uq(this)},s.xc=function(e){return Qi(yQ(this,e))},s.ec=function(){return new W9(this)},w(fe,"AbstractNavigableMap",1992),b(739,Ef,pu,Uq),s.Hc=function(e){return I(e,42)&&jAn(this.b,u(e,42))},s.Kc=function(){return new K5(this.b)},s.Mc=function(e){var t;return!!I(e,42)&&(t=u(e,42),fPn(this.b,t))},s.gc=function(){return this.b.c},w(fe,"AbstractNavigableMap/EntrySet",739),b(493,Ef,mnn,W9),s.Nc=function(){return new tE(this)},s.$b=function(){r5(this.a)},s.Hc=function(e){return FD(this.a,e)},s.Kc=function(){return new X9(new K5(new B5(this.a).b))},s.Mc=function(e){return!!FD(this.a,e)&&(e6(this.a,e),!0)},s.gc=function(){return this.a.c},w(fe,"AbstractNavigableMap/NavigableKeySet",493),b(494,1,mr,X9),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return f8(this.a.a)},s.Pb=function(){return BE(this.a).cd()},s.Qb=function(){aEn(this.a)},w(fe,"AbstractNavigableMap/NavigableKeySet/1",494),b(2004,28,qb),s.Fc=function(e){return _p(j3(this,e)),!0},s.Gc=function(e){return _n(e),zE(e!=this,"Can't add a queue to itself"),zr(this,e)},s.$b=function(){for(;null!=gF(this););},w(fe,"AbstractQueue",2004),b(302,28,{4:1,20:1,28:1,14:1},Ow,_Mn),s.Fc=function(e){return RX(this,e),!0},s.$b=function(){zX(this)},s.Hc=function(e){return _On(new n6(this),e)},s.dc=function(){return i5(this)},s.Kc=function(){return new n6(this)},s.Mc=function(e){return function Q1e(n,e){return!!_On(n,e)&&(xIn(n),!0)}(new n6(this),e)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Nc=function(){return new Fn(this,272)},s.Qc=function(e){var t;return e.length<(t=this.c-this.b&this.a.length-1)&&(e=Bj(new Array(t),e)),JIn(this,e,t),e.length>t&&St(e,t,null),e},s.b=0,s.c=0,w(fe,"ArrayDeque",302),b(446,1,mr,n6),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return _C(this)},s.Qb=function(){xIn(this)},s.a=0,s.b=0,s.c=-1,w(fe,"ArrayDeque/IteratorImpl",446),b(12,52,hKn,X,Oc,bu),s.Vc=function(e,t){lb(this,e,t)},s.Fc=function(e){return W(this,e)},s.Wc=function(e,t){return SQ(this,e,t)},s.Gc=function(e){return Qt(this,e)},s.$b=function(){this.c=L(Zn,rn,1,0,5,1)},s.Hc=function(e){return-1!=Li(this,e,0)},s.Jc=function(e){Zc(this,e)},s.Xb=function(e){return un(this,e)},s.Xc=function(e){return Li(this,e,0)},s.dc=function(){return 0==this.c.length},s.Kc=function(){return new E(this)},s.$c=function(e){return M1(this,e)},s.Mc=function(e){return Jc(this,e)},s.Ud=function(e,t){BMn(this,e,t)},s._c=function(e,t){return Ps(this,e,t)},s.gc=function(){return this.c.length},s.ad=function(e){ar(this,e)},s.Pc=function(){return ED(this)},s.Qc=function(e){return yf(this,e)};var Gr,$h,aA,s4,fin,hin,lin,PUn,IUn,FCe=w(fe,"ArrayList",12);b(7,1,mr,E),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return Ki(this)},s.Pb=function(){return y(this)},s.Qb=function(){Q5(this)},s.a=0,s.b=-1,w(fe,"ArrayList/1",7),b(2013,j.Function,{},W4),s.te=function(e,t){return Jt(e,t)},b(154,52,lKn,Uu),s.Hc=function(e){return-1!=_In(this,e)},s.Jc=function(e){var r,i,c;for(_n(e),i=0,c=(r=this.a).length;i>>0).toString(16))},s.f=0,s.i=Wt;var GUn,gA=w(Ih,"CNode",57);b(814,1,{},yG),w(Ih,"CNode/CNodeBuilder",814),b(1525,1,{},Mln),s.Oe=function(e,t){return 0},s.Pe=function(e,t){return 0},w(Ih,mKn,1525),b(1790,1,{},Sln),s.Le=function(e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,T;for(a=Ft,i=new E(e.a.b);i.ai.d.c||i.d.c==o.d.c&&i.d.b0?e+this.n.d+this.n.a:0},s.Se=function(){var t,r,i,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].Se());else if(this.g)c=VQ(this,RL(this,null,!0));else for(Vo(),r=0,i=(t=S(M(ew,1),U,232,0,[nc,Nc,ec])).length;r0?c+this.n.b+this.n.c:0},s.Te=function(){var e,t,r,i,c;if(this.g)for(e=RL(this,null,!1),Vo(),i=0,c=(r=S(M(ew,1),U,232,0,[nc,Nc,ec])).length;i0&&(i[0]+=this.d,r-=i[0]),i[2]>0&&(i[2]+=this.d,r-=i[2]),this.c.a=j.Math.max(0,r),this.c.d=t.d+e.d+(this.c.a-r)/2,i[1]=j.Math.max(i[1],r),ZX(this,Nc,t.d+e.d+i[0]-(i[1]-r)/2,i)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var Z_=0,vA=0;w(Wa,"GridContainerCell",1473),b(461,22,{3:1,35:1,22:1,461:1},xO);var Kl,oh,Oo,ezn,nzn=Me(Wa,"HorizontalLabelAlignment",461,Ie,function lle(){return Mu(),S(M(nzn,1),U,461,0,[oh,Kl,Oo])},function Vue(n){return Mu(),$e((xAn(),ezn),n)});b(306,212,{212:1,306:1},cMn,aIn,tMn),s.Re=function(){return qEn(this)},s.Se=function(){return MW(this)},s.a=0,s.c=!1;var GCe=w(Wa,"LabelCell",306);b(244,326,{212:1,326:1,244:1},S6),s.Re=function(){return Y7(this)},s.Se=function(){return Z7(this)},s.Te=function(){ON(this)},s.Ue=function(){DN(this)},s.b=0,s.c=0,s.d=!1,w(Wa,"StripContainerCell",244),b(1626,1,Xe,Fln),s.Mb=function(e){return function ore(n){return!!n&&n.k}(u(e,212))},w(Wa,"StripContainerCell/lambda$0$Type",1626),b(1627,1,{},Lln),s.Fe=function(e){return u(e,212).Se()},w(Wa,"StripContainerCell/lambda$1$Type",1627),b(1628,1,Xe,Nln),s.Mb=function(e){return function fre(n){return!!n&&n.j}(u(e,212))},w(Wa,"StripContainerCell/lambda$2$Type",1628),b(1629,1,{},xln),s.Fe=function(e){return u(e,212).Re()},w(Wa,"StripContainerCell/lambda$3$Type",1629),b(462,22,{3:1,35:1,22:1,462:1},BO);var Do,Hl,tf,rzn,tzn=Me(Wa,"VerticalLabelAlignment",462,Ie,function ale(){return Yc(),S(M(tzn,1),U,462,0,[tf,Hl,Do])},function Que(n){return Yc(),$e((BAn(),rzn),n)});b(789,1,{},fnn),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,w(rS,"NodeContext",789),b(1471,1,ft,Bln),s.ue=function(e,t){return cyn(u(e,61),u(t,61))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(rS,"NodeContext/0methodref$comparePortSides$Type",1471),b(1472,1,ft,_ln),s.ue=function(e,t){return function N4e(n,e){var t;if(0!=(t=cyn(n.b.Hf(),e.b.Hf())))return t;switch(n.b.Hf().g){case 1:case 2:return Wc(n.b.sf(),e.b.sf());case 3:case 4:return Wc(e.b.sf(),n.b.sf())}return 0}(u(e,111),u(t,111))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(rS,"NodeContext/1methodref$comparePortContexts$Type",1472),b(159,22,{3:1,35:1,22:1,159:1},Ds);var izn,czn,uzn,szn,ozn,fzn,hzn,lzn,azn,dzn,bzn,wzn,gzn,vzn,pzn,mzn,kzn,yzn,jzn,Ezn,Tzn,nR,Mzn,Gin,pA,Czn=Me(rS,"NodeLabelLocation",159,Ie,pL,function Jue(n){return VM(),$e((Vkn(),Mzn),n)});b(111,1,{111:1},BNn),s.a=!1,w(rS,"PortContext",111),b(1476,1,Jn,Rln),s.td=function(e){T8n(u(e,306))},w(Mk,DKn,1476),b(1477,1,Xe,Kln),s.Mb=function(e){return!!u(e,111).c},w(Mk,$Kn,1477),b(1478,1,Jn,Hln),s.td=function(e){T8n(u(e,111).c)},w(Mk,"LabelPlacer/lambda$2$Type",1478),b(1475,1,Jn,Gln),s.td=function(e){ob(),function Hte(n){n.b.tf(n.e)}(u(e,111))},w(Mk,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),b(790,1,Jn,cW),s.td=function(e){nie(this.b,this.c,this.a,u(e,181))},s.a=!1,s.c=!1,w(Mk,"NodeLabelCellCreator/lambda$0$Type",790),b(1474,1,Jn,u5n),s.td=function(e){!function Ute(n,e){MY(n.c,e)}(this.a,u(e,181))},w(Mk,"PortContextCreator/lambda$0$Type",1474),b(1829,1,{},Uln),w(G3,"GreedyRectangleStripOverlapRemover",1829),b(1830,1,ft,qln),s.ue=function(e,t){return function Dce(n,e){return Jt(n.c.d,e.c.d)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),b(1786,1,{},t9n),s.a=5,s.e=0,w(G3,"RectangleStripOverlapRemover",1786),b(1787,1,ft,Wln),s.ue=function(e,t){return function $ce(n,e){return Jt(n.c.c,e.c.c)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),b(1789,1,ft,Xln),s.ue=function(e,t){return function rhe(n,e){return Jt(n.c.c+n.c.b,e.c.c+e.c.b)}(u(e,222),u(t,222))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(G3,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),b(406,22,{3:1,35:1,22:1,406:1},sE);var Vk,eR,tR,Qk,Azn,Szn=Me(G3,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Ie,function lae(){return i0(),S(M(Szn,1),U,406,0,[Qk,Vk,eR,tR])},function Yue(n){return i0(),$e((jPn(),Azn),n)});b(222,1,{222:1},JD),w(G3,"RectangleStripOverlapRemover/RectangleNode",222),b(1788,1,Jn,s5n),s.td=function(e){!function spe(n,e){var t,r;switch(r=e.c,t=e.a,n.b.g){case 0:t.d=n.e-r.a-r.d;break;case 1:t.d+=n.e;break;case 2:t.c=n.e-r.a-r.d;break;case 3:t.c=n.e+r.d}}(this.a,u(e,222))},w(G3,"RectangleStripOverlapRemover/lambda$1$Type",1788),b(1304,1,ft,Vln),s.ue=function(e,t){return function dje(n,e){var t,r,i,c;return t=new Qln,1==(i=2==(i=(r=u(us(Vc(new Dn(null,new Fn(n.f,16)),t),kb(new Ko,new rl,new h2,new l2,S(M(_u,1),U,132,0,[(kf(),nw),ws]))),21)).gc())?1:0)&&Dd(N7(u(us(gt(r.Lc(),new Jln),COn(_a(0),new aj)),162).a,2),0)&&(i=0),1==(c=2==(c=(r=u(us(Vc(new Dn(null,new Fn(e.f,16)),t),kb(new Ko,new rl,new h2,new l2,S(M(_u,1),U,132,0,[nw,ws]))),21)).gc())?1:0)&&Dd(N7(u(us(gt(r.Lc(),new Yln),COn(_a(0),new aj)),162).a,2),0)&&(c=0),i0?n.a:n.b,e,t)}(this,u(e,46),u(t,167))},w(nh,"SuccessorCombination",777),b(644,1,{},GI),s.Ce=function(e,t){var r;return function Q6e(n){var e,t,r,i,c;return t=i=u(n.a,19).a,r=c=u(n.b,19).a,e=j.Math.max(j.Math.abs(i),j.Math.abs(c)),i<=0&&i==c?(t=0,r=c-1):i==-e&&c!=e?(t=c,r=i,c>=0&&++t):(t=-c,r=i),new Mr(Q(t),Q(r))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorJitter",644),b(643,1,{},UI),s.Ce=function(e,t){var r;return function B8e(n){var e,t;if(e=u(n.a,19).a,t=u(n.b,19).a,e>=0){if(e==t)return new Mr(Q(-e-1),Q(-e-1));if(e==-t)return new Mr(Q(-e),Q(t+1))}return j.Math.abs(e)>j.Math.abs(t)?new Mr(Q(-e),Q(e<0?t:t+1)):new Mr(Q(e+1),Q(t))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorLineByLine",643),b(568,1,{},dj),s.Ce=function(e,t){var r;return function Jme(n){var e,t,r,i;return e=r=u(n.a,19).a,t=i=u(n.b,19).a,0==r&&0==i?t-=1:-1==r&&i<=0?(e=0,t-=2):r<=0&&i>0?(e-=1,t-=1):r>=0&&i<0?(e+=1,t+=1):r>0&&i>=0?(e-=1,t+=1):(e+=1,t-=1),new Mr(Q(e),Q(t))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorManhattan",568),b(1356,1,{},ian),s.Ce=function(e,t){var r;return function o8e(n){var e,t,r;return t=u(n.a,19).a,r=u(n.b,19).a,t<(e=j.Math.max(j.Math.abs(t),j.Math.abs(r)))&&r==-e?new Mr(Q(t+1),Q(r)):t==e&&r=-e&&r==e?new Mr(Q(t-1),Q(r)):new Mr(Q(t),Q(r-1))}((r=u(e,46),u(t,167),r))},w(nh,"SuccessorMaxNormWindingInMathPosSense",1356),b(400,1,{},ep),s.Ce=function(e,t){return nX(this,e,t)},s.c=!1,s.d=!1,s.e=!1,s.f=!1,w(nh,"SuccessorQuadrantsGeneric",400),b(1357,1,{},can),s.Kb=function(e){return u(e,324).a},w(nh,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),b(323,22,{3:1,35:1,22:1,323:1},uE),s.a=!1;var Jk,Yk,Zk,ny,Izn,Pzn=Me(cS,Rnn,323,Ie,function bae(){return nv(),S(M(Pzn,1),U,323,0,[Yk,Jk,Zk,ny])},function Zue(n){return nv(),$e((EPn(),Izn),n)});b(1298,1,{}),s.Ib=function(){var e,t,r,i,c,o;for(r=" ",e=Q(0),c=0;c0&&nu(A,N*z),R>0&&eu(A,R*en);for(g6(n.b,new van),e=new X,f=new Na(new wa(n.c).a);f.b;)r=u((o=Zd(f)).cd(),79),t=u(o.dd(),395).a,i=wg(r,!1,!1),hk(d=hLn(Ch(r),V7(i),t),i),(D=jLn(r))&&-1==Li(e,D,0)&&(e.c[e.c.length]=D,ACn(D,(ne(0!=d.b),u(d.a.a.c,8)),t));for(T=new Na(new wa(n.d).a);T.b;)r=u((m=Zd(T)).cd(),79),t=u(m.dd(),395).a,i=wg(r,!1,!1),d=hLn(Pl(r),S7(V7(i)),t),hk(d=S7(d),i),(D=ELn(r))&&-1==Li(e,D,0)&&(e.c[e.c.length]=D,ACn(D,(ne(0!=d.b),u(d.c.b.c,8)),t))}(o),bi(e,Qin,this.b),ce(t)},s.a=0,w(BKn,"DisCoLayoutProvider",1132),b(1244,1,{},han),s.c=!1,s.e=0,s.f=0,w(BKn,"DisCoPolyominoCompactor",1244),b(561,1,{561:1},fTn),s.b=!0,w(sS,"DCComponent",561),b(394,22,{3:1,35:1,22:1,394:1},cE),s.a=!1;var mA,ey,kA,ty,$zn,Dzn=Me(sS,"DCDirection",394,Ie,function dae(){return P6(),S(M(Dzn,1),U,394,0,[ey,mA,kA,ty])},function nse(n){return P6(),$e((TPn(),$zn),n)});b(266,134,{3:1,266:1,94:1,134:1},hN),w(sS,"DCElement",266),b(395,1,{395:1},OJ),s.c=0,w(sS,"DCExtension",395),b(755,134,Knn,u8n),w(sS,"DCGraph",755),b(481,22,{3:1,35:1,22:1,481:1},hjn);var rR,Fzn,Lzn,Xin,Vin,Nzn,xzn,Bzn,iR,_zn,Qin,yA,cR,Jin,Rzn,Kzn,Hzn,qzn,Yin,uR,sR,jA,Win=Me(zx,Hnn,481,Ie,function qhe(){return Xj(),S(M(Win,1),U,481,0,[rR])},function ese(n){return Xj(),$e((TSn(),Fzn),n)});b(854,1,Js,f3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,qnn),_Kn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Vin),(x1(),xt)),Win),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Gnn),_Kn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),$4),tn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Unn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Of),Zn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,znn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Of),Zn),Tn(Wn)))),E_n((new h3n,e))},w(zx,"DisCoMetaDataProvider",854),b(998,1,Js,h3n),s.Qe=function(e){E_n(e)},w(zx,"DisCoOptions",998),b(999,1,{},lan),s.$e=function(){return new fan},s._e=function(e){},w(zx,"DisCoOptions/DiscoFactory",999),b(562,167,{321:1,167:1,562:1},kxn),s.a=0,s.b=0,s.c=0,s.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),b(1268,1,Xe,aan),s.Mb=function(e){return HU(e)},w(Tg,"ElkGraphComponentsProcessor/lambda$0$Type",1268),b(1269,1,{},dan),s.Kb=function(e){return x2(),Ch(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$1$Type",1269),b(1270,1,Xe,ban),s.Mb=function(e){return function nfe(n){return x2(),Ch(n)==At(Pl(n))}(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$2$Type",1270),b(1271,1,{},wan),s.Kb=function(e){return x2(),Pl(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$3$Type",1271),b(1272,1,Xe,gan),s.Mb=function(e){return function efe(n){return x2(),Pl(n)==At(Ch(n))}(u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$4$Type",1272),b(1273,1,Xe,o5n),s.Mb=function(e){return function U1e(n,e){return x2(),n==At(Ch(e))||n==At(Pl(e))}(this.a,u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$5$Type",1273),b(1274,1,{},f5n),s.Kb=function(e){return function fhe(n,e){return x2(),n==Ch(e)?Pl(e):Ch(e)}(this.a,u(e,79))},w(Tg,"ElkGraphComponentsProcessor/lambda$6$Type",1274),b(1241,1,{},RSn),s.a=0,w(Tg,"ElkGraphTransformer",1241),b(1242,1,{},van),s.Od=function(e,t){!function nme(n,e,t){var r,i,c,o;n.a=t.b.d,I(e,352)?(Ir(c=V7(i=wg(u(e,79),!1,!1)),r=new h5n(n)),hk(c,i),null!=e.We((We(),n2))&&Ir(u(e.We(n2),74),r)):((o=u(e,470)).Hg(o.Dg()+n.a.a),o.Ig(o.Eg()+n.a.b))}(this,u(e,160),u(t,266))},w(Tg,"ElkGraphTransformer/OffsetApplier",1242),b(1243,1,Jn,h5n),s.td=function(e){!function Cce(n,e){sb(e,n.a.a.a,n.a.a.b)}(this,u(e,8))},w(Tg,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),b(753,1,{},oq),w(Xnn,Vnn,753),b(1232,1,ft,pan),s.ue=function(e,t){return function R6e(n,e){var t,r,i;return 0==(t=u(k(e,(Zo(),f4)),19).a-u(k(n,f4),19).a)?(r=pr(Ji(u(k(n,(El(),ry)),8)),u(k(n,Fm),8)),i=pr(Ji(u(k(e,ry),8)),u(k(e,Fm),8)),Jt(r.a*r.b,i.a*i.b)):t}(u(e,231),u(t,231))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Xnn,RKn,1232),b(740,209,Xa,pG),s.Ze=function(e,t){Exn(this,e,t)},w(Xnn,"ForceLayoutProvider",740),b(357,134,{3:1,357:1,94:1,134:1}),w(Ak,"FParticle",357),b(559,357,{3:1,559:1,357:1,94:1,134:1},GTn),s.Ib=function(){var e;return this.a?(e=Li(this.a.a,this,0))>=0?"b"+e+"["+V$(this.a)+"]":"b["+V$(this.a)+"]":"b_"+Ld(this)},w(Ak,"FBendpoint",559),b(282,134,{3:1,282:1,94:1,134:1},_jn),s.Ib=function(){return V$(this)},w(Ak,"FEdge",282),b(231,134,{3:1,231:1,94:1,134:1},zT);var Gzn,Uzn,Zin,zzn,Wzn,Xzn,Vzn,Qzn,zCe=w(Ak,"FGraph",231);b(447,357,{3:1,447:1,357:1,94:1,134:1},HSn),s.Ib=function(){return null==this.b||0==this.b.length?"l["+V$(this.a)+"]":"l_"+this.b},w(Ak,"FLabel",447),b(144,357,{3:1,144:1,357:1,94:1,134:1},YTn),s.Ib=function(){return OX(this)},s.b=0,w(Ak,"FNode",144),b(2003,1,{}),s.bf=function(e){HZ(this,e)},s.cf=function(){yFn(this)},s.d=0,w(Qnn,"AbstractForceModel",2003),b(631,2003,{631:1},OOn),s.af=function(e,t){var r,i,c,f;return vNn(this.f,e,t),c=pr(Ji(t.d),e.d),f=j.Math.sqrt(c.a*c.a+c.b*c.b),i=j.Math.max(0,f-Y5(e.e)/2-Y5(t.e)/2),Gf(c,((r=sDn(this.e,e,t))>0?-function nhe(n,e){return n>0?j.Math.log(n/e):-100}(i,this.c)*r:function zce(n,e){return n>0?e/(n*n):100*e}(i,this.b)*u(k(e,(Zo(),f4)),19).a)/f),c},s.bf=function(e){HZ(this,e),this.a=u(k(e,(Zo(),TA)),19).a,this.c=K(Y(k(e,CA))),this.b=K(Y(k(e,fR)))},s.df=function(e){return e0?e*e/n:e*e*100}(i=j.Math.max(0,f-Y5(e.e)/2-Y5(t.e)/2),this.a)*u(k(e,(Zo(),f4)),19).a,(r=sDn(this.e,e,t))>0&&(o-=function ire(n,e){return n*n/e}(i,this.a)*r),Gf(c,o*this.b/f),c},s.bf=function(e){var t,r,i,c,o,f,h;for(HZ(this,e),this.b=K(Y(k(e,(Zo(),hR)))),this.c=this.b/u(k(e,TA),19).a,i=e.e.c.length,o=0,c=0,h=new E(e.e);h.a0},s.a=0,s.b=0,s.c=0,w(Qnn,"FruchtermanReingoldModel",632),b(849,1,Js,a3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oS),""),"Force Model"),"Determines the model for force calculation."),Zin),(x1(),xt)),ncn),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jnn),""),"Iterations"),"The number of iterations on the force model."),Q(300)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ynn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Qx),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),eh),Di),Cr),Tn(Wn)))),Er(e,Qx,oS,Qzn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jx),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Di),Cr),Tn(Wn)))),Er(e,Jx,oS,Wzn),pRn((new d3n,e))},w(im,"ForceMetaDataProvider",849),b(424,22,{3:1,35:1,22:1,424:1},gU);var oR,EA,Jzn,Yzn,Zzn,ecn,TA,tcn,nWn,eWn,tWn,rcn,rWn,icn,ccn,iWn,f4,cWn,fR,ucn,uWn,sWn,CA,hR,ry,Fm,Ev,MA,oWn,fWn,scn,hWn,lWn,aWn,SA,ocn,fcn,hcn,lcn,acn,dWn,bWn,wWn,gWn,dcn,vWn,ncn=Me(im,"ForceModelStrategy",424,Ie,function R1e(){return sC(),S(M(ncn,1),U,424,0,[oR,EA])},function tse(n){return sC(),$e((XSn(),Jzn),n)});b(988,1,Js,d3n),s.Qe=function(e){pRn(e)},w(im,"ForceOptions",988),b(989,1,{},man),s.$e=function(){return new pG},s._e=function(e){},w(im,"ForceOptions/ForceFactory",989),b(850,1,Js,b3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,een),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Hn(),!1)),(x1(),xr)),cr),Tn((Jo(),wr))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ten),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Di),Cr),vt(Wn,S(M(V1,1),U,175,0,[ah]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ren),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),scn),xt),bcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ien),""),"Stress Epsilon"),"Termination criterion for the iterative process."),eh),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,cen),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Q(Ze)),oc),qr),Tn(Wn)))),tRn((new w3n,e))},w(im,"StressMetaDataProvider",850),b(992,1,Js,w3n),s.Qe=function(e){tRn(e)},w(im,"StressOptions",992),b(993,1,{},kan),s.$e=function(){return new Rjn},s._e=function(e){},w(im,"StressOptions/StressFactory",993),b(1128,209,Xa,Rjn),s.Ze=function(e,t){var i,c,o,f;for(le(t,GKn,1),on(sn(hn(e,(q7(),lcn))))?on(sn(hn(e,dcn)))||PT(new V9((tb(),new Y0(e)))):Exn(new pG,e,jc(t,1)),c=ZOn(e),f=(i=a_n(this.a,c)).Kc();f.Ob();)!((o=u(f.Pb(),231)).e.c.length<=1)&&(lje(this.b,o),qme(this.b),Zc(o.d,new yan));jRn(c=CRn(i)),ce(t)},w(lS,"StressLayoutProvider",1128),b(1129,1,Jn,yan),s.td=function(e){VZ(u(e,447))},w(lS,"StressLayoutProvider/lambda$0$Type",1129),b(990,1,{},Vmn),s.c=0,s.e=0,s.g=0,w(lS,"StressMajorization",990),b(379,22,{3:1,35:1,22:1,379:1},_O);var lR,aR,dR,pWn,mWn,kWn,yWn,bcn=Me(lS,"StressMajorization/Dimension",379,Ie,function ble(){return f6(),S(M(bcn,1),U,379,0,[aR,lR,dR])},function rse(n){return f6(),$e((RAn(),pWn),n)});b(991,1,ft,l5n),s.ue=function(e,t){return function $ue(n,e,t){return Jt(n[e.b],n[t.b])}(this.a,u(e,144),u(t,144))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(lS,"StressMajorization/lambda$0$Type",991),b(1229,1,{},eSn),w(vv,"ElkLayered",1229),b(1230,1,Jn,jan),s.td=function(e){!function G6e(n){var e;if((e=u(k(n,(nn(),Wm)),314))==(W2(),Cv))throw C(new u5("The hierarchy aware processor "+e+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor."))}(u(e,37))},w(vv,"ElkLayered/lambda$0$Type",1230),b(1231,1,Jn,a5n),s.td=function(e){!function Fue(n,e){return H(e,(nn(),gy),n)}(this.a,u(e,37))},w(vv,"ElkLayered/lambda$1$Type",1231),b(1263,1,{},Syn),w(vv,"GraphConfigurator",1263),b(759,1,Jn,nG),s.td=function(e){PLn(this.a,u(e,10))},w(vv,"GraphConfigurator/lambda$0$Type",759),b(760,1,{},fq),s.Kb=function(e){return zJ(),new Dn(null,new Fn(u(e,29).a,16))},w(vv,"GraphConfigurator/lambda$1$Type",760),b(761,1,Jn,eG),s.td=function(e){PLn(this.a,u(e,10))},w(vv,"GraphConfigurator/lambda$2$Type",761),b(1127,209,Xa,Ymn),s.Ze=function(e,t){var r;r=Dye(new i9n,e),B(hn(e,(nn(),hw)))===B((e1(),Q1))?h2e(this.a,r,t):ume(this.a,r,t),vRn(new v3n,r)},w(vv,"LayeredLayoutProvider",1127),b(356,22,{3:1,35:1,22:1,356:1},l8);var fh,ql,Hc,Mc,Oi,jWn,EWn,TWn,wcn=Me(vv,"LayeredPhases",356,Ie,function Jae(){return Wr(),S(M(wcn,1),U,356,0,[fh,ql,Hc,Mc,Oi])},function ise(n){return Wr(),$e((nIn(),jWn),n)});b(1651,1,{},RIn),s.i=0,w(Ok,"ComponentsToCGraphTransformer",1651),b(1652,1,{},Ean),s.ef=function(e,t){return j.Math.min(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},s.ff=function(e,t){return j.Math.min(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},w(Ok,"ComponentsToCGraphTransformer/1",1652),b(81,1,{81:1}),s.i=0,s.k=!0,s.o=Wt;var wR,gR,bR=w(sm,"CNode",81);b(460,81,{460:1,81:1},vz,pJ),s.Ib=function(){return""},w(Ok,"ComponentsToCGraphTransformer/CRectNode",460),b(1623,1,{},Tan),w(Ok,"OneDimensionalComponentsCompaction",1623),b(1624,1,{},Can),s.Kb=function(e){return function cle(n){return QF(),Hn(),0!=u(n.a,81).d.e}(u(e,46))},s.Fb=function(e){return this===e},w(Ok,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),b(1625,1,{},Man),s.Kb=function(e){return function p2e(n){return QF(),Hn(),!!(r$n(u(n.a,81).j,u(n.b,103))||0!=u(n.a,81).d.e&&r$n(u(n.a,81).j,u(n.b,103)))}(u(e,46))},s.Fb=function(e){return this===e},w(Ok,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),b(1654,1,{},JTn),w(sm,"CGraph",1654),b(189,1,{189:1},wL),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Wt,w(sm,"CGroup",189),b(1653,1,{},Ian),s.ef=function(e,t){return j.Math.max(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},s.ff=function(e,t){return j.Math.max(null!=e.a?K(e.a):e.c.i,null!=t.a?K(t.a):t.c.i)},w(sm,mKn,1653),b(1655,1,{},INn),s.d=!1;var CWn,vR=w(sm,jKn,1655);b(1656,1,{},Oan),s.Kb=function(e){return rU(),Hn(),0!=u(u(e,46).a,81).d.e},s.Fb=function(e){return this===e},w(sm,EKn,1656),b(823,1,{},SW),s.a=!1,s.b=!1,s.c=!1,s.d=!1,w(sm,TKn,823),b(1825,1,{},wTn),w(aS,CKn,1825);var iy=Et(Qa,vKn);b(1826,1,{369:1},zCn),s.Ke=function(e){!function Z8e(n,e){var t,r,i;e.a?(_8(n.b,e.b),n.a[e.b.i]=u($D(n.b,e.b),81),(t=u(DD(n.b,e.b),81))&&(n.a[t.i]=e.b)):((r=u($D(n.b,e.b),81))&&r==n.a[e.b.i]&&r.d&&r.d!=e.b.d&&r.f.Fc(e.b),(i=u(DD(n.b,e.b),81))&&n.a[i.i]==e.b&&i.d&&i.d!=e.b.d&&e.b.f.Fc(i),kD(n.b,e.b))}(this,u(e,466))},w(aS,MKn,1826),b(1827,1,ft,Dan),s.ue=function(e,t){return function Zhe(n,e){return Jt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}(u(e,81),u(t,81))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(aS,SKn,1827),b(466,1,{466:1},pU),s.a=!1,w(aS,AKn,466),b(1828,1,ft,$an),s.ue=function(e,t){return function l3e(n,e){var t,r,i;if(r=n.b.g.d,n.a||(r+=n.b.g.a),i=e.b.g.d,e.a||(i+=e.b.g.a),0==(t=Jt(r,i))){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}(u(e,466),u(t,466))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(aS,PKn,1828),b(140,1,{140:1},wp,jW),s.Fb=function(e){var t;return null!=e&&WCe==Fu(e)&&(t=u(e,140),mc(this.c,t.c)&&mc(this.d,t.d))},s.Hb=function(){return xC(S(M(Zn,1),rn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+Xr+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var WCe=w(Qa,"Point",140);b(405,22,{3:1,35:1,22:1,405:1},oE);var I0,tw,Lg,rw,SWn,AWn,PWn,IWn,OWn,DWn,gcn,ht,MWn=Me(Qa,"Point/Quadrant",405,Ie,function wae(){return r3(),S(M(MWn,1),U,405,0,[I0,rw,tw,Lg])},function cse(n){return r3(),$e((yPn(),SWn),n)});b(1642,1,{},Zmn),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null,w(Qa,"RectilinearConvexHull",1642),b(574,1,{369:1},rM),s.Ke=function(e){!function Yde(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new jW(e.c,e.d,n.d)),n.b=e.d)}(this,u(e,140))},s.b=0,w(Qa,"RectilinearConvexHull/MaximalElementsEventHandler",574),b(1644,1,ft,Aan),s.ue=function(e,t){return function Hhe(n,e){return iU(),Jt((_n(n),n),(_n(e),e))}(Y(e),Y(t))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),b(1643,1,{369:1},fIn),s.Ke=function(e){a8e(this,u(e,140))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,w(Qa,"RectilinearConvexHull/RectangleEventHandler",1643),b(1645,1,ft,Pan),s.ue=function(e,t){return function Ule(n,e){return h6(),n.c==e.c?Jt(e.d,n.d):Jt(n.c,e.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$0$Type",1645),b(1646,1,ft,San),s.ue=function(e,t){return function zle(n,e){return h6(),n.c==e.c?Jt(n.d,e.d):Jt(n.c,e.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$1$Type",1646),b(1647,1,ft,Fan),s.ue=function(e,t){return function Xle(n,e){return h6(),n.c==e.c?Jt(e.d,n.d):Jt(e.c,n.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$2$Type",1647),b(1648,1,ft,Lan),s.ue=function(e,t){return function Wle(n,e){return h6(),n.c==e.c?Jt(n.d,e.d):Jt(e.c,n.c)}(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$3$Type",1648),b(1649,1,ft,Nan),s.ue=function(e,t){return Q4e(u(e,140),u(t,140))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Qa,"RectilinearConvexHull/lambda$4$Type",1649),b(1650,1,{},EMn),w(Qa,"Scanline",1650),b(2005,1,{}),w(th,"AbstractGraphPlacer",2005),b(325,1,{325:1},wjn),s.mf=function(e){return!!this.nf(e)&&(Cn(this.b,u(k(e,(G(),cw)),21),e),!0)},s.nf=function(e){var t,r,i;for(t=u(k(e,(G(),cw)),21),i=u(it(ht,t),21).Kc();i.Ob();)if(r=u(i.Pb(),21),!u(it(this.b,r),15).dc())return!1;return!0},w(th,"ComponentGroup",325),b(765,2005,{},jG),s.of=function(e){var r;for(r=new E(this.a);r.ar?1:0}(u(e,37),u(t,37))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(th,"ComponentsProcessor/lambda$0$Type",1265),b(570,325,{325:1,570:1},gAn),s.mf=function(e){return jQ(this,e)},s.nf=function(e){return Ixn(this,e)},w(th,"ModelOrderComponentGroup",570),b(1291,2005,{},Ban),s.lf=function(e,t){var r,i,c,o,f,h,l,a,g,v,p,m,T,A,$,D,N,R,z,en;if(1!=e.gc()){if(e.dc())return t.a.c=L(Zn,rn,1,0,5,1),t.f.a=0,void(t.f.b=0);if(B(k(t,(nn(),$v)))===B((c0(),Ng))){for(l=e.Kc();l.Ob();){for($=0,T=new E((f=u(l.Pb(),37)).a);T.ap&&(z=0,en+=v+c,v=0),H6(f,z+(A=f.c).a,en+A.b),Uo(A),r=j.Math.max(r,z+D.a),v=j.Math.max(v,D.b),z+=D.a+c;if(t.f.a=r,t.f.b=en+v,on(sn(k(o,dP)))){for(wnn(i=new WI,e,c),g=e.Kc();g.Ob();)ut(Uo(u(g.Pb(),37).c),i.e);ut(Uo(t.f),i.a)}wV(t,e)}else(N=u(e.Xb(0),37))!=t&&(t.a.c=L(Zn,rn,1,0,5,1),LBn(t,N,0,0),Pi(t,N),gX(t.d,N.d),t.f.a=N.f.a,t.f.b=N.f.b)},w(th,"SimpleRowGraphPlacer",1291),b(1292,1,ft,_an),s.ue=function(e,t){return function Xbe(n,e){var t;return 0==(t=e.p-n.p)?Jt(n.f.a*n.f.b,e.f.a*e.f.b):t}(u(e,37),u(t,37))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(th,"SimpleRowGraphPlacer/1",1292),b(1262,1,Zf,Ran),s.Lb=function(e){var t;return!!(t=u(k(u(e,243).b,(nn(),Ci)),74))&&0!=t.b},s.Fb=function(e){return this===e},s.Mb=function(e){var t;return!!(t=u(k(u(e,243).b,(nn(),Ci)),74))&&0!=t.b},w(dS,"CompoundGraphPostprocessor/1",1262),b(1261,1,Lt,c9n),s.pf=function(e,t){iFn(this,u(e,37),t)},w(dS,"CompoundGraphPreprocessor",1261),b(441,1,{441:1},UDn),s.c=!1,w(dS,"CompoundGraphPreprocessor/ExternalPort",441),b(243,1,{243:1},GE),s.Ib=function(){return TD(this.c)+":"+MNn(this.b)},w(dS,"CrossHierarchyEdge",243),b(763,1,ft,tG),s.ue=function(e,t){return function xpe(n,e,t){var r,i;return e.c==(ii(),xc)&&t.c==Pu?-1:e.c==Pu&&t.c==xc?1:(r=CDn(e.a,n.a),i=CDn(t.a,n.a),e.c==xc?i-r:r-i)}(this,u(e,243),u(t,243))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(dS,"CrossHierarchyEdgeComparator",763),b(299,134,{3:1,299:1,94:1,134:1}),s.p=0,w(Lc,"LGraphElement",299),b(17,299,{3:1,17:1,299:1,94:1,134:1},Ud),s.Ib=function(){return MNn(this)};var mR=w(Lc,"LEdge",17);b(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},xV),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new E(this.b)},s.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Il(this.a):0==this.a.c.length?"G-layered"+Il(this.b):"G[layerless"+Il(this.a)+", layers"+Il(this.b)+"]"};var NWn,LWn=w(Lc,"LGraph",37);b(657,1,{}),s.qf=function(){return this.e.n},s.We=function(e){return k(this.e,e)},s.rf=function(){return this.e.o},s.sf=function(){return this.e.p},s.Xe=function(e){return fr(this.e,e)},s.tf=function(e){this.e.n.a=e.a,this.e.n.b=e.b},s.uf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},s.vf=function(e){this.e.p=e},w(Lc,"LGraphAdapters/AbstractLShapeAdapter",657),b(577,1,{839:1},Tj),s.wf=function(){var e,t;if(!this.b)for(this.b=gh(this.a.b.c.length),t=new E(this.a.b);t.a0&&ODn((Ce(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(o> ",e),dM(r)),De(cc((e.a+="[",e),r.i),"]")),e.a},s.c=!0,s.d=!1;var ycn,yR,jcn,jR,Ecn,Tcn,_Wn,RWn,BWn=w(Lc,"LPort",11);b(397,1,Sh,tp),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new d5n(new E(this.a.e))},w(Lc,"LPort/1",397),b(1290,1,mr,d5n),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(y(this.a),17).c},s.Ob=function(){return Ki(this.a)},s.Qb=function(){Q5(this.a)},w(Lc,"LPort/1/1",1290),b(359,1,Sh,d2),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new rG(new E(this.a.g))},w(Lc,"LPort/2",359),b(762,1,mr,rG),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(y(this.a),17).d},s.Ob=function(){return Ki(this.a)},s.Qb=function(){Q5(this.a)},w(Lc,"LPort/2/1",762),b(1283,1,Sh,z7n),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new gf(this)},w(Lc,"LPort/CombineIter",1283),b(201,1,mr,gf),s.Nb=function(e){Ar(this,e)},s.Qb=function(){g8n()},s.Ob=function(){return _5(this)},s.Pb=function(){return Ki(this.a)?y(this.a):y(this.b)},w(Lc,"LPort/CombineIter/1",201),b(1285,1,Zf,Han),s.Lb=function(e){return STn(e)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),0!=u(e,11).e.c.length},w(Lc,"LPort/lambda$0$Type",1285),b(1284,1,Zf,qan),s.Lb=function(e){return ATn(e)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),0!=u(e,11).g.c.length},w(Lc,"LPort/lambda$1$Type",1284),b(1286,1,Zf,Gan),s.Lb=function(e){return gu(),u(e,11).j==(J(),Rn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),Rn)},w(Lc,"LPort/lambda$2$Type",1286),b(1287,1,Zf,Uan),s.Lb=function(e){return gu(),u(e,11).j==(J(),Xn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),Xn)},w(Lc,"LPort/lambda$3$Type",1287),b(1288,1,Zf,zan),s.Lb=function(e){return gu(),u(e,11).j==(J(),ae)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),ae)},w(Lc,"LPort/lambda$4$Type",1288),b(1289,1,Zf,Wan),s.Lb=function(e){return gu(),u(e,11).j==(J(),qn)},s.Fb=function(e){return this===e},s.Mb=function(e){return gu(),u(e,11).j==(J(),qn)},w(Lc,"LPort/lambda$5$Type",1289),b(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},Us),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new E(this.a)},s.Ib=function(){return"L_"+Li(this.b.b,this,0)+Il(this.a)},w(Lc,"Layer",29),b(1342,1,{},i9n),w(R1,nHn,1342),b(1346,1,{},Xan),s.Kb=function(e){return Ii(u(e,82))},w(R1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),b(1349,1,{},Van),s.Kb=function(e){return Ii(u(e,82))},w(R1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),b(1343,1,Jn,b5n),s.td=function(e){RNn(this.a,u(e,118))},w(R1,eHn,1343),b(1344,1,Jn,w5n),s.td=function(e){RNn(this.a,u(e,118))},w(R1,tHn,1344),b(1345,1,{},Qan),s.Kb=function(e){return new Dn(null,new Fn(function xhe(n){return!n.c&&(n.c=new $n(he,n,5,8)),n.c}(u(e,79)),16))},w(R1,rHn,1345),b(1347,1,Xe,g5n),s.Mb=function(e){return function Bie(n,e){return Eb(e,lf(n))}(this.a,u(e,33))},w(R1,iHn,1347),b(1348,1,{},Jan),s.Kb=function(e){return new Dn(null,new Fn(function Bhe(n){return!n.b&&(n.b=new $n(he,n,4,7)),n.b}(u(e,79)),16))},w(R1,"ElkGraphImporter/lambda$5$Type",1348),b(1350,1,Xe,v5n),s.Mb=function(e){return function _ie(n,e){return Eb(e,lf(n))}(this.a,u(e,33))},w(R1,"ElkGraphImporter/lambda$7$Type",1350),b(1351,1,Xe,Yan),s.Mb=function(e){return function e1e(n){return d0(n)&&on(sn(hn(n,(nn(),ud))))}(u(e,79))},w(R1,"ElkGraphImporter/lambda$8$Type",1351),b(1278,1,{},v3n),w(R1,"ElkGraphLayoutTransferrer",1278),b(1279,1,Xe,p5n),s.Mb=function(e){return function Sue(n,e){return s8(),!n3(e.d.i,n)}(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),b(1280,1,Jn,m5n),s.td=function(e){s8(),W(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),b(1281,1,Xe,k5n),s.Mb=function(e){return function aue(n,e){return s8(),n3(e.d.i,n)}(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),b(1282,1,Jn,y5n),s.td=function(e){s8(),W(this.a,u(e,17))},w(R1,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),b(1485,1,Lt,Zan),s.pf=function(e,t){!function bbe(n,e){le(e,cHn,1),Bt(qi(new Dn(null,new Fn(n.b,16)),new ndn),new edn),ce(e)}(u(e,37),t)},w(Un,"CommentNodeMarginCalculator",1485),b(1486,1,{},ndn),s.Kb=function(e){return new Dn(null,new Fn(u(e,29).a,16))},w(Un,"CommentNodeMarginCalculator/lambda$0$Type",1486),b(1487,1,Jn,edn),s.td=function(e){!function Xye(n){var e,t,r,i,c,o,f,h,l,a,d,g;if(f=n.d,d=u(k(n,(G(),Dv)),15),e=u(k(n,Sv),15),d||e){if(c=K(Y(Pb(n,(nn(),kK)))),o=K(Y(Pb(n,eon))),g=0,d){for(l=0,i=d.Kc();i.Ob();)r=u(i.Pb(),10),l=j.Math.max(l,r.o.b),g+=r.o.a;g+=c*(d.gc()-1),f.d+=l+o}if(t=0,e){for(l=0,i=e.Kc();i.Ob();)r=u(i.Pb(),10),l=j.Math.max(l,r.o.b),t+=r.o.a;t+=c*(e.gc()-1),f.a+=l+o}(h=j.Math.max(g,t))>n.o.a&&(f.b=j.Math.max(f.b,a=(h-n.o.a)/2),f.c=j.Math.max(f.c,a))}}(u(e,10))},w(Un,"CommentNodeMarginCalculator/lambda$1$Type",1487),b(1488,1,Lt,tdn),s.pf=function(e,t){!function s7e(n,e){var t,r,i,c,o,f,h;for(le(e,"Comment post-processing",1),c=new E(n.b);c.a0&&_Bn((Ln(0,t.c.length),u(t.c[0],29)),n),t.c.length>1&&_Bn(u(un(t,t.c.length-1),29),n),ce(e)}(u(e,37),t)},w(Un,"HierarchicalPortPositionProcessor",1517),b(1518,1,Lt,p3n),s.pf=function(e,t){!function zTe(n,e){var t,r,i,c,o,f,h,l,a,g,v,m,T,A,$,D,N,z,en,ln,wn,Gn;for(n.b=e,n.a=u(k(e,(nn(),Fsn)),19).a,n.c=u(k(e,Nsn),19).a,0==n.c&&(n.c=Ze),T=new Sr(e.b,0);T.b=n.a&&(r=Aye(n,$),a=j.Math.max(a,r.b),N=j.Math.max(N,r.d),W(f,new Mr($,r)));for(ln=new X,l=0;l0),T.a.Xb(T.c=--T.b),fb(T,wn=new Us(n.b)),ne(T.b=2){for(m=!0,t=u(y(g=new E(c.j)),11),v=null;g.a0)}(u(e,17))},w(Un,"PartitionPreprocessor/lambda$2$Type",1577),b(1578,1,Jn,j0n),s.td=function(e){!function fwe(n){var e;v0(n,!0),e=B1,fr(n,(nn(),S4))&&(e+=u(k(n,S4),19).a),H(n,S4,Q(e))}(u(e,17))},w(Un,"PartitionPreprocessor/lambda$3$Type",1578),b(1579,1,Lt,M3n),s.pf=function(e,t){!function Cke(n,e){var r,i,c,o,f,h;for(le(e,"Port order processing",1),h=u(k(n,(nn(),Zsn)),421),r=new E(n.b);r.ae.d.c){if((v=n.c[e.a.d])==(T=n.c[d.a.d]))continue;Po(mo(po(ko(vo(new qs,1),100),v),T))}}}(this),function W9e(n){var e,t,r,i,c,o,f;for(c=new Ct,i=new E(n.d.a);i.a1)for(e=Nd((t=new va,++n.b,t),n.d),f=Re(c,0);f.b!=f.d.c;)o=u(_e(f),121),Po(mo(po(ko(vo(new qs,1),0),e),o))}(this),SN(BD(this.d),new ip),c=new E(this.a.a.b);c.a=T&&(W(o,Q(d)),D=j.Math.max(D,N[d-1]-g),h+=m,A+=N[d-1]-A,g=N[d-1],m=l[d]),m=j.Math.max(m,l[d]),++d;h+=m}(p=j.Math.min(1/D,1/t.b/h))>i&&(i=p,r=o)}return r},s.Wf=function(){return!1},w(rh,"MSDCutIndexHeuristic",802),b(1617,1,Lt,kwn),s.pf=function(e,t){Eye(u(e,37),t)},w(rh,"SingleEdgeGraphWrapper",1617),b(227,22,{3:1,35:1,22:1,227:1},m5);var Bg,w4,g4,iw,xm,_g,hXn,v4=Me(ac,"CenterEdgeLabelPlacementStrategy",227,Ie,function Fde(){return tv(),S(M(v4,1),U,227,0,[g4,xm,w4,iw,_g,Bg])},function ase(n){return tv(),$e((TIn(),hXn),n)});b(422,22,{3:1,35:1,22:1,422:1},mU);var fun,BR,lXn,hun=Me(ac,"ConstraintCalculationStrategy",422,Ie,function T1e(){return YT(),S(M(hun,1),U,422,0,[fun,BR])},function dse(n){return YT(),$e((nAn(),lXn),n)});b(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},HO),s.Kf=function(){return kNn(this)},s.Xf=function(){return kNn(this)};var oy,Cv,lun,aXn,aun=Me(ac,"CrossingMinimizationStrategy",314,Ie,function gle(){return W2(),S(M(aun,1),U,314,0,[Cv,oy,lun])},function bse(n){return W2(),$e((HAn(),aXn),n)});b(337,22,{3:1,35:1,22:1,337:1},qO);var dun,_R,ZA,dXn,bun=Me(ac,"CuttingStrategy",337,Ie,function vle(){return gC(),S(M(bun,1),U,337,0,[dun,ZA,_R])},function vse(n){return gC(),$e((qAn(),dXn),n)});b(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},d8),s.Kf=function(){return uxn(this)},s.Xf=function(){return uxn(this)};var wun,RR,Bm,KR,_m,bXn,gun=Me(ac,"CycleBreakingStrategy",335,Ie,function ude(){return Ha(),S(M(gun,1),U,335,0,[RR,wun,KR,_m,Bm])},function pse(n){return Ha(),$e((WPn(),bXn),n)});b(419,22,{3:1,35:1,22:1,419:1},kU);var nP,vun,wXn,pun=Me(ac,"DirectionCongruency",419,Ie,function E1e(){return b7(),S(M(pun,1),U,419,0,[nP,vun])},function mse(n){return b7(),$e((QSn(),wXn),n)});b(450,22,{3:1,35:1,22:1,450:1},GO);var p4,HR,Rg,vXn,gXn=Me(ac,"EdgeConstraint",450,Ie,function ple(){return Fa(),S(M(gXn,1),U,450,0,[HR,p4,Rg])},function kse(n){return Fa(),$e((GAn(),vXn),n)});b(276,22,{3:1,35:1,22:1,276:1},k5);var qR,GR,UR,zR,eP,WR,pXn,mun=Me(ac,"EdgeLabelSideSelection",276,Ie,function Bde(){return jM(),S(M(mun,1),U,276,0,[GR,qR,zR,UR,WR,eP])},function yse(n){return jM(),$e((AIn(),pXn),n)});b(479,22,{3:1,35:1,22:1,479:1},yU);var tP,kun,mXn,yun=Me(ac,"EdgeStraighteningStrategy",479,Ie,function j1e(){return u7(),S(M(yun,1),U,479,0,[kun,tP])},function jse(n){return u7(),$e((JSn(),mXn),n)});b(274,22,{3:1,35:1,22:1,274:1},y5);var XR,jun,Eun,rP,Tun,Cun,kXn,Mun=Me(ac,"FixedAlignment",274,Ie,function Nde(){return z7(),S(M(Mun,1),U,274,0,[rP,Eun,Cun,jun,Tun,XR])},function Ese(n){return z7(),$e((MIn(),kXn),n)});b(275,22,{3:1,35:1,22:1,275:1},j5);var Sun,Aun,Pun,Iun,Rm,Oun,yXn,Dun=Me(ac,"GraphCompactionStrategy",275,Ie,function Lde(){return E3(),S(M(Dun,1),U,275,0,[Rm,Aun,Oun,Iun,Pun,Sun])},function Tse(n){return E3(),$e((CIn(),yXn),n)});b(256,22,{3:1,35:1,22:1,256:1},rb);var m4,iP,k4,_s,Km,cP,y4,Kg,uP,Hm,jXn,VR=Me(ac,"GraphProperties",256,Ie,function Ebe(){return ui(),S(M(VR,1),U,256,0,[iP,_s,Km,cP,y4,Kg,Hm,m4,k4,uP])},function Cse(n){return ui(),$e((XOn(),jXn),n)});b(292,22,{3:1,35:1,22:1,292:1},UO);var fy,QR,JR,EXn,YR=Me(ac,"GreedySwitchType",292,Ie,function yle(){return t3(),S(M(YR,1),U,292,0,[QR,JR,fy])},function Mse(n){return t3(),$e((WAn(),EXn),n)});b(303,22,{3:1,35:1,22:1,303:1},zO);var Mv,hy,Hg,CXn,TXn=Me(ac,"InLayerConstraint",303,Ie,function kle(){return Yh(),S(M(TXn,1),U,303,0,[hy,Hg,Mv])},function Sse(n){return Yh(),$e((zAn(),CXn),n)});b(420,22,{3:1,35:1,22:1,420:1},jU);var ZR,$un,MXn,Lun,Sv,$0,sP,Nun,xun,oP,Bun,ly,fP,qm,Av,cw,nK,hP,tc,_un,F0,Ac,eK,tK,ay,id,L0,Pv,Run,Iv,dy,uw,rf,io,rK,qg,bc,rt,Kun,Hun,qun,Gun,Uun,iK,lP,Au,N0,cK,Ov,by,Pf,Gg,j4,Ug,zg,E4,cd,zun,uK,sK,Dv,Fun=Me(ac,"InteractiveReferencePoint",420,Ie,function C1e(){return KT(),S(M(Fun,1),U,420,0,[ZR,$un])},function Ase(n){return KT(),$e((eAn(),MXn),n)});b(163,22,{3:1,35:1,22:1,163:1},w8);var Gm,Ul,Um,sw,wy,SXn,AXn,PXn,IXn,Xun,OXn,Vun,DXn,Qun,$Xn,FXn,LXn,Jun,NXn,xXn,Yun,BXn,_Xn,RXn,Zun,KXn,HXn,qXn,nsn,GXn,UXn,zXn,WXn,XXn,VXn,QXn,JXn,esn,YXn,tsn,ZXn,rsn,nVn,isn,eVn,csn,tVn,rVn,iVn,usn,cVn,ssn,uVn,osn,sVn,oVn,fVn,hVn,lVn,aVn,dVn,bVn,wVn,gVn,fsn,vVn,pVn,mVn,kVn,yVn,jVn,hsn,EVn,TVn,CVn,MVn,SVn,AVn,PVn,lsn,IVn,asn,OVn,DVn,$Vn,dsn,FVn,LVn,bsn,NVn,xVn,BVn,_Vn,RVn,KVn,HVn,qVn,wsn,GVn,UVn,zVn,gsn,WVn,vsn,XVn,VVn,QVn,JVn,YVn,ZVn,nQn,eQn,tQn,rQn,iQn,cQn,uQn,sQn,oQn,fQn,hQn,lQn,psn,aQn,dQn,msn,bQn,wQn,gQn,vQn,pQn,mQn,kQn,yQn,jQn,ksn,EQn,TQn,CQn,MQn,ysn,SQn,AQn,hh,oK,aP,zm,dP,jsn,bP,$v,wP,Esn,Tsn,fK,zl,hK,ow,Csn,gy,lK,Msn,PQn,gP,aK,Wm,fw,IQn,gs,Ssn,Asn,vP,dK,lh,pP,l1,Psn,Isn,Osn,bK,wK,Dsn,G1,gK,$sn,hw,Fsn,Lsn,Nsn,mP,lw,ud,xsn,Bsn,Ci,_sn,OQn,qc,kP,Rsn,Ksn,Hsn,vK,qsn,yP,Gsn,Usn,jP,x0,zsn,pK,Xm,Wsn,B0,Vm,EP,sd,mK,T4,TP,od,Xsn,Vsn,Qsn,C4,Jsn,DQn,$Qn,FQn,LQn,_0,aw,Nt,U1,NQn,dw,Ysn,M4,Zsn,bw,xQn,S4,non,Fv,BQn,_Qn,vy,kK,eon,py,$o,Wg,Lv,R0,fd,CP,ww,yK,A4,P4,K0,Xg,jK,my,Qm,Jm,EK,ton,ron,ion,con,TK,uon,son,oon,fon,CK,MP,RQn,SP,KQn,Wun=Me(ac,"LayerConstraint",163,Ie,function fde(){return Fs(),S(M(Wun,1),U,163,0,[wy,Gm,Ul,Um,sw])},function Pse(n){return Fs(),$e((QPn(),SXn),n)});b(848,1,Js,I3n),s.Qe=function(e){En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oen),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),rsn),(x1(),xt)),pun),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,fen),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Hn(),!1)),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,bS),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),fsn),xt),Fun),Tn(Wn)))),Er(e,bS,cB,pVn),Er(e,bS,hm,vVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hen),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,len),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),xr),cr),Tn(Wn)))),En(e,new bn(function Lre(n,e){return n.f=e,n}(yn(kn(jn(On(gn(mn(vn(pn(new dn,aen),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),xr),cr),Tn(ld)),S(M(tn,1),q,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,den),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),vsn),xt),Con),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ben),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Q(7)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wen),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gen),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,cB),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),tsn),xt),gun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Fk),PB),"Node Layering Strategy"),"Strategy for node layering."),asn),xt),don),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ven),PB),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),hsn),xt),Wun),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pen),PB),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,men),PB),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,uB),wHn),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Q(4)),oc),qr),Tn(Wn)))),Er(e,uB,Fk,CVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,sB),wHn),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Q(2)),oc),qr),Tn(Wn)))),Er(e,sB,Fk,SVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,oB),gHn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),lsn),xt),jon),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,fB),gHn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Q(0)),oc),qr),Tn(Wn)))),Er(e,fB,oB,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hB),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Q(Ze)),oc),qr),Tn(Wn)))),Er(e,hB,Fk,kVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hm),Lk),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),esn),xt),aun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ken),Lk),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,lB),Lk),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Di),Cr),Tn(Wn)))),Er(e,lB,SS,zXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,aB),Lk),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),xr),cr),Tn(Wn)))),Er(e,aB,hm,QXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yen),Lk),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jen),Lk),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Q(-1)),oc),qr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Een),vHn),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Q(40)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,dB),vHn),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),nsn),xt),YR),Tn(Wn)))),Er(e,dB,hm,GXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wS),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),Zun),xt),YR),Tn(Wn)))),Er(e,wS,hm,KXn),Er(e,wS,SS,HXn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Mg),pHn),"Node Placement Strategy"),"Strategy for node placement."),gsn),xt),von),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,gS),pHn),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),xr),cr),Tn(Wn)))),Er(e,gS,Mg,BVn),Er(e,gS,Mg,_Vn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,bB),mHn),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),dsn),xt),yun),Tn(Wn)))),Er(e,bB,Mg,FVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wB),mHn),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),bsn),xt),Mun),Tn(Wn)))),Er(e,wB,Mg,NVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gB),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Di),Cr),Tn(Wn)))),Er(e,gB,Mg,KVn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,vB),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),xt),IK),Tn(wr)))),Er(e,vB,Mg,UVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pB),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),wsn),xt),IK),Tn(Wn)))),Er(e,pB,Mg,GVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ten),kHn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),usn),xt),Aon),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Cen),kHn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),ssn),xt),Pon),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,vS),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),osn),xt),Oon),Tn(Wn)))),Er(e,vS,Nk,sVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,pS),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Di),Cr),Tn(Wn)))),Er(e,pS,Nk,fVn),Er(e,pS,vS,hVn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mB),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Di),Cr),Tn(Wn)))),Er(e,mB,Nk,rVn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Men),Cf),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Sen),Cf),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Aen),Cf),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Pen),Cf),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ien),_en),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Oen),_en),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Den),_en),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Q(0)),oc),qr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,kB),Ren),xKn),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),cr),Tn(Wn)))),Er(e,kB,cm,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,$en),yHn),"Post Compaction Strategy"),jHn),Vun),xt),Dun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Fen),yHn),"Post Compaction Constraint Calculation"),jHn),Xun),xt),hun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mS),Ken),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yB),Ken),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Q(16)),oc),qr),Tn(Wn)))),Er(e,yB,mS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jB),Ken),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Q(5)),oc),qr),Tn(Wn)))),Er(e,jB,mS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,h1),Hen),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),ksn),xt),Lon),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,kS),Hen),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Di),Cr),Tn(Wn)))),Er(e,kS,h1,iQn),Er(e,kS,h1,cQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,yS),Hen),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Di),Cr),Tn(Wn)))),Er(e,yS,h1,sQn),Er(e,yS,h1,oQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,lm),EHn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),msn),xt),bun),Tn(Wn)))),Er(e,lm,h1,bQn),Er(e,lm,h1,wQn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,EB),EHn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Of),Bs),Tn(Wn)))),Er(e,EB,lm,hQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,TB),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),psn),oc),qr),Tn(Wn)))),Er(e,TB,lm,aQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jS),THn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),ysn),xt),Fon),Tn(Wn)))),Er(e,jS,h1,SQn),Er(e,jS,h1,AQn),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ES),THn),"Valid Indices for Wrapping"),null),Of),Bs),Tn(Wn)))),Er(e,ES,h1,TQn),Er(e,ES,h1,CQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,TS),qen),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),xr),cr),Tn(Wn)))),Er(e,TS,h1,mQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,CS),qen),"Distance Penalty When Improving Cuts"),null),2),Di),Cr),Tn(Wn)))),Er(e,CS,h1,vQn),Er(e,CS,TS,!0),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,CB),qen),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),xr),cr),Tn(Wn)))),Er(e,CB,h1,yQn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Len),IB),"Edge Label Side Selection"),"Method to decide on edge label sides."),csn),xt),mun),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Nen),IB),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),isn),xt),v4),vt(Wn,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,MS),xk),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Yun),xt),Ton),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,xen),xk),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,MB),xk),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Qun),xt),pcn),Tn(Wn)))),Er(e,MB,cm,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ben),xk),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),Jun),xt),won),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,SB),xk),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Di),Cr),Tn(Wn)))),Er(e,SB,MS,null),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,AB),xk),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Di),Cr),Tn(Wn)))),Er(e,AB,MS,null),HRn((new $3n,e))},w(ac,"LayeredMetaDataProvider",848),b(986,1,Js,$3n),s.Qe=function(e){HRn(e)},w(ac,"LayeredOptions",986),b(987,1,{},jwn),s.$e=function(){return new Ymn},s._e=function(e){},w(ac,"LayeredOptions/LayeredFactory",987),b(1372,1,{}),s.a=0,w(dc,"ElkSpacings/AbstractSpacingsBuilder",1372),b(779,1372,{},ZQ),w(ac,"LayeredSpacings/LayeredSpacingsBuilder",779),b(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},E5),s.Kf=function(){return yxn(this)},s.Xf=function(){return yxn(this)};var MK,hon,lon,AP,SK,aon,HQn,don=Me(ac,"LayeringStrategy",313,Ie,function xde(){return pM(),S(M(don,1),U,313,0,[SK,lon,MK,hon,aon,AP])},function Ise(n){return pM(),$e((SIn(),HQn),n)});b(378,22,{3:1,35:1,22:1,378:1},WO);var AK,bon,PP,qQn,won=Me(ac,"LongEdgeOrderingStrategy",378,Ie,function wle(){return m6(),S(M(won,1),U,378,0,[AK,bon,PP])},function Ose(n){return m6(),$e((XAn(),qQn),n)});b(197,22,{3:1,35:1,22:1,197:1},lE);var Vg,Qg,IP,PK,GQn,IK=Me(ac,"NodeFlexibility",197,Ie,function jae(){return Ib(),S(M(IK,1),U,197,0,[IP,PK,Qg,Vg])},function Dse(n){return Ib(),$e((PPn(),GQn),n)});b(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},b8),s.Kf=function(){return cxn(this)},s.Xf=function(){return cxn(this)};var Ym,OK,DK,Zm,gon,UQn,von=Me(ac,"NodePlacementStrategy",315,Ie,function cde(){return I6(),S(M(von,1),U,315,0,[gon,OK,DK,Ym,Zm])},function Bse(n){return I6(),$e((XPn(),UQn),n)});b(260,22,{3:1,35:1,22:1,260:1},E2);var pon,ky,mon,kon,yy,yon,OP,DP,zQn,jon=Me(ac,"NodePromotionStrategy",260,Ie,function N0e(){return bg(),S(M(jon,1),U,260,0,[OP,ky,yy,mon,kon,pon,yon,DP])},function Fse(n){return bg(),$e((yOn(),zQn),n)});b(339,22,{3:1,35:1,22:1,339:1},XO);var Eon,Wl,$K,WQn,Ton=Me(ac,"OrderingStrategy",339,Ie,function Ele(){return n1(),S(M(Ton,1),U,339,0,[Wl,Eon,$K])},function Lse(n){return n1(),$e((QAn(),WQn),n)});b(421,22,{3:1,35:1,22:1,421:1},EU);var FK,LK,XQn,Con=Me(ac,"PortSortingStrategy",421,Ie,function M1e(){return h7(),S(M(Con,1),U,421,0,[FK,LK])},function Nse(n){return h7(),$e((ZSn(),XQn),n)});b(452,22,{3:1,35:1,22:1,452:1},VO);var Pu,xc,n9,QQn,VQn=Me(ac,"PortType",452,Ie,function jle(){return ii(),S(M(VQn,1),U,452,0,[n9,Pu,xc])},function $se(n){return ii(),$e((JAn(),QQn),n)});b(375,22,{3:1,35:1,22:1,375:1},QO);var Mon,NK,Son,JQn,Aon=Me(ac,"SelfLoopDistributionStrategy",375,Ie,function Tle(){return PC(),S(M(Aon,1),U,375,0,[Mon,NK,Son])},function xse(n){return PC(),$e((VAn(),JQn),n)});b(376,22,{3:1,35:1,22:1,376:1},TU);var jy,xK,YQn,Pon=Me(ac,"SelfLoopOrderingStrategy",376,Ie,function y1e(){return n7(),S(M(Pon,1),U,376,0,[xK,jy])},function _se(n){return n7(),$e((YSn(),YQn),n)});b(304,1,{304:1},G_n),w(ac,"Spacings",304),b(336,22,{3:1,35:1,22:1,336:1},JO);var BK,Ion,e9,ZQn,Oon=Me(ac,"SplineRoutingMode",336,Ie,function Mle(){return f3(),S(M(Oon,1),U,336,0,[BK,Ion,e9])},function Rse(n){return f3(),$e((ZAn(),ZQn),n)});b(338,22,{3:1,35:1,22:1,338:1},YO);var _K,Don,$on,nJn,Fon=Me(ac,"ValidifyStrategy",338,Ie,function Sle(){return SC(),S(M(Fon,1),U,338,0,[$on,_K,Don])},function Kse(n){return SC(),$e((nPn(),nJn),n)});b(377,22,{3:1,35:1,22:1,377:1},ZO);var gw,RK,I4,eJn,tJn,rJn,iJn,cJn,uJn,sJn,Non,xon,oJn,Lon=Me(ac,"WrappingStrategy",377,Ie,function Cle(){return FC(),S(M(Lon,1),U,377,0,[RK,I4,gw])},function Hse(n){return FC(),$e((YAn(),eJn),n)});b(1383,1,Cc,F3n),s.Yf=function(e){return u(e,37),tJn},s.pf=function(e,t){!function vje(n,e,t){var i,c,o,h,l,a,d,v;for(le(t,"Depth-first cycle removal",1),a=(d=e.a).c.length,n.c=new X,n.d=L(Hu,Oh,25,a,16,1),n.a=L(Hu,Oh,25,a,16,1),n.b=new X,o=0,l=new E(d);l.a0?se+1:1);for(o=new E(z.g);o.a0?se+1:1)}0==n.c[l]?Ke(n.e,m):0==n.a[l]&&Ke(n.f,m),++l}for(p=-1,v=1,d=new X,n.d=u(k(e,(G(),Ov)),230);Nf>0;){for(;0!=n.e.b;)ur=u(KD(n.e),10),n.b[ur.p]=p--,xZ(n,ur),--Nf;for(;0!=n.f.b;)ys=u(KD(n.f),10),n.b[ys.p]=v++,xZ(n,ys),--Nf;if(Nf>0){for(g=Lr,$=new E(D);$.a<$.c.c.length;)m=u(y($),10),0==n.b[m.p]&&(N=n.c[m.p]-n.a[m.p])>=g&&(N>g&&(d.c=L(Zn,rn,1,0,5,1),g=N),d.c[d.c.length]=m);a=n.Zf(d),n.b[a.p]=v++,xZ(n,a),--Nf}}for(Je=D.c.length+1,l=0;ln.b[(r=i[c]).d.i.p]&&(v0(r,!0),H(e,ly,(Hn(),!0)));n.a=null,n.c=null,n.b=null,zs(n.f),zs(n.e),ce(t)}(this,u(e,37),t)},s.Zf=function(e){return u(un(e,sM(this.d,e.c.length)),10)},w(IS,"GreedyCycleBreaker",782),b(1386,782,Cc,Okn),s.Zf=function(e){var t,r,i,c;for(c=null,t=Ze,i=new E(e);i.a0&&qLn(n,f,d);for(i=new E(d);i.a=h){ne(A.b>0),A.a.Xb(A.c=--A.b);break}m.a>l&&(i?(Qt(i.b,m.b),i.a=j.Math.max(i.a,m.a),Qu(A)):(W(m.b,d),m.c=j.Math.min(m.c,l),m.a=j.Math.max(m.a,h),i=m))}i||((i=new u9n).c=l,i.a=h,fb(A,i),W(i.b,d))}for(f=e.b,a=0,T=new E(r);T.ae.p?-1:0}(u(e,10),u(t,10))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Xb,"StretchWidthLayerer/1",1394),b(402,1,Ctn),s.Nf=function(e,t,r,i,c,o){},s._f=function(e,t,r){return RBn(this,e,t,r)},s.Mf=function(){this.g=L(Aw,MHn,25,this.d,15,1),this.f=L(Aw,MHn,25,this.d,15,1)},s.Of=function(e,t){this.e[e]=L(be,Ne,25,t[e].length,15,1)},s.Pf=function(e,t,r){r[e][t].p=t,this.e[e][t]=t},s.Qf=function(e,t,r,i){u(un(i[e][t].j,r),11).p=this.d++},s.b=0,s.c=0,s.d=0,w(mu,"AbstractBarycenterPortDistributor",402),b(1633,1,ft,u6n),s.ue=function(e,t){return function hve(n,e,t){var r,i,c,o;return(c=e.j)!=(o=t.j)?c.g-o.g:(i=n.f[t.p],0==(r=n.f[e.p])&&0==i?0:0==r?-1:0==i?1:Jt(r,i))}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(mu,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),b(817,1,$k,_X),s.Nf=function(e,t,r,i,c,o){},s.Pf=function(e,t,r){},s.Qf=function(e,t,r,i){},s.Lf=function(){return!1},s.Mf=function(){this.c=this.e.a,this.g=this.f.g},s.Of=function(e,t){t[e][0].c.p=e},s.Rf=function(){return!1},s.ag=function(e,t,r,i){r?WFn(this,e):(JFn(this,e,i),iRn(this,e,t)),e.c.length>1&&(on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),(nn(),ow))))?wxn(e,this.d,u(this,660)):(An(),ar(e,this.d)),LOn(this.e,e))},s.Sf=function(e,t,r,i){var f,h,l,a,d;for(t!=uTn(r,e.length)&&oV(this.f,e[t-(r?1:-1)],r?(ii(),xc):(ii(),Pu)),d=!i||e[t][0].k==(Vn(),zt),a=wf(e[t]),this.ag(a,d,!1,r),f=0,l=new E(a);l.a"),e0?$$(this.a,e[t-1],e[t]):!r&&t0&&(t+=h.n.a+h.o.a/2,++d),p=new E(h.j);p.a0&&(t/=d),A=L(kr,wi,25,r.a.c.length,15,1),f=0,l=new E(r.a);l.a1&&(on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),(nn(),ow))))?wxn(e,this.d,this):(An(),ar(e,this.d)),on(sn(k(Rr((Ln(0,e.c.length),u(e.c[0],10))),ow)))||LOn(this.e,e))},w(mu,"ModelOrderBarycenterHeuristic",660),b(1803,1,ft,w6n),s.ue=function(e,t){return O5e(this.a,u(e,10),u(t,10))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(mu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),b(1403,1,Cc,H3n),s.Yf=function(e){var t;return u(e,37),Ye(t=TE(gJn),(Wr(),Hc),(ti(),KA)),t},s.pf=function(e,t){!function g1e(n){le(n,"No crossing minimization",1),ce(n)}((u(e,37),t))},w(mu,"NoCrossingMinimizer",1403),b(796,402,Ctn,WG),s.$f=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p;switch(g=this.g,r.g){case 1:for(c=0,o=0,d=new E(e.j);d.a1&&(c.j==(J(),Xn)?this.b[e]=!0:c.j==qn&&e>0&&(this.b[e-1]=!0))},s.f=0,w(Dh,"AllCrossingsCounter",1798),b(587,1,{},EC),s.b=0,s.d=0,w(Dh,"BinaryIndexedTree",587),b(524,1,{},$8),w(Dh,"CrossingsCounter",524),b(1906,1,ft,g6n),s.ue=function(e,t){return function mfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$0$Type",1906),b(1907,1,ft,v6n),s.ue=function(e,t){return function kfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$1$Type",1907),b(1908,1,ft,p6n),s.ue=function(e,t){return function yfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$2$Type",1908),b(1909,1,ft,m6n),s.ue=function(e,t){return function jfe(n,e,t){return Wc(n.d[e.p],n.d[t.p])}(this.a,u(e,11),u(t,11))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Dh,"CrossingsCounter/lambda$3$Type",1909),b(1910,1,Jn,k6n),s.td=function(e){!function r0e(n,e){return Ep(),W(n,new Mr(e,Q(e.e.c.length+e.g.c.length)))}(this.a,u(e,11))},w(Dh,"CrossingsCounter/lambda$4$Type",1910),b(1911,1,Xe,y6n),s.Mb=function(e){return function vie(n,e){return Ep(),e!=n}(this.a,u(e,11))},w(Dh,"CrossingsCounter/lambda$5$Type",1911),b(1912,1,Jn,j6n),s.td=function(e){Skn(this,e)},w(Dh,"CrossingsCounter/lambda$6$Type",1912),b(1913,1,Jn,Z7n),s.td=function(e){var t;Ep(),yl(this.b,(t=this.a,u(e,11),t))},w(Dh,"CrossingsCounter/lambda$7$Type",1913),b(826,1,Zf,pq),s.Lb=function(e){return Ep(),fr(u(e,11),(G(),Au))},s.Fb=function(e){return this===e},s.Mb=function(e){return Ep(),fr(u(e,11),(G(),Au))},w(Dh,"CrossingsCounter/lambda$8$Type",826),b(1905,1,{},E6n),w(Dh,"HyperedgeCrossingsCounter",1905),b(467,1,{35:1,467:1},qjn),s.wd=function(e){return function nve(n,e){return n.ee.e?1:n.fe.f?1:kt(n)-kt(e)}(this,u(e,467))},s.b=0,s.c=0,s.e=0,s.f=0;var QCe=w(Dh,"HyperedgeCrossingsCounter/Hyperedge",467);b(362,1,{35:1,362:1},yT),s.wd=function(e){return function Yme(n,e){return n.ce.c?1:n.be.b?1:n.a!=e.a?kt(n.a)-kt(e.a):n.d==(s6(),i9)&&e.d==r9?-1:n.d==r9&&e.d==i9?1:0}(this,u(e,362))},s.b=0,s.c=0;var vJn=w(Dh,"HyperedgeCrossingsCounter/HyperedgeCorner",362);b(523,22,{3:1,35:1,22:1,523:1},CU);var r9,i9,mJn,kJn,yJn,LP,NP,pJn=Me(Dh,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Ie,function S1e(){return s6(),S(M(pJn,1),U,523,0,[i9,r9])},function Gse(n){return s6(),$e((rAn(),mJn),n)});b(1405,1,Cc,D3n),s.Yf=function(e){return u(k(u(e,37),(G(),Ac)),21).Hc((ui(),_s))?kJn:null},s.pf=function(e,t){!function m3e(n,e,t){var i;for(le(t,"Interactive node placement",1),n.a=u(k(e,(G(),Ug)),304),i=new E(e.b);i.a1},w(oi,"NetworkSimplexPlacer/lambda$18$Type",1431),b(1432,1,Jn,ECn),s.td=function(e){!function l2e(n,e,t,r,i){is(),Po(mo(po(vo(ko(new qs,0),i.d.e-n),e),i.d)),Po(mo(po(vo(ko(new qs,0),t-i.a.e),i.a),r))}(this.c,this.b,this.d,this.a,u(e,401))},s.c=0,s.d=0,w(oi,"NetworkSimplexPlacer/lambda$19$Type",1432),b(1415,1,{},Rwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$2$Type",1415),b(1433,1,Jn,S6n),s.td=function(e){!function rce(n,e){return is(),e.n.b+=n}(this.a,u(e,11))},s.a=0,w(oi,"NetworkSimplexPlacer/lambda$20$Type",1433),b(1434,1,{},Kwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$21$Type",1434),b(1435,1,Jn,A6n),s.td=function(e){pce(this.a,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$22$Type",1435),b(1436,1,Xe,Hwn),s.Mb=function(e){return Sjn(e)},w(oi,"NetworkSimplexPlacer/lambda$23$Type",1436),b(1437,1,{},qwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$24$Type",1437),b(1438,1,Xe,P6n),s.Mb=function(e){return function Tie(n,e){return 2==n.j[e.p]}(this.a,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$25$Type",1438),b(1439,1,Jn,tkn),s.td=function(e){!function W5e(n,e,t){var r,i,c;for(i=new ie(ue(t1(t).a.Kc(),new Yn));Ae(i);)!Ur(r=u(pe(i),17))&&(Ur(r)||r.c.i.c!=r.d.i.c)&&(c=Sxn(n,r,t,new f9n)).c.length>1&&(e.c[e.c.length]=c)}(this.a,this.b,u(e,10))},w(oi,"NetworkSimplexPlacer/lambda$26$Type",1439),b(1440,1,Xe,Gwn),s.Mb=function(e){return is(),!Ur(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$27$Type",1440),b(1441,1,Xe,Uwn),s.Mb=function(e){return is(),!Ur(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$28$Type",1441),b(1442,1,{},I6n),s.Ce=function(e,t){return wce(this.a,u(e,29),u(t,29))},w(oi,"NetworkSimplexPlacer/lambda$29$Type",1442),b(1416,1,{},zwn),s.Kb=function(e){return is(),new Dn(null,new Rd(new ie(ue(Yt(u(e,10)).a.Kc(),new Yn))))},w(oi,"NetworkSimplexPlacer/lambda$3$Type",1416),b(1417,1,Xe,Wwn),s.Mb=function(e){return is(),function tae(n){return is(),!(Ur(n)||!Ur(n)&&n.c.i.c==n.d.i.c)}(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$4$Type",1417),b(1418,1,Jn,O6n),s.td=function(e){!function kye(n,e){var t,r,o,f,h,a,d,g,p;t=Nd(new va,n.f),f=(h=e.c).a.b,d=(g=e.d).a.b,n.i[e.c.i.p].b||(f+=h.n.b),n.i[e.d.i.p].b||(d+=g.n.b),a=Ht(j.Math.max(0,f-d)),o=Ht(j.Math.max(0,d-f)),p=j.Math.max(1,u(k(e,(nn(),Fv)),19).a)*qX(e.c.i.k,e.d.i.k),r=new nkn(Po(mo(po(vo(ko(new qs,p),o),t),u(te(n.k,e.c),121))),Po(mo(po(vo(ko(new qs,p),a),t),u(te(n.k,e.d),121)))),n.c[e.p]=r}(this.a,u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$5$Type",1418),b(1419,1,{},Xwn),s.Kb=function(e){return is(),new Dn(null,new Fn(u(e,29).a,16))},w(oi,"NetworkSimplexPlacer/lambda$6$Type",1419),b(1420,1,Xe,Vwn),s.Mb=function(e){return is(),u(e,10).k==(Vn(),nr)},w(oi,"NetworkSimplexPlacer/lambda$7$Type",1420),b(1421,1,{},Qwn),s.Kb=function(e){return is(),new Dn(null,new Rd(new ie(ue(t1(u(e,10)).a.Kc(),new Yn))))},w(oi,"NetworkSimplexPlacer/lambda$8$Type",1421),b(1422,1,Xe,Jwn),s.Mb=function(e){return is(),function tfe(n){return!Ur(n)&&n.c.i.c==n.d.i.c}(u(e,17))},w(oi,"NetworkSimplexPlacer/lambda$9$Type",1422),b(1404,1,Cc,X3n),s.Yf=function(e){return u(k(u(e,37),(G(),Ac)),21).Hc((ui(),_s))?TJn:null},s.pf=function(e,t){!function eje(n,e){var t,r,i,c,o,f,h,l,a,d;for(le(e,"Simple node placement",1),d=u(k(n,(G(),Ug)),304),f=0,c=new E(n.b);c.a0?(v=(p-1)*t,f&&(v+=r),a&&(v+=r),v0&&(D-=v),enn(o,D),a=0,g=new E(o.a);g.a0),f.a.Xb(f.c=--f.b)),h=.4*r*a,!c&&f.b"+this.b+" ("+function Kce(n){return null!=n.f?n.f:""+n.g}(this.c)+")"},s.d=0,w(nf,"HyperEdgeSegmentDependency",129),b(520,22,{3:1,35:1,22:1,520:1},AU);var Xl,vw,qJn,GJn,UJn,zJn,WJn,XJn,HJn=Me(nf,"HyperEdgeSegmentDependency/DependencyType",520,Ie,function A1e(){return zo(),S(M(HJn,1),U,520,0,[vw,Xl])},function Wse(n){return zo(),$e((tAn(),qJn),n)});b(1815,1,{},$6n),w(nf,"HyperEdgeSegmentSplitter",1815),b(1816,1,{},h8n),s.a=0,s.b=0,w(nf,"HyperEdgeSegmentSplitter/AreaRating",1816),b(329,1,{329:1},_D),s.a=0,s.b=0,s.c=0,w(nf,"HyperEdgeSegmentSplitter/FreeArea",329),b(1817,1,ft,wgn),s.ue=function(e,t){return function xue(n,e){return Jt(n.c-n.s,e.c-e.s)}(u(e,112),u(t,112))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(nf,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),b(1818,1,Jn,TCn),s.td=function(e){Hae(this.a,this.d,this.c,this.b,u(e,112))},s.b=0,w(nf,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),b(1819,1,{},ggn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).e,16))},w(nf,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),b(1820,1,{},vgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).j,16))},w(nf,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),b(1821,1,{},pgn),s.Fe=function(e){return K(Y(e))},w(nf,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),b(655,1,{},f$),s.a=0,s.b=0,s.c=0,w(nf,"OrthogonalRoutingGenerator",655),b(1638,1,{},mgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).e,16))},w(nf,"OrthogonalRoutingGenerator/lambda$0$Type",1638),b(1639,1,{},kgn),s.Kb=function(e){return new Dn(null,new Fn(u(e,112).j,16))},w(nf,"OrthogonalRoutingGenerator/lambda$1$Type",1639),b(661,1,{}),w(NB,"BaseRoutingDirectionStrategy",661),b(1807,661,{},b9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t+e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(g,o=d),Ke(f.a,i),g0(this,f,c,i,!1),(v=e.r)&&(i=new fn(p=K(Y(Yo(v.e,0))),o),Ke(f.a,i),g0(this,f,c,i,!1),c=v,i=new fn(p,o=t+v.o*r),Ke(f.a,i),g0(this,f,c,i,!1)),i=new fn(T,o),Ke(f.a,i),g0(this,f,c,i,!1)))},s.eg=function(e){return e.i.n.a+e.n.a+e.a.a},s.fg=function(){return J(),ae},s.gg=function(){return J(),Rn},w(NB,"NorthToSouthRoutingStrategy",1807),b(1808,661,{},w9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t-e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(g,o=d),Ke(f.a,i),g0(this,f,c,i,!1),(v=e.r)&&(i=new fn(p=K(Y(Yo(v.e,0))),o),Ke(f.a,i),g0(this,f,c,i,!1),c=v,i=new fn(p,o=t-v.o*r),Ke(f.a,i),g0(this,f,c,i,!1)),i=new fn(T,o),Ke(f.a,i),g0(this,f,c,i,!1)))},s.eg=function(e){return e.i.n.a+e.n.a+e.a.a},s.fg=function(){return J(),Rn},s.gg=function(){return J(),ae},w(NB,"SouthToNorthRoutingStrategy",1808),b(1806,661,{},g9n),s.dg=function(e,t,r){var i,c,o,f,h,l,a,d,g,v,p,m,T;if(!e.r||e.q)for(d=t+e.o*r,a=new E(e.n);a.aeh&&(c=e,i=new fn(o=d,g),Ke(f.a,i),g0(this,f,c,i,!0),(v=e.r)&&(i=new fn(o,p=K(Y(Yo(v.e,0)))),Ke(f.a,i),g0(this,f,c,i,!0),c=v,i=new fn(o=t+v.o*r,p),Ke(f.a,i),g0(this,f,c,i,!0)),i=new fn(o,T),Ke(f.a,i),g0(this,f,c,i,!0)))},s.eg=function(e){return e.i.n.b+e.n.b+e.a.b},s.fg=function(){return J(),Xn},s.gg=function(){return J(),qn},w(NB,"WestToEastRoutingStrategy",1806),b(813,1,{},XZ),s.Ib=function(){return Il(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,w(Vb,"NubSpline",813),b(407,1,{407:1},_xn,iMn),w(Vb,"NubSpline/PolarCP",407),b(1453,1,Cc,AFn),s.Yf=function(e){return function d4e(n){var e,t;return fs(e=new or,GJn),(t=u(k(n,(G(),Ac)),21)).Hc((ui(),Hm))&&fs(e,XJn),t.Hc(m4)&&fs(e,UJn),t.Hc(Kg)&&fs(e,WJn),t.Hc(k4)&&fs(e,zJn),e}(u(e,37))},s.pf=function(e,t){!function WTe(n,e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,$,D,N,R,z,en,ln,wn,Gn,zn,se;if(le(t,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void ce(t);$=K(Y(k(e,(nn(),Xg)))),f=K(Y(k(e,fd))),o=K(Y(k(e,Wg))),ln=u(k(e,wK),336)==(f3(),e9),en=K(Y(k(e,Dsn))),n.d=e,n.j.c=L(Zn,rn,1,0,5,1),n.a.c=L(Zn,rn,1,0,5,1),Cu(n.k),a=yE((h=u(un(e.b,0),29)).a,(OM(),Ty)),d=yE((p=u(un(e.b,e.b.c.length-1),29)).a,Ty),m=new E(e.b),T=null,se=0;do{for($Te(n,T,D=m.a0?(l=0,T&&(l+=f),l+=(wn-1)*o,D&&(l+=f),ln&&D&&(l=j.Math.max(l,S8e(D,o,$,en))),l<$&&!g&&!v&&(zn=($-l)/2,l=$),N+=l):!g&&!v&&(N+=$),D&&enn(D,N),z=new E(n.i);z.a("+this.c+") "+this.b},s.c=0,w(Vb,"SplineEdgeRouter/Dependency",268),b(455,22,{3:1,35:1,22:1,455:1},PU);var Vl,Jg,QJn,VJn=Me(Vb,"SplineEdgeRouter/SideToProcess",455,Ie,function O1e(){return zd(),S(M(VJn,1),U,455,0,[Vl,Jg])},function Xse(n){return zd(),$e((uAn(),QJn),n)});b(1454,1,Xe,dgn),s.Mb=function(e){return R6(),!u(e,128).o},w(Vb,"SplineEdgeRouter/lambda$0$Type",1454),b(1455,1,{},agn),s.Ge=function(e){return R6(),u(e,128).v+1},w(Vb,"SplineEdgeRouter/lambda$1$Type",1455),b(1456,1,Jn,ckn),s.td=function(e){!function ife(n,e,t){return tt(n.b,u(t.b,17),e)}(this.a,this.b,u(e,46))},w(Vb,"SplineEdgeRouter/lambda$2$Type",1456),b(1457,1,Jn,ukn),s.td=function(e){!function cfe(n,e,t){return tt(n.b,u(t.b,17),e)}(this.a,this.b,u(e,46))},w(Vb,"SplineEdgeRouter/lambda$3$Type",1457),b(128,1,{35:1,128:1},tNn,nnn),s.wd=function(e){return function Ore(n,e){return n.s-e.s}(this,u(e,128))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,w(Vb,"SplineSegment",128),b(459,1,{459:1},bgn),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,w(Vb,"SplineSegment/EdgeInformation",459),b(1234,1,{},ogn),w(am,Vnn,1234),b(1235,1,ft,fgn),s.ue=function(e,t){return function K6e(n,e){var t,r,i;return 0==(t=u(k(e,(w0(),qP)),19).a-u(k(n,qP),19).a)?(r=pr(Ji(u(k(n,(uc(),My)),8)),u(k(n,s9),8)),i=pr(Ji(u(k(e,My),8)),u(k(e,s9),8)),Jt(r.a*r.b,i.a*i.b)):t}(u(e,135),u(t,135))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(am,RKn,1235),b(1233,1,{},M8n),w(am,"MrTree",1233),b(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},aE),s.Kf=function(){return SNn(this)},s.Xf=function(){return SNn(this)};var xP,c9,Cy,u9,JJn,Ron=Me(am,"TreeLayoutPhases",393,Ie,function Eae(){return p3(),S(M(Ron,1),U,393,0,[xP,c9,Cy,u9])},function Vse(n){return p3(),$e((CPn(),JJn),n)});b(1130,209,Xa,zjn),s.Ze=function(e,t){var i,c,o,h,l;for(on(sn(hn(e,(w0(),zon))))||PT(new V9((tb(),new Y0(e)))),Pi(h=new XT,e),H(h,(uc(),f9),e),function Dke(n,e,t){var r,i,c,o,f;for(c=0,i=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));i.e!=i.i.gc();)o="",0==(!(r=u(oe(i),33)).n&&(r.n=new V(_i,r,1,7)),r.n).i||(o=u(O((!r.n&&(r.n=new V(_i,r,1,7)),r.n),0),137).a),Pi(f=new _F(c++,e,o),r),H(f,(uc(),f9),r),f.e.b=r.j+r.f/2,f.f.a=j.Math.max(r.g,1),f.e.a=r.i+r.g/2,f.f.b=j.Math.max(r.f,1),Ke(e.b,f),Rc(t.f,r,f)}(e,h,l=new we),function Vke(n,e,t){var r,i,c,o,f,h,l;for(o=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));o.e!=o.i.gc();)for(i=new ie(ue(c1(c=u(oe(o),33)).a.Kc(),new Yn));Ae(i);)!B6(r=u(pe(i),79))&&!B6(r)&&!d0(r)&&(h=u(Qi(Ai(t.f,c)),86),l=u(te(t,Ii(u(O((!r.c&&(r.c=new $n(he,r,5,8)),r.c),0),82))),86),h&&l&&(H(f=new pX(h,l),(uc(),f9),r),Pi(f,r),Ke(h.d,f),Ke(l.b,f),Ke(e.a,f)))}(e,h,l),c=new E(o=Hke(this.a,h));c.ad&&(zn=0,se+=a+en,a=0),O9e(R,o,zn,se),e=j.Math.max(e,zn+z.a),a=j.Math.max(a,z.b),zn+=z.a+en;for(N=new we,t=new we,wn=new E(n);wn.a"+NT(this.c):"e_"+kt(this)},w(dm,"TEdge",188),b(135,134,{3:1,135:1,94:1,134:1},XT),s.Ib=function(){var e,t,r,i,c;for(c=null,i=Re(this.b,0);i.b!=i.d.c;)c+=(null==(r=u(_e(i),86)).c||0==r.c.length?"n_"+r.g:"n_"+r.c)+"\n";for(t=Re(this.a,0);t.b!=t.d.c;)c+=((e=u(_e(t),188)).b&&e.c?NT(e.b)+"->"+NT(e.c):"e_"+kt(e))+"\n";return c};var ZCe=w(dm,"TGraph",135);b(633,502,{3:1,502:1,633:1,94:1,134:1}),w(dm,"TShape",633),b(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},_F),s.Ib=function(){return NT(this)};var nMe=w(dm,"TNode",86);b(255,1,Sh,il),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return new b2(Re(this.a.d,0))},w(dm,"TNode/2",255),b(358,1,mr,b2),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(_e(this.a),188).c},s.Ob=function(){return Hj(this.a)},s.Qb=function(){fC(this.a)},w(dm,"TNode/2/1",358),b(1840,1,Lt,Ujn),s.pf=function(e,t){lye(this,u(e,135),t)},w(mv,"FanProcessor",1840),b(327,22,{3:1,35:1,22:1,327:1,234:1},T5),s.Kf=function(){switch(this.g){case 0:return new O9n;case 1:return new Ujn;case 2:return new Egn;case 3:return new ygn;case 4:return new Cgn;case 5:return new Mgn;default:throw C(new Kn(tB+(null!=this.f?this.f:""+this.g)))}};var HK,qK,GK,UK,zK,BP,ZJn,My,s9,nYn,WK,_P,o9,XK,RP,KP,O4,f9,HP,W1,Kon,eYn,VK,pw,QK,Hon,tYn,qon,rYn,Gon,iYn,Uon,cYn,uYn,sYn,oYn,zon,fYn,Won,hYn,qP,Xon,lYn,Von,aYn,YJn=Me(mv,sen,327,Ie,function _de(){return N6(),S(M(YJn,1),U,327,0,[BP,qK,UK,GK,zK,HK])},function Qse(n){return N6(),$e((PIn(),ZJn),n)});b(1843,1,Lt,ygn),s.pf=function(e,t){Wme(this,u(e,135),t)},s.a=0,w(mv,"LevelHeightProcessor",1843),b(1844,1,Sh,jgn),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return An(),ap(),s4},w(mv,"LevelHeightProcessor/1",1844),b(1841,1,Lt,Egn),s.pf=function(e,t){n6e(this,u(e,135),t)},s.a=0,w(mv,"NeighborsProcessor",1841),b(1842,1,Sh,Tgn),s.Jc=function(e){Ir(this,e)},s.Kc=function(){return An(),ap(),s4},w(mv,"NeighborsProcessor/1",1842),b(1845,1,Lt,Cgn),s.pf=function(e,t){zme(this,u(e,135),t)},s.a=0,w(mv,"NodePositionProcessor",1845),b(1839,1,Lt,O9n),s.pf=function(e,t){!function pje(n,e){var t,r,i,c,o,f,h;for(n.a.c=L(Zn,rn,1,0,5,1),r=Re(e.b,0);r.b!=r.d.c;)0==(t=u(_e(r),86)).b.b&&(H(t,(uc(),pw),(Hn(),!0)),W(n.a,t));switch(n.a.c.length){case 0:H(i=new _F(0,e,"DUMMY_ROOT"),(uc(),pw),(Hn(),!0)),H(i,WK,!0),Ke(e.b,i);break;case 1:break;default:for(c=new _F(0,e,"SUPER_ROOT"),f=new E(n.a);f.aSg&&(i-=Sg),f=u(hn(r,_v),8),(c=j.Math.atan2(f.b+n,f.a))<0&&(c+=Sg),(c+=e)>Sg&&(c-=Sg),ff(),Mo(1e-10),j.Math.abs(i-c)<=1e-10||i==c||isNaN(i)&&isNaN(c)?0:ic?1:$d(isNaN(i),isNaN(c))}(this.a,this.b,u(e,33),u(t,33))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},s.a=0,s.b=0,w(Atn,"RadialUtil/lambda$0$Type",549),b(1375,1,Lt,Pgn),s.pf=function(e,t){!function sEe(n,e){var t,r,i,c,o,f,h,l,a,d,g,v,p,m,A;for(le(e,"Calculate Graph Size",1),e.n&&n&&Eo(e,To(n),(Yu(),ks)),f=U3,h=U3,c=Ptn,o=Ptn,d=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));d.e!=d.i.gc();)p=(l=u(oe(d),33)).i,m=l.j,A=l.g,r=l.f,i=u(hn(l,(We(),By)),142),f=j.Math.min(f,p-i.b),h=j.Math.min(h,m-i.d),c=j.Math.max(c,p+A+i.c),o=j.Math.max(o,m+r+i.a);for(g=new fn(f-(v=u(hn(n,(We(),dd)),116)).b,h-v.d),a=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));a.e!=a.i.gc();)nu(l=u(oe(a),33),l.i-g.a),eu(l,l.j-g.b);t=o-h+(v.d+v.a),e0(n,c-f+(v.b+v.c)),n0(n,t),e.n&&n&&Eo(e,To(n),(Yu(),ks))}(u(e,33),t)},w($Hn,"CalculateGraphSize",1375),b(442,22,{3:1,35:1,22:1,442:1,234:1},eD),s.Kf=function(){switch(this.g){case 0:return new Fgn;case 1:return new Agn;case 2:return new Pgn;default:throw C(new Kn(tB+(null!=this.f?this.f:""+this.g)))}};var ZK,nH,eH,yYn,kYn=Me($Hn,sen,442,Ie,function Ple(){return UC(),S(M(kYn,1),U,442,0,[eH,ZK,nH])},function noe(n){return UC(),$e((tPn(),yYn),n)});b(645,1,{}),s.e=1,s.g=0,w(_B,"AbstractRadiusExtensionCompaction",645),b(1772,645,{},Ejn),s.hg=function(e){var t,r,i,c,o,f,h,l,a;for(this.c=u(hn(e,(R5(),h9)),33),function ate(n,e){n.f=e}(this,this.c),this.d=EL(u(hn(e,(Ob(),Sy)),293)),(l=u(hn(e,rH),19))&&D4n(this,l.a),_q(this,(_n(h=Y(hn(e,(We(),bd)))),h)),a=_b(this.c),this.d&&this.d.lg(a),function rke(n,e){var t,r,i;for(r=new E(e);r.ar?1:0}(u(e,33),u(t,33))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(_Hn,"RectPackingLayoutProvider/lambda$0$Type",1137),b(1256,1,{},kEn),s.a=0,s.c=!1,w($S,"AreaApproximation",1256);var kfn=Et($S,"BestCandidateFilter");b(638,1,{526:1},XI),s.mg=function(e,t,r){var i,c,o,f,h,l;for(l=new X,o=Ft,h=new E(e);h.a1)for(i=new E(n.a);i.a>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[15&n]<<28}(gp(this.b))},s.Jf=function(e){var t,i,c;for(i=0;i0&&IDn((Ce(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(i>=t)throw C(new Kn("The given string does not contain any numbers."));if(2!=(c=Rb(e.substr(i,t-i),",|;|\r|\n")).length)throw C(new Kn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Lb(Fb(c[0])),this.b=Lb(Fb(c[1]))}catch(o){throw I(o=jt(o),127)?C(new Kn(JKn+o)):C(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var hr=w(Dk,"KVector",8);b(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},lu,Rj,bjn),s.Pc=function(){return function _we(n){var e,t,r;for(e=0,r=L(hr,q,8,n.b,0,1),t=Re(n,0);t.b!=t.d.c;)r[e++]=u(_e(t),8);return r}(this)},s.Jf=function(e){var r,i,c,o,f;i=Rb(e,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),zs(this);try{for(r=0,o=0,c=0,f=0;r0&&(o%2==0?c=Lb(i[r]):f=Lb(i[r]),o>0&&o%2!=0&&Ke(this,new fn(c,f)),++o),++r}catch(h){throw I(h=jt(h),127)?C(new Kn("The given string does not match the expected format for vectors."+h)):C(h)}},s.Ib=function(){var e,t,r;for(e=new ts("("),t=Re(this,0);t.b!=t.d.c;)De(e,(r=u(_e(t),8)).a+","+r.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var fhn=w(Dk,"KVectorChain",74);b(248,22,{3:1,35:1,22:1,248:1},C5);var mH,nI,eI,Iy,Oy,tI,_Zn,lhn,kH,RZn,ahn,dhn,KZn,bhn,HZn,qZn,whn,ghn,GZn,hhn=Me(Zs,"Alignment",248,Ie,function $de(){return Th(),S(M(hhn,1),U,248,0,[mH,Iy,Oy,tI,nI,eI])},function goe(n){return Th(),$e((EIn(),_Zn),n)});b(979,1,Js,Z3n),s.Qe=function(e){XBn(e)},w(Zs,"BoxLayouterOptions",979),b(980,1,{},y2n),s.$e=function(){return new P2n},s._e=function(e){},w(Zs,"BoxLayouterOptions/BoxFactory",980),b(291,22,{3:1,35:1,22:1,291:1},M5);var Dy,yH,$y,Fy,Ly,jH,UZn,w9,zZn,vhn,Bv,WZn,XZn,phn,VZn,rI,mhn,Ny,q0,khn,TH,CH,yhn,jhn,Ehn,Thn,Chn,Mhn,Zg,Shn,QZn,xy,MH,iI,Ahn,n2,Phn,By,Ihn,Ohn,Dhn,e2,$hn,ad,Fhn,cI,t2,Lhn,Ql,Nhn,uI,_y,dd,xhn,JZn,Bhn,YZn,ZZn,_hn,Rhn,SH,AH,PH,IH,Khn,Ru,g9,Hhn,OH,DH,mw,qhn,Ghn,r2,Uhn,_v,sI,$H,F4,nne,FH,ene,tne,zhn,rne,Whn,ine,Rv,Xhn,oI,Vhn,Qhn,bd,cne,Jhn,Yhn,Zhn,EH=Me(Zs,"ContentAlignment",291,Ie,function Dde(){return $b(),S(M(EH,1),U,291,0,[jH,Ly,Fy,yH,Dy,$y])},function voe(n){return $b(),$e((jIn(),UZn),n)});b(684,1,Js,Mq),s.Qe=function(e){En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,zHn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(x1(),$4)),tn),Tn((Jo(),Wn))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,WHn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Of),rMe),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,itn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),vhn),xt),hhn),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,bv),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Ytn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Of),fhn),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,AS),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),mhn),xv),EH),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Bk),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Hn(),!1)),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,stn),""),Rnn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),khn),xt),v9),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Nk),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Ehn),xt),NH),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,FS),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,SS),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Shn),xt),a1n),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,j0),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),xhn),Of),kcn),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ik),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,FB),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,um),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Zx),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),Hhn),xt),w1n),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,PS),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Of),hr),vt(wr,S(M(V1,1),U,175,0,[ld,X1]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,Pk),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),oc),qr),vt(wr,S(M(V1,1),U,175,0,[ah]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,fS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,cm),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gtn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Phn),Of),fhn),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,mtn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ktn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,XHn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Of),oMe),vt(Wn,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,jtn),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Ihn),Of),mcn),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ttn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),xr),cr),vt(wr,S(M(V1,1),U,175,0,[ah,ld,X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,VHn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Di),Cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,QHn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,JHn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Q(100)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,YHn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ZHn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Q(4e3)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,nqn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Q(400)),oc),qr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,eqn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,tqn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,rqn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,iqn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jtn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),phn),xt),y1n),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Gen),Cf),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Uen),Cf),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wx),Cf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,zen),Cf),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Yx),Cf),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wen),Cf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Xen),Cf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Jen),Cf),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Ven),Cf),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Qen),Cf),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Wb),Cf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Yen),Cf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Di),Cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Zen),Cf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Di),Cr),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ntn),Cf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Of),Mne),vt(wr,S(M(V1,1),U,175,0,[ah,ld,X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Etn),Cf),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Yhn),Of),mcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,$B),oqn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),oc),qr),vt(Wn,S(M(V1,1),U,175,0,[wr]))))),Er(e,$B,DB,ZZn),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,DB),oqn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),Bhn),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,otn),fqn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Dhn),Of),kcn),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,W3),fqn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),$hn),xv),fi),vt(wr,S(M(V1,1),U,175,0,[X1]))))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ltn),NS),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Rhn),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,atn),NS),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,dtn),NS),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,btn),NS),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,wtn),NS),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),xt),y9),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Cg),ZB),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Fhn),xv),T9),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,wv),ZB),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),Nhn),xv),v1n),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,gv),ZB),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Lhn),Of),hr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,OB),ZB),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),xr),cr),Tn(Wn)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,vtn),IB),"Edge Label Placement"),"Gives a hint on where to put edge labels."),yhn),xt),n1n),Tn(X1)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,hS),IB),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),xr),cr),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,cqn),"font"),"Font Name"),"Font name used for a label."),$4),tn),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,uqn),"font"),"Font Size"),"Font size used for a label."),oc),qr),Tn(X1)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ytn),n_),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Of),hr),Tn(ld)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,ptn),n_),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),oc),qr),Tn(ld)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,rtn),n_),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Uhn),xt),Qr),Tn(ld)))),En(e,new bn(yn(kn(jn(gn(mn(vn(pn(new dn,etn),n_),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Di),Cr),Tn(ld)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,X3),Ztn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),qhn),xv),hI),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ftn),Ztn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,htn),Ztn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,ctn),hqn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),xr),cr),Tn(wr)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,utn),hqn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),cr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,Xx),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Di),Cr),Tn(ah)))),En(e,new bn(yn(kn(jn(On(gn(mn(vn(pn(new dn,sqn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Chn),xt),u1n),Tn(ah)))),b5(e,new _2(o5(op(sp(new a2,Qn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),b5(e,new _2(o5(op(sp(new a2,ds),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),b5(e,new _2(o5(op(sp(new a2,DHn),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),b5(e,new _2(o5(op(sp(new a2,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),b5(e,new _2(o5(op(sp(new a2,ch),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),$Bn((new n4n,e)),XBn((new Z3n,e)),fBn((new e4n,e))},w(Zs,"CoreOptions",684),b(103,22,{3:1,35:1,22:1,103:1},m8);var a1,co,Fo,Lh,d1,une,v9=Me(Zs,Rnn,103,Ie,function ede(){return ci(),S(M(v9,1),U,103,0,[Lh,Fo,co,a1,d1])},function koe(n){return ci(),$e((eIn(),une),n)});b(272,22,{3:1,35:1,22:1,272:1},uD);var L4,kw,N4,sne,n1n=Me(Zs,"EdgeLabelPlacement",272,Ie,function Lle(){return vf(),S(M(n1n,1),U,272,0,[L4,kw,N4])},function yoe(n){return vf(),$e((oPn(),sne),n)});b(218,22,{3:1,35:1,22:1,218:1},bE);var x4,Ry,Kv,LH,one,NH=Me(Zs,"EdgeRouting",218,Ie,function Sae(){return r1(),S(M(NH,1),U,218,0,[LH,Ry,x4,Kv])},function joe(n){return r1(),$e((DPn(),one),n)});b(312,22,{3:1,35:1,22:1,312:1},S5);var e1n,t1n,r1n,i1n,xH,c1n,fne,s1n,o1n,f1n,h1n,hne,l1n,p9,u1n=Me(Zs,"EdgeType",312,Ie,function Kde(){return kM(),S(M(u1n,1),U,312,0,[xH,r1n,c1n,e1n,i1n,t1n])},function Eoe(n){return kM(),$e((OIn(),fne),n)});b(977,1,Js,n4n),s.Qe=function(e){$Bn(e)},w(Zs,"FixedLayouterOptions",977),b(978,1,{},F2n),s.$e=function(){return new S2n},s._e=function(e){},w(Zs,"FixedLayouterOptions/FixedFactory",978),b(334,22,{3:1,35:1,22:1,334:1},sD);var Q1,fI,m9,lne,a1n=Me(Zs,"HierarchyHandling",334,Ie,function Fle(){return e1(),S(M(a1n,1),U,334,0,[fI,Q1,m9])},function Toe(n){return e1(),$e((sPn(),lne),n)});b(285,22,{3:1,35:1,22:1,285:1},wE);var Nh,Jl,Ky,Hy,dne,ane=Me(Zs,"LabelSide",285,Ie,function Mae(){return hs(),S(M(ane,1),U,285,0,[Hy,Nh,Jl,Ky])},function Coe(n){return hs(),$e((OPn(),dne),n)});b(93,22,{3:1,35:1,22:1,93:1},Nw);var b1,Lo,uo,No,vs,xo,so,xh,Bo,bne,fi=Me(Zs,"NodeLabelPlacement",93,Ie,function G0e(){return xb(),S(M(fi,1),U,93,0,[Lo,b1,No,Bo,xh,so,vs,xo,uo])},function Moe(n){return xb(),$e((DOn(),bne),n)});b(249,22,{3:1,35:1,22:1,249:1},k8);var d1n,k9,Yl,b1n,qy,wne,y9=Me(Zs,"PortAlignment",249,Ie,function tde(){return ig(),S(M(y9,1),U,249,0,[Yl,qy,d1n,k9,b1n])},function Soe(n){return ig(),$e((tIn(),wne),n)});b(98,22,{3:1,35:1,22:1,98:1},A5);var wd,Pc,Bh,B4,Df,Zl,gne,w1n=Me(Zs,"PortConstraints",98,Ie,function Tde(){return Tr(),S(M(w1n,1),U,98,0,[Zl,Df,B4,wd,Bh,Pc])},function Aoe(n){return Tr(),$e((vIn(),gne),n)});b(273,22,{3:1,35:1,22:1,273:1},P5);var j9,E9,w1,Gy,na,Hv,vne,hI=Me(Zs,"PortLabelPlacement",273,Ie,function Rde(){return Su(),S(M(hI,1),U,273,0,[na,w1,Gy,E9,j9,Hv])},function Poe(n){return Su(),$e((IIn(),vne),n)});b(61,22,{3:1,35:1,22:1,61:1},y8);var Xn,Rn,Rs,Ks,cu,Gc,$f,_o,Iu,yu,Ic,Ou,uu,su,Ro,ps,ms,oo,ae,Xi,qn,pne,mne,kne,g1n,yne,jne,Qr=Me(Zs,"PortSide",61,Ie,function Yae(){return J(),S(M(Qr,1),lc,61,0,[Xi,Rn,Xn,ae,qn])},function Doe(n){return J(),$e((rIn(),pne),n)});b(981,1,Js,e4n),s.Qe=function(e){fBn(e)},w(Zs,"RandomLayouterOptions",981),b(982,1,{},L2n),s.$e=function(){return new B2n},s._e=function(e){},w(Zs,"RandomLayouterOptions/RandomFactory",982),b(374,22,{3:1,35:1,22:1,374:1},gE);var yw,Uy,zy,gd,Ene,T9=Me(Zs,"SizeConstraint",374,Ie,function Cae(){return Zu(),S(M(T9,1),U,374,0,[zy,gd,Uy,yw])},function Ioe(n){return Zu(),$e((FPn(),Ene),n)});b(259,22,{3:1,35:1,22:1,259:1},xw);var Wy,lI,_4,BH,Xy,C9,aI,dI,bI,Tne,v1n=Me(Zs,"SizeOptions",259,Ie,function J0e(){return xu(),S(M(v1n,1),U,259,0,[_4,Xy,lI,C9,aI,bI,dI,BH,Wy])},function Ooe(n){return xu(),$e((VOn(),Tne),n)});b(370,1,{1949:1},ip),s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,w(dc,"BasicProgressMonitor",370),b(972,209,Xa,P2n),s.Ze=function(e,t){var r,i,c,o,f,h,l,a,d;0===(le(t,"Box layout",2),c=n8(Y(hn(e,(yM(),GZn)))),o=u(hn(e,qZn),116),r=on(sn(hn(e,ahn))),i=on(sn(hn(e,dhn))),u(hn(e,kH),311).g)?(h=new bu((!e.a&&(e.a=new V(It,e,10,11)),e.a)),An(),ar(h,new U6n(i)),f=h,l=$Y(e),(null==(a=Y(hn(e,lhn)))||(_n(a),a<=0))&&(a=1.3),p0(e,(d=NTe(f,c,o,l.a,l.b,r,(_n(a),a))).a,d.b,!1,!0)):Dje(e,c,o,r),ce(t)},w(dc,"BoxLayoutProvider",972),b(973,1,ft,U6n),s.ue=function(e,t){return function n8e(n,e,t){var r,i,c;return!(i=u(hn(e,(yM(),ghn)),19))&&(i=Q(0)),!(c=u(hn(t,ghn),19))&&(c=Q(0)),i.a>c.a?-1:i.a0&&p.b>0&&p0(A,p.a,p.b,!0,!0)),g=j.Math.max(g,A.i+A.g),v=j.Math.max(v,A.j+A.f),a=new re((!A.n&&(A.n=new V(_i,A,1,7)),A.n));a.e!=a.i.gc();)h=u(oe(a),137),(wn=u(hn(h,p9),8))&&of(h,wn.a,wn.b),g=j.Math.max(g,A.i+h.i+h.g),v=j.Math.max(v,A.j+h.j+h.f);for(z=new re((!A.c&&(A.c=new V(Ku,A,9,9)),A.c));z.e!=z.i.gc();)for(R=u(oe(z),118),(wn=u(hn(R,p9),8))&&of(R,wn.a,wn.b),ln=A.j+R.j,g=j.Math.max(g,(en=A.i+R.i)+R.g),v=j.Math.max(v,ln+R.f),l=new re((!R.n&&(R.n=new V(_i,R,1,7)),R.n));l.e!=l.i.gc();)h=u(oe(l),137),(wn=u(hn(h,p9),8))&&of(h,wn.a,wn.b),g=j.Math.max(g,en+h.i+h.g),v=j.Math.max(v,ln+h.j+h.f);for(c=new ie(ue(c1(A).a.Kc(),new Yn));Ae(c);)d=TRn(r=u(pe(c),79)),g=j.Math.max(g,d.a),v=j.Math.max(v,d.b);for(i=new ie(ue(tk(A).a.Kc(),new Yn));Ae(i);)At(Ch(r=u(pe(i),79)))!=e&&(d=TRn(r),g=j.Math.max(g,d.a),v=j.Math.max(v,d.b))}if(o==(r1(),x4))for($=new re((!e.a&&(e.a=new V(It,e,10,11)),e.a));$.e!=$.i.gc();)for(i=new ie(ue(c1(A=u(oe($),33)).a.Kc(),new Yn));Ae(i);)f=Zke(r=u(pe(i),79)),bi(r,n2,0==f.b?null:f);on(sn(hn(e,(NC(),f1n))))||p0(e,g+(N=u(hn(e,hne),116)).b+N.c,v+N.d+N.a,!0,!0),ce(t)},w(dc,"FixedLayoutProvider",1138),b(373,134,{3:1,414:1,373:1,94:1,134:1},JI,KPn),s.Jf=function(e){var r,i,o,f,h,l,a;if(e)try{for(l=Rb(e,";,;"),f=0,h=(o=l).length;f>16&Gt|t^(o&Gt)<<16},s.Kc=function(){return new V6n(this)},s.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+xi(this.b)+")":null==this.b?"pair("+xi(this.a)+",null)":"pair("+xi(this.a)+","+xi(this.b)+")"},w(dc,"Pair",46),b(983,1,mr,V6n),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},s.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw C(new ic)},s.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),C(new hu)},s.b=!1,s.c=!1,w(dc,"Pair/1",983),b(448,1,{448:1},CCn),s.Fb=function(e){return mc(this.a,u(e,448).a)&&mc(this.c,u(e,448).c)&&mc(this.d,u(e,448).d)&&mc(this.b,u(e,448).b)},s.Hb=function(){return xC(S(M(Zn,1),rn,1,5,[this.a,this.c,this.d,this.b]))},s.Ib=function(){return"("+this.a+Xr+this.c+Xr+this.d+Xr+this.b+")"},w(dc,"Quadruple",448),b(1126,209,Xa,B2n),s.Ze=function(e,t){var o;le(t,"Random Layout",1),0!=(!e.a&&(e.a=new V(It,e,10,11)),e.a).i?(function dTe(n,e,t,r,i){var c,f,h,l,a,d,g,v,p,m,T,A,$,D,R,z,en,ln,wn,Gn;for(D=0,p=0,v=0,g=1,$=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));$.e!=$.i.gc();)g+=Vh(new ie(ue(c1(T=u(oe($),33)).a.Kc(),new Yn))),p=j.Math.max(p,ln=T.g),v=j.Math.max(v,d=T.f),D+=ln*d;for(m=(!n.a&&(n.a=new V(It,n,10,11)),n.a).i,c=j.Math.sqrt(D+2*r*r*g*m),h=j.Math.max(c*t,p),f=j.Math.max(c/t,v),A=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));A.e!=A.i.gc();)T=u(oe(A),33),wn=i.b+(Nu(e,26)*Z6+Nu(e,27)*nm)*(h-T.g),Gn=i.b+(Nu(e,26)*Z6+Nu(e,27)*nm)*(f-T.f),nu(T,wn),eu(T,Gn);for(en=h+(i.b+i.c),z=f+(i.d+i.a),R=new re((!n.a&&(n.a=new V(It,n,10,11)),n.a));R.e!=R.i.gc();)for(a=new ie(ue(c1(u(oe(R),33)).a.Kc(),new Yn));Ae(a);)B6(l=u(pe(a),79))||bCe(l,e,en,z);p0(n,en+=i.b+i.c,z+=i.d+i.a,!1,!0)}(e,(o=u(hn(e,(fJ(),yne)),19))&&0!=o.a?new GT(o.a):new uL,n8(Y(hn(e,mne))),n8(Y(hn(e,jne))),u(hn(e,kne),116)),ce(t)):ce(t)},w(dc,"RandomLayoutProvider",1126),b(553,1,{}),s.qf=function(){return new fn(this.f.i,this.f.j)},s.We=function(e){return JCn(e,(We(),Ru))?hn(this.f,Ine):hn(this.f,e)},s.rf=function(){return new fn(this.f.g,this.f.f)},s.sf=function(){return this.g},s.Xe=function(e){return Aa(this.f,e)},s.tf=function(e){nu(this.f,e.a),eu(this.f,e.b)},s.uf=function(e){e0(this.f,e.a),n0(this.f,e.b)},s.vf=function(e){this.g=e},s.g=0,w(gm,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),b(554,1,{839:1},Mj),s.wf=function(){var e,t;if(!this.b)for(this.b=RT(pT(this.a).i),t=new re(pT(this.a));t.e!=t.i.gc();)e=u(oe(t),137),W(this.b,new EO(e));return this.b},s.b=null,w(gm,"ElkGraphAdapters/ElkEdgeAdapter",554),b(301,553,{},Y0),s.xf=function(){return CFn(this)},s.a=null,w(gm,"ElkGraphAdapters/ElkGraphAdapter",301),b(630,553,{181:1},EO),w(gm,"ElkGraphAdapters/ElkLabelAdapter",630),b(629,553,{680:1},jD),s.wf=function(){return function wpe(n){var e,t;if(!n.b)for(n.b=RT(u(n.f,33).Ag().i),t=new re(u(n.f,33).Ag());t.e!=t.i.gc();)e=u(oe(t),137),W(n.b,new EO(e));return n.b}(this)},s.Af=function(){var e;return!(e=u(hn(this.f,(We(),By)),142))&&(e=new n5),e},s.Cf=function(){return function gpe(n){var e,t;if(!n.e)for(n.e=RT(v$(u(n.f,33)).i),t=new re(v$(u(n.f,33)));t.e!=t.i.gc();)e=u(oe(t),118),W(n.e,new Tmn(e));return n.e}(this)},s.Ef=function(e){var t;t=new xD(e),bi(this.f,(We(),By),t)},s.Ff=function(e){bi(this.f,(We(),dd),new iW(e))},s.yf=function(){return this.d},s.zf=function(){var e,t;if(!this.a)for(this.a=new X,t=new ie(ue(tk(u(this.f,33)).a.Kc(),new Yn));Ae(t);)e=u(pe(t),79),W(this.a,new Mj(e));return this.a},s.Bf=function(){var e,t;if(!this.c)for(this.c=new X,t=new ie(ue(c1(u(this.f,33)).a.Kc(),new Yn));Ae(t);)e=u(pe(t),79),W(this.c,new Mj(e));return this.c},s.Df=function(){return 0!=TT(u(this.f,33)).i||on(sn(u(this.f,33).We((We(),xy))))},s.Gf=function(){u0e(this,(tb(),Pne))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,w(gm,"ElkGraphAdapters/ElkNodeAdapter",629),b(1266,553,{838:1},Tmn),s.wf=function(){return function Tpe(n){var e,t;if(!n.b)for(n.b=RT(u(n.f,118).Ag().i),t=new re(u(n.f,118).Ag());t.e!=t.i.gc();)e=u(oe(t),137),W(n.b,new EO(e));return n.b}(this)},s.zf=function(){var e,t;if(!this.a)for(this.a=gh(u(this.f,118).xg().i),t=new re(u(this.f,118).xg());t.e!=t.i.gc();)e=u(oe(t),79),W(this.a,new Mj(e));return this.a},s.Bf=function(){var e,t;if(!this.c)for(this.c=gh(u(this.f,118).yg().i),t=new re(u(this.f,118).yg());t.e!=t.i.gc();)e=u(oe(t),79),W(this.c,new Mj(e));return this.c},s.Hf=function(){return u(u(this.f,118).We((We(),r2)),61)},s.If=function(){var e,t,r,i,o,f,h;for(i=lf(u(this.f,118)),r=new re(u(this.f,118).yg());r.e!=r.i.gc();)for(h=new re((!(e=u(oe(r),79)).c&&(e.c=new $n(he,e,5,8)),e.c));h.e!=h.i.gc();){if(Eb(Ii(f=u(oe(h),82)),i))return!0;if(Ii(f)==i&&on(sn(hn(e,(We(),MH)))))return!0}for(t=new re(u(this.f,118).xg());t.e!=t.i.gc();)for(o=new re((!(e=u(oe(t),79)).b&&(e.b=new $n(he,e,4,7)),e.b));o.e!=o.i.gc();)if(Eb(Ii(u(oe(o),82)),i))return!0;return!1},s.a=null,s.b=null,s.c=null,w(gm,"ElkGraphAdapters/ElkPortAdapter",1266),b(1267,1,ft,_2n),s.ue=function(e,t){return function z7e(n,e){var t,r,i,c;if(0!=(c=u(hn(n,(We(),r2)),61).g-u(hn(e,r2),61).g))return c;if(t=u(hn(n,OH),19),r=u(hn(e,OH),19),t&&r&&0!=(i=t.a-r.a))return i;switch(u(hn(n,r2),61).g){case 1:return Jt(n.i,e.i);case 2:return Jt(n.j,e.j);case 3:return Jt(e.i,n.i);case 4:return Jt(e.j,n.j);default:throw C(new $i(uen))}}(u(e,118),u(t,118))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(gm,"ElkGraphAdapters/PortComparator",1267);var One,gr,Dne,$ne,C1n,wI,Fne,M1n,S1n,A1n,ta,Lne,Nne,xne,S9,P1n,Bne,_ne,ea=Et(Ns,"EObject"),R4=Et(Pg,dqn),fo=Et(Pg,bqn),Vy=Et(Pg,wqn),Qy=Et(Pg,"ElkShape"),he=Et(Pg,gqn),lr=Et(Pg,nrn),Mt=Et(Pg,vqn),Jy=Et(Ns,pqn),M9=Et(Ns,"EFactory"),RH=Et(Ns,mqn),cf=Et(Ns,"EPackage"),_i=Et(Pg,ern),It=Et(Pg,trn),Ku=Et(Pg,rrn);b(90,1,kqn),s.Jg=function(){return this.Kg(),null},s.Kg=function(){return null},s.Lg=function(){return this.Kg(),!1},s.Mg=function(){return!1},s.Ng=function(e){nt(this,e)},w(kv,"BasicNotifierImpl",90),b(97,90,Tqn),s.nh=function(){return zu(this)},s.Og=function(e,t){return e},s.Pg=function(){throw C(new ye)},s.Qg=function(e){var t;return t=ei(u(In(this.Tg(),this.Vg()),18)),this.eh().ih(this,t.n,t.f,e)},s.Rg=function(e,t){throw C(new ye)},s.Sg=function(e,t,r){return as(this,e,t,r)},s.Tg=function(){var e;return this.Pg()&&(e=this.Pg().ck())?e:this.zh()},s.Ug=function(){return fN(this)},s.Vg=function(){throw C(new ye)},s.Wg=function(){var e,t;return!(t=this.ph().dk())&&this.Pg().ik((w5(),t=null==(e=yX(Qf(this.Tg())))?XH:new T8(this,e))),t},s.Xg=function(e,t){return e},s.Yg=function(e){return e.Gj()?e.aj():yt(this.Tg(),e)},s.Zg=function(){var e;return(e=this.Pg())?e.fk():null},s.$g=function(){return this.Pg()?this.Pg().ck():null},s._g=function(e,t,r){return cM(this,e,t,r)},s.ah=function(e){return Rp(this,e)},s.bh=function(e,t){return nF(this,e,t)},s.dh=function(){var e;return!!(e=this.Pg())&&e.gk()},s.eh=function(){throw C(new ye)},s.fh=function(){return YC(this)},s.gh=function(e,t,r,i){return Z2(this,e,t,i)},s.hh=function(e,t,r){return u(In(this.Tg(),t),66).Nj().Qj(this,this.yh(),t-this.Ah(),e,r)},s.ih=function(e,t,r,i){return AT(this,e,t,i)},s.jh=function(e,t,r){return u(In(this.Tg(),t),66).Nj().Rj(this,this.yh(),t-this.Ah(),e,r)},s.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},s.lh=function(e){return kL(this,e)},s.mh=function(e){return bMn(this,e)},s.oh=function(e){return __n(this,e)},s.ph=function(){throw C(new ye)},s.qh=function(){return this.Pg()?this.Pg().ek():null},s.rh=function(){return YC(this)},s.sh=function(e,t){iN(this,e,t)},s.th=function(e){this.ph().hk(e)},s.uh=function(e){this.ph().kk(e)},s.vh=function(e){this.ph().jk(e)},s.wh=function(e,t){var r,i,c,o;return(o=this.Zg())&&e&&(t=Kr(o.Vk(),this,t),o.Zk(this)),(i=this.eh())&&(CN(this,this.eh(),this.Vg()).Bb&Vr?(c=i.fh())&&(e?!o&&c.Zk(this):c.Yk(this)):(t=(r=this.Vg())>=0?this.Qg(t):this.eh().ih(this,-1-r,null,t),t=this.Sg(null,-1,t))),this.uh(e),t},s.xh=function(e){var t,r,i,c,o,f,l;if((o=yt(r=this.Tg(),e))>=(t=this.Ah()))return u(e,66).Nj().Uj(this,this.yh(),o-t);if(o<=-1){if(!(f=mg((vu(),Dr),r,e)))throw C(new Kn(_l+e.ne()+e_));if(Zr(),u(f,66).Oj()||(f=R2(ji(Dr,f))),c=u((i=this.Yg(f))>=0?this._g(i,!0,!0):b0(this,f,!0),153),(l=f.Zj())>1||-1==l)return u(u(c,215).hl(e,!1),76)}else if(e.$j())return u((i=this.Yg(e))>=0?this._g(i,!1,!0):b0(this,e,!1),76);return new Fkn(this,e)},s.yh=function(){return jV(this)},s.zh=function(){return(pl(),Nn).S},s.Ah=function(){return ee(this.zh())},s.Bh=function(e){ZL(this,e)},s.Ib=function(){return Ao(this)},w(xn,"BasicEObjectImpl",97),b(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),s.Ch=function(e){return EV(this)[e]},s.Dh=function(e,t){St(EV(this),e,t)},s.Eh=function(e){St(EV(this),e,null)},s.Jg=function(){return u(Bn(this,4),126)},s.Kg=function(){throw C(new ye)},s.Lg=function(){return 0!=(4&this.Db)},s.Pg=function(){throw C(new ye)},s.Fh=function(e){Y2(this,2,e)},s.Rg=function(e,t){this.Db=t<<16|255&this.Db,this.Fh(e)},s.Tg=function(){return Qc(this)},s.Vg=function(){return this.Db>>16},s.Wg=function(){var t;return w5(),null==(t=yX(Qf(u(Bn(this,16),26)||this.zh())))?XH:new T8(this,t)},s.Mg=function(){return 0==(1&this.Db)},s.Zg=function(){return u(Bn(this,128),1935)},s.$g=function(){return u(Bn(this,16),26)},s.dh=function(){return 0!=(32&this.Db)},s.eh=function(){return u(Bn(this,2),49)},s.kh=function(){return 0!=(64&this.Db)},s.ph=function(){throw C(new ye)},s.qh=function(){return u(Bn(this,64),281)},s.th=function(e){Y2(this,16,e)},s.uh=function(e){Y2(this,128,e)},s.vh=function(e){Y2(this,64,e)},s.yh=function(){return _c(this)},s.Db=0,w(xn,"MinimalEObjectImpl",114),b(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s.Fh=function(e){this.Cb=e},s.eh=function(){return this.Cb},w(xn,"MinimalEObjectImpl/Container",115),b(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return FJ(this,e,t,r)},s.jh=function(e,t,r){return jY(this,e,t,r)},s.lh=function(e){return $X(this,e)},s.sh=function(e,t){mQ(this,e,t)},s.zh=function(){return Fc(),Nne},s.Bh=function(e){oQ(this,e)},s.Ve=function(){return z$n(this)},s.We=function(e){return hn(this,e)},s.Xe=function(e){return Aa(this,e)},s.Ye=function(e,t){return bi(this,e,t)},w(Ja,"EMapPropertyHolderImpl",1985),b(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},wj),s._g=function(e,t,r){switch(e){case 0:return this.a;case 1:return this.b}return cM(this,e,t,r)},s.lh=function(e){switch(e){case 0:return 0!=this.a;case 1:return 0!=this.b}return kL(this,e)},s.sh=function(e,t){switch(e){case 0:return void dC(this,K(Y(t)));case 1:return void bC(this,K(Y(t)))}iN(this,e,t)},s.zh=function(){return Fc(),Dne},s.Bh=function(e){switch(e){case 0:return void dC(this,0);case 1:return void bC(this,0)}ZL(this,e)},s.Ib=function(){var e;return 64&this.Db?Ao(this):((e=new Gs(Ao(this))).a+=" (x: ",Fw(e,this.a),e.a+=", y: ",Fw(e,this.b),e.a+=")",e.a)},s.a=0,s.b=0,w(Ja,"ElkBendPointImpl",567),b(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return BQ(this,e,t,r)},s.hh=function(e,t,r){return WL(this,e,t,r)},s.jh=function(e,t,r){return OF(this,e,t,r)},s.lh=function(e){return nQ(this,e)},s.sh=function(e,t){ZJ(this,e,t)},s.zh=function(){return Fc(),Fne},s.Bh=function(e){FQ(this,e)},s.zg=function(){return this.k},s.Ag=function(){return pT(this)},s.Ib=function(){return iL(this)},s.k=null,w(Ja,"ElkGraphElementImpl",723),b(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return XQ(this,e,t,r)},s.lh=function(e){return eJ(this,e)},s.sh=function(e,t){nY(this,e,t)},s.zh=function(){return Fc(),Lne},s.Bh=function(e){uJ(this,e)},s.Bg=function(){return this.f},s.Cg=function(){return this.g},s.Dg=function(){return this.i},s.Eg=function(){return this.j},s.Fg=function(e,t){CE(this,e,t)},s.Gg=function(e,t){of(this,e,t)},s.Hg=function(e){nu(this,e)},s.Ig=function(e){eu(this,e)},s.Ib=function(){return YL(this)},s.f=0,s.g=0,s.i=0,s.j=0,w(Ja,"ElkShapeImpl",724),b(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),s._g=function(e,t,r){return AJ(this,e,t,r)},s.hh=function(e,t,r){return WJ(this,e,t,r)},s.jh=function(e,t,r){return XJ(this,e,t,r)},s.lh=function(e){return vQ(this,e)},s.sh=function(e,t){rZ(this,e,t)},s.zh=function(){return Fc(),$ne},s.Bh=function(e){kJ(this,e)},s.xg=function(){return!this.d&&(this.d=new $n(lr,this,8,5)),this.d},s.yg=function(){return!this.e&&(this.e=new $n(lr,this,7,4)),this.e},w(Ja,"ElkConnectableShapeImpl",725),b(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},yq),s.Qg=function(e){return qJ(this,e)},s._g=function(e,t,r){switch(e){case 3:return W8(this);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),this.b;case 5:return!this.c&&(this.c=new $n(he,this,5,8)),this.c;case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),this.a;case 7:return Hn(),!this.b&&(this.b=new $n(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(he,this,5,8)),this.c.i<=1));case 8:return Hn(),!!B6(this);case 9:return Hn(),!!d0(this);case 10:return Hn(),!this.b&&(this.b=new $n(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $n(he,this,5,8)),0!=this.c.i)}return BQ(this,e,t,r)},s.hh=function(e,t,r){var i;switch(t){case 3:return this.Cb&&(r=(i=this.Db>>16)>=0?qJ(this,r):this.Cb.ih(this,-1-i,null,r)),Nz(this,u(e,33),r);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),$c(this.b,e,r);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),$c(this.c,e,r);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),$c(this.a,e,r)}return WL(this,e,t,r)},s.jh=function(e,t,r){switch(t){case 3:return Nz(this,null,r);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),Kr(this.b,e,r);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),Kr(this.c,e,r);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),Kr(this.a,e,r)}return OF(this,e,t,r)},s.lh=function(e){switch(e){case 3:return!!W8(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new $n(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new $n(he,this,5,8)),this.c.i<=1));case 8:return B6(this);case 9:return d0(this);case 10:return!this.b&&(this.b=new $n(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new $n(he,this,5,8)),0!=this.c.i)}return nQ(this,e)},s.sh=function(e,t){switch(e){case 3:return void wN(this,u(t,33));case 4:return!this.b&&(this.b=new $n(he,this,4,7)),de(this.b),!this.b&&(this.b=new $n(he,this,4,7)),void Dt(this.b,u(t,14));case 5:return!this.c&&(this.c=new $n(he,this,5,8)),de(this.c),!this.c&&(this.c=new $n(he,this,5,8)),void Dt(this.c,u(t,14));case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),de(this.a),!this.a&&(this.a=new V(Mt,this,6,6)),void Dt(this.a,u(t,14))}ZJ(this,e,t)},s.zh=function(){return Fc(),C1n},s.Bh=function(e){switch(e){case 3:return void wN(this,null);case 4:return!this.b&&(this.b=new $n(he,this,4,7)),void de(this.b);case 5:return!this.c&&(this.c=new $n(he,this,5,8)),void de(this.c);case 6:return!this.a&&(this.a=new V(Mt,this,6,6)),void de(this.a)}FQ(this,e)},s.Ib=function(){return T_n(this)},w(Ja,"ElkEdgeImpl",352),b(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},gj),s.Qg=function(e){return _J(this,e)},s._g=function(e,t,r){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Vt(fo,this,5)),this.a;case 6:return lMn(this);case 7:return t?CL(this):this.i;case 8:return t?TL(this):this.f;case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),this.e;case 11:return this.d}return FJ(this,e,t,r)},s.hh=function(e,t,r){var c;switch(t){case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?_J(this,r):this.Cb.ih(this,-1-c,null,r)),xz(this,u(e,79),r);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),$c(this.g,e,r);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),$c(this.e,e,r)}return u(In(u(Bn(this,16),26)||(Fc(),wI),t),66).Nj().Qj(this,_c(this),t-ee((Fc(),wI)),e,r)},s.jh=function(e,t,r){switch(t){case 5:return!this.a&&(this.a=new Vt(fo,this,5)),Kr(this.a,e,r);case 6:return xz(this,null,r);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),Kr(this.g,e,r);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),Kr(this.e,e,r)}return jY(this,e,t,r)},s.lh=function(e){switch(e){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!lMn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return $X(this,e)},s.sh=function(e,t){switch(e){case 1:return void zp(this,K(Y(t)));case 2:return void Xp(this,K(Y(t)));case 3:return void Up(this,K(Y(t)));case 4:return void Wp(this,K(Y(t)));case 5:return!this.a&&(this.a=new Vt(fo,this,5)),de(this.a),!this.a&&(this.a=new Vt(fo,this,5)),void Dt(this.a,u(t,14));case 6:return void Cxn(this,u(t,79));case 7:return void mC(this,u(t,82));case 8:return void pC(this,u(t,82));case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),de(this.g),!this.g&&(this.g=new $n(Mt,this,9,10)),void Dt(this.g,u(t,14));case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),de(this.e),!this.e&&(this.e=new $n(Mt,this,10,9)),void Dt(this.e,u(t,14));case 11:return void UV(this,Te(t))}mQ(this,e,t)},s.zh=function(){return Fc(),wI},s.Bh=function(e){switch(e){case 1:return void zp(this,0);case 2:return void Xp(this,0);case 3:return void Up(this,0);case 4:return void Wp(this,0);case 5:return!this.a&&(this.a=new Vt(fo,this,5)),void de(this.a);case 6:return void Cxn(this,null);case 7:return void mC(this,null);case 8:return void pC(this,null);case 9:return!this.g&&(this.g=new $n(Mt,this,9,10)),void de(this.g);case 10:return!this.e&&(this.e=new $n(Mt,this,10,9)),void de(this.e);case 11:return void UV(this,null)}oQ(this,e)},s.Ib=function(){return qNn(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,w(Ja,"ElkEdgeSectionImpl",439),b(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s._g=function(e,t,r){return 0==e?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab):Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){return 0==t?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r)):u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){return 0==t?(!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r)):u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){return 0==e?!!this.Ab&&0!=this.Ab.i:As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.oh=function(e){return lnn(this,e)},s.sh=function(e,t){if(0===e)return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.uh=function(e){Y2(this,128,e)},s.zh=function(){return Sn(),tee},s.Bh=function(e){if(0===e)return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){this.Bb|=1},s.Hh=function(e){return q6(this,e)},s.Bb=0,w(xn,"EModelElementImpl",150),b(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Sq),s.Ih=function(e,t){return nRn(this,e,t)},s.Jh=function(e){var r,i,c,o;if(this.a!=ss(e)||256&e.Bb)throw C(new Kn(r_+e.zb+M0));for(i=Si(e);0!=wc(i.a).i;){if(a0(r=u(dk(i,0,I(o=u(O(wc(i.a),0),87).c,88)?u(o,26):(Sn(),bo)),26)))return u(c=ss(r).Nh().Jh(r),49).th(e),c;i=Si(r)}return"java.util.Map$Entry"==(null!=e.D?e.D:e.B)?new VEn(e):new EW(e)},s.Kh=function(e,t){return m0(this,e,t)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.a}return Is(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e),t,r)},s.hh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 1:return this.a&&(r=u(this.a,49).ih(this,4,cf,r)),DQ(this,u(e,235),r)}return u(In(u(Bn(this,16),26)||(Sn(),ua),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ua)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 1:return DQ(this,null,r)}return u(In(u(Bn(this,16),26)||(Sn(),ua),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ua)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return As(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void CLn(this,u(t,235))}Ls(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e),t)},s.zh=function(){return Sn(),ua},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void CLn(this,null)}$s(this,e-ee((Sn(),ua)),In(u(Bn(this,16),26)||ua,e))},w(xn,"EFactoryImpl",704),b(Io,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},K2n),s.Ih=function(e,t){switch(e.yj()){case 12:return u(t,146).tg();case 13:return xi(t);default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var t;switch(-1==e.G&&(e.G=(t=ss(e))?F1(t.Mh(),e):-1),e.G){case 4:return new jq;case 6:return new MG;case 7:return new SG;case 8:return new yq;case 9:return new wj;case 10:return new gj;case 11:return new H2n;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){switch(e.yj()){case 13:case 12:return null;default:throw C(new Kn(Y3+e.ne()+M0))}},w(Ja,"ElkGraphFactoryImpl",Io),b(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),s.Wg=function(){var t;return null==(t=yX(Qf(u(Bn(this,16),26)||this.zh())))?(w5(),w5(),XH):new gjn(this,t)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.ne()}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void this.Lh(Te(t))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),ree},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void this.Lh(null)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.ne=function(){return this.zb},s.Lh=function(e){Dc(this,e)},s.Ib=function(){return k6(this)},s.zb=null,w(xn,"ENamedElementImpl",438),b(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},QCn),s.Qg=function(e){return _Fn(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new db(this,uf,this)),this.rb;case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,235):null:aMn(this)}return Is(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 4:return this.sb&&(r=u(this.sb,49).ih(this,1,M9,r)),NQ(this,u(e,471),r);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),$c(this.rb,e,r);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),$c(this.vb,e,r);case 7:return this.Cb&&(r=(c=this.Db>>16)>=0?_Fn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,7,r)}return u(In(u(Bn(this,16),26)||(Sn(),nl),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),nl)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 4:return NQ(this,null,r);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),Kr(this.rb,e,r);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),Kr(this.vb,e,r);case 7:return as(this,null,7,r)}return u(In(u(Bn(this,16),26)||(Sn(),nl),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),nl)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!aMn(this)}return As(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e))},s.oh=function(e){return function b8e(n,e){var t,r,i,c,o,f;if(!n.tb){for(!n.rb&&(n.rb=new db(n,uf,n)),f=new k2((c=n.rb).i),i=new re(c);i.e!=i.i.gc();)r=u(oe(i),138),(t=u(null==(o=r.ne())?Rc(f.f,null,r):u0(f.g,o,r),138))&&(null==o?Rc(f.f,null,t):u0(f.g,o,t));n.tb=f}return u(kc(n.tb,e),138)}(this,e)||lnn(this,e)},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void MC(this,Te(t));case 3:return void CC(this,Te(t));case 4:return void JL(this,u(t,471));case 5:return!this.rb&&(this.rb=new db(this,uf,this)),de(this.rb),!this.rb&&(this.rb=new db(this,uf,this)),void Dt(this.rb,u(t,14));case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),de(this.vb),!this.vb&&(this.vb=new P2(cf,this,6,7)),void Dt(this.vb,u(t,14))}Ls(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e),t)},s.vh=function(e){var t,r;if(e&&this.rb)for(r=new re(this.rb);r.e!=r.i.gc();)I(t=oe(r),351)&&(u(t,351).w=null);Y2(this,64,e)},s.zh=function(){return Sn(),nl},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void MC(this,null);case 3:return void CC(this,null);case 4:return void JL(this,null);case 5:return!this.rb&&(this.rb=new db(this,uf,this)),void de(this.rb);case 6:return!this.vb&&(this.vb=new P2(cf,this,6,7)),void de(this.vb)}$s(this,e-ee((Sn(),nl)),In(u(Bn(this,16),26)||nl,e))},s.Gh=function(){BL(this)},s.Mh=function(){return!this.rb&&(this.rb=new db(this,uf,this)),this.rb},s.Nh=function(){return this.sb},s.Oh=function(){return this.ub},s.Ph=function(){return this.xb},s.Qh=function(){return this.yb},s.Rh=function(e){this.ub=e},s.Ib=function(){var e;return 64&this.Db?k6(this):((e=new Gs(k6(this))).a+=" (nsURI: ",li(e,this.yb),e.a+=", nsPrefix: ",li(e,this.xb),e.a+=")",e.a)},s.xb=null,s.yb=null,w(xn,"EPackageImpl",179),b(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},YNn),s.q=!1,s.r=!1;var Rne=!1;w(Ja,"ElkGraphPackageImpl",555),b(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},jq),s.Qg=function(e){return RJ(this,e)},s._g=function(e,t,r){switch(e){case 7:return dMn(this);case 8:return this.a}return XQ(this,e,t,r)},s.hh=function(e,t,r){var i;return 7===t?(this.Cb&&(r=(i=this.Db>>16)>=0?RJ(this,r):this.Cb.ih(this,-1-i,null,r)),BW(this,u(e,160),r)):WL(this,e,t,r)},s.jh=function(e,t,r){return 7==t?BW(this,null,r):OF(this,e,t,r)},s.lh=function(e){switch(e){case 7:return!!dMn(this);case 8:return!Mn("",this.a)}return eJ(this,e)},s.sh=function(e,t){switch(e){case 7:return void vZ(this,u(t,160));case 8:return void BV(this,Te(t))}nY(this,e,t)},s.zh=function(){return Fc(),M1n},s.Bh=function(e){switch(e){case 7:return void vZ(this,null);case 8:return void BV(this,"")}uJ(this,e)},s.Ib=function(){return _Ln(this)},s.a="",w(Ja,"ElkLabelImpl",354),b(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},MG),s.Qg=function(e){return GJ(this,e)},s._g=function(e,t,r){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),this.c;case 10:return!this.a&&(this.a=new V(It,this,10,11)),this.a;case 11:return At(this);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),this.b;case 13:return Hn(),!this.a&&(this.a=new V(It,this,10,11)),this.a.i>0}return AJ(this,e,t,r)},s.hh=function(e,t,r){var i;switch(t){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),$c(this.c,e,r);case 10:return!this.a&&(this.a=new V(It,this,10,11)),$c(this.a,e,r);case 11:return this.Cb&&(r=(i=this.Db>>16)>=0?GJ(this,r):this.Cb.ih(this,-1-i,null,r)),zz(this,u(e,33),r);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),$c(this.b,e,r)}return WJ(this,e,t,r)},s.jh=function(e,t,r){switch(t){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),Kr(this.c,e,r);case 10:return!this.a&&(this.a=new V(It,this,10,11)),Kr(this.a,e,r);case 11:return zz(this,null,r);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),Kr(this.b,e,r)}return XJ(this,e,t,r)},s.lh=function(e){switch(e){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!At(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new V(It,this,10,11)),this.a.i>0}return vQ(this,e)},s.sh=function(e,t){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),de(this.c),!this.c&&(this.c=new V(Ku,this,9,9)),void Dt(this.c,u(t,14));case 10:return!this.a&&(this.a=new V(It,this,10,11)),de(this.a),!this.a&&(this.a=new V(It,this,10,11)),void Dt(this.a,u(t,14));case 11:return void bZ(this,u(t,33));case 12:return!this.b&&(this.b=new V(lr,this,12,3)),de(this.b),!this.b&&(this.b=new V(lr,this,12,3)),void Dt(this.b,u(t,14))}rZ(this,e,t)},s.zh=function(){return Fc(),S1n},s.Bh=function(e){switch(e){case 9:return!this.c&&(this.c=new V(Ku,this,9,9)),void de(this.c);case 10:return!this.a&&(this.a=new V(It,this,10,11)),void de(this.a);case 11:return void bZ(this,null);case 12:return!this.b&&(this.b=new V(lr,this,12,3)),void de(this.b)}kJ(this,e)},s.Ib=function(){return DZ(this)},w(Ja,"ElkNodeImpl",239),b(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},SG),s.Qg=function(e){return KJ(this,e)},s._g=function(e,t,r){return 9==e?lf(this):AJ(this,e,t,r)},s.hh=function(e,t,r){var i;return 9===t?(this.Cb&&(r=(i=this.Db>>16)>=0?KJ(this,r):this.Cb.ih(this,-1-i,null,r)),Bz(this,u(e,33),r)):WJ(this,e,t,r)},s.jh=function(e,t,r){return 9==t?Bz(this,null,r):XJ(this,e,t,r)},s.lh=function(e){return 9==e?!!lf(this):vQ(this,e)},s.sh=function(e,t){9!==e?rZ(this,e,t):dZ(this,u(t,33))},s.zh=function(){return Fc(),A1n},s.Bh=function(e){9!==e?kJ(this,e):dZ(this,null)},s.Ib=function(){return CBn(this)},w(Ja,"ElkPortImpl",186);var Kne=Et(Hr,"BasicEMap/Entry");b(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},H2n),s.Fb=function(e){return this===e},s.cd=function(){return this.b},s.Hb=function(){return Ld(this)},s.Uh=function(e){_V(this,u(e,146))},s._g=function(e,t,r){switch(e){case 0:return this.b;case 1:return this.c}return cM(this,e,t,r)},s.lh=function(e){switch(e){case 0:return!!this.b;case 1:return null!=this.c}return kL(this,e)},s.sh=function(e,t){switch(e){case 0:return void _V(this,u(t,146));case 1:return void HV(this,t)}iN(this,e,t)},s.zh=function(){return Fc(),ta},s.Bh=function(e){switch(e){case 0:return void _V(this,null);case 1:return void HV(this,null)}ZL(this,e)},s.Sh=function(){var e;return-1==this.a&&(this.a=(e=this.b)?kt(e):0),this.a},s.dd=function(){return this.c},s.Th=function(e){this.a=e},s.ed=function(e){var t;return t=this.c,HV(this,e),t},s.Ib=function(){var e;return 64&this.Db?Ao(this):(De(De(De(e=new cl,this.b?this.b.tg():iu),nB),x5(this.c)),e.a)},s.a=-1,s.c=null;var G0=w(Ja,"ElkPropertyToValueMapEntryImpl",1092);b(984,1,{},U2n),w(Or,"JsonAdapter",984),b(210,60,s1,Kf),w(Or,"JsonImportException",210),b(857,1,{},RFn),w(Or,"JsonImporter",857),b(891,1,{},wkn),w(Or,"JsonImporter/lambda$0$Type",891),b(892,1,{},gkn),w(Or,"JsonImporter/lambda$1$Type",892),b(900,1,{},Q6n),w(Or,"JsonImporter/lambda$10$Type",900),b(902,1,{},vkn),w(Or,"JsonImporter/lambda$11$Type",902),b(903,1,{},pkn),w(Or,"JsonImporter/lambda$12$Type",903),b(909,1,{},ICn),w(Or,"JsonImporter/lambda$13$Type",909),b(908,1,{},PCn),w(Or,"JsonImporter/lambda$14$Type",908),b(904,1,{},mkn),w(Or,"JsonImporter/lambda$15$Type",904),b(905,1,{},kkn),w(Or,"JsonImporter/lambda$16$Type",905),b(906,1,{},ykn),w(Or,"JsonImporter/lambda$17$Type",906),b(907,1,{},jkn),w(Or,"JsonImporter/lambda$18$Type",907),b(912,1,{},J6n),w(Or,"JsonImporter/lambda$19$Type",912),b(893,1,{},Y6n),w(Or,"JsonImporter/lambda$2$Type",893),b(910,1,{},Z6n),w(Or,"JsonImporter/lambda$20$Type",910),b(911,1,{},nmn),w(Or,"JsonImporter/lambda$21$Type",911),b(915,1,{},emn),w(Or,"JsonImporter/lambda$22$Type",915),b(913,1,{},tmn),w(Or,"JsonImporter/lambda$23$Type",913),b(914,1,{},rmn),w(Or,"JsonImporter/lambda$24$Type",914),b(917,1,{},imn),w(Or,"JsonImporter/lambda$25$Type",917),b(916,1,{},cmn),w(Or,"JsonImporter/lambda$26$Type",916),b(918,1,Jn,Ekn),s.td=function(e){!function qde(n,e,t){var r,i;i=null,(r=Wh(n,t))&&(i=AY(r)),H$n(e,t,i)}(this.b,this.a,Te(e))},w(Or,"JsonImporter/lambda$27$Type",918),b(919,1,Jn,Tkn),s.td=function(e){!function Gde(n,e,t){var r,i;i=null,(r=Wh(n,t))&&(i=AY(r)),H$n(e,t,i)}(this.b,this.a,Te(e))},w(Or,"JsonImporter/lambda$28$Type",919),b(920,1,{},Ckn),w(Or,"JsonImporter/lambda$29$Type",920),b(896,1,{},umn),w(Or,"JsonImporter/lambda$3$Type",896),b(921,1,{},Mkn),w(Or,"JsonImporter/lambda$30$Type",921),b(922,1,{},smn),w(Or,"JsonImporter/lambda$31$Type",922),b(923,1,{},omn),w(Or,"JsonImporter/lambda$32$Type",923),b(924,1,{},fmn),w(Or,"JsonImporter/lambda$33$Type",924),b(925,1,{},hmn),w(Or,"JsonImporter/lambda$34$Type",925),b(859,1,{},lmn),w(Or,"JsonImporter/lambda$35$Type",859),b(929,1,{},yEn),w(Or,"JsonImporter/lambda$36$Type",929),b(926,1,Jn,amn),s.td=function(e){!function Wae(n,e){var t;Ta(t=new v2,"x",e.a),Ta(t,"y",e.b),L2(n,t)}(this.a,u(e,469))},w(Or,"JsonImporter/lambda$37$Type",926),b(927,1,Jn,Dkn),s.td=function(e){!function yie(n,e,t){YFn(e,eN(n,t))}(this.a,this.b,u(e,202))},w(Or,"JsonImporter/lambda$38$Type",927),b(928,1,Jn,$kn),s.td=function(e){!function jie(n,e,t){YFn(e,eN(n,t))}(this.a,this.b,u(e,202))},w(Or,"JsonImporter/lambda$39$Type",928),b(894,1,{},dmn),w(Or,"JsonImporter/lambda$4$Type",894),b(930,1,Jn,bmn),s.td=function(e){!function Xae(n,e){var t;Ta(t=new v2,"x",e.a),Ta(t,"y",e.b),L2(n,t)}(this.a,u(e,8))},w(Or,"JsonImporter/lambda$40$Type",930),b(895,1,{},wmn),w(Or,"JsonImporter/lambda$5$Type",895),b(899,1,{},gmn),w(Or,"JsonImporter/lambda$6$Type",899),b(897,1,{},vmn),w(Or,"JsonImporter/lambda$7$Type",897),b(898,1,{},pmn),w(Or,"JsonImporter/lambda$8$Type",898),b(901,1,{},mmn),w(Or,"JsonImporter/lambda$9$Type",901),b(948,1,Jn,kmn),s.td=function(e){L2(this.a,new bb(Te(e)))},w(Or,"JsonMetaDataConverter/lambda$0$Type",948),b(949,1,Jn,ymn),s.td=function(e){!function hhe(n,e){L2(n,new bb(null!=e.f?e.f:""+e.g))}(this.a,u(e,237))},w(Or,"JsonMetaDataConverter/lambda$1$Type",949),b(950,1,Jn,jmn),s.td=function(e){!function sle(n,e){null!=e.c&&L2(n,new bb(e.c))}(this.a,u(e,149))},w(Or,"JsonMetaDataConverter/lambda$2$Type",950),b(951,1,Jn,Emn),s.td=function(e){!function lhe(n,e){L2(n,new bb(null!=e.f?e.f:""+e.g))}(this.a,u(e,175))},w(Or,"JsonMetaDataConverter/lambda$3$Type",951),b(237,22,{3:1,35:1,22:1,237:1},C2);var gI,vI,KH,pI,mI,kI,HH,qH,Hne,yI=Me(Sk,"GraphFeature",237,Ie,function $0e(){return M3(),S(M(yI,1),U,237,0,[qH,mI,kI,pI,HH,vI,gI,KH])},function Loe(n){return M3(),$e((TOn(),Hne),n)});b(13,1,{35:1,146:1},at,er,Pn,ni),s.wd=function(e){return function kce(n,e){return iV(n.b,e.tg())}(this,u(e,146))},s.Fb=function(e){return JCn(this,e)},s.wg=function(){return cn(this)},s.tg=function(){return this.b},s.Hb=function(){return L1(this.b)},s.Ib=function(){return this.b},w(Sk,"Property",13),b(818,1,ft,cG),s.ue=function(e,t){return function Bge(n,e,t){var r,i;return r=u(e.We(n.a),35),i=u(t.We(n.a),35),null!=r&&null!=i?v7(r,i):null!=r?-1:null!=i?1:0}(this,u(e,94),u(t,94))},s.Fb=function(e){return this===e},s.ve=function(){return new ct(this)},w(Sk,"PropertyHolderComparator",818),b(695,1,mr,uG),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return function Xde(n){var e;if(!n.a)throw C(new mCn);return e=n.a,n.a=At(n.a),e}(this)},s.Qb=function(){g8n()},s.Ob=function(){return!!this.a},w(RS,"ElkGraphUtil/AncestorIterator",695);var I1n=Et(Hr,"EList");b(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),s.Vc=function(e,t){E6(this,e,t)},s.Fc=function(e){return me(this,e)},s.Wc=function(e,t){return fQ(this,e,t)},s.Gc=function(e){return Dt(this,e)},s.Zh=function(){return new A2(this)},s.$h=function(){return new C8(this)},s._h=function(e){return g7(this,e)},s.ai=function(){return!0},s.bi=function(e,t){},s.ci=function(){},s.di=function(e,t){tF(this,e,t)},s.ei=function(e,t,r){},s.fi=function(e,t){},s.gi=function(e,t,r){},s.Fb=function(e){return lBn(this,e)},s.Hb=function(){return iQ(this)},s.hi=function(){return!1},s.Kc=function(){return new re(this)},s.Yc=function(){return new S2(this)},s.Zc=function(e){var t;if(t=this.gc(),e<0||e>t)throw C(new hb(e,t));return new s$(this,e)},s.ji=function(e,t){this.ii(e,this.Xc(t))},s.Mc=function(e){return cC(this,e)},s.li=function(e,t){return t},s._c=function(e,t){return cg(this,e,t)},s.Ib=function(){return QQ(this)},s.ni=function(){return!0},s.oi=function(e,t){return u3(this,t)},w(Hr,"AbstractEList",67),b(63,67,sh,pj,Yd,QV),s.Vh=function(e,t){return XL(this,e,t)},s.Wh=function(e){return dFn(this,e)},s.Xh=function(e,t){O7(this,e,t)},s.Yh=function(e){Z8(this,e)},s.pi=function(e){return vV(this,e)},s.$b=function(){o6(this)},s.Hc=function(e){return y3(this,e)},s.Xb=function(e){return O(this,e)},s.qi=function(e){var t,r,i;++this.j,e>(r=null==this.g?0:this.g.length)&&(i=this.g,(t=r+(r/2|0)+4)=0&&(this.$c(t),!0)},s.mi=function(e,t){return this.Ui(e,this.oi(e,t))},s.gc=function(){return this.Vi()},s.Pc=function(){return this.Wi()},s.Qc=function(e){return this.Xi(e)},s.Ib=function(){return this.Yi()},w(Hr,"DelegatingEList",1995),b(1996,1995,oGn),s.Vh=function(e,t){return KZ(this,e,t)},s.Wh=function(e){return this.Vh(this.Vi(),e)},s.Xh=function(e,t){QNn(this,e,t)},s.Yh=function(e){KNn(this,e)},s.ai=function(){return!this.bj()},s.$b=function(){V6(this)},s.Zi=function(e,t,r,i,c){return new ZCn(this,e,t,r,i,c)},s.$i=function(e){nt(this.Ai(),e)},s._i=function(){return null},s.aj=function(){return-1},s.Ai=function(){return null},s.bj=function(){return!1},s.cj=function(e,t){return t},s.dj=function(e,t){return t},s.ej=function(){return!1},s.fj=function(){return!this.Ri()},s.ii=function(e,t){var r,i;return this.ej()?(i=this.fj(),r=mY(this,e,t),this.$i(this.Zi(7,Q(t),r,e,i)),r):mY(this,e,t)},s.$c=function(e){var t,r,i,c;return this.ej()?(r=null,i=this.fj(),t=this.Zi(4,c=YE(this,e),null,e,i),this.bj()&&c?(r=this.dj(c,r))?(r.Ei(t),r.Fi()):this.$i(t):r?(r.Ei(t),r.Fi()):this.$i(t),c):(c=YE(this,e),this.bj()&&c&&(r=this.dj(c,null))&&r.Fi(),c)},s.mi=function(e,t){return i_n(this,e,t)},w(kv,"DelegatingNotifyingListImpl",1996),b(143,1,Kk),s.Ei=function(e){return uY(this,e)},s.Fi=function(){lF(this)},s.xi=function(){return this.d},s._i=function(){return null},s.gj=function(){return null},s.yi=function(e){return-1},s.zi=function(){return Gxn(this)},s.Ai=function(){return null},s.Bi=function(){return jZ(this)},s.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.hj=function(){return!1},s.Di=function(e){var t,i,f,h,l,a,d,g;switch(this.d){case 1:case 2:switch(e.xi()){case 1:case 2:if(B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null))return this.g=e.zi(),1==e.xi()&&(this.d=1),!0}case 4:if(4===e.xi()&&B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null))return a=inn(this),l=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.Ci(),this.d=6,g=new Yd(2),l<=f?(me(g,this.n),me(g,e.Bi()),this.g=S(M(be,1),Ne,25,15,[this.o=l,f+1])):(me(g,e.Bi()),me(g,this.n),this.g=S(M(be,1),Ne,25,15,[this.o=f,l])),this.n=g,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===e.xi()&&B(e.Ai())===B(this.Ai())&&this.yi(null)==e.yi(null)){for(a=inn(this),f=e.Ci(),d=u(this.g,48),i=L(be,Ne,25,d.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:i.a+="SET";break;case 2:i.a+="UNSET";break;case 3:i.a+="ADD";break;case 5:i.a+="ADD_MANY";break;case 4:i.a+="REMOVE";break;case 6:i.a+="REMOVE_MANY";break;case 7:i.a+="MOVE";break;case 8:i.a+="REMOVING_ADAPTER";break;case 9:i.a+="RESOLVE";break;default:IO(i,this.d)}if(DBn(this)&&(i.a+=", touch: true"),i.a+=", position: ",IO(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",O5(i,this.Ai()),i.a+=", feature: ",O5(i,this._i()),i.a+=", oldValue: ",O5(i,jZ(this)),i.a+=", newValue: ",6==this.d&&I(this.g,48)){for(r=u(this.g,48),i.a+="[",e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new G5(this),this.a=this.j),Hh(this.b,e)):y3(this,e)},s.ni=function(){return!0},s.a=0,w(Hr,"AbstractEList/1",953),b(295,73,Tx,hb),w(Hr,"AbstractEList/BasicIndexOutOfBoundsException",295),b(40,1,mr,re),s.Nb=function(e){Ar(this,e)},s.mj=function(){if(this.i.j!=this.f)throw C(new Ts)},s.nj=function(){return oe(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.nj()},s.Qb=function(){$6(this)},s.e=0,s.f=0,s.g=-1,w(Hr,"AbstractEList/EIterator",40),b(278,40,Mh,S2,s$),s.Qb=function(){$6(this)},s.Rb=function(e){w$n(this,e)},s.oj=function(){var e;try{return e=this.d.Xb(--this.e),this.mj(),this.g=this.e,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.pj=function(e){gFn(this,e)},s.Sb=function(){return 0!=this.e},s.Tb=function(){return this.e},s.Ub=function(){return this.oj()},s.Vb=function(){return this.e-1},s.Wb=function(e){this.pj(e)},w(Hr,"AbstractEList/EListIterator",278),b(341,40,mr,A2),s.nj=function(){return yL(this)},s.Qb=function(){throw C(new ye)},w(Hr,"AbstractEList/NonResolvingEIterator",341),b(385,278,Mh,C8,Zz),s.Rb=function(e){throw C(new ye)},s.nj=function(){var e;try{return e=this.c.ki(this.e),this.mj(),this.g=this.e++,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.oj=function(){var e;try{return e=this.c.ki(--this.e),this.mj(),this.g=this.e,e}catch(t){throw I(t=jt(t),73)?(this.mj(),C(new ic)):C(t)}},s.Qb=function(){throw C(new ye)},s.Wb=function(e){throw C(new ye)},w(Hr,"AbstractEList/NonResolvingEListIterator",385),b(1982,67,fGn),s.Vh=function(e,t){var i,c,o,f,l,a,d,g;if(0!=(c=t.gc())){for(i=qF(this,(d=null==(a=u(Bn(this.a,4),126))?0:a.length)+c),(g=d-e)>0&&vc(a,e,i,e+c,g),l=t.Kc(),f=0;fr)throw C(new hb(e,r));return new hCn(this,e)},s.$b=function(){var e,t;++this.j,t=null==(e=u(Bn(this.a,4),126))?0:e.length,v3(this,null),tF(this,t,e)},s.Hc=function(e){var t,i,c,o;if(null!=(t=u(Bn(this.a,4),126)))if(null!=e){for(c=0,o=(i=t).length;c=(r=null==(t=u(Bn(this.a,4),126))?0:t.length))throw C(new hb(e,r));return t[e]},s.Xc=function(e){var t,r,i;if(null!=(t=u(Bn(this.a,4),126)))if(null!=e){for(r=0,i=t.length;rr)throw C(new hb(e,r));return new fCn(this,e)},s.ii=function(e,t){var r,i,c;if(e>=(c=null==(r=E$n(this))?0:r.length))throw C(new pi(a_+e+Ya+c));if(t>=c)throw C(new pi(d_+t+Ya+c));return i=r[t],e!=t&&(e=(o=null==(t=u(Bn(n.a,4),126))?0:t.length))throw C(new hb(e,o));return i=t[e],1==o?r=null:(vc(t,0,r=L(UH,p_,415,o-1,0,1),0,e),(c=o-e-1)>0&&vc(t,e+1,r,e,c)),v3(n,r),rNn(n,e,i),i}(this,e)},s.mi=function(e,t){var r,i;return i=(r=E$n(this))[e],wD(r,e,u3(this,t)),v3(this,r),i},s.gc=function(){var e;return null==(e=u(Bn(this.a,4),126))?0:e.length},s.Pc=function(){var e,t,r;return e=u(Bn(this.a,4),126),t=L(UH,p_,415,r=null==e?0:e.length,0,1),r>0&&vc(e,0,t,0,r),t},s.Qc=function(e){var t,i;return(i=null==(t=u(Bn(this.a,4),126))?0:t.length)>0&&(e.lengthi&&St(e,i,null),e},w(Hr,"ArrayDelegatingEList",1982),b(1038,40,mr,mAn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},s.Qb=function(){$6(this),this.a=u(Bn(this.b.a,4),126)},w(Hr,"ArrayDelegatingEList/EIterator",1038),b(706,278,Mh,$Tn,fCn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},s.pj=function(e){gFn(this,e),this.a=u(Bn(this.b.a,4),126)},s.Qb=function(){$6(this),this.a=u(Bn(this.b.a,4),126)},w(Hr,"ArrayDelegatingEList/EListIterator",706),b(1039,341,mr,kAn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},w(Hr,"ArrayDelegatingEList/NonResolvingEIterator",1039),b(707,385,Mh,FTn,hCn),s.mj=function(){if(this.b.j!=this.f||B(u(Bn(this.b.a,4),126))!==B(this.a))throw C(new Ts)},w(Hr,"ArrayDelegatingEList/NonResolvingEListIterator",707),b(606,295,Tx,hD),w(Hr,"BasicEList/BasicIndexOutOfBoundsException",606),b(696,63,sh,BU),s.Vc=function(e,t){throw C(new ye)},s.Fc=function(e){throw C(new ye)},s.Wc=function(e,t){throw C(new ye)},s.Gc=function(e){throw C(new ye)},s.$b=function(){throw C(new ye)},s.qi=function(e){throw C(new ye)},s.Kc=function(){return this.Zh()},s.Yc=function(){return this.$h()},s.Zc=function(e){return this._h(e)},s.ii=function(e,t){throw C(new ye)},s.ji=function(e,t){throw C(new ye)},s.$c=function(e){throw C(new ye)},s.Mc=function(e){throw C(new ye)},s._c=function(e,t){throw C(new ye)},w(Hr,"BasicEList/UnmodifiableEList",696),b(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),s.Vc=function(e,t){!function hce(n,e,t){n.c.Vc(e,u(t,133))}(this,e,u(t,42))},s.Fc=function(e){return function Qce(n,e){return n.c.Fc(u(e,133))}(this,u(e,42))},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return u(O(this.c,e),133)},s.ii=function(e,t){return u(this.c.ii(e,t),42)},s.ji=function(e,t){!function lce(n,e,t){n.c.ji(e,u(t,133))}(this,e,u(t,42))},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return u(this.c.$c(e),42)},s._c=function(e,t){return function ihe(n,e,t){return u(n.c._c(e,u(t,133)),42)}(this,e,u(t,42))},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.Wc=function(e,t){return this.c.Wc(e,t)},s.Gc=function(e){return this.c.Gc(e)},s.$b=function(){this.c.$b()},s.Hc=function(e){return this.c.Hc(e)},s.Ic=function(e){return y7(this.c,e)},s.qj=function(){var t,r;if(null==this.d){for(this.d=L(O1n,yrn,63,2*this.f+1,0,1),r=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)oM(this,u(t.nj(),133));this.e=r}},s.Fb=function(e){return cEn(this,e)},s.Hb=function(){return iQ(this.c)},s.Xc=function(e){return this.c.Xc(e)},s.rj=function(){this.c=new Cmn(this)},s.dc=function(){return 0==this.f},s.Kc=function(){return this.c.Kc()},s.Yc=function(){return this.c.Yc()},s.Zc=function(e){return this.c.Zc(e)},s.sj=function(){return t7(this)},s.tj=function(e,t,r){return new jEn(e,t,r)},s.uj=function(){return new V2n},s.Mc=function(e){return BIn(this,e)},s.gc=function(){return this.f},s.bd=function(e,t){return new yh(this.c,e,t)},s.Pc=function(){return this.c.Pc()},s.Qc=function(e){return this.c.Qc(e)},s.Ib=function(){return QQ(this.c)},s.e=0,s.f=0,w(Hr,"BasicEMap",705),b(1033,63,sh,Cmn),s.bi=function(e,t){!function Wte(n,e){oM(n.a,e)}(this,u(t,133))},s.ei=function(e,t,r){++(this,u(t,133),this).a.e},s.fi=function(e,t){!function Xte(n,e){eL(n.a,e)}(this,u(t,133))},s.gi=function(e,t,r){!function xce(n,e,t){eL(n.a,t),oM(n.a,e)}(this,u(t,133),u(r,133))},s.di=function(e,t){AOn(this.a)},w(Hr,"BasicEMap/1",1033),b(1034,63,sh,V2n),s.ri=function(e){return L(cMe,hGn,612,e,0,1)},w(Hr,"BasicEMap/2",1034),b(1035,Ef,pu,Mmn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return aL(this.a,e)},s.Kc=function(){return 0==this.a.f?(yp(),nj.a):new s8n(this.a)},s.Mc=function(e){var t;return t=this.a.f,JC(this.a,e),this.a.f!=t},s.gc=function(){return this.a.f},w(Hr,"BasicEMap/3",1035),b(1036,28,qb,Smn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){return aBn(this.a,e)},s.Kc=function(){return 0==this.a.f?(yp(),nj.a):new o8n(this.a)},s.gc=function(){return this.a.f},w(Hr,"BasicEMap/4",1036),b(1037,Ef,pu,Amn),s.$b=function(){this.a.c.$b()},s.Hc=function(e){var t,r,i,c,o,f,h,l,a;if(this.a.f>0&&I(e,42)&&(this.a.qj(),c=null==(h=(l=u(e,42)).cd())?0:kt(h),o=_z(this.a,c),t=this.a.d[o]))for(r=u(t.g,367),a=t.i,f=0;f"+this.c},s.a=0;var nj,cMe=w(Hr,"BasicEMap/EntryImpl",612);b(536,1,{},vj),w(Hr,"BasicEMap/View",536),b(768,1,{}),s.Fb=function(e){return iZ((An(),Gr),e)},s.Hb=function(){return gQ((An(),Gr))},s.Ib=function(){return Il((An(),Gr))},w(Hr,"ECollections/BasicEmptyUnmodifiableEList",768),b(1312,1,Mh,Q2n),s.Nb=function(e){Ar(this,e)},s.Rb=function(e){throw C(new ye)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw C(new ic)},s.Tb=function(){return 0},s.Ub=function(){throw C(new ic)},s.Vb=function(){return-1},s.Qb=function(){throw C(new ye)},s.Wb=function(e){throw C(new ye)},w(Hr,"ECollections/BasicEmptyUnmodifiableEList/1",1312),b(1310,768,{20:1,14:1,15:1,58:1},p9n),s.Vc=function(e,t){P8n()},s.Fc=function(e){return I8n()},s.Wc=function(e,t){return O8n()},s.Gc=function(e){return D8n()},s.$b=function(){$8n()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return KU((An(),e)),null},s.Xc=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(e){return this.a},s.ii=function(e,t){return F8n()},s.ji=function(e,t){L8n()},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return N8n()},s.Mc=function(e){return x8n()},s._c=function(e,t){return B8n()},s.gc=function(){return 0},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.bd=function(e,t){return An(),new yh(Gr,e,t)},s.Pc=function(){return KW((An(),Gr))},s.Qc=function(e){return An(),R7(Gr,e)},w(Hr,"ECollections/EmptyUnmodifiableEList",1310),b(1311,768,{20:1,14:1,15:1,58:1,589:1},m9n),s.Vc=function(e,t){P8n()},s.Fc=function(e){return I8n()},s.Wc=function(e,t){return O8n()},s.Gc=function(e){return D8n()},s.$b=function(){$8n()},s.Hc=function(e){return!1},s.Ic=function(e){return!1},s.Jc=function(e){Ir(this,e)},s.Xb=function(e){return KU((An(),e)),null},s.Xc=function(e){return-1},s.dc=function(){return!0},s.Kc=function(){return this.a},s.Yc=function(){return this.a},s.Zc=function(e){return this.a},s.ii=function(e,t){return F8n()},s.ji=function(e,t){L8n()},s.Lc=function(){return new Dn(null,new Fn(this,16))},s.$c=function(e){return N8n()},s.Mc=function(e){return x8n()},s._c=function(e,t){return B8n()},s.gc=function(){return 0},s.ad=function(e){Jw(this,e)},s.Nc=function(){return new Fn(this,16)},s.Oc=function(){return new Dn(null,new Fn(this,16))},s.bd=function(e,t){return An(),new yh(Gr,e,t)},s.Pc=function(){return KW((An(),Gr))},s.Qc=function(e){return An(),R7(Gr,e)},s.sj=function(){return An(),An(),$h},w(Hr,"ECollections/EmptyUnmodifiableEMap",1311);var jI,$1n=Et(Hr,"Enumerator");b(281,1,{281:1},kN),s.Fb=function(e){var t;return this===e||!!I(e,281)&&(t=u(e,281),this.f==t.f&&function Cfe(n,e){return null==n?null==e:ZC(n,e)}(this.i,t.i)&&WD(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&WD(this.d,t.d)&&WD(this.g,t.g)&&WD(this.e,t.e)&&function mve(n,e){var t,r;if(n.j.length!=e.j.length)return!1;for(t=0,r=n.j.length;t=0?n.Bh(t):RY(n,e)}(this.a,this.b)},w(xn,"BasicEObjectImpl/4",1027),b(1983,1,{108:1}),s.bk=function(e){this.e=0==e?see:L(Zn,rn,1,e,5,1)},s.Ch=function(e){return this.e[e]},s.Dh=function(e,t){this.e[e]=t},s.Eh=function(e){this.e[e]=null},s.ck=function(){return this.c},s.dk=function(){throw C(new ye)},s.ek=function(){throw C(new ye)},s.fk=function(){return this.d},s.gk=function(){return null!=this.e},s.hk=function(e){this.c=e},s.ik=function(e){throw C(new ye)},s.jk=function(e){throw C(new ye)},s.kk=function(e){this.d=e},w(xn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),b(185,1983,{108:1},qo),s.dk=function(){return this.a},s.ek=function(){return this.b},s.ik=function(e){this.a=e},s.jk=function(e){this.b=e},w(xn,"BasicEObjectImpl/EPropertiesHolderImpl",185),b(506,97,Tqn,mj),s.Kg=function(){return this.f},s.Pg=function(){return this.k},s.Rg=function(e,t){this.g=e,this.i=t},s.Tg=function(){return 2&this.j?this.ph().ck():this.zh()},s.Vg=function(){return this.i},s.Mg=function(){return 0!=(1&this.j)},s.eh=function(){return this.g},s.kh=function(){return 0!=(4&this.j)},s.ph=function(){return!this.k&&(this.k=new qo),this.k},s.th=function(e){this.ph().hk(e),e?this.j|=2:this.j&=-3},s.vh=function(e){this.ph().jk(e),e?this.j|=4:this.j&=-5},s.zh=function(){return(pl(),Nn).S},s.i=0,s.j=1,w(xn,"EObjectImpl",506),b(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},EW),s.Ch=function(e){return this.e[e]},s.Dh=function(e,t){this.e[e]=t},s.Eh=function(e){this.e[e]=null},s.Tg=function(){return this.d},s.Yg=function(e){return yt(this.d,e)},s.$g=function(){return this.d},s.dh=function(){return null!=this.e},s.ph=function(){return!this.k&&(this.k=new J2n),this.k},s.th=function(e){this.d=e},s.yh=function(){var e;return null==this.e&&(e=ee(this.d),this.e=0==e?oee:L(Zn,rn,1,e,5,1)),this},s.Ah=function(){return 0},w(xn,"DynamicEObjectImpl",780),b(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},VEn),s.Fb=function(e){return this===e},s.Hb=function(){return Ld(this)},s.th=function(e){this.d=e,this.b=ik(e,"key"),this.c=ik(e,mm)},s.Sh=function(){var e;return-1==this.a&&(e=aF(this,this.b),this.a=null==e?0:kt(e)),this.a},s.cd=function(){return aF(this,this.b)},s.dd=function(){return aF(this,this.c)},s.Th=function(e){this.a=e},s.Uh=function(e){EX(this,this.b,e)},s.ed=function(e){var t;return t=aF(this,this.c),EX(this,this.c,e),t},s.a=0,w(xn,"DynamicEObjectImpl/BasicEMapEntry",1376),b(1377,1,{108:1},J2n),s.bk=function(e){throw C(new ye)},s.Ch=function(e){throw C(new ye)},s.Dh=function(e,t){throw C(new ye)},s.Eh=function(e){throw C(new ye)},s.ck=function(){throw C(new ye)},s.dk=function(){return this.a},s.ek=function(){return this.b},s.fk=function(){return this.c},s.gk=function(){throw C(new ye)},s.hk=function(e){throw C(new ye)},s.ik=function(e){this.a=e},s.jk=function(e){this.b=e},s.kk=function(e){this.c=e},w(xn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),b(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},Eq),s.Qg=function(e){return HJ(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),this.b):(!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),t7(this.b));case 3:return mMn(this);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),this.a;case 5:return!this.c&&(this.c=new Hw(ea,this,5)),this.c}return Is(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 3:return this.Cb&&(r=(c=this.Db>>16)>=0?HJ(this,r):this.Cb.ih(this,-1-c,null,r)),_W(this,u(e,147),r)}return u(In(u(Bn(this,16),26)||(Sn(),J1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),J1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),HE(this.b,e,r);case 3:return _W(this,null,r);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),J1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),J1)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!mMn(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return As(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void function hfe(n,e){qV(n,null==e?null:(_n(e),e))}(this,Te(t));case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),void IC(this.b,t);case 3:return void $xn(this,u(t,147));case 4:return!this.a&&(this.a=new Vt(ea,this,4)),de(this.a),!this.a&&(this.a=new Vt(ea,this,4)),void Dt(this.a,u(t,14));case 5:return!this.c&&(this.c=new Hw(ea,this,5)),de(this.c),!this.c&&(this.c=new Hw(ea,this,5)),void Dt(this.c,u(t,14))}Ls(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e),t)},s.zh=function(){return Sn(),J1},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void qV(this,null);case 2:return!this.b&&(this.b=new Wu((Sn(),Jr),rc,this)),void this.b.c.$b();case 3:return void $xn(this,null);case 4:return!this.a&&(this.a=new Vt(ea,this,4)),void de(this.a);case 5:return!this.c&&(this.c=new Hw(ea,this,5)),void de(this.c)}$s(this,e-ee((Sn(),J1)),In(u(Bn(this,16),26)||J1,e))},s.Ib=function(){return XDn(this)},s.d=null,w(xn,"EAnnotationImpl",510),b(151,705,jrn,Ju),s.Xh=function(e,t){!function zie(n,e,t){u(n.c,69).Xh(e,t)}(this,e,u(t,42))},s.lk=function(e,t){return function Rue(n,e,t){return u(n.c,69).lk(e,t)}(this,u(e,42),t)},s.pi=function(e){return u(u(this.c,69).pi(e),133)},s.Zh=function(){return u(this.c,69).Zh()},s.$h=function(){return u(this.c,69).$h()},s._h=function(e){return u(this.c,69)._h(e)},s.mk=function(e,t){return HE(this,e,t)},s.Wj=function(e){return u(this.c,76).Wj(e)},s.rj=function(){},s.fj=function(){return u(this.c,76).fj()},s.tj=function(e,t,r){var i;return(i=u(ss(this.b).Nh().Jh(this.b),133)).Th(e),i.Uh(t),i.ed(r),i},s.uj=function(){return new oG(this)},s.Wb=function(e){IC(this,e)},s.Xj=function(){u(this.c,76).Xj()},w(pt,"EcoreEMap",151),b(158,151,jrn,Wu),s.qj=function(){var e,t,r,c,o;if(null==this.d){for(o=L(O1n,yrn,63,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)!(e=o[c=((t=u(r.nj(),133)).Sh()&Ze)%o.length])&&(e=o[c]=new oG(this)),e.Fc(t);this.d=o}},w(xn,"EAnnotationImpl/1",158),b(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!this.$j();case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i)}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void this.Lh(Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void this.ok(u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi())}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),uee},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void this.Lh(null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void this.ok(1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi())}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){Vs(this),this.Bb|=1},s.Yj=function(){return Vs(this)},s.Zj=function(){return this.t},s.$j=function(){var e;return(e=this.t)>1||-1==e},s.hi=function(){return 0!=(512&this.Bb)},s.nk=function(e,t){return xQ(this,e,t)},s.ok=function(e){Cb(this,e)},s.Ib=function(){return XY(this)},s.s=0,s.t=1,w(xn,"ETypedElementImpl",284),b(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),s.Qg=function(e){return IFn(this,e)},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!this.$j();case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this)}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 17:return this.Cb&&(r=(c=this.Db>>16)>=0?IFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,17,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 17:return as(this,null,17,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this)}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void this.ok(u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),cee},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void this.ok(1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.Gh=function(){Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.Gj=function(){return this.f},s.zj=function(){return A3(this)},s.Hj=function(){return gb(this)},s.Lj=function(){return null},s.pk=function(){return this.k},s.aj=function(){return this.n},s.Mj=function(){return vM(this)},s.Nj=function(){var e,t,r,i,c,o,f,h,l;return this.p||(null==(r=gb(this)).i&&Qf(r),(i=this.Lj())&&ee(gb(i)),e=(f=(c=Vs(this)).Bj())?1&f.i?f==Hu?cr:f==be?qr:f==Aw?c4:f==kr?Cr:f==oa?A0:f==o2?P0:f==ju?yv:Im:f:null,t=A3(this),h=c.zj(),Gge(this),this.p=this.Bb&Jf&&((o=VJ((vu(),Dr),r))&&o!=this||(o=R2(ji(Dr,this))))?new Nkn(this,o):this.$j()?this.rk()?i?this.Bb&ku?e?this.sk()?new Ea(47,e,this,i):new Ea(5,e,this,i):this.sk()?new Ma(46,this,i):new Ma(4,this,i):e?this.sk()?new Ea(49,e,this,i):new Ea(7,e,this,i):this.sk()?new Ma(48,this,i):new Ma(6,this,i):this.Bb&ku?e?e==ed?new E1(50,Kne,this):this.sk()?new E1(43,e,this):new E1(1,e,this):this.sk()?new C1(42,this):new C1(0,this):e?e==ed?new E1(41,Kne,this):this.sk()?new E1(45,e,this):new E1(3,e,this):this.sk()?new C1(44,this):new C1(2,this):I(c,148)?e==CI?new C1(40,this):512&this.Bb?this.Bb&ku?e?new E1(9,e,this):new C1(8,this):e?new E1(11,e,this):new C1(10,this):this.Bb&ku?e?new E1(13,e,this):new C1(12,this):e?new E1(15,e,this):new C1(14,this):i?(l=i.t)>1||-1==l?this.sk()?this.Bb&ku?e?new Ea(25,e,this,i):new Ma(24,this,i):e?new Ea(27,e,this,i):new Ma(26,this,i):this.Bb&ku?e?new Ea(29,e,this,i):new Ma(28,this,i):e?new Ea(31,e,this,i):new Ma(30,this,i):this.sk()?this.Bb&ku?e?new Ea(33,e,this,i):new Ma(32,this,i):e?new Ea(35,e,this,i):new Ma(34,this,i):this.Bb&ku?e?new Ea(37,e,this,i):new Ma(36,this,i):e?new Ea(39,e,this,i):new Ma(38,this,i):this.sk()?this.Bb&ku?e?new E1(17,e,this):new C1(16,this):e?new E1(19,e,this):new C1(18,this):this.Bb&ku?e?new E1(21,e,this):new C1(20,this):e?new E1(23,e,this):new C1(22,this):this.qk()?this.sk()?new EEn(u(c,26),this,i):new jX(u(c,26),this,i):I(c,148)?e==CI?new C1(40,this):this.Bb&ku?e?new yTn(t,h,this,(lL(),f==be?X1n:f==Hu?q1n:f==oa?V1n:f==Aw?W1n:f==kr?z1n:f==o2?Q1n:f==ju?G1n:f==Hs?U1n:VH)):new $Cn(u(c,148),t,h,this):e?new kTn(t,h,this,(lL(),f==be?X1n:f==Hu?q1n:f==oa?V1n:f==Aw?W1n:f==kr?z1n:f==o2?Q1n:f==ju?G1n:f==Hs?U1n:VH)):new DCn(u(c,148),t,h,this):this.rk()?i?this.Bb&ku?this.sk()?new CEn(u(c,26),this,i):new dW(u(c,26),this,i):this.sk()?new TEn(u(c,26),this,i):new RD(u(c,26),this,i):this.Bb&ku?this.sk()?new kjn(u(c,26),this):new Sz(u(c,26),this):this.sk()?new mjn(u(c,26),this):new MD(u(c,26),this):this.sk()?i?this.Bb&ku?new MEn(u(c,26),this,i):new lW(u(c,26),this,i):this.Bb&ku?new yjn(u(c,26),this):new Az(u(c,26),this):i?this.Bb&ku?new SEn(u(c,26),this,i):new aW(u(c,26),this,i):this.Bb&ku?new jjn(u(c,26),this):new eT(u(c,26),this)),this.p},s.Ij=function(){return 0!=(this.Bb&Io)},s.qk=function(){return!1},s.rk=function(){return!1},s.Jj=function(){return 0!=(this.Bb&Jf)},s.Oj=function(){return bF(this)},s.sk=function(){return!1},s.Kj=function(){return 0!=(this.Bb&ku)},s.tk=function(e){this.k=e},s.Lh=function(e){B$(this,e)},s.Ib=function(){return LM(this)},s.e=!1,s.n=0,w(xn,"EStructuralFeatureImpl",449),b(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},dO),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),!!GY(this);case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this);case 18:return Hn(),!!(this.Bb&sc);case 19:return t?DF(this):$An(this)}return Is(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e),t,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return GY(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this);case 18:return 0!=(this.Bb&sc);case 19:return!!$An(this)}return As(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void l8n(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)));case 18:return void rL(this,on(sn(t)))}Ls(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e),t)},s.zh=function(){return Sn(),Cw},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return this.b=0,void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1);case 18:return void rL(this,!1)}$s(this,e-ee((Sn(),Cw)),In(u(Bn(this,16),26)||Cw,e))},s.Gh=function(){DF(this),Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.$j=function(){return GY(this)},s.nk=function(e,t){return this.b=0,this.a=null,xQ(this,e,t)},s.ok=function(e){l8n(this,e)},s.Ib=function(){var e;return 64&this.Db?LM(this):((e=new Gs(LM(this))).a+=" (iD: ",k1(e,0!=(this.Bb&sc)),e.a+=")",e.a)},s.b=0,w(xn,"EAttributeImpl",322),b(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),s.uk=function(e){return e.Tg()==this},s.Qg=function(e){return xL(this,e)},s.Rg=function(e,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=e},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return a0(this);case 4:return this.zj();case 5:return this.F;case 6:return t?ss(this):Fp(this);case 7:return!this.A&&(this.A=new au(Uc,this,7)),this.A}return Is(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Qj(this,_c(this),t-ee(this.zh()),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r)}return u(In(u(Bn(this,16),26)||this.zh(),t),66).Nj().Rj(this,_c(this),t-ee(this.zh()),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i}return As(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14))}Ls(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e),t)},s.zh=function(){return Sn(),Zne},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A)}$s(this,e-ee(this.zh()),In(u(Bn(this,16),26)||this.zh(),e))},s.yj=function(){var e;return-1==this.G&&(this.G=(e=ss(this))?F1(e.Mh(),this):-1),this.G},s.zj=function(){return null},s.Aj=function(){return ss(this)},s.vk=function(){return this.v},s.Bj=function(){return a0(this)},s.Cj=function(){return null!=this.D?this.D:this.B},s.Dj=function(){return this.F},s.wj=function(e){return PN(this,e)},s.wk=function(e){this.v=e},s.xk=function(e){fOn(this,e)},s.yk=function(e){this.C=e},s.Lh=function(e){LT(this,e)},s.Ib=function(){return WC(this)},s.C=null,s.D=null,s.G=-1,w(xn,"EClassifierImpl",351),b(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Aq),s.uk=function(e){return function Mue(n,e){return e==n||y3(AM(e),n)}(this,e.Tg())},s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return a0(this);case 4:return null;case 5:return this.F;case 6:return t?ss(this):Fp(this);case 7:return!this.A&&(this.A=new au(Uc,this,7)),this.A;case 8:return Hn(),!!(256&this.Bb);case 9:return Hn(),!!(512&this.Bb);case 10:return Si(this);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),this.q;case 12:return pg(this);case 13:return z6(this);case 14:return z6(this),this.r;case 15:return pg(this),this.k;case 16:return FY(this);case 17:return FN(this);case 18:return Qf(this);case 19:return AM(this);case 20:return pg(this),this.o;case 21:return!this.s&&(this.s=new V(ou,this,21,17)),this.s;case 22:return wc(this);case 23:return mN(this)}return Is(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 6:return this.Cb&&(r=(c=this.Db>>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),$c(this.q,e,r);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),$c(this.s,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ia),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ia)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r);case 11:return!this.q&&(this.q=new V(lo,this,11,10)),Kr(this.q,e,r);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),Kr(this.s,e,r);case 22:return Kr(wc(this),e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ia),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ia)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==wc(this.u.a).i||this.n&&ML(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=pg(this).i;case 13:return 0!=z6(this).i;case 14:return z6(this),0!=this.r.i;case 15:return pg(this),0!=this.k.i;case 16:return 0!=FY(this).i;case 17:return 0!=FN(this).i;case 18:return 0!=Qf(this).i;case 19:return 0!=AM(this).i;case 20:return pg(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&ML(this.n);case 23:return 0!=mN(this).i}return As(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e))},s.oh=function(e){return(null==this.i||this.q&&0!=this.q.i?null:ik(this,e))||lnn(this,e)},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14));case 8:return void _Q(this,on(sn(t)));case 9:return void RQ(this,on(sn(t)));case 10:return V6(Si(this)),void Dt(Si(this),u(t,14));case 11:return!this.q&&(this.q=new V(lo,this,11,10)),de(this.q),!this.q&&(this.q=new V(lo,this,11,10)),void Dt(this.q,u(t,14));case 21:return!this.s&&(this.s=new V(ou,this,21,17)),de(this.s),!this.s&&(this.s=new V(ou,this,21,17)),void Dt(this.s,u(t,14));case 22:return de(wc(this)),void Dt(wc(this),u(t,14))}Ls(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e),t)},s.zh=function(){return Sn(),ia},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A);case 8:return void _Q(this,!1);case 9:return void RQ(this,!1);case 10:return void(this.u&&V6(this.u));case 11:return!this.q&&(this.q=new V(lo,this,11,10)),void de(this.q);case 21:return!this.s&&(this.s=new V(ou,this,21,17)),void de(this.s);case 22:return void(this.n&&de(this.n))}$s(this,e-ee((Sn(),ia)),In(u(Bn(this,16),26)||ia,e))},s.Gh=function(){var e,t;if(pg(this),z6(this),FY(this),FN(this),Qf(this),AM(this),mN(this),o6(function qoe(n){return!n.c&&(n.c=new Jv),n.c}(Du(this))),this.s)for(e=0,t=this.s.i;e=0;--t)O(this,t);return oJ(this,e)},s.Xj=function(){de(this)},s.oi=function(e,t){return DIn(this,0,t)},w(pt,"EcoreEList",622),b(496,622,Bi,x8),s.ai=function(){return!1},s.aj=function(){return this.c},s.bj=function(){return!1},s.Fk=function(){return!0},s.hi=function(){return!0},s.li=function(e,t){return t},s.ni=function(){return!1},s.c=0,w(pt,"EObjectEList",496),b(85,496,Bi,Vt),s.bj=function(){return!0},s.Dk=function(){return!1},s.rk=function(){return!0},w(pt,"EObjectContainmentEList",85),b(545,85,Bi,OE),s.ci=function(){this.b=!0},s.fj=function(){return this.b},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.b,this.b=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.b=!1},s.b=!1,w(pt,"EObjectContainmentEList/Unsettable",545),b(1140,545,Bi,pTn),s.ii=function(e,t){var r,i;return r=u(T6(this,e,t),87),zu(this.e)&&rp(this,new i7(this.a,7,(Sn(),nee),Q(t),I(i=r.c,88)?u(i,26):bo,e)),r},s.jj=function(e,t){return function O2e(n,e,t){var r,i;return r=new Jh(n.e,3,10,null,I(i=e.c,88)?u(i,26):(Sn(),bo),F1(n,e),!1),t?t.Ei(r):t=r,t}(this,u(e,87),t)},s.kj=function(e,t){return function I2e(n,e,t){var r,i;return r=new Jh(n.e,4,10,I(i=e.c,88)?u(i,26):(Sn(),bo),null,F1(n,e),!1),t?t.Ei(r):t=r,t}(this,u(e,87),t)},s.lj=function(e,t,r){return function D3e(n,e,t,r){var i,c,o;return i=new Jh(n.e,1,10,I(o=e.c,88)?u(o,26):(Sn(),bo),I(c=t.c,88)?u(c,26):(Sn(),bo),F1(n,e),!1),r?r.Ei(i):r=i,r}(this,u(e,87),u(t,87),r)},s.Zi=function(e,t,r,i,c){switch(e){case 3:return t6(this,e,t,r,i,this.i>1);case 5:return t6(this,e,t,r,i,this.i-u(r,15).gc()>0);default:return new Jh(this.e,e,this.c,t,r,i,!0)}},s.ij=function(){return!0},s.fj=function(){return ML(this)},s.Xj=function(){de(this)},w(xn,"EClassImpl/1",1140),b(1154,1153,krn),s.ui=function(e){var t,r,i,c,o,f,h;if(8!=(r=e.xi())){if(0==(i=function bve(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(e)))switch(r){case 1:case 9:null!=(h=e.Bi())&&(!(t=Du(u(h,473))).c&&(t.c=new Jv),cC(t.c,e.Ai())),null!=(f=e.zi())&&(1&(c=u(f,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26))));break;case 3:null!=(f=e.zi())&&(1&(c=u(f,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26))));break;case 5:if(null!=(f=e.zi()))for(o=u(f,14).Kc();o.Ob();)1&(c=u(o.Pb(),473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),me(t.c,u(e.Ai(),26)));break;case 4:null!=(h=e.Bi())&&(1&(c=u(h,473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),cC(t.c,e.Ai())));break;case 6:if(null!=(h=e.Bi()))for(o=u(h,14).Kc();o.Ob();)1&(c=u(o.Pb(),473)).Bb||(!(t=Du(c)).c&&(t.c=new Jv),cC(t.c,e.Ai()))}this.Hk(i)}},s.Hk=function(e){vBn(this,e)},s.b=63,w(xn,"ESuperAdapter",1154),b(1155,1154,krn,Imn),s.Hk=function(e){Nb(this,e)},w(xn,"EClassImpl/10",1155),b(1144,696,Bi),s.Vh=function(e,t){return XL(this,e,t)},s.Wh=function(e){return dFn(this,e)},s.Xh=function(e,t){O7(this,e,t)},s.Yh=function(e){Z8(this,e)},s.pi=function(e){return vV(this,e)},s.mi=function(e,t){return dF(this,e,t)},s.lk=function(e,t){throw C(new ye)},s.Zh=function(){return new A2(this)},s.$h=function(){return new C8(this)},s._h=function(e){return g7(this,e)},s.mk=function(e,t){throw C(new ye)},s.Wj=function(e){return this},s.fj=function(){return 0!=this.i},s.Wb=function(e){throw C(new ye)},s.Xj=function(){throw C(new ye)},w(pt,"EcoreEList/UnmodifiableEList",1144),b(319,1144,Bi,Bw),s.ni=function(){return!1},w(pt,"EcoreEList/UnmodifiableEList/FastCompare",319),b(1147,319,Bi,eDn),s.Xc=function(e){var r,i;if(I(e,170)&&-1!=(r=u(e,170).aj()))for(i=this.i;r4){if(!this.wj(e))return!1;if(this.rk()){if(h=(r=(i=u(e,49)).Ug())==this.b&&(this.Dk()?i.Og(i.Vg(),u(In(Qc(this.b),this.aj()).Yj(),26).Bj())==ei(u(In(Qc(this.b),this.aj()),18)).n:-1-i.Vg()==this.aj()),this.Ek()&&!h&&!r&&i.Zg())for(c=0;c1||-1==i)},s.Dk=function(){var t;return!!I(t=In(Qc(this.b),this.aj()),99)&&!!ei(u(t,18))},s.Ek=function(){var t;return!!I(t=In(Qc(this.b),this.aj()),99)&&0!=(u(t,18).Bb&Vr)},s.Xc=function(e){var r,i,c;if((i=this.Qi(e))>=0)return i;if(this.Fk())for(r=0,c=this.Vi();r=0;--e)dk(this,e,this.Oi(e));return this.Wi()},s.Qc=function(e){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)dk(this,t,this.Oi(t));return this.Xi(e)},s.Xj=function(){V6(this)},s.oi=function(e,t){return gPn(this,0,t)},w(pt,"DelegatingEcoreEList",742),b(1150,742,Trn,$jn),s.Hi=function(e,t){!function nue(n,e,t){E6(wc(n.a),e,DMn(t))}(this,e,u(t,26))},s.Ii=function(e){!function Xie(n,e){me(wc(n.a),DMn(e))}(this,u(e,26))},s.Oi=function(e){var r;return I(r=u(O(wc(this.a),e),87).c,88)?u(r,26):(Sn(),bo)},s.Ti=function(e){var r;return I(r=u(Bb(wc(this.a),e),87).c,88)?u(r,26):(Sn(),bo)},s.Ui=function(e,t){return function epe(n,e,t){var r,i,c;return(64&(c=I(i=(r=u(O(wc(n.a),e),87)).c,88)?u(i,26):(Sn(),bo)).Db?Sl(n.b,c):c)==t?BM(r):Gp(r,t),c}(this,e,u(t,26))},s.ai=function(){return!1},s.Zi=function(e,t,r,i,c){return null},s.Ji=function(){return new Dmn(this)},s.Ki=function(){de(wc(this.a))},s.Li=function(e){return zDn(this,e)},s.Mi=function(e){var r;for(r=e.Kc();r.Ob();)if(!zDn(this,r.Pb()))return!1;return!0},s.Ni=function(e){var t,r,i;if(I(e,15)&&(i=u(e,15)).gc()==wc(this.a).i){for(t=i.Kc(),r=new re(this);t.Ob();)if(B(t.Pb())!==B(oe(r)))return!1;return!0}return!1},s.Pi=function(){var t,r,i,c;for(r=1,t=new re(wc(this.a));t.e!=t.i.gc();)r=31*r+((i=I(c=u(oe(t),87).c,88)?u(c,26):(Sn(),bo))?Ld(i):0);return r},s.Qi=function(e){var t,r,i,c;for(i=0,r=new re(wc(this.a));r.e!=r.i.gc();){if(t=u(oe(r),87),B(e)===B(I(c=t.c,88)?u(c,26):(Sn(),bo)))return i;++i}return-1},s.Ri=function(){return 0==wc(this.a).i},s.Si=function(){return null},s.Vi=function(){return wc(this.a).i},s.Wi=function(){var e,t,r,i,c,o;for(o=wc(this.a).i,c=L(Zn,rn,1,o,5,1),r=0,t=new re(wc(this.a));t.e!=t.i.gc();)e=u(oe(t),87),c[r++]=I(i=e.c,88)?u(i,26):(Sn(),bo);return c},s.Xi=function(e){var r,i,f,h;for(h=wc(this.a).i,e.lengthh&&St(e,h,null),i=0,r=new re(wc(this.a));r.e!=r.i.gc();)St(e,i++,I(f=u(oe(r),87).c,88)?u(f,26):(Sn(),bo));return e},s.Yi=function(){var e,t,r,i,c;for((c=new m1).a+="[",e=wc(this.a),t=0,i=wc(this.a).i;t>16)>=0?xL(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,6,r);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),$c(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ca),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),ca)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 6:return as(this,null,6,r);case 7:return!this.A&&(this.A=new au(Uc,this,7)),Kr(this.A,e,r);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),ca),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),ca)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!a0(this);case 4:return!!CQ(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Fp(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void LT(this,Te(t));case 2:return void dD(this,Te(t));case 5:return void F3(this,Te(t));case 7:return!this.A&&(this.A=new au(Uc,this,7)),de(this.A),!this.A&&(this.A=new au(Uc,this,7)),void Dt(this.A,u(t,14));case 8:return void KC(this,on(sn(t)));case 9:return!this.a&&(this.a=new V(g1,this,9,5)),de(this.a),!this.a&&(this.a=new V(g1,this,9,5)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e),t)},s.zh=function(){return Sn(),ca},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,179)&&(u(this.Cb,179).tb=null),void Dc(this,null);case 2:return s3(this,null),void Vp(this,this.D);case 5:return void F3(this,null);case 7:return!this.A&&(this.A=new au(Uc,this,7)),void de(this.A);case 8:return void KC(this,!0);case 9:return!this.a&&(this.a=new V(g1,this,9,5)),void de(this.a)}$s(this,e-ee((Sn(),ca)),In(u(Bn(this,16),26)||ca,e))},s.Gh=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?u(this.Cb,671):null}return Is(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 5:return this.Cb&&(r=(c=this.Db>>16)>=0?BFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,5,r)}return u(In(u(Bn(this,16),26)||(Sn(),Y1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Y1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 5:return as(this,null,5,r)}return u(In(u(Bn(this,16),26)||(Sn(),Y1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Y1)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!u(this.Cb,671))}return As(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void mF(this,u(t,19).a);case 3:return void $Nn(this,u(t,1940));case 4:return void yF(this,Te(t))}Ls(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e),t)},s.zh=function(){return Sn(),Y1},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void mF(this,0);case 3:return void $Nn(this,null);case 4:return void yF(this,null)}$s(this,e-ee((Sn(),Y1)),In(u(Bn(this,16),26)||Y1,e))},s.Ib=function(){return this.c??this.zb},s.b=null,s.c=null,s.d=0,w(xn,"EEnumLiteralImpl",573);var H1n,XH,ej,uMe=Et(xn,"EFactoryImpl/InternalEDateTimeFormat");b(489,1,{2015:1},Q9),w(xn,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),b(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},jd),s.Sg=function(e,t,r){var i;return r=as(this,e,t,r),this.e&&I(e,170)&&(i=SM(this,this.e))!=this.c&&(r=L3(this,i,r)),r},s._g=function(e,t,r){switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new Vt(hi,this,1)),this.d;case 2:return t?BM(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?PL(this):this.a}return Is(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return NDn(this,null,r);case 1:return!this.d&&(this.d=new Vt(hi,this,1)),Kr(this.d,e,r);case 3:return LDn(this,null,r)}return u(In(u(Bn(this,16),26)||(Sn(),z0),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),z0)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return As(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e))},s.sh=function(e,t){switch(e){case 0:return void tLn(this,u(t,87));case 1:return!this.d&&(this.d=new Vt(hi,this,1)),de(this.d),!this.d&&(this.d=new Vt(hi,this,1)),void Dt(this.d,u(t,14));case 3:return void iY(this,u(t,87));case 4:return void yY(this,u(t,836));case 5:return void Gp(this,u(t,138))}Ls(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e),t)},s.zh=function(){return Sn(),z0},s.Bh=function(e){switch(e){case 0:return void tLn(this,null);case 1:return!this.d&&(this.d=new Vt(hi,this,1)),void de(this.d);case 3:return void iY(this,null);case 4:return void yY(this,null);case 5:return void Gp(this,null)}$s(this,e-ee((Sn(),z0)),In(u(Bn(this,16),26)||z0,e))},s.Ib=function(){var e;return(e=new ts(Ao(this))).a+=" (expression: ",BN(this,e),e.a+=")",e.a},w(xn,"EGenericTypeImpl",241),b(1969,1964,US),s.Xh=function(e,t){Ijn(this,e,t)},s.lk=function(e,t){return Ijn(this,this.gc(),e),t},s.pi=function(e){return Yo(this.Gi(),e)},s.Zh=function(){return this.$h()},s.Gi=function(){return new Nmn(this)},s.$h=function(){return this._h(0)},s._h=function(e){return this.Gi().Zc(e)},s.mk=function(e,t){return Ab(this,e,!0),t},s.ii=function(e,t){var i;return i=_L(this,t),this.Zc(e).Rb(i),i},s.ji=function(e,t){Ab(this,t,!0),this.Zc(e).Rb(t)},w(pt,"AbstractSequentialInternalEList",1969),b(486,1969,US,T8),s.pi=function(e){return Yo(this.Gi(),e)},s.Zh=function(){return null==this.b?(y1(),y1(),ej):this.Jk()},s.Gi=function(){return new eyn(this.a,this.b)},s.$h=function(){return null==this.b?(y1(),y1(),ej):this.Jk()},s._h=function(e){var t,r;if(null==this.b){if(e<0||e>1)throw C(new pi(km+e+", size=0"));return y1(),y1(),ej}for(r=this.Jk(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=R4||0!=t.aj())&&(!this.Mk()||this.b.mh(t)))if(o=this.b.bh(t,this.Lk()),this.f=(Zr(),u(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=u(o,15),this.k=i):(i=u(o,69),this.k=this.j=i),I(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?XLn(this,this.p):uNn(this))return c=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((e=u(c,72)).ak(),r=e.dd(),this.i=r):this.i=r=c,this.g=-3,!0}else if(null!=o)return this.k=null,this.p=null,this.i=r=o,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},s.Pb=function(){return OC(this)},s.Tb=function(){return this.a},s.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw C(new ic)},s.Vb=function(){return this.a-1},s.Qb=function(){throw C(new ye)},s.Lk=function(){return!1},s.Wb=function(e){throw C(new ye)},s.Mk=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0,w(pt,"EContentsEList/FeatureIteratorImpl",279),b(697,279,zS,Mz),s.Lk=function(){return!0},w(pt,"EContentsEList/ResolvingFeatureIteratorImpl",697),b(1157,697,zS,pjn),s.Mk=function(){return!1},w(xn,"ENamedElementImpl/1/1",1157),b(1158,279,zS,vjn),s.Mk=function(){return!1},w(xn,"ENamedElementImpl/1/2",1158),b(36,143,Kk,mb,z$,dr,sF,Jh,Co,IV,zMn,OV,WMn,eV,XMn,FV,VMn,tV,QMn,DV,JMn,V5,i7,T$,$V,YMn,rV,ZMn),s._i=function(){return bV(this)},s.gj=function(){var e;return(e=bV(this))?e.zj():null},s.yi=function(e){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,e)},s.Ai=function(){return this.c},s.hj=function(){var e;return!!(e=bV(this))&&e.Kj()},s.b=-1,w(xn,"ENotificationImpl",36),b(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},bO),s.Qg=function(e){return KFn(this,e)},s._g=function(e,t,r){var o;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(o=this.t)>1||-1==o;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,26):null;case 11:return!this.d&&(this.d=new au(Uc,this,11)),this.d;case 12:return!this.c&&(this.c=new V(U0,this,12,10)),this.c;case 13:return!this.a&&(this.a=new I8(this,this)),this.a;case 14:return $u(this)}return Is(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 10:return this.Cb&&(r=(c=this.Db>>16)>=0?KFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,10,r);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),$c(this.c,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),Z1),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Z1)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 10:return as(this,null,10,r);case 11:return!this.d&&(this.d=new au(Uc,this,11)),Kr(this.d,e,r);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),Kr(this.c,e,r);case 14:return Kr($u(this),e,r)}return u(In(u(Bn(this,16),26)||(Sn(),Z1),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Z1)),e,r)},s.lh=function(e){var i;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(i=this.t)>1||-1==i;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==$u(this.a.a).i||this.b&&SL(this.b));case 14:return!!this.b&&SL(this.b)}return As(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void Cb(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 11:return!this.d&&(this.d=new au(Uc,this,11)),de(this.d),!this.d&&(this.d=new au(Uc,this,11)),void Dt(this.d,u(t,14));case 12:return!this.c&&(this.c=new V(U0,this,12,10)),de(this.c),!this.c&&(this.c=new V(U0,this,12,10)),void Dt(this.c,u(t,14));case 13:return!this.a&&(this.a=new I8(this,this)),V6(this.a),!this.a&&(this.a=new I8(this,this)),void Dt(this.a,u(t,14));case 14:return de($u(this)),void Dt($u(this),u(t,14))}Ls(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e),t)},s.zh=function(){return Sn(),Z1},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 11:return!this.d&&(this.d=new au(Uc,this,11)),void de(this.d);case 12:return!this.c&&(this.c=new V(U0,this,12,10)),void de(this.c);case 13:return void(this.a&&V6(this.a));case 14:return void(this.b&&de(this.b))}$s(this,e-ee((Sn(),Z1)),In(u(Bn(this,16),26)||Z1,e))},s.Gh=function(){var e,t;if(this.c)for(e=0,t=this.c.i;eh&&St(e,h,null),i=0,r=new re($u(this.a));r.e!=r.i.gc();)St(e,i++,u(oe(r),87).c||(Sn(),Ff));return e},s.Yi=function(){var e,t,i,c;for((c=new m1).a+="[",e=$u(this.a),t=0,i=$u(this.a).i;t1);case 5:return t6(this,e,t,r,i,this.i-u(r,15).gc()>0);default:return new Jh(this.e,e,this.c,t,r,i,!0)}},s.ij=function(){return!0},s.fj=function(){return SL(this)},s.Xj=function(){de(this)},w(xn,"EOperationImpl/2",1341),b(498,1,{1938:1,498:1},Lkn),w(xn,"EPackageImpl/1",498),b(16,85,Bi,V),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.Dk=function(){return!0},s.b=0,w(pt,"EObjectContainmentWithInverseEList",16),b(353,16,Bi,P2),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentWithInverseEList/Resolving",353),b(298,353,Bi,db),s.ci=function(){this.a.tb=null},w(xn,"EPackageImpl/2",298),b(1228,1,{},rvn),w(xn,"EPackageImpl/3",1228),b(718,43,jg,AG),s._b=function(e){return vr(e)?C$(this,e):!!Ai(this.f,e)},w(xn,"EPackageRegistryImpl",718),b(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},wO),s.Qg=function(e){return HFn(this,e)},s._g=function(e,t,r){var o;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(o=this.t)>1||-1==o;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,59):null}return Is(this,e-ee((Sn(),Mw)),In(u(Bn(this,16),26)||Mw,e),t,r)},s.hh=function(e,t,r){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),$c(this.Ab,e,r);case 10:return this.Cb&&(r=(c=this.Db>>16)>=0?HFn(this,r):this.Cb.ih(this,-1-c,null,r)),as(this,e,10,r)}return u(In(u(Bn(this,16),26)||(Sn(),Mw),t),66).Nj().Qj(this,_c(this),t-ee((Sn(),Mw)),e,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 9:return h$(this,r);case 10:return as(this,null,10,r)}return u(In(u(Bn(this,16),26)||(Sn(),Mw),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),Mw)),e,r)},s.lh=function(e){var i;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(i=this.t)>1||-1==i;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,59))}return As(this,e-ee((Sn(),Mw)),In(u(Bn(this,16),26)||Mw,e))},s.zh=function(){return Sn(),Mw},w(xn,"EParameterImpl",509),b(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},Oz),s._g=function(e,t,r){var o,f;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Hn(),!!(256&this.Bb);case 3:return Hn(),!!(512&this.Bb);case 4:return Q(this.s);case 5:return Q(this.t);case 6:return Hn(),(f=this.t)>1||-1==f;case 7:return Hn(),this.s>=1;case 8:return t?Vs(this):this.r;case 9:return this.q;case 10:return Hn(),!!(this.Bb&Io);case 11:return Hn(),!!(this.Bb&Zb);case 12:return Hn(),!!(this.Bb&Ub);case 13:return this.j;case 14:return A3(this);case 15:return Hn(),!!(this.Bb&ku);case 16:return Hn(),!!(this.Bb&Jf);case 17:return gb(this);case 18:return Hn(),!!(this.Bb&sc);case 19:return Hn(),!!((o=ei(this))&&o.Bb&sc);case 20:return Hn(),!!(this.Bb&Vr);case 21:return t?ei(this):this.b;case 22:return t?bQ(this):yAn(this);case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),this.a}return Is(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e),t,r)},s.lh=function(e){var i,c;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(c=this.t)>1||-1==c;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==qd(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==qd(this.q).i);case 10:return 0==(this.Bb&Io);case 11:return 0!=(this.Bb&Zb);case 12:return 0!=(this.Bb&Ub);case 13:return null!=this.j;case 14:return null!=A3(this);case 15:return 0!=(this.Bb&ku);case 16:return 0!=(this.Bb&Jf);case 17:return!!gb(this);case 18:return 0!=(this.Bb&sc);case 19:return!!(i=ei(this))&&0!=(i.Bb&sc);case 20:return 0==(this.Bb&Vr);case 21:return!!this.b;case 22:return!!yAn(this);case 23:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e))},s.sh=function(e,t){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void B$(this,Te(t));case 2:return void D1(this,on(sn(t)));case 3:return void $1(this,on(sn(t)));case 4:return void P1(this,u(t,19).a);case 5:return void Cb(this,u(t,19).a);case 8:return void xa(this,u(t,138));case 9:return void((i=jf(this,u(t,87),null))&&i.Fi());case 10:return void l3(this,on(sn(t)));case 11:return void b3(this,on(sn(t)));case 12:return void a3(this,on(sn(t)));case 13:return void _U(this,Te(t));case 15:return void d3(this,on(sn(t)));case 16:return void w3(this,on(sn(t)));case 18:return void function ule(n,e){GQ(n,e),I(n.Cb,88)&&Nb(Du(u(n.Cb,88)),2)}(this,on(sn(t)));case 20:return void UQ(this,on(sn(t)));case 21:return void GV(this,u(t,18));case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),de(this.a),!this.a&&(this.a=new Hw(Ew,this,23)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e),t)},s.zh=function(){return Sn(),i2},s.Bh=function(e){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),4),void Dc(this,null);case 2:return void D1(this,!0);case 3:return void $1(this,!0);case 4:return void P1(this,0);case 5:return void Cb(this,1);case 8:return void xa(this,null);case 9:return void((r=jf(this,null,null))&&r.Fi());case 10:return void l3(this,!0);case 11:return void b3(this,!1);case 12:return void a3(this,!1);case 13:return this.i=null,void yC(this,null);case 15:return void d3(this,!1);case 16:return void w3(this,!1);case 18:return GQ(this,!1),void(I(this.Cb,88)&&Nb(Du(u(this.Cb,88)),2));case 20:return void UQ(this,!0);case 21:return void GV(this,null);case 23:return!this.a&&(this.a=new Hw(Ew,this,23)),void de(this.a)}$s(this,e-ee((Sn(),i2)),In(u(Bn(this,16),26)||i2,e))},s.Gh=function(){bQ(this),Op(ji((vu(),Dr),this)),Vs(this),this.Bb|=1},s.Lj=function(){return ei(this)},s.qk=function(){var e;return!!(e=ei(this))&&0!=(e.Bb&sc)},s.rk=function(){return 0!=(this.Bb&sc)},s.sk=function(){return 0!=(this.Bb&Vr)},s.nk=function(e,t){return this.c=null,xQ(this,e,t)},s.Ib=function(){var e;return 64&this.Db?LM(this):((e=new Gs(LM(this))).a+=" (containment: ",k1(e,0!=(this.Bb&sc)),e.a+=", resolveProxies: ",k1(e,0!=(this.Bb&Vr)),e.a+=")",e.a)},w(xn,"EReferenceImpl",99),b(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},ivn),s.Fb=function(e){return this===e},s.cd=function(){return this.b},s.dd=function(){return this.c},s.Hb=function(){return Ld(this)},s.Uh=function(e){!function lfe(n,e){RV(n,null==e?null:(_n(e),e))}(this,Te(e))},s.ed=function(e){return function Zoe(n,e){var t;return t=n.c,KV(n,e),t}(this,Te(e))},s._g=function(e,t,r){switch(e){case 0:return this.b;case 1:return this.c}return Is(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e),t,r)},s.lh=function(e){switch(e){case 0:return null!=this.b;case 1:return null!=this.c}return As(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e))},s.sh=function(e,t){switch(e){case 0:return void function afe(n,e){RV(n,null==e?null:(_n(e),e))}(this,Te(t));case 1:return void KV(this,Te(t))}Ls(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e),t)},s.zh=function(){return Sn(),Jr},s.Bh=function(e){switch(e){case 0:return void RV(this,null);case 1:return void KV(this,null)}$s(this,e-ee((Sn(),Jr)),In(u(Bn(this,16),26)||Jr,e))},s.Sh=function(){var e;return-1==this.a&&(this.a=null==(e=this.b)?0:L1(e)),this.a},s.Th=function(e){this.a=e},s.Ib=function(){var e;return 64&this.Db?Ao(this):((e=new Gs(Ao(this))).a+=" (key: ",li(e,this.b),e.a+=", value: ",li(e,this.c),e.a+=")",e.a)},s.a=-1,s.b=null,s.c=null;var _h,q1n,G1n,U1n,z1n,W1n,X1n,V1n,VH,Q1n,rc=w(xn,"EStringToStringMapEntryImpl",548),hee=Et(pt,"FeatureMap/Entry/Internal");b(565,1,WS),s.Ok=function(e){return this.Pk(u(e,49))},s.Pk=function(e){return this.Ok(e)},s.Fb=function(e){var t,r;return this===e||!!I(e,72)&&(t=u(e,72)).ak()==this.c&&(null==(r=this.dd())?null==t.dd():et(r,t.dd()))},s.ak=function(){return this.c},s.Hb=function(){var e;return e=this.dd(),kt(this.c)^(null==e?0:kt(e))},s.Ib=function(){var e,t;return t=ss((e=this.c).Hj()).Ph(),e.ne(),(null!=t&&0!=t.length?t+":"+e.ne():e.ne())+"="+this.dd()},w(xn,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),b(776,565,WS,Rz),s.Pk=function(e){return new Rz(this.c,e)},s.dd=function(){return this.a},s.Qk=function(e,t,r){return function Abe(n,e,t,r,i){var c;return t&&(c=yt(e.Tg(),n.c),i=t.gh(e,-1-(-1==c?r:c),null,i)),i}(this,e,this.a,t,r)},s.Rk=function(e,t,r){return function Pbe(n,e,t,r,i){var c;return t&&(c=yt(e.Tg(),n.c),i=t.ih(e,-1-(-1==c?r:c),null,i)),i}(this,e,this.a,t,r)},w(xn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),b(1314,1,{},Nkn),s.Pj=function(e,t,r,i,c){return u(Rp(e,this.b),215).nl(this.a).Wj(i)},s.Qj=function(e,t,r,i,c){return u(Rp(e,this.b),215).el(this.a,i,c)},s.Rj=function(e,t,r,i,c){return u(Rp(e,this.b),215).fl(this.a,i,c)},s.Sj=function(e,t,r){return u(Rp(e,this.b),215).nl(this.a).fj()},s.Tj=function(e,t,r,i){u(Rp(e,this.b),215).nl(this.a).Wb(i)},s.Uj=function(e,t,r){return u(Rp(e,this.b),215).nl(this.a)},s.Vj=function(e,t,r){u(Rp(e,this.b),215).nl(this.a).Xj()},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),b(89,1,{},E1,Ea,C1,Ma),s.Pj=function(e,t,r,i,c){var o;if(null==(o=t.Ch(r))&&t.Dh(r,o=XM(this,e)),!c)switch(this.e){case 50:case 41:return u(o,589).sj();case 40:return u(o,215).kl()}return o},s.Qj=function(e,t,r,i,c){var f;return null==(f=t.Ch(r))&&t.Dh(r,f=XM(this,e)),u(f,69).lk(i,c)},s.Rj=function(e,t,r,i,c){var o;return null!=(o=t.Ch(r))&&(c=u(o,69).mk(i,c)),c},s.Sj=function(e,t,r){var i;return null!=(i=t.Ch(r))&&u(i,76).fj()},s.Tj=function(e,t,r,i){var c;!(c=u(t.Ch(r),76))&&t.Dh(r,c=XM(this,e)),c.Wb(i)},s.Uj=function(e,t,r){var c;return null==(c=t.Ch(r))&&t.Dh(r,c=XM(this,e)),I(c,76)?u(c,76):new Lmn(u(t.Ch(r),15))},s.Vj=function(e,t,r){var i;!(i=u(t.Ch(r),76))&&t.Dh(r,i=XM(this,e)),i.Xj()},s.b=0,s.e=0,w(xn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),b(504,1,{}),s.Qj=function(e,t,r,i,c){throw C(new ye)},s.Rj=function(e,t,r,i,c){throw C(new ye)},s.Uj=function(e,t,r){return new OCn(this,e,t,r)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),b(1331,1,m_,OCn),s.Wj=function(e){return this.a.Pj(this.c,this.d,this.b,e,!0)},s.fj=function(){return this.a.Sj(this.c,this.d,this.b)},s.Wb=function(e){this.a.Tj(this.c,this.d,this.b,e)},s.Xj=function(){this.a.Vj(this.c,this.d,this.b)},s.b=0,w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),b(769,504,{},jX),s.Pj=function(e,t,r,i,c){return CN(e,e.eh(),e.Vg())==this.b?this.sk()&&i?fN(e):e.eh():null},s.Qj=function(e,t,r,i,c){var o,f;return e.eh()&&(c=(o=e.Vg())>=0?e.Qg(c):e.eh().ih(e,-1-o,null,c)),f=yt(e.Tg(),this.e),e.Sg(i,f,c)},s.Rj=function(e,t,r,i,c){var o;return o=yt(e.Tg(),this.e),e.Sg(null,o,c)},s.Sj=function(e,t,r){var i;return i=yt(e.Tg(),this.e),!!e.eh()&&e.Vg()==i},s.Tj=function(e,t,r,i){var c,o,f,h,l;if(null!=i&&!PN(this.a,i))throw C(new cp(XS+(I(i,56)?tY(u(i,56).Tg()):MV(Fu(i)))+VS+this.a+"'"));if(c=e.eh(),f=yt(e.Tg(),this.e),B(i)!==B(c)||e.Vg()!=f&&null!=i){if(m3(e,u(i,56)))throw C(new Kn(pm+e.Ib()));l=null,c&&(l=(o=e.Vg())>=0?e.Qg(l):e.eh().ih(e,-1-o,null,l)),(h=u(i,49))&&(l=h.gh(e,yt(h.Tg(),this.b),null,l)),(l=e.Sg(h,f,l))&&l.Fi()}else e.Lg()&&e.Mg()&&nt(e,new dr(e,1,f,i,i))},s.Vj=function(e,t,r){var c,o,f;e.eh()?(f=(c=e.Vg())>=0?e.Qg(null):e.eh().ih(e,-1-c,null,null),o=yt(e.Tg(),this.e),(f=e.Sg(null,o,f))&&f.Fi()):e.Lg()&&e.Mg()&&nt(e,new V5(e,1,this.e,null,null))},s.sk=function(){return!1},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),b(1315,769,{},EEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),b(563,504,{}),s.Pj=function(e,t,r,i,c){var o;return null==(o=t.Ch(r))?this.b:B(o)===B(_h)?null:o},s.Sj=function(e,t,r){var i;return null!=(i=t.Ch(r))&&(B(i)===B(_h)||!et(i,this.b))},s.Tj=function(e,t,r,i){var c,o;e.Lg()&&e.Mg()?(c=null==(o=t.Ch(r))?this.b:B(o)===B(_h)?null:o,null==i?null!=this.c?(t.Dh(r,null),i=this.b):t.Dh(r,null!=this.b?_h:null):(this.Sk(i),t.Dh(r,i)),nt(e,this.d.Tk(e,1,this.e,c,i))):null==i?t.Dh(r,null!=this.c?null:null!=this.b?_h:null):(this.Sk(i),t.Dh(r,i))},s.Vj=function(e,t,r){var i,c;e.Lg()&&e.Mg()?(i=null==(c=t.Ch(r))?this.b:B(c)===B(_h)?null:c,t.Eh(r),nt(e,this.d.Tk(e,1,this.e,i,this.b))):t.Eh(r)},s.Sk=function(e){throw C(new Umn)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),b(Dg,1,{},cvn),s.Tk=function(e,t,r,i,c){return new V5(e,t,r,i,c)},s.Uk=function(e,t,r,i,c,o){return new T$(e,t,r,i,c,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Dg),b(1332,Dg,{},uvn),s.Tk=function(e,t,r,i,c){return new rV(e,t,r,on(sn(i)),on(sn(c)))},s.Uk=function(e,t,r,i,c,o){return new ZMn(e,t,r,on(sn(i)),on(sn(c)),o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),b(1333,Dg,{},svn),s.Tk=function(e,t,r,i,c){return new IV(e,t,r,u(i,217).a,u(c,217).a)},s.Uk=function(e,t,r,i,c,o){return new zMn(e,t,r,u(i,217).a,u(c,217).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),b(1334,Dg,{},ovn),s.Tk=function(e,t,r,i,c){return new OV(e,t,r,u(i,172).a,u(c,172).a)},s.Uk=function(e,t,r,i,c,o){return new WMn(e,t,r,u(i,172).a,u(c,172).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),b(1335,Dg,{},fvn),s.Tk=function(e,t,r,i,c){return new eV(e,t,r,K(Y(i)),K(Y(c)))},s.Uk=function(e,t,r,i,c,o){return new XMn(e,t,r,K(Y(i)),K(Y(c)),o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),b(1336,Dg,{},hvn),s.Tk=function(e,t,r,i,c){return new FV(e,t,r,u(i,155).a,u(c,155).a)},s.Uk=function(e,t,r,i,c,o){return new VMn(e,t,r,u(i,155).a,u(c,155).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),b(1337,Dg,{},lvn),s.Tk=function(e,t,r,i,c){return new tV(e,t,r,u(i,19).a,u(c,19).a)},s.Uk=function(e,t,r,i,c,o){return new QMn(e,t,r,u(i,19).a,u(c,19).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),b(1338,Dg,{},avn),s.Tk=function(e,t,r,i,c){return new DV(e,t,r,u(i,162).a,u(c,162).a)},s.Uk=function(e,t,r,i,c,o){return new JMn(e,t,r,u(i,162).a,u(c,162).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),b(1339,Dg,{},dvn),s.Tk=function(e,t,r,i,c){return new $V(e,t,r,u(i,184).a,u(c,184).a)},s.Uk=function(e,t,r,i,c,o){return new YMn(e,t,r,u(i,184).a,u(c,184).a,o)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),b(1317,563,{},DCn),s.Sk=function(e){if(!this.a.wj(e))throw C(new cp(XS+Fu(e)+VS+this.a+"'"))},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),b(1318,563,{},kTn),s.Sk=function(e){},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),b(770,563,{}),s.Sj=function(e,t,r){return null!=t.Ch(r)},s.Tj=function(e,t,r,i){var c,o;e.Lg()&&e.Mg()?(c=!0,null==(o=t.Ch(r))?(c=!1,o=this.b):B(o)===B(_h)&&(o=null),null==i?null!=this.c?(t.Dh(r,null),i=this.b):t.Dh(r,_h):(this.Sk(i),t.Dh(r,i)),nt(e,this.d.Uk(e,1,this.e,o,i,!c))):null==i?t.Dh(r,null!=this.c?null:_h):(this.Sk(i),t.Dh(r,i))},s.Vj=function(e,t,r){var i,c;e.Lg()&&e.Mg()?(i=!0,null==(c=t.Ch(r))?(i=!1,c=this.b):B(c)===B(_h)&&(c=null),t.Eh(r),nt(e,this.d.Uk(e,2,this.e,c,this.b,i))):t.Eh(r)},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),b(1319,770,{},$Cn),s.Sk=function(e){if(!this.a.wj(e))throw C(new cp(XS+Fu(e)+VS+this.a+"'"))},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),b(1320,770,{},yTn),s.Sk=function(e){},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),b(398,504,{},eT),s.Pj=function(e,t,r,i,c){var o,f,h,l,a;if(a=t.Ch(r),this.Kj()&&B(a)===B(_h))return null;if(this.sk()&&i&&null!=a){if((h=u(a,49)).kh()&&h!=(l=Sl(e,h))){if(!PN(this.a,l))throw C(new cp(XS+Fu(l)+VS+this.a+"'"));t.Dh(r,a=l),this.rk()&&(o=u(l,49),f=h.ih(e,this.b?yt(h.Tg(),this.b):-1-yt(e.Tg(),this.e),null,null),!o.eh()&&(f=o.gh(e,this.b?yt(o.Tg(),this.b):-1-yt(e.Tg(),this.e),null,f)),f&&f.Fi()),e.Lg()&&e.Mg()&&nt(e,new V5(e,9,this.e,h,l))}return a}return a},s.Qj=function(e,t,r,i,c){var o,f;return B(f=t.Ch(r))===B(_h)&&(f=null),t.Dh(r,i),this.bj()?B(f)!==B(i)&&null!=f&&(c=(o=u(f,49)).ih(e,yt(o.Tg(),this.b),null,c)):this.rk()&&null!=f&&(c=u(f,49).ih(e,-1-yt(e.Tg(),this.e),null,c)),e.Lg()&&e.Mg()&&(!c&&(c=new ul(4)),c.Ei(new V5(e,1,this.e,f,i))),c},s.Rj=function(e,t,r,i,c){var o;return B(o=t.Ch(r))===B(_h)&&(o=null),t.Eh(r),e.Lg()&&e.Mg()&&(!c&&(c=new ul(4)),this.Kj()?c.Ei(new V5(e,2,this.e,o,null)):c.Ei(new V5(e,1,this.e,o,null))),c},s.Sj=function(e,t,r){return null!=t.Ch(r)},s.Tj=function(e,t,r,i){var c,o,f,h,l;if(null!=i&&!PN(this.a,i))throw C(new cp(XS+(I(i,56)?tY(u(i,56).Tg()):MV(Fu(i)))+VS+this.a+"'"));h=null!=(l=t.Ch(r)),this.Kj()&&B(l)===B(_h)&&(l=null),f=null,this.bj()?B(l)!==B(i)&&(null!=l&&(f=(c=u(l,49)).ih(e,yt(c.Tg(),this.b),null,f)),null!=i&&(f=(c=u(i,49)).gh(e,yt(c.Tg(),this.b),null,f))):this.rk()&&B(l)!==B(i)&&(null!=l&&(f=u(l,49).ih(e,-1-yt(e.Tg(),this.e),null,f)),null!=i&&(f=u(i,49).gh(e,-1-yt(e.Tg(),this.e),null,f))),null==i&&this.Kj()?t.Dh(r,_h):t.Dh(r,i),e.Lg()&&e.Mg()?(o=new T$(e,1,this.e,l,i,this.Kj()&&!h),f?(f.Ei(o),f.Fi()):nt(e,o)):f&&f.Fi()},s.Vj=function(e,t,r){var i,c,o,f,h;f=null!=(h=t.Ch(r)),this.Kj()&&B(h)===B(_h)&&(h=null),o=null,null!=h&&(this.bj()?o=(i=u(h,49)).ih(e,yt(i.Tg(),this.b),null,o):this.rk()&&(o=u(h,49).ih(e,-1-yt(e.Tg(),this.e),null,o))),t.Eh(r),e.Lg()&&e.Mg()?(c=new T$(e,this.Kj()?2:1,this.e,h,null,f),o?(o.Ei(c),o.Fi()):nt(e,c)):o&&o.Fi()},s.bj=function(){return!1},s.rk=function(){return!1},s.sk=function(){return!1},s.Kj=function(){return!1},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),b(564,398,{},MD),s.rk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),b(1323,564,{},mjn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),b(772,564,{},Sz),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),b(1325,772,{},kjn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),b(640,564,{},RD),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),b(1324,640,{},TEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),b(773,640,{},dW),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),b(1326,773,{},CEn),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),b(641,398,{},Az),s.sk=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),b(1327,641,{},yjn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),b(774,641,{},lW),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),b(1328,774,{},MEn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),b(1321,398,{},jjn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),b(771,398,{},aW),s.bj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),b(1322,771,{},SEn),s.Kj=function(){return!0},w(xn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),b(775,565,WS,oX),s.Pk=function(e){return new oX(this.a,this.c,e)},s.dd=function(){return this.b},s.Qk=function(e,t,r){return function Pde(n,e,t,r){return t&&(r=t.gh(e,yt(t.Tg(),n.c.Lj()),null,r)),r}(this,e,this.b,r)},s.Rk=function(e,t,r){return function Ide(n,e,t,r){return t&&(r=t.ih(e,yt(t.Tg(),n.c.Lj()),null,r)),r}(this,e,this.b,r)},w(xn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),b(1329,1,m_,Lmn),s.Wj=function(e){return this.a},s.fj=function(){return I(this.a,95)?u(this.a,95).fj():!this.a.dc()},s.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},s.Xj=function(){I(this.a,95)?u(this.a,95).Xj():this.a.$b()},w(xn,"EStructuralFeatureImpl/SettingMany",1329),b(1330,565,WS,KSn),s.Ok=function(e){return new PD((ot(),$9),this.b.Ih(this.a,e))},s.dd=function(){return null},s.Qk=function(e,t,r){return r},s.Rk=function(e,t,r){return r},w(xn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),b(642,565,WS,PD),s.Ok=function(e){return new PD(this.c,e)},s.dd=function(){return this.a},s.Qk=function(e,t,r){return r},s.Rk=function(e,t,r){return r},w(xn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),b(391,497,sh,Jv),s.ri=function(e){return L(ho,rn,26,e,0,1)},s.ni=function(){return!1},w(xn,"ESuperAdapter/1",391),b(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},ZI),s._g=function(e,t,r){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new U5(this,hi,this)),this.a}return Is(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e),t,r)},s.jh=function(e,t,r){switch(t){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),Kr(this.Ab,e,r);case 2:return!this.a&&(this.a=new U5(this,hi,this)),Kr(this.a,e,r)}return u(In(u(Bn(this,16),26)||(Sn(),W0),t),66).Nj().Rj(this,_c(this),t-ee((Sn(),W0)),e,r)},s.lh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return As(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e))},s.sh=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),de(this.Ab),!this.Ab&&(this.Ab=new V(Be,this,0,3)),void Dt(this.Ab,u(t,14));case 1:return void Dc(this,Te(t));case 2:return!this.a&&(this.a=new U5(this,hi,this)),de(this.a),!this.a&&(this.a=new U5(this,hi,this)),void Dt(this.a,u(t,14))}Ls(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e),t)},s.zh=function(){return Sn(),W0},s.Bh=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new V(Be,this,0,3)),void de(this.Ab);case 1:return void Dc(this,null);case 2:return!this.a&&(this.a=new U5(this,hi,this)),void de(this.a)}$s(this,e-ee((Sn(),W0)),In(u(Bn(this,16),26)||W0,e))},w(xn,"ETypeParameterImpl",444),b(445,85,Bi,U5),s.cj=function(e,t){return function I4e(n,e,t){var i,c;for(t=Z2(e,n.e,-1-n.c,t),c=new Pj(new Na(new wa(hX(n.a).a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,n.a),t);return t}(this,u(e,87),t)},s.dj=function(e,t){return function O4e(n,e,t){var i,c;for(t=AT(e,n.e,-1-n.c,t),c=new Pj(new Na(new wa(hX(n.a).a).a));c.a.b;)t=L3(i=u(Zd(c.a).cd(),87),SM(i,n.a),t);return t}(this,u(e,87),t)},w(xn,"ETypeParameterImpl/1",445),b(634,43,jg,gO),s.ec=function(){return new Aj(this)},w(xn,"ETypeParameterImpl/2",634),b(556,Ef,pu,Aj),s.Fc=function(e){return Xjn(this,u(e,87))},s.Gc=function(e){var t,r,i;for(i=!1,r=e.Kc();r.Ob();)t=u(r.Pb(),87),null==tt(this.a,t,"")&&(i=!0);return i},s.$b=function(){Cu(this.a)},s.Hc=function(e){return Vu(this.a,e)},s.Kc=function(){return new Pj(new Na(new wa(this.a).a))},s.Mc=function(e){return FAn(this,e)},s.gc=function(){return h5(this.a)},w(xn,"ETypeParameterImpl/2/1",556),b(557,1,mr,Pj),s.Nb=function(e){Ar(this,e)},s.Pb=function(){return u(Zd(this.a).cd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){lPn(this.a)},w(xn,"ETypeParameterImpl/2/1/1",557),b(1276,43,jg,C9n),s._b=function(e){return vr(e)?C$(this,e):!!Ai(this.f,e)},s.xc=function(e){var t;return I(t=vr(e)?kc(this,e):Qi(Ai(this.f,e)),837)?(t=u(t,837)._j(),tt(this,u(e,235),t),t):t??(null==e?($O(),aee):null)},w(xn,"EValidatorRegistryImpl",1276),b(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},bvn),s.Ih=function(e,t){switch(e.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:xi(t);case 25:return B0e(t);case 27:return function e0e(n){return I(n,172)?""+u(n,172).a:null==n?null:xi(n)}(t);case 28:return function t0e(n){return I(n,172)?""+u(n,172).a:null==n?null:xi(n)}(t);case 29:return null==t?null:Ayn(S9[0],u(t,199));case 41:return null==t?"":sl(u(t,290));case 42:return xi(t);case 50:return Te(t);default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var v;switch(-1==e.G&&(e.G=(v=ss(e))?F1(v.Mh(),e):-1),e.G){case 0:return new dO;case 1:return new Eq;case 2:return new Aq;case 4:return new Ij;case 5:return new T9n;case 6:return new Xmn;case 7:return new Sq;case 10:return new mj;case 11:return new bO;case 12:return new QCn;case 13:return new wO;case 14:return new Oz;case 17:return new ivn;case 18:return new jd;case 19:return new ZI;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){switch(e.yj()){case 20:return null==t?null:new QG(t);case 21:return null==t?null:new dl(t);case 23:case 22:return null==t?null:function q2e(n){if(ZC(J3,n))return Hn(),i4;if(ZC(YB,n))return Hn(),td;throw C(new Kn("Expecting true or false"))}(t);case 26:case 24:return null==t?null:d7(ls(t,-128,127)<<24>>24);case 25:return function n9e(n){var e,t,r,i,c,o,f;if(null==n)return null;for(o=L(ju,Ig,25,i=((f=n.length)+1)/2|0,15,1),f%2!=0&&(o[--i]=SZ((Ce(f-1,n.length),n.charCodeAt(f-1)))),t=0,r=0;t>24;return o}(t);case 27:return function Mpe(n){var t;if(null==n)return null;t=0;try{t=ls(n,Lr,Ze)&Gt}catch(r){if(!I(r=jt(r),127))throw C(r);t=iC(n)[0]}return j7(t)}(t);case 28:return function Spe(n){var t;if(null==n)return null;t=0;try{t=ls(n,Lr,Ze)&Gt}catch(r){if(!I(r=jt(r),127))throw C(r);t=iC(n)[0]}return j7(t)}(t);case 29:return function V4e(n){var e,t;if(null==n)return null;for(e=null,t=0;t>16);case 50:return t;default:throw C(new Kn(Y3+e.ne()+M0))}},w(xn,"EcoreFactoryImpl",1313),b(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},dCn),s.gb=!1,s.hb=!1;var J1n,lee=!1;w(xn,"EcorePackageImpl",547),b(1184,1,{837:1},wvn),s._j=function(){return Yyn(),dee},w(xn,"EcorePackageImpl/1",1184),b(1193,1,qe,gvn),s.wj=function(e){return I(e,147)},s.xj=function(e){return L(Jy,rn,147,e,0,1)},w(xn,"EcorePackageImpl/10",1193),b(1194,1,qe,vvn),s.wj=function(e){return I(e,191)},s.xj=function(e){return L(RH,rn,191,e,0,1)},w(xn,"EcorePackageImpl/11",1194),b(1195,1,qe,pvn),s.wj=function(e){return I(e,56)},s.xj=function(e){return L(ea,rn,56,e,0,1)},w(xn,"EcorePackageImpl/12",1195),b(1196,1,qe,mvn),s.wj=function(e){return I(e,399)},s.xj=function(e){return L(lo,Ern,59,e,0,1)},w(xn,"EcorePackageImpl/13",1196),b(1197,1,qe,kvn),s.wj=function(e){return I(e,235)},s.xj=function(e){return L(cf,rn,235,e,0,1)},w(xn,"EcorePackageImpl/14",1197),b(1198,1,qe,yvn),s.wj=function(e){return I(e,509)},s.xj=function(e){return L(U0,rn,2017,e,0,1)},w(xn,"EcorePackageImpl/15",1198),b(1199,1,qe,jvn),s.wj=function(e){return I(e,99)},s.xj=function(e){return L(Tw,Og,18,e,0,1)},w(xn,"EcorePackageImpl/16",1199),b(1200,1,qe,Evn),s.wj=function(e){return I(e,170)},s.xj=function(e){return L(ou,Og,170,e,0,1)},w(xn,"EcorePackageImpl/17",1200),b(1201,1,qe,Tvn),s.wj=function(e){return I(e,472)},s.xj=function(e){return L(jw,rn,472,e,0,1)},w(xn,"EcorePackageImpl/18",1201),b(1202,1,qe,Cvn),s.wj=function(e){return I(e,548)},s.xj=function(e){return L(rc,hGn,548,e,0,1)},w(xn,"EcorePackageImpl/19",1202),b(1185,1,qe,Mvn),s.wj=function(e){return I(e,322)},s.xj=function(e){return L(Ew,Og,34,e,0,1)},w(xn,"EcorePackageImpl/2",1185),b(1203,1,qe,Svn),s.wj=function(e){return I(e,241)},s.xj=function(e){return L(hi,SGn,87,e,0,1)},w(xn,"EcorePackageImpl/20",1203),b(1204,1,qe,Avn),s.wj=function(e){return I(e,444)},s.xj=function(e){return L(Uc,rn,836,e,0,1)},w(xn,"EcorePackageImpl/21",1204),b(1205,1,qe,Pvn),s.wj=function(e){return ib(e)},s.xj=function(e){return L(cr,q,476,e,8,1)},w(xn,"EcorePackageImpl/22",1205),b(1206,1,qe,Ivn),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(xn,"EcorePackageImpl/23",1206),b(1207,1,qe,Ovn),s.wj=function(e){return I(e,217)},s.xj=function(e){return L(yv,q,217,e,0,1)},w(xn,"EcorePackageImpl/24",1207),b(1208,1,qe,Dvn),s.wj=function(e){return I(e,172)},s.xj=function(e){return L(Im,q,172,e,0,1)},w(xn,"EcorePackageImpl/25",1208),b(1209,1,qe,$vn),s.wj=function(e){return I(e,199)},s.xj=function(e){return L(fA,q,199,e,0,1)},w(xn,"EcorePackageImpl/26",1209),b(1210,1,qe,Fvn),s.wj=function(e){return!1},s.xj=function(e){return L(wln,rn,2110,e,0,1)},w(xn,"EcorePackageImpl/27",1210),b(1211,1,qe,Lvn),s.wj=function(e){return cb(e)},s.xj=function(e){return L(Cr,q,333,e,7,1)},w(xn,"EcorePackageImpl/28",1211),b(1212,1,qe,Nvn),s.wj=function(e){return I(e,58)},s.xj=function(e){return L(I1n,zb,58,e,0,1)},w(xn,"EcorePackageImpl/29",1212),b(1186,1,qe,xvn),s.wj=function(e){return I(e,510)},s.xj=function(e){return L(Be,{3:1,4:1,5:1,1934:1},590,e,0,1)},w(xn,"EcorePackageImpl/3",1186),b(1213,1,qe,Bvn),s.wj=function(e){return I(e,573)},s.xj=function(e){return L($1n,rn,1940,e,0,1)},w(xn,"EcorePackageImpl/30",1213),b(1214,1,qe,_vn),s.wj=function(e){return I(e,153)},s.xj=function(e){return L(tln,zb,153,e,0,1)},w(xn,"EcorePackageImpl/31",1214),b(1215,1,qe,Rvn),s.wj=function(e){return I(e,72)},s.xj=function(e){return L(CI,NGn,72,e,0,1)},w(xn,"EcorePackageImpl/32",1215),b(1216,1,qe,Kvn),s.wj=function(e){return I(e,155)},s.xj=function(e){return L(c4,q,155,e,0,1)},w(xn,"EcorePackageImpl/33",1216),b(1217,1,qe,Hvn),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(xn,"EcorePackageImpl/34",1217),b(1218,1,qe,qvn),s.wj=function(e){return I(e,290)},s.xj=function(e){return L(Nrn,rn,290,e,0,1)},w(xn,"EcorePackageImpl/35",1218),b(1219,1,qe,Gvn),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(xn,"EcorePackageImpl/36",1219),b(1220,1,qe,Uvn),s.wj=function(e){return I(e,83)},s.xj=function(e){return L(xrn,rn,83,e,0,1)},w(xn,"EcorePackageImpl/37",1220),b(1221,1,qe,zvn),s.wj=function(e){return I(e,591)},s.xj=function(e){return L(Y1n,rn,591,e,0,1)},w(xn,"EcorePackageImpl/38",1221),b(1222,1,qe,Wvn),s.wj=function(e){return!1},s.xj=function(e){return L(gln,rn,2111,e,0,1)},w(xn,"EcorePackageImpl/39",1222),b(1187,1,qe,Xvn),s.wj=function(e){return I(e,88)},s.xj=function(e){return L(ho,rn,26,e,0,1)},w(xn,"EcorePackageImpl/4",1187),b(1223,1,qe,Vvn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(xn,"EcorePackageImpl/40",1223),b(1224,1,qe,Qvn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(xn,"EcorePackageImpl/41",1224),b(1225,1,qe,Jvn),s.wj=function(e){return I(e,588)},s.xj=function(e){return L(D1n,rn,588,e,0,1)},w(xn,"EcorePackageImpl/42",1225),b(1226,1,qe,Yvn),s.wj=function(e){return!1},s.xj=function(e){return L(vln,q,2112,e,0,1)},w(xn,"EcorePackageImpl/43",1226),b(1227,1,qe,Zvn),s.wj=function(e){return I(e,42)},s.xj=function(e){return L(ed,YM,42,e,0,1)},w(xn,"EcorePackageImpl/44",1227),b(1188,1,qe,npn),s.wj=function(e){return I(e,138)},s.xj=function(e){return L(uf,rn,138,e,0,1)},w(xn,"EcorePackageImpl/5",1188),b(1189,1,qe,epn),s.wj=function(e){return I(e,148)},s.xj=function(e){return L(zH,rn,148,e,0,1)},w(xn,"EcorePackageImpl/6",1189),b(1190,1,qe,tpn),s.wj=function(e){return I(e,457)},s.xj=function(e){return L(TI,rn,671,e,0,1)},w(xn,"EcorePackageImpl/7",1190),b(1191,1,qe,rpn),s.wj=function(e){return I(e,573)},s.xj=function(e){return L(g1,rn,678,e,0,1)},w(xn,"EcorePackageImpl/8",1191),b(1192,1,qe,ipn),s.wj=function(e){return I(e,471)},s.xj=function(e){return L(M9,rn,471,e,0,1)},w(xn,"EcorePackageImpl/9",1192),b(1025,1982,fGn,q9n),s.bi=function(e,t){!function wge(n,e){var r,i,c;if(e.vi(n.a),null!=(c=u(Bn(n.a,8),1936)))for(r=0,i=c.length;r0){if(Ce(0,e.length),47==e.charCodeAt(0)){for(o=new Oc(4),c=1,t=1;t0&&(e=e.substr(0,r))}return function x6e(n,e){var t,r,i,c,o,f;for(c=null,i=new LTn((!n.a&&(n.a=new oO(n)),n.a));WY(i);)if(pg(o=(t=u(MM(i),56)).Tg()),null!=(r=(f=o.o)&&t.mh(f)?Jz(DF(f),t.ah(f)):null)&&Mn(r,e)){c=t;break}return c}(this,e)},s.Xk=function(){return this.c},s.Ib=function(){return sl(this.gm)+"@"+(kt(this)>>>0).toString(16)+" uri='"+this.d+"'"},s.b=!1,w(k_,"ResourceImpl",781),b(1379,781,BGn,xmn),w(k_,"BinaryResourceImpl",1379),b(1169,694,b_),s.si=function(e){return I(e,56)?function p1e(n,e){return n.a?e.Wg().Kc():u(e.Wg(),69).Zh()}(this,u(e,56)):I(e,591)?new re(u(e,591).Vk()):B(e)===B(this.f)?u(e,14).Kc():(yp(),nj.a)},s.Ob=function(){return WY(this)},s.a=!1,w(pt,"EcoreUtil/ContentTreeIterator",1169),b(1380,1169,b_,LTn),s.si=function(e){return B(e)===B(this.f)?u(e,15).Kc():new pSn(u(e,56))},w(k_,"ResourceImpl/5",1380),b(648,1994,MGn,oO),s.Hc=function(e){return this.i<=4?y3(this,e):I(e,49)&&u(e,49).Zg()==this.a},s.bi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},s.di=function(e,t){0==e?this.a.b||(this.a.b=!0):tF(this,e,t)},s.fi=function(e,t){},s.gi=function(e,t,r){},s.aj=function(){return 2},s.Ai=function(){return this.a},s.bj=function(){return!0},s.cj=function(e,t){return u(e,49).wh(this.a,t)},s.dj=function(e,t){return u(e,49).wh(null,t)},s.ej=function(){return!1},s.hi=function(){return!0},s.ri=function(e){return L(ea,rn,56,e,0,1)},s.ni=function(){return!1},w(k_,"ResourceImpl/ContentsEList",648),b(957,1964,R3,Nmn),s.Zc=function(e){return this.a._h(e)},s.gc=function(){return this.a.gc()},w(pt,"AbstractSequentialInternalEList/1",957),b(624,1,{},xEn),w(pt,"BasicExtendedMetaData",624),b(1160,1,{},xkn),s.$k=function(){return null},s._k=function(){return-2==this.a&&function vte(n,e){n.a=e}(this,function G4e(n,e){var t,r,i;if((t=e.Hh(n.a))&&null!=(i=Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),no)))for(r=1;r<(vu(),Z1n).length;++r)if(Mn(Z1n[r],i))return r;return 0}(this.d,this.b)),this.a},s.al=function(){return null},s.bl=function(){return An(),An(),Gr},s.ne=function(){return this.c==e4&&function mte(n,e){n.c=e}(this,F$n(this.d,this.b)),this.c},s.cl=function(){return 0},s.a=-2,s.c=e4,w(pt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),b(1161,1,{},iSn),s.$k=function(){return this.a==(Bp(),MI)&&function pte(n,e){n.a=e}(this,function u8e(n,e){var t,i,c,o;return(i=e.Hh(n.a))&&(!i.b&&(i.b=new Wu((Sn(),Jr),rc,i)),null!=(t=Te(Qo(i.b,Nr)))&&I(o=-1==(c=t.lastIndexOf("#"))?Pz(n,e.Aj(),t):0==c?c7(n,null,t.substr(1)):c7(n,t.substr(0,c),t.substr(c+1)),148))?u(o,148):null}(this.f,this.b)),this.a},s._k=function(){return 0},s.al=function(){return this.c==(Bp(),MI)&&function kte(n,e){n.c=e}(this,function s8e(n,e){var r,i,c,o;return(r=e.Hh(n.a))&&(!r.b&&(r.b=new Wu((Sn(),Jr),rc,r)),null!=(c=Te(Qo(r.b,j_)))&&I(o=-1==(i=c.lastIndexOf("#"))?Pz(n,e.Aj(),c):0==i?c7(n,null,c.substr(1)):c7(n,c.substr(0,i),c.substr(i+1)),148))?u(o,148):null}(this.f,this.b)),this.c},s.bl=function(){return!this.d&&function yte(n,e){n.d=e}(this,function uke(n,e){var t,r,i,c,o,f,h,l,a;if((t=e.Hh(n.a))&&null!=(h=Te(Qo((!t.b&&(t.b=new Wu((Sn(),Jr),rc,t)),t.b),"memberTypes")))){for(l=new X,o=0,f=(c=Rb(h,"\\w")).length;ot?e:t;l<=d;++l)l==t?f=r++:(a=p.rl(i[l].ak()),l==e&&(h=l!=d||a?r:r-1),a&&++r);return g=u(T6(n,e,t),72),f!=h&&rp(n,new i7(n.e,7,o,Q(f),v.dd(),h)),g}return u(T6(n,e,t),72)}(this,e,t)},s.li=function(e,t){return function rEe(n,e,t){var r,c,o,f,h,l,a,d,g,v,p,m,T;if(I(o=t.ak(),99)&&u(o,18).Bb&Vr&&(g=u(t.dd(),49),(m=Sl(n.e,g))!=g)){if(N5(n,e,zL(n,0,a=jh(o,m))),d=null,zu(n.e)&&(r=mg((vu(),Dr),n.e.Tg(),o))!=In(n.e.Tg(),n.c)){for(T=Kc(n.e.Tg(),o),f=0,c=u(n.g,119),h=0;h=0;)if(this.k.rl((t=e[this.c]).ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(pt,"BasicFeatureMap/FeatureEIterator",410),b(662,410,Mh,lD),s.Lk=function(){return!0},w(pt,"BasicFeatureMap/ResolvingFeatureEIterator",662),b(955,486,US,Iyn),s.Gi=function(){return this},w(pt,"EContentsEList/1",955),b(956,486,US,eyn),s.Lk=function(){return!1},w(pt,"EContentsEList/2",956),b(954,279,zS,Oyn),s.Nk=function(e){},s.Ob=function(){return!1},s.Sb=function(){return!1},w(pt,"EContentsEList/FeatureIteratorImpl/1",954),b(825,585,Bi,cz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EDataTypeEList/Unsettable",825),b(1849,585,Bi,_yn),s.hi=function(){return!0},w(pt,"EDataTypeUniqueEList",1849),b(1850,825,Bi,Ryn),s.hi=function(){return!0},w(pt,"EDataTypeUniqueEList/Unsettable",1850),b(139,85,Bi,au),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentEList/Resolving",139),b(1163,545,Bi,Byn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentEList/Unsettable/Resolving",1163),b(748,16,Bi,Wz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectContainmentWithInverseEList/Unsettable",748),b(1173,748,Bi,Vjn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),b(743,496,Bi,iz),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectEList/Unsettable",743),b(328,496,Bi,Hw),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectResolvingEList",328),b(1641,743,Bi,Kyn),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectResolvingEList/Unsettable",1641),b(1381,1,{},cpn),w(pt,"EObjectValidator",1381),b(546,496,Bi,aT),s.zk=function(){return this.d},s.Ak=function(){return this.b},s.bj=function(){return!0},s.Dk=function(){return!0},s.b=0,w(pt,"EObjectWithInverseEList",546),b(1176,546,Bi,Qjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseEList/ManyInverse",1176),b(625,546,Bi,OD),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EObjectWithInverseEList/Unsettable",625),b(1175,625,Bi,Jjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),b(749,546,Bi,Xz),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectWithInverseResolvingEList",749),b(31,749,Bi,$n),s.Ck=function(){return!0},w(pt,"EObjectWithInverseResolvingEList/ManyInverse",31),b(750,625,Bi,Vz),s.Ek=function(){return!0},s.li=function(e,t){return cv(this,e,u(t,56))},w(pt,"EObjectWithInverseResolvingEList/Unsettable",750),b(1174,750,Bi,Yjn),s.Ck=function(){return!0},w(pt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),b(1164,622,Bi),s.ai=function(){return 0==(1792&this.b)},s.ci=function(){this.b|=1},s.Bk=function(){return 0!=(4&this.b)},s.bj=function(){return 0!=(40&this.b)},s.Ck=function(){return 0!=(16&this.b)},s.Dk=function(){return 0!=(8&this.b)},s.Ek=function(){return 0!=(this.b&Zb)},s.rk=function(){return 0!=(32&this.b)},s.Fk=function(){return 0!=(this.b&Io)},s.wj=function(e){return this.d?$Sn(this.d,e):this.ak().Yj().wj(e)},s.fj=function(){return 2&this.b?0!=(1&this.b):0!=this.i},s.hi=function(){return 0!=(128&this.b)},s.Xj=function(){var e;de(this),2&this.b&&(zu(this.e)?(e=0!=(1&this.b),this.b&=-2,rp(this,new Co(this.e,2,yt(this.e.Tg(),this.ak()),e,!1))):this.b&=-2)},s.ni=function(){return 0==(1536&this.b)},s.b=0,w(pt,"EcoreEList/Generic",1164),b(1165,1164,Bi,HCn),s.ak=function(){return this.a},w(pt,"EcoreEList/Dynamic",1165),b(747,63,sh,oG),s.ri=function(e){return w7(this.a.a,e)},w(pt,"EcoreEMap/1",747),b(746,85,Bi,WW),s.bi=function(e,t){oM(this.b,u(t,133))},s.di=function(e,t){AOn(this.b)},s.ei=function(e,t,r){var i;++(i=this.b,u(t,133),i).e},s.fi=function(e,t){eL(this.b,u(t,133))},s.gi=function(e,t,r){eL(this.b,u(r,133)),B(r)===B(t)&&u(r,133).Th(function Qie(n){return null==n?0:kt(n)}(u(t,133).cd())),oM(this.b,u(t,133))},w(pt,"EcoreEMap/DelegateEObjectContainmentEList",746),b(1171,151,jrn,KIn),w(pt,"EcoreEMap/Unsettable",1171),b(1172,746,Bi,Zjn),s.ci=function(){this.a=!0},s.fj=function(){return this.a},s.Xj=function(){var e;de(this),zu(this.e)?(e=this.a,this.a=!1,nt(this.e,new Co(this.e,2,this.c,e,!1))):this.a=!1},s.a=!1,w(pt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),b(1168,228,jg,UTn),s.a=!1,s.b=!1,w(pt,"EcoreUtil/Copier",1168),b(745,1,mr,pSn),s.Nb=function(e){Ar(this,e)},s.Ob=function(){return b$n(this)},s.Pb=function(){var e;return b$n(this),e=this.b,this.b=null,e},s.Qb=function(){this.a.Qb()},w(pt,"EcoreUtil/ProperContentIterator",745),b(1382,1381,{},t4n),w(pt,"EcoreValidator",1382),Et(pt,"FeatureMapUtil/Validator"),b(1260,1,{1942:1},upn),s.rl=function(e){return!0},w(pt,"FeatureMapUtil/1",1260),b(757,1,{1942:1},hnn),s.rl=function(e){var t;return this.c==e||(null==(t=sn(te(this.a,e)))?function K7e(n,e){var t;return n.f==QH?(t=Gd(ji((vu(),Dr),e)),n.e?4==t&&e!=(iv(),Uv)&&e!=(iv(),Gv)&&e!=(iv(),JH)&&e!=(iv(),YH):2==t):!(!n.d||!(n.d.Hc(e)||n.d.Hc(R2(ji((vu(),Dr),e)))||n.d.Hc(mg((vu(),Dr),n.b,e))))||!(!n.f||!wZ((vu(),n.f),H8(ji(Dr,e))))&&(t=Gd(ji(Dr,e)),n.e?4==t:2==t)}(this,e)?(MAn(this.a,e,(Hn(),i4)),!0):(MAn(this.a,e,(Hn(),td)),!1):t==(Hn(),i4))},s.e=!1,w(pt,"FeatureMapUtil/BasicValidator",757),b(758,43,jg,nz),w(pt,"FeatureMapUtil/BasicValidator/Cache",758),b(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},j8),s.Vc=function(e,t){qxn(this.c,this.b,e,t)},s.Fc=function(e){return LZ(this.c,this.b,e)},s.Wc=function(e,t){return function tje(n,e,t,r){var i,c,o,f,h,l,a,d;if(0==r.gc())return!1;if(Zr(),o=(h=u(e,66).Oj())?r:new Yd(r.gc()),u1(n.e,e)){if(e.hi())for(a=r.Kc();a.Ob();)_M(n,e,l=a.Pb(),I(e,99)&&0!=(u(e,18).Bb&Vr))||(c=jh(e,l),o.Fc(c));else if(!h)for(a=r.Kc();a.Ob();)c=jh(e,l=a.Pb()),o.Fc(c)}else{for(d=Kc(n.e.Tg(),e),i=u(n.g,119),f=0;f1)throw C(new Kn(Uk));h||(c=jh(e,r.Kc().Pb()),o.Fc(c))}return fQ(n,PY(n,e,t),o)}(this.c,this.b,e,t)},s.Gc=function(e){return L5(this,e)},s.Xh=function(e,t){!function E0e(n,e,t,r){n.j=-1,VY(n,PY(n,e,t),(Zr(),u(e,66).Mj().Ok(r)))}(this.c,this.b,e,t)},s.lk=function(e,t){return PZ(this.c,this.b,e,t)},s.pi=function(e){return KM(this.c,this.b,e,!1)},s.Zh=function(){return ayn(this.c,this.b)},s.$h=function(){return function xie(n,e){return new e3(e,n)}(this.c,this.b)},s._h=function(e){return function Ade(n,e,t){var r,i;for(i=new e3(e,n),r=0;r0)if((t-=r.length-e)>=0){for(i.a+="0.";t>rd.length;t-=rd.length)eTn(i,rd);xjn(i,rd,Ht(t)),De(i,r.substr(e))}else De(i,rs(r,e,Ht(t=e-t))),i.a+=".",De(i,E8(r,Ht(t)));else{for(De(i,r.substr(e));t<-rd.length;t+=rd.length)eTn(i,rd);xjn(i,rd,Ht(-t))}return i.a}(u(t,240));case 15:case 14:return null==t?null:function Yfe(n){return n==Ft?zk:n==Wt?"-INF":""+n}(K(Y(t)));case 17:return rLn((ot(),t));case 18:return rLn(t);case 21:case 20:return null==t?null:function Zfe(n){return n==Ft?zk:n==Wt?"-INF":""+n}(u(t,155).a);case 27:return tue(u(t,190));case 30:return mFn((ot(),u(t,15)));case 31:return mFn(u(t,15));case 40:return function iue(n){return null==n?null:xi(n)}((ot(),t));case 42:return iLn((ot(),t));case 43:return iLn(t);case 59:case 48:return function rue(n){return null==n?null:xi(n)}((ot(),t));default:throw C(new Kn(Y3+e.ne()+M0))}},s.Jh=function(e){var r;switch(-1==e.G&&(e.G=(r=ss(e))?F1(r.Mh(),e):-1),e.G){case 0:return new PG;case 1:return new opn;case 2:return new S9n;case 3:return new M9n;default:throw C(new Kn(r_+e.zb+M0))}},s.Kh=function(e,t){var r,i,c,o,f,h,l,a,d,g,v,p,m,T,A,$;switch(e.yj()){case 5:case 52:case 4:return t;case 6:return pve(t);case 8:case 7:return null==t?null:function c4e(n){if(n=Tc(n,!0),Mn(J3,n)||Mn("1",n))return Hn(),i4;if(Mn(YB,n)||Mn("0",n))return Hn(),td;throw C(new TO("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:d7(ls((i=Tc(t,!0)).length>0&&(Ce(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:d7(ls((c=Tc(t,!0)).length>0&&(Ce(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,-128,127)<<24>>24);case 11:return Te(m0(this,(ot(),mee),t));case 12:return Te(m0(this,(ot(),kee),t));case 13:return null==t?null:new QG(Tc(t,!0));case 15:case 14:return function M9e(n){var e,t,r,i;if(null==n)return null;if(Mn((r=Tc(n,!0)).substr(r.length-(i=zk.length),i),zk))if(4==(t=r.length)){if(Ce(0,r.length),43==(e=r.charCodeAt(0)))return cln;if(45==e)return Oee}else if(3==t)return cln;return Lb(r)}(t);case 16:return Te(m0(this,(ot(),yee),t));case 17:return C$n((ot(),t));case 18:return C$n(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Tc(t,!0);case 21:case 20:return function L9e(n){var e,t,r,i;if(null==n)return null;if(Mn((r=Tc(n,!0)).substr(r.length-(i=zk.length),i),zk))if(4==(t=r.length)){if(Ce(0,r.length),43==(e=r.charCodeAt(0)))return uln;if(45==e)return Dee}else if(3==t)return uln;return new gG(r)}(t);case 22:return Te(m0(this,(ot(),jee),t));case 23:return Te(m0(this,(ot(),Eee),t));case 24:return Te(m0(this,(ot(),Tee),t));case 25:return Te(m0(this,(ot(),Cee),t));case 26:return Te(m0(this,(ot(),Mee),t));case 27:return dve(t);case 30:return M$n((ot(),t));case 31:return M$n(t);case 32:return null==t?null:Q(ls((d=Tc(t,!0)).length>0&&(Ce(0,d.length),43==d.charCodeAt(0))?d.substr(1):d,Lr,Ze));case 33:return null==t?null:new dl((g=Tc(t,!0)).length>0&&(Ce(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 34:return null==t?null:Q(ls((v=Tc(t,!0)).length>0&&(Ce(0,v.length),43==v.charCodeAt(0))?v.substr(1):v,Lr,Ze));case 36:return null==t?null:_a(WM((p=Tc(t,!0)).length>0&&(Ce(0,p.length),43==p.charCodeAt(0))?p.substr(1):p));case 37:return null==t?null:_a(WM((m=Tc(t,!0)).length>0&&(Ce(0,m.length),43==m.charCodeAt(0))?m.substr(1):m));case 40:return function P2e(n){var e;return null==n?null:new dl((e=Tc(n,!0)).length>0&&(Ce(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((ot(),t));case 42:return S$n((ot(),t));case 43:return S$n(t);case 44:return null==t?null:new dl((T=Tc(t,!0)).length>0&&(Ce(0,T.length),43==T.charCodeAt(0))?T.substr(1):T);case 45:return null==t?null:new dl((A=Tc(t,!0)).length>0&&(Ce(0,A.length),43==A.charCodeAt(0))?A.substr(1):A);case 46:return Tc(t,!1);case 47:return Te(m0(this,(ot(),See),t));case 59:case 48:return function A2e(n){var e;return null==n?null:new dl((e=Tc(n,!0)).length>0&&(Ce(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((ot(),t));case 49:return Te(m0(this,(ot(),Aee),t));case 50:return null==t?null:h3(ls(($=Tc(t,!0)).length>0&&(Ce(0,$.length),43==$.charCodeAt(0))?$.substr(1):$,QS,32767)<<16>>16);case 51:return null==t?null:h3(ls((o=Tc(t,!0)).length>0&&(Ce(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,QS,32767)<<16>>16);case 53:return Te(m0(this,(ot(),Pee),t));case 55:return null==t?null:h3(ls((f=Tc(t,!0)).length>0&&(Ce(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,QS,32767)<<16>>16);case 56:return null==t?null:h3(ls((h=Tc(t,!0)).length>0&&(Ce(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,QS,32767)<<16>>16);case 57:return null==t?null:_a(WM((l=Tc(t,!0)).length>0&&(Ce(0,l.length),43==l.charCodeAt(0))?l.substr(1):l));case 58:return null==t?null:_a(WM((a=Tc(t,!0)).length>0&&(Ce(0,a.length),43==a.charCodeAt(0))?a.substr(1):a));case 60:return null==t?null:Q(ls((r=Tc(t,!0)).length>0&&(Ce(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,Lr,Ze));case 61:return null==t?null:Q(ls(Tc(t,!0),Lr,Ze));default:throw C(new Kn(Y3+e.ne()+M0))}},w(Ut,"XMLTypeFactoryImpl",1919),b(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},aCn),s.N=!1,s.O=!1;var Lf,el,F9,PI,P,$ee=!1;w(Ut,"XMLTypePackageImpl",586),b(1852,1,{837:1},fpn),s._j=function(){return qZ(),Hee},w(Ut,"XMLTypePackageImpl/1",1852),b(1861,1,qe,hpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/10",1861),b(1862,1,qe,lpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/11",1862),b(1863,1,qe,apn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/12",1863),b(1864,1,qe,dpn),s.wj=function(e){return cb(e)},s.xj=function(e){return L(Cr,q,333,e,7,1)},w(Ut,"XMLTypePackageImpl/13",1864),b(1865,1,qe,bpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/14",1865),b(1866,1,qe,wpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/15",1866),b(1867,1,qe,gpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/16",1867),b(1868,1,qe,vpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/17",1868),b(1869,1,qe,ppn),s.wj=function(e){return I(e,155)},s.xj=function(e){return L(c4,q,155,e,0,1)},w(Ut,"XMLTypePackageImpl/18",1869),b(1870,1,qe,mpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/19",1870),b(1853,1,qe,kpn),s.wj=function(e){return I(e,843)},s.xj=function(e){return L(tj,rn,843,e,0,1)},w(Ut,"XMLTypePackageImpl/2",1853),b(1871,1,qe,ypn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/20",1871),b(1872,1,qe,jpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/21",1872),b(1873,1,qe,Epn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/22",1873),b(1874,1,qe,Tpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/23",1874),b(1875,1,qe,Cpn),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(Ut,"XMLTypePackageImpl/24",1875),b(1876,1,qe,Mpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/25",1876),b(1877,1,qe,Spn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/26",1877),b(1878,1,qe,Apn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/27",1878),b(1879,1,qe,Ppn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/28",1879),b(1880,1,qe,Ipn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/29",1880),b(1854,1,qe,Opn),s.wj=function(e){return I(e,667)},s.xj=function(e){return L(AI,rn,2021,e,0,1)},w(Ut,"XMLTypePackageImpl/3",1854),b(1881,1,qe,Dpn),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(Ut,"XMLTypePackageImpl/30",1881),b(1882,1,qe,$pn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/31",1882),b(1883,1,qe,Fpn),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(Ut,"XMLTypePackageImpl/32",1883),b(1884,1,qe,Lpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/33",1884),b(1885,1,qe,Npn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/34",1885),b(1886,1,qe,xpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/35",1886),b(1887,1,qe,Bpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/36",1887),b(1888,1,qe,_pn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/37",1888),b(1889,1,qe,Rpn),s.wj=function(e){return I(e,15)},s.xj=function(e){return L(Bs,zb,15,e,0,1)},w(Ut,"XMLTypePackageImpl/38",1889),b(1890,1,qe,Kpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/39",1890),b(1855,1,qe,Hpn),s.wj=function(e){return I(e,668)},s.xj=function(e){return L(rj,rn,2022,e,0,1)},w(Ut,"XMLTypePackageImpl/4",1855),b(1891,1,qe,qpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/40",1891),b(1892,1,qe,Gpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/41",1892),b(1893,1,qe,Upn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/42",1893),b(1894,1,qe,zpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/43",1894),b(1895,1,qe,Wpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/44",1895),b(1896,1,qe,Xpn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(Ut,"XMLTypePackageImpl/45",1896),b(1897,1,qe,Vpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/46",1897),b(1898,1,qe,Qpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/47",1898),b(1899,1,qe,Jpn),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/48",1899),b(Ll,1,qe,Ypn),s.wj=function(e){return I(e,184)},s.xj=function(e){return L(P0,q,184,e,0,1)},w(Ut,"XMLTypePackageImpl/49",Ll),b(1856,1,qe,Zpn),s.wj=function(e){return I(e,669)},s.xj=function(e){return L(rln,rn,2023,e,0,1)},w(Ut,"XMLTypePackageImpl/5",1856),b(1901,1,qe,n3n),s.wj=function(e){return I(e,162)},s.xj=function(e){return L(A0,q,162,e,0,1)},w(Ut,"XMLTypePackageImpl/50",1901),b(1902,1,qe,e3n),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/51",1902),b(1903,1,qe,t3n),s.wj=function(e){return I(e,19)},s.xj=function(e){return L(qr,q,19,e,0,1)},w(Ut,"XMLTypePackageImpl/52",1903),b(1857,1,qe,r3n),s.wj=function(e){return vr(e)},s.xj=function(e){return L(tn,q,2,e,6,1)},w(Ut,"XMLTypePackageImpl/6",1857),b(1858,1,qe,i3n),s.wj=function(e){return I(e,190)},s.xj=function(e){return L(ju,q,190,e,0,2)},w(Ut,"XMLTypePackageImpl/7",1858),b(1859,1,qe,c3n),s.wj=function(e){return ib(e)},s.xj=function(e){return L(cr,q,476,e,8,1)},w(Ut,"XMLTypePackageImpl/8",1859),b(1860,1,qe,u3n),s.wj=function(e){return I(e,217)},s.xj=function(e){return L(yv,q,217,e,0,1)},w(Ut,"XMLTypePackageImpl/9",1860),b(50,60,s1,Ee),w(q1,"RegEx/ParseException",50),b(820,1,{},Cq),s.sl=function(e){return e16*r)throw C(new Ee(Pe((je(),Zqn))));r=16*r+c}if(125!=this.a)throw C(new Ee(Pe((je(),nGn))));if(r>t4)throw C(new Ee(Pe((je(),eGn))));e=r}else{if(c=0,0!=this.c||(c=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(r=c,Ve(this),0!=this.c||(c=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));e=r=16*r+c}break;case 117:if(i=0,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));e=t=16*t+i;break;case 118:if(Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if(t=16*t+i,Ve(this),0!=this.c||(i=Ka(this.a))<0)throw C(new Ee(Pe((je(),H1))));if((t=16*t+i)>t4)throw C(new Ee(Pe((je(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw C(new Ee(Pe((je(),tGn))))}return e},s.ul=function(e){var r;switch(e){case 100:r=32==(32&this.e)?$l("Nd",!0):(Qe(),II);break;case 68:r=32==(32&this.e)?$l("Nd",!1):(Qe(),aln);break;case 119:r=32==(32&this.e)?$l("IsWord",!0):(Qe(),q4);break;case 87:r=32==(32&this.e)?$l("IsWord",!1):(Qe(),bln);break;case 115:r=32==(32&this.e)?$l("IsSpace",!0):(Qe(),zv);break;case 83:r=32==(32&this.e)?$l("IsSpace",!1):(Qe(),dln);break;default:throw C(new Ri(tUn+e.toString(16)))}return r},s.vl=function(e){var t,r,i,c,f,h,l,a,d,g,v;for(this.b=1,Ve(this),t=null,0==this.c&&94==this.a?(Ve(this),e?(Qe(),Qe(),d=new cs(5)):(Qe(),Qe(),Ec(t=new cs(4),0,t4),d=new cs(4))):(Qe(),Qe(),d=new cs(4)),c=!0;1!=(v=this.c)&&(0!=v||93!=this.a||c);){if(c=!1,r=this.a,i=!1,10==v)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Hb(d,this.ul(r)),i=!0;break;case 105:case 73:case 99:case 67:(r=this.Ll(d,r))<0&&(i=!0);break;case 112:case 80:if(!(g=UY(this,r)))throw C(new Ee(Pe((je(),g_))));Hb(d,g),i=!0;break;default:r=this.tl()}else if(20==v){if((f=mp(this.i,58,this.d))<0)throw C(new Ee(Pe((je(),grn))));if(h=!0,94==Pr(this.i,this.d)&&(++this.d,h=!1),!(l=dPn(rs(this.i,this.d,f),h,512==(512&this.e))))throw C(new Ee(Pe((je(),Xqn))));if(Hb(d,l),i=!0,f+1>=this.j||93!=Pr(this.i,f+1))throw C(new Ee(Pe((je(),grn))));this.d=f+2}if(Ve(this),!i)if(0!=this.c||45!=this.a)Ec(d,r,r);else{if(Ve(this),1==(v=this.c))throw C(new Ee(Pe((je(),qS))));0==v&&93==this.a?(Ec(d,r,r),Ec(d,45,45)):(a=this.a,10==v&&(a=this.tl()),Ve(this),Ec(d,r,a))}(this.e&Io)==Io&&0==this.c&&44==this.a&&Ve(this)}if(1==this.c)throw C(new Ee(Pe((je(),qS))));return t&&(Q6(t,d),d=t),ag(d),X6(d),this.b=0,Ve(this),d},s.wl=function(){var e,t,r,i;for(r=this.vl(!1);7!=(i=this.c);){if(e=this.a,(0!=i||45!=e&&38!=e)&&4!=i)throw C(new Ee(Pe((je(),Jqn))));if(Ve(this),9!=this.c)throw C(new Ee(Pe((je(),Qqn))));if(t=this.vl(!1),4==i)Hb(r,t);else if(45==e)Q6(r,t);else{if(38!=e)throw C(new Ri("ASSERT"));X_n(r,t)}}return Ve(this),r},s.xl=function(){var e,t;return e=this.a-48,Qe(),Qe(),t=new I$(12,null,e),!this.g&&(this.g=new Dj),Oj(this.g,new fG(e)),Ve(this),t},s.yl=function(){return Ve(this),Qe(),Nee},s.zl=function(){return Ve(this),Qe(),Lee},s.Al=function(){throw C(new Ee(Pe((je(),xs))))},s.Bl=function(){throw C(new Ee(Pe((je(),xs))))},s.Cl=function(){return Ve(this),Iwe()},s.Dl=function(){return Ve(this),Qe(),Bee},s.El=function(){return Ve(this),Qe(),Ree},s.Fl=function(){var e;if(this.d>=this.j||64!=(65504&(e=Pr(this.i,this.d++))))throw C(new Ee(Pe((je(),Uqn))));return Ve(this),Qe(),Qe(),new ph(0,e-64)},s.Gl=function(){return Ve(this),function dye(){var n,e,t,r,i,c;if(Qe(),nq)return nq;for(Hb(n=new cs(4),$l(I_,!0)),Q6(n,$l("M",!0)),Q6(n,$l("C",!0)),c=new cs(4),r=0;r<11;r++)Ec(c,r,r);return Hb(e=new cs(4),$l("M",!0)),Ec(e,4448,4607),Ec(e,65438,65439),Ga(i=new F5(2),n),Ga(i,N9),(t=new F5(2)).$l(rT(c,$l("L",!0))),t.$l(e),t=new eX(i,t=new pb(3,t)),nq=t}()},s.Hl=function(){return Ve(this),Qe(),Kee},s.Il=function(){var e;return Qe(),Qe(),e=new ph(0,105),Ve(this),e},s.Jl=function(){return Ve(this),Qe(),_ee},s.Kl=function(){return Ve(this),Qe(),xee},s.Ll=function(e,t){return this.tl()},s.Ml=function(){return Ve(this),Qe(),hln},s.Nl=function(){var e,t,r,i,c;if(this.d+1>=this.j)throw C(new Ee(Pe((je(),Hqn))));if(i=-1,t=null,49<=(e=Pr(this.i,this.d))&&e<=57){if(i=e-48,!this.g&&(this.g=new Dj),Oj(this.g,new fG(i)),++this.d,41!=Pr(this.i,this.d))throw C(new Ee(Pe((je(),Za))));++this.d}else switch(63==e&&--this.d,Ve(this),t=bnn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw C(new Ee(Pe((je(),Za))));break;default:throw C(new Ee(Pe((je(),qqn))))}if(Ve(this),r=null,2==(c=f0(this)).e){if(2!=c.em())throw C(new Ee(Pe((je(),Gqn))));r=c.am(1),c=c.am(0)}if(7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),Qe(),Qe(),new UPn(i,t,c,r)},s.Ol=function(){return Ve(this),Qe(),lln},s.Pl=function(){var e;if(Ve(this),e=dT(24,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Ql=function(){var e;if(Ve(this),e=dT(20,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Rl=function(){var e;if(Ve(this),e=dT(22,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Sl=function(){var e,t,r,i,c;for(e=0,r=0,t=-1;this.d=this.j)throw C(new Ee(Pe((je(),brn))));if(45==t){for(++this.d;this.d=this.j)throw C(new Ee(Pe((je(),brn))))}if(58==t){if(++this.d,Ve(this),i=QTn(f0(this),e,r),7!=this.c)throw C(new Ee(Pe((je(),Za))));Ve(this)}else{if(41!=t)throw C(new Ee(Pe((je(),Kqn))));++this.d,Ve(this),i=QTn(f0(this),e,r)}return i},s.Tl=function(){var e;if(Ve(this),e=dT(21,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Ul=function(){var e;if(Ve(this),e=dT(23,f0(this)),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Vl=function(){var e,t;if(Ve(this),e=this.f++,t=r$(f0(this),e),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),t},s.Wl=function(){var e;if(Ve(this),e=r$(f0(this),0),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Xl=function(e){return Ve(this),5==this.c?(Ve(this),rT(e,(Qe(),Qe(),new pb(9,e)))):rT(e,(Qe(),Qe(),new pb(3,e)))},s.Yl=function(e){var t;return Ve(this),Qe(),Qe(),t=new F5(2),5==this.c?(Ve(this),Ga(t,N9),Ga(t,e)):(Ga(t,e),Ga(t,N9)),t},s.Zl=function(e){return Ve(this),5==this.c?(Ve(this),Qe(),Qe(),new pb(9,e)):(Qe(),Qe(),new pb(3,e))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,w(q1,"RegEx/RegexParser",820),b(1824,820,{},A9n),s.sl=function(e){return!1},s.tl=function(){return CZ(this)},s.ul=function(e){return O3(e)},s.vl=function(e){return RRn(this)},s.wl=function(){throw C(new Ee(Pe((je(),xs))))},s.xl=function(){throw C(new Ee(Pe((je(),xs))))},s.yl=function(){throw C(new Ee(Pe((je(),xs))))},s.zl=function(){throw C(new Ee(Pe((je(),xs))))},s.Al=function(){return Ve(this),O3(67)},s.Bl=function(){return Ve(this),O3(73)},s.Cl=function(){throw C(new Ee(Pe((je(),xs))))},s.Dl=function(){throw C(new Ee(Pe((je(),xs))))},s.El=function(){throw C(new Ee(Pe((je(),xs))))},s.Fl=function(){return Ve(this),O3(99)},s.Gl=function(){throw C(new Ee(Pe((je(),xs))))},s.Hl=function(){throw C(new Ee(Pe((je(),xs))))},s.Il=function(){return Ve(this),O3(105)},s.Jl=function(){throw C(new Ee(Pe((je(),xs))))},s.Kl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ll=function(e,t){return Hb(e,O3(t)),-1},s.Ml=function(){return Ve(this),Qe(),Qe(),new ph(0,94)},s.Nl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ol=function(){return Ve(this),Qe(),Qe(),new ph(0,36)},s.Pl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ql=function(){throw C(new Ee(Pe((je(),xs))))},s.Rl=function(){throw C(new Ee(Pe((je(),xs))))},s.Sl=function(){throw C(new Ee(Pe((je(),xs))))},s.Tl=function(){throw C(new Ee(Pe((je(),xs))))},s.Ul=function(){throw C(new Ee(Pe((je(),xs))))},s.Vl=function(){var e;if(Ve(this),e=r$(f0(this),0),7!=this.c)throw C(new Ee(Pe((je(),Za))));return Ve(this),e},s.Wl=function(){throw C(new Ee(Pe((je(),xs))))},s.Xl=function(e){return Ve(this),rT(e,(Qe(),Qe(),new pb(3,e)))},s.Yl=function(e){var t;return Ve(this),Qe(),Qe(),Ga(t=new F5(2),e),Ga(t,N9),t},s.Zl=function(e){return Ve(this),Qe(),Qe(),new pb(3,e)};var s2=null,K4=null;w(q1,"RegEx/ParserForXMLSchema",1824),b(117,1,r4,yd),s.$l=function(e){throw C(new Ri("Not supported."))},s._l=function(){return-1},s.am=function(e){return null},s.bm=function(){return null},s.cm=function(e){},s.dm=function(e){},s.em=function(){return 0},s.Ib=function(){return this.fm(0)},s.fm=function(e){return 11==this.e?".":""},s.e=0;var sln,H4,L9,Fee,oln,II,fln,N9,hln,lln,aln,dln,bln,Lee,zv,Nee,xee,Bee,_ee,q4,Ree,Kee,Hee,sa,Sw=null,ZH=null,nq=null,sMe=w(q1,"RegEx/Token",117);b(136,117,{3:1,136:1,117:1},cs),s.fm=function(e){var t,r,i;if(4==this.e)if(this==fln)r=".";else if(this==II)r="\\d";else if(this==q4)r="\\w";else if(this==zv)r="\\s";else{for((i=new m1).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?li(i,lk(this.b[t])):(li(i,lk(this.b[t])),i.a+="-",li(i,lk(this.b[t+1])));i.a+="]",r=i.a}else if(this==aln)r="\\D";else if(this==bln)r="\\W";else if(this==dln)r="\\S";else{for((i=new m1).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?li(i,lk(this.b[t])):(li(i,lk(this.b[t])),i.a+="-",li(i,lk(this.b[t+1])));i.a+="]",r=i.a}return r},s.a=!1,s.c=!1,w(q1,"RegEx/RangeToken",136),b(584,1,{584:1},fG),s.a=0,w(q1,"RegEx/RegexParser/ReferencePosition",584),b(583,1,{3:1,583:1},_8n),s.Fb=function(e){var t;return!(null==e||!I(e,583))&&(t=u(e,583),Mn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return L1(this.b+"/"+mZ(this.a))},s.Ib=function(){return this.c.fm(this.a)},s.a=0,w(q1,"RegEx/RegularExpression",583),b(223,117,r4,ph),s._l=function(){return this.a},s.fm=function(e){var r,i;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:i="\\"+ID(this.a&Gt);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:i=this.a>=Vr?"\\v"+rs(r="0"+(this.a>>>0).toString(16),r.length-6,r.length):""+ID(this.a&Gt)}break;case 8:i=this==hln||this==lln?""+ID(this.a&Gt):"\\"+ID(this.a&Gt);break;default:i=null}return i},s.a=0,w(q1,"RegEx/Token/CharToken",223),b(309,117,r4,pb),s.am=function(e){return this.a},s.cm=function(e){this.b=e},s.dm=function(e){this.c=e},s.em=function(){return 1},s.fm=function(e){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.fm(e)+"*";else if(this.c==this.b)t=this.a.fm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(e)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw C(new Ri("Token#toString(): CLOSURE "+this.c+Xr+this.b));t=this.a.fm(e)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.fm(e)+"*?";else if(this.c==this.b)t=this.a.fm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(e)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw C(new Ri("Token#toString(): NONGREEDYCLOSURE "+this.c+Xr+this.b));t=this.a.fm(e)+"{"+this.c+",}?"}return t},s.b=0,s.c=0,w(q1,"RegEx/Token/ClosureToken",309),b(821,117,r4,eX),s.am=function(e){return 0==e?this.a:this.b},s.em=function(){return 2},s.fm=function(e){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(e)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(e)+"+?":this.a.fm(e)+""+this.b.fm(e)},w(q1,"RegEx/Token/ConcatToken",821),b(1822,117,r4,UPn),s.am=function(e){if(0==e)return this.d;if(1==e)return this.b;throw C(new Ri("Internal Error: "+e))},s.em=function(){return this.b?2:1},s.fm=function(e){return(this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a)+(this.b?this.d+"|"+this.b+")":this.d+")")},s.c=0,w(q1,"RegEx/Token/ConditionToken",1822),b(1823,117,r4,UMn),s.am=function(e){return this.b},s.em=function(){return 1},s.fm=function(e){return"(?"+(0==this.a?"":mZ(this.a))+(0==this.c?"":mZ(this.c))+":"+this.b.fm(e)+")"},s.a=0,s.c=0,w(q1,"RegEx/Token/ModifierToken",1823),b(822,117,r4,sX),s.am=function(e){return this.a},s.em=function(){return 1},s.fm=function(e){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(e)+")":"("+this.a.fm(e)+")";break;case 20:t="(?="+this.a.fm(e)+")";break;case 21:t="(?!"+this.a.fm(e)+")";break;case 22:t="(?<="+this.a.fm(e)+")";break;case 23:t="(?"+this.a.fm(e)+")"}return t},s.b=0,w(q1,"RegEx/Token/ParenToken",822),b(521,117,{3:1,117:1,521:1},I$),s.bm=function(){return this.b},s.fm=function(e){return 12==this.e?"\\"+this.a:function yme(n){var e,t,r,i;for(i=n.length,e=null,r=0;r=0?(e||(e=new s5,r>0&&li(e,n.substr(0,r))),e.a+="\\",Ap(e,t&Gt)):e&&Ap(e,t&Gt);return e?e.a:n}(this.b)},s.a=0,w(q1,"RegEx/Token/StringToken",521),b(465,117,r4,F5),s.$l=function(e){Ga(this,e)},s.am=function(e){return u(Hd(this.a,e),117)},s.em=function(){return this.a?this.a.a.c.length:0},s.fm=function(e){var t,r,i,c,o;if(1==this.e){if(2==this.a.a.c.length)t=u(Hd(this.a,0),117),c=3==(r=u(Hd(this.a,1),117)).e&&r.am(0)==t?t.fm(e)+"+":9==r.e&&r.am(0)==t?t.fm(e)+"+?":t.fm(e)+""+r.fm(e);else{for(o=new m1,i=0;i=n.c.b:n.a<=n.c.b))throw C(new ic);return e=n.a,n.a+=n.c.c,++n.b,Q(e)}(this)},s.Ub=function(){return function Wde(n){if(n.b<=0)throw C(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}(this)},s.Wb=function(e){u(e,19),function nce(){throw C(new p1(oUn))}()},s.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw C(new p1(fUn))},s.a=0,s.b=0,w(Lrn,"ExclusiveRange/RangeIterator",254);var Hs=Pp(GS,"C"),be=Pp(Tm,"I"),Hu=Pp(sv,"Z"),oa=Pp(Cm,"J"),ju=Pp(ym,"B"),kr=Pp(jm,"D"),Aw=Pp(Em,"F"),o2=Pp(Mm,"S"),oMe=Et("org.eclipse.elk.core.labels","ILabelManager"),wln=Et(Hr,"DiagnosticChain"),gln=Et(xGn,"ResourceSet"),vln=w(Hr,"InvocationTargetException",null),qee=(xj(),function Zae(n){return xj(),function(){return hae(n,this,arguments)}}),Gee=Gee=function H3e(n,e,t,r){R8n();var i=D_;function c(){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};!function v1(gi,Tt){if(!(gi instanceof Tt))throw new TypeError("Cannot call a class as a function")}(this,Tt);var vi=Object.assign({},Yr),Eu=!1;try{dh.resolve("web-worker"),Eu=!0}catch{}if(Yr.workerUrl)if(Eu){var qu=dh("web-worker");vi.workerFactory=function(Yn){return new qu(Yn)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!vi.workerFactory){var js=dh("./elk-worker.min.js").Worker;vi.workerFactory=function(Yn){return new js(Yn)}}return function j(gi,Tt){if(!gi)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Tt||"object"!=typeof Tt&&"function"!=typeof Tt?gi:Tt}(this,(Tt.__proto__||Object.getPrototypeOf(Tt)).call(this,vi))}return function fa(gi,Tt){if("function"!=typeof Tt&&null!==Tt)throw new TypeError("Super expression must either be null or a function, not "+typeof Tt);gi.prototype=Object.create(Tt&&Tt.prototype,{constructor:{value:gi,enumerable:!1,writable:!0,configurable:!0}}),Tt&&(Object.setPrototypeOf?Object.setPrototypeOf(gi,Tt):gi.__proto__=Tt)}(Tt,gi),Tt}(dh("./elk-api.js").default);Object.defineProperty(zc.exports,"__esModule",{value:!0}),zc.exports=pc,pc.default=pc},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(dh,zc,bh){zc.exports=Worker},{}]},{},[3])(3)},5650:(DI,f2,es)=>{"use strict";es.d(f2,{Z:()=>zc});const zc=(0,es(5820).Z)(Object.getPrototypeOf,Object)},2031:(DI,f2,es)=>{"use strict";es.d(f2,{Z:()=>Tt});var H9=es(7079),dh=es(5650),zc=es(214),fa=Function.prototype.toString,xf=Object.prototype.hasOwnProperty,pc=fa.call(Object);const Tt=function gi(Yr){if(!(0,zc.Z)(Yr)||"[object Object]"!=(0,H9.Z)(Yr))return!1;var vi=(0,dh.Z)(Yr);if(null===vi)return!0;var Eu=xf.call(vi,"constructor")&&vi.constructor;return"function"==typeof Eu&&Eu instanceof Eu&&fa.call(Eu)==pc}},4194:(DI,f2,es)=>{"use strict";es.r(f2),es.d(f2,{diagram:()=>HI});var H9=es(5861),dh=es(4976),zc=es(5703),bh=es(3330),v1=es(3057),j=es(855),fa=es(1775),xf=es(9111),pc=es(7942);es(2735),es(1764),es(6780);const Eu=new pc,qu={},Rh={};let js={};const Vv=(Se,wt,F)=>{const yr={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return yr.TD=yr.TB,j.l.info("abc88",F,wt,Se),yr[F][wt][Se]},z4=(Se,wt,F)=>{if(j.l.info("getNextPort abc88",{node:Se,edgeDirection:wt,graphDirection:F}),!qu[Se])switch(F){case"TB":case"TD":qu[Se]={inPosition:"north",outPosition:"south"};break;case"BT":qu[Se]={inPosition:"south",outPosition:"north"};break;case"RL":qu[Se]={inPosition:"east",outPosition:"west"};break;case"LR":qu[Se]={inPosition:"west",outPosition:"east"}}const yr="in"===wt?qu[Se].inPosition:qu[Se].outPosition;return"in"===wt?qu[Se].inPosition=Vv(qu[Se].inPosition,wt,F):qu[Se].outPosition=Vv(qu[Se].outPosition,wt,F),yr},BI=function(Se,wt,F,yr,mt){const ri=function(Se,wt,F){const yr=((Se,wt,F)=>{const{parentById:yr}=F,mt=new Set;let ri=Se;for(;ri;){if(mt.add(ri),ri===wt)return ri;ri=yr[ri]}for(ri=wt;ri;){if(mt.has(ri))return ri;ri=yr[ri]}return"root"})(Se,wt,F);if(void 0===yr||"root"===yr)return{x:0,y:0};const mt=js[yr].offset;return{x:mt.posX,y:mt.posY}}(wt.sourceId,wt.targetId,mt),Bf=wt.sections[0].startPoint,Kt=wt.sections[0].endPoint,Vi=(wt.sections[0].bendPoints?wt.sections[0].bendPoints:[]).map(sf=>[sf.x+ri.x,sf.y+ri.y]),go=[[Bf.x+ri.x,Bf.y+ri.y],...Vi,[Kt.x+ri.x,Kt.y+ri.y]],Mi=(0,zc.jvg)().curve(zc.c_6),pd=Se.insert("path").attr("d",Mi(go)).attr("class","path").attr("fill","none"),Gu=Se.insert("g").attr("class","edgeLabel"),lt=(0,zc.Ys)(Gu.node().appendChild(wt.labelEl)),Es=lt.node().firstChild.getBoundingClientRect();lt.attr("width",Es.width),lt.attr("height",Es.height),Gu.attr("transform",`translate(${wt.labels[0].x+ri.x}, ${wt.labels[0].y+ri.y})`),function(Se,wt,F,yr){let mt="";switch(yr&&(mt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,mt=mt.replace(/\(/g,"\\("),mt=mt.replace(/\)/g,"\\)")),wt.arrowTypeStart){case"arrow_cross":Se.attr("marker-start","url("+mt+"#"+F+"-crossStart)");break;case"arrow_point":Se.attr("marker-start","url("+mt+"#"+F+"-pointStart)");break;case"arrow_barb":Se.attr("marker-start","url("+mt+"#"+F+"-barbStart)");break;case"arrow_circle":Se.attr("marker-start","url("+mt+"#"+F+"-circleStart)");break;case"aggregation":Se.attr("marker-start","url("+mt+"#"+F+"-aggregationStart)");break;case"extension":Se.attr("marker-start","url("+mt+"#"+F+"-extensionStart)");break;case"composition":Se.attr("marker-start","url("+mt+"#"+F+"-compositionStart)");break;case"dependency":Se.attr("marker-start","url("+mt+"#"+F+"-dependencyStart)");break;case"lollipop":Se.attr("marker-start","url("+mt+"#"+F+"-lollipopStart)")}switch(wt.arrowTypeEnd){case"arrow_cross":Se.attr("marker-end","url("+mt+"#"+F+"-crossEnd)");break;case"arrow_point":Se.attr("marker-end","url("+mt+"#"+F+"-pointEnd)");break;case"arrow_barb":Se.attr("marker-end","url("+mt+"#"+F+"-barbEnd)");break;case"arrow_circle":Se.attr("marker-end","url("+mt+"#"+F+"-circleEnd)");break;case"aggregation":Se.attr("marker-end","url("+mt+"#"+F+"-aggregationEnd)");break;case"extension":Se.attr("marker-end","url("+mt+"#"+F+"-extensionEnd)");break;case"composition":Se.attr("marker-end","url("+mt+"#"+F+"-compositionEnd)");break;case"dependency":Se.attr("marker-end","url("+mt+"#"+F+"-dependencyEnd)");break;case"lollipop":Se.attr("marker-end","url("+mt+"#"+F+"-lollipopEnd)")}}(pd,F,yr.type,yr.arrowMarkerAbsolute)},hj=(Se,wt)=>{Se.forEach(F=>{F.children||(F.children=[]);const yr=wt.childrenById[F.id];yr&&yr.forEach(mt=>{F.children.push(js[mt])}),hj(F.children,wt)})},_I=function(){var Se=(0,H9.Z)(function*(wt,F,yr,mt){var ri;mt.db.clear(),js={},mt.db.setGen("gen-2"),mt.parser.parse(wt);const Bf=(0,zc.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let Kt={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(j.l.info("Drawing flowchart using v3 renderer",Eu),mt.db.getDirection()){case"BT":Kt.layoutOptions["elk.direction"]="UP";break;case"TB":Kt.layoutOptions["elk.direction"]="DOWN";break;case"LR":Kt.layoutOptions["elk.direction"]="RIGHT";break;case"RL":Kt.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:Vi,flowchart:go}=(0,j.g)();let Mi;"sandbox"===Vi&&(Mi=(0,zc.Ys)("#i"+F));const pd=(0,zc.Ys)("sandbox"===Vi?Mi.nodes()[0].contentDocument.body:"body"),Gu="sandbox"===Vi?Mi.nodes()[0].contentDocument:document,lt=pd.select(`[id="${F}"]`);(0,bh.a)(lt,["point","circle","cross"],mt.type,mt.arrowMarkerAbsolute);const sf=mt.db.getVertices();let md;const la=mt.db.getSubGraphs();j.l.info("Subgraphs - ",la);for(let _f=la.length-1;_f>=0;_f--)md=la[_f],mt.db.addVertex(md.id,md.title,"group",void 0,md.classes,md.dir);const fu=lt.insert("g").attr("class","subgraphs"),kd=function(Se){const wt={parentById:{},childrenById:{}},F=Se.getSubGraphs();return j.l.info("Subgraphs - ",F),F.forEach(function(yr){yr.nodes.forEach(function(mt){wt.parentById[mt]=yr.id,void 0===wt.childrenById[yr.id]&&(wt.childrenById[yr.id]=[]),wt.childrenById[yr.id].push(mt)})}),F.forEach(function(yr){}),wt}(mt.db);Kt=function(Se,wt,F,yr,mt,ri,Bf){const Kt=F.select(`[id="${wt}"]`),ha=Kt.insert("g").attr("class","nodes");return Object.keys(Se).forEach(function(go){const Mi=Se[go];let pd="default";Mi.classes.length>0&&(pd=Mi.classes.join(" "));const Gu=(0,xf.m)(Mi.styles);let Es,lt=void 0!==Mi.text?Mi.text:Mi.id;const sf={width:0,height:0};if((0,j.j)((0,j.g)().flowchart.htmlLabels)){const _f={label:lt.replace(/fa[blrs]?:fa-[\w-]+/g,X4=>``)};Es=(0,v1.a)(Kt,_f).node();const Rf=Es.getBBox();sf.width=Rf.width,sf.height=Rf.height,sf.labelNode=Es,Es.parentNode.removeChild(Es)}else{const _f=yr.createElementNS("http://www.w3.org/2000/svg","text");_f.setAttribute("style",Gu.labelStyle.replace("color:","fill:"));const Rf=lt.split(j.d.lineBreakRegex);for(const aj of Rf){const Ho=yr.createElementNS("http://www.w3.org/2000/svg","tspan");Ho.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),Ho.setAttribute("dy","1em"),Ho.setAttribute("x","1"),Ho.textContent=aj,_f.appendChild(Ho)}Es=_f;const X4=Es.getBBox();sf.width=X4.width,sf.height=X4.height,sf.labelNode=Es}const md=[{id:Mi.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:Mi.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:Mi.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:Mi.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let la=0,fu="",kd={};switch(Mi.type){case"round":la=5,fu="rect";break;case"square":case"group":default:fu="rect";break;case"diamond":fu="question",kd={portConstraints:"FIXED_SIDE"};break;case"hexagon":fu="hexagon";break;case"odd":case"odd_right":fu="rect_left_inv_arrow";break;case"lean_right":fu="lean_right";break;case"lean_left":fu="lean_left";break;case"trapezoid":fu="trapezoid";break;case"inv_trapezoid":fu="inv_trapezoid";break;case"circle":fu="circle";break;case"ellipse":fu="ellipse";break;case"stadium":fu="stadium";break;case"subroutine":fu="subroutine";break;case"cylinder":fu="cylinder";break;case"doublecircle":fu="doublecircle"}const Iw={labelStyle:Gu.labelStyle,shape:fu,labelText:lt,rx:la,ry:la,class:pd,style:Gu.style,id:Mi.id,link:Mi.link,linkTarget:Mi.linkTarget,tooltip:mt.db.getTooltip(Mi.id)||"",domId:mt.db.lookUpDomId(Mi.id),haveCallback:Mi.haveCallback,width:"group"===Mi.type?500:void 0,dir:Mi.dir,type:Mi.type,props:Mi.props,padding:(0,j.g)().flowchart.padding};let Ko,rl;"group"!==Iw.type&&(rl=(0,bh.e)(ha,Iw,Mi.dir),Ko=rl.node().getBBox());const Qv={id:Mi.id,ports:"diamond"===Mi.type?md:[],layoutOptions:kd,labelText:lt,labelData:sf,domId:mt.db.lookUpDomId(Mi.id),width:Ko?.width,height:Ko?.height,type:Mi.type,el:rl,parent:ri.parentById[Mi.id]};js[Iw.id]=Qv}),Bf}(sf,F,pd,Gu,mt,kd,Kt);const Iw=lt.insert("g").attr("class","edges edgePath"),Ko=mt.db.getEdges();Kt=function(Se,wt,F,yr){j.l.info("abc78 edges = ",Se);const mt=yr.insert("g").attr("class","edgeLabels");let Kt,ha,ri={},Bf=wt.db.getDirection();if(void 0!==Se.defaultStyle){const Vi=(0,xf.m)(Se.defaultStyle);Kt=Vi.style,ha=Vi.labelStyle}return Se.forEach(function(Vi){var go="L-"+Vi.start+"-"+Vi.end;void 0===ri[go]?(ri[go]=0,j.l.info("abc78 new entry",go,ri[go])):(ri[go]++,j.l.info("abc78 new entry",go,ri[go]));let Mi=go+"-"+ri[go];j.l.info("abc78 new link id to be used is",go,Mi,ri[go]);var pd="LS-"+Vi.start,Gu="LE-"+Vi.end;const lt={style:"",labelStyle:""};switch(lt.minlen=Vi.length||1,lt.arrowhead="arrow_open"===Vi.type?"none":"normal",lt.arrowTypeStart="arrow_open",lt.arrowTypeEnd="arrow_open",Vi.type){case"double_arrow_cross":lt.arrowTypeStart="arrow_cross";case"arrow_cross":lt.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":lt.arrowTypeStart="arrow_point";case"arrow_point":lt.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":lt.arrowTypeStart="arrow_circle";case"arrow_circle":lt.arrowTypeEnd="arrow_circle"}let Es="",sf="";switch(Vi.stroke){case"normal":Es="fill:none;",void 0!==Kt&&(Es=Kt),void 0!==ha&&(sf=ha),lt.thickness="normal",lt.pattern="solid";break;case"dotted":lt.thickness="normal",lt.pattern="dotted",lt.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":lt.thickness="thick",lt.pattern="solid",lt.style="stroke-width: 3.5px;fill:none;"}if(void 0!==Vi.style){const Ko=(0,xf.m)(Vi.style);Es=Ko.style,sf=Ko.labelStyle}lt.style=lt.style+=Es,lt.labelStyle=lt.labelStyle+=sf,lt.curve=(0,xf.n)(void 0!==Vi.interpolate?Vi.interpolate:void 0!==Se.defaultInterpolate?Se.defaultInterpolate:Rh.curve,zc.c_6),void 0===Vi.text?void 0!==Vi.style&&(lt.arrowheadStyle="fill: #333"):(lt.arrowheadStyle="fill: #333",lt.labelpos="c"),lt.labelType="text",lt.label=Vi.text.replace(j.d.lineBreakRegex,"\n"),void 0===Vi.style&&(lt.style=lt.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),lt.labelStyle=lt.labelStyle.replace("color:","fill:"),lt.id=Mi,lt.classes="flowchart-link "+pd+" "+Gu;const md=(0,bh.f)(mt,lt),{source:la,target:fu,sourceId:kd,targetId:Iw}=((Se,wt)=>{let F=Se.start,yr=Se.end;const mt=F,ri=yr,Bf=js[F],Kt=js[yr];return Bf&&Kt?("diamond"===Bf.type&&(F=`${F}-${z4(F,"out",wt)}`),"diamond"===Kt.type&&(yr=`${yr}-${z4(yr,"in",wt)}`),{source:F,target:yr,sourceId:mt,targetId:ri}):{source:F,target:yr}})(Vi,Bf);j.l.debug("abc78 source and target",la,fu),F.edges.push({id:"e"+Vi.start+Vi.end,sources:[la],targets:[fu],sourceId:kd,targetId:Iw,labelEl:md,labels:[{width:lt.width,height:lt.height,orgWidth:lt.width,orgHeight:lt.height,text:lt.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:lt})}),F}(Ko,mt,Kt,lt),Object.keys(js).forEach(_f=>{const Rf=js[_f];Rf.parent||Kt.children.push(Rf),void 0!==kd.childrenById[_f]&&(Rf.labels=[{text:Rf.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:Rf.labelData.width,height:Rf.labelData.height}],delete Rf.x,delete Rf.y,delete Rf.width,delete Rf.height)}),hj(Kt.children,kd),j.l.info("after layout",JSON.stringify(Kt,null,2));const Qv=yield Eu.layout(Kt);lj(0,0,Qv.children,lt,fu,mt,0),j.l.info("after layout",Qv),null==(ri=Qv.edges)||ri.map(_f=>{BI(Iw,_f,_f.edgeData,mt,kd)}),(0,fa.s)({},lt,go.diagramPadding,go.useMaxWidth),Bf.remove()});return function(F,yr,mt,ri){return Se.apply(this,arguments)}}(),lj=(Se,wt,F,yr,mt,ri,Bf)=>{F.forEach(function(Kt){if(Kt)if(js[Kt.id].offset={posX:Kt.x+Se,posY:Kt.y+wt,x:Se,y:wt,depth:Bf,width:Kt.width,height:Kt.height},"group"===Kt.type){const ha=mt.insert("g").attr("class","subgraph");ha.insert("rect").attr("class","subgraph subgraph-lvl-"+Bf%5+" node").attr("x",Kt.x+Se).attr("y",Kt.y+wt).attr("width",Kt.width).attr("height",Kt.height);const Vi=ha.insert("g").attr("class","label");Vi.attr("transform",`translate(${Kt.labels[0].x+Se+Kt.x}, ${Kt.labels[0].y+wt+Kt.y})`),Vi.node().appendChild(Kt.labelData.labelNode),j.l.info("Id (UGH)= ",Kt.type,Kt.labels)}else j.l.info("Id (UGH)= ",Kt.id),Kt.el.attr("transform",`translate(${Kt.x+Se+Kt.width/2}, ${Kt.y+wt+Kt.height/2})`)}),F.forEach(function(Kt){Kt&&"group"===Kt.type&&lj(Se+Kt.x,wt+Kt.y,Kt.children,yr,mt,ri,Bf+1)})},HI={db:dh.d,renderer:{getClasses:function(Se,wt){j.l.info("Extracting classes"),wt.db.clear("ver-2");try{return wt.parse(Se),wt.db.getClasses()}catch{return{}}},draw:_I},parser:dh.p,styles:Se=>`.label {\n font-family: ${Se.fontFamily};\n color: ${Se.nodeTextColor||Se.textColor};\n }\n .cluster-label text {\n fill: ${Se.titleColor};\n }\n .cluster-label span {\n color: ${Se.titleColor};\n }\n\n .label text,span {\n fill: ${Se.nodeTextColor||Se.textColor};\n color: ${Se.nodeTextColor||Se.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${Se.mainBkg};\n stroke: ${Se.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${Se.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${Se.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${Se.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${Se.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${Se.edgeLabelBackground};\n fill: ${Se.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${Se.clusterBkg};\n stroke: ${Se.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${Se.titleColor};\n }\n\n .cluster span {\n color: ${Se.titleColor};\n }\n /* .cluster div {\n color: ${Se.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${Se.fontFamily};\n font-size: 12px;\n background: ${Se.tertiaryColor};\n border: 1px solid ${Se.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${Se.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${(Se=>{let wt="";for(let F=0;F<5;F++)wt+=`\n .subgraph-lvl-${F} {\n fill: ${Se[`surface${F}`]};\n stroke: ${Se[`surfacePeer${F}`]};\n }\n `;return wt})(Se)}\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/463.dc3a51287a3daffe.js b/pkg/apiserver-impl/ui/463.dc3a51287a3daffe.js new file mode 100644 index 00000000000..0fc4f097d56 --- /dev/null +++ b/pkg/apiserver-impl/ui/463.dc3a51287a3daffe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[463],{463:(Ot,yt,Z)=>{Z.r(yt),Z.d(yt,{diagram:()=>Wt});var d=Z(9037),it=Z(8586),ct=(Z(1764),Z(6780),Z(2735),function(){var e=function($,n,r,l){for(r=r||{},l=$.length;l--;r[$[l]]=n);return r},s=[1,3],h=[1,4],f=[1,5],g=[1,6],u=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],p=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],q=[2,7],y=[1,13],R=[1,17],U=[1,18],w=[1,19],z=[1,20],b=[1,21],Q=[1,22],H=[1,23],E=[1,24],nt=[1,25],st=[1,26],rt=[1,27],M=[1,30],N=[1,31],T=[1,32],A=[1,33],m=[1,34],t=[1,35],S=[1,36],k=[1,37],P=[1,38],F=[1,39],v=[1,40],L=[1,41],C=[1,42],Y=[1,57],j=[1,58],B=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],dt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,_,a,at){var x=a.length-1;switch(_){case 12:this.$=a[x].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[x].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[x].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[x].substr(8)),this.$=a[x].substr(8);break;case 17:o.addPoint(a[x-3],a[x-1],a[x]);break;case 18:o.setXAxisLeftText(a[x-2]),o.setXAxisRightText(a[x]);break;case 19:a[x-1].text+=" \u27f6 ",o.setXAxisLeftText(a[x-1]);break;case 20:o.setXAxisLeftText(a[x]);break;case 21:o.setYAxisBottomText(a[x-2]),o.setYAxisTopText(a[x]);break;case 22:a[x-1].text+=" \u27f6 ",o.setYAxisBottomText(a[x-1]);break;case 23:o.setYAxisBottomText(a[x]);break;case 24:o.setQuadrant1Text(a[x]);break;case 25:o.setQuadrant2Text(a[x]);break;case 26:o.setQuadrant3Text(a[x]);break;case 27:o.setQuadrant4Text(a[x]);break;case 31:case 33:this.$={text:a[x],type:"text"};break;case 32:this.$={text:a[x-1].text+""+a[x],type:a[x-1].type};break;case 34:this.$={text:a[x],type:"markdown"};break;case 35:this.$=a[x];break;case 36:this.$=a[x-1]+""+a[x]}},table:[{3:1,4:2,5:s,6:h,32:f,33:g,34:u},{1:[3]},{3:8,4:2,5:s,6:h,32:f,33:g,34:u},{3:9,4:2,5:s,6:h,32:f,33:g,34:u},e(c,[2,4],{7:10}),e(p,[2,28]),e(p,[2,29]),e(p,[2,30]),{1:[2,1]},{1:[2,2]},e(i,q,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:y,13:R,15:U,17:w,19:z,20:b,25:Q,27:H,28:E,29:nt,30:st,31:rt,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C}),e(c,[2,5]),{4:43,32:f,33:g,34:u},e(i,q,{10:14,11:15,12:16,21:28,35:29,9:44,5:y,13:R,15:U,17:w,19:z,20:b,25:Q,27:H,28:E,29:nt,30:st,31:rt,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{21:49,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{21:50,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{21:51,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{21:52,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{21:53,35:29,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C},{5:Y,22:[1,54],35:56,36:55,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j},e(B,[2,31]),e(B,[2,33]),e(B,[2,34]),e(B,[2,37]),e(B,[2,38]),e(B,[2,39]),e(B,[2,40]),e(B,[2,41]),e(B,[2,42]),e(B,[2,43]),e(B,[2,44]),e(B,[2,45]),e(B,[2,46]),e(B,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:Y,26:[1,59],40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,23],{36:55,35:56,5:Y,26:[1,60],40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,24],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,25],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,26],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,27],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),{23:[1,61]},e(B,[2,32]),e(B,[2,48]),e(B,[2,49]),e(B,[2,50]),e(i,[2,19],{35:29,21:62,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C}),e(i,[2,22],{35:29,21:63,37:M,38:N,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,21],{36:55,35:56,5:Y,40:T,41:A,42:m,43:t,44:S,45:k,46:P,47:F,48:v,49:L,50:C,51:j}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(!r.recoverable){var l=new Error(n);throw l.hash=r,l}this.trace(n)},parse:function(n){var l=[0],o=[],_=[null],a=[],at=this.table,x="",lt=0,qt=0,Ut=a.slice.call(arguments,1),D=Object.create(this.lexer),J={yy:{}};for(var xt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xt)&&(J.yy[xt]=this.yy[xt]);D.setInput(n,J.yy),J.yy.lexer=D,J.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ft=D.yylloc;a.push(ft);var G,Mt=D.options&&D.options.ranges;this.parseError="function"==typeof J.yy.parseError?J.yy.parseError:Object.getPrototypeOf(this).parseError;for(var V,tt,O,gt,ot,K,ht,et={};;){if(this.defaultActions[tt=l[l.length-1]]?O=this.defaultActions[tt]:((null===V||typeof V>"u")&&(G=void 0,"number"!=typeof(G=o.pop()||D.lex()||1)&&(G instanceof Array&&(G=(o=G).pop()),G=this.symbols_[G]||G),V=G),O=at[tt]&&at[tt][V]),typeof O>"u"||!O.length||!O[0]){var pt;for(ot in ht=[],at[tt])this.terminals_[ot]&&ot>2&&ht.push("'"+this.terminals_[ot]+"'");pt=D.showPosition?"Parse error on line "+(lt+1)+":\n"+D.showPosition()+"\nExpecting "+ht.join(", ")+", got '"+(this.terminals_[V]||V)+"'":"Parse error on line "+(lt+1)+": Unexpected "+(1==V?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(pt,{text:D.match,token:this.terminals_[V]||V,line:D.yylineno,loc:ft,expected:ht})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+tt+", token: "+V);switch(O[0]){case 1:l.push(V),_.push(D.yytext),a.push(D.yylloc),l.push(O[1]),V=null,qt=D.yyleng,x=D.yytext,lt=D.yylineno,ft=D.yylloc;break;case 2:if(et.$=_[_.length-(K=this.productions_[O[1]][1])],et._$={first_line:a[a.length-(K||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(K||1)].first_column,last_column:a[a.length-1].last_column},Mt&&(et._$.range=[a[a.length-(K||1)].range[0],a[a.length-1].range[1]]),typeof(gt=this.performAction.apply(et,[x,qt,lt,J.yy,O[1],_,a].concat(Ut)))<"u")return gt;K&&(l=l.slice(0,-1*K*2),_=_.slice(0,-1*K),a=a.slice(0,-1*K)),l.push(this.productions_[O[1]][0]),_.push(et.$),a.push(et._$),l.push(at[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function ut(){this.yy={}}return dt.lexer={EOF:1,parseError:function(r,l){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,l)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.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),n},unput:function(n){var r=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var o=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),l.length-1&&(this.yylineno-=l.length-1);var _=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:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+r+"^"},test_match:function(n,r){var l,o,_;if(this.options.backtrack_lexer&&(_={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&&(_.yylloc.range=this.yylloc.range.slice(0))),(o=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var a in _)this[a]=_[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,r,l,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),a=0;a<_.length;a++)if((l=this._input.match(this.rules[_[a]]))&&(!r||l[0].length>r[0].length)){if(r=l,o=a,this.options.backtrack_lexer){if(!1!==(n=this.test_match(l,_[a])))return n;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(n=this.test_match(r,_[o]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,l,o,_){switch(o){case 0:case 1:case 3:break;case 2:return 32;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 22:case 24:case 28:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 23:this.begin("string");break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}},ut.prototype=dt,dt.Parser=ut,new ut}());ct.parser=ct;const mt=ct,W=(0,d.E)(),bt=(0,d.c)();function X(e){return(0,d.d)(e.trim(),bt)}const I=new class At{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var s,h,f,g,u,c,p,i,q,y,R,U,w,z,b,Q,H,E;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(s=d.B.quadrantChart)?void 0:s.chartWidth)||500,chartWidth:(null==(h=d.B.quadrantChart)?void 0:h.chartHeight)||500,titlePadding:(null==(f=d.B.quadrantChart)?void 0:f.titlePadding)||10,titleFontSize:(null==(g=d.B.quadrantChart)?void 0:g.titleFontSize)||20,quadrantPadding:(null==(u=d.B.quadrantChart)?void 0:u.quadrantPadding)||5,xAxisLabelPadding:(null==(c=d.B.quadrantChart)?void 0:c.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(p=d.B.quadrantChart)?void 0:p.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(i=d.B.quadrantChart)?void 0:i.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(q=d.B.quadrantChart)?void 0:q.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(y=d.B.quadrantChart)?void 0:y.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(R=d.B.quadrantChart)?void 0:R.quadrantTextTopPadding)||5,pointTextPadding:(null==(U=d.B.quadrantChart)?void 0:U.pointTextPadding)||5,pointLabelFontSize:(null==(w=d.B.quadrantChart)?void 0:w.pointLabelFontSize)||12,pointRadius:(null==(z=d.B.quadrantChart)?void 0:z.pointRadius)||5,xAxisPosition:(null==(b=d.B.quadrantChart)?void 0:b.xAxisPosition)||"top",yAxisPosition:(null==(Q=d.B.quadrantChart)?void 0:Q.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(H=d.B.quadrantChart)?void 0:H.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(E=d.B.quadrantChart)?void 0:E.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:W.quadrant1Fill,quadrant2Fill:W.quadrant2Fill,quadrant3Fill:W.quadrant3Fill,quadrant4Fill:W.quadrant4Fill,quadrant1TextFill:W.quadrant1TextFill,quadrant2TextFill:W.quadrant2TextFill,quadrant3TextFill:W.quadrant3TextFill,quadrant4TextFill:W.quadrant4TextFill,quadrantPointFill:W.quadrantPointFill,quadrantPointTextFill:W.quadrantPointTextFill,quadrantXAxisTextFill:W.quadrantXAxisTextFill,quadrantYAxisTextFill:W.quadrantYAxisTextFill,quadrantTitleFill:W.quadrantTitleFill,quadrantInternalBorderStrokeFill:W.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:W.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),d.l.info("clear called")}setData(s){this.data={...this.data,...s}}addPoints(s){this.data.points=[...s,...this.data.points]}setConfig(s){d.l.trace("setConfig called with: ",s),this.config={...this.config,...s}}setThemeConfig(s){d.l.trace("setThemeConfig called with: ",s),this.themeConfig={...this.themeConfig,...s}}calculateSpace(s,h,f,g){const u=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,c={top:"top"===s&&h?u:0,bottom:"bottom"===s&&h?u:0},p=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,i={left:"left"===this.config.yAxisPosition&&f?p:0,right:"right"===this.config.yAxisPosition&&f?p:0},y={top:g?this.config.titleFontSize+2*this.config.titlePadding:0},w=this.config.chartWidth-2*this.config.quadrantPadding-i.left-i.right,z=this.config.chartHeight-2*this.config.quadrantPadding-c.top-c.bottom-y.top;return{xAxisSpace:c,yAxisSpace:i,titleSpace:y,quadrantSpace:{quadrantLeft:this.config.quadrantPadding+i.left,quadrantTop:this.config.quadrantPadding+c.top+y.top,quadrantWidth:w,quadrantHalfWidth:w/2,quadrantHeight:z,quadrantHalfHeight:z/2}}}getAxisLabels(s,h,f,g){const{quadrantSpace:u,titleSpace:c}=g,{quadrantHalfHeight:p,quadrantHeight:i,quadrantLeft:q,quadrantHalfWidth:y,quadrantTop:R,quadrantWidth:U}=u,w=Boolean(this.data.xAxisRightText),z=Boolean(this.data.yAxisTopText),b=[];return this.data.xAxisLeftText&&h&&b.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:q+(w?y/2:0),y:"top"===s?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+R+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:w?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&h&&b.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:q+y+(w?y/2:0),y:"top"===s?this.config.xAxisLabelPadding+c.top:this.config.xAxisLabelPadding+R+i+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:w?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&f&&b.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+q+U+this.config.quadrantPadding,y:R+i-(z?p/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:z?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&f&&b.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+q+U+this.config.quadrantPadding,y:R+p-(z?p/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:z?"center":"left",horizontalPos:"top",rotation:-90}),b}getQuadrants(s){const{quadrantSpace:h}=s,{quadrantHalfHeight:f,quadrantLeft:g,quadrantHalfWidth:u,quadrantTop:c}=h,p=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:g+u,y:c,width:u,height:f,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:g,y:c,width:u,height:f,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:g,y:c+f,width:u,height:f,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:g+u,y:c+f,width:u,height:f,fill:this.themeConfig.quadrant4Fill}];for(const i of p)i.text.x=i.x+i.width/2,0===this.data.points.length?(i.text.y=i.y+i.height/2,i.text.horizontalPos="middle"):(i.text.y=i.y+this.config.quadrantTextTopPadding,i.text.horizontalPos="top");return p}getQuadrantPoints(s){const{quadrantSpace:h}=s,{quadrantHeight:f,quadrantLeft:g,quadrantTop:u,quadrantWidth:c}=h,p=(0,it.BYU)().domain([0,1]).range([g,c+g]),i=(0,it.BYU)().domain([0,1]).range([f+u,u]);return this.data.points.map(y=>({x:p(y.x),y:i(y.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:y.text,fill:this.themeConfig.quadrantPointTextFill,x:p(y.x),y:i(y.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}}))}getBorders(s){const h=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:f}=s,{quadrantHalfHeight:g,quadrantHeight:u,quadrantLeft:c,quadrantHalfWidth:p,quadrantTop:i,quadrantWidth:q}=f;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i,x2:c+q+h,y2:i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c+q,y1:i+h,x2:c+q,y2:i+u-h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c-h,y1:i+u,x2:c+q+h,y2:i+u},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:c,y1:i+h,x2:c,y2:i+u-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+p,y1:i+h,x2:c+p,y2:i+u-h},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:c+h,y1:i+g,x2:c+q-h,y2:i+g}]}getTitle(s){if(s)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const s=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),h=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),f=this.config.showTitle&&!!this.data.titleText,g=this.data.points.length>0?"bottom":this.config.xAxisPosition,u=this.calculateSpace(g,s,h,f);return{points:this.getQuadrantPoints(u),quadrants:this.getQuadrants(u),axisLabels:this.getAxisLabels(g,s,h,u),borderLines:this.getBorders(u),title:this.getTitle(f)}}},Wt={parser:mt,db:{setWidth:function Dt(e){I.setConfig({chartWidth:e})},setHeight:function zt(e){I.setConfig({chartHeight:e})},setQuadrant1Text:function St(e){I.setData({quadrant1Text:X(e.text)})},setQuadrant2Text:function kt(e){I.setData({quadrant2Text:X(e.text)})},setQuadrant3Text:function Pt(e){I.setData({quadrant3Text:X(e.text)})},setQuadrant4Text:function Ft(e){I.setData({quadrant4Text:X(e.text)})},setXAxisLeftText:function vt(e){I.setData({xAxisLeftText:X(e.text)})},setXAxisRightText:function Lt(e){I.setData({xAxisRightText:X(e.text)})},setYAxisTopText:function Ct(e){I.setData({yAxisTopText:X(e.text)})},setYAxisBottomText:function Et(e){I.setData({yAxisBottomText:X(e.text)})},addPoint:function Bt(e,s,h){I.addPoints([{x:s,y:h,text:X(e.text)}])},getQuadrantData:function It(){const e=(0,d.c)(),{themeVariables:s,quadrantChart:h}=e;return h&&I.setConfig(h),I.setThemeConfig({quadrant1Fill:s.quadrant1Fill,quadrant2Fill:s.quadrant2Fill,quadrant3Fill:s.quadrant3Fill,quadrant4Fill:s.quadrant4Fill,quadrant1TextFill:s.quadrant1TextFill,quadrant2TextFill:s.quadrant2TextFill,quadrant3TextFill:s.quadrant3TextFill,quadrant4TextFill:s.quadrant4TextFill,quadrantPointFill:s.quadrantPointFill,quadrantPointTextFill:s.quadrantPointTextFill,quadrantXAxisTextFill:s.quadrantXAxisTextFill,quadrantYAxisTextFill:s.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantTitleFill:s.quadrantTitleFill}),I.setData({titleText:(0,d.t)()}),I.build()},clear:function(){I.clear(),(0,d.v)()},setAccTitle:d.s,getAccTitle:d.g,setDiagramTitle:d.q,getDiagramTitle:d.t,getAccDescription:d.a,setAccDescription:d.b},renderer:{draw:(e,s,h,f)=>{var g,u,c;function p(t){return"top"===t?"hanging":"middle"}function i(t){return"left"===t?"start":"middle"}function q(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const y=(0,d.c)();d.l.debug("Rendering quadrant chart\n"+e);const R=y.securityLevel;let U;"sandbox"===R&&(U=(0,it.Ys)("#i"+s));const z=(0,it.Ys)("sandbox"===R?U.nodes()[0].contentDocument.body:"body").select(`[id="${s}"]`),b=z.append("g").attr("class","main"),Q=(null==(g=y.quadrantChart)?void 0:g.chartWidth)||500,H=(null==(u=y.quadrantChart)?void 0:u.chartHeight)||500;(0,d.i)(z,H,Q,(null==(c=y.quadrantChart)?void 0:c.useMaxWidth)||!0),z.attr("viewBox","0 0 "+Q+" "+H),f.db.setHeight(H),f.db.setWidth(Q);const E=f.db.getQuadrantData(),nt=b.append("g").attr("class","quadrants"),st=b.append("g").attr("class","border"),rt=b.append("g").attr("class","data-points"),M=b.append("g").attr("class","labels"),N=b.append("g").attr("class","title");E.title&&N.append("text").attr("x",0).attr("y",0).attr("fill",E.title.fill).attr("font-size",E.title.fontSize).attr("dominant-baseline",p(E.title.horizontalPos)).attr("text-anchor",i(E.title.verticalPos)).attr("transform",q(E.title)).text(E.title.text),E.borderLines&&st.selectAll("line").data(E.borderLines).enter().append("line").attr("x1",t=>t.x1).attr("y1",t=>t.y1).attr("x2",t=>t.x2).attr("y2",t=>t.y2).style("stroke",t=>t.strokeFill).style("stroke-width",t=>t.strokeWidth);const T=nt.selectAll("g.quadrant").data(E.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill),T.append("text").attr("x",0).attr("y",0).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>p(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>q(t.text)).text(t=>t.text.text),M.selectAll("g.label").data(E.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(t=>t.text).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>p(t.horizontalPos)).attr("text-anchor",t=>i(t.verticalPos)).attr("transform",t=>q(t));const m=rt.selectAll("g.data-point").data(E.points).enter().append("g").attr("class","data-point");m.append("circle").attr("cx",t=>t.x).attr("cy",t=>t.y).attr("r",t=>t.radius).attr("fill",t=>t.fill),m.append("text").attr("x",0).attr("y",0).text(t=>t.text.text).attr("fill",t=>t.text.fill).attr("font-size",t=>t.text.fontSize).attr("dominant-baseline",t=>p(t.text.horizontalPos)).attr("text-anchor",t=>i(t.text.verticalPos)).attr("transform",t=>q(t.text))}},styles:()=>""}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/474.fc76b77c0b0a42c1.js b/pkg/apiserver-impl/ui/474.fc76b77c0b0a42c1.js new file mode 100644 index 00000000000..4ccb9e4dc8e --- /dev/null +++ b/pkg/apiserver-impl/ui/474.fc76b77c0b0a42c1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[474],{474:(ri,ct,B)=>{B.r(ct),B.d(ct,{diagram:()=>ei});var A=B(9037),Lt=B(9627),z=B(8586),J=(B(1764),B(6780),B(2735),function(){var e=function(O,o,l,c){for(l=l||{},c=O.length;c--;l[O[c]]=o);return l},t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],h=[1,6],g=[1,7],f=[1,5,10,12,14,16,18,19,21,23,34,35,36],y=[1,25],E=[1,26],S=[1,28],R=[1,29],L=[1,30],v=[1,31],k=[1,32],M=[1,33],p=[1,34],w=[1,35],r=[1,36],T=[1,37],$=[1,43],kt=[1,42],Rt=[1,47],G=[1,50],b=[1,10,12,14,16,18,19,21,23,34,35,36],st=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],D=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Tt=[1,64],nt={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(o,l,c,u,m,a,j){var x=a.length-1;switch(m){case 5:u.setOrientation(a[x]);break;case 9:u.setDiagramTitle(a[x].text.trim());break;case 12:u.setLineData({text:"",type:"text"},a[x]);break;case 13:u.setLineData(a[x-1],a[x]);break;case 14:u.setBarData({text:"",type:"text"},a[x]);break;case 15:u.setBarData(a[x-1],a[x]);break;case 16:this.$=a[x].trim(),u.setAccTitle(this.$);break;case 17:case 18:this.$=a[x].trim(),u.setAccDescription(this.$);break;case 19:case 27:this.$=a[x-1];break;case 20:this.$=[Number(a[x-2]),...a[x]];break;case 21:this.$=[Number(a[x])];break;case 22:u.setXAxisTitle(a[x]);break;case 23:u.setXAxisTitle(a[x-1]);break;case 24:u.setXAxisTitle({type:"text",text:""});break;case 25:u.setXAxisBand(a[x]);break;case 26:u.setXAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 28:this.$=[a[x-2],...a[x]];break;case 29:this.$=[a[x]];break;case 30:u.setYAxisTitle(a[x]);break;case 31:u.setYAxisTitle(a[x-1]);break;case 32:u.setYAxisTitle({type:"text",text:""});break;case 33:u.setYAxisRangeData(Number(a[x-2]),Number(a[x]));break;case 37:case 38:this.$={text:a[x],type:"text"};break;case 39:this.$={text:a[x],type:"markdown"};break;case 40:this.$=a[x];break;case 41:this.$=a[x-1]+""+a[x]}},table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:h,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:h,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:h,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,34]),e(f,[2,35]),e(f,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:h,36:g}),{1:[2,3]},e(f,[2,5]),e(t,[2,7],{4:22,34:n,35:h,36:g}),{11:23,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},{11:39,13:38,24:$,27:kt,29:40,30:41,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},{11:45,15:44,27:Rt,33:46,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},{11:49,17:48,24:G,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},{11:52,17:51,24:G,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},{20:[1,53]},{22:[1,54]},e(b,[2,18]),{1:[2,2]},e(b,[2,8]),e(b,[2,9]),e(st,[2,37],{40:55,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T}),e(st,[2,38]),e(st,[2,39]),e(D,[2,40]),e(D,[2,42]),e(D,[2,43]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(b,[2,10]),e(b,[2,22],{30:41,29:56,24:$,27:kt}),e(b,[2,24]),e(b,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},e(b,[2,11]),e(b,[2,30],{33:60,27:Rt}),e(b,[2,32]),{31:[1,61]},e(b,[2,12]),{17:62,24:G},{25:63,27:Tt},e(b,[2,14]),{17:65,24:G},e(b,[2,16]),e(b,[2,17]),e(D,[2,41]),e(b,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(b,[2,31]),{27:[1,69]},e(b,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(b,[2,15]),e(b,[2,26]),e(b,[2,27]),{11:59,32:72,37:24,38:y,39:E,40:27,41:S,42:R,43:L,44:v,45:k,46:M,47:p,48:w,49:r,50:T},e(b,[2,33]),e(b,[2,19]),{25:73,27:Tt},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(o,l){if(!l.recoverable){var c=new Error(o);throw c.hash=l,c}this.trace(o)},parse:function(o){var c=[0],u=[],m=[null],a=[],j=this.table,x="",Q=0,Dt=0,ai=a.slice.call(arguments,1),_=Object.create(this.lexer),W={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(W.yy[ot]=this.yy[ot]);_.setInput(o,W.yy),W.yy.lexer=_,W.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ht=_.yylloc;a.push(ht);var V,oi=_.options&&_.options.ranges;this.parseError="function"==typeof W.yy.parseError?W.yy.parseError:Object.getPrototypeOf(this).parseError;for(var C,F,P,rt,q,I,Z,N={};;){if(this.defaultActions[F=c[c.length-1]]?P=this.defaultActions[F]:((null===C||typeof C>"u")&&(V=void 0,"number"!=typeof(V=u.pop()||_.lex()||1)&&(V instanceof Array&&(V=(u=V).pop()),V=this.symbols_[V]||V),C=V),P=j[F]&&j[F][C]),typeof P>"u"||!P.length||!P[0]){var lt;for(q in Z=[],j[F])this.terminals_[q]&&q>2&&Z.push("'"+this.terminals_[q]+"'");lt=_.showPosition?"Parse error on line "+(Q+1)+":\n"+_.showPosition()+"\nExpecting "+Z.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(Q+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(lt,{text:_.match,token:this.terminals_[C]||C,line:_.yylineno,loc:ht,expected:Z})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+C);switch(P[0]){case 1:c.push(C),m.push(_.yytext),a.push(_.yylloc),c.push(P[1]),C=null,Dt=_.yyleng,x=_.yytext,Q=_.yylineno,ht=_.yylloc;break;case 2:if(N.$=m[m.length-(I=this.productions_[P[1]][1])],N._$={first_line:a[a.length-(I||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(I||1)].first_column,last_column:a[a.length-1].last_column},oi&&(N._$.range=[a[a.length-(I||1)].range[0],a[a.length-1].range[1]]),typeof(rt=this.performAction.apply(N,[x,Dt,Q,W.yy,P[1],m,a].concat(ai)))<"u")return rt;I&&(c=c.slice(0,-1*I*2),m=m.slice(0,-1*I),a=a.slice(0,-1*I)),c.push(this.productions_[P[1]][0]),m.push(N.$),a.push(N._$),c.push(j[c[c.length-2]][c[c.length-1]]);break;case 3:return!0}}return!0}};function at(){this.yy={}}return nt.lexer={EOF:1,parseError:function(l,c){if(!this.yy.parser)throw new Error(l);this.yy.parser.parseError(l,c)},setInput:function(o,l){return this.yy=l||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},input: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},unput:function(o){var l=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;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 m=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-l},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var o=this.pastInput(),l=new Array(o.length+1).join("-");return o+this.upcomingInput()+"\n"+l+"^"},test_match:function(o,l){var c,u,m;if(this.options.backtrack_lexer&&(m={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&&(m.yylloc.range=this.yylloc.range.slice(0))),(u=o[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.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],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var a in m)this[a]=m[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var o,l,c,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),a=0;al[0].length)){if(l=c,u=a,this.options.backtrack_lexer){if(!1!==(o=this.test_match(c,m[a])))return o;if(this._backtrack){l=!1;continue}return!1}if(!this.options.flex)break}return l?!1!==(o=this.test_match(l,m[u]))&&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})},lex:function(){return this.next()||this.lex()},begin:function(l){this.conditionStack.push(l)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(l){return(l=this.conditionStack.length-1-Math.abs(l||0))>=0?this.conditionStack[l]:"INITIAL"},pushState:function(l){this.begin(l)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(l,c,u,m){switch(u){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}},at.prototype=nt,nt.Parser=at,new at}());J.parser=J;const vt=J;function ut(e){return"bar"===e.type}function gt(e){return"band"===e.type}function X(e){return"linear"===e.type}class xt{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((h,g)=>Math.max(g.length,h),0)*i,height:i};const s={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const h of t){const g=(0,Lt.c)(n,1,h),y=g?g.height:i;s.width=Math.max(s.width,g?g.width:h.length*i),s.height=Math.max(s.height,y)}return n.remove(),s}}class ft{constructor(t,i,s,n){this.axisConfig=t,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension();this.outerPadding=Math.min(s.width/2,.2*t.width);const h=s.height+2*this.axisConfig.labelPadding;this.labelTextHeight=s.height,h<=i&&(i-=h,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+2*this.axisConfig.titlePadding;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension();this.outerPadding=Math.min(s.height/2,.2*t.height);const h=s.width+2*this.axisConfig.labelPadding;h<=i&&(i-=h,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+2*this.axisConfig.titlePadding;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}}class Mt extends ft{constructor(t,i,s,n,h){super(t,n,h,i),this.categories=s,this.scale=(0,z.tiA)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,z.tiA)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),A.l.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)||this.getRange()[0]}}class It extends ft{constructor(t,i,s,n,h){super(t,n,h,i),this.domain=s,this.scale=(0,z.BYU)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,z.BYU)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}}function yt(e,t,i,s){const n=new xt(s);return gt(e)?new Mt(t,i,e.categories,e.title,n):new It(t,i,[e.min,e.max],e.title,n)}class Vt{constructor(t,i,s,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,t.width),n=i.height+2*this.chartConfig.titlePadding;return i.width<=s&&i.height<=n&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=s,this.boundingRect.height=n,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}}function Bt(e,t,i,s){const n=new xt(s);return new Vt(n,e,t,i)}class Ot{constructor(t,i,s,n,h){this.plotData=t,this.xAxis=i,this.yAxis=s,this.orientation=n,this.plotIndex=h}getDrawableElement(){const t=this.plotData.data.map(s=>[this.xAxis.getScaleValue(s[0]),this.yAxis.getScaleValue(s[1])]);let i;return i="horizontal"===this.orientation?(0,z.jvg)().y(s=>s[0]).x(s=>s[1])(t):(0,z.jvg)().x(s=>s[0]).y(s=>s[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class Wt{constructor(t,i,s,n,h,g){this.barData=t,this.boundingRect=i,this.xAxis=s,this.yAxis=n,this.orientation=h,this.plotIndex=g}getDrawableElement(){const t=this.barData.data.map(h=>[this.xAxis.getScaleValue(h[0]),this.yAxis.getScaleValue(h[1])]),s=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),n=s/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(h=>({x:this.boundingRect.x,y:h[0]-n,height:s,width:h[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(h=>({x:h[0]-n,y:h[1],width:s,height:this.boundingRect.y+this.boundingRect.height-h[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}}class Ft{constructor(t,i,s){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{const n=new Ot(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break;case"bar":{const n=new Wt(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}}return t}}function zt(e,t,i){return new Ft(e,t,i)}class Nt{constructor(t,i,s,n){this.chartConfig=t,this.chartData=i,this.componentStore={title:Bt(t,i,s,n),plot:zt(t,i,s),xAxis:yt(i.xAxis,t.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},n),yAxis:yt(i.yAxis,t.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},n)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,h=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),g=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:h,height:g});t-=f.width,i-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=f.height,i-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:t,height:i}),s=f.width,t-=f.width,t>0&&(h+=t,t=0),i>0&&(g+=i,i=0),this.componentStore.plot.calculateSpace({width:h,height:g}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.xAxis.setRange([s,s+h]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:n+g}),this.componentStore.yAxis.setRange([n,n+g]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(y=>ut(y))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,h=0,g=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),y=this.componentStore.plot.calculateSpace({width:g,height:f});t-=y.width,i-=y.height,y=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=y.height,i-=y.height,this.componentStore.xAxis.setAxisPosition("left"),y=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=y.width,n=y.width,this.componentStore.yAxis.setAxisPosition("top"),y=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=y.height,h=s+y.height,t>0&&(g+=t,t=0),i>0&&(f+=i,i=0),this.componentStore.plot.calculateSpace({width:g,height:f}),this.componentStore.plot.setBoundingBoxXY({x:n,y:h}),this.componentStore.yAxis.setRange([n,n+g]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:s}),this.componentStore.xAxis.setRange([h,h+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:h}),this.chartData.plots.some(E=>ut(E))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}}class Xt{static build(t,i,s,n){return new Nt(t,i,s,n).getDrawableElement()}}let mt,Y=0,U=At(),H=bt(),d={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},tt=H.plotColorPalette.split(",").map(e=>e.trim()),K=!1,it=!1;function bt(){const e=(0,A.E)(),t=(0,A.F)();return(0,A.C)(e.xyChart,t.themeVariables.xyChart)}function At(){const e=(0,A.F)();return(0,A.C)(A.B.xyChart,e.xyChart)}function et(e){const t=(0,A.F)();return(0,A.d)(e.trim(),t)}function wt(e,t){d.xAxis={type:"linear",title:d.xAxis.title,min:e,max:t},K=!0}function Ct(e){let t=[];if(0===e.length)return t;if(!K){const i=X(d.xAxis)?d.xAxis.min:1/0,s=X(d.xAxis)?d.xAxis.max:-1/0;wt(Math.min(i,1),Math.max(s,e.length))}if(it||function Gt(e){const t=Math.min(...e),i=Math.max(...e),s=X(d.yAxis)?d.yAxis.min:1/0,n=X(d.yAxis)?d.yAxis.max:-1/0;d.yAxis={type:"linear",title:d.yAxis.title,min:Math.min(s,t),max:Math.max(n,i)}}(e),gt(d.xAxis)&&(t=d.xAxis.categories.map((i,s)=>[i,e[s]])),X(d.xAxis)){const i=d.xAxis.min,s=d.xAxis.max,n=(s-i+1)/e.length,h=[];for(let g=i;g<=s;g+=n)h.push(`${g}`);t=h.map((g,f)=>[g,e[f]])}return t}function St(e){return tt[0===e?0:e%tt.length]}const ei={parser:vt,db:{getDrawableElem:function Zt(){if(0===d.plots.length)throw Error("No Plot to render, please provide a plot with some data");return d.title=(0,A.t)(),Xt.build(U,d,H,mt)},clear:function(){(0,A.v)(),Y=0,U=At(),d={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},H=bt(),tt=H.plotColorPalette.split(",").map(e=>e.trim()),K=!1,it=!1},setAccTitle:A.s,getAccTitle:A.g,setDiagramTitle:A.q,getDiagramTitle:A.t,getAccDescription:A.a,setAccDescription:A.b,setOrientation:function Ut(e){U.chartOrientation="horizontal"===e?"horizontal":"vertical"},setXAxisTitle:function Ht(e){d.xAxis.title=et(e.text)},setXAxisRangeData:wt,setXAxisBand:function $t(e){d.xAxis={type:"band",title:d.xAxis.title,categories:e.map(t=>et(t.text))},K=!0},setYAxisTitle:function jt(e){d.yAxis.title=et(e.text)},setYAxisRangeData:function Kt(e,t){d.yAxis={type:"linear",title:d.yAxis.title,min:e,max:t},it=!0},setLineData:function Qt(e,t){const i=Ct(t);d.plots.push({type:"line",strokeFill:St(Y),strokeWidth:2,data:i}),Y++},setBarData:function qt(e,t){const i=Ct(t);d.plots.push({type:"bar",fill:St(Y),data:i}),Y++},setTmpSVGG:function Yt(e){mt=e},getChartThemeConfig:function Jt(){return H},getChartConfig:function ti(){return U}},renderer:{draw:(e,t,i,s)=>{const n=s.db,h=n.getChartThemeConfig(),g=n.getChartConfig();function f(p){return"top"===p?"text-before-edge":"middle"}function y(p){return"left"===p?"start":"right"===p?"end":"middle"}function E(p){return`translate(${p.x}, ${p.y}) rotate(${p.rotation||0})`}A.l.debug("Rendering xychart chart\n"+e);const S=(0,A.A)(t),R=S.append("g").attr("class","main"),L=R.append("rect").attr("width",g.width).attr("height",g.height).attr("class","background");(0,A.i)(S,g.height,g.width,!0),S.attr("viewBox",`0 0 ${g.width} ${g.height}`),L.attr("fill",h.backgroundColor),n.setTmpSVGG(S.append("g").attr("class","mermaid-tmp-group"));const v=n.getDrawableElem(),k={};function M(p){let w=R,r="";for(const[T]of p.entries()){let $=R;T>0&&k[r]&&($=k[r]),r+=p[T],w=k[r],w||(w=k[r]=$.append("g").attr("class",p[T]))}return w}for(const p of v){if(0===p.data.length)continue;const w=M(p.groupTexts);switch(p.type){case"rect":w.selectAll("rect").data(p.data).enter().append("rect").attr("x",r=>r.x).attr("y",r=>r.y).attr("width",r=>r.width).attr("height",r=>r.height).attr("fill",r=>r.fill).attr("stroke",r=>r.strokeFill).attr("stroke-width",r=>r.strokeWidth);break;case"text":w.selectAll("text").data(p.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",r=>r.fill).attr("font-size",r=>r.fontSize).attr("dominant-baseline",r=>f(r.verticalPos)).attr("text-anchor",r=>y(r.horizontalPos)).attr("transform",r=>E(r)).text(r=>r.text);break;case"path":w.selectAll("path").data(p.data).enter().append("path").attr("d",r=>r.path).attr("fill",r=>r.fill?r.fill:"none").attr("stroke",r=>r.strokeFill).attr("stroke-width",r=>r.strokeWidth)}}}}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/499.7b2b01997dee913b.js b/pkg/apiserver-impl/ui/499.7b2b01997dee913b.js new file mode 100644 index 00000000000..de7ce6ae9c4 --- /dev/null +++ b/pkg/apiserver-impl/ui/499.7b2b01997dee913b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[499],{2179:(ut,Ee,A)=>{A.r(Ee),A.d(Ee,{diagram:()=>st});var T=A(9037),X=A(8586),$e=A(1065),we=A(8814),se=(A(1764),A(6780),A(2735),function(){var e=function(C,i,r,a){for(r=r||{},a=C.length;a--;r[C[a]]=i);return r},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],_=[1,18],h=[2,7],o=[1,22],p=[1,23],R=[1,24],O=[1,25],N=[1,26],x=[1,27],$=[1,20],k=[1,28],v=[1,29],F=[62,63],me=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],Ie=[1,47],be=[1,48],Te=[1,49],ke=[1,50],Se=[1,51],Ne=[1,52],xe=[1,53],M=[53,54],U=[1,64],Y=[1,60],B=[1,61],W=[1,62],K=[1,63],Q=[1,65],J=[1,69],Z=[1,70],ee=[1,67],te=[1,68],I=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],oe={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,r,a,n,E,s,G){var f=s.length-1;switch(E){case 4:this.$=s[f].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[f].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[f-3],s[f-4]);break;case 14:n.setNewReqId(s[f-2]);break;case 15:n.setNewReqText(s[f-2]);break;case 16:n.setNewReqRisk(s[f-2]);break;case 17:n.setNewReqVerifyMethod(s[f-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[f-3]);break;case 34:n.setNewElementType(s[f-2]);break;case 35:n.setNewElementDocRef(s[f-2]);break;case 38:n.addRelationship(s[f-2],s[f],s[f-4]);break;case 39:n.addRelationship(s[f-2],s[f-4],s[f]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:_,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:_,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},{4:17,5:_,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},{4:17,5:_,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},{4:17,5:_,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},{4:17,5:_,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:p,33:R,34:O,35:N,36:x,44:$,62:k,63:v},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(me,[2,49]),e(me,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:Ie,56:be,57:Te,58:ke,59:Se,60:Ne,61:xe},{52:54,55:Ie,56:be,57:Te,58:ke,59:Se,60:Ne,61:xe},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(M,[2,40]),e(M,[2,41]),e(M,[2,42]),e(M,[2,43]),e(M,[2,44]),e(M,[2,45]),e(M,[2,46]),{54:[1,58]},{5:U,20:59,21:Y,24:B,26:W,28:K,30:Q},{5:J,30:Z,46:66,47:ee,49:te},{23:71,62:k,63:v},{23:72,62:k,63:v},e(I,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:U,20:77,21:Y,24:B,26:W,28:K,30:Q},e(I,[2,19]),e(I,[2,33]),{22:[1,78]},{22:[1,79]},{5:J,30:Z,46:80,47:ee,49:te},e(I,[2,37]),e(I,[2,38]),e(I,[2,39]),{23:81,62:k,63:v},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(I,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(I,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:U,20:106,21:Y,24:B,26:W,28:K,30:Q},{5:U,20:107,21:Y,24:B,26:W,28:K,30:Q},{5:U,20:108,21:Y,24:B,26:W,28:K,30:Q},{5:U,20:109,21:Y,24:B,26:W,28:K,30:Q},{5:J,30:Z,46:110,47:ee,49:te},{5:J,30:Z,46:111,47:ee,49:te},e(I,[2,14]),e(I,[2,15]),e(I,[2,16]),e(I,[2,17]),e(I,[2,34]),e(I,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,r){if(!r.recoverable){var a=new Error(i);throw a.hash=r,a}this.trace(i)},parse:function(i){var a=[0],n=[],E=[null],s=[],G=this.table,f="",ie=0,ve=0,ot=s.slice.call(arguments,1),g=Object.create(this.lexer),D={yy:{}};for(var he in this.yy)Object.prototype.hasOwnProperty.call(this.yy,he)&&(D.yy[he]=this.yy[he]);g.setInput(i,D.yy),D.yy.lexer=g,D.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var ue=g.yylloc;s.push(ue);var L,ct=g.options&&g.options.ranges;this.parseError="function"==typeof D.yy.parseError?D.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,q,S,de,ne,w,re,H={};;){if(this.defaultActions[q=a[a.length-1]]?S=this.defaultActions[q]:((null===b||typeof b>"u")&&(L=void 0,"number"!=typeof(L=n.pop()||g.lex()||1)&&(L instanceof Array&&(L=(n=L).pop()),L=this.symbols_[L]||L),b=L),S=G[q]&&G[q][b]),typeof S>"u"||!S.length||!S[0]){var _e;for(ne in re=[],G[q])this.terminals_[ne]&&ne>2&&re.push("'"+this.terminals_[ne]+"'");_e=g.showPosition?"Parse error on line "+(ie+1)+":\n"+g.showPosition()+"\nExpecting "+re.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(ie+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(_e,{text:g.match,token:this.terminals_[b]||b,line:g.yylineno,loc:ue,expected:re})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+b);switch(S[0]){case 1:a.push(b),E.push(g.yytext),s.push(g.yylloc),a.push(S[1]),b=null,ve=g.yyleng,f=g.yytext,ie=g.yylineno,ue=g.yylloc;break;case 2:if(H.$=E[E.length-(w=this.productions_[S[1]][1])],H._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},ct&&(H._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),typeof(de=this.performAction.apply(H,[f,ve,ie,D.yy,S[1],E,s].concat(ot)))<"u")return de;w&&(a=a.slice(0,-1*w*2),E=E.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),E.push(H.$),s.push(H._$),a.push(G[a[a.length-2]][a[a.length-1]]);break;case 3:return!0}}return!0}};function ce(){this.yy={}}return oe.lexer={EOF:1,parseError:function(r,a){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,a)},setInput:function(i,r){return this.yy=r||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},input:function(){var i=this._input[0];return this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i,i.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),i},unput:function(i){var r=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var n=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),a.length-1&&(this.yylineno-=a.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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+"\n"+r+"^"},test_match:function(i,r){var a,n,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))),(n=i[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var s in E)this[s]=E[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var i,r,a,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),s=0;sr[0].length)){if(r=a,n=s,this.options.backtrack_lexer){if(!1!==(i=this.test_match(a,E[s])))return i;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(i=this.test_match(r,E[n]))&&i:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,n,E){switch(n){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return a.yytext=a.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}},ce.prototype=oe,oe.Parser=ce,new ce}());se.parser=se;let ae=[],m={},j={},V={},z={};const le={CONTAINS:"contains",ARROW:"arrow"},ye_ReqMarkers=le;let y={},fe=0;const pe=(e,t)=>e.insert("rect","#"+t).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",y.rect_min_width+"px").attr("height",y.rect_min_height+"px"),ge=(e,t,l)=>{let c=y.rect_min_width/2,u=e.append("text").attr("class","req reqLabel reqTitle").attr("id",t).attr("x",c).attr("y",y.rect_padding).attr("dominant-baseline","hanging"),d=0;l.forEach(p=>{0==d?u.append("tspan").attr("text-anchor","middle").attr("x",y.rect_min_width/2).attr("dy",0).text(p):u.append("tspan").attr("text-anchor","middle").attr("x",y.rect_min_width/2).attr("dy",.75*y.line_height).text(p),d++});let o=1.5*y.rect_padding+d*y.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",y.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:u,y:o}},Re=(e,t,l,c)=>{let u=e.append("text").attr("class","req reqLabel").attr("id",t).attr("x",y.rect_padding).attr("y",c).attr("dominant-baseline","hanging"),d=0,h=[];return l.forEach(o=>{let p=o.length;for(;p>30&&d<3;){let R=o.substring(0,30);p=(o=o.substring(30,o.length)).length,h[h.length]=R,d++}if(3==d){let R=h[h.length-1];h[h.length-1]=R.substring(0,R.length-4)+"..."}else h[h.length]=o;d=0}),h.forEach(o=>{u.append("tspan").attr("x",y.rect_padding).attr("dy",y.line_height).text(o)}),u},P=e=>e.replace(/\s/g,"").replace(/\./g,"_"),st={parser:se,db:{RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,T.c)().req,addRequirement:(e,t)=>(void 0===j[e]&&(j[e]={name:e,type:t,id:m.id,text:m.text,risk:m.risk,verifyMethod:m.verifyMethod}),m={},j[e]),getRequirements:()=>j,setNewReqId:e=>{void 0!==m&&(m.id=e)},setNewReqText:e=>{void 0!==m&&(m.text=e)},setNewReqRisk:e=>{void 0!==m&&(m.risk=e)},setNewReqVerifyMethod:e=>{void 0!==m&&(m.verifyMethod=e)},setAccTitle:T.s,getAccTitle:T.g,setAccDescription:T.b,getAccDescription:T.a,addElement:e=>(void 0===z[e]&&(z[e]={name:e,type:V.type,docRef:V.docRef},T.l.info("Added new requirement: ",e)),V={},z[e]),getElements:()=>z,setNewElementType:e=>{void 0!==V&&(V.type=e)},setNewElementDocRef:e=>{void 0!==V&&(V.docRef=e)},addRelationship:(e,t,l)=>{ae.push({type:e,src:t,dst:l})},getRelationships:()=>ae,clear:()=>{ae=[],m={},j={},V={},z={},(0,T.v)()}},renderer:{draw:(e,t,l,c)=>{y=(0,T.c)().requirement;const u=y.securityLevel;let d;"sandbox"===u&&(d=(0,X.Ys)("#i"+t));const h=(0,X.Ys)("sandbox"===u?d.nodes()[0].contentDocument.body:"body").select(`[id='${t}']`);((e,t)=>{let l=e.append("defs").append("marker").attr("id",le.CONTAINS+"_line_ending").attr("refX",0).attr("refY",t.line_height/2).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("g");l.append("circle").attr("cx",t.line_height/2).attr("cy",t.line_height/2).attr("r",t.line_height/2).attr("fill","none"),l.append("line").attr("x1",0).attr("x2",t.line_height).attr("y1",t.line_height/2).attr("y2",t.line_height/2).attr("stroke-width",1),l.append("line").attr("y1",0).attr("y2",t.line_height).attr("x1",t.line_height/2).attr("x2",t.line_height/2).attr("stroke-width",1),e.append("defs").append("marker").attr("id",le.ARROW+"_line_ending").attr("refX",t.line_height).attr("refY",.5*t.line_height).attr("markerWidth",t.line_height).attr("markerHeight",t.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${t.line_height},${t.line_height/2}\n M${t.line_height},${t.line_height/2}\n L0,${t.line_height}`).attr("stroke-width",1)})(h,y);const o=new we.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:y.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let p=c.db.getRequirements(),R=c.db.getElements(),O=c.db.getRelationships();((e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];c=P(c),T.l.info("Added new requirement: ",c);const d=l.append("g").attr("id",c),h=pe(d,"req-"+c);let o=ge(d,c+"_title",[`<<${u.type}>>`,`${u.name}`]);Re(d,c+"_body",[`Id: ${u.id}`,`Text: ${u.text}`,`Risk: ${u.risk}`,`Verification: ${u.verifyMethod}`],o.y);const p=h.node().getBBox();t.setNode(c,{width:p.width,height:p.height,shape:"rect",id:c})})})(p,o,h),((e,t,l)=>{Object.keys(e).forEach(c=>{let u=e[c];const d=P(c),_=l.append("g").attr("id",d),h="element-"+d,o=pe(_,h);let p=ge(_,h+"_title",["<>",`${c}`]);Re(_,h+"_body",[`Type: ${u.type||"Not Specified"}`,`Doc Ref: ${u.docRef||"None"}`],p.y);const R=o.node().getBBox();t.setNode(d,{width:R.width,height:R.height,shape:"rect",id:d})})})(R,o,h),((e,t)=>{e.forEach(function(l){let c=P(l.src),u=P(l.dst);t.setEdge(c,u,{relationship:l})})})(O,o),(0,$e.bK)(o),function(e,t){t.nodes().forEach(function(l){void 0!==l&&void 0!==t.node(l)&&(e.select("#"+l),e.select("#"+l).attr("transform","translate("+(t.node(l).x-t.node(l).width/2)+","+(t.node(l).y-t.node(l).height/2)+" )"))})}(h,o),O.forEach(function(v){!function(e,t,l,c,u){const d=l.edge(P(t.src),P(t.dst)),_=(0,X.jvg)().x(function(o){return o.x}).y(function(o){return o.y}),h=e.insert("path","#"+c).attr("class","er relationshipLine").attr("d",_(d.points)).attr("fill","none");t.type==u.db.Relationships.CONTAINS?h.attr("marker-start","url("+T.e.getUrl(y.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(h.attr("stroke-dasharray","10,7"),h.attr("marker-end","url("+T.e.getUrl(y.arrowMarkerAbsolute)+"#"+ye_ReqMarkers.ARROW+"_line_ending)")),((e,t,l,c)=>{const u=t.node().getTotalLength(),d=t.node().getPointAtLength(.5*u),_="rel"+fe;fe++;const o=e.append("text").attr("class","req relationshipLabel").attr("id",_).attr("x",d.x).attr("y",d.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(c).node().getBBox();e.insert("rect","#"+_).attr("class","req reqLabelBox").attr("x",d.x-o.width/2).attr("y",d.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")})(e,h,0,`<<${t.type}>>`)}(h,v,o,t,c)});const N=y.rect_padding,x=h.node().getBBox(),$=x.width+2*N,k=x.height+2*N;(0,T.i)(h,k,$,y.useMaxWidth),h.attr("viewBox",`${x.x-N} ${x.y-N} ${$} ${k}`)}},styles:e=>`\n\n marker {\n fill: ${e.relationColor};\n stroke: ${e.relationColor};\n }\n\n marker.cross {\n stroke: ${e.lineColor};\n }\n\n svg {\n font-family: ${e.fontFamily};\n font-size: ${e.fontSize};\n }\n\n .reqBox {\n fill: ${e.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${e.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${e.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${e.requirementBorderColor};\n stroke-width: ${e.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${e.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${e.relationLabelColor};\n }\n\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/547.c349efb0d3b6da75.js b/pkg/apiserver-impl/ui/547.c349efb0d3b6da75.js new file mode 100644 index 00000000000..a943e7c3d40 --- /dev/null +++ b/pkg/apiserver-impl/ui/547.c349efb0d3b6da75.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[547],{317:(K,X,x)=>{x.d(X,{c:()=>i});var b=x(9948),S=x(1410),m=x(2957);function i(l){var h={options:{directed:l.isDirected(),multigraph:l.isMultigraph(),compound:l.isCompound()},nodes:R(l),edges:p(l)};return b.Z(l.graph())||(h.value=S.Z(l.graph())),h}function R(l){return m.Z(l.nodes(),function(h){var v=l.node(h),O=l.parent(h),P={v:h};return b.Z(v)||(P.value=v),b.Z(O)||(P.parent=O),P})}function p(l){return m.Z(l.edges(),function(h){var v=l.edge(h),O={v:h.v,w:h.w};return b.Z(h.name)||(O.name=h.name),b.Z(v)||(O.value=v),O})}x(1595)},1410:(K,X,x)=>{x.d(X,{Z:()=>g});var b=x(4258);const g=function m(i){return(0,b.Z)(i,4)}},9547:(K,X,x)=>{x.d(X,{r:()=>Q});var b=x(5861),S=x(1065),m=x(317),g=x(9038),i=x(9037),R=x(8814),p=x(9627),A=x(8586);let l={},h={},v={};const P=(n,e)=>(i.l.trace("In isDescendant",e," ",n," = ",h[e].includes(n)),!!h[e].includes(n)),U=(n,e,t,c)=>{i.l.warn("Copying children of ",n,"root",c,"data",e.node(n),c);const s=e.children(n)||[];n!==c&&s.push(n),i.l.warn("Copying (nodes) clusterId",n,"nodes",s),s.forEach(r=>{if(e.children(r).length>0)U(r,e,t,c);else{const f=e.node(r);i.l.info("cp ",r," to ",c," with parent ",n),t.setNode(r,f),c!==e.parent(r)&&(i.l.warn("Setting parent",r,e.parent(r)),t.setParent(r,e.parent(r))),n!==c&&r!==n?(i.l.debug("Setting parent",r,n),t.setParent(r,n)):(i.l.info("In copy ",n,"root",c,"data",e.node(n),c),i.l.debug("Not Setting parent for node=",r,"cluster!==rootId",n!==c,"node!==clusterId",r!==n));const u=e.edges(r);i.l.debug("Copying Edges",u),u.forEach(a=>{i.l.info("Edge",a);const E=e.edge(a.v,a.w,a.name);i.l.info("Edge data",E,c);try{((n,e)=>(i.l.info("Descendants of ",e," is ",h[e]),i.l.info("Edge is ",n),n.v!==e&&n.w!==e&&(h[e]?h[e].includes(n.v)||P(n.v,e)||P(n.w,e)||h[e].includes(n.w):(i.l.debug("Tilt, ",e,",not in descendants"),!1))))(a,c)?(i.l.info("Copying as ",a.v,a.w,E,a.name),t.setEdge(a.v,a.w,E,a.name),i.l.info("newGraph edges ",t.edges(),t.edge(t.edges()[0]))):i.l.info("Skipping copy of edge ",a.v,"--\x3e",a.w," rootId: ",c," clusterId:",n)}catch(C){i.l.error(C)}})}i.l.debug("Removing node",r),e.removeNode(r)})},j=(n,e)=>{const t=e.children(n);let c=[...t];for(const s of t)v[s]=n,c=[...c,...j(s,e)];return c},M=(n,e)=>{i.l.trace("Searching",n);const t=e.children(n);if(i.l.trace("Searching children of id ",n,t),t.length<1)return i.l.trace("This is a valid node",n),n;for(const c of t){const s=M(c,e);if(s)return i.l.trace("Found replacement for",n," => ",s),s}},L=n=>l[n]&&l[n].externalConnections&&l[n]?l[n].id:n,J=(n,e)=>{if(i.l.warn("extractor - ",e,m.c(n),n.children("D")),e>10)return void i.l.error("Bailing out");let t=n.nodes(),c=!1;for(const s of t){const r=n.children(s);c=c||r.length>0}if(c){i.l.debug("Nodes = ",t,e);for(const s of t)if(i.l.debug("Extracting node",s,l,l[s]&&!l[s].externalConnections,!n.parent(s),n.node(s),n.children("D")," Depth ",e),l[s])if(!l[s].externalConnections&&n.children(s)&&n.children(s).length>0){i.l.warn("Cluster without external connections, without a parent and with children",s,e);let f="TB"===n.graph().rankdir?"LR":"TB";l[s]&&l[s].clusterData&&l[s].clusterData.dir&&(f=l[s].clusterData.dir,i.l.warn("Fixing dir",l[s].clusterData.dir,f));const u=new R.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.l.warn("Old graph before copy",m.c(n)),U(s,n,u,s),n.setNode(s,{clusterNode:!0,id:s,clusterData:l[s].clusterData,labelText:l[s].labelText,graph:u}),i.l.warn("New graph after copy node: (",s,")",m.c(u)),i.l.debug("Old graph after copy",m.c(n))}else i.l.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!l[s].externalConnections," no parent: ",!n.parent(s)," children ",n.children(s)&&n.children(s).length>0,n.children("D"),e),i.l.debug(l);else i.l.debug("Not a cluster",s,e);t=n.nodes(),i.l.warn("New list of nodes",t);for(const s of t){const r=n.node(s);i.l.warn(" Now next level",s,r),r.clusterNode&&J(r.graph,e+1)}}else i.l.debug("Done, no node has children",n.nodes())},Z=(n,e)=>{if(0===e.length)return[];let t=Object.assign(e);return e.forEach(c=>{const s=n.children(c),r=Z(n,s);t=[...t,...r]}),t},H={rect:(n,e)=>{i.l.info("Creating subgraph rect for ",e.id,e);const t=(0,i.c)(),c=n.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),s=c.insert("rect",":first-child"),r=(0,i.m)(t.flowchart.htmlLabels),f=c.insert("g").attr("class","cluster-label"),u="markdown"===e.labelType?(0,p.a)(f,e.labelText,{style:e.labelStyle,useHtmlLabels:r}):f.node().appendChild((0,g.c)(e.labelText,e.labelStyle,void 0,!0));let a=u.getBBox();if((0,i.m)(t.flowchart.htmlLabels)){const y=u.children[0],d=(0,A.Ys)(u);a=y.getBoundingClientRect(),d.attr("width",a.width),d.attr("height",a.height)}const E=0*e.padding,C=E/2,D=e.width<=a.width+E?a.width+E:e.width;e.diff=e.width<=a.width+E?(a.width-e.width)/2-e.padding/2:-e.padding/2,i.l.trace("Data ",e,JSON.stringify(e)),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-D/2).attr("y",e.y-e.height/2-C).attr("width",D).attr("height",e.height+E);const{subGraphTitleTopMargin:N}=(0,g.g)(t);f.attr("transform",r?`translate(${e.x-a.width/2}, ${e.y-e.height/2+N})`:`translate(${e.x}, ${e.y-e.height/2+N})`);const T=s.node().getBBox();return e.width=T.width,e.height=T.height,e.intersect=function(y){return(0,g.i)(e,y)},c},roundedWithTitle:(n,e)=>{const t=(0,i.c)(),c=n.insert("g").attr("class",e.classes).attr("id",e.id),s=c.insert("rect",":first-child"),r=c.insert("g").attr("class","cluster-label"),f=c.append("rect"),u=r.node().appendChild((0,g.c)(e.labelText,e.labelStyle,void 0,!0));let a=u.getBBox();if((0,i.m)(t.flowchart.htmlLabels)){const y=u.children[0],d=(0,A.Ys)(u);a=y.getBoundingClientRect(),d.attr("width",a.width),d.attr("height",a.height)}a=u.getBBox();const E=0*e.padding,C=E/2,D=e.width<=a.width+e.padding?a.width+e.padding:e.width;e.diff=e.width<=a.width+e.padding?(a.width+0*e.padding-e.width)/2:-e.padding/2,s.attr("class","outer").attr("x",e.x-D/2-C).attr("y",e.y-e.height/2-C).attr("width",D+E).attr("height",e.height+E),f.attr("class","inner").attr("x",e.x-D/2-C).attr("y",e.y-e.height/2-C+a.height-1).attr("width",D+E).attr("height",e.height+E-a.height-3);const{subGraphTitleTopMargin:N}=(0,g.g)(t);r.attr("transform",`translate(${e.x-a.width/2}, ${e.y-e.height/2-e.padding/3+((0,i.m)(t.flowchart.htmlLabels)?5:3)+N})`);const T=s.node().getBBox();return e.height=T.height,e.intersect=function(y){return(0,g.i)(e,y)},c},noteGroup:(n,e)=>{const t=n.insert("g").attr("class","note-cluster").attr("id",e.id),c=t.insert("rect",":first-child"),s=0*e.padding,r=s/2;c.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-r).attr("y",e.y-e.height/2-r).attr("width",e.width+s).attr("height",e.height+s).attr("fill","none");const f=c.node().getBBox();return e.width=f.width,e.height=f.height,e.intersect=function(u){return(0,g.i)(e,u)},t},divider:(n,e)=>{const t=n.insert("g").attr("class",e.classes).attr("id",e.id),c=t.insert("rect",":first-child"),s=0*e.padding,r=s/2;c.attr("class","divider").attr("x",e.x-e.width/2-r).attr("y",e.y-e.height/2).attr("width",e.width+s).attr("height",e.height+s);const f=c.node().getBBox();return e.width=f.width,e.height=f.height,e.diff=-e.padding/2,e.intersect=function(u){return(0,g.i)(e,u)},t}};let F={};const G=function(){var n=(0,b.Z)(function*(e,t,c,s,r,f){i.l.info("Graph in recursive render: XXX",m.c(t),r);const u=t.graph().rankdir;i.l.trace("Dir in recursive render - dir:",u);const a=e.insert("g").attr("class","root");t.nodes()?i.l.info("Recursive render XXX",t.nodes()):i.l.info("No nodes found for",t),t.edges().length>0&&i.l.trace("Recursive edges",t.edge(t.edges()[0]));const E=a.insert("g").attr("class","clusters"),C=a.insert("g").attr("class","edgePaths"),D=a.insert("g").attr("class","edgeLabels"),N=a.insert("g").attr("class","nodes");yield Promise.all(t.nodes().map(function(){var d=(0,b.Z)(function*(o){const w=t.node(o);if(void 0!==r){const B=JSON.parse(JSON.stringify(r.clusterData));i.l.info("Setting data for cluster XXX (",o,") ",B,r),t.setNode(r.id,B),t.parent(o)||(i.l.trace("Setting parent",o,r.id),t.setParent(o,r.id,B))}if(i.l.info("(Insert) Node XXX"+o+": "+JSON.stringify(t.node(o))),w&&w.clusterNode){i.l.info("Cluster identified",o,w.width,t.node(o));const B=yield G(N,w.graph,c,s,t.node(o),f),W=B.elem;(0,g.u)(w,W),w.diff=B.diff||0,i.l.info("Node bounds (abc123)",o,w,w.width,w.x,w.y),(0,g.s)(W,w),i.l.warn("Recursive render complete ",W,w)}else t.children(o).length>0?(i.l.info("Cluster - the non recursive path XXX",o,w.id,w,t),i.l.info(M(w.id,t)),l[w.id]={id:M(w.id,t),node:w}):(i.l.info("Node - the non recursive path",o,w.id,w),yield(0,g.e)(N,t.node(o),u))});return function(o){return d.apply(this,arguments)}}())),t.edges().forEach(function(d){const o=t.edge(d.v,d.w,d.name);i.l.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d)),i.l.info("Edge "+d.v+" -> "+d.w+": ",d," ",JSON.stringify(t.edge(d))),i.l.info("Fix",l,"ids:",d.v,d.w,"Translating: ",l[d.v],l[d.w]),(0,g.f)(D,o)}),t.edges().forEach(function(d){i.l.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(d))}),i.l.info("#############################################"),i.l.info("### Layout ###"),i.l.info("#############################################"),i.l.info(t),(0,S.bK)(t),i.l.info("Graph after layout:",m.c(t));let T=0;const{subGraphTitleTotalMargin:y}=(0,g.g)(f);return(n=>Z(n,n.children()))(t).forEach(function(d){const o=t.node(d);i.l.info("Position "+d+": "+JSON.stringify(t.node(d))),i.l.info("Position "+d+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,(0,g.p)(o)):t.children(d).length>0?(o.height+=y,((n,e)=>{i.l.trace("Inserting cluster"),F[e.id]=H[e.shape||"rect"](n,e)})(E,o),l[o.id].node=o):(o.y+=y/2,(0,g.p)(o))}),t.edges().forEach(function(d){const o=t.edge(d);i.l.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(o),o),o.points.forEach(B=>B.y+=y/2);const w=(0,g.h)(C,d,o,l,c,t,s);(0,g.j)(o,w)}),t.nodes().forEach(function(d){const o=t.node(d);i.l.info(d,o.type,o.diff),"group"===o.type&&(T=o.diff)}),{elem:a,diff:T}});return function(t,c,s,r,f,u){return n.apply(this,arguments)}}(),Q=function(){var n=(0,b.Z)(function*(e,t,c,s,r){(0,g.a)(e,c,s,r),(0,g.b)(),(0,g.d)(),F={},h={},v={},l={},i.l.warn("Graph at first:",JSON.stringify(m.c(t))),((n,e)=>{if(n){i.l.debug("Opting in, graph "),n.nodes().forEach(function(t){n.children(t).length>0&&(i.l.warn("Cluster identified",t," Replacement id in edges: ",M(t,n)),h[t]=j(t,n),l[t]={id:M(t,n),clusterData:n.node(t)})}),n.nodes().forEach(function(t){const c=n.children(t),s=n.edges();c.length>0?(i.l.debug("Cluster identified",t,h),s.forEach(r=>{r.v!==t&&r.w!==t&&P(r.v,t)^P(r.w,t)&&(i.l.warn("Edge: ",r," leaves cluster ",t),i.l.warn("Descendants of XXX ",t,": ",h[t]),l[t].externalConnections=!0)})):i.l.debug("Not a cluster ",t,h)});for(let t of Object.keys(l)){const s=n.parent(l[t].id);s!==t&&l[s]&&!l[s].externalConnections&&(l[t].id=s)}n.edges().forEach(function(t){const c=n.edge(t);i.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),i.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(n.edge(t)));let s=t.v,r=t.w;if(i.l.warn("Fix XXX",l,"ids:",t.v,t.w,"Translating: ",l[t.v]," --- ",l[t.w]),l[t.v]&&l[t.w]&&l[t.v]===l[t.w]){i.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),i.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),s=L(t.v),r=L(t.w),n.removeEdge(t.v,t.w,t.name);const f=t.w+"---"+t.v;n.setNode(f,{domId:f,id:f,labelStyle:"",labelText:c.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(c),a=structuredClone(c);u.label="",u.arrowTypeEnd="none",a.label="",u.fromCluster=t.v,a.toCluster=t.v,n.setEdge(s,f,u,t.name+"-cyclic-special"),n.setEdge(f,r,a,t.name+"-cyclic-special")}else if(l[t.v]||l[t.w]){if(i.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),s=L(t.v),r=L(t.w),n.removeEdge(t.v,t.w,t.name),s!==t.v){const f=n.parent(s);l[f].externalConnections=!0,c.fromCluster=t.v}if(r!==t.w){const f=n.parent(r);l[f].externalConnections=!0,c.toCluster=t.w}i.l.warn("Fix Replacing with XXX",s,r,t.name),n.setEdge(s,r,c,t.name)}}),i.l.warn("Adjusted Graph",m.c(n)),J(n,0),i.l.trace(l)}else i.l.debug("Opting out, no graph ")})(t),i.l.warn("Graph after:",JSON.stringify(m.c(t)));const f=(0,i.c)();yield G(e,t,s,r,void 0,f)});return function(t,c,s,r,f){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js b/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js deleted file mode 100644 index 3850c477026..00000000000 --- a/pkg/apiserver-impl/ui/571.d4ff05732590cfb8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[571],{8571:(N,M,a)=>{a.r(M),a.d(M,{diagram:()=>K});var h=a(3612),u=a(5703),C=a(8814),s=a(855),w=a(5963),E=a(9111),A=a(1775);a(2735),a(1764),a(9006),a(7416),a(6780);const L=o=>s.d.sanitizeText(o,(0,s.g)());let T={dividerMargin:10,padding:5,textHeight:10,curve:void 0};function P(o){let n;switch(o){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;case 4:n="lollipop";break;default:n="none"}return n}const K={parser:h.p,db:h.d,renderer:{setConf:function(o){T={...T,...o}},draw:function(o,n,b,i){s.l.info("Drawing class - ",n);const t=(0,s.g)().flowchart??(0,s.g)().class,r=(0,s.g)().securityLevel;s.l.info("config:",t);const l=t?.nodeSpacing??50,d=t?.rankSpacing??50,e=new C.k({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:l,ranksep:d,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=i.db.getClasses(),c=i.db.getRelations(),p=i.db.getNotes();let _;s.l.info(c),function(o,n,b,i){const t=Object.keys(o);s.l.info("keys:",t),s.l.info(o),t.forEach(function(r){var l,d;const e=o[r];let y="";e.cssClasses.length>0&&(y=y+" "+e.cssClasses.join(" "));const f={labelStyle:"",shape:"class_box",labelText:L(e.label??e.id),classData:e,rx:0,ry:0,class:y,style:"",id:e.id,domId:e.domId,tooltip:i.db.getTooltip(e.id)||"",haveCallback:e.haveCallback,link:e.link,width:"group"===e.type?500:void 0,type:e.type,padding:(null==(l=(0,s.g)().flowchart)?void 0:l.padding)??(null==(d=(0,s.g)().class)?void 0:d.padding)};n.setNode(e.id,f),s.l.info("setNode",f)})}(y,e,0,i),function(o,n){const b=(0,s.g)().flowchart;let i=0;o.forEach(function(t){var r;i++;const l={classes:"relation",pattern:1==t.relation.lineType?"dashed":"solid",id:"id"+i,arrowhead:"arrow_open"===t.type?"none":"normal",startLabelRight:"none"===t.relationTitle1?"":t.relationTitle1,endLabelLeft:"none"===t.relationTitle2?"":t.relationTitle2,arrowTypeStart:P(t.relation.type1),arrowTypeEnd:P(t.relation.type2),style:"fill:none",labelStyle:"",curve:(0,E.n)(b?.curve,u.c_6)};if(s.l.info(l,t),void 0!==t.style){const d=(0,E.m)(t.style);l.style=d.style,l.labelStyle=d.labelStyle}t.text=t.title,void 0===t.text?void 0!==t.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",(null==(r=(0,s.g)().flowchart)?void 0:r.htmlLabels)??(0,s.g)().htmlLabels?(l.labelType="html",l.label=''+t.text+""):(l.labelType="text",l.label=t.text.replace(s.d.lineBreakRegex,"\n"),void 0===t.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),n.setEdge(t.id1,t.id2,l,i)})}(c,e),function(o,n,b,i){s.l.info(o),o.forEach(function(t,r){var l,d;const e=t,f={labelStyle:"",shape:"note",labelText:L(e.text),noteData:e,rx:0,ry:0,class:"",style:"",id:e.id,domId:e.id,tooltip:"",type:"note",padding:(null==(l=(0,s.g)().flowchart)?void 0:l.padding)??(null==(d=(0,s.g)().class)?void 0:d.padding)};if(n.setNode(e.id,f),s.l.info("setNode",f),!e.class||!(e.class in i))return;const x=b+r,D={id:`edgeNote${x}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,E.n)(T.curve,u.c_6)};n.setEdge(e.id,e.class,D,x)})}(p,e,c.length+1,y),"sandbox"===r&&(_=(0,u.Ys)("#i"+n));const g=(0,u.Ys)("sandbox"===r?_.nodes()[0].contentDocument.body:"body"),f=g.select(`[id="${n}"]`),x=g.select("#"+n+" g");if((0,w.r)(x,e,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",n),E.u.insertTitle(f,"classTitleText",t?.titleTopMargin??5,i.db.getDiagramTitle()),(0,A.s)(e,f,t?.diagramPadding,t?.useMaxWidth),!t?.htmlLabels){const D="sandbox"===r?_.nodes()[0].contentDocument:document,U=D.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const m of U){const S=m.getBBox(),v=D.createElementNS("http://www.w3.org/2000/svg","rect");v.setAttribute("rx",0),v.setAttribute("ry",0),v.setAttribute("width",S.width),v.setAttribute("height",S.height),m.insertBefore(v,m.firstChild)}}}},styles:h.s,init:o=>{o.class||(o.class={}),o.class.arrowMarkerAbsolute=o.arrowMarkerAbsolute,h.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/594.6b6471753b71a6cf.js b/pkg/apiserver-impl/ui/594.6b6471753b71a6cf.js new file mode 100644 index 00000000000..3c187cdf887 --- /dev/null +++ b/pkg/apiserver-impl/ui/594.6b6471753b71a6cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[594],{7594:(b0,Kt,at)=>{at.r(Kt),at.d(Kt,{diagram:()=>f0});var W=at(5861),p=at(9037),wt=at(8586),st=at(3118),Ut=at(6780),At=(at(1764),at(2735),function(){var t=function(dt,w,L,I){for(L=L||{},I=dt.length;I--;L[dt[I]]=w);return L},e=[1,2],s=[1,3],a=[1,4],r=[2,4],i=[1,9],c=[1,11],o=[1,13],f=[1,14],h=[1,16],l=[1,17],T=[1,18],E=[1,24],y=[1,25],x=[1,26],v=[1,27],P=[1,28],M=[1,29],D=[1,30],C=[1,31],Y=[1,32],O=[1,33],z=[1,34],H=[1,35],Q=[1,36],K=[1,37],U=[1,38],G=[1,39],Z=[1,41],q=[1,42],j=[1,43],X=[1,44],$=[1,45],N=[1,46],A=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],_=[4,5,16,50,52,53],k=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],rt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],tt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],S=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ht=[68,69,70],ot=[1,120],Yt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,L,I,b,R,d,_t){var u=d.length-1;switch(R){case 3:return b.apply(d[u]),d[u];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:d[u-1].push(d[u]),this.$=d[u-1];break;case 6:case 7:case 11:case 12:case 62:this.$=d[u];break;case 15:d[u].type="createParticipant",this.$=d[u];break;case 16:d[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(d[u-2])}),d[u-1].push({type:"boxEnd",boxText:d[u-2]}),this.$=d[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(d[u-2]),sequenceIndexStep:Number(d[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(d[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:d[u-1]};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:d[u-1]};break;case 29:b.setDiagramTitle(d[u].substring(6)),this.$=d[u].substring(6);break;case 30:b.setDiagramTitle(d[u].substring(7)),this.$=d[u].substring(7);break;case 31:this.$=d[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=d[u].trim(),b.setAccDescription(this.$);break;case 34:d[u-1].unshift({type:"loopStart",loopText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.LOOP_START}),d[u-1].push({type:"loopEnd",loopText:d[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=d[u-1];break;case 35:d[u-1].unshift({type:"rectStart",color:b.parseMessage(d[u-2]),signalType:b.LINETYPE.RECT_START}),d[u-1].push({type:"rectEnd",color:b.parseMessage(d[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=d[u-1];break;case 36:d[u-1].unshift({type:"optStart",optText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.OPT_START}),d[u-1].push({type:"optEnd",optText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=d[u-1];break;case 37:d[u-1].unshift({type:"altStart",altText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.ALT_START}),d[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=d[u-1];break;case 38:d[u-1].unshift({type:"parStart",parText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.PAR_START}),d[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=d[u-1];break;case 39:d[u-1].unshift({type:"parStart",parText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),d[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=d[u-1];break;case 40:d[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.CRITICAL_START}),d[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=d[u-1];break;case 41:d[u-1].unshift({type:"breakStart",breakText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.BREAK_START}),d[u-1].push({type:"breakEnd",optText:b.parseMessage(d[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=d[u-1];break;case 43:this.$=d[u-3].concat([{type:"option",optionText:b.parseMessage(d[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},d[u]]);break;case 45:this.$=d[u-3].concat([{type:"and",parText:b.parseMessage(d[u-1]),signalType:b.LINETYPE.PAR_AND},d[u]]);break;case 47:this.$=d[u-3].concat([{type:"else",altText:b.parseMessage(d[u-1]),signalType:b.LINETYPE.ALT_ELSE},d[u]]);break;case 48:d[u-3].draw="participant",d[u-3].type="addParticipant",d[u-3].description=b.parseMessage(d[u-1]),this.$=d[u-3];break;case 49:d[u-1].draw="participant",d[u-1].type="addParticipant",this.$=d[u-1];break;case 50:d[u-3].draw="actor",d[u-3].type="addParticipant",d[u-3].description=b.parseMessage(d[u-1]),this.$=d[u-3];break;case 51:d[u-1].draw="actor",d[u-1].type="addParticipant",this.$=d[u-1];break;case 52:d[u-1].type="destroyParticipant",this.$=d[u-1];break;case 53:this.$=[d[u-1],{type:"addNote",placement:d[u-2],actor:d[u-1].actor,text:d[u]}];break;case 54:d[u-2]=[].concat(d[u-1],d[u-1]).slice(0,2),d[u-2][0]=d[u-2][0].actor,d[u-2][1]=d[u-2][1].actor,this.$=[d[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:d[u-2].slice(0,2),text:d[u]}];break;case 55:this.$=[d[u-1],{type:"addLinks",actor:d[u-1].actor,text:d[u]}];break;case 56:this.$=[d[u-1],{type:"addALink",actor:d[u-1].actor,text:d[u]}];break;case 57:this.$=[d[u-1],{type:"addProperties",actor:d[u-1].actor,text:d[u]}];break;case 58:this.$=[d[u-1],{type:"addDetails",actor:d[u-1].actor,text:d[u]}];break;case 61:this.$=[d[u-2],d[u]];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[d[u-4],d[u-1],{type:"addMessage",from:d[u-4].actor,to:d[u-1].actor,signalType:d[u-3],msg:d[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:d[u-1]}];break;case 66:this.$=[d[u-4],d[u-1],{type:"addMessage",from:d[u-4].actor,to:d[u-1].actor,signalType:d[u-3],msg:d[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:d[u-4]}];break;case 67:this.$=[d[u-3],d[u-1],{type:"addMessage",from:d[u-3].actor,to:d[u-1].actor,signalType:d[u-2],msg:d[u]}];break;case 68:this.$={type:"addParticipant",actor:d[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.DOTTED;break;case 73:this.$=b.LINETYPE.SOLID_CROSS;break;case 74:this.$=b.LINETYPE.DOTTED_CROSS;break;case 75:this.$=b.LINETYPE.SOLID_POINT;break;case 76:this.$=b.LINETYPE.DOTTED_POINT;break;case 77:this.$=b.parseMessage(d[u].trim().substring(1))}},table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:o,14:f,17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},t(A,[2,5]),{9:47,12:12,13:o,14:f,17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},t(A,[2,7]),t(A,[2,8]),t(A,[2,14]),{12:48,50:K,52:U,53:G},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:N},{22:55,70:N},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(A,[2,29]),t(A,[2,30]),{32:[1,61]},{34:[1,62]},t(A,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:N},{22:72,70:N},{22:73,70:N},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:N},{22:88,70:N},{22:89,70:N},{22:90,70:N},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(A,[2,6]),t(A,[2,15]),t(_,[2,9],{10:91}),t(A,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(A,[2,21]),{5:[1,95]},{5:[1,96]},t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,31]),t(A,[2,32]),t(k,r,{7:97}),t(k,r,{7:98}),t(k,r,{7:99}),t(rt,r,{40:100,7:101}),t(tt,r,{42:102,7:103}),t(tt,r,{7:103,42:104}),t(S,r,{45:105,7:106}),t(k,r,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:N},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,71]),t(ht,[2,72]),t(ht,[2,73]),t(ht,[2,74]),t(ht,[2,75]),t(ht,[2,76]),{22:116,70:N},{22:118,58:117,70:N},{70:[2,63]},{70:[2,64]},{56:119,79:ot},{56:121,79:ot},{56:122,79:ot},{56:123,79:ot},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:K,52:U,53:G},{5:[1,129]},t(A,[2,19]),t(A,[2,20]),t(A,[2,22]),t(A,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[1,130],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[1,131],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[1,132],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{16:[1,133]},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[2,46],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,49:[1,134],50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[2,44],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,48:[1,136],50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{16:[1,137]},{16:[1,138]},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[2,42],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,47:[1,139],50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{4:i,5:c,8:8,9:10,12:12,13:o,14:f,16:[1,140],17:15,18:h,21:l,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:E,30:y,31:x,33:v,35:P,36:M,37:D,38:C,39:Y,41:O,43:z,44:H,46:Q,50:K,52:U,53:G,54:Z,59:q,60:j,61:X,62:$,70:N},{15:[1,141]},t(A,[2,49]),{15:[1,142]},t(A,[2,51]),t(A,[2,52]),{22:143,70:N},{22:144,70:N},{56:145,79:ot},{56:146,79:ot},{56:147,79:ot},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(A,[2,16]),t(_,[2,10]),{12:149,50:K,52:U,53:G},t(_,[2,12]),t(_,[2,13]),t(A,[2,18]),t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),{15:[1,150]},t(A,[2,38]),{15:[1,151]},t(A,[2,39]),t(A,[2,40]),{15:[1,152]},t(A,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:ot},{56:156,79:ot},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:N},t(_,[2,11]),t(rt,r,{7:101,40:158}),t(tt,r,{7:103,42:159}),t(S,r,{7:106,45:160}),t(A,[2,48]),t(A,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,L){if(!L.recoverable){var I=new Error(w);throw I.hash=L,I}this.trace(w)},parse:function(w){var I=[0],b=[],R=[null],d=[],_t=this.table,u="",Lt=0,le=0,y0=d.slice.call(arguments,1),F=Object.create(this.lexer),gt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(gt.yy[Wt]=this.yy[Wt]);F.setInput(w,gt.yy),gt.yy.lexer=F,gt.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var qt=F.yylloc;d.push(qt);var lt,T0=F.options&&F.options.ranges;this.parseError="function"==typeof gt.yy.parseError?gt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var J,xt,et,zt,kt,ct,It,Et={};;){if(this.defaultActions[xt=I[I.length-1]]?et=this.defaultActions[xt]:((null===J||typeof J>"u")&&(lt=void 0,"number"!=typeof(lt=b.pop()||F.lex()||1)&&(lt instanceof Array&&(lt=(b=lt).pop()),lt=this.symbols_[lt]||lt),J=lt),et=_t[xt]&&_t[xt][J]),typeof et>"u"||!et.length||!et[0]){var Ht;for(kt in It=[],_t[xt])this.terminals_[kt]&&kt>2&&It.push("'"+this.terminals_[kt]+"'");Ht=F.showPosition?"Parse error on line "+(Lt+1)+":\n"+F.showPosition()+"\nExpecting "+It.join(", ")+", got '"+(this.terminals_[J]||J)+"'":"Parse error on line "+(Lt+1)+": Unexpected "+(1==J?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(Ht,{text:F.match,token:this.terminals_[J]||J,line:F.yylineno,loc:qt,expected:It})}if(et[0]instanceof Array&&et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+xt+", token: "+J);switch(et[0]){case 1:I.push(J),R.push(F.yytext),d.push(F.yylloc),I.push(et[1]),J=null,le=F.yyleng,u=F.yytext,Lt=F.yylineno,qt=F.yylloc;break;case 2:if(Et.$=R[R.length-(ct=this.productions_[et[1]][1])],Et._$={first_line:d[d.length-(ct||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(ct||1)].first_column,last_column:d[d.length-1].last_column},T0&&(Et._$.range=[d[d.length-(ct||1)].range[0],d[d.length-1].range[1]]),typeof(zt=this.performAction.apply(Et,[u,le,Lt,gt.yy,et[1],R,d].concat(y0)))<"u")return zt;ct&&(I=I.slice(0,-1*ct*2),R=R.slice(0,-1*ct),d=d.slice(0,-1*ct)),I.push(this.productions_[et[1]][0]),R.push(Et.$),d.push(Et._$),I.push(_t[I[I.length-2]][I[I.length-1]]);break;case 3:return!0}}return!0}};function Ft(){this.yy={}}return Yt.lexer={EOF:1,parseError:function(L,I){if(!this.yy.parser)throw new Error(L);this.yy.parser.parseError(L,I)},setInput:function(w,L){return this.yy=L||this.yy||{},this._input=w,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},input:function(){var w=this._input[0];return this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w,w.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),w},unput:function(w){var L=w.length,I=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var b=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),I.length-1&&(this.yylineno-=I.length-1);var R=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:I?(I.length===b.length?this.yylloc.first_column:0)+b[b.length-I.length].length-I[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(w){this.unput(this.match.slice(w))},pastInput:function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var w=this.pastInput(),L=new Array(w.length+1).join("-");return w+this.upcomingInput()+"\n"+L+"^"},test_match:function(w,L){var I,b,R;if(this.options.backtrack_lexer&&(R={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&&(R.yylloc.range=this.yylloc.range.slice(0))),(b=w[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=b.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:b?b[b.length-1].length-b[b.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+w[0].length},this.yytext+=w[0],this.match+=w[0],this.matches=w,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(w[0].length),this.matched+=w[0],I=this.performAction.call(this,this.yy,this,L,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),I)return I;if(this._backtrack){for(var d in R)this[d]=R[d];return!1}return!1},next:function(){if(this.done)return this.EOF;var w,L,I,b;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),d=0;dL[0].length)){if(L=I,b=d,this.options.backtrack_lexer){if(!1!==(w=this.test_match(I,R[d])))return w;if(this._backtrack){L=!1;continue}return!1}if(!this.options.flex)break}return L?!1!==(w=this.test_match(L,R[b]))&&w:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(L){this.conditionStack.push(L)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(L){return(L=this.conditionStack.length-1-Math.abs(L||0))>=0?this.conditionStack[L]:"INITIAL"},pushState:function(L){this.begin(L)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(L,I,b,R){switch(b){case 0:case 51:case 64:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return I.yytext=I.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return I.yytext=I.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}},Ft.prototype=Yt,Yt.Parser=Ft,new Ft}());At.parser=At;const ue=At,m=new class pe{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}}(()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),Nt=function(t,e,s,a){let r=m.records.currentBox;const i=m.records.actors[t];if(i){if(m.records.currentBox&&i.box&&m.records.currentBox!==i.box)throw new Error("A same participant should only be defined in one Box: "+i.name+" can't be in '"+i.box.name+"' and in '"+m.records.currentBox.name+"' at the same time.");if(r=i.box?i.box:m.records.currentBox,i.box=r,i&&e===i.name&&null==s)return}(null==s||null==s.text)&&(s={text:e,wrap:null,type:a}),(null==a||null==s.text)&&(s={text:e,wrap:null,type:a}),m.records.actors[t]={box:r,name:e,description:s.text,wrap:void 0===s.wrap&&ut()||!!s.wrap,prevActor:m.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:a||"participant"},m.records.prevActor&&m.records.actors[m.records.prevActor]&&(m.records.actors[m.records.prevActor].nextActor=t),m.records.currentBox&&m.records.currentBox.actorKeys.push(t),m.records.prevActor=t},V=function(t,e,s={text:void 0,wrap:void 0},a,r=!1){if(a===mt.ACTIVE_END&&(t=>{let e,s=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},c}return m.records.messages.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ut()||!!s.wrap,type:a,activate:r}),!0},bt=function(t){return m.records.actors[t]},ut=()=>void 0!==m.records.wrapEnabled?m.records.wrapEnabled:(0,p.c)().sequence.wrap,mt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},Gt=function(t,e,s){const a={actor:t,placement:e,message:s.text,wrap:void 0===s.wrap&&ut()||!!s.wrap},r=[].concat(t,t);m.records.notes.push(a),m.records.messages.push({from:r[0],to:r[1],message:s.text,wrap:void 0===s.wrap&&ut()||!!s.wrap,type:mt.NOTE,placement:e})},Zt=function(t,e){const s=bt(t);try{let a=(0,p.d)(e.text,(0,p.c)());a=a.replace(/&/g,"&"),a=a.replace(/=/g,"="),St(s,JSON.parse(a))}catch(a){p.l.error("error while parsing actor link text",a)}};function St(t,e){if(null==t.links)t.links=e;else for(let s in e)t.links[s]=e[s]}const Xt=function(t,e){const s=bt(t);try{let a=(0,p.d)(e.text,(0,p.c)());Jt(s,JSON.parse(a))}catch(a){p.l.error("error while parsing actor properties text",a)}};function Jt(t,e){if(null==t.properties)t.properties=e;else for(let s in e)t.properties[s]=e[s]}const Qt=function(t,e){const s=bt(t),a=document.getElementById(e.text);try{const i=JSON.parse(a.innerHTML);i.properties&&Jt(s,i.properties),i.links&&St(s,i.links)}catch(r){p.l.error("error while parsing actor details text",r)}},jt=function(t){if(Array.isArray(t))t.forEach(function(e){jt(e)});else switch(t.type){case"sequenceIndex":m.records.messages.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":Nt(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(m.records.actors[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");m.records.lastCreated=t.actor,Nt(t.actor,t.actor,t.description,t.draw),m.records.createdActors[t.actor]=m.records.messages.length;break;case"destroyParticipant":m.records.lastDestroyed=t.actor,m.records.destroyedActors[t.actor]=m.records.messages.length;break;case"activeStart":case"activeEnd":V(t.actor,void 0,void 0,t.signalType);break;case"addNote":Gt(t.actor,t.placement,t.text);break;case"addLinks":Zt(t.actor,t.text);break;case"addALink":!function(t,e){const s=bt(t);try{const c={};let o=(0,p.d)(e.text,(0,p.c)());var a=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var r=o.slice(0,a-1).trim(),i=o.slice(a+1).trim();c[r]=i,St(s,c)}catch(c){p.l.error("error while parsing actor link text",c)}}(t.actor,t.text);break;case"addProperties":Xt(t.actor,t.text);break;case"addDetails":Qt(t.actor,t.text);break;case"addMessage":if(m.records.lastCreated){if(t.to!==m.records.lastCreated)throw new Error("The created participant "+m.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");m.records.lastCreated=void 0}else if(m.records.lastDestroyed){if(t.to!==m.records.lastDestroyed&&t.from!==m.records.lastDestroyed)throw new Error("The destroyed participant "+m.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");m.records.lastDestroyed=void 0}V(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":!function(t){m.records.boxes.push({name:t.text,wrap:void 0===t.wrap&&ut()||!!t.wrap,fill:t.color,actorKeys:[]}),m.records.currentBox=m.records.boxes.slice(-1)[0]}(t.boxData);break;case"boxEnd":!function Ce(){m.records.currentBox=void 0}();break;case"loopStart":V(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":V(void 0,void 0,void 0,t.signalType);break;case"rectStart":V(void 0,void 0,t.color,t.signalType);break;case"optStart":V(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":V(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,p.s)(t.text);break;case"parStart":case"and":V(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":V(void 0,void 0,t.criticalText,t.signalType);break;case"option":V(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":V(void 0,void 0,t.breakText,t.signalType)}},$t={addActor:Nt,addMessage:function(t,e,s,a){m.records.messages.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ut()||!!s.wrap,answer:a})},addSignal:V,addLinks:Zt,addDetails:Qt,addProperties:Xt,autoWrap:ut,setWrap:function(t){m.records.wrapEnabled=t},enableSequenceNumbers:function(){m.records.sequenceNumbersEnabled=!0},disableSequenceNumbers:function(){m.records.sequenceNumbersEnabled=!1},showSequenceNumbers:()=>m.records.sequenceNumbersEnabled,getMessages:function(){return m.records.messages},getActors:function(){return m.records.actors},getCreatedActors:function(){return m.records.createdActors},getDestroyedActors:function(){return m.records.destroyedActors},getActor:bt,getActorKeys:function(){return Object.keys(m.records.actors)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:p.g,getBoxes:function(){return m.records.boxes},getDiagramTitle:p.t,setDiagramTitle:p.q,getConfig:()=>(0,p.c)().sequence,clear:function(){m.reset(),(0,p.v)()},parseMessage:function(t){const e=t.trim(),s={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return p.l.debug("parseMessage:",s),s},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let s=null!=e&&e[1]?e[1].trim():"transparent",a=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",s)||(s="transparent",a=t.trim());else{const r=(new Option).style;r.color=s,r.color!==s&&(s="transparent",a=t.trim())}return{color:s,text:void 0!==a?(0,p.d)(a.replace(/^:?(?:no)?wrap:/,""),(0,p.c)()):void 0,wrap:void 0!==a?null!==a.match(/^:?wrap:/)||null===a.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:mt,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Gt,setAccTitle:p.s,apply:jt,setAccDescription:p.b,getAccDescription:p.a,hasAtLeastOneBox:function(){return m.records.boxes.length>0},hasAtLeastOneBoxWithTitle:function(){return m.records.boxes.some(t=>t.name)}},pt=36,te="actor-top",ee="actor-bottom",Mt=function(t,e){return(0,st.d)(t,e)},vt=function(){var t=(0,W.Z)(function*(e,s,a=null){let r=e.append("foreignObject");const i=yield(0,p.r)(s.text,(0,p.F)()),o=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(r.attr("height",Math.round(o.height)).attr("width",Math.round(o.width)),"noteText"===s.class){const f=e.node().firstChild;f.setAttribute("height",o.height+2*s.textMargin);const h=f.getBBox();r.attr("x",Math.round(h.x+h.width/2-o.width/2)).attr("y",Math.round(h.y+h.height/2-o.height/2))}else if(a){let{startx:f,stopx:h,starty:l}=a;if(f>h){const T=f;f=h,h=T}r.attr("x",Math.round(f+Math.abs(f-h)/2-o.width/2)),r.attr("y","loopText"===s.class?Math.round(l):Math.round(l-o.height))}return[r]});return function(s,a){return t.apply(this,arguments)}}(),yt=function(t,e){let s=0,a=0;const r=e.text.split(p.e.lineBreakRegex),[i,c]=(0,p.D)(e.fontSize);let o=[],f=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(s+a+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(s+a+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[l,T]of r.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==i&&(f=l*i);const E=t.append("text");E.attr("x",e.x),E.attr("y",h()),void 0!==e.anchor&&E.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&E.style("font-family",e.fontFamily),void 0!==c&&E.style("font-size",c),void 0!==e.fontWeight&&E.style("font-weight",e.fontWeight),void 0!==e.fill&&E.attr("fill",e.fill),void 0!==e.class&&E.attr("class",e.class),void 0!==e.dy?E.attr("dy",e.dy):0!==f&&E.attr("dy",f);const y=T||p.Z;if(e.tspan){const x=E.append("tspan");x.attr("x",e.x),void 0!==e.fill&&x.attr("fill",e.fill),x.text(y)}else E.text(y);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(a+=(E._groups||E)[0][0].getBBox().height,s=a),o.push(E)}return o},se=function(t,e){const a=t.append("polygon");return a.attr("points",function s(r,i,c,o,f){return r+","+i+" "+(r+c)+","+i+" "+(r+c)+","+(i+o-f)+" "+(r+c-1.2*f)+","+(i+o)+" "+r+","+(i+o)}(e.x,e.y,e.width,e.height,7)),a.attr("class","labelBox"),e.y=e.y+e.height/2,yt(t,e),a};let it=-1;const re=(t,e,s,a)=>{t.select&&s.forEach(r=>{const i=e[r],c=t.select("#actor"+i.actorCnt);!a.mirrorActors&&i.stopy?c.attr("y2",i.stopy+i.height/2):a.mirrorActors&&c.attr("y2",i.stopy)})},Fe=function(){var t=(0,W.Z)(function*(e,s,a,r){const i=r?s.stopy:s.starty,c=s.x+s.width/2,o=i+5,f=e.append("g").lower();var h=f;r||(it++,Object.keys(s.links||{}).length&&!a.forceMenus&&h.attr("onclick",function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"}(`actor${it}_popup`)).attr("cursor","pointer"),h.append("line").attr("id","actor"+it).attr("x1",c).attr("y1",o).attr("x2",c).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),h=f.append("g"),s.actorCnt=it,null!=s.links&&h.attr("id","root-"+it));const l=(0,st.g)();var T="actor";null!=s.properties&&s.properties.class?T=s.properties.class:l.fill="#eaeaea",T+=r?` ${ee}`:` ${te}`,l.x=s.x,l.y=i,l.width=s.width,l.height=s.height,l.class=T,l.rx=3,l.ry=3,l.name=s.name;const E=Mt(h,l);if(s.rectData=l,null!=s.properties&&s.properties.icon){const x=s.properties.icon.trim();"@"===x.charAt(0)?(0,st.b)(h,l.x+l.width-20,l.y+10,x.substr(1)):(0,st.c)(h,l.x+l.width-20,l.y+10,x)}yield Rt(a,(0,p.G)(s.description))(s.description,h,l.x,l.y,l.width,l.height,{class:"actor"},a);let y=s.height;if(E.node){const x=E.node().getBBox();s.height=x.height,y=x.height}return y});return function(s,a,r,i){return t.apply(this,arguments)}}(),We=function(){var t=(0,W.Z)(function*(e,s,a,r){const i=r?s.stopy:s.starty,c=s.x+s.width/2,o=i+80;e.lower(),r||(it++,e.append("line").attr("id","actor"+it).attr("x1",c).attr("y1",o).attr("x2",c).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),s.actorCnt=it);const f=e.append("g");let h="actor-man";h+=r?` ${ee}`:` ${te}`,f.attr("class",h),f.attr("name",s.name);const l=(0,st.g)();l.x=s.x,l.y=i,l.fill="#eaeaea",l.width=s.width,l.height=s.height,l.class="actor",l.rx=3,l.ry=3,f.append("line").attr("id","actor-man-torso"+it).attr("x1",c).attr("y1",i+25).attr("x2",c).attr("y2",i+45),f.append("line").attr("id","actor-man-arms"+it).attr("x1",c-pt/2).attr("y1",i+33).attr("x2",c+pt/2).attr("y2",i+33),f.append("line").attr("x1",c-pt/2).attr("y1",i+60).attr("x2",c).attr("y2",i+45),f.append("line").attr("x1",c).attr("y1",i+45).attr("x2",c+pt/2-2).attr("y2",i+60);const T=f.append("circle");T.attr("cx",s.x+s.width/2),T.attr("cy",i+10),T.attr("r",15),T.attr("width",s.width),T.attr("height",s.height);const E=f.node().getBBox();return s.height=E.height,yield Rt(a,(0,p.G)(s.description))(s.description,f,l.x,l.y+35,l.width,l.height,{class:"actor"},a),s.height});return function(s,a,r,i){return t.apply(this,arguments)}}(),qe=function(){var t=(0,W.Z)(function*(e,s,a,r){switch(s.type){case"actor":return yield We(e,s,a,r);case"participant":return yield Fe(e,s,a,r)}});return function(s,a,r,i){return t.apply(this,arguments)}}(),ze=function(){var t=(0,W.Z)(function*(e,s,a){const i=e.append("g");ie(i,s),s.name&&(yield Rt(a)(s.name,i,s.x,s.y+(s.textMaxHeight||0)/2,s.width,0,{class:"text"},a)),i.lower()});return function(s,a,r){return t.apply(this,arguments)}}(),Ue=function(){var t=(0,W.Z)(function*(e,s,a,r){const{boxMargin:i,boxTextMargin:c,labelBoxHeight:o,labelBoxWidth:f,messageFontFamily:h,messageFontSize:l,messageFontWeight:T}=r,E=e.append("g"),y=function(P,M,D,C){return E.append("line").attr("x1",P).attr("y1",M).attr("x2",D).attr("y2",C).attr("class","loopLine")};y(s.startx,s.starty,s.stopx,s.starty),y(s.stopx,s.starty,s.stopx,s.stopy),y(s.startx,s.stopy,s.stopx,s.stopy),y(s.startx,s.starty,s.startx,s.stopy),void 0!==s.sections&&s.sections.forEach(function(P){y(s.startx,P.y,s.stopx,P.y).style("stroke-dasharray","3, 3")});let x=(0,st.e)();x.text=a,x.x=s.startx,x.y=s.starty,x.fontFamily=h,x.fontSize=l,x.fontWeight=T,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=f||50,x.height=o||20,x.textMargin=c,x.class="labelText",se(E,x),x=ne(),x.text=s.title,x.x=s.startx+f/2+(s.stopx-s.startx)/2,x.y=s.starty+i+c,x.anchor="middle",x.valign="middle",x.textMargin=c,x.class="loopText",x.fontFamily=h,x.fontSize=l,x.fontWeight=T,x.wrap=!0;let v=(0,p.G)(x.text)?yield vt(E,x,s):yt(E,x);if(void 0!==s.sectionTitles)for(const[P,M]of Object.entries(s.sectionTitles))if(M.message){x.text=M.message,x.x=s.startx+(s.stopx-s.startx)/2,x.y=s.sections[P].y+i+c,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=h,x.fontSize=l,x.fontWeight=T,x.wrap=s.wrap,(0,p.G)(x.text)?(s.starty=s.sections[P].y,yield vt(E,x,s)):yt(E,x);let D=Math.round(v.map(C=>(C._groups||C)[0][0].getBBox().height).reduce((C,Y)=>C+Y));s.sections[P].height+=D-(i+c)}return s.height=Math.round(s.stopy-s.starty),E});return function(s,a,r,i){return t.apply(this,arguments)}}(),ie=function(t,e){(0,st.a)(t,e)},ne=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Rt=function(){function t(c,o,f,h,l,T,E){i(o.append("text").attr("x",f+l/2).attr("y",h+T/2+5).style("text-anchor","middle").text(c),E)}function e(c,o,f,h,l,T,E,y){const{actorFontSize:x,actorFontFamily:v,actorFontWeight:P}=y,[M,D]=(0,p.D)(x),C=c.split(p.e.lineBreakRegex);for(let Y=0;Ys?o.width:s;const E=h.append("rect");if(E.attr("class","actorPopupMenuPanel"+l),E.attr("x",o.x),E.attr("y",o.height),E.attr("fill",o.fill),E.attr("stroke",o.stroke),E.attr("width",T),E.attr("height",o.height),E.attr("rx",o.rx),E.attr("ry",o.ry),null!=i){var y=20;for(let P in i){var x=h.append("a"),v=(0,Ut.N)(i[P]);x.attr("xlink:href",v),x.attr("target","_blank"),e0(a)(P,x,o.x+10,o.height+y,T,20,{class:"actor"},a),y+=30}}return E.attr("height",y),{height:o.height+y,width:T}},anchorElement:function(t){return t.append("g")},drawActivation:function(t,e,s,a,r){const i=(0,st.g)(),c=e.anchored;i.x=e.startx,i.y=e.starty,i.class="activation"+r%3,i.width=e.stopx-e.startx,i.height=s-e.starty,Mt(c,i)},drawLoop:Ue,drawBackgroundRect:ie,insertArrowHead:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},insertArrowFilledHead:function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},insertSequenceNumber:function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},insertArrowCrossHead:function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},insertDatabaseIcon:function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},insertComputerIcon:function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},insertClockIcon:function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},getTextObj:ne,getNoteRect:function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},fixLifeLineHeights:re,sanitizeUrl:Ut.N};let n={};const g={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,oe((0,p.c)())},updateVal:function(t,e,s,a){t[e]=void 0===t[e]?s:a(s,t[e])},updateBounds:function(t,e,s,a){const r=this;let i=0;function c(o){return function(h){i++;const l=r.sequenceItems.length-i+1;r.updateVal(h,"starty",e-l*n.boxMargin,Math.min),r.updateVal(h,"stopy",a+l*n.boxMargin,Math.max),r.updateVal(g.data,"startx",t-l*n.boxMargin,Math.min),r.updateVal(g.data,"stopx",s+l*n.boxMargin,Math.max),"activation"!==o&&(r.updateVal(h,"startx",t-l*n.boxMargin,Math.min),r.updateVal(h,"stopx",s+l*n.boxMargin,Math.max),r.updateVal(g.data,"starty",e-l*n.boxMargin,Math.min),r.updateVal(g.data,"stopy",a+l*n.boxMargin,Math.max))}}this.sequenceItems.forEach(c()),this.activations.forEach(c("activation"))},insert:function(t,e,s,a){const r=p.e.getMin(t,s),i=p.e.getMax(t,s),c=p.e.getMin(e,a),o=p.e.getMax(e,a);this.updateVal(g.data,"startx",r,Math.min),this.updateVal(g.data,"starty",c,Math.min),this.updateVal(g.data,"stopx",i,Math.max),this.updateVal(g.data,"stopy",o,Math.max),this.updateBounds(r,c,i,o)},newActivation:function(t,e,s){const a=s[t.from.actor],r=Pt(t.from.actor).length||0,i=a.x+a.width/2+(r-1)*n.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+n.activationWidth,stopy:void 0,actor:t.from.actor,anchored:B.anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(s){return s.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:g.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=p.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},s0=function(){var t=(0,W.Z)(function*(e,s){g.bumpVerticalPos(n.boxMargin),s.height=n.boxMargin,s.starty=g.getVerticalPos();const a=(0,st.g)();a.x=s.startx,a.y=s.starty,a.width=s.width||n.width,a.class="note";const r=e.append("g"),i=B.drawRect(r,a),c=(0,st.e)();c.x=s.startx,c.y=s.starty,c.width=a.width,c.dy="1em",c.text=s.message,c.class="noteText",c.fontFamily=n.noteFontFamily,c.fontSize=n.noteFontSize,c.fontWeight=n.noteFontWeight,c.anchor=n.noteAlign,c.textMargin=n.noteMargin,c.valign="center";const o=(0,p.G)(c.text)?yield vt(r,c):yt(r,c),f=Math.round(o.map(h=>(h._groups||h)[0][0].getBBox().height).reduce((h,l)=>h+l));i.attr("height",f+2*n.noteMargin),s.height+=f+2*n.noteMargin,g.bumpVerticalPos(f+2*n.noteMargin),s.stopy=s.starty+f+2*n.noteMargin,s.stopx=s.startx+a.width,g.insert(s.startx,s.starty,s.stopx,s.stopy),g.models.addNote(s)});return function(s,a){return t.apply(this,arguments)}}(),ft=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Tt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Dt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function r0(t,e){return Ct.apply(this,arguments)}function Ct(){return(Ct=(0,W.Z)(function*(t,e){g.bumpVerticalPos(10);const{startx:s,stopx:a,message:r}=e,i=p.e.splitBreaks(r).length,c=(0,p.G)(r),o=c?yield(0,p.H)(r,(0,p.c)()):p.u.calculateTextDimensions(r,ft(n));if(!c){const T=o.height/i;e.height+=T,g.bumpVerticalPos(T)}let f,h=o.height-10;const l=o.width;if(s===a){f=g.getVerticalPos()+h,n.rightAngles||(h+=n.boxMargin,f=g.getVerticalPos()+h),h+=30;const T=p.e.getMax(l/2,n.width/2);g.insert(s-T,g.getVerticalPos()-10+h,a+T,g.getVerticalPos()+30+h)}else h+=n.boxMargin,f=g.getVerticalPos()+h,g.insert(s,f-10,a,f);return g.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,g.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),f})).apply(this,arguments)}const i0=function(){var t=(0,W.Z)(function*(e,s,a,r){const{startx:i,stopx:c,starty:o,message:f,type:h,sequenceIndex:l,sequenceVisible:T}=s,E=p.u.calculateTextDimensions(f,ft(n)),y=(0,st.e)();y.x=i,y.y=o+10,y.width=c-i,y.class="messageText",y.dy="1em",y.text=f,y.fontFamily=n.messageFontFamily,y.fontSize=n.messageFontSize,y.fontWeight=n.messageFontWeight,y.anchor=n.messageAlign,y.valign="center",y.textMargin=n.wrapPadding,y.tspan=!1,(0,p.G)(y.text)?yield vt(e,y,{startx:i,stopx:c,starty:a}):yt(e,y);const x=E.width;let v;i===c?v=n.rightAngles?e.append("path").attr("d",`M ${i},${a} H ${i+p.e.getMax(n.width/2,x/2)} V ${a+25} H ${i}`):e.append("path").attr("d","M "+i+","+a+" C "+(i+60)+","+(a-10)+" "+(i+60)+","+(a+30)+" "+i+","+(a+20)):(v=e.append("line"),v.attr("x1",i),v.attr("y1",a),v.attr("x2",c),v.attr("y2",a)),h===r.db.LINETYPE.DOTTED||h===r.db.LINETYPE.DOTTED_CROSS||h===r.db.LINETYPE.DOTTED_POINT||h===r.db.LINETYPE.DOTTED_OPEN?(v.style("stroke-dasharray","3, 3"),v.attr("class","messageLine1")):v.attr("class","messageLine0");let P="";n.arrowMarkerAbsolute&&(P=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,P=P.replace(/\(/g,"\\("),P=P.replace(/\)/g,"\\)")),v.attr("stroke-width",2),v.attr("stroke","none"),v.style("fill","none"),(h===r.db.LINETYPE.SOLID||h===r.db.LINETYPE.DOTTED)&&v.attr("marker-end","url("+P+"#arrowhead)"),(h===r.db.LINETYPE.SOLID_POINT||h===r.db.LINETYPE.DOTTED_POINT)&&v.attr("marker-end","url("+P+"#filled-head)"),(h===r.db.LINETYPE.SOLID_CROSS||h===r.db.LINETYPE.DOTTED_CROSS)&&v.attr("marker-end","url("+P+"#crosshead)"),(T||n.showSequenceNumbers)&&(v.attr("marker-start","url("+P+"#sequencenumber)"),e.append("text").attr("x",i).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(l))});return function(s,a,r,i){return t.apply(this,arguments)}}(),n0=function(){var t=(0,W.Z)(function*(e,s,a,r,i,c,o){let l,f=0,h=0,T=0;for(const E of r){const y=s[E],x=y.box;l&&l!=x&&(o||g.models.addBox(l),h+=n.boxMargin+l.margin),x&&x!=l&&(o||(x.x=f+h,x.y=i),h+=x.margin),y.width=y.width||n.width,y.height=p.e.getMax(y.height||n.height,n.height),y.margin=y.margin||n.actorMargin,T=p.e.getMax(T,y.height),a[y.name]&&(h+=y.width/2),y.x=f+h,y.starty=g.getVerticalPos(),g.insert(y.x,i,y.x+y.width,y.height),f+=y.width+h,y.box&&(y.box.width=f+x.margin-y.box.x),h=y.margin,l=y.box,g.models.addActor(y)}l&&!o&&g.models.addBox(l),g.bumpVerticalPos(T)});return function(s,a,r,i,c,o,f){return t.apply(this,arguments)}}(),Ot=function(){var t=(0,W.Z)(function*(e,s,a,r){if(r){let i=0;g.bumpVerticalPos(2*n.boxMargin);for(const c of a){const o=s[c];o.stopy||(o.stopy=g.getVerticalPos());const f=yield B.drawActor(e,o,n,!0);i=p.e.getMax(i,f)}g.bumpVerticalPos(i+n.boxMargin)}else for(const i of a){const c=s[i];yield B.drawActor(e,c,n,!1)}});return function(s,a,r,i){return t.apply(this,arguments)}}(),ae=function(t,e,s,a){let r=0,i=0;for(const c of s){const o=e[c],f=l0(o),h=B.drawPopup(t,o,f,n,n.forceMenus,a);h.height>r&&(r=h.height),h.width+o.x>i&&(i=h.width+o.x)}return{maxHeight:r,maxWidth:i}},oe=function(t){(0,p.f)(n,t),t.fontFamily&&(n.actorFontFamily=n.noteFontFamily=n.messageFontFamily=t.fontFamily),t.fontSize&&(n.actorFontSize=n.noteFontSize=n.messageFontSize=t.fontSize),t.fontWeight&&(n.actorFontWeight=n.noteFontWeight=n.messageFontWeight=t.fontWeight)},Pt=function(t){return g.activations.filter(function(e){return e.actor===t})},ce=function(t,e){const s=e[t],a=Pt(t);return[a.reduce(function(c,o){return p.e.getMin(c,o.startx)},s.x+s.width/2-1),a.reduce(function(c,o){return p.e.getMax(c,o.stopx)},s.x+s.width/2+1)]};function nt(t,e,s,a,r){g.bumpVerticalPos(s);let i=a;if(e.id&&e.message&&t[e.id]){const c=t[e.id].width,o=ft(n);e.message=p.u.wrapLabel(`[${e.message}]`,c-2*n.wrapPadding,o),e.width=c,e.wrap=!0;const f=p.u.calculateTextDimensions(e.message,o),h=p.e.getMax(f.height,n.labelBoxHeight);i=a+h,p.l.debug(`${h} - ${e.message}`)}r(e),g.bumpVerticalPos(i)}function a0(t,e,s,a,r,i,c){function o(h,l){h.x{_.add(k.from),_.add(k.to)}),v=v.filter(k=>_.has(k))}yield n0(l,T,E,v,0,P,!1);const O=yield p0(P,T,Y,r);function z(_,k){const rt=g.endActivation(_);rt.starty+18>k&&(rt.starty=k-6,k+=12),B.drawActivation(l,rt,k,n,Pt(_.from.actor).length),g.insert(rt.startx,k-10,rt.stopx,k)}B.insertArrowHead(l),B.insertArrowCrossHead(l),B.insertArrowFilledHead(l),B.insertSequenceNumber(l);let H=1,Q=1;const K=[],U=[];let G=0;for(const _ of P){let k,rt,tt;switch(_.type){case r.db.LINETYPE.NOTE:g.resetVerticalPos(),rt=_.noteModel,yield s0(l,rt);break;case r.db.LINETYPE.ACTIVE_START:g.newActivation(_,l,T);break;case r.db.LINETYPE.ACTIVE_END:z(_,g.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S));break;case r.db.LINETYPE.LOOP_END:k=g.endLoop(),yield B.drawLoop(l,k,"loop",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;case r.db.LINETYPE.RECT_START:nt(O,_,n.boxMargin,n.boxMargin,S=>g.newLoop(void 0,S.message));break;case r.db.LINETYPE.RECT_END:k=g.endLoop(),U.push(k),g.models.addLoop(k),g.bumpVerticalPos(k.stopy-g.getVerticalPos());break;case r.db.LINETYPE.OPT_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S));break;case r.db.LINETYPE.OPT_END:k=g.endLoop(),yield B.drawLoop(l,k,"opt",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;case r.db.LINETYPE.ALT_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S));break;case r.db.LINETYPE.ALT_ELSE:nt(O,_,n.boxMargin+n.boxTextMargin,n.boxMargin,S=>g.addSectionToLoop(S));break;case r.db.LINETYPE.ALT_END:k=g.endLoop(),yield B.drawLoop(l,k,"alt",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S)),g.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:nt(O,_,n.boxMargin+n.boxTextMargin,n.boxMargin,S=>g.addSectionToLoop(S));break;case r.db.LINETYPE.PAR_END:k=g.endLoop(),yield B.drawLoop(l,k,"par",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;case r.db.LINETYPE.AUTONUMBER:H=_.message.start||H,Q=_.message.step||Q,_.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S));break;case r.db.LINETYPE.CRITICAL_OPTION:nt(O,_,n.boxMargin+n.boxTextMargin,n.boxMargin,S=>g.addSectionToLoop(S));break;case r.db.LINETYPE.CRITICAL_END:k=g.endLoop(),yield B.drawLoop(l,k,"critical",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;case r.db.LINETYPE.BREAK_START:nt(O,_,n.boxMargin,n.boxMargin+n.boxTextMargin,S=>g.newLoop(S));break;case r.db.LINETYPE.BREAK_END:k=g.endLoop(),yield B.drawLoop(l,k,"break",n),g.bumpVerticalPos(k.stopy-g.getVerticalPos()),g.models.addLoop(k);break;default:try{tt=_.msgModel,tt.starty=g.getVerticalPos(),tt.sequenceIndex=H,tt.sequenceVisible=r.db.showSequenceNumbers();const S=yield r0(l,tt);a0(_,tt,S,G,T,E,y),K.push({messageModel:tt,lineStartY:S}),g.models.addMessage(tt)}catch(S){p.l.error("error while drawing message",S)}}[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT].includes(_.type)&&(H+=Q),G++}p.l.debug("createdActors",E),p.l.debug("destroyedActors",y),yield Ot(l,T,v,!1);for(const _ of K)yield i0(l,_.messageModel,_.lineStartY,r);n.mirrorActors&&(yield Ot(l,T,v,!0)),U.forEach(_=>B.drawBackgroundRect(l,_)),re(l,T,v,n);for(const _ of g.models.boxes)_.height=g.getVerticalPos()-_.y,g.insert(_.x,_.y,_.x+_.width,_.height),_.startx=_.x,_.starty=_.y,_.stopx=_.startx+_.width,_.stopy=_.starty+_.height,_.stroke="rgb(0,0,0, 0.5)",yield B.drawBox(l,_,n);D&&g.bumpVerticalPos(n.boxMargin);const Z=ae(l,T,v,h),{bounds:q}=g.getBounds();let j=q.stopy-q.starty;j{const c=ft(n);let o=i.actorKeys.reduce((l,T)=>l+(t[T].width+(t[T].margin||0)),0);o-=2*n.boxTextMargin,i.wrap&&(i.name=p.u.wrapLabel(i.name,o-2*n.wrapPadding,c));const f=p.u.calculateTextDimensions(i.name,c);r=p.e.getMax(f.height,r);const h=p.e.getMax(o,f.width+2*n.wrapPadding);i.margin=n.boxTextMargin,oi.textMaxHeight=r),p.e.getMax(a,n.height)})).apply(this,arguments)}const d0=function(){var t=(0,W.Z)(function*(e,s,a){const r=s[e.from].x,i=s[e.to].x,c=e.wrap&&e.message;let o=(0,p.G)(e.message)?yield(0,p.H)(e.message,(0,p.c)()):p.u.calculateTextDimensions(c?p.u.wrapLabel(e.message,n.width,Tt(n)):e.message,Tt(n));const f={width:c?n.width:p.e.getMax(n.width,o.width+2*n.noteMargin),height:0,startx:s[e.from].x,stopx:0,starty:0,stopy:0,message:e.message};return e.placement===a.db.PLACEMENT.RIGHTOF?(f.width=c?p.e.getMax(n.width,o.width):p.e.getMax(s[e.from].width/2+s[e.to].width/2,o.width+2*n.noteMargin),f.startx=r+(s[e.from].width+n.actorMargin)/2):e.placement===a.db.PLACEMENT.LEFTOF?(f.width=p.e.getMax(c?n.width:s[e.from].width/2+s[e.to].width/2,o.width+2*n.noteMargin),f.startx=r-f.width+(s[e.from].width-n.actorMargin)/2):e.to===e.from?(o=p.u.calculateTextDimensions(c?p.u.wrapLabel(e.message,p.e.getMax(n.width,s[e.from].width),Tt(n)):e.message,Tt(n)),f.width=c?p.e.getMax(n.width,s[e.from].width):p.e.getMax(s[e.from].width,n.width,o.width+2*n.noteMargin),f.startx=r+(s[e.from].width-f.width)/2):(f.width=Math.abs(r+s[e.from].width/2-(i+s[e.to].width/2))+n.actorMargin,f.startx=r2,T=v=>o?-v:v;t.from===t.to?h=f:(t.activate&&!l&&(h+=T(n.activationWidth/2-1)),[s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(h+=T(3)));const E=[a,r,i,c],y=Math.abs(f-h);t.wrap&&t.message&&(t.message=p.u.wrapLabel(t.message,p.e.getMax(y+2*n.wrapPadding,n.width),ft(n)));const x=p.u.calculateTextDimensions(t.message,ft(n));return{width:p.e.getMax(t.wrap?0:x.width+2*n.wrapPadding,y+2*n.wrapPadding,n.width),height:0,startx:f,stopx:h,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,E),toBounds:Math.max.apply(null,E)}},p0=function(){var t=(0,W.Z)(function*(e,s,a,r){const i={},c=[];let o,f,h;for(const l of e){switch(l.id=p.u.random({length:10}),l.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:c.push({id:l.id,msg:l.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:l.message&&(o=c.pop(),i[o.id]=o,i[l.id]=o,c.push(o));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=c.pop(),i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const E=s[l.from?l.from.actor:l.to.actor],y=Pt(l.from?l.from.actor:l.to.actor).length,x=E.x+E.width/2+(y-1)*n.activationWidth/2;g.activations.push({startx:x,stopx:x+n.activationWidth,actor:l.from.actor,enabled:!0})}break;case r.db.LINETYPE.ACTIVE_END:{const E=g.activations.map(y=>y.actor).lastIndexOf(l.from.actor);delete g.activations.splice(E,1)[0]}}void 0!==l.placement?(f=yield d0(l,s,r),l.noteModel=f,c.forEach(E=>{o=E,o.from=p.e.getMin(o.from,f.startx),o.to=p.e.getMax(o.to,f.startx+f.width),o.width=p.e.getMax(o.width,Math.abs(o.from-o.to))-n.labelBoxWidth})):(h=u0(l,s,r),l.msgModel=h,h.startx&&h.stopx&&c.length>0&&c.forEach(E=>{if(o=E,h.startx===h.stopx){const y=s[l.from],x=s[l.to];o.from=p.e.getMin(y.x-h.width/2,y.x-y.width/2,o.from),o.to=p.e.getMax(x.x+h.width/2,x.x+y.width/2,o.to),o.width=p.e.getMax(o.width,Math.abs(o.to-o.from))-n.labelBoxWidth}else o.from=p.e.getMin(h.startx,o.from),o.to=p.e.getMax(h.stopx,o.to),o.width=p.e.getMax(o.width,h.width)-n.labelBoxWidth}))}return g.activations=[],p.l.debug("Loop type widths:",i),i});return function(s,a,r,i){return t.apply(this,arguments)}}(),f0={parser:ue,db:$t,renderer:{bounds:g,drawActors:Ot,drawActorsPopup:ae,setConf:oe,draw:o0},styles:t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,init:({wrap:t})=>{$t.setWrap(t)}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js b/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js deleted file mode 100644 index f3cd9485d42..00000000000 --- a/pkg/apiserver-impl/ui/598.45cf43e9a099cc7e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[598],{5598:(l,E,_)=>{_.r(E),_.d(E,{diagram:()=>M});var a=_(4976),s=_(4724),d=_(855);_(5703),_(6780),_(2735),_(8814),_(9006),_(7416),_(1764);const M={parser:a.p,db:a.f,renderer:s.f,styles:s.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,(0,d.f)({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),s.f.setConf(r.flowchart),a.f.clear(),a.f.setGen("gen-2")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js b/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js deleted file mode 100644 index fc2885f8d84..00000000000 --- a/pkg/apiserver-impl/ui/6.e9c32fa3193aa48e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[6],{9006:(x,m,r)=>{r.d(m,{bK:()=>Ra});var u=r(6391),g=r(8917),f=r(6947),Z=r(145),l=r(6224),h=r(2957),E=r(1256),b=r(8814);class P{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return C(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&C(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,a=t._prev;a!==t;)e.push(JSON.stringify(a,R)),a=a._prev;return"["+e.join(", ")+"]"}}function C(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function R(n,e){if("_next"!==n&&"_prev"!==n)return e}var y=Z.Z(1);function S(n,e,t,a,s){var i=s?[]:void 0;return u.Z(n.inEdges(a.v),function(o){var d=n.edge(o),c=n.node(o.v);s&&i.push({v:o.v,w:o.w}),c.out-=d,j(e,t,c)}),u.Z(n.outEdges(a.v),function(o){var d=n.edge(o),p=n.node(o.w);p.in-=d,j(e,t,p)}),n.removeNode(a.v),i}function j(n,e,t){t.out?t.in?n[t.out-t.in+e].enqueue(t):n[n.length-1].enqueue(t):n[0].enqueue(t)}function q(n){var e="greedy"===n.graph().acyclicer?function L(n,e){if(n.nodeCount()<=1)return[];var t=function Y(n,e){var t=new b.k,a=0,s=0;u.Z(n.nodes(),function(d){t.setNode(d,{v:d,in:0,out:0})}),u.Z(n.edges(),function(d){var c=t.edge(d.v,d.w)||0,p=e(d);t.setEdge(d.v,d.w,c+p),s=Math.max(s,t.node(d.v).out+=p),a=Math.max(a,t.node(d.w).in+=p)});var i=E.Z(s+a+3).map(function(){return new P}),o=a+1;return u.Z(t.nodes(),function(d){j(i,o,t.node(d))}),{graph:t,buckets:i,zeroIdx:o}}(n,e||y),a=function M(n,e,t){for(var o,a=[],s=e[e.length-1],i=e[0];n.nodeCount();){for(;o=i.dequeue();)S(n,e,t,o);for(;o=s.dequeue();)S(n,e,t,o);if(n.nodeCount())for(var d=e.length-2;d>0;--d)if(o=e[d].dequeue()){a=a.concat(S(n,e,t,o,!0));break}}return a}(t.graph,t.buckets,t.zeroIdx);return l.Z(h.Z(a,function(s){return n.outEdges(s.v,s.w)}))}(n,function t(a){return function(s){return a.edge(s).weight}}(n)):function nn(n){var e=[],t={},a={};return u.Z(n.nodes(),function s(i){f.Z(a,i)||(a[i]=!0,t[i]=!0,u.Z(n.outEdges(i),function(o){f.Z(t,o.w)?e.push(o):s(o.w)}),delete t[i])}),e}(n);u.Z(e,function(a){var s=n.edge(a);n.removeEdge(a),s.forwardName=a.name,s.reversed=!0,n.setEdge(a.w,a.v,s,g.Z("rev"))})}var W=r(5343),sn=r(3496),wn=r(3093);const pn=function vn(n,e,t){(void 0!==t&&!(0,wn.Z)(n[e],t)||void 0===t&&!(e in n))&&(0,sn.Z)(n,e,t)};var On=r(139),An=r(634),ln=r(9376),mn=r(8297),Tn=r(3121),Dn=r(4825),xn=r(4177),Vn=r(7118),le=r(5202),_e=r(2089),ee=r(1999),$n=r(2031),he=r(7583);const _n=function Jn(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var Kn=r(3276),Bn=r(571);const Nn=function Rn(n,e,t,a,s,i,o){var d=_n(n,t),c=_n(e,t),p=o.get(c);if(p)pn(n,t,p);else{var O=i?i(d,c,t+"",n,e,o):void 0,D=void 0===O;if(D){var N=(0,xn.Z)(c),V=!N&&(0,le.Z)(c),Q=!N&&!V&&(0,he.Z)(c);O=c,N||V||Q?(0,xn.Z)(d)?O=d:(0,Vn.Z)(d)?O=(0,mn.Z)(d):V?(D=!1,O=(0,An.Z)(c,!0)):Q?(D=!1,O=(0,ln.Z)(c,!0)):O=[]:(0,$n.Z)(c)||(0,Dn.Z)(c)?(O=d,(0,Dn.Z)(d)?O=function te(n){return(0,Kn.Z)(n,(0,Bn.Z)(n))}(d):(!(0,ee.Z)(d)||(0,_e.Z)(d))&&(O=(0,Tn.Z)(c))):D=!1}D&&(o.set(c,O),s(O,c,a,i,o),o.delete(c)),pn(n,t,O)}},G=function Wn(n,e,t,a,s){n!==e&&(0,On.Z)(e,function(i,o){if(s||(s=new W.Z),(0,ee.Z)(i))Nn(n,e,o,t,Wn,a,s);else{var d=a?a(_n(n,o),i,o+"",n,e,s):void 0;void 0===d&&(d=i),pn(n,o,d)}},Bn.Z)};var v=r(7965),T=r(4810);const $=function B(n){return(0,v.Z)(function(e,t){var a=-1,s=t.length,i=s>1?t[s-1]:void 0,o=s>2?t[2]:void 0;for(i=n.length>3&&"function"==typeof i?(s--,i):void 0,o&&(0,T.Z)(t[0],t[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++ae};var ve=r(9940);const Sn=function Me(n){return n&&n.length?yn(n,ve.Z,Ie):void 0},re=function ge(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var we=r(7607),Gn=r(4380);const ae=function pe(n,e){var t={};return e=(0,Gn.Z)(e,3),(0,we.Z)(n,function(a,s,i){(0,sn.Z)(t,s,e(a,s,i))}),t};var Cn=r(9948);const se=function me(n,e){return nMath.abs(s)*d?(i<0&&(d=-d),c=d*s/i,p=d):(s<0&&(o=-o),c=o,p=o*i/s),{x:t+c,y:a+p}}function oe(n){var e=h.Z(E.Z(X(n)+1),function(){return[]});return u.Z(n.nodes(),function(t){var a=n.node(t),s=a.rank;Cn.Z(s)||(e[s][a.order]=t)}),e}function K(n,e,t,a){var s={width:0,height:0};return arguments.length>=4&&(s.rank=t,s.order=a),Yn(n,"border",s,e)}function X(n){return Sn(h.Z(n.nodes(),function(e){var t=n.node(e).rank;if(!Cn.Z(t))return t}))}function H(n,e){var t=be();try{return e()}finally{console.log(n+" time: "+(be()-t)+"ms")}}function un(n,e){return e()}function on(n,e,t,a,s,i){var d=s[e][i-1],c=Yn(n,"border",{width:0,height:0,rank:i,borderType:e},t);s[e][i]=c,n.setParent(c,a),d&&n.setEdge(d,c,{weight:1})}function cn(n){u.Z(n.nodes(),function(e){an(n.node(e))}),u.Z(n.edges(),function(e){an(n.edge(e))})}function an(n){var e=n.width;n.width=n.height,n.height=e}function hn(n){n.y=-n.y}function Ln(n){var e=n.x;n.x=n.y,n.y=e}const zn=function ue(n,e){return n&&n.length?yn(n,(0,Gn.Z)(e,2),se):void 0};function Se(n){var e={};u.Z(n.sources(),function t(a){var s=n.node(a);if(f.Z(e,a))return s.rank;e[a]=!0;var i=Xn(h.Z(n.outEdges(a),function(o){return t(o.w)-n.edge(o).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),s.rank=i})}function Ze(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function je(n){var s,i,e=new b.k({directed:!1}),t=n.nodes()[0],a=n.nodeCount();for(e.setNode(t,{});He(e,n)-1?s[i?e[o]:o]:void 0}}(function bn(n,e,t){var a=null==n?0:n.length;if(!a)return-1;var s=null==t?0:function de(n){var e=(0,En.Z)(n),t=e%1;return e==e?t?e-t:e:0}(t);return s<0&&(s=Hn(a+s,0)),(0,k.Z)(n,(0,Gn.Z)(e,3),s)});var fe=r(8736);Z.Z(1),Z.Z(1),r(4884),r(7183),r(7079),r(214),(0,r(666).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var it="\\ud800-\\udfff",nr="["+it+"]",ke="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",qe="\\ud83c[\\udffb-\\udfff]",ot="[^"+it+"]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",dt="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="(?:"+ke+"|"+qe+")?",ct="[\\ufe0e\\ufe0f]?",ar=ct+ft+"(?:\\u200d(?:"+[ot,ut,dt].join("|")+")"+ct+ft+")*",sr="(?:"+[ot+ke+"?",ke,ut,dt,nr].join("|")+")";function _t(n,e,t){xn.Z(e)||(e=[e]);var a=(n.isDirected()?n.successors:n.neighbors).bind(n),s=[],i={};return u.Z(e,function(o){if(!n.hasNode(o))throw new Error("Graph does not have node: "+o);ht(n,o,"post"===t,i,a,s)}),s}function ht(n,e,t,a,s,i){f.Z(a,e)||(a[e]=!0,t||i.push(e),u.Z(s(e),function(o){ht(n,o,t,a,s,i)}),t&&i.push(e))}function Ee(n){n=function xe(n){var e=(new b.k).setGraph(n.graph());return u.Z(n.nodes(),function(t){e.setNode(t,n.node(t))}),u.Z(n.edges(),function(t){var a=e.edge(t.v,t.w)||{weight:0,minlen:1},s=n.edge(t);e.setEdge(t.v,t.w,{weight:a.weight+s.weight,minlen:Math.max(a.minlen,s.minlen)})}),e}(n),Se(n);var t,e=je(n);for(et(e),nt(e,n);t=Et(e);)pt(e,n,t,gt(e,n,t))}function nt(n,e){var t=function vr(n,e){return _t(n,e,"post")}(n,n.nodes());t=t.slice(0,t.length-1),u.Z(t,function(a){!function Er(n,e,t){var a=n.node(t);n.edge(t,a.parent).cutvalue=vt(n,e,t)}(n,e,a)})}function vt(n,e,t){var s=n.node(t).parent,i=!0,o=e.edge(t,s),d=0;return o||(i=!1,o=e.edge(s,t)),d=o.weight,u.Z(e.nodeEdges(t),function(c){var p=c.v===t,O=p?c.w:c.v;if(O!==s){var D=p===i,N=e.edge(c).weight;if(d+=D?N:-N,function pr(n,e,t){return n.hasEdge(e,t)}(n,t,O)){var V=n.edge(t,O).cutvalue;d+=D?-V:V}}}),d}function et(n,e){arguments.length<2&&(e=n.nodes()[0]),Zt(n,{},1,e)}function Zt(n,e,t,a,s){var i=t,o=n.node(a);return e[a]=!0,u.Z(n.neighbors(a),function(d){f.Z(e,d)||(t=Zt(n,e,t,d,a))}),o.low=i,o.lim=t++,s?o.parent=s:delete o.parent,t}function Et(n){return Fe(n.edges(),function(e){return n.edge(e).cutvalue<0})}function gt(n,e,t){var a=t.v,s=t.w;e.hasEdge(a,s)||(a=t.w,s=t.v);var i=n.node(a),o=n.node(s),d=i,c=!1;i.lim>o.lim&&(d=o,c=!0);var p=fe.Z(e.edges(),function(O){return c===mt(0,n.node(O.v),d)&&c!==mt(0,n.node(O.w),d)});return zn(p,function(O){return Ze(e,O)})}function pt(n,e,t,a){n.removeEdge(t.v,t.w),n.setEdge(a.v,a.w,{}),et(n),nt(n,e),function gr(n,e){var t=Fe(n.nodes(),function(s){return!e.node(s).parent}),a=function Zr(n,e){return _t(n,e,"pre")}(n,t);a=a.slice(1),u.Z(a,function(s){var i=n.node(s).parent,o=e.edge(s,i),d=!1;o||(o=e.edge(i,s),d=!0),e.node(s).rank=e.node(i).rank+(d?o.minlen:-o.minlen)})}(n,e)}function mt(n,e,t){return t.low<=e.lim&&e.lim<=t.lim}function mr(n){switch(n.graph().ranker){case"network-simplex":default:!function bt(n){Ee(n)}(n);break;case"tight-tree":!function Pr(n){Se(n),je(n)}(n);break;case"longest-path":br(n)}}RegExp(qe+"(?="+qe+")|"+sr+ar,"g"),new Error,r(1595),Ee.initLowLimValues=et,Ee.initCutValues=nt,Ee.calcCutValue=vt,Ee.leaveEdge=Et,Ee.enterEdge=gt,Ee.exchangeEdges=pt;var br=Se;var Le=r(1412),ze=r(2510);function Or(n){var e=Yn(n,"root",{},"_root"),t=function Ar(n){var e={};function t(a,s){var i=n.children(a);i&&i.length&&u.Z(i,function(o){t(o,s+1)}),e[a]=s}return u.Z(n.children(),function(a){t(a,1)}),e}(n),a=Sn(Le.Z(t))-1,s=2*a+1;n.graph().nestingRoot=e,u.Z(n.edges(),function(o){n.edge(o).minlen*=s});var i=function Tr(n){return ze.Z(n.edges(),function(e,t){return e+n.edge(t).weight},0)}(n)+1;u.Z(n.children(),function(o){Pt(n,e,s,i,a,t,o)}),n.graph().nodeRankFactor=s}function Pt(n,e,t,a,s,i,o){var d=n.children(o);if(d.length){var c=K(n,"_bt"),p=K(n,"_bb"),O=n.node(o);n.setParent(c,o),O.borderTop=c,n.setParent(p,o),O.borderBottom=p,u.Z(d,function(D){Pt(n,e,t,a,s,i,D);var N=n.node(D),V=N.borderTop?N.borderTop:D,Q=N.borderBottom?N.borderBottom:D,gn=N.borderTop?a:2*a,Ne=V!==Q?1:s-i[o]+1;n.setEdge(c,V,{weight:gn,minlen:Ne,nestingEdge:!0}),n.setEdge(Q,p,{weight:gn,minlen:Ne,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,c,{weight:0,minlen:s+i[o]})}else o!==e&&n.setEdge(e,o,{weight:0,minlen:t})}var Cr=r(4258);const wr=function Mr(n){return(0,Cr.Z)(n,5)};var Br=r(6198);const Kr=function Fr(n,e){return function Sr(n,e,t){for(var a=-1,s=n.length,i=e.length,o={};++ae||i&&o&&c&&!d&&!p||a&&o&&c||!t&&c||!s)return 1;if(!a&&!i&&!p&&n=d?c:c*("desc"==t[a]?-1:1)}return n.index-e.index}(i,o,t)})},Ke=(0,v.Z)(function(n,e){if(null==n)return[];var t=e.length;return t>1&&(0,T.Z)(n,e[0],e[1])?e=[]:t>2&&(0,T.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Qr(n,(0,Nr.Z)(e,1),[])});function qr(n,e){for(var t=0,a=1;a0;)O%2&&(D+=d[O+1]),d[O=O-1>>1]+=p.weight;c+=p.weight*D})),c}function Ot(n,e,t){for(var a;e.length&&(a=re(e)).i<=t;)e.pop(),n.push(a.vs),t++;return t}function At(n,e,t,a){var s=n.children(e),i=n.node(e),o=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,c={};o&&(s=fe.Z(s,function(Q){return Q!==o&&Q!==d}));var p=function ta(n,e){return h.Z(e,function(t){var a=n.inEdges(t);if(a.length){var s=ze.Z(a,function(i,o){var d=n.edge(o),c=n.node(o.v);return{sum:i.sum+d.weight*c.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:t,barycenter:s.sum/s.weight,weight:s.weight}}return{v:t}})}(n,s);u.Z(p,function(Q){if(n.children(Q.v).length){var gn=At(n,Q.v,t,a);c[Q.v]=gn,f.Z(gn,"barycenter")&&function da(n,e){Cn.Z(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}(Q,gn)}});var O=function ra(n,e){var t={};return u.Z(n,function(s,i){var o=t[s.v]={indegree:0,in:[],out:[],vs:[s.v],i};Cn.Z(s.barycenter)||(o.barycenter=s.barycenter,o.weight=s.weight)}),u.Z(e.edges(),function(s){var i=t[s.v],o=t[s.w];!Cn.Z(i)&&!Cn.Z(o)&&(o.indegree++,i.out.push(t[s.w]))}),function aa(n){var e=[];function t(i){return function(o){o.merged||(Cn.Z(o.barycenter)||Cn.Z(i.barycenter)||o.barycenter>=i.barycenter)&&function sa(n,e){var t=0,a=0;n.weight&&(t+=n.barycenter*n.weight,a+=n.weight),e.weight&&(t+=e.barycenter*e.weight,a+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=t/a,n.weight=a,n.i=Math.min(e.i,n.i),e.merged=!0}(i,o)}}function a(i){return function(o){o.in.push(i),0==--o.indegree&&n.push(o)}}for(;n.length;){var s=n.pop();e.push(s),u.Z(s.in.reverse(),t(s)),u.Z(s.out,a(s))}return h.Z(fe.Z(e,function(i){return!i.merged}),function(i){return J.Z(i,["vs","i","barycenter","weight"])})}(fe.Z(t,function(s){return!s.indegree}))}(p,t);!function ua(n,e){u.Z(n,function(t){t.vs=l.Z(t.vs.map(function(a){return e[a]?e[a].vs:a}))})}(O,c);var D=function ia(n,e){var t=function tn(n,e){var t={lhs:[],rhs:[]};return u.Z(n,function(a){e(a)?t.lhs.push(a):t.rhs.push(a)}),t}(n,function(O){return f.Z(O,"barycenter")}),a=t.lhs,s=Ke(t.rhs,function(O){return-O.i}),i=[],o=0,d=0,c=0;a.sort(function oa(n){return function(e,t){return e.barycentert.barycenter?1:n?t.i-e.i:e.i-t.i}}(!!e)),c=Ot(i,s,c),u.Z(a,function(O){c+=O.vs.length,i.push(O.vs),o+=O.barycenter*O.weight,d+=O.weight,c=Ot(i,s,c)});var p={vs:l.Z(i)};return d&&(p.barycenter=o/d,p.weight=d),p}(O,a);if(o&&(D.vs=l.Z([o,D.vs,d]),n.predecessors(o).length)){var N=n.node(n.predecessors(o)[0]),V=n.node(n.predecessors(d)[0]);f.Z(D,"barycenter")||(D.barycenter=0,D.weight=0),D.barycenter=(D.barycenter*D.weight+N.order+V.order)/(D.weight+2),D.weight+=2}return D}function Tt(n,e,t){return h.Z(e,function(a){return function Rr(n,e,t){var a=function xr(n){for(var e;n.hasNode(e=g.Z("_root")););return e}(n),s=new b.k({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(i){return n.node(i)});return u.Z(n.nodes(),function(i){var o=n.node(i),d=n.parent(i);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(s.setNode(i),s.setParent(i,d||a),u.Z(n[t](i),function(c){var p=c.v===i?c.w:c.v,O=s.edge(p,i),D=Cn.Z(O)?0:O.weight;s.setEdge(p,i,{weight:n.edge(c).weight+D})}),f.Z(o,"minRank")&&s.setNode(i,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),s}(n,a,t)})}function ca(n,e){var t=new b.k;u.Z(n,function(a){var s=a.graph().root,i=At(a,s,t,e);u.Z(i.vs,function(o,d){a.node(o).order=d}),function Dr(n,e,t){var s,a={};u.Z(t,function(i){for(var d,c,o=n.parent(i);o;){if((d=n.parent(o))?(c=a[d],a[d]=o):(c=s,s=o),c&&c!==o)return void e.setEdge(c,o);o=d}})}(a,t,i.vs)})}function yt(n,e){u.Z(e,function(t){u.Z(t,function(a,s){n.node(a).order=s})})}var va=r(5750);const Ea=function Za(n,e){return null==n?n:(0,On.Z)(n,(0,va.Z)(e),Bn.Z)};function Ct(n,e,t){if(e>t){var a=e;e=t,t=a}var s=n[e];s||(n[e]=s={}),s[t]=!0}function ba(n,e,t){if(e>t){var a=e;e=t,t=a}return f.Z(n[e],t)}function La(n){var s,e=oe(n),t=$(function ga(n,e){var t={};return ze.Z(e,function a(s,i){var o=0,d=0,c=s.length,p=re(i);return u.Z(i,function(O,D){var N=function ma(n,e){if(n.node(e).dummy)return Fe(n.predecessors(e),function(t){return n.node(t).dummy})}(n,O),V=N?n.node(N).order:c;(N||O===p)&&(u.Z(i.slice(d,D+1),function(Q){u.Z(n.predecessors(Q),function(gn){var Ne=n.node(gn),Lt=Ne.order;(Ltp)&&Ct(t,N,O)})})}return ze.Z(e,function s(i,o){var c,d=-1,p=0;return u.Z(o,function(O,D){if("border"===n.node(O).dummy){var N=n.predecessors(O);N.length&&(c=n.node(N[0]).order,a(o,p,D,d,c),p=D,d=c)}a(o,p,o.length,c,i.length)}),o}),t}(n,e)),a={};u.Z(["u","d"],function(o){s="u"===o?e:Le.Z(e).reverse(),u.Z(["l","r"],function(d){"r"===d&&(s=h.Z(s,function(D){return Le.Z(D).reverse()}));var c=("u"===o?n.predecessors:n.successors).bind(n),p=function Pa(n,e,t,a){var s={},i={},o={};return u.Z(e,function(d){u.Z(d,function(c,p){s[c]=c,i[c]=c,o[c]=p})}),u.Z(e,function(d){var c=-1;u.Z(d,function(p){var O=a(p);if(O.length)for(var D=((O=Ke(O,function(gn){return o[gn]})).length-1)/2,N=Math.floor(D),V=Math.ceil(D);N<=V;++N){var Q=O[N];i[p]===p&&co||d>e[c].lim));for(p=c,c=a;(c=n.parent(c))!==p;)i.push(c);return{path:s.concat(i.reverse()),lca:p}}(n,e,s.v,s.w),o=i.path,d=i.lca,c=0,p=o[c],O=!0;t!==s.w;){if(a=n.node(t),O){for(;(p=o[c])!==d&&n.node(p).maxRank=2);var p=qr(n,s=oe(n));p{r.d(m,{k:()=>Bn});var u=r(6947),g=r(145),f=r(2089),Z=r(1952),l=r(8736),h=r(9378),E=r(6391),b=r(9948),P=r(113),C=r(7965),R=r(3713),y=r(9009);const M=function L(G){return G!=G},F=function nn(G,v){return!(null==G||!G.length)&&function j(G,v,T){return v==v?function S(G,v,T){for(var B=T-1,U=G.length;++B-1},sn=function W(G,v,T){for(var B=-1,U=null==G?0:G.length;++B=200){var jn=v?null:Tn(G);if(jn)return(0,An.Z)(jn);$=!1,U=wn.Z,dn=new R.Z}else dn=v?[]:J;n:for(;++B1?U.setNode(z,T):U.setNode(z)}),this}setNode(v,T){return u.Z(this._nodes,v)?(arguments.length>1&&(this._nodes[v]=T),this):(this._nodes[v]=arguments.length>1?T:this._defaultNodeLabelFn(v),this._isCompound&&(this._parent[v]="\0",this._children[v]={},this._children["\0"][v]=!0),this._in[v]={},this._preds[v]={},this._out[v]={},this._sucs[v]={},++this._nodeCount,this)}node(v){return this._nodes[v]}hasNode(v){return u.Z(this._nodes,v)}removeNode(v){var T=this;if(u.Z(this._nodes,v)){var B=function(U){T.removeEdge(T._edgeObjs[U])};delete this._nodes[v],this._isCompound&&(this._removeFromParentsChildList(v),delete this._parent[v],E.Z(this.children(v),function(U){T.setParent(U)}),delete this._children[v]),E.Z(Z.Z(this._in[v]),B),delete this._in[v],delete this._preds[v],E.Z(Z.Z(this._out[v]),B),delete this._out[v],delete this._sucs[v],--this._nodeCount}return this}setParent(v,T){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(b.Z(T))T="\0";else{for(var B=T+="";!b.Z(B);B=this.parent(B))if(B===v)throw new Error("Setting "+T+" as parent of "+v+" would create a cycle");this.setNode(T)}return this.setNode(v),this._removeFromParentsChildList(v),this._parent[v]=T,this._children[T][v]=!0,this}_removeFromParentsChildList(v){delete this._children[this._parent[v]][v]}parent(v){if(this._isCompound){var T=this._parent[v];if("\0"!==T)return T}}children(v){if(b.Z(v)&&(v="\0"),this._isCompound){var T=this._children[v];if(T)return Z.Z(T)}else{if("\0"===v)return this.nodes();if(this.hasNode(v))return[]}}predecessors(v){var T=this._preds[v];if(T)return Z.Z(T)}successors(v){var T=this._sucs[v];if(T)return Z.Z(T)}neighbors(v){var T=this.predecessors(v);if(T)return ee(T,this.successors(v))}isLeaf(v){return 0===(this.isDirected()?this.successors(v):this.neighbors(v)).length}filterNodes(v){var T=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});T.setGraph(this.graph());var B=this;E.Z(this._nodes,function($,J){v(J)&&T.setNode(J,$)}),E.Z(this._edgeObjs,function($){T.hasNode($.v)&&T.hasNode($.w)&&T.setEdge($,B.edge($))});var U={};function z($){var J=B.parent($);return void 0===J||T.hasNode(J)?(U[$]=J,J):J in U?U[J]:z(J)}return this._isCompound&&E.Z(T.nodes(),function($){T.setParent($,z($))}),T}setDefaultEdgeLabel(v){return f.Z(v)||(v=g.Z(v)),this._defaultEdgeLabelFn=v,this}edgeCount(){return this._edgeCount}edges(){return $n.Z(this._edgeObjs)}setPath(v,T){var B=this,U=arguments;return he.Z(v,function(z,$){return U.length>1?B.setEdge(z,$,T):B.setEdge(z,$),$}),this}setEdge(){var v,T,B,U,z=!1,$=arguments[0];"object"==typeof $&&null!==$&&"v"in $?(v=$.v,T=$.w,B=$.name,2===arguments.length&&(U=arguments[1],z=!0)):(v=$,T=arguments[1],B=arguments[3],arguments.length>2&&(U=arguments[2],z=!0)),v=""+v,T=""+T,b.Z(B)||(B=""+B);var J=Rn(this._isDirected,v,T,B);if(u.Z(this._edgeLabels,J))return z&&(this._edgeLabels[J]=U),this;if(!b.Z(B)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(v),this.setNode(T),this._edgeLabels[J]=z?U:this._defaultEdgeLabelFn(v,T,B);var dn=function Nn(G,v,T,B){var U=""+v,z=""+T;if(!G&&U>z){var $=U;U=z,z=$}var J={v:U,w:z};return B&&(J.name=B),J}(this._isDirected,v,T,B);return v=dn.v,T=dn.w,Object.freeze(dn),this._edgeObjs[J]=dn,te(this._preds[T],v),te(this._sucs[v],T),this._in[T][J]=dn,this._out[v][J]=dn,this._edgeCount++,this}edge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B);return this._edgeLabels[U]}hasEdge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B);return u.Z(this._edgeLabels,U)}removeEdge(v,T,B){var U=1===arguments.length?Wn(this._isDirected,arguments[0]):Rn(this._isDirected,v,T,B),z=this._edgeObjs[U];return z&&(v=z.v,T=z.w,delete this._edgeLabels[U],delete this._edgeObjs[U],Qn(this._preds[T],v),Qn(this._sucs[v],T),delete this._in[T][U],delete this._out[v][U],this._edgeCount--),this}inEdges(v,T){var B=this._in[v];if(B){var U=$n.Z(B);return T?l.Z(U,function(z){return z.v===T}):U}}outEdges(v,T){var B=this._out[v];if(B){var U=$n.Z(B);return T?l.Z(U,function(z){return z.w===T}):U}}nodeEdges(v,T){var B=this.inEdges(v,T);if(B)return B.concat(this.outEdges(v,T))}}function te(G,v){G[v]?G[v]++:G[v]=1}function Qn(G,v){--G[v]||delete G[v]}function Rn(G,v,T,B){var U=""+v,z=""+T;if(!G&&U>z){var $=U;U=z,z=$}return U+Kn+z+Kn+(b.Z(B)?Jn:B)}function Wn(G,v){return Rn(G,v.v,v.w,v.name)}Bn.prototype._nodeCount=0,Bn.prototype._edgeCount=0},8814:(x,m,r)=>{r.d(m,{k:()=>u.k});var u=r(1595)},3713:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(3639);function E(P){var C=-1,R=null==P?0:P.length;for(this.__data__=new u.Z;++C{r.d(m,{Z:()=>Y});var u=r(2622);var C=r(9329),R=r(3639);function S(j){var q=this.__data__=new u.Z(j);this.size=q.size}S.prototype.clear=function g(){this.__data__=new u.Z,this.size=0},S.prototype.delete=function Z(j){var q=this.__data__,nn=q.delete(j);return this.size=q.size,nn},S.prototype.get=function h(j){return this.__data__.get(j)},S.prototype.has=function b(j){return this.__data__.has(j)},S.prototype.set=function L(j,q){var nn=this.__data__;if(nn instanceof u.Z){var F=nn.__data__;if(!C.Z||F.length<199)return F.push([j,q]),this.size=++nn.size,this;nn=this.__data__=new R.Z(F)}return nn.set(j,q),this.size=nn.size,this};const Y=S},1630:(x,m,r)=>{r.d(m,{Z:()=>f});const f=r(5946).Z.Uint8Array},7585:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length;++l{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length,E=0,b=[];++l{r.d(m,{Z:()=>R});var f=r(4825),Z=r(4177),l=r(5202),h=r(6667),E=r(7583),P=Object.prototype.hasOwnProperty;const R=function C(y,L){var M=(0,Z.Z)(y),S=!M&&(0,f.Z)(y),Y=!M&&!S&&(0,l.Z)(y),j=!M&&!S&&!Y&&(0,E.Z)(y),q=M||S||Y||j,nn=q?function u(y,L){for(var M=-1,S=Array(y);++M{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=null==f?0:f.length,E=Array(h);++l{r.d(m,{Z:()=>g});const g=function u(f,Z){for(var l=-1,h=Z.length,E=f.length;++l{r.d(m,{Z:()=>h});var u=r(3496),g=r(3093),Z=Object.prototype.hasOwnProperty;const h=function l(E,b,P){var C=E[b];(!Z.call(E,b)||!(0,g.Z)(C,P)||void 0===P&&!(b in E))&&(0,u.Z)(E,b,P)}},3496:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(2370);const f=function g(Z,l,h){"__proto__"==l&&u.Z?(0,u.Z)(Z,l,{configurable:!0,enumerable:!0,value:h,writable:!0}):Z[l]=h}},4258:(x,m,r)=>{r.d(m,{Z:()=>Je});var u=r(5343),g=r(7585),f=r(6198),Z=r(3276),l=r(1952);var b=r(571);var R=r(634),y=r(8297),L=r(3033);var Y=r(6623),j=r(5650),q=r(3419);const W=Object.getOwnPropertySymbols?function(w){for(var k=[];w;)(0,Y.Z)(k,(0,L.Z)(w)),w=(0,j.Z)(w);return k}:q.Z;var vn=r(8501),pn=r(8203);const An=function On(w){return(0,pn.Z)(w,b.Z,W)};var ln=r(7183),Tn=Object.prototype.hasOwnProperty;var Vn=r(3116);var ee=/\w*$/;var Jn=r(8492),_n=Jn.Z?Jn.Z.prototype:void 0,Kn=_n?_n.valueOf:void 0;var Qn=r(9376);const ge=function Sn(w,k,En){var de=w.constructor;switch(k){case"[object ArrayBuffer]":return(0,Vn.Z)(w);case"[object Boolean]":case"[object Date]":return new de(+w);case"[object DataView]":return function le(w,k){var En=k?(0,Vn.Z)(w.buffer):w.buffer;return new w.constructor(En,w.byteOffset,w.byteLength)}(w,En);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,Qn.Z)(w,En);case"[object Map]":case"[object Set]":return new de;case"[object Number]":case"[object String]":return new de(w);case"[object RegExp]":return function $n(w){var k=new w.constructor(w.source,ee.exec(w));return k.lastIndex=w.lastIndex,k}(w);case"[object Symbol]":return function Bn(w){return Kn?Object(Kn.call(w)):{}}(w)}};var re=r(3121),we=r(4177),Gn=r(5202),pe=r(214);var se=r(6932),ie=r(6594),Xn=ie.Z&&ie.Z.isMap;const Re=Xn?(0,se.Z)(Xn):function Cn(w){return(0,pe.Z)(w)&&"[object Map]"==(0,ln.Z)(w)};var be=r(1999);var Be=ie.Z&&ie.Z.isSet;const Oe=Be?(0,se.Z)(Be):function xe(w){return(0,pe.Z)(w)&&"[object Set]"==(0,ln.Z)(w)};var K="[object Arguments]",rn="[object Function]",cn="[object Object]",en={};en[K]=en["[object Array]"]=en["[object ArrayBuffer]"]=en["[object DataView]"]=en["[object Boolean]"]=en["[object Date]"]=en["[object Float32Array]"]=en["[object Float64Array]"]=en["[object Int8Array]"]=en["[object Int16Array]"]=en["[object Int32Array]"]=en["[object Map]"]=en["[object Number]"]=en[cn]=en["[object RegExp]"]=en["[object Set]"]=en["[object String]"]=en["[object Symbol]"]=en["[object Uint8Array]"]=en["[object Uint8ClampedArray]"]=en["[object Uint16Array]"]=en["[object Uint32Array]"]=!0,en["[object Error]"]=en[rn]=en["[object WeakMap]"]=!1;const Je=function Te(w,k,En,de,ye,Hn){var bn,Ue=1&k,Ce=2&k,Fe=4&k;if(En&&(bn=ye?En(w,de,ye,Hn):En(w)),void 0!==bn)return bn;if(!(0,be.Z)(w))return w;var fe=(0,we.Z)(w);if(fe){if(bn=function Dn(w){var k=w.length,En=new w.constructor(k);return k&&"string"==typeof w[0]&&Tn.call(w,"index")&&(En.index=w.index,En.input=w.input),En}(w),!Ue)return(0,y.Z)(w,bn)}else{var ce=(0,ln.Z)(w),Qe=ce==rn||"[object GeneratorFunction]"==ce;if((0,Gn.Z)(w))return(0,R.Z)(w,Ue);if(ce==cn||ce==K||Qe&&!ye){if(bn=Ce||Qe?{}:(0,re.Z)(w),!Ue)return Ce?function sn(w,k){return(0,Z.Z)(w,W(w),k)}(w,function P(w,k){return w&&(0,Z.Z)(k,(0,b.Z)(k),w)}(bn,w)):function M(w,k){return(0,Z.Z)(w,(0,L.Z)(w),k)}(w,function h(w,k){return w&&(0,Z.Z)(k,(0,l.Z)(k),w)}(bn,w))}else{if(!en[ce])return ye?w:{};bn=ge(w,ce,Ue)}}Hn||(Hn=new u.Z);var Ge=Hn.get(w);if(Ge)return Ge;Hn.set(w,bn),Oe(w)?w.forEach(function(qn){bn.add(Te(qn,k,En,qn,w,Hn))}):Re(w)&&w.forEach(function(qn,ne){bn.set(ne,Te(qn,k,En,ne,w,Hn))});var Xe=fe?void 0:(Fe?Ce?An:vn.Z:Ce?b.Z:l.Z)(w);return(0,g.Z)(Xe||w,function(qn,ne){Xe&&(qn=w[ne=qn]),(0,f.Z)(bn,ne,Te(qn,k,En,ne,w,Hn))}),bn}},1082:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7607),g=r(8706);const h=function f(E,b){return function(P,C){if(null==P)return P;if(!(0,g.Z)(P))return E(P,C);for(var R=P.length,y=b?R:-1,L=Object(P);(b?y--:++y{r.d(m,{Z:()=>g});const g=function u(f,Z,l,h){for(var E=f.length,b=l+(h?1:-1);h?b--:++b{r.d(m,{Z:()=>P});var u=r(6623),g=r(8492),f=r(4825),Z=r(4177),l=g.Z?g.Z.isConcatSpreadable:void 0;const E=function h(C){return(0,Z.Z)(C)||(0,f.Z)(C)||!!(l&&C&&C[l])},P=function b(C,R,y,L,M){var S=-1,Y=C.length;for(y||(y=E),M||(M=[]);++S0&&y(j)?R>1?b(j,R-1,y,L,M):(0,u.Z)(M,j):L||(M[M.length]=j)}return M}},139:(x,m,r)=>{r.d(m,{Z:()=>Z});const Z=function u(l){return function(h,E,b){for(var P=-1,C=Object(h),R=b(h),y=R.length;y--;){var L=R[l?y:++P];if(!1===E(C[L],L,C))break}return h}}()},7607:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(139),g=r(1952);const Z=function f(l,h){return l&&(0,u.Z)(l,h,g.Z)}},7298:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(7894),g=r(2168);const Z=function f(l,h){for(var E=0,b=(h=(0,u.Z)(h,l)).length;null!=l&&E{r.d(m,{Z:()=>Z});var u=r(6623),g=r(4177);const Z=function f(l,h,E){var b=h(l);return(0,g.Z)(l)?b:(0,u.Z)(b,E(l))}},4380:(x,m,r)=>{r.d(m,{Z:()=>oe});var u=r(5343),g=r(3713);const Z=function f(A,I){for(var K=-1,X=null==A?0:A.length;++Krn))return!1;var fn=H.get(A),Zn=H.get(I);if(fn&&Zn)return fn==I&&Zn==A;var cn=-1,an=!0,Mn=2&K?new g.Z:void 0;for(H.set(A,I),H.set(I,A);++cn{r.d(m,{Z:()=>Z});var u=r(1082),g=r(8706);const Z=function f(l,h){var E=-1,b=(0,g.Z)(l)?Array(l.length):[];return(0,u.Z)(l,function(P,C,R){b[++E]=h(P,C,R)}),b}},666:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return function(Z){return Z?.[f]}}},7965:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(9940),g=r(5604),f=r(8959);const l=function Z(h,E){return(0,f.Z)((0,g.Z)(h,E,u.Z),h+"")}},3228:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){return f.has(Z)}},5750:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(9940);const f=function g(Z){return"function"==typeof Z?Z:u.Z}},7894:(x,m,r)=>{r.d(m,{Z:()=>L});var u=r(4177),g=r(8042),f=r(2572),E=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g;const C=function l(M){var S=(0,f.Z)(M,function(j){return 500===Y.size&&Y.clear(),j}),Y=S.cache;return S}(function(M){var S=[];return 46===M.charCodeAt(0)&&S.push(""),M.replace(E,function(Y,j,q,nn){S.push(q?nn.replace(b,"$1"):j||Y)}),S});var R=r(6506);const L=function y(M,S){return(0,u.Z)(M)?M:(0,g.Z)(M,S)?[M]:C((0,R.Z)(M))}},3116:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(1630);const f=function g(Z){var l=new Z.constructor(Z.byteLength);return new u.Z(l).set(new u.Z(Z)),l}},634:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(5946),g="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=g&&"object"==typeof module&&module&&!module.nodeType&&module,l=f&&f.exports===g?u.Z.Buffer:void 0,h=l?l.allocUnsafe:void 0;const b=function E(P,C){if(C)return P.slice();var R=P.length,y=h?h(R):new P.constructor(R);return P.copy(y),y}},9376:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(3116);const f=function g(Z,l){var h=l?(0,u.Z)(Z.buffer):Z.buffer;return new Z.constructor(h,Z.byteOffset,Z.length)}},8297:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f,Z){var l=-1,h=f.length;for(Z||(Z=Array(h));++l{r.d(m,{Z:()=>Z});var u=r(6198),g=r(3496);const Z=function f(l,h,E,b){var P=!E;E||(E={});for(var C=-1,R=h.length;++C{r.d(m,{Z:()=>f});var u=r(3858);const f=function(){try{var Z=(0,u.Z)(Object,"defineProperty");return Z({},"",{}),Z}catch{}}()},8501:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(8203),g=r(3033),f=r(1952);const l=function Z(h){return(0,u.Z)(h,f.Z,g.Z)}},5650:(x,m,r)=>{r.d(m,{Z:()=>f});const f=(0,r(5820).Z)(Object.getPrototypeOf,Object)},3033:(x,m,r)=>{r.d(m,{Z:()=>E});var u=r(197),g=r(3419),Z=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols;const E=l?function(b){return null==b?[]:(b=Object(b),(0,u.Z)(l(b),function(P){return Z.call(b,P)}))}:g.Z},9868:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(7894),g=r(4825),f=r(4177),Z=r(6667),l=r(8696),h=r(2168);const b=function E(P,C,R){for(var y=-1,L=(C=(0,u.Z)(C,P)).length,M=!1;++y{r.d(m,{Z:()=>b});var u=r(1999),g=Object.create;const Z=function(){function P(){}return function(C){if(!(0,u.Z)(C))return{};if(g)return g(C);P.prototype=C;var R=new P;return P.prototype=void 0,R}}();var l=r(5650),h=r(1986);const b=function E(P){return"function"!=typeof P.constructor||(0,h.Z)(P)?{}:Z((0,l.Z)(P))}},6667:(x,m,r)=>{r.d(m,{Z:()=>Z});var g=/^(?:0|[1-9]\d*)$/;const Z=function f(l,h){var E=typeof l;return!!(h=h??9007199254740991)&&("number"==E||"symbol"!=E&&g.test(l))&&l>-1&&l%1==0&&l{r.d(m,{Z:()=>h});var u=r(3093),g=r(8706),f=r(6667),Z=r(1999);const h=function l(E,b,P){if(!(0,Z.Z)(P))return!1;var C=typeof b;return!!("number"==C?(0,g.Z)(P)&&(0,f.Z)(b,P.length):"string"==C&&b in P)&&(0,u.Z)(P[b],E)}},8042:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(4177),g=r(6460),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;const h=function l(E,b){if((0,u.Z)(E))return!1;var P=typeof E;return!("number"!=P&&"symbol"!=P&&"boolean"!=P&&null!=E&&!(0,g.Z)(E))||Z.test(E)||!f.test(E)||null!=b&&E in Object(b)}},5604:(x,m,r)=>{r.d(m,{Z:()=>l});const g=function u(h,E,b){switch(b.length){case 0:return h.call(E);case 1:return h.call(E,b[0]);case 2:return h.call(E,b[0],b[1]);case 3:return h.call(E,b[0],b[1],b[2])}return h.apply(E,b)};var f=Math.max;const l=function Z(h,E,b){return E=f(void 0===E?h.length-1:E,0),function(){for(var P=arguments,C=-1,R=f(P.length-E,0),y=Array(R);++C{r.d(m,{Z:()=>g});const g=function u(f){var Z=-1,l=Array(f.size);return f.forEach(function(h){l[++Z]=h}),l}},8959:(x,m,r)=>{r.d(m,{Z:()=>y});var u=r(145),g=r(2370),f=r(9940),h=800,E=16,b=Date.now;const y=function P(L){var M=0,S=0;return function(){var Y=b(),j=E-(Y-S);if(S=Y,j>0){if(++M>=h)return arguments[0]}else M=0;return L.apply(void 0,arguments)}}(g.Z?function(L,M){return(0,g.Z)(L,"toString",{configurable:!0,enumerable:!1,value:(0,u.Z)(M),writable:!0})}:f.Z)},2168:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(6460);const Z=function f(l){if("string"==typeof l||(0,u.Z)(l))return l;var h=l+"";return"0"==h&&1/l==-Infinity?"-0":h}},145:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return function(){return f}}},3233:(x,m,r)=>{r.d(m,{Z:()=>b});var u=r(7965),g=r(3093),f=r(4810),Z=r(571),l=Object.prototype,h=l.hasOwnProperty;const b=(0,u.Z)(function(P,C){P=Object(P);var R=-1,y=C.length,L=y>2?C[2]:void 0;for(L&&(0,f.Z)(C[0],C[1],L)&&(y=1);++R{r.d(m,{Z:()=>b});var u=r(197),g=r(1082);const Z=function f(P,C){var R=[];return(0,g.Z)(P,function(y,L,M){C(y,L,M)&&R.push(y)}),R};var l=r(4380),h=r(4177);const b=function E(P,C){return((0,h.Z)(P)?u.Z:Z)(P,(0,l.Z)(C,3))}},6224:(x,m,r)=>{r.d(m,{Z:()=>f});var u=r(113);const f=function g(Z){return null!=Z&&Z.length?(0,u.Z)(Z,1):[]}},6391:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7585),g=r(1082),f=r(5750),Z=r(4177);const h=function l(E,b){return((0,Z.Z)(E)?u.Z:g.Z)(E,(0,f.Z)(b))}},6947:(x,m,r)=>{r.d(m,{Z:()=>E});var g=Object.prototype.hasOwnProperty;const Z=function f(b,P){return null!=b&&g.call(b,P)};var l=r(9868);const E=function h(b,P){return null!=b&&(0,l.Z)(b,P,Z)}},9080:(x,m,r)=>{r.d(m,{Z:()=>l});const g=function u(h,E){return null!=h&&E in Object(h)};var f=r(9868);const l=function Z(h,E){return null!=h&&(0,f.Z)(h,E,g)}},9940:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return f}},7118:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(8706),g=r(214);const Z=function f(l){return(0,g.Z)(l)&&(0,u.Z)(l)}},2031:(x,m,r)=>{r.d(m,{Z:()=>R});var u=r(7079),g=r(5650),f=r(214),E=Function.prototype.toString,b=Object.prototype.hasOwnProperty,P=E.call(Object);const R=function C(y){if(!(0,f.Z)(y)||"[object Object]"!=(0,u.Z)(y))return!1;var L=(0,g.Z)(y);if(null===L)return!0;var M=b.call(L,"constructor")&&L.constructor;return"function"==typeof M&&M instanceof M&&E.call(M)==P}},6460:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(7079),g=r(214);const l=function Z(h){return"symbol"==typeof h||(0,g.Z)(h)&&"[object Symbol]"==(0,u.Z)(h)}},9948:(x,m,r)=>{r.d(m,{Z:()=>g});const g=function u(f){return void 0===f}},1952:(x,m,r)=>{r.d(m,{Z:()=>l});var u=r(3487),g=r(4884),f=r(8706);const l=function Z(h){return(0,f.Z)(h)?(0,u.Z)(h):(0,g.Z)(h)}},571:(x,m,r)=>{r.d(m,{Z:()=>y});var u=r(3487),g=r(1999),f=r(1986);var E=Object.prototype.hasOwnProperty;const P=function b(L){if(!(0,g.Z)(L))return function Z(L){var M=[];if(null!=L)for(var S in Object(L))M.push(S);return M}(L);var M=(0,f.Z)(L),S=[];for(var Y in L)"constructor"==Y&&(M||!E.call(L,Y))||S.push(Y);return S};var C=r(8706);const y=function R(L){return(0,C.Z)(L)?(0,u.Z)(L,!0):P(L)}},2957:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7988),g=r(4380),f=r(1177),Z=r(4177);const h=function l(E,b){return((0,Z.Z)(E)?u.Z:f.Z)(E,(0,g.Z)(b,3))}},6264:(x,m,r)=>{r.d(m,{Z:()=>F});var u=r(7298),g=r(6198),f=r(7894),Z=r(6667),l=r(1999),h=r(2168);const b=function E(W,sn,wn,vn){if(!(0,l.Z)(W))return W;for(var pn=-1,On=(sn=(0,f.Z)(sn,W)).length,An=On-1,ln=W;null!=ln&&++pn{r.d(m,{Z:()=>C});var u=Math.ceil,g=Math.max;var l=r(4810),h=r(1605);const C=function E(R){return function(y,L,M){return M&&"number"!=typeof M&&(0,l.Z)(y,L,M)&&(L=M=void 0),y=(0,h.Z)(y),void 0===L?(L=y,y=0):L=(0,h.Z)(L),function f(R,y,L,M){for(var S=-1,Y=g(u((y-R)/(L||1)),0),j=Array(Y);Y--;)j[M?Y:++S]=R,R+=L;return j}(y,L,M=void 0===M?y{r.d(m,{Z:()=>P});const g=function u(C,R,y,L){var M=-1,S=null==C?0:C.length;for(L&&S&&(y=C[++M]);++M{r.d(m,{Z:()=>g});const g=function u(){return[]}},1605:(x,m,r)=>{r.d(m,{Z:()=>nn});var u=/\s/;var Z=/^\s+/;const h=function l(F){return F&&F.slice(0,function g(F){for(var W=F.length;W--&&u.test(F.charAt(W)););return W}(F)+1).replace(Z,"")};var E=r(1999),b=r(6460),C=/^[-+]0x[0-9a-f]+$/i,R=/^0b[01]+$/i,y=/^0o[0-7]+$/i,L=parseInt;var Y=1/0;const nn=function q(F){return F?(F=function M(F){if("number"==typeof F)return F;if((0,b.Z)(F))return NaN;if((0,E.Z)(F)){var W="function"==typeof F.valueOf?F.valueOf():F;F=(0,E.Z)(W)?W+"":W}if("string"!=typeof F)return 0===F?F:+F;F=h(F);var sn=R.test(F);return sn||y.test(F)?L(F.slice(2),sn?2:8):C.test(F)?NaN:+F}(F))===Y||F===-Y?17976931348623157e292*(F<0?-1:1):F==F?F:0:0===F?F:0}},6506:(x,m,r)=>{r.d(m,{Z:()=>R});var u=r(8492),g=r(7988),f=r(4177),Z=r(6460),h=u.Z?u.Z.prototype:void 0,E=h?h.toString:void 0;const P=function b(y){if("string"==typeof y)return y;if((0,f.Z)(y))return(0,g.Z)(y,b)+"";if((0,Z.Z)(y))return E?E.call(y):"";var L=y+"";return"0"==L&&1/y==-Infinity?"-0":L},R=function C(y){return null==y?"":P(y)}},8917:(x,m,r)=>{r.d(m,{Z:()=>Z});var u=r(6506),g=0;const Z=function f(l){var h=++g;return(0,u.Z)(l)+h}},1412:(x,m,r)=>{r.d(m,{Z:()=>h});var u=r(7988);var Z=r(1952);const h=function l(E){return null==E?[]:function g(E,b){return(0,u.Z)(b,function(P){return E[P]})}(E,(0,Z.Z)(E))}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/608.906465dee653ee56.js b/pkg/apiserver-impl/ui/608.906465dee653ee56.js deleted file mode 100644 index 4866c2f72ad..00000000000 --- a/pkg/apiserver-impl/ui/608.906465dee653ee56.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[608],{608:(ie,J,x)=>{x.r(J),x.d(J,{diagram:()=>se});var P=x(4976);x(8814),x(5703),x(855),x(6947),x(3233),x(6391),x(9006),x(6257),x(3057),x(8917),x(1256),x(6264),x(9111),x(1775);var rt=x(4724);x(2735),x(1764),x(6780),x(7416);const pt={},se={parser:P.p,db:P.f,renderer:rt.f,styles:rt.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,function(r){const e=Object.keys(r);for(const t of e)pt[t]=r[t]}(r.flowchart),P.f.clear(),P.f.setGen("gen-1")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/609.32c373e0fbdc4f95.js b/pkg/apiserver-impl/ui/609.32c373e0fbdc4f95.js new file mode 100644 index 00000000000..1596df07296 --- /dev/null +++ b/pkg/apiserver-impl/ui/609.32c373e0fbdc4f95.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[609],{2609:(Wt,D,I)=>{I.r(D),I.d(D,{diagram:()=>Ht});var v=I(9037),R=I(8586),gt=I(5847),mt=I(1223),xt=I(8674),J=(I(1764),I(6780),I(2735),function(){var n=function(g,i,r,c){for(r=r||{},c=g.length;c--;r[g[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],l=[1,13],p=[1,16],y=[1,17],f={trace:function(){},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:function(i,r,c,d,u,o,P){var x=o.length-1;switch(u){case 1:return o[x-1];case 2:case 6:case 7:this.$=[];break;case 3:o[x-1].push(o[x]),this.$=o[x-1];break;case 4:case 5:this.$=o[x];break;case 8:d.getCommonDb().setDiagramTitle(o[x].substr(6)),this.$=o[x].substr(6);break;case 9:this.$=o[x].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[x].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(o[x].substr(8)),this.$=o[x].substr(8);break;case 15:d.addTask(o[x],0,""),this.$=o[x];break;case 16:d.addEvent(o[x].substr(2)),this.$=o[x]}},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:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},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:function(i,r){if(!r.recoverable){var c=new Error(i);throw c.hash=r,c}this.trace(i)},parse:function(i){var c=[0],d=[],u=[null],o=[],P=this.table,x="",M=0,V=0,U=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(E.yy[w]=this.yy[w]);k.setInput(i,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var T=k.yylloc;o.push(T);var N,O=k.options&&k.options.ranges;this.parseError="function"==typeof E.yy.parseError?E.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,A,S,X,Z,L,G,F={};;){if(this.defaultActions[A=c[c.length-1]]?S=this.defaultActions[A]:((null===b||typeof b>"u")&&(N=void 0,"number"!=typeof(N=d.pop()||k.lex()||1)&&(N instanceof Array&&(N=(d=N).pop()),N=this.symbols_[N]||N),b=N),S=P[A]&&P[A][b]),typeof S>"u"||!S.length||!S[0]){var q;for(Z in G=[],P[A])this.terminals_[Z]&&Z>2&&G.push("'"+this.terminals_[Z]+"'");q=k.showPosition?"Parse error on line "+(M+1)+":\n"+k.showPosition()+"\nExpecting "+G.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(M+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(q,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:T,expected:G})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(S[0]){case 1:c.push(b),u.push(k.yytext),o.push(k.yylloc),c.push(S[1]),b=null,V=k.yyleng,x=k.yytext,M=k.yylineno,T=k.yylloc;break;case 2:if(F.$=u[u.length-(L=this.productions_[S[1]][1])],F._$={first_line:o[o.length-(L||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(L||1)].first_column,last_column:o[o.length-1].last_column},O&&(F._$.range=[o[o.length-(L||1)].range[0],o[o.length-1].range[1]]),typeof(X=this.performAction.apply(F,[x,V,M,E.yy,S[1],u,o].concat(U)))<"u")return X;L&&(c=c.slice(0,-1*L*2),u=u.slice(0,-1*L),o=o.slice(0,-1*L)),c.push(this.productions_[S[1]][0]),u.push(F.$),o.push(F._$),c.push(P[c[c.length-2]][c[c.length-1]]);break;case 3:return!0}}return!0}};function m(){this.yy={}}return f.lexer={EOF:1,parseError:function(r,c){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,c)},setInput:function(i,r){return this.yy=r||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},input:function(){var i=this._input[0];return this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i,i.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),i},unput:function(i){var r=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=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 u=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===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+"\n"+r+"^"},test_match:function(i,r){var c,d,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),(d=i[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var o in u)this[o]=u[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var i,r,c,d;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),o=0;or[0].length)){if(r=c,d=o,this.options.backtrack_lexer){if(!1!==(i=this.test_match(c,u[o])))return i;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(i=this.test_match(r,u[d]))&&i:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,c,d,u){switch(d){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}},m.prototype=f,f.Parser=m,new m}());J.parser=J;const _t=J;let H="",tt=0;const Q=[],j=[],W=[],et=()=>v.L,nt=function(){Q.length=0,j.length=0,H="",W.length=0,(0,v.v)()},st=function(n){H=n,Q.push(n)},it=function(){return Q},rt=function(){let n=ct(),e=0;for(;!n&&e<100;)n=ct(),e++;return j.push(...W),j},at=function(n,t,e){const a={id:tt++,section:H,type:H,task:n,score:t||0,events:e?[e]:[]};W.push(a)},lt=function(n){W.find(e=>e.id===tt-1).events.push(n)},ot=function(n){j.push({section:H,type:H,description:n,task:n,classes:[]})},ct=function(){const n=function(e){return W[e].processed};let t=!0;for(const[e,a]of W.entries())n(e),t=t&&a.processed;return t},bt=Object.freeze(Object.defineProperty({__proto__:null,addEvent:lt,addSection:st,addTask:at,addTaskOrg:ot,clear:nt,default:{clear:nt,getCommonDb:et,addSection:st,getSections:it,getTasks:rt,addTask:at,addTaskOrg:ot,addEvent:lt},getCommonDb:et,getSections:it,getTasks:rt},Symbol.toStringTag,{value:"Module"}));function pt(n,t){n.each(function(){var s,e=(0,R.Ys)(this),a=e.text().split(/(\s+|
)/).reverse(),h=[],p=e.attr("y"),y=parseFloat(e.attr("dy")),f=e.text(null).append("tspan").attr("x",0).attr("y",p).attr("dy",y+"em");for(let _=0;_t||"
"===s)&&(h.pop(),f.text(h.join(" ").trim()),h="
"===s?[""]:[s],f=e.append("tspan").attr("x",0).attr("y",p).attr("dy","1.1em").text(s))})}const $_drawNode=function(n,t,e,a){const s=e%12-1,h=n.append("g");t.section=s,h.attr("class",(t.class?t.class+" ":"")+"timeline-node section-"+s);const l=h.append("g"),p=h.append("g"),f=p.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(pt,t.width).node().getBBox(),_=a.fontSize&&a.fontSize.replace?a.fontSize.replace("px",""):a.fontSize;return t.height=f.height+1.1*_*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,p.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(l,t,s),t},$_getVirtualNodeHeight=function(n,t,e){const a=n.append("g"),h=a.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(pt,t.width).node().getBBox(),l=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return a.remove(),h.height+1.1*l*.5+t.padding},yt=function(n,t,e,a,s,h,l,p,y,f,_){var m;for(const g of t){const i={descr:g.task,section:e,number:e,width:150,padding:20,maxHeight:h};v.l.debug("taskNode",i);const r=n.append("g").attr("class","taskWrapper"),d=$_drawNode(r,i,e,l).height;if(v.l.debug("taskHeight after draw",d),r.attr("transform",`translate(${a}, ${s})`),h=Math.max(h,d),g.events){const u=n.append("g").attr("class","lineWrapper");let o=h;o+=Ct(n,g.events,e,a,s+=100,l),s-=100,u.append("line").attr("x1",a+95).attr("y1",s+h).attr("x2",a+95).attr("y2",s+h+(_?h:f)+y+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}a+=200,_&&(null==(m=l.timeline)||!m.disableMulticolor)&&e++}s-=10},Ct=function(n,t,e,a,s,h){let l=0;const p=s;s+=100;for(const y of t){const f={descr:y,section:e,number:e,width:150,padding:20,maxHeight:50};v.l.debug("eventNode",f);const _=n.append("g").attr("class","eventWrapper"),g=$_drawNode(_,f,e,h).height;l+=g,_.attr("transform",`translate(${a}, ${s})`),s=s+10+g}return s=p,l},Ht={db:bt,renderer:{setConf:()=>{},draw:function(n,t,e,a){var s,h;const l=(0,v.c)(),p=l.leftMargin??50;v.l.debug("timeline",a.db);const y=l.securityLevel;let f;"sandbox"===y&&(f=(0,R.Ys)("#i"+t));const m=(0,R.Ys)("sandbox"===y?f.nodes()[0].contentDocument.body:"body").select("#"+t);m.append("g");const g=a.db.getTasks(),i=a.db.getCommonDb().getDiagramTitle();v.l.debug("task",g),function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}(m);const r=a.db.getSections();v.l.debug("sections",r);let c=0,d=0,u=0,o=0,P=50+p,x=50;o=50;let M=0,V=!0;r.forEach(function(E){const T=$_getVirtualNodeHeight(m,{number:M,descr:E,section:M,width:150,padding:20,maxHeight:c},l);v.l.debug("sectionHeight before draw",T),c=Math.max(c,T+20)});let B=0,C=0;v.l.debug("tasks.length",g.length);for(const[E,w]of g.entries()){const O=$_getVirtualNodeHeight(m,{number:E,descr:w,section:w.section,width:150,padding:20,maxHeight:d},l);v.l.debug("taskHeight before draw",O),d=Math.max(d,O+20),B=Math.max(B,w.events.length);let z=0;for(let b=0;b0?r.forEach(E=>{const w=g.filter(b=>b.section===E),T={number:M,descr:E,section:M,width:200*Math.max(w.length,1)-50,padding:20,maxHeight:c};v.l.debug("sectionNode",T);const O=m.append("g"),z=$_drawNode(O,T,M,l);v.l.debug("sectionNode output",z),O.attr("transform",`translate(${P}, 50)`),x+=c+50,w.length>0&&yt(m,w,M,P,x,d,l,0,C,c,!1),P+=200*Math.max(w.length,1),x=50,M++}):(V=!1,yt(m,g,M,P,x,d,l,0,C,c,!0));const U=m.node().getBBox();v.l.debug("bounds",U),i&&m.append("text").text(i).attr("x",U.width/2-p).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),u=V?c+d+150:d+100,m.append("g").attr("class","lineWrapper").append("line").attr("x1",p).attr("y1",u).attr("x2",U.width+3*p).attr("y2",u).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,v.o)(void 0,m,(null==(s=l.timeline)?void 0:s.padding)??50,(null==(h=l.timeline)?void 0:h.useMaxWidth)??!1)}},parser:_t,styles:n=>`\n .edge {\n stroke-width: 3;\n }\n ${(n=>{let t="";for(let e=0;e{s.r(r),s.d(r,{diagram:()=>d});var _=s(3683);s(5703),s(2735),s(1764),s(6780);const d={db:{clear:()=>{}},styles:()=>"",renderer:_.r,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js b/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js deleted file mode 100644 index 71d0ec7a2b4..00000000000 --- a/pkg/apiserver-impl/ui/612.634d6c1c5de81831.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[612],{3612:(_t,Ue,I)=>{I.d(Ue,{d:()=>ht,p:()=>Ye,s:()=>At});var P=I(5703),b=I(855),de=I(9111),Ge=I(4169),N=I(6012),q=function(){var e=function(v,i,r,l){for(r=r||{},l=v.length;l--;r[v[l]]=i);return r},n=[1,3],c=[1,7],o=[1,8],h=[1,9],E=[1,10],p=[1,13],B=[1,12],F=[1,16,25],ke=[1,20],De=[1,32],Fe=[1,33],me=[1,34],be=[1,48],Be=[1,39],ye=[1,37],Te=[1,38],Se=[1,44],ve=[1,45],Ne=[1,40],Le=[1,41],Oe=[1,42],Ie=[1,43],C=[1,49],_=[1,50],g=[1,51],D=[1,52],a=[16,25],Y=[1,66],K=[1,67],j=[1,68],z=[1,69],W=[1,70],ue=[1,71],ie=[1,72],xe=[1,82],V=[16,25,28,29,36,49,50,64,65,66,67,68,69,70,75,77],ne=[16,25,28,29,34,36,49,50,55,64,65,66,67,68,69,70,75,77,92,93,94,95],Re=[5,8,9,10,11,16,19,23,25],Q=[29,92,93,94,95],M=[29,69,70,92,93,94,95],Pe=[29,64,65,66,67,68,92,93,94,95],re=[1,96],ae=[16,25,49,50],X=[16,25,36],le={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,classLabel:27,SQS:28,STR:29,SQE:30,className:31,alphaNumToken:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,classStatement:37,methodStatement:38,annotationStatement:39,clickStatement:40,cssClassStatement:41,noteStatement:42,acc_title:43,acc_title_value:44,acc_descr:45,acc_descr_value:46,acc_descr_multiline_value:47,classIdentifier:48,STYLE_SEPARATOR:49,STRUCT_START:50,members:51,STRUCT_STOP:52,CLASS:53,ANNOTATION_START:54,ANNOTATION_END:55,MEMBER:56,SEPARATOR:57,relation:58,NOTE_FOR:59,noteText:60,NOTE:61,relationType:62,lineType:63,AGGREGATION:64,EXTENSION:65,COMPOSITION:66,DEPENDENCY:67,LOLLIPOP:68,LINE:69,DOTTED_LINE:70,CALLBACK:71,LINK:72,LINK_TARGET:73,CLICK:74,CALLBACK_NAME:75,CALLBACK_ARGS:76,HREF:77,CSSCLASS:78,commentToken:79,textToken:80,graphCodeTokens:81,textNoTagsToken:82,TAGSTART:83,TAGEND:84,"==":85,"--":86,PCT:87,DEFAULT:88,SPACE:89,MINUS:90,keywords:91,UNICODE_TEXT:92,NUM:93,ALPHA:94,BQUOTE_STR:95,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",28:"SQS",29:"STR",30:"SQE",34:"GENERICTYPE",36:"LABEL",43:"acc_title",44:"acc_title_value",45:"acc_descr",46:"acc_descr_value",47:"acc_descr_multiline_value",49:"STYLE_SEPARATOR",50:"STRUCT_START",52:"STRUCT_STOP",53:"CLASS",54:"ANNOTATION_START",55:"ANNOTATION_END",56:"MEMBER",57:"SEPARATOR",59:"NOTE_FOR",61:"NOTE",64:"AGGREGATION",65:"EXTENSION",66:"COMPOSITION",67:"DEPENDENCY",68:"LOLLIPOP",69:"LINE",70:"DOTTED_LINE",71:"CALLBACK",72:"LINK",73:"LINK_TARGET",74:"CLICK",75:"CALLBACK_NAME",76:"CALLBACK_ARGS",77:"HREF",78:"CSSCLASS",81:"graphCodeTokens",83:"TAGSTART",84:"TAGEND",85:"==",86:"--",87:"PCT",88:"DEFAULT",89:"SPACE",90:"MINUS",91:"keywords",92:"UNICODE_TEXT",93:"NUM",94:"ALPHA",95:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,3],[31,1],[31,1],[31,2],[31,2],[31,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[37,1],[37,3],[37,4],[37,6],[48,2],[48,3],[39,4],[51,1],[51,2],[38,1],[38,2],[38,1],[38,1],[35,3],[35,4],[35,4],[35,5],[42,3],[42,2],[58,3],[58,2],[58,2],[58,1],[62,1],[62,1],[62,1],[62,1],[62,1],[63,1],[63,1],[40,3],[40,4],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[41,3],[79,1],[79,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[82,1],[82,1],[82,1],[82,1],[32,1],[32,1],[32,1],[33,1],[60,1]],performAction:function(i,r,l,u,A,t,U){var s=t.length-1;switch(A){case 5:u.setDirection("TB");break;case 6:u.setDirection("BT");break;case 7:u.setDirection("RL");break;case 8:u.setDirection("LR");break;case 12:u.parseDirective("%%{","open_directive");break;case 13:u.parseDirective(t[s],"type_directive");break;case 14:t[s]=t[s].trim().replace(/'/g,'"'),u.parseDirective(t[s],"arg_directive");break;case 15:u.parseDirective("}%%","close_directive","class");break;case 20:this.$=t[s-1];break;case 21:case 22:this.$=t[s];break;case 23:this.$=t[s-1]+t[s];break;case 24:case 25:this.$=t[s-1]+"~"+t[s];break;case 26:u.addRelation(t[s]);break;case 27:t[s-1].title=u.cleanupLabel(t[s]),u.addRelation(t[s-1]);break;case 36:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 37:case 38:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 40:u.setCssClass(t[s-2],t[s]);break;case 41:u.addMembers(t[s-3],t[s-1]);break;case 42:u.setCssClass(t[s-5],t[s-3]),u.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],u.addClass(t[s]);break;case 44:this.$=t[s-1],u.addClass(t[s-1]),u.setClassLabel(t[s-1],t[s]);break;case 45:u.addAnnotation(t[s],t[s-2]);break;case 46:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:case 50:case 51:break;case 49:u.addMember(t[s-1],u.cleanupLabel(t[s]));break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:u.addNote(t[s],t[s-1]);break;case 57:u.addNote(t[s]);break;case 58:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 59:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 61:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 62:this.$=u.relationType.AGGREGATION;break;case 63:this.$=u.relationType.EXTENSION;break;case 64:this.$=u.relationType.COMPOSITION;break;case 65:this.$=u.relationType.DEPENDENCY;break;case 66:this.$=u.relationType.LOLLIPOP;break;case 67:this.$=u.lineType.LINE;break;case 68:this.$=u.lineType.DOTTED_LINE;break;case 69:case 75:this.$=t[s-2],u.setClickEvent(t[s-1],t[s]);break;case 70:case 76:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 71:case 79:this.$=t[s-2],u.setLink(t[s-1],t[s]);break;case 72:case 80:this.$=t[s-3],u.setLink(t[s-2],t[s-1],t[s]);break;case 73:case 81:this.$=t[s-3],u.setLink(t[s-2],t[s-1]),u.setTooltip(t[s-2],t[s]);break;case 74:case 82:this.$=t[s-4],u.setLink(t[s-3],t[s-2],t[s]),u.setTooltip(t[s-3],t[s-1]);break;case 77:this.$=t[s-3],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 78:this.$=t[s-4],u.setClickEvent(t[s-3],t[s-2],t[s-1]),u.setTooltip(t[s-3],t[s]);break;case 83:u.setCssClass(t[s-1],t[s])}},table:[{3:1,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:p,23:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:p,23:B},{1:[2,9]},e(F,[2,5]),e(F,[2,6]),e(F,[2,7]),e(F,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:ke},e([17,22],[2,13]),{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:p,24:21,26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:De,45:Fe,47:me,48:36,53:be,54:Be,56:ye,57:Te,59:Se,61:ve,71:Ne,72:Le,74:Oe,78:Ie,92:C,93:_,94:g,95:D},{16:[1,53]},{18:54,21:[1,55]},{16:[2,15]},{25:[1,56]},{16:[1,57],25:[2,17]},e(a,[2,26],{36:[1,58]}),e(a,[2,28]),e(a,[2,29]),e(a,[2,30]),e(a,[2,31]),e(a,[2,32]),e(a,[2,33]),e(a,[2,34]),e(a,[2,35]),{44:[1,59]},{46:[1,60]},e(a,[2,38]),e(a,[2,48],{58:61,62:64,63:65,29:[1,62],36:[1,63],64:Y,65:K,66:j,67:z,68:W,69:ue,70:ie}),e(a,[2,39],{49:[1,73],50:[1,74]}),e(a,[2,50]),e(a,[2,51]),{32:75,92:C,93:_,94:g},{31:76,32:46,33:47,92:C,93:_,94:g,95:D},{31:77,32:46,33:47,92:C,93:_,94:g,95:D},{31:78,32:46,33:47,92:C,93:_,94:g,95:D},{29:[1,79]},{31:80,32:46,33:47,92:C,93:_,94:g,95:D},{29:xe,60:81},e(V,[2,21],{32:46,33:47,31:83,34:[1,84],92:C,93:_,94:g,95:D}),e(V,[2,22],{34:[1,85]}),{31:86,32:46,33:47,92:C,93:_,94:g,95:D},e(ne,[2,97]),e(ne,[2,98]),e(ne,[2,99]),e([16,25,28,29,34,36,49,50,64,65,66,67,68,69,70,75,77],[2,100]),e(Re,[2,10]),{15:87,22:ke},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:p,24:88,25:[2,18],26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:De,45:Fe,47:me,48:36,53:be,54:Be,56:ye,57:Te,59:Se,61:ve,71:Ne,72:Le,74:Oe,78:Ie,92:C,93:_,94:g,95:D},e(a,[2,27]),e(a,[2,36]),e(a,[2,37]),{29:[1,90],31:89,32:46,33:47,92:C,93:_,94:g,95:D},{58:91,62:64,63:65,64:Y,65:K,66:j,67:z,68:W,69:ue,70:ie},e(a,[2,49]),{63:92,69:ue,70:ie},e(Q,[2,61],{62:93,64:Y,65:K,66:j,67:z,68:W}),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(Pe,[2,67]),e(Pe,[2,68]),{32:94,92:C,93:_,94:g},{51:95,56:re},{55:[1,97]},{29:[1,98]},{29:[1,99]},{75:[1,100],77:[1,101]},{32:102,92:C,93:_,94:g},{29:xe,60:103},e(a,[2,57]),e(a,[2,101]),e(V,[2,23]),e(V,[2,24]),e(V,[2,25]),e(ae,[2,43],{27:104,28:[1,105]}),{16:[1,106]},{25:[2,19]},e(X,[2,52]),{31:107,32:46,33:47,92:C,93:_,94:g,95:D},{29:[1,109],31:108,32:46,33:47,92:C,93:_,94:g,95:D},e(Q,[2,60],{62:110,64:Y,65:K,66:j,67:z,68:W}),e(Q,[2,59]),e(a,[2,40],{50:[1,111]}),{52:[1,112]},{51:113,52:[2,46],56:re},{31:114,32:46,33:47,92:C,93:_,94:g,95:D},e(a,[2,69],{29:[1,115]}),e(a,[2,71],{29:[1,117],73:[1,116]}),e(a,[2,75],{29:[1,118],76:[1,119]}),e(a,[2,79],{29:[1,121],73:[1,120]}),e(a,[2,83]),e(a,[2,56]),e(ae,[2,44]),{29:[1,122]},e(Re,[2,11]),e(X,[2,54]),e(X,[2,53]),{31:123,32:46,33:47,92:C,93:_,94:g,95:D},e(Q,[2,58]),{51:124,56:re},e(a,[2,41]),{52:[2,47]},e(a,[2,45]),e(a,[2,70]),e(a,[2,72]),e(a,[2,73],{73:[1,125]}),e(a,[2,76]),e(a,[2,77],{29:[1,126]}),e(a,[2,80]),e(a,[2,81],{73:[1,127]}),{30:[1,128]},e(X,[2,55]),{52:[1,129]},e(a,[2,74]),e(a,[2,78]),e(a,[2,82]),e(ae,[2,20]),e(a,[2,42])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],55:[2,14],56:[2,16],88:[2,19],113:[2,47]},parseError:function(i,r){if(!r.recoverable){var l=new Error(i);throw l.hash=r,l}this.trace(i)},parse:function(i){var l=[0],u=[],A=[null],t=[],U=this.table,s="",H=0,we=0,pt=t.slice.call(arguments,1),d=Object.create(this.lexer),L={yy:{}};for(var oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,oe)&&(L.yy[oe]=this.yy[oe]);d.setInput(i,L.yy),L.yy.lexer=d,L.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var he=d.yylloc;t.push(he);var S,Et=d.options&&d.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var k,O,m,Ae,J,T,Z,R={};;){if(this.defaultActions[O=l[l.length-1]]?m=this.defaultActions[O]:((null===k||typeof k>"u")&&(S=void 0,"number"!=typeof(S=u.pop()||d.lex()||1)&&(S instanceof Array&&(S=(u=S).pop()),S=this.symbols_[S]||S),k=S),m=U[O]&&U[O][k]),typeof m>"u"||!m.length||!m[0]){var fe;for(J in Z=[],U[O])this.terminals_[J]&&J>2&&Z.push("'"+this.terminals_[J]+"'");fe=d.showPosition?"Parse error on line "+(H+1)+":\n"+d.showPosition()+"\nExpecting "+Z.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(H+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(fe,{text:d.match,token:this.terminals_[k]||k,line:d.yylineno,loc:he,expected:Z})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+k);switch(m[0]){case 1:l.push(k),A.push(d.yytext),t.push(d.yylloc),l.push(m[1]),k=null,we=d.yyleng,s=d.yytext,H=d.yylineno,he=d.yylloc;break;case 2:if(R.$=A[A.length-(T=this.productions_[m[1]][1])],R._$={first_line:t[t.length-(T||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(T||1)].first_column,last_column:t[t.length-1].last_column},Et&&(R._$.range=[t[t.length-(T||1)].range[0],t[t.length-1].range[1]]),typeof(Ae=this.performAction.apply(R,[s,we,H,L.yy,m[1],A,t].concat(pt)))<"u")return Ae;T&&(l=l.slice(0,-1*T*2),A=A.slice(0,-1*T),t=t.slice(0,-1*T)),l.push(this.productions_[m[1]][0]),A.push(R.$),t.push(R._$),l.push(U[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function ce(){this.yy={}}return le.lexer={EOF:1,parseError:function(r,l){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,l)},setInput:function(i,r){return this.yy=r||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},input:function(){var i=this._input[0];return this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i,i.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),i},unput:function(i){var r=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;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),l.length-1&&(this.yylineno-=l.length-1);var A=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:l?(l.length===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+"\n"+r+"^"},test_match:function(i,r){var l,u,A;if(this.options.backtrack_lexer&&(A={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&&(A.yylloc.range=this.yylloc.range.slice(0))),(u=i[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,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(i[0].length),this.matched+=i[0],l=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var t in A)this[t]=A[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var i,r,l,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),t=0;tr[0].length)){if(r=l,u=t,this.options.backtrack_lexer){if(!1!==(i=this.test_match(l,A[t])))return i;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(i=this.test_match(r,A[u]))&&i:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(r,l,u,A){switch(u){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),43;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),45;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),50;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),52;case 28:return"MEMBER";case 29:return 53;case 30:return 78;case 31:return 71;case 32:return 72;case 33:return 74;case 34:return 59;case 35:return 61;case 36:return 54;case 37:return 55;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 77;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 75;case 55:return 76;case 56:case 57:case 58:case 59:return 73;case 60:case 61:return 65;case 62:case 63:return 67;case 64:return 66;case 65:return 64;case 66:return 68;case 67:return 69;case 68:return 70;case 69:return 36;case 70:return 49;case 71:return 90;case 72:return"DOT";case 73:return"PLUS";case 74:return 87;case 75:case 76:return"EQUALS";case 77:return 94;case 78:return 28;case 79:return 30;case 80:return"PUNCTUATION";case 81:return 93;case 82:return 92;case 83:return 89;case 84:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],inclusive:!0}}},ce.prototype=le,le.Parser=ce,new ce}();q.parser=q;const Ye=q,$="classId-";let ee=[],f={},G=[],pe=0,w=[];const y=e=>b.d.sanitizeText(e,(0,b.g)()),x=function(e){let n="",c=e;if(e.indexOf("~")>0){const o=e.split("~");c=y(o[0]),n=y(o[1])}return{className:c,type:n}},te=function(e){const n=x(e);void 0===f[n.className]&&(f[n.className]={id:n.className,type:n.type,label:n.className,cssClasses:[],methods:[],members:[],annotations:[],domId:$+n.className+"-"+pe},pe++)},Ee=function(e){if(e in f)return f[e].domId;throw new Error("Class not found: "+e)},Ce=function(e,n){const c=x(e).className,o=f[c];if("string"==typeof n){const h=n.trim();h.startsWith("<<")&&h.endsWith(">>")?o.annotations.push(y(h.substring(2,h.length-2))):h.indexOf(")")>0?o.methods.push(y(h)):h&&o.members.push(y(h))}},se=function(e,n){e.split(",").forEach(function(c){let o=c;c[0].match(/\d/)&&(o=$+o),void 0!==f[o]&&f[o].cssClasses.push(n)})},_e=function(e){let n=(0,P.Ys)(".mermaidTooltip");null===(n._groups||n)[0][0]&&(n=(0,P.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,P.Ys)(e).select("svg").selectAll("g.node").on("mouseover",function(){const h=(0,P.Ys)(this);if(null===h.attr("title"))return;const p=this.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.text(h.attr("title")).style("left",window.scrollX+p.left+(p.right-p.left)/2+"px").style("top",window.scrollY+p.top-14+document.body.scrollTop+"px"),n.html(n.html().replace(/<br\/>/g,"
")),h.classed("hover",!0)}).on("mouseout",function(){n.transition().duration(500).style("opacity",0),(0,P.Ys)(this).classed("hover",!1)})};w.push(_e);let ge="TB";const ht={parseDirective:function(e,n,c){Ge.m.parseDirective(this,e,n,c)},setAccTitle:N.s,getAccTitle:N.g,getAccDescription:N.a,setAccDescription:N.b,getConfig:()=>(0,b.g)().class,addClass:te,bindFunctions:function(e){w.forEach(function(n){n(e)})},clear:function(){ee=[],f={},G=[],w=[],w.push(_e),(0,N.f)()},getClass:function(e){return f[e]},getClasses:function(){return f},getNotes:function(){return G},addAnnotation:function(e,n){const c=x(e).className;f[c].annotations.push(n)},addNote:function(e,n){G.push({id:`note${G.length}`,class:n,text:e})},getRelations:function(){return ee},addRelation:function(e){b.l.debug("Adding relation: "+JSON.stringify(e)),te(e.id1),te(e.id2),e.id1=x(e.id1).className,e.id2=x(e.id2).className,e.relationTitle1=b.d.sanitizeText(e.relationTitle1.trim(),(0,b.g)()),e.relationTitle2=b.d.sanitizeText(e.relationTitle2.trim(),(0,b.g)()),ee.push(e)},getDirection:()=>ge,setDirection:e=>{ge=e},addMember:Ce,addMembers:function(e,n){Array.isArray(n)&&(n.reverse(),n.forEach(c=>Ce(e,c)))},cleanupLabel:function(e){return e.startsWith(":")&&(e=e.substring(1)),y(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,n,c){e.split(",").forEach(function(o){(function(e,n,c){if("loose"===(0,b.g)().securityLevel&&void 0!==n&&void 0!==f[e]){const E=Ee(e);let p=[];if("string"==typeof c){p=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let B=0;B`g.classGroup text {\n fill: ${e.nodeBorder};\n fill: ${e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/627.78bbe1b912458c32.js b/pkg/apiserver-impl/ui/627.78bbe1b912458c32.js new file mode 100644 index 00000000000..5a09a4d0719 --- /dev/null +++ b/pkg/apiserver-impl/ui/627.78bbe1b912458c32.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[627],{9627:(Zr,St,xn)=>{xn.d(St,{a:()=>Rr,c:()=>Mr});var Cn={};xn.r(Cn),xn.d(Cn,{attentionMarkers:()=>gr,contentInitial:()=>cr,disable:()=>kr,document:()=>sr,flow:()=>pr,flowInitial:()=>hr,insideSpan:()=>xr,string:()=>fr,text:()=>mr});var Nn=xn(9037);const Ft={};function Vn(n,r,t){if(function Ct(n){return Boolean(n&&"object"==typeof n)}(n)){if("value"in n)return"html"!==n.type||t?n.value:"";if(r&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Wn(n.children,r,t)}return Array.isArray(n)?Wn(n,r,t):""}function Wn(n,r,t){const e=[];let l=-1;for(;++ll?0:l+r:r>l?l:r,t=t>0?t:0,e.length<1e4)u=Array.from(e),u.unshift(r,t),n.splice(...u);else for(t&&n.splice(r,t);i0?(nn(n,n.length,0,r),n):r}const wn={}.hasOwnProperty;function At(n,r){let t;for(t in r){const l=(wn.call(n,t)?n[t]:void 0)||(n[t]={}),i=r[t];let u;if(i)for(u in i){wn.call(l,u)||(l[u]=[]);const a=i[u];zt(l[u],Array.isArray(a)?a:a?[a]:[])}}}function zt(n,r){let t=-1;const e=[];for(;++tu))return;const D=r.events.length;let V,U,N=D;for(;N--;)if("exit"===r.events[N][0]&&"chunkFlow"===r.events[N][1].type){if(V){U=r.events[N][1].end;break}V=!0}for(b(e),k=D;ky;){const M=t[P];r.containerState=M[1],M[0].exit.call(r,n)}t.length=y}function j(){l.write([null]),i=void 0,l=void 0,r.containerState._closeFlow=void 0}}},Qn={tokenize:function Ht(n,r,t){return O(n,n.attempt(this.parser.constructs.document,r,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},Sn={tokenize:function qt(n,r,t){return function e(i){return z(i)?O(n,l,"linePrefix")(i):l(i)};function l(i){return null===i||F(i)?r(i):t(i)}},partial:!0};function Un(n){const r={};let e,l,i,u,a,m,p,t=-1;for(;++t=4?r(u):n.interrupt(e.parser.constructs.flow,t,r)(u)}},partial:!0},Zt={tokenize:function Yt(n){const r=this,t=n.attempt(Sn,function e(i){if(null!==i)return n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),r.currentConstruct=void 0,t;n.consume(i)},n.attempt(this.parser.constructs.flowInitial,l,O(n,n.attempt(this.parser.constructs.flow,l,n.attempt(Vt,l)),"linePrefix")));return t;function l(i){if(null!==i)return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),r.currentConstruct=void 0,t;n.consume(i)}}},Gt={resolveAll:Zn()},Jt=$n("string"),Kt=$n("text");function $n(n){return{tokenize:function r(t){const e=this,l=this.parser.constructs[n],i=t.attempt(l,u,a);return u;function u(c){return p(c)?i(c):a(c)}function a(c){if(null!==c)return t.enter("data"),t.consume(c),m;t.consume(c)}function m(c){return p(c)?(t.exit("data"),i(c)):(t.consume(c),m)}function p(c){if(null===c)return!0;const x=l[c];let f=-1;if(x)for(;++f=3&&(null===p||F(p))?(n.exit("thematicBreak"),r(p)):t(p)}function m(p){return p===l?(n.consume(p),e++,m):(n.exit("thematicBreakSequence"),z(p)?O(n,a,"whitespace")(p):a(p))}}},Z={name:"list",tokenize:function ue(n,r,t){const e=this,l=e.events[e.events.length-1];let i=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,u=0;return function a(h){const I=e.containerState.type||(42===h||43===h||45===h?"listUnordered":"listOrdered");if("listUnordered"===I?!e.containerState.marker||h===e.containerState.marker:zn(h)){if(e.containerState.type||(e.containerState.type=I,n.enter(I,{_container:!0})),"listUnordered"===I)return n.enter("listItemPrefix"),42===h||45===h?n.check(Fn,t,p)(h):p(h);if(!e.interrupt||49===h)return n.enter("listItemPrefix"),n.enter("listItemValue"),m(h)}return t(h)};function m(h){return zn(h)&&++u<10?(n.consume(h),m):(!e.interrupt||u<2)&&(e.containerState.marker?h===e.containerState.marker:41===h||46===h)?(n.exit("listItemValue"),p(h)):t(h)}function p(h){return n.enter("listItemMarker"),n.consume(h),n.exit("listItemMarker"),e.containerState.marker=e.containerState.marker||h,n.check(Sn,e.interrupt?t:c,n.attempt(re,f,x))}function c(h){return e.containerState.initialBlankLine=!0,i++,f(h)}function x(h){return z(h)?(n.enter("listItemPrefixWhitespace"),n.consume(h),n.exit("listItemPrefixWhitespace"),f):t(h)}function f(h){return e.containerState.size=i+e.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(h)}},continuation:{tokenize:function le(n,r,t){const e=this;return e.containerState._closeFlow=void 0,n.check(Sn,function l(a){return e.containerState.furtherBlankLines=e.containerState.furtherBlankLines||e.containerState.initialBlankLine,O(n,r,"listItemIndent",e.containerState.size+1)(a)},function i(a){return e.containerState.furtherBlankLines||!z(a)?(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,u(a)):(e.containerState.furtherBlankLines=void 0,e.containerState.initialBlankLine=void 0,n.attempt(ie,r,u)(a))});function u(a){return e.containerState._closeFlow=!0,e.interrupt=void 0,O(n,n.attempt(Z,r,t),"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function oe(n){n.exit(this.containerState.type)}},re={tokenize:function se(n,r,t){const e=this;return O(n,function l(i){const u=e.events[e.events.length-1];return!z(i)&&u&&"listItemPrefixWhitespace"===u[1].type?r(i):t(i)},"listItemPrefixWhitespace",e.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ie={tokenize:function ae(n,r,t){const e=this;return O(n,function l(i){const u=e.events[e.events.length-1];return u&&"listItemIndent"===u[1].type&&u[2].sliceSerialize(u[1],!0).length===e.containerState.size?r(i):t(i)},"listItemIndent",e.containerState.size+1)},partial:!0},Yn={name:"blockQuote",tokenize:function ce(n,r,t){const e=this;return function l(u){if(62===u){const a=e.containerState;return a.open||(n.enter("blockQuote",{_container:!0}),a.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(u),n.exit("blockQuoteMarker"),i}return t(u)};function i(u){return z(u)?(n.enter("blockQuotePrefixWhitespace"),n.consume(u),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(u))}},continuation:{tokenize:function he(n,r,t){const e=this;return function l(u){return z(u)?O(n,i,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):i(u)};function i(u){return n.attempt(Yn,r,t)(u)}}},exit:function pe(n){n.exit("blockQuote")}};function Gn(n,r,t,e,l,i,u,a,m){const p=m||Number.POSITIVE_INFINITY;let c=0;return function x(b){return 60===b?(n.enter(e),n.enter(l),n.enter(i),n.consume(b),n.exit(i),f):null===b||32===b||41===b||An(b)?t(b):(n.enter(e),n.enter(u),n.enter(a),n.enter("chunkString",{contentType:"string"}),T(b))};function f(b){return 62===b?(n.enter(i),n.consume(b),n.exit(i),n.exit(l),n.exit(e),r):(n.enter(a),n.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return 62===b?(n.exit("chunkString"),n.exit(a),f(b)):null===b||60===b||F(b)?t(b):(n.consume(b),92===b?I:h)}function I(b){return 60===b||62===b||92===b?(n.consume(b),h):h(b)}function T(b){return c||null!==b&&41!==b&&!$(b)?c999||null===h||91===h||93===h&&!m||94===h&&!a&&"_hiddenFootnoteSupport"in u.parser.constructs?t(h):93===h?(n.exit(i),n.enter(l),n.consume(h),n.exit(l),n.exit(e),r):F(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),x(h))}function x(h){return null===h||91===h||93===h||F(h)||a++>999?(n.exit("chunkString"),c(h)):(n.consume(h),m||(m=!z(h)),92===h?f:x)}function f(h){return 91===h||92===h||93===h?(n.consume(h),a++,x):x(h)}}function Kn(n,r,t,e,l,i){let u;return function a(f){return 34===f||39===f||40===f?(n.enter(e),n.enter(l),n.consume(f),n.exit(l),u=40===f?41:f,m):t(f)};function m(f){return f===u?(n.enter(l),n.consume(f),n.exit(l),n.exit(e),r):(n.enter(i),p(f))}function p(f){return f===u?(n.exit(i),m(u)):null===f?t(f):F(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),O(n,p,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===u||null===f||F(f)?(n.exit("chunkString"),p(f)):(n.consume(f),92===f?x:c)}function x(f){return f===u||92===f?(n.consume(f),c):c(f)}}function gn(n,r){let t;return function e(l){return F(l)?(n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),t=!0,e):z(l)?O(n,e,t?"linePrefix":"lineSuffix")(l):r(l)}}function pn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const fe={name:"definition",tokenize:function xe(n,r,t){const e=this;let l;return function i(h){return n.enter("definition"),function u(h){return Jn.call(e,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}(h)};function a(h){return l=pn(e.sliceSerialize(e.events[e.events.length-1][1]).slice(1,-1)),58===h?(n.enter("definitionMarker"),n.consume(h),n.exit("definitionMarker"),m):t(h)}function m(h){return $(h)?gn(n,p)(h):p(h)}function p(h){return Gn(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return n.attempt(me,x,x)(h)}function x(h){return z(h)?O(n,f,"whitespace")(h):f(h)}function f(h){return null===h||F(h)?(n.exit("definition"),e.parser.defined.push(l),r(h)):t(h)}}},me={tokenize:function ge(n,r,t){return function e(a){return $(a)?gn(n,l)(a):t(a)};function l(a){return Kn(n,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function i(a){return z(a)?O(n,u,"whitespace")(a):u(a)}function u(a){return null===a||F(a)?r(a):t(a)}},partial:!0},Tn={name:"codeIndented",tokenize:function de(n,r,t){const e=this;return function l(p){return n.enter("codeIndented"),O(n,i,"linePrefix",5)(p)};function i(p){const c=e.events[e.events.length-1];return c&&"linePrefix"===c[1].type&&c[2].sliceSerialize(c[1],!0).length>=4?u(p):t(p)}function u(p){return null===p?m(p):F(p)?n.attempt(ke,u,m)(p):(n.enter("codeFlowValue"),a(p))}function a(p){return null===p||F(p)?(n.exit("codeFlowValue"),u(p)):(n.consume(p),a)}function m(p){return n.exit("codeIndented"),r(p)}}},ke={tokenize:function be(n,r,t){const e=this;return l;function l(u){return e.parser.lazy[e.now().line]?t(u):F(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),l):O(n,i,"linePrefix",5)(u)}function i(u){const a=e.events[e.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(u):F(u)?l(u):t(u)}},partial:!0},ye={name:"headingAtx",tokenize:function Fe(n,r,t){let e=0;return function l(c){return n.enter("atxHeading"),function i(c){return n.enter("atxHeadingSequence"),u(c)}(c)};function u(c){return 35===c&&e++<6?(n.consume(c),u):null===c||$(c)?(n.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return 35===c?(n.enter("atxHeadingSequence"),m(c)):null===c||F(c)?(n.exit("atxHeading"),r(c)):z(c)?O(n,a,"whitespace")(c):(n.enter("atxHeadingText"),p(c))}function m(c){return 35===c?(n.consume(c),m):(n.exit("atxHeadingSequence"),a(c))}function p(c){return null===c||35===c||$(c)?(n.exit("atxHeadingText"),a(c)):(n.consume(c),p)}},resolve:function Se(n,r){let l,i,t=n.length-2,e=3;return"whitespace"===n[e][1].type&&(e+=2),t-2>e&&"whitespace"===n[t][1].type&&(t-=2),"atxHeadingSequence"===n[t][1].type&&(e===t-1||t-4>e&&"whitespace"===n[t-2][1].type)&&(t-=e+1===t?2:4),t>e&&(l={type:"atxHeadingText",start:n[e][1].start,end:n[t][1].end},i={type:"chunkText",start:n[e][1].start,end:n[t][1].end,contentType:"text"},nn(n,e,t-e+1,[["enter",l,r],["enter",i,r],["exit",i,r],["exit",l,r]])),n}},Xn={name:"setextUnderline",tokenize:function Ce(n,r,t){const e=this;let l;return function i(p){let x,c=e.events.length;for(;c--;)if("lineEnding"!==e.events[c][1].type&&"linePrefix"!==e.events[c][1].type&&"content"!==e.events[c][1].type){x="paragraph"===e.events[c][1].type;break}return e.parser.lazy[e.now().line]||!e.interrupt&&!x?t(p):(n.enter("setextHeadingLine"),l=p,function u(p){return n.enter("setextHeadingLineSequence"),a(p)}(p))};function a(p){return p===l?(n.consume(p),a):(n.exit("setextHeadingLineSequence"),z(p)?O(n,m,"lineSuffix")(p):m(p))}function m(p){return null===p||F(p)?(n.exit("setextHeadingLine"),r(p)):t(p)}},resolveTo:function Ee(n,r){let e,l,i,t=n.length;for(;t--;)if("enter"===n[t][0]){if("content"===n[t][1].type){e=t;break}"paragraph"===n[t][1].type&&(l=t)}else"content"===n[t][1].type&&n.splice(t,1),!i&&"definition"===n[t][1].type&&(i=t);const u={type:"setextHeading",start:Object.assign({},n[l][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[l][1].type="setextHeadingText",i?(n.splice(l,0,["enter",u,r]),n.splice(i+1,0,["exit",n[e][1],r]),n[e][1].end=Object.assign({},n[i][1].end)):n[e][1]=u,n.push(["exit",u,r]),n}},we=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],vn=["pre","script","style","textarea"],Ae={name:"htmlFlow",tokenize:function Be(n,r,t){const e=this;let l,i,u,a,m;return function p(s){return function c(s){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(s),x}(s)};function x(s){return 33===s?(n.consume(s),f):47===s?(n.consume(s),i=!0,T):63===s?(n.consume(s),l=3,e.interrupt?r:o):tn(s)?(n.consume(s),u=String.fromCharCode(s),_):t(s)}function f(s){return 45===s?(n.consume(s),l=2,h):91===s?(n.consume(s),l=5,a=0,I):tn(s)?(n.consume(s),l=4,e.interrupt?r:o):t(s)}function h(s){return 45===s?(n.consume(s),e.interrupt?r:o):t(s)}function I(s){const Y="CDATA[";return s===Y.charCodeAt(a++)?(n.consume(s),a===Y.length?e.interrupt?r:A:I):t(s)}function T(s){return tn(s)?(n.consume(s),u=String.fromCharCode(s),_):t(s)}function _(s){if(null===s||47===s||62===s||$(s)){const Y=47===s,fn=u.toLowerCase();return Y||i||!vn.includes(fn)?we.includes(u.toLowerCase())?(l=6,Y?(n.consume(s),b):e.interrupt?r(s):A(s)):(l=7,e.interrupt&&!e.parser.lazy[e.now().line]?t(s):i?j(s):y(s)):(l=1,e.interrupt?r(s):A(s))}return 45===s||K(s)?(n.consume(s),u+=String.fromCharCode(s),_):t(s)}function b(s){return 62===s?(n.consume(s),e.interrupt?r:A):t(s)}function j(s){return z(s)?(n.consume(s),j):U(s)}function y(s){return 47===s?(n.consume(s),U):58===s||95===s||tn(s)?(n.consume(s),P):z(s)?(n.consume(s),y):U(s)}function P(s){return 45===s||46===s||58===s||95===s||K(s)?(n.consume(s),P):M(s)}function M(s){return 61===s?(n.consume(s),k):z(s)?(n.consume(s),M):y(s)}function k(s){return null===s||60===s||61===s||62===s||96===s?t(s):34===s||39===s?(n.consume(s),m=s,D):z(s)?(n.consume(s),k):N(s)}function D(s){return s===m?(n.consume(s),m=null,V):null===s||F(s)?t(s):(n.consume(s),D)}function N(s){return null===s||34===s||39===s||47===s||60===s||61===s||62===s||96===s||$(s)?M(s):(n.consume(s),N)}function V(s){return 47===s||62===s||z(s)?y(s):t(s)}function U(s){return 62===s?(n.consume(s),H):t(s)}function H(s){return null===s||F(s)?A(s):z(s)?(n.consume(s),H):t(s)}function A(s){return 45===s&&2===l?(n.consume(s),R):60===s&&1===l?(n.consume(s),W):62===s&&4===l?(n.consume(s),J):63===s&&3===l?(n.consume(s),o):93===s&&5===l?(n.consume(s),en):!F(s)||6!==l&&7!==l?null===s||F(s)?(n.exit("htmlFlowData"),S(s)):(n.consume(s),A):(n.exit("htmlFlowData"),n.check(ze,rn,S)(s))}function S(s){return n.check(Ie,w,rn)(s)}function w(s){return n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),C}function C(s){return null===s||F(s)?S(s):(n.enter("htmlFlowData"),A(s))}function R(s){return 45===s?(n.consume(s),o):A(s)}function W(s){return 47===s?(n.consume(s),u="",X):A(s)}function X(s){if(62===s){const Y=u.toLowerCase();return vn.includes(Y)?(n.consume(s),J):A(s)}return tn(s)&&u.length<8?(n.consume(s),u+=String.fromCharCode(s),X):A(s)}function en(s){return 93===s?(n.consume(s),o):A(s)}function o(s){return 62===s?(n.consume(s),J):45===s&&2===l?(n.consume(s),o):A(s)}function J(s){return null===s||F(s)?(n.exit("htmlFlowData"),rn(s)):(n.consume(s),J)}function rn(s){return n.exit("htmlFlow"),r(s)}},resolveTo:function Te(n){let r=n.length;for(;r--&&("enter"!==n[r][0]||"htmlFlow"!==n[r][1].type););return r>1&&"linePrefix"===n[r-2][1].type&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n},concrete:!0},ze={tokenize:function Oe(n,r,t){return function e(l){return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),n.attempt(Sn,r,t)}},partial:!0},Ie={tokenize:function Le(n,r,t){const e=this;return function l(u){return F(u)?(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),i):t(u)};function i(u){return e.parser.lazy[e.now().line]?t(u):r(u)}},partial:!0},nt={tokenize:function _e(n,r,t){const e=this;return function l(u){return null===u?t(u):(n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),i)};function i(u){return e.parser.lazy[e.now().line]?t(u):r(u)}},partial:!0},tt={name:"codeFenced",tokenize:function De(n,r,t){const e=this,l={tokenize:function M(k,D,N){let V=0;return function U(C){return k.enter("lineEnding"),k.consume(C),k.exit("lineEnding"),H};function H(C){return k.enter("codeFencedFence"),z(C)?O(k,A,"linePrefix",e.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):A(C)}function A(C){return C===a?(k.enter("codeFencedFenceSequence"),S(C)):N(C)}function S(C){return C===a?(V++,k.consume(C),S):V>=u?(k.exit("codeFencedFenceSequence"),z(C)?O(k,w,"whitespace")(C):w(C)):N(C)}function w(C){return null===C||F(C)?(k.exit("codeFencedFence"),D(C)):N(C)}},partial:!0};let a,i=0,u=0;return function m(k){return function p(k){const D=e.events[e.events.length-1];return i=D&&"linePrefix"===D[1].type?D[2].sliceSerialize(D[1],!0).length:0,a=k,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),c(k)}(k)};function c(k){return k===a?(u++,n.consume(k),c):u<3?t(k):(n.exit("codeFencedFenceSequence"),z(k)?O(n,x,"whitespace")(k):x(k))}function x(k){return null===k||F(k)?(n.exit("codeFencedFence"),e.interrupt?r(k):n.check(nt,T,P)(k)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),f(k))}function f(k){return null===k||F(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),x(k)):z(k)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),O(n,h,"whitespace")(k)):96===k&&k===a?t(k):(n.consume(k),f)}function h(k){return null===k||F(k)?x(k):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),I(k))}function I(k){return null===k||F(k)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),x(k)):96===k&&k===a?t(k):(n.consume(k),I)}function T(k){return n.attempt(l,P,_)(k)}function _(k){return n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),b}function b(k){return i>0&&z(k)?O(n,j,"linePrefix",i+1)(k):j(k)}function j(k){return null===k||F(k)?n.check(nt,T,P)(k):(n.enter("codeFlowValue"),y(k))}function y(k){return null===k||F(k)?(n.exit("codeFlowValue"),j(k)):(n.consume(k),y)}function P(k){return n.exit("codeFenced"),r(k)}},concrete:!0},et=document.createElement("i");function Bn(n){const r="&"+n+";";et.innerHTML=r;const t=et.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===n)&&t!==r&&t}const rt={name:"characterReference",tokenize:function Pe(n,r,t){const e=this;let i,u,l=0;return function a(x){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(x),n.exit("characterReferenceMarker"),m};function m(x){return 35===x?(n.enter("characterReferenceMarkerNumeric"),n.consume(x),n.exit("characterReferenceMarkerNumeric"),p):(n.enter("characterReferenceValue"),i=31,u=K,c(x))}function p(x){return 88===x||120===x?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(x),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),i=6,u=Lt,c):(n.enter("characterReferenceValue"),i=7,u=zn,c(x))}function c(x){if(59===x&&l){const f=n.exit("characterReferenceValue");return u!==K||Bn(e.sliceSerialize(f))?(n.enter("characterReferenceMarker"),n.consume(x),n.exit("characterReferenceMarker"),n.exit("characterReference"),r):t(x)}return u(x)&&l++1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const x=Object.assign({},n[e][1].end),f=Object.assign({},n[t][1].start);lt(x,-m),lt(f,m),u={type:m>1?"strongSequence":"emphasisSequence",start:x,end:Object.assign({},n[e][1].end)},a={type:m>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:f},i={type:m>1?"strongText":"emphasisText",start:Object.assign({},n[e][1].end),end:Object.assign({},n[t][1].start)},l={type:m>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},a.end)},n[e][1].end=Object.assign({},u.start),n[t][1].start=Object.assign({},a.end),p=[],n[e][1].end.offset-n[e][1].start.offset&&(p=G(p,[["enter",n[e][1],r],["exit",n[e][1],r]])),p=G(p,[["enter",l,r],["enter",u,r],["exit",u,r],["enter",i,r]]),p=G(p,In(r.parser.constructs.insideSpan.null,n.slice(e+1,t),r)),p=G(p,[["exit",i,r],["enter",a,r],["exit",a,r],["exit",l,r]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,p=G(p,[["enter",n[t][1],r],["exit",n[t][1],r]])):c=0,nn(n,e-1,t-e+3,p),t=e+p.length-c-2;break}for(t=-1;++t-1){const a=u[0];"string"==typeof a?u[0]=a.slice(e):u.shift()}i>0&&u.push(n[l].slice(0,i))}return u}(u,S)}function _(){const{line:S,column:w,offset:C,_index:R,_bufferIndex:W}=e;return{line:S,column:w,offset:C,_index:R,_bufferIndex:W}}function y(S){m=void 0,f=S,x=x(S)}function N(S,w){w.restore()}function V(S,w){return function C(R,W,X){let en,o,J,rn;return Array.isArray(R)?Y(R):"tokenize"in R?Y([R]):function s(Q){return function dn(un){const mn=null!==un&&Q[un],hn=null!==un&&Q.null;return Y([...Array.isArray(mn)?mn:mn?[mn]:[],...Array.isArray(hn)?hn:hn?[hn]:[]])(un)}}(R);function Y(Q){return en=Q,o=0,0===Q.length?X:fn(Q[o])}function fn(Q){return function dn(un){return rn=function H(){const S=_(),w=c.previous,C=c.currentConstruct,R=c.events.length,W=Array.from(a);return{restore:function X(){e=S,c.previous=w,c.currentConstruct=C,c.events.length=R,a=W,A()},from:R}}(),J=Q,Q.partial||(c.currentConstruct=Q),Q.name&&c.parser.constructs.disable.null.includes(Q.name)?kn():Q.tokenize.call(w?Object.assign(Object.create(c),w):c,p,Rn,kn)(un)}}function Rn(Q){return m=!0,S(J,rn),W}function kn(Q){return m=!0,rn.restore(),++o13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535==(65535&t)||65534==(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const Sr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Er(n,r,t){if(r)return r;if(35===t.charCodeAt(0)){const l=t.charCodeAt(1),i=120===l||88===l;return ot(t.slice(i?2:1),i?16:10)}return Bn(t)||n}function En(n){return n&&"object"==typeof n?"position"in n||"type"in n?st(n.position):"start"in n||"end"in n?st(n):"line"in n||"column"in n?_n(n):"":""}function _n(n){return ct(n&&n.line)+":"+ct(n&&n.column)}function st(n){return _n(n&&n.start)+"-"+_n(n&&n.end)}function ct(n){return n&&"number"==typeof n?n:1}const ht={}.hasOwnProperty,pt=function(n,r,t){return"string"!=typeof r&&(t=r,r=void 0),function Cr(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(bt),autolinkProtocol:H,autolinkEmail:H,atxHeading:a(gt),blockQuote:a(function mn(){return{type:"blockquote",children:[]}}),characterEscape:H,characterReference:H,codeFenced:a(hn),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:a(hn,m),codeText:a(function Hn(){return{type:"inlineCode",value:""}},m),codeTextData:H,data:H,codeFlowValue:H,definition:a(function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:a(function qr(){return{type:"emphasis",children:[]}}),hardBreakEscape:a(kt),hardBreakTrailing:a(kt),htmlFlow:a(dt,m),htmlFlowData:H,htmlText:a(dt,m),htmlTextData:H,image:a(function Nr(){return{type:"image",title:null,url:"",alt:null}}),label:m,link:a(bt),listItem:a(function Vr(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}),listItemValue:function I(g){u("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(g),10),i("expectingFirstListItemValue"))},listOrdered:a(yt,function h(){i("expectingFirstListItemValue",!0)}),listUnordered:a(yt),paragraph:a(function Wr(){return{type:"paragraph",children:[]}}),reference:function fn(){i("referenceType","collapsed")},referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:a(gt),strong:a(function Qr(){return{type:"strong",children:[]}}),thematicBreak:a(function $r(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function D(g){const d=this.stack[this.stack.length-1];if(!d.depth){const E=this.sliceSerialize(g).length;d.depth=E}},autolink:c(),autolinkEmail:function un(g){A.call(this,g),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(g)},autolinkProtocol:function dn(g){A.call(this,g),this.stack[this.stack.length-1].url=this.sliceSerialize(g)},blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:kn,characterReferenceMarkerNumeric:kn,characterReferenceValue:function Q(g){const d=this.sliceSerialize(g),E=u("characterReferenceType");let B;E?(B=ot(d,"characterReferenceMarkerNumeric"===E?10:16),i("characterReferenceType")):B=Bn(d);const L=this.stack.pop();L.value+=B,L.position.end=sn(g.end)},codeFenced:c(function j(){const g=this.resume();this.stack[this.stack.length-1].value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}),codeFencedFence:function b(){u("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function T(){const g=this.resume();this.stack[this.stack.length-1].lang=g},codeFencedFenceMeta:function _(){const g=this.resume();this.stack[this.stack.length-1].meta=g},codeFlowValue:A,codeIndented:c(function y(){const g=this.resume();this.stack[this.stack.length-1].value=g.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function W(){const g=this.resume();this.stack[this.stack.length-1].value=g}),codeTextData:A,data:A,definition:c(),definitionDestinationString:function k(){const g=this.resume();this.stack[this.stack.length-1].url=g},definitionLabelString:function P(g){const d=this.resume(),E=this.stack[this.stack.length-1];E.label=d,E.identifier=pn(this.sliceSerialize(g)).toLowerCase()},definitionTitleString:function M(){const g=this.resume();this.stack[this.stack.length-1].title=g},emphasis:c(),hardBreakEscape:c(w),hardBreakTrailing:c(w),htmlFlow:c(function C(){const g=this.resume();this.stack[this.stack.length-1].value=g}),htmlFlowData:A,htmlText:c(function R(){const g=this.resume();this.stack[this.stack.length-1].value=g}),htmlTextData:A,image:c(function en(){const g=this.stack[this.stack.length-1];if(u("inReference")){const d=u("referenceType")||"shortcut";g.type+="Reference",g.referenceType=d,delete g.url,delete g.title}else delete g.identifier,delete g.label;i("referenceType")}),label:function J(){const g=this.stack[this.stack.length-1],d=this.resume(),E=this.stack[this.stack.length-1];i("inReference",!0),"link"===E.type?E.children=g.children:E.alt=d},labelText:function o(g){const d=this.sliceSerialize(g),E=this.stack[this.stack.length-2];E.label=function Fr(n){return n.replace(Sr,Er)}(d),E.identifier=pn(d).toLowerCase()},lineEnding:function S(g){const d=this.stack[this.stack.length-1];if(u("atHardBreak"))return d.children[d.children.length-1].position.end=sn(g.end),void i("atHardBreak");!u("setextHeadingSlurpLineEnding")&&r.canContainEols.includes(d.type)&&(H.call(this,g),A.call(this,g))},link:c(function X(){const g=this.stack[this.stack.length-1];if(u("inReference")){const d=u("referenceType")||"shortcut";g.type+="Reference",g.referenceType=d,delete g.url,delete g.title}else delete g.identifier,delete g.label;i("referenceType")}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function Rn(g){const d=this.resume(),E=this.stack[this.stack.length-1];E.label=d,E.identifier=pn(this.sliceSerialize(g)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function rn(){const g=this.resume();this.stack[this.stack.length-1].url=g},resourceTitleString:function s(){const g=this.resume();this.stack[this.stack.length-1].title=g},resource:function Y(){i("inReference")},setextHeading:c(function U(){i("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function V(g){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(g).charCodeAt(0)?1:2},setextHeadingText:function N(){i("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};ft(r,(n||{}).mdastExtensions||[]);const t={};return function e(g){let d={type:"root",children:[]};const E={stack:[d],tokenStack:[],config:r,enter:p,exit:x,buffer:m,resume:f,setData:i,getData:u},B=[];let L=-1;for(;++L0){const v=E.tokenStack[E.tokenStack.length-1];(v[1]||mt).call(E,void 0,v[0])}for(d.position={start:sn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:sn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},L=-1;++L{0!==c&&(l++,e.push([])),p.split(" ").forEach(x=>{x&&e[l].push({content:x,type:a})})}):("strong"===u.type||"emphasis"===u.type)&&u.children.forEach(m=>{i(m,u.type)})}return t.forEach(u=>{"paragraph"===u.type&&u.children.forEach(a=>{i(a)})}),e}function Lr(n,r){const t=function Br(n){return Intl.Segmenter?[...(new Intl.Segmenter).segment(n)].map(r=>r.segment):[...n]}(r.content);return xt(n,[],t,r.type)}function xt(n,r,t,e){if(0===t.length)return[{content:r.join(""),type:e},{content:"",type:e}];const[l,...i]=t,u=[...r,l];return n([{content:u.join(""),type:e}])?xt(n,u,i,e):(0===r.length&&l&&(r.push(l),t.shift()),[{content:r.join(""),type:e},{content:t.join(""),type:e}])}function Or(n,r){if(n.some(({content:t})=>t.includes("\n")))throw new Error("splitLineToFitWidth does not support newlines in the line");return Pn(n,r)}function Pn(n,r,t=[],e=[]){if(0===n.length)return e.length>0&&t.push(e),t.length>0?t:[];let l="";" "===n[0].content&&(l=" ",n.shift());const i=n.shift()??{content:" ",type:"normal"},u=[...e];if(""!==l&&u.push({content:l,type:"normal"}),u.push(i),r(u))return Pn(n,r,t,u);if(e.length>0)t.push(e),n.unshift(i);else if(i.content){const[a,m]=Lr(r,i);t.push([a]),m.content&&n.unshift(m)}return Pn(n,r,t)}function Mn(n,r,t){return n.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",r*t-.1+"em").attr("dy",t+"em")}function Pr(n,r,t){const e=n.append("text"),l=Mn(e,1,r);jn(l,t);const i=l.node().getComputedTextLength();return e.remove(),i}function Mr(n,r,t){var e;const l=n.append("text"),i=Mn(l,1,r);jn(i,[{content:t,type:"normal"}]);const u=null==(e=i.node())?void 0:e.getBoundingClientRect();return u&&l.remove(),u}function jn(n,r){n.text(""),r.forEach((t,e)=>{n.append("tspan").attr("font-style","emphasis"===t.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===t.type?"bold":"normal").text(0===e?t.content:" "+t.content)})}const Rr=(n,r="",{style:t="",isTitle:e=!1,classes:l="",useHtmlLabels:i=!0,isNode:u=!0,width:a=200,addSvgBackground:m=!1}={})=>{if(Nn.l.info("createText",r,t,e,l,i,u,m),i){const p=function Tr(n){const{children:r}=pt(n);return r.map(function t(e){return"text"===e.type?e.value.replace(/\n/g,"
"):"strong"===e.type?`${e.children.map(t).join("")}`:"emphasis"===e.type?`${e.children.map(t).join("")}`:"paragraph"===e.type?`

${e.children.map(t).join("")}

`:`Unsupported markdown: ${e.type}`}).join("")}(r);return function _r(n,r,t,e,l=!1){const i=n.append("foreignObject"),u=i.append("xhtml:div");u.html(`\n "+r.label+""),function Dr(n,r){r&&n.attr("style",r)}(u,r.labelStyle),u.style("display","table-cell"),u.style("white-space","nowrap"),u.style("max-width",t+"px"),u.attr("xmlns","http://www.w3.org/1999/xhtml"),l&&u.attr("class","labelBkg");let p=u.node().getBoundingClientRect();return p.width===t&&(u.style("display","table"),u.style("white-space","break-spaces"),u.style("width",t+"px"),p=u.node().getBoundingClientRect()),i.style("width",p.width),i.style("height",p.height),i.node()}(n,{isNode:u,label:(0,Nn.M)(p).replace(/fa[blrs]?:fa-[\w-]+/g,f=>``),labelStyle:t.replace("fill:","color:")},a,l,m)}return function jr(n,r,t,e=!1){const i=r.append("g"),u=i.insert("rect").attr("class","background"),a=i.append("text").attr("y","-10.1");let m=0;for(const p of t){const c=f=>Pr(i,1.1,f)<=n,x=c(p)?[p]:Or(p,c);for(const f of x)jn(Mn(a,m,1.1),f),m++}if(e){const p=a.node().getBBox(),c=2;return u.attr("x",-c).attr("y",-c).attr("width",p.width+2*c).attr("height",p.height+2*c),i.node()}return a.node()}(a,n,Ir(r),m)}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/633.98936ec9d0fd371a.js b/pkg/apiserver-impl/ui/633.98936ec9d0fd371a.js new file mode 100644 index 00000000000..28d63ae14db --- /dev/null +++ b/pkg/apiserver-impl/ui/633.98936ec9d0fd371a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[633],{4633:(mt,tt,E)=>{E.r(tt),E.d(tt,{diagram:()=>dt});var o=E(9037),F=E(8586),Y=(E(1764),E(6780),E(2735),function(){var i=function(_,t,e,s){for(e=e||{},s=_.length;s--;e[_[s]]=t);return e},m=[1,3],N=[1,4],p=[1,5],g=[1,6],$=[1,10,12,14,16,18,19,20,21,22],W=[2,4],P=[1,5,10,12,14,16,18,19,20,21,22],h=[20,21,22],w=[2,7],v=[1,12],C=[1,13],L=[1,14],b=[1,15],R=[1,16],u=[1,17],A={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,s,r,a,n,D){var y=n.length-1;switch(a){case 3:r.setShowData(!0);break;case 6:this.$=n[y-1];break;case 8:r.addSection(n[y-1],r.cleanupValue(n[y]));break;case 9:this.$=n[y].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=n[y].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=n[y].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(n[y].substr(8)),this.$=n[y].substr(8)}},table:[{3:1,4:2,5:m,20:N,21:p,22:g},{1:[3]},{3:7,4:2,5:m,20:N,21:p,22:g},i($,W,{6:8,7:[1,9]}),i(P,[2,14]),i(P,[2,15]),i(P,[2,16]),{1:[2,1]},i(h,w,{8:10,9:11,1:[2,2],10:v,12:C,14:L,16:b,18:R,19:u}),i($,W,{6:18}),i($,[2,5]),{4:19,20:N,21:p,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},i(h,[2,12]),i(h,[2,13]),i(h,w,{8:10,9:11,1:[2,3],10:v,12:C,14:L,16:b,18:R,19:u}),i($,[2,6]),i(h,[2,8]),i(h,[2,9]),i(h,[2,10]),i(h,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var s=[0],r=[],a=[null],n=[],D=this.table,y="",c=0,T=0,H=n.slice.call(arguments,1),l=Object.create(this.lexer),I={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(I.yy[J]=this.yy[J]);l.setInput(t,I.yy),I.yy.lexer=l,I.yy.parser=this,typeof l.yylloc>"u"&&(l.yylloc={});var Q=l.yylloc;n.push(Q);var x,gt=l.options&&l.options.ranges;this.parseError="function"==typeof I.yy.parseError?I.yy.parseError:Object.getPrototypeOf(this).parseError;for(var f,O,d,X,G,k,K,M={};;){if(this.defaultActions[O=s[s.length-1]]?d=this.defaultActions[O]:((null===f||typeof f>"u")&&(x=void 0,"number"!=typeof(x=r.pop()||l.lex()||1)&&(x instanceof Array&&(x=(r=x).pop()),x=this.symbols_[x]||x),f=x),d=D[O]&&D[O][f]),typeof d>"u"||!d.length||!d[0]){var q;for(G in K=[],D[O])this.terminals_[G]&&G>2&&K.push("'"+this.terminals_[G]+"'");q=l.showPosition?"Parse error on line "+(c+1)+":\n"+l.showPosition()+"\nExpecting "+K.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(q,{text:l.match,token:this.terminals_[f]||f,line:l.yylineno,loc:Q,expected:K})}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+f);switch(d[0]){case 1:s.push(f),a.push(l.yytext),n.push(l.yylloc),s.push(d[1]),f=null,T=l.yyleng,y=l.yytext,c=l.yylineno,Q=l.yylloc;break;case 2:if(M.$=a[a.length-(k=this.productions_[d[1]][1])],M._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},gt&&(M._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),typeof(X=this.performAction.apply(M,[y,T,c,I.yy,d[1],a,n].concat(H)))<"u")return X;k&&(s=s.slice(0,-1*k*2),a=a.slice(0,-1*k),n=n.slice(0,-1*k)),s.push(this.productions_[d[1]][0]),a.push(M.$),n.push(M._$),s.push(D[s[s.length-2]][s[s.length-1]]);break;case 3:return!0}}return!0}};function S(){this.yy={}}return A.lexer={EOF:1,parseError:function(e,s){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,s)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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),s.length-1&&(this.yylineno-=s.length-1);var a=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:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,r,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=s,r=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,s,r,a){switch(r){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}},S.prototype=A,A.Parser=S,new S}());Y.parser=Y;const st=Y,j_sections={};let z=j_sections,Z=false;const nt=structuredClone(o.B.pie),dt={parser:st,db:{getConfig:()=>structuredClone(nt),clear:()=>{z=structuredClone(j_sections),Z=false,(0,o.v)()},setDiagramTitle:o.q,getDiagramTitle:o.t,setAccTitle:o.s,getAccTitle:o.g,setAccDescription:o.b,getAccDescription:o.a,addSection:(i,m)=>{i=(0,o.d)(i,(0,o.c)()),void 0===z[i]&&(z[i]=m,o.l.debug(`added new section: ${i}, with value: ${m}`))},getSections:()=>z,cleanupValue:i=>(":"===i.substring(0,1)&&(i=i.substring(1).trim()),Number(i.trim())),setShowData:i=>{Z=i},getShowData:()=>Z},renderer:{draw:(i,m,N,p)=>{o.l.debug("rendering pie chart\n"+i);const g=p.db,$=(0,o.c)(),W=(0,o.C)(g.getConfig(),$.pie),L=(0,o.A)(m),b=L.append("g"),R=g.getSections();b.attr("transform","translate(225,225)");const{themeVariables:u}=$;let[A]=(0,o.D)(u.pieOuterStrokeWidth);A??(A=2);const B=W.textPosition,S=Math.min(450,450)/2-40,_=(0,F.Nb1)().innerRadius(0).outerRadius(S),t=(0,F.Nb1)().innerRadius(S*B).outerRadius(S*B);b.append("circle").attr("cx",0).attr("cy",0).attr("r",S+A/2).attr("class","pieOuterCircle");const e=(i=>{const m=Object.entries(i).map(p=>({label:p[0],value:p[1]})).sort((p,g)=>g.value-p.value);return(0,F.ve8)().value(p=>p.value)(m)})(R),r=(0,F.PKp)([u.pie1,u.pie2,u.pie3,u.pie4,u.pie5,u.pie6,u.pie7,u.pie8,u.pie9,u.pie10,u.pie11,u.pie12]);b.selectAll("mySlices").data(e).enter().append("path").attr("d",_).attr("fill",c=>r(c.data.label)).attr("class","pieCircle");let a=0;Object.keys(R).forEach(c=>{a+=R[c]}),b.selectAll("mySlices").data(e).enter().append("text").text(c=>(c.data.value/a*100).toFixed(0)+"%").attr("transform",c=>"translate("+t.centroid(c)+")").style("text-anchor","middle").attr("class","slice"),b.append("text").text(g.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const n=b.selectAll(".legend").data(r.domain()).enter().append("g").attr("class","legend").attr("transform",(c,T)=>"translate(216,"+(22*T-22*r.domain().length/2)+")");n.append("rect").attr("width",18).attr("height",18).style("fill",r).style("stroke",r),n.data(e).append("text").attr("x",22).attr("y",14).text(c=>{const{label:T,value:V}=c.data;return g.getShowData()?`${T} [${V}]`:T});const y=512+Math.max(...n.selectAll("text").nodes().map(c=>c?.getBoundingClientRect().width??0));L.attr("viewBox",`0 0 ${y} 450`),(0,o.i)(L,450,y,W.useMaxWidth)}},styles:i=>`\n .pieCircle{\n stroke: ${i.pieStrokeColor};\n stroke-width : ${i.pieStrokeWidth};\n opacity : ${i.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${i.pieOuterStrokeColor};\n stroke-width: ${i.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${i.pieTitleTextSize};\n fill: ${i.pieTitleTextColor};\n font-family: ${i.fontFamily};\n }\n .slice {\n font-family: ${i.fontFamily};\n fill: ${i.pieSectionTextColor};\n font-size:${i.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${i.pieLegendTextColor};\n font-family: ${i.fontFamily};\n font-size: ${i.pieLegendTextSize};\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/634.b9d30a1327dead79.js b/pkg/apiserver-impl/ui/634.b9d30a1327dead79.js new file mode 100644 index 00000000000..e4042a76c18 --- /dev/null +++ b/pkg/apiserver-impl/ui/634.b9d30a1327dead79.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[634],{1595:(m,h,n)=>{n.d(h,{k:()=>En});var _=n(6947),f=n(145),i=n(2089),u=n(1952),a=n(8736),d=n(9378),l=n(6391),c=n(9948),g=n(113),P=n(7965),I=n(3713),A=n(9009);const O=function p(T){return T!=T},Mn=function un(T,t){return!(null==T||!T.length)&&function G(T,t,s){return t==t?function R(T,t,s){for(var E=s-1,Z=T.length;++E-1},Rn=function Tn(T,t,s){for(var E=-1,Z=null==T?0:T.length;++E=200){var Cn=t?null:ln(T);if(Cn)return(0,yn.Z)(Cn);D=!1,Z=Sn.Z,j=new I.Z}else j=t?[]:L;n:for(;++E1?Z.setNode(b,s):Z.setNode(b)}),this}setNode(t,s){return _.Z(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=s),this):(this._nodes[t]=arguments.length>1?s:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=Y,this._children[t]={},this._children[Y][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return _.Z(this._nodes,t)}removeNode(t){var s=this;if(_.Z(this._nodes,t)){var E=function(Z){s.removeEdge(s._edgeObjs[Z])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],l.Z(this.children(t),function(Z){s.setParent(Z)}),delete this._children[t]),l.Z(u.Z(this._in[t]),E),delete this._in[t],delete this._preds[t],l.Z(u.Z(this._out[t]),E),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,s){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(c.Z(s))s=Y;else{for(var E=s+="";!c.Z(E);E=this.parent(E))if(E===t)throw new Error("Setting "+s+" as parent of "+t+" would create a cycle");this.setNode(s)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=s,this._children[s][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var s=this._parent[t];if(s!==Y)return s}}children(t){if(c.Z(t)&&(t=Y),this._isCompound){var s=this._children[t];if(s)return u.Z(s)}else{if(t===Y)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var s=this._preds[t];if(s)return u.Z(s)}successors(t){var s=this._sucs[t];if(s)return u.Z(s)}neighbors(t){var s=this.predecessors(t);if(s)return Nn(s,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var s=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});s.setGraph(this.graph());var E=this;l.Z(this._nodes,function(D,L){t(L)&&s.setNode(L,D)}),l.Z(this._edgeObjs,function(D){s.hasNode(D.v)&&s.hasNode(D.w)&&s.setEdge(D,E.edge(D))});var Z={};function b(D){var L=E.parent(D);return void 0===L||s.hasNode(L)?(Z[D]=L,L):L in Z?Z[L]:b(L)}return this._isCompound&&l.Z(s.nodes(),function(D){s.setParent(D,b(D))}),s}setDefaultEdgeLabel(t){return i.Z(t)||(t=f.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return cn.Z(this._edgeObjs)}setPath(t,s){var E=this,Z=arguments;return xn.Z(t,function(b,D){return Z.length>1?E.setEdge(b,D,s):E.setEdge(b,D),D}),this}setEdge(){var t,s,E,Z,b=!1,D=arguments[0];"object"==typeof D&&null!==D&&"v"in D?(t=D.v,s=D.w,E=D.name,2===arguments.length&&(Z=arguments[1],b=!0)):(t=D,s=arguments[1],E=arguments[3],arguments.length>2&&(Z=arguments[2],b=!0)),t=""+t,s=""+s,c.Z(E)||(E=""+E);var L=k(this._isDirected,t,s,E);if(_.Z(this._edgeLabels,L))return b&&(this._edgeLabels[L]=Z),this;if(!c.Z(E)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(s),this._edgeLabels[L]=b?Z:this._defaultEdgeLabelFn(t,s,E);var j=function rn(T,t,s,E){var Z=""+t,b=""+s;if(!T&&Z>b){var D=Z;Z=b,b=D}var L={v:Z,w:b};return E&&(L.name=E),L}(this._isDirected,t,s,E);return t=j.v,s=j.w,Object.freeze(j),this._edgeObjs[L]=j,bn(this._preds[s],t),bn(this._sucs[t],s),this._in[s][L]=j,this._out[t][L]=j,this._edgeCount++,this}edge(t,s,E){var Z=1===arguments.length?An(this._isDirected,arguments[0]):k(this._isDirected,t,s,E);return this._edgeLabels[Z]}hasEdge(t,s,E){var Z=1===arguments.length?An(this._isDirected,arguments[0]):k(this._isDirected,t,s,E);return _.Z(this._edgeLabels,Z)}removeEdge(t,s,E){var Z=1===arguments.length?An(this._isDirected,arguments[0]):k(this._isDirected,t,s,E),b=this._edgeObjs[Z];return b&&(t=b.v,s=b.w,delete this._edgeLabels[Z],delete this._edgeObjs[Z],Zn(this._preds[s],t),Zn(this._sucs[t],s),delete this._in[s][Z],delete this._out[t][Z],this._edgeCount--),this}inEdges(t,s){var E=this._in[t];if(E){var Z=cn.Z(E);return s?a.Z(Z,function(b){return b.v===s}):Z}}outEdges(t,s){var E=this._out[t];if(E){var Z=cn.Z(E);return s?a.Z(Z,function(b){return b.w===s}):Z}}nodeEdges(t,s){var E=this.inEdges(t,s);if(E)return E.concat(this.outEdges(t,s))}}function bn(T,t){T[t]?T[t]++:T[t]=1}function Zn(T,t){--T[t]||delete T[t]}function k(T,t,s,E){var Z=""+t,b=""+s;if(!T&&Z>b){var D=Z;Z=b,b=D}return Z+sn+b+sn+(c.Z(E)?gn:E)}function An(T,t){return k(T,t.v,t.w,t.name)}En.prototype._nodeCount=0,En.prototype._edgeCount=0},8814:(m,h,n)=>{n.d(h,{k:()=>_.k});var _=n(1595)},3713:(m,h,n)=>{n.d(h,{Z:()=>c});var _=n(3639);function l(g){var P=-1,I=null==g?0:g.length;for(this.__data__=new _.Z;++P{n.d(h,{Z:()=>f});const f=function _(i,u){for(var a=-1,d=null==i?0:i.length;++a{n.d(h,{Z:()=>f});const f=function _(i,u){for(var a=-1,d=null==i?0:i.length,l=0,c=[];++a{n.d(h,{Z:()=>f});const f=function _(i,u){for(var a=-1,d=null==i?0:i.length,l=Array(d);++a{n.d(h,{Z:()=>f});const f=function _(i,u){for(var a=-1,d=u.length,l=i.length;++a{n.d(h,{Z:()=>mt});var _=n(5343),f=n(7585),i=n(1481),u=n(3276),a=n(1952);var c=n(571);var I=n(634),A=n(8297),p=n(3033);var H=n(6623),G=n(5650),_n=n(3419);const Tn=Object.getOwnPropertySymbols?function(o){for(var M=[];o;)(0,H.Z)(M,(0,p.Z)(o)),o=(0,G.Z)(o);return M}:_n.Z;var dn=n(8501),Bn=n(8203);const yn=function Un(o){return(0,Bn.Z)(o,c.Z,Tn)};var fn=n(7183),ln=Object.prototype.hasOwnProperty;var hn=n(3116);var Nn=/\w*$/;var gn=n(8492),Y=gn.Z?gn.Z.prototype:void 0,sn=Y?Y.valueOf:void 0;var Zn=n(9376);const wn=function st(o,M,X){var In=o.constructor;switch(M){case"[object ArrayBuffer]":return(0,hn.Z)(o);case"[object Boolean]":case"[object Date]":return new In(+o);case"[object DataView]":return function Wn(o,M){var X=M?(0,hn.Z)(o.buffer):o.buffer;return new o.constructor(X,o.byteOffset,o.byteLength)}(o,X);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,Zn.Z)(o,X);case"[object Map]":case"[object Set]":return new In;case"[object Number]":case"[object String]":return new In(o);case"[object RegExp]":return function cn(o){var M=new o.constructor(o.source,Nn.exec(o));return M.lastIndex=o.lastIndex,M}(o);case"[object Symbol]":return function En(o){return sn?Object(sn.call(o)):{}}(o)}};var rt=n(3121),at=n(4177),Xn=n(5202),Hn=n(214);var Gn=n(6932),Dn=n(6594),$n=Dn.Z&&Dn.Z.isMap;const ut=$n?(0,Gn.Z)($n):function ot(o){return(0,Hn.Z)(o)&&"[object Map]"==(0,fn.Z)(o)};var dt=n(1999);var Jn=Dn.Z&&Dn.Z.isSet;const gt=Jn?(0,Gn.Z)(Jn):function lt(o){return(0,Hn.Z)(o)&&"[object Set]"==(0,fn.Z)(o)};var v="[object Arguments]",B="[object Function]",x="[object Object]",U={};U[v]=U["[object Array]"]=U["[object ArrayBuffer]"]=U["[object DataView]"]=U["[object Boolean]"]=U["[object Date]"]=U["[object Float32Array]"]=U["[object Float64Array]"]=U["[object Int8Array]"]=U["[object Int16Array]"]=U["[object Int32Array]"]=U["[object Map]"]=U["[object Number]"]=U[x]=U["[object RegExp]"]=U["[object Set]"]=U["[object String]"]=U["[object Symbol]"]=U["[object Uint8Array]"]=U["[object Uint8ClampedArray]"]=U["[object Uint16Array]"]=U["[object Uint32Array]"]=!0,U["[object Error]"]=U[B]=U["[object WeakMap]"]=!1;const mt=function zn(o,M,X,In,Vn,an){var J,kn=1&M,qn=2&M,pt=4&M;if(X&&(J=Vn?X(o,In,Vn,an):X(o)),void 0!==J)return J;if(!(0,dt.Z)(o))return o;var Zt=(0,at.Z)(o);if(Zt){if(J=function Fn(o){var M=o.length,X=new o.constructor(M);return M&&"string"==typeof o[0]&&ln.call(o,"index")&&(X.index=o.index,X.input=o.input),X}(o),!kn)return(0,A.Z)(o,J)}else{var Ln=(0,fn.Z)(o),At=Ln==B||"[object GeneratorFunction]"==Ln;if((0,Xn.Z)(o))return(0,I.Z)(o,kn);if(Ln==x||Ln==v||At&&!Vn){if(J=qn||At?{}:(0,rt.Z)(o),!kn)return qn?function Rn(o,M){return(0,u.Z)(o,Tn(o),M)}(o,function g(o,M){return o&&(0,u.Z)(M,(0,c.Z)(M),o)}(J,o)):function O(o,M){return(0,u.Z)(o,(0,p.Z)(o),M)}(o,function d(o,M){return o&&(0,u.Z)(M,(0,a.Z)(M),o)}(J,o))}else{if(!U[Ln])return Vn?o:{};J=wn(o,Ln,kn)}}an||(an=new _.Z);var vt=an.get(o);if(vt)return vt;an.set(o,J),gt(o)?o.forEach(function(on){J.add(zn(on,M,X,on,o,an))}):ut(o)&&o.forEach(function(on,Pn){J.set(Pn,zn(on,M,X,Pn,o,an))});var Pt=Zt?void 0:(pt?qn?yn:dn.Z:qn?c.Z:a.Z)(o);return(0,f.Z)(Pt||o,function(on,Pn){Pt&&(on=o[Pn=on]),(0,i.Z)(J,Pn,zn(on,M,X,Pn,o,an))}),J}},1082:(m,h,n)=>{n.d(h,{Z:()=>d});var _=n(7607),f=n(8706);const d=function i(l,c){return function(g,P){if(null==g)return g;if(!(0,f.Z)(g))return l(g,P);for(var I=g.length,A=c?I:-1,p=Object(g);(c?A--:++A{n.d(h,{Z:()=>f});const f=function _(i,u,a,d){for(var l=i.length,c=a+(d?1:-1);d?c--:++c{n.d(h,{Z:()=>g});var _=n(6623),f=n(8492),i=n(4825),u=n(4177),a=f.Z?f.Z.isConcatSpreadable:void 0;const l=function d(P){return(0,u.Z)(P)||(0,i.Z)(P)||!!(a&&P&&P[a])},g=function c(P,I,A,p,O){var R=-1,H=P.length;for(A||(A=l),O||(O=[]);++R0&&A(G)?I>1?c(G,I-1,A,p,O):(0,_.Z)(O,G):p||(O[O.length]=G)}return O}},7607:(m,h,n)=>{n.d(h,{Z:()=>u});var _=n(139),f=n(1952);const u=function i(a,d){return a&&(0,_.Z)(a,d,f.Z)}},7298:(m,h,n)=>{n.d(h,{Z:()=>u});var _=n(7894),f=n(2168);const u=function i(a,d){for(var l=0,c=(d=(0,_.Z)(d,a)).length;null!=a&&l{n.d(h,{Z:()=>u});var _=n(6623),f=n(4177);const u=function i(a,d,l){var c=d(a);return(0,f.Z)(a)?c:(0,_.Z)(c,l(a))}},4380:(m,h,n)=>{n.d(h,{Z:()=>Et});var _=n(5343),f=n(3713);const u=function i(e,r){for(var v=-1,y=null==e?0:e.length;++vB))return!1;var N=C.get(e),w=C.get(r);if(N&&w)return N==r&&w==e;var x=-1,F=!0,V=2&v?new f.Z:void 0;for(C.set(e,r),C.set(r,e);++x{n.d(h,{Z:()=>f});const f=function _(i){return function(u){return u?.[i]}}},3228:(m,h,n)=>{n.d(h,{Z:()=>f});const f=function _(i,u){return i.has(u)}},5750:(m,h,n)=>{n.d(h,{Z:()=>i});var _=n(9940);const i=function f(u){return"function"==typeof u?u:_.Z}},7894:(m,h,n)=>{n.d(h,{Z:()=>p});var _=n(4177),f=n(8042),i=n(2572),l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g;const P=function a(O){var R=(0,i.Z)(O,function(G){return 500===H.size&&H.clear(),G}),H=R.cache;return R}(function(O){var R=[];return 46===O.charCodeAt(0)&&R.push(""),O.replace(l,function(H,G,_n,un){R.push(_n?un.replace(c,"$1"):G||H)}),R});var I=n(6506);const p=function A(O,R){return(0,_.Z)(O)?O:(0,f.Z)(O,R)?[O]:P((0,I.Z)(O))}},8501:(m,h,n)=>{n.d(h,{Z:()=>a});var _=n(8203),f=n(3033),i=n(1952);const a=function u(d){return(0,_.Z)(d,i.Z,f.Z)}},3033:(m,h,n)=>{n.d(h,{Z:()=>l});var _=n(197),f=n(3419),u=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;const l=a?function(c){return null==c?[]:(c=Object(c),(0,_.Z)(a(c),function(g){return u.call(c,g)}))}:f.Z},9868:(m,h,n)=>{n.d(h,{Z:()=>c});var _=n(7894),f=n(4825),i=n(4177),u=n(6667),a=n(8696),d=n(2168);const c=function l(g,P,I){for(var A=-1,p=(P=(0,_.Z)(P,g)).length,O=!1;++A{n.d(h,{Z:()=>d});var _=n(4177),f=n(6460),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const d=function a(l,c){if((0,_.Z)(l))return!1;var g=typeof l;return!("number"!=g&&"symbol"!=g&&"boolean"!=g&&null!=l&&!(0,f.Z)(l))||u.test(l)||!i.test(l)||null!=c&&l in Object(c)}},2699:(m,h,n)=>{n.d(h,{Z:()=>f});const f=function _(i){var u=-1,a=Array(i.size);return i.forEach(function(d){a[++u]=d}),a}},2168:(m,h,n)=>{n.d(h,{Z:()=>u});var _=n(6460);const u=function i(a){if("string"==typeof a||(0,_.Z)(a))return a;var d=a+"";return"0"==d&&1/a==-Infinity?"-0":d}},8736:(m,h,n)=>{n.d(h,{Z:()=>c});var _=n(197),f=n(1082);const u=function i(g,P){var I=[];return(0,f.Z)(g,function(A,p,O){P(A,p,O)&&I.push(A)}),I};var a=n(4380),d=n(4177);const c=function l(g,P){return((0,d.Z)(g)?_.Z:u)(g,(0,a.Z)(P,3))}},6391:(m,h,n)=>{n.d(h,{Z:()=>d});var _=n(7585),f=n(1082),i=n(5750),u=n(4177);const d=function a(l,c){return((0,u.Z)(l)?_.Z:f.Z)(l,(0,i.Z)(c))}},6947:(m,h,n)=>{n.d(h,{Z:()=>l});var f=Object.prototype.hasOwnProperty;const u=function i(c,g){return null!=c&&f.call(c,g)};var a=n(9868);const l=function d(c,g){return null!=c&&(0,a.Z)(c,g,u)}},9080:(m,h,n)=>{n.d(h,{Z:()=>a});const f=function _(d,l){return null!=d&&l in Object(d)};var i=n(9868);const a=function u(d,l){return null!=d&&(0,i.Z)(d,l,f)}},6460:(m,h,n)=>{n.d(h,{Z:()=>a});var _=n(7079),f=n(214);const a=function u(d){return"symbol"==typeof d||(0,f.Z)(d)&&"[object Symbol]"==(0,_.Z)(d)}},9948:(m,h,n)=>{n.d(h,{Z:()=>f});const f=function _(i){return void 0===i}},1952:(m,h,n)=>{n.d(h,{Z:()=>a});var _=n(3487),f=n(4884),i=n(8706);const a=function u(d){return(0,i.Z)(d)?(0,_.Z)(d):(0,f.Z)(d)}},2510:(m,h,n)=>{n.d(h,{Z:()=>g});const f=function _(P,I,A,p){var O=-1,R=null==P?0:P.length;for(p&&R&&(A=P[++O]);++O{n.d(h,{Z:()=>f});const f=function _(){return[]}},6506:(m,h,n)=>{n.d(h,{Z:()=>I});var _=n(8492),f=n(7988),i=n(4177),u=n(6460),d=_.Z?_.Z.prototype:void 0,l=d?d.toString:void 0;const g=function c(A){if("string"==typeof A)return A;if((0,i.Z)(A))return(0,f.Z)(A,c)+"";if((0,u.Z)(A))return l?l.call(A):"";var p=A+"";return"0"==p&&1/A==-Infinity?"-0":p},I=function P(A){return null==A?"":g(A)}},1412:(m,h,n)=>{n.d(h,{Z:()=>d});var _=n(7988);var u=n(1952);const d=function a(l){return null==l?[]:function f(l,c){return(0,_.Z)(c,function(g){return l[g]})}(l,(0,u.Z)(l))}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/65.6d0e353a29eeab39.js b/pkg/apiserver-impl/ui/65.6d0e353a29eeab39.js new file mode 100644 index 00000000000..ddd5bbba9c6 --- /dev/null +++ b/pkg/apiserver-impl/ui/65.6d0e353a29eeab39.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[65],{1065:(Y,P,v)=>{v.d(P,{bK:()=>ri});var f=v(6391),C=v(8917),m=v(6947),x=v(145),E=v(6224),w=v(2957),y=v(1256),I=v(8814);class T{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return k(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&k(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,t=r._prev;t!==r;)e.push(JSON.stringify(t,S)),t=t._prev;return"["+e.join(", ")+"]"}}function k(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function S(n,e){if("_next"!==n&&"_prev"!==n)return e}var R=x.Z(1);function F(n,e,r,t,i){var a=i?[]:void 0;return f.Z(n.inEdges(t.v),function(o){var s=n.edge(o),u=n.node(o.v);i&&a.push({v:o.v,w:o.w}),u.out-=s,B(e,r,u)}),f.Z(n.outEdges(t.v),function(o){var s=n.edge(o),d=n.node(o.w);d.in-=s,B(e,r,d)}),n.removeNode(t.v),a}function B(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function z(n){var e="greedy"===n.graph().acyclicer?function L(n,e){if(n.nodeCount()<=1)return[];var r=function A(n,e){var r=new I.k,t=0,i=0;f.Z(n.nodes(),function(s){r.setNode(s,{v:s,in:0,out:0})}),f.Z(n.edges(),function(s){var u=r.edge(s.v,s.w)||0,d=e(s);r.setEdge(s.v,s.w,u+d),i=Math.max(i,r.node(s.v).out+=d),t=Math.max(t,r.node(s.w).in+=d)});var a=y.Z(i+t+3).map(function(){return new T}),o=t+1;return f.Z(r.nodes(),function(s){B(a,o,r.node(s))}),{graph:r,buckets:a,zeroIdx:o}}(n,e||R),t=function O(n,e,r){for(var o,t=[],i=e[e.length-1],a=e[0];n.nodeCount();){for(;o=a.dequeue();)F(n,e,r,o);for(;o=i.dequeue();)F(n,e,r,o);if(n.nodeCount())for(var s=e.length-2;s>0;--s)if(o=e[s].dequeue()){t=t.concat(F(n,e,r,o,!0));break}}return t}(r.graph,r.buckets,r.zeroIdx);return E.Z(w.Z(t,function(i){return n.outEdges(i.v,i.w)}))}(n,function r(t){return function(i){return t.edge(i).weight}}(n)):function K(n){var e=[],r={},t={};return f.Z(n.nodes(),function i(a){m.Z(t,a)||(t[a]=!0,r[a]=!0,f.Z(n.outEdges(a),function(o){m.Z(r,o.w)?e.push(o):i(o.w)}),delete r[a])}),e}(n);f.Z(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,C.Z("rev"))})}var b=v(2986),N=v(6264),$=v(3233),D=v(6460);const G=function X(n,e,r){for(var t=-1,i=n.length;++te};var U=v(9940);const j=function Q(n){return n&&n.length?G(n,U.Z,W):void 0},un=function de(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var fe=v(3496),Nn=v(7607),en=v(4380);const dn=function ce(n,e){var r={};return e=(0,en.Z)(e,3),(0,Nn.Z)(n,function(t,i,a){(0,fe.Z)(r,i,e(t,i,a))}),r};var V=v(9948);const Cn=function ve(n,e){return nMath.abs(i)*s?(a<0&&(s=-s),u=s*i/a,d=s):(i<0&&(o=-o),u=o,d=o*a/i),{x:r+u,y:t+d}}function fn(n){var e=w.Z(y.Z(Mn(n)+1),function(){return[]});return f.Z(n.nodes(),function(r){var t=n.node(r),i=t.rank;V.Z(i)||(e[i][t.order]=r)}),e}function Pn(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),q(n,"border",i,e)}function Mn(n){return j(w.Z(n.nodes(),function(e){var r=n.node(e).rank;if(!V.Z(r))return r}))}function ge(n,e){var r=Tn();try{return e()}finally{console.log(n+" time: "+(Tn()-r)+"ms")}}function Ee(n,e){return e()}function kn(n,e,r,t,i,a){var s=i[e][a-1],u=q(n,"border",{width:0,height:0,rank:a,borderType:e},r);i[e][a]=u,n.setParent(u,t),s&&n.setEdge(s,u,{weight:1})}function _n(n){f.Z(n.nodes(),function(e){Sn(n.node(e))}),f.Z(n.edges(),function(e){Sn(n.edge(e))})}function Sn(n){var e=n.width;n.width=n.height,n.height=e}function hn(n){n.y=-n.y}function ln(n){var e=n.x;n.x=n.y,n.y=e}const Zn=function Oe(n,e){return n&&n.length?G(n,(0,en.Z)(e,2),Cn):void 0};function mn(n){var e={};f.Z(n.sources(),function r(t){var i=n.node(t);if(m.Z(e,t))return i.rank;e[t]=!0;var a=rn(w.Z(n.outEdges(t),function(o){return r(o.w)-n.edge(o).minlen}));return(a===Number.POSITIVE_INFINITY||null==a)&&(a=0),i.rank=a})}function tn(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function An(n){var i,a,e=new I.k({directed:!1}),r=n.nodes()[0],t=n.nodeCount();for(e.setNode(r,{});Pe(e,n)-1?i[a?e[o]:o]:void 0}}(function je(n,e,r){var t=null==n?0:n.length;if(!t)return-1;var i=null==r?0:function De(n){var e=(0,Be.Z)(n),r=e%1;return e==e?r?e-r:e:0}(r);return i<0&&(i=Ue(t+i,0)),(0,Fe.Z)(n,(0,en.Z)(e,3),i)});var an=v(8736);x.Z(1),x.Z(1),v(4884),v(7183),v(7079);var wn=v(4177);v(214),(0,v(666).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Bn="\\ud800-\\udfff",br="["+Bn+"]",bn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",gn="\\ud83c[\\udffb-\\udfff]",Dn="[^"+Bn+"]",Wn="(?:\\ud83c[\\udde6-\\uddff]){2}",Un="[\\ud800-\\udbff][\\udc00-\\udfff]",jn="(?:"+bn+"|"+gn+")?",zn="[\\ufe0e\\ufe0f]?",yr=zn+jn+"(?:\\u200d(?:"+[Dn,Wn,Un].join("|")+")"+zn+jn+")*",Ir="(?:"+[Dn+bn+"?",bn,Wn,Un,br].join("|")+")";function Gn(n,e,r){wn.Z(e)||(e=[e]);var t=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],a={};return f.Z(e,function(o){if(!n.hasNode(o))throw new Error("Graph does not have node: "+o);Yn(n,o,"post"===r,a,t,i)}),i}function Yn(n,e,r,t,i,a){m.Z(t,e)||(t[e]=!0,r||a.push(e),f.Z(i(e),function(o){Yn(n,o,r,t,i,a)}),r&&a.push(e))}function J(n){n=function me(n){var e=(new I.k).setGraph(n.graph());return f.Z(n.nodes(),function(r){e.setNode(r,n.node(r))}),f.Z(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}(n),mn(n);var r,e=An(n);for(xn(e),En(e,n);r=Hn(e);)$n(e,n,r,Jn(e,n,r))}function En(n,e){var r=function _r(n,e){return Gn(n,e,"post")}(n,n.nodes());r=r.slice(0,r.length-1),f.Z(r,function(t){!function Ar(n,e,r){var t=n.node(r);n.edge(r,t.parent).cutvalue=Kn(n,e,r)}(n,e,t)})}function Kn(n,e,r){var i=n.node(r).parent,a=!0,o=e.edge(r,i),s=0;return o||(a=!1,o=e.edge(i,r)),s=o.weight,f.Z(e.nodeEdges(r),function(u){var d=u.v===r,c=d?u.w:u.v;if(c!==i){var h=d===a,l=e.edge(u).weight;if(s+=h?l:-l,function Br(n,e,r){return n.hasEdge(e,r)}(n,r,c)){var p=n.edge(r,c).cutvalue;s+=h?-p:p}}}),s}function xn(n,e){arguments.length<2&&(e=n.nodes()[0]),Xn(n,{},1,e)}function Xn(n,e,r,t,i){var a=r,o=n.node(t);return e[t]=!0,f.Z(n.neighbors(t),function(s){m.Z(e,s)||(r=Xn(n,e,r,s,t))}),o.low=a,o.lim=r++,i?o.parent=i:delete o.parent,r}function Hn(n){return pn(n.edges(),function(e){return n.edge(e).cutvalue<0})}function Jn(n,e,r){var t=r.v,i=r.w;e.hasEdge(t,i)||(t=r.w,i=r.v);var a=n.node(t),o=n.node(i),s=a,u=!1;a.lim>o.lim&&(s=o,u=!0);var d=an.Z(e.edges(),function(c){return u===Qn(0,n.node(c.v),s)&&u!==Qn(0,n.node(c.w),s)});return Zn(d,function(c){return tn(e,c)})}function $n(n,e,r,t){n.removeEdge(r.v,r.w),n.setEdge(t.v,t.w,{}),xn(n),En(n,e),function Fr(n,e){var r=pn(n.nodes(),function(i){return!e.node(i).parent}),t=function Sr(n,e){return Gn(n,e,"pre")}(n,r);t=t.slice(1),f.Z(t,function(i){var a=n.node(i).parent,o=e.edge(i,a),s=!1;o||(o=e.edge(a,i),s=!0),e.node(i).rank=e.node(a).rank+(s?o.minlen:-o.minlen)})}(n,e)}function Qn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Dr(n){switch(n.graph().ranker){case"network-simplex":default:!function qn(n){J(n)}(n);break;case"tight-tree":!function Ur(n){mn(n),An(n)}(n);break;case"longest-path":Wr(n)}}RegExp(gn+"(?="+gn+")|"+Ir+yr,"g"),new Error,v(1595),J.initLowLimValues=xn,J.initCutValues=En,J.calcCutValue=Kn,J.leaveEdge=Hn,J.enterEdge=Jn,J.exchangeEdges=$n;var Wr=mn;var nn=v(1412),vn=v(2510);function jr(n){var e=q(n,"root",{},"_root"),r=function zr(n){var e={};function r(t,i){var a=n.children(t);a&&a.length&&f.Z(a,function(o){r(o,i+1)}),e[t]=i}return f.Z(n.children(),function(t){r(t,1)}),e}(n),t=j(nn.Z(r))-1,i=2*t+1;n.graph().nestingRoot=e,f.Z(n.edges(),function(o){n.edge(o).minlen*=i});var a=function Vr(n){return vn.Z(n.edges(),function(e,r){return e+n.edge(r).weight},0)}(n)+1;f.Z(n.children(),function(o){ne(n,e,i,a,t,r,o)}),n.graph().nodeRankFactor=i}function ne(n,e,r,t,i,a,o){var s=n.children(o);if(s.length){var u=Pn(n,"_bt"),d=Pn(n,"_bb"),c=n.node(o);n.setParent(u,o),c.borderTop=u,n.setParent(d,o),c.borderBottom=d,f.Z(s,function(h){ne(n,e,r,t,i,a,h);var l=n.node(h),p=l.borderTop?l.borderTop:h,g=l.borderBottom?l.borderBottom:h,M=l.borderTop?t:2*t,sn=p!==g?1:i-a[o]+1;n.setEdge(u,p,{weight:M,minlen:sn,nestingEdge:!0}),n.setEdge(g,d,{weight:M,minlen:sn,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,u,{weight:0,minlen:i+a[o]})}else o!==e&&n.setEdge(e,o,{weight:0,minlen:r})}var Yr=v(4258);const Jr=function Hr(n){return(0,Yr.Z)(n,5)};var nt=v(1481);const it=function tt(n,e){return function et(n,e,r){for(var t=-1,i=n.length,a=e.length,o={};++te||a&&o&&u&&!s&&!d||t&&o&&u||!r&&u||!i)return 1;if(!t&&!a&&!d&&n=s?u:u*("desc"==r[t]?-1:1)}return n.index-e.index}(a,o,r)})};var pt=v(7965),ee=v(4810);const on=(0,pt.Z)(function(n,e){if(null==n)return[];var r=e.length;return r>1&&(0,ee.Z)(n,e[0],e[1])?e=[]:r>2&&(0,ee.Z)(e[0],e[1],e[2])&&(e=[e[0]]),mt(n,(0,at.Z)(e,1),[])});function bt(n,e){for(var r=0,t=1;t0;)c%2&&(h+=s[c+1]),s[c=c-1>>1]+=d.weight;u+=d.weight*h})),u}function re(n,e,r){for(var t;e.length&&(t=un(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function te(n,e,r,t){var i=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,u={};o&&(i=an.Z(i,function(g){return g!==o&&g!==s}));var d=function xt(n,e){return w.Z(e,function(r){var t=n.inEdges(r);if(t.length){var i=vn.Z(t,function(a,o){var s=n.edge(o),u=n.node(o.v);return{sum:a.sum+s.weight*u.order,weight:a.weight+s.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}return{v:r}})}(n,i);f.Z(d,function(g){if(n.children(g.v).length){var M=te(n,g.v,r,t);u[g.v]=M,m.Z(M,"barycenter")&&function Rt(n,e){V.Z(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}(g,M)}});var c=function yt(n,e){var r={};return f.Z(n,function(i,a){var o=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};V.Z(i.barycenter)||(o.barycenter=i.barycenter,o.weight=i.weight)}),f.Z(e.edges(),function(i){var a=r[i.v],o=r[i.w];!V.Z(a)&&!V.Z(o)&&(o.indegree++,a.out.push(r[i.w]))}),function It(n){var e=[];function r(a){return function(o){o.merged||(V.Z(o.barycenter)||V.Z(a.barycenter)||o.barycenter>=a.barycenter)&&function Lt(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}(a,o)}}function t(a){return function(o){o.in.push(a),0==--o.indegree&&n.push(o)}}for(;n.length;){var i=n.pop();e.push(i),f.Z(i.in.reverse(),r(i)),f.Z(i.out,t(i))}return w.Z(an.Z(e,function(a){return!a.merged}),function(a){return N.Z(a,["vs","i","barycenter","weight"])})}(an.Z(r,function(i){return!i.indegree}))}(d,r);!function Tt(n,e){f.Z(n,function(r){r.vs=E.Z(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}(c,u);var h=function Nt(n,e){var r=function be(n,e){var r={lhs:[],rhs:[]};return f.Z(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}(n,function(c){return m.Z(c,"barycenter")}),t=r.lhs,i=on(r.rhs,function(c){return-c.i}),a=[],o=0,s=0,u=0;t.sort(function Ct(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}(!!e)),u=re(a,i,u),f.Z(t,function(c){u+=c.vs.length,a.push(c.vs),o+=c.barycenter*c.weight,s+=c.weight,u=re(a,i,u)});var d={vs:E.Z(a)};return s&&(d.barycenter=o/s,d.weight=s),d}(c,t);if(o&&(h.vs=E.Z([o,h.vs,s]),n.predecessors(o).length)){var l=n.node(n.predecessors(o)[0]),p=n.node(n.predecessors(s)[0]);m.Z(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+p.order)/(h.weight+2),h.weight+=2}return h}function ie(n,e,r){return w.Z(e,function(t){return function Qr(n,e,r){var t=function qr(n){for(var e;n.hasNode(e=C.Z("_root")););return e}(n),i=new I.k({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(a){return n.node(a)});return f.Z(n.nodes(),function(a){var o=n.node(a),s=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(i.setNode(a),i.setParent(a,s||t),f.Z(n[r](a),function(u){var d=u.v===a?u.w:u.v,c=i.edge(d,a),h=V.Z(c)?0:c.weight;i.setEdge(d,a,{weight:n.edge(u).weight+h})}),m.Z(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),i}(n,t,r)})}function Pt(n,e){var r=new I.k;f.Z(n,function(t){var i=t.graph().root,a=te(t,i,r,e);f.Z(a.vs,function(o,s){t.node(o).order=s}),function $r(n,e,r){var i,t={};f.Z(r,function(a){for(var s,u,o=n.parent(a);o;){if((s=n.parent(o))?(u=t[s],t[s]=o):(u=i,i=o),u&&u!==o)return void e.setEdge(u,o);o=s}})}(t,r,a.vs)})}function ae(n,e){f.Z(e,function(r){f.Z(r,function(t,i){n.node(t).order=i})})}var oe=v(5750);const At=function St(n,e){return n&&(0,Nn.Z)(n,(0,oe.Z)(e))};var Ft=v(139),Bt=v(571);const Wt=function Dt(n,e){return null==n?n:(0,Ft.Z)(n,(0,oe.Z)(e),Bt.Z)};function se(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function Vt(n,e,r){if(e>r){var t=e;e=r,r=t}return m.Z(n[e],r)}function $t(n){var i,e=fn(n),r=b.Z(function Ut(n,e){var r={};return vn.Z(e,function t(i,a){var o=0,s=0,u=i.length,d=un(a);return f.Z(a,function(c,h){var l=function zt(n,e){if(n.node(e).dummy)return pn(n.predecessors(e),function(r){return n.node(r).dummy})}(n,c),p=l?n.node(l).order:u;(l||c===d)&&(f.Z(a.slice(s,h+1),function(g){f.Z(n.predecessors(g),function(M){var sn=n.node(M),ue=sn.order;(ued)&&se(r,l,c)})})}return vn.Z(e,function i(a,o){var u,s=-1,d=0;return f.Z(o,function(c,h){if("border"===n.node(c).dummy){var l=n.predecessors(c);l.length&&(u=n.node(l[0]).order,t(o,d,h,s,u),d=h,s=u)}t(o,d,o.length,u,a.length)}),o}),r}(n,e)),t={};f.Z(["u","d"],function(o){i="u"===o?e:nn.Z(e).reverse(),f.Z(["l","r"],function(s){"r"===s&&(i=w.Z(i,function(h){return nn.Z(h).reverse()}));var u=("u"===o?n.predecessors:n.successors).bind(n),d=function Gt(n,e,r,t){var i={},a={},o={};return f.Z(e,function(s){f.Z(s,function(u,d){i[u]=u,a[u]=u,o[u]=d})}),f.Z(e,function(s){var u=-1;f.Z(s,function(d){var c=t(d);if(c.length)for(var h=((c=on(c,function(M){return o[M]})).length-1)/2,l=Math.floor(h),p=Math.ceil(h);l<=p;++l){var g=c[l];a[d]===d&&uo||s>e[u].lim));for(d=u,u=t;(u=n.parent(u))!==d;)a.push(u);return{path:i.concat(a.reverse()),lca:d}}(n,e,i.v,i.w),o=a.path,s=a.lca,u=0,d=o[u],c=!0;r!==i.w;){if(t=n.node(r),c){for(;(d=o[u])!==s&&n.node(d).maxRank=2);var d=bt(n,i=fn(n));d{v.d(P,{Z:()=>x});var f=v(1082),C=v(8706);const x=function m(E,w){var y=-1,I=(0,C.Z)(E)?Array(E.length):[];return(0,f.Z)(E,function(T,k,S){I[++y]=w(T,k,S)}),I}},3233:(Y,P,v)=>{v.d(P,{Z:()=>I});var f=v(7965),C=v(3093),m=v(4810),x=v(571),E=Object.prototype,w=E.hasOwnProperty;const I=(0,f.Z)(function(T,k){T=Object(T);var S=-1,R=k.length,L=R>2?k[2]:void 0;for(L&&(0,m.Z)(k[0],k[1],L)&&(R=1);++S{v.d(P,{Z:()=>m});var f=v(113);const m=function C(x){return null!=x&&x.length?(0,f.Z)(x,1):[]}},2957:(Y,P,v)=>{v.d(P,{Z:()=>w});var f=v(7988),C=v(4380),m=v(1177),x=v(4177);const w=function E(y,I){return((0,x.Z)(y)?f.Z:m.Z)(y,(0,C.Z)(I,3))}},6264:(Y,P,v)=>{v.d(P,{Z:()=>Z});var f=v(7298),C=v(1481),m=v(7894),x=v(6667),E=v(1999),w=v(2168);const I=function y(b,N,$,D){if(!(0,E.Z)(b))return b;for(var X=-1,G=(N=(0,m.Z)(N,b)).length,H=G-1,W=b;null!=W&&++X{v.d(P,{Z:()=>k});var f=Math.ceil,C=Math.max;var E=v(4810),w=v(1605);const k=function y(S){return function(R,L,O){return O&&"number"!=typeof O&&(0,E.Z)(R,L,O)&&(L=O=void 0),R=(0,w.Z)(R),void 0===L?(L=R,R=0):L=(0,w.Z)(L),function m(S,R,L,O){for(var F=-1,A=C(f((R-S)/(L||1)),0),B=Array(A);A--;)B[O?A:++F]=S,S+=L;return B}(R,L,O=void 0===O?R{v.d(P,{Z:()=>K});var f=/\s/;var x=/^\s+/;const w=function E(Z){return Z&&Z.slice(0,function C(Z){for(var b=Z.length;b--&&f.test(Z.charAt(b)););return b}(Z)+1).replace(x,"")};var y=v(1999),I=v(6460),k=/^[-+]0x[0-9a-f]+$/i,S=/^0b[01]+$/i,R=/^0o[0-7]+$/i,L=parseInt;var A=1/0;const K=function z(Z){return Z?(Z=function O(Z){if("number"==typeof Z)return Z;if((0,I.Z)(Z))return NaN;if((0,y.Z)(Z)){var b="function"==typeof Z.valueOf?Z.valueOf():Z;Z=(0,y.Z)(b)?b+"":b}if("string"!=typeof Z)return 0===Z?Z:+Z;Z=w(Z);var N=S.test(Z);return N||R.test(Z)?L(Z.slice(2),N?2:8):k.test(Z)?NaN:+Z}(Z))===A||Z===-A?17976931348623157e292*(Z<0?-1:1):Z==Z?Z:0:0===Z?Z:0}},8917:(Y,P,v)=>{v.d(P,{Z:()=>x});var f=v(6506),C=0;const x=function m(E){var w=++C;return(0,f.Z)(E)+w}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/690.4ed844d0622bcdf0.js b/pkg/apiserver-impl/ui/690.4ed844d0622bcdf0.js new file mode 100644 index 00000000000..20eb91b2d80 --- /dev/null +++ b/pkg/apiserver-impl/ui/690.4ed844d0622bcdf0.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[690],{7942:q0n=>{q0n.exports=function Za(ho,uh,Xr){function y(du,xr){if(!uh[du]){if(!ho[du]){if(av)return av(du,!0);var xi=new Error("Cannot find module '"+du+"'");throw xi.code="MODULE_NOT_FOUND",xi}var lc=uh[du]={exports:{}};ho[du][0].call(lc.exports,function(bu){return y(ho[du][1][bu]||bu)},lc,lc.exports,Za,ho,uh,Xr)}return uh[du].exports}for(var av=void 0,jg=0;jg0&&void 0!==arguments[0]?arguments[0]:{},xi=Lt.defaultLayoutOptions,lc=void 0===xi?{}:xi,bu=Lt.algorithms,Jl=void 0===bu?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:bu,Bh=Lt.workerFactory,bl=Lt.workerUrl;if(y(this,du),this.defaultLayoutOptions=lc,this.initialized=!1,typeof bl>"u"&&typeof Bh>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Vn=Bh;typeof bl<"u"&&typeof Bh>"u"&&(Vn=function(o7){return new Worker(o7)});var c6=Vn(bl);if("function"!=typeof c6.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new jg(c6),this.worker.postMessage({cmd:"register",algorithms:Jl}).then(function(u7){return xr.initialized=!0}).catch(console.err)}return Xr(du,[{key:"layout",value:function(Lt){var xi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},lc=xi.layoutOptions,Jl=xi.logging,bl=xi.measureExecutionTime;return Lt?this.worker.postMessage({cmd:"layout",graph:Lt,layoutOptions:void 0===lc?this.defaultLayoutOptions:lc,options:{logging:void 0!==Jl&&Jl,measureExecutionTime:void 0!==bl&&bl}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),du}();uh.default=av;var jg=function(){function du(xr){var Lt=this;if(y(this,du),void 0===xr)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=xr,this.worker.onmessage=function(xi){setTimeout(function(){Lt.receive(Lt,xi)},0)}}return Xr(du,[{key:"postMessage",value:function(Lt){var xi=this.id||0;this.id=xi+1,Lt.id=xi;var lc=this;return new Promise(function(bu,Jl){lc.resolvers[xi]=function(Bh,bl){Bh?(lc.convertGwtStyleError(Bh),Jl(Bh)):bu(bl)},lc.worker.postMessage(Lt)})}},{key:"receive",value:function(Lt,xi){var lc=xi.data,bu=Lt.resolvers[lc.id];bu&&(delete Lt.resolvers[lc.id],lc.error?bu(lc.error):bu(null,lc.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Lt){if(Lt){var xi=Lt.__java$exception;xi&&(xi.cause&&xi.cause.backingJsObject&&(Lt.cause=xi.cause.backingJsObject,this.convertGwtStyleError(Lt.cause)),delete Lt.__java$exception)}}}]),du}()},{}],2:[function(Za,ho,uh){(function(Xr){(function(){"use strict";var y;function xi(){}function lc(){}function bu(){}function Jl(){}function Bh(){}function bl(){}function Vn(){}function c6(){}function u7(){}function o7(){}function JO(){}function QO(){}function YO(){}function $E(){}function ZO(){}function FE(){}function nL(){}function eL(){}function uG(){}function tL(){}function Hb(){}function N(){}function xt(){}function Gt(){}function Si(){}function lr(){}function er(){}function lo(){}function Wt(){}function wl(){}function nc(){}function _o(){}function nd(){}function z1(){}function ec(){}function zt(){}function X1(){}function gl(){}function bs(){}function W1(){}function Ql(){}function wu(){}function dv(){}function Br(){}function yc(){}function Rh(){}function Fs(){}function Yl(){}function xE(){}function U0n(){}function G0n(){}function oG(){}function Tu(){}function bv(){}function wv(){}function z0n(){}function X0n(){}function iL(){}function W0n(){}function V0n(){}function J0n(){}function Q0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function obn(){}function sbn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function vbn(){}function pbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Mbn(){}function Tbn(){}function sG(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function rL(){}function cL(){}function BE(){}function Obn(){}function Lbn(){}function uL(){}function Dbn(){}function Nbn(){}function $bn(){}function RE(){}function Fbn(){}function xbn(){}function Bbn(){}function Rbn(){}function Kbn(){}function _bn(){}function Hbn(){}function qbn(){}function Ubn(){}function fG(){}function Gbn(){}function zbn(){}function hG(){}function Xbn(){}function Wbn(){}function Vbn(){}function Jbn(){}function Qbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function oL(){}function uwn(){}function own(){}function swn(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dwn(){}function bwn(){}function lG(){}function aG(){}function wwn(){}function gwn(){}function vwn(){}function pwn(){}function mwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Mwn(){}function Twn(){}function Awn(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Lwn(){}function Dwn(){}function Nwn(){}function $wn(){}function Fwn(){}function xwn(){}function Bwn(){}function Rwn(){}function Kwn(){}function _wn(){}function Hwn(){}function qwn(){}function Uwn(){}function Gwn(){}function zwn(){}function Xwn(){}function Wwn(){}function Vwn(){}function Jwn(){}function Qwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function ogn(){}function sgn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function vgn(){}function pgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Mgn(){}function Tgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Lgn(){}function Dgn(){}function Ngn(){}function $gn(){}function Fgn(){}function xgn(){}function Bgn(){}function Rgn(){}function Kgn(){}function _gn(){}function Hgn(){}function qgn(){}function Ugn(){}function Ggn(){}function zgn(){}function Xgn(){}function Wgn(){}function Vgn(){}function Jgn(){}function Qgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function i2n(){}function r2n(){}function c2n(){}function u2n(){}function dG(){}function o2n(){}function s2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function v2n(){}function p2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function M2n(){}function T2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function L2n(){}function D2n(){}function N2n(){}function $2n(){}function F2n(){}function x2n(){}function B2n(){}function R2n(){}function K2n(){}function _2n(){}function H2n(){}function q2n(){}function U2n(){}function G2n(){}function z2n(){}function X2n(){}function W2n(){}function V2n(){}function J2n(){}function Q2n(){}function Y2n(){}function Z2n(){}function nvn(){}function evn(){}function tvn(){}function ivn(){}function rvn(){}function cvn(){}function uvn(){}function ovn(){}function svn(){}function fvn(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function bvn(){}function wvn(){}function gvn(){}function vvn(){}function pvn(){}function mvn(){}function kvn(){}function yvn(){}function jvn(){}function Evn(){}function Cvn(){}function Mvn(){}function bG(){}function Tvn(){}function Avn(){}function Svn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Lvn(){}function Dvn(){}function Nvn(){}function $vn(){}function wG(){}function Fvn(){}function xvn(){}function Bvn(){}function Rvn(){}function Kvn(){}function _vn(){}function gG(){}function vG(){}function Hvn(){}function pG(){}function mG(){}function qvn(){}function Uvn(){}function Gvn(){}function zvn(){}function Xvn(){}function Wvn(){}function Vvn(){}function Jvn(){}function Qvn(){}function Yvn(){}function Zvn(){}function kG(){}function npn(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function opn(){}function spn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function vpn(){}function ppn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Mpn(){}function Tpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Lpn(){}function Dpn(){}function Npn(){}function $pn(){}function Fpn(){}function xpn(){}function Bpn(){}function Rpn(){}function Kpn(){}function _pn(){}function Hpn(){}function qpn(){}function Upn(){}function Gpn(){}function zpn(){}function Xpn(){}function Wpn(){}function Vpn(){}function Jpn(){}function Qpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function o3n(){}function s3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function v3n(){}function p3n(){}function m3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function M3n(){}function T3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function L3n(){}function D3n(){}function N3n(){}function $3n(){}function F3n(){}function x3n(){}function B3n(){}function R3n(){}function K3n(){}function _3n(){}function H3n(){}function q3n(){}function U3n(){}function G3n(){}function z3n(){}function X3n(){}function W3n(){}function V3n(){}function J3n(){}function Q3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function c4n(){}function sL(){}function fL(){}function u4n(){}function hL(){}function o4n(){}function s4n(){}function f4n(){}function h4n(){}function l4n(){}function a4n(){}function d4n(){}function b4n(){}function w4n(){}function g4n(){}function yG(){}function v4n(){}function p4n(){}function m4n(){}function k4n(){}function y4n(){}function j4n(){}function E4n(){}function C4n(){}function M4n(){}function T4n(){}function A4n(){}function ed(){}function S4n(){}function gv(){}function jG(){}function P4n(){}function I4n(){}function O4n(){}function L4n(){}function D4n(){}function N4n(){}function $4n(){}function F4n(){}function x4n(){}function B4n(){}function R4n(){}function K4n(){}function _4n(){}function H4n(){}function q4n(){}function U4n(){}function G4n(){}function z4n(){}function X4n(){}function hn(){}function W4n(){}function V4n(){}function J4n(){}function Q4n(){}function Y4n(){}function Z4n(){}function nmn(){}function emn(){}function tmn(){}function imn(){}function rmn(){}function cmn(){}function umn(){}function lL(){}function omn(){}function smn(){}function fmn(){}function KE(){}function hmn(){}function aL(){}function _E(){}function lmn(){}function EG(){}function amn(){}function dmn(){}function bmn(){}function wmn(){}function gmn(){}function vmn(){}function HE(){}function pmn(){}function mmn(){}function qE(){}function kmn(){}function UE(){}function ymn(){}function CG(){}function jmn(){}function dL(){}function MG(){}function Emn(){}function Cmn(){}function Mmn(){}function Tmn(){}function Amn(){}function Smn(){}function Pmn(){}function Imn(){}function Omn(){}function Lmn(){}function Dmn(){}function Nmn(){}function $mn(){}function Fmn(){}function xmn(){}function o3(){}function bL(){}function Bmn(){}function Rmn(){}function Kmn(){}function _mn(){}function Hmn(){}function qmn(){}function Umn(){}function Gmn(){}function zmn(){}function Xmn(){}function Wmn(){}function Vmn(){}function Jmn(){}function Qmn(){}function Ymn(){}function Zmn(){}function n6n(){}function e6n(){}function t6n(){}function i6n(){}function r6n(){}function c6n(){}function u6n(){}function o6n(){}function s6n(){}function f6n(){}function h6n(){}function l6n(){}function a6n(){}function d6n(){}function b6n(){}function w6n(){}function g6n(){}function v6n(){}function p6n(){}function m6n(){}function k6n(){}function y6n(){}function j6n(){}function E6n(){}function C6n(){}function M6n(){}function T6n(){}function A6n(){}function S6n(){}function P6n(){}function I6n(){}function O6n(){}function L6n(){}function D6n(){}function N6n(){}function $6n(){}function F6n(){}function x6n(){}function B6n(){}function R6n(){}function K6n(){}function _6n(){}function H6n(){}function q6n(){}function U6n(){}function G6n(){}function z6n(){}function X6n(){}function W6n(){}function V6n(){}function J6n(){}function Q6n(){}function Y6n(){}function Z6n(){}function n5n(){}function e5n(){}function t5n(){}function i5n(){}function r5n(){}function c5n(){}function u5n(){}function o5n(){}function s5n(){}function f5n(){}function h5n(){}function l5n(){}function a5n(){}function d5n(){}function b5n(){}function w5n(){}function g5n(){}function v5n(){}function p5n(){}function m5n(){}function k5n(){}function y5n(){}function j5n(){}function E5n(){}function C5n(){}function M5n(){}function T5n(){}function A5n(){}function S5n(){}function P5n(){}function I5n(){}function TG(){}function O5n(){}function L5n(){}function wL(){b6()}function D5n(){j7()}function N5n(){OA()}function $5n(){yF()}function F5n(){R5()}function x5n(){Nnn()}function B5n(){Js()}function R5n(){UZ()}function K5n(){sy()}function _5n(){E7()}function H5n(){Q7()}function q5n(){wCn()}function U5n(){tp()}function G5n(){qDn()}function z5n(){qQ()}function X5n(){OOn()}function W5n(){UQ()}function V5n(){kNn()}function J5n(){IOn()}function Q5n(){v4()}function Y5n(){iFn()}function Z5n(){tFn()}function n8n(){TLn()}function e8n(){rFn()}function t8n(){ma()}function i8n(){pC()}function r8n(){Dtn()}function c8n(){cn()}function u8n(){cFn()}function o8n(){LFn()}function s8n(){LOn()}function f8n(){iKn()}function h8n(){DOn()}function l8n(){vUn()}function a8n(){len()}function d8n(){Il()}function b8n(){pBn()}function w8n(){bc()}function g8n(){HOn()}function v8n(){ep()}function p8n(){Xen()}function m8n(){ka()}function k8n(){Wen()}function y8n(){Uf()}function j8n(){dy()}function E8n(){Xx()}function C8n(){tx()}function af(){pSn()}function M8n(){vT()}function T8n(){xA()}function AG(){Ue()}function A8n(){ZT()}function S8n(){kZ()}function SG(){tF()}function PG(){cS()}function P8n(){ctn()}function IG(n){Jn(n)}function I8n(n){this.a=n}function GE(n){this.a=n}function O8n(n){this.a=n}function L8n(n){this.a=n}function D8n(n){this.a=n}function N8n(n){this.a=n}function $8n(n){this.a=n}function F8n(n){this.a=n}function OG(n){this.a=n}function LG(n){this.a=n}function x8n(n){this.a=n}function B8n(n){this.a=n}function gL(n){this.a=n}function R8n(n){this.a=n}function K8n(n){this.a=n}function vL(n){this.a=n}function pL(n){this.a=n}function _8n(n){this.a=n}function mL(n){this.a=n}function H8n(n){this.a=n}function q8n(n){this.a=n}function U8n(n){this.a=n}function DG(n){this.b=n}function G8n(n){this.c=n}function z8n(n){this.a=n}function X8n(n){this.a=n}function W8n(n){this.a=n}function V8n(n){this.a=n}function J8n(n){this.a=n}function Q8n(n){this.a=n}function Y8n(n){this.a=n}function Z8n(n){this.a=n}function n9n(n){this.a=n}function e9n(n){this.a=n}function t9n(n){this.a=n}function i9n(n){this.a=n}function r9n(n){this.a=n}function NG(n){this.a=n}function $G(n){this.a=n}function zE(n){this.a=n}function s7(n){this.a=n}function td(){this.a=[]}function c9n(n,e){n.a=e}function FG(n,e){n.j=e}function zse(n,e){n.c=e}function Vse(n,e){n.d=e}function id(n,e){n.k=e}function xG(n,e){n.c=e}function BG(n,e){n.a=e}function Qse(n,e){n.a=e}function Yse(n,e){n.f=e}function Zse(n,e){n.a=e}function nfe(n,e){n.b=e}function kL(n,e){n.d=e}function XE(n,e){n.i=e}function RG(n,e){n.o=e}function u9n(n,e){n.e=e}function KG(n,e){n.g=e}function cfe(n,e){n.e=e}function ufe(n,e){n.f=e}function ofe(n,e){n.f=e}function yL(n,e){n.a=e}function jL(n,e){n.b=e}function sfe(n,e){n.n=e}function o9n(n){n.b=n.a}function s9n(n){n.c=n.d.d}function _G(n){this.a=n}function HG(n){this.a=n}function qG(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function f7(n){this.a=n}function f9n(n){this.a=n}function UG(n){this.a=n}function h7(n){this.a=n}function WE(n){this.a=n}function vl(n){this.a=n}function qb(n){this.a=n}function h9n(n){this.a=n}function l9n(n){this.a=n}function EL(n){this.b=n}function s3(n){this.b=n}function f3(n){this.b=n}function CL(n){this.a=n}function a9n(n){this.a=n}function ML(n){this.c=n}function C(n){this.c=n}function d9n(n){this.c=n}function u6(n){this.d=n}function GG(n){this.a=n}function Te(n){this.a=n}function b9n(n){this.a=n}function zG(n){this.a=n}function XG(n){this.a=n}function WG(n){this.a=n}function VG(n){this.a=n}function JG(n){this.a=n}function QG(n){this.a=n}function h3(n){this.a=n}function w9n(n){this.a=n}function g9n(n){this.a=n}function l3(n){this.a=n}function v9n(n){this.a=n}function p9n(n){this.a=n}function m9n(n){this.a=n}function k9n(n){this.a=n}function y9n(n){this.a=n}function j9n(n){this.a=n}function E9n(n){this.a=n}function C9n(n){this.a=n}function M9n(n){this.a=n}function T9n(n){this.a=n}function A9n(n){this.a=n}function S9n(n){this.a=n}function P9n(n){this.a=n}function I9n(n){this.a=n}function O9n(n){this.a=n}function o6(n){this.a=n}function L9n(n){this.a=n}function D9n(n){this.a=n}function N9n(n){this.a=n}function $9n(n){this.a=n}function VE(n){this.a=n}function F9n(n){this.a=n}function x9n(n){this.a=n}function a3(n){this.a=n}function YG(n){this.a=n}function B9n(n){this.a=n}function R9n(n){this.a=n}function K9n(n){this.a=n}function _9n(n){this.a=n}function H9n(n){this.a=n}function q9n(n){this.a=n}function ZG(n){this.a=n}function nz(n){this.a=n}function ez(n){this.a=n}function s6(n){this.a=n}function JE(n){this.e=n}function d3(n){this.a=n}function U9n(n){this.a=n}function vv(n){this.a=n}function tz(n){this.a=n}function G9n(n){this.a=n}function z9n(n){this.a=n}function X9n(n){this.a=n}function W9n(n){this.a=n}function V9n(n){this.a=n}function J9n(n){this.a=n}function Q9n(n){this.a=n}function Y9n(n){this.a=n}function Z9n(n){this.a=n}function n7n(n){this.a=n}function e7n(n){this.a=n}function iz(n){this.a=n}function t7n(n){this.a=n}function i7n(n){this.a=n}function r7n(n){this.a=n}function c7n(n){this.a=n}function u7n(n){this.a=n}function o7n(n){this.a=n}function s7n(n){this.a=n}function f7n(n){this.a=n}function h7n(n){this.a=n}function l7n(n){this.a=n}function a7n(n){this.a=n}function d7n(n){this.a=n}function b7n(n){this.a=n}function w7n(n){this.a=n}function g7n(n){this.a=n}function v7n(n){this.a=n}function p7n(n){this.a=n}function m7n(n){this.a=n}function k7n(n){this.a=n}function y7n(n){this.a=n}function j7n(n){this.a=n}function E7n(n){this.a=n}function C7n(n){this.a=n}function M7n(n){this.a=n}function T7n(n){this.a=n}function A7n(n){this.a=n}function S7n(n){this.a=n}function P7n(n){this.a=n}function I7n(n){this.a=n}function O7n(n){this.a=n}function L7n(n){this.a=n}function D7n(n){this.a=n}function N7n(n){this.a=n}function $7n(n){this.a=n}function F7n(n){this.a=n}function x7n(n){this.a=n}function B7n(n){this.a=n}function R7n(n){this.a=n}function K7n(n){this.c=n}function _7n(n){this.b=n}function H7n(n){this.a=n}function q7n(n){this.a=n}function U7n(n){this.a=n}function G7n(n){this.a=n}function z7n(n){this.a=n}function X7n(n){this.a=n}function W7n(n){this.a=n}function V7n(n){this.a=n}function J7n(n){this.a=n}function Q7n(n){this.a=n}function Y7n(n){this.a=n}function Z7n(n){this.a=n}function nkn(n){this.a=n}function ekn(n){this.a=n}function tkn(n){this.a=n}function ikn(n){this.a=n}function rkn(n){this.a=n}function ckn(n){this.a=n}function ukn(n){this.a=n}function okn(n){this.a=n}function skn(n){this.a=n}function fkn(n){this.a=n}function hkn(n){this.a=n}function lkn(n){this.a=n}function akn(n){this.a=n}function dkn(n){this.a=n}function bkn(n){this.a=n}function pl(n){this.a=n}function Eg(n){this.a=n}function wkn(n){this.a=n}function gkn(n){this.a=n}function vkn(n){this.a=n}function pkn(n){this.a=n}function mkn(n){this.a=n}function kkn(n){this.a=n}function ykn(n){this.a=n}function jkn(n){this.a=n}function Ekn(n){this.a=n}function Ckn(n){this.a=n}function Mkn(n){this.a=n}function Tkn(n){this.a=n}function Akn(n){this.a=n}function Skn(n){this.a=n}function Pkn(n){this.a=n}function Ikn(n){this.a=n}function Okn(n){this.a=n}function Lkn(n){this.a=n}function Dkn(n){this.a=n}function Nkn(n){this.a=n}function $kn(n){this.a=n}function Fkn(n){this.a=n}function xkn(n){this.a=n}function Bkn(n){this.a=n}function Rkn(n){this.a=n}function Kkn(n){this.a=n}function QE(n){this.a=n}function _kn(n){this.f=n}function Hkn(n){this.a=n}function qkn(n){this.a=n}function Ukn(n){this.a=n}function Gkn(n){this.a=n}function zkn(n){this.a=n}function Xkn(n){this.a=n}function Wkn(n){this.a=n}function Vkn(n){this.a=n}function Jkn(n){this.a=n}function Qkn(n){this.a=n}function Ykn(n){this.a=n}function Zkn(n){this.a=n}function nyn(n){this.a=n}function eyn(n){this.a=n}function tyn(n){this.a=n}function iyn(n){this.a=n}function ryn(n){this.a=n}function cyn(n){this.a=n}function uyn(n){this.a=n}function oyn(n){this.a=n}function syn(n){this.a=n}function fyn(n){this.a=n}function hyn(n){this.a=n}function lyn(n){this.a=n}function ayn(n){this.a=n}function dyn(n){this.a=n}function byn(n){this.a=n}function wyn(n){this.a=n}function TL(n){this.a=n}function rz(n){this.a=n}function ct(n){this.b=n}function gyn(n){this.a=n}function vyn(n){this.a=n}function pyn(n){this.a=n}function myn(n){this.a=n}function kyn(n){this.a=n}function yyn(n){this.a=n}function jyn(n){this.a=n}function Eyn(n){this.b=n}function Cyn(n){this.a=n}function l7(n){this.a=n}function Myn(n){this.a=n}function Tyn(n){this.a=n}function cz(n){this.c=n}function YE(n){this.e=n}function ZE(n){this.a=n}function nC(n){this.a=n}function AL(n){this.a=n}function Ayn(n){this.d=n}function Syn(n){this.a=n}function uz(n){this.a=n}function oz(n){this.a=n}function h0(n){this.e=n}function f6(){this.a=0}function de(){qu(this)}function Z(){_D(this)}function SL(){lIn(this)}function Pyn(){}function l0(){this.c=a0n}function Iyn(n,e){n.b+=e}function Tfe(n){return n.a}function Afe(n){return n.a}function Sfe(n){return n.a}function Pfe(n){return n.a}function Ife(n){return n.a}function M(n){return n.e}function Ofe(){return null}function Lfe(){return null}function Oyn(n){n.b=new WL}function h6(n,e){n.b=e-n.b}function l6(n,e){n.a=e-n.a}function Rn(n,e){n.push(e)}function Lyn(n,e){n.sort(e)}function Dyn(n,e){e.jd(n.a)}function a7(n,e){n.e=e,e.b=n}function sz(n){dh(),this.a=n}function Nyn(n){dh(),this.a=n}function $yn(n){dh(),this.a=n}function PL(n){D0(),this.a=n}function Fyn(n){q3(),p_.le(n)}function fz(){fz=N,new de}function ud(){eAn.call(this)}function hz(){eAn.call(this)}function lz(){ud.call(this)}function IL(){ud.call(this)}function xyn(){ud.call(this)}function d7(){ud.call(this)}function Au(){ud.call(this)}function pv(){ud.call(this)}function Pe(){ud.call(this)}function Ho(){ud.call(this)}function Byn(){ud.call(this)}function tc(){ud.call(this)}function Ryn(){ud.call(this)}function Kyn(){this.a=this}function eC(){this.Bb|=256}function _yn(){this.b=new WMn}function Ub(n,e){n.length=e}function tC(n,e){nn(n.a,e)}function b3(n,e){tt(n.e,e)}function mv(n){_A(n.c,n.b)}function az(n){this.a=function D5e(n){var e;return(e=Ew(n))>34028234663852886e22?Mt:e<-34028234663852886e22?fi:e}(n)}function Yt(){this.a=new de}function Hyn(){this.a=new de}function dz(){this.a=new oCn}function iC(){this.a=new Z}function OL(){this.a=new Z}function bz(){this.a=new Z}function ws(){this.a=new cbn}function od(){this.a=new xDn}function wz(){this.a=new fG}function gz(){this.a=new POn}function vz(){this.a=new _An}function qyn(){this.a=new Z}function Uyn(){this.a=new Z}function Gyn(){this.a=new Z}function pz(){this.a=new Z}function zyn(){this.d=new Z}function Xyn(){this.a=new VOn}function Wyn(){this.a=new Yt}function Vyn(){this.a=new de}function Jyn(){this.b=new de}function Qyn(){this.b=new Z}function mz(){this.e=new Z}function Yyn(){this.a=new t8n}function Zyn(){this.d=new Z}function njn(){nOn.call(this)}function ejn(){nOn.call(this)}function tjn(){Z.call(this)}function kz(){lz.call(this)}function yz(){iC.call(this)}function ijn(){sM.call(this)}function rjn(){pz.call(this)}function a6(){Pyn.call(this)}function LL(){a6.call(this)}function kv(){Pyn.call(this)}function jz(){kv.call(this)}function cjn(){Tz.call(this)}function ujn(){Tz.call(this)}function ojn(){Tz.call(this)}function sjn(){Az.call(this)}function d6(){hmn.call(this)}function Ez(){hmn.call(this)}function Su(){yt.call(this)}function fjn(){Cjn.call(this)}function hjn(){Cjn.call(this)}function ljn(){de.call(this)}function ajn(){de.call(this)}function djn(){de.call(this)}function DL(){sFn.call(this)}function bjn(){Yt.call(this)}function wjn(){eC.call(this)}function NL(){uW.call(this)}function Cz(){de.call(this)}function $L(){uW.call(this)}function FL(){de.call(this)}function gjn(){de.call(this)}function Mz(){UE.call(this)}function vjn(){Mz.call(this)}function pjn(){UE.call(this)}function mjn(){TG.call(this)}function Tz(){this.a=new Yt}function kjn(){this.a=new de}function yjn(){this.a=new Z}function Az(){this.a=new de}function yv(){this.a=new yt}function jjn(){this.j=new Z}function Ejn(){this.a=new yEn}function Cjn(){this.a=new kmn}function Sz(){this.a=new n4n}function b6(){b6=N,h_=new lc}function xL(){xL=N,l_=new Tjn}function BL(){BL=N,a_=new Mjn}function Mjn(){vL.call(this,"")}function Tjn(){vL.call(this,"")}function Ajn(n){O$n.call(this,n)}function Sjn(n){O$n.call(this,n)}function Pz(n){OG.call(this,n)}function Iz(n){JEn.call(this,n)}function Hfe(n){JEn.call(this,n)}function qfe(n){Iz.call(this,n)}function Ufe(n){Iz.call(this,n)}function Gfe(n){Iz.call(this,n)}function Pjn(n){g$.call(this,n)}function Ijn(n){g$.call(this,n)}function Ojn(n){fSn.call(this,n)}function Ljn(n){Zz.call(this,n)}function w6(n){bC.call(this,n)}function Oz(n){bC.call(this,n)}function Djn(n){bC.call(this,n)}function Lz(n){dje.call(this,n)}function Dz(n){Lz.call(this,n)}function ic(n){IPn.call(this,n)}function Njn(n){ic.call(this,n)}function jv(){s7.call(this,{})}function $jn(){$jn=N,vQn=new tL}function rC(){rC=N,w_=new OTn}function Fjn(){Fjn=N,Iun=new xi}function Nz(){Nz=N,Oun=new $E}function cC(){cC=N,q8=new nL}function RL(n){T3(),this.a=n}function KL(n){oY(),this.a=n}function a0(n){CN(),this.f=n}function _L(n){CN(),this.f=n}function xjn(n){vSn(),this.a=n}function Bjn(n){n.b=null,n.c=0}function Xfe(n,e){n.a=e,function nEe(n){var e,t,i;for(function aMe(n){var e,t,i;for(t=new C(n.a.a.b);t.a0&&(!(kl(n.a.c)&&e.n.d)&&!(Ng(n.a.c)&&e.n.b)&&(e.g.d-=y.Math.max(0,i/2-.5)),(!kl(n.a.c)||!e.n.a)&&(!Ng(n.a.c)||!e.n.c)&&(e.g.a+=y.Math.max(0,i-1)))}(n),i=new Z,t=new C(n.a.a.b);t.a0&&(!(kl(n.a.c)&&e.n.d)&&!(Ng(n.a.c)&&e.n.b)&&(e.g.d+=y.Math.max(0,i/2-.5)),(!kl(n.a.c)||!e.n.a)&&(!Ng(n.a.c)||!e.n.c)&&(e.g.a-=i-1))}(n)}(n)}function HL(n,e,t){n.a[e.g]=t}function Wfe(n,e,t){!function wke(n,e,t){var i,r;for(K7(n,n.j+e,n.k+t),r=new ne((!n.a&&(n.a=new ni(Ro,n,5)),n.a));r.e!=r.i.gc();)KD(i=u(ue(r),377),i.a+e,i.b+t);R7(n,n.b+e,n.c+t)}(t,n,e)}function Vfe(n,e){!function Uae(n,e){kl(n.f)?function zCe(n,e){var t,i,r,c,s;for(c=n.g.a,s=n.g.b,i=new C(n.d);i.a=e.length)return{done:!0};var r=e[i++];return{value:[r,t.get(r)],done:!1}}}},function jAe(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",e=Object.create(null);return void 0===e[n]&&!(0!=Object.getOwnPropertyNames(e).length||(e[n]=42,42!==e[n])||0==Object.getOwnPropertyNames(e).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(e){return this.obj[":"+e]},n.prototype.set=function(e,t){this.obj[":"+e]=t},n.prototype[tR]=function(e){delete this.obj[":"+e]},n.prototype.keys=function(){var e=[];for(var t in this.obj)58==t.charCodeAt(0)&&e.push(t.substring(1));return e}),n}()}()}function Q1(){Q1=N,Coe=function Z7e(){var n,e;cS();try{if(e=u(hnn((Y1(),Ns),bm),2113))return e}catch(t){if(!L(t=At(t),103))throw M(t);n=t,ZV((Ie(),n))}return new lmn}()}function uEn(){uEn=N,Ci=function lye(){var n;return Doe?u(x4((Y1(),Ns),bm),2115):(n=u(L(Bc((Y1(),Ns),bm),569)?Bc(Ns,bm):new MHn,569),Doe=!0,function DOe(n){n.q||(n.q=!0,n.p=dc(n,0),n.a=dc(n,1),mt(n.a,0),n.f=dc(n,2),mt(n.f,1),$t(n.f,2),n.n=dc(n,3),$t(n.n,3),$t(n.n,4),$t(n.n,5),$t(n.n,6),n.g=dc(n,4),mt(n.g,7),$t(n.g,8),n.c=dc(n,5),mt(n.c,7),mt(n.c,8),n.i=dc(n,6),mt(n.i,9),mt(n.i,10),mt(n.i,11),mt(n.i,12),$t(n.i,13),n.j=dc(n,7),mt(n.j,9),n.d=dc(n,8),mt(n.d,3),mt(n.d,4),mt(n.d,5),mt(n.d,6),$t(n.d,7),$t(n.d,8),$t(n.d,9),$t(n.d,10),n.b=dc(n,9),$t(n.b,0),$t(n.b,1),n.e=dc(n,10),$t(n.e,1),$t(n.e,2),$t(n.e,3),$t(n.e,4),mt(n.e,5),mt(n.e,6),mt(n.e,7),mt(n.e,8),mt(n.e,9),mt(n.e,10),$t(n.e,11),n.k=dc(n,11),$t(n.k,0),$t(n.k,1),n.o=Ve(n,12),n.s=Ve(n,13))}(n),function JDe(n){var l,a,d,g,v,p,k;n.r||(n.r=!0,Jc(n,"graph"),qT(n,"graph"),UT(n,bm),Kk(n.o,"T"),me(_r(n.a),n.p),me(_r(n.f),n.a),me(_r(n.n),n.f),me(_r(n.g),n.n),me(_r(n.c),n.n),me(_r(n.i),n.c),me(_r(n.j),n.c),me(_r(n.d),n.f),me(_r(n.e),n.a),ac(n.p,aNe,kXn,!0,!0,!1),k=oxn(p=Jg(n.p,n.p,"setProperty")),l=jl(n.o),a=new l0,me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),ann(a,d=XN(k)),LA(p,l,Vcn),LA(p,l=XN(k),D8),k=oxn(p=Jg(n.p,null,"getProperty")),l=jl(n.o),a=XN(k),me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),LA(p,l,Vcn),(v=qf(p,l=XN(k),null))&&v.oj(),p=Jg(n.p,n.wb.e,"hasProperty"),l=jl(n.o),a=new l0,me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),LA(p,l,Vcn),Lr(p=Jg(n.p,n.p,"copyProperties"),n.p,$K),p=Jg(n.p,null,"getAllProperties"),l=jl(n.wb.P),a=jl(n.o),me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),d=new l0,me((!a.d&&(a.d=new ni(yr,a,1)),a.d),d),a=jl(n.wb.M),me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),(g=qf(p,l,null))&&g.oj(),ac(n.a,e6,oVn,!0,!1,!0),kt(u(D(H(n.a),0),19),n.k,null,mVn,0,-1,e6,!1,!1,!0,!0,!1,!1,!1),ac(n.f,EE,fVn,!0,!1,!0),kt(u(D(H(n.f),0),19),n.g,u(D(H(n.g),0),19),"labels",0,-1,EE,!1,!1,!0,!0,!1,!1,!1),Ht(u(D(H(n.f),1),35),n.wb._,kVn,null,0,1,EE,!1,!1,!0,!1,!0,!1),ac(n.n,CE,"ElkShape",!0,!1,!0),Ht(u(D(H(n.n),0),35),n.wb.t,FK,Y4,1,1,CE,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.n),1),35),n.wb.t,xK,Y4,1,1,CE,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.n),2),35),n.wb.t,"x",Y4,1,1,CE,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.n),3),35),n.wb.t,"y",Y4,1,1,CE,!1,!1,!0,!1,!0,!1),Lr(p=Jg(n.n,null,"setDimensions"),n.wb.t,xK),Lr(p,n.wb.t,FK),Lr(p=Jg(n.n,null,"setLocation"),n.wb.t,"x"),Lr(p,n.wb.t,"y"),ac(n.g,Tr,zcn,!1,!1,!0),kt(u(D(H(n.g),0),19),n.f,u(D(H(n.f),0),19),BK,0,1,Tr,!1,!1,!0,!1,!1,!1,!1),Ht(u(D(H(n.g),1),35),n.wb._,RK,"",0,1,Tr,!1,!1,!0,!1,!0,!1),ac(n.c,he,hVn,!0,!1,!0),kt(u(D(H(n.c),0),19),n.d,u(D(H(n.d),1),19),"outgoingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.c),1),19),n.d,u(D(H(n.d),2),19),"incomingEdges",0,-1,he,!1,!1,!0,!1,!0,!1,!1),ac(n.i,Qe,Xcn,!1,!1,!0),kt(u(D(H(n.i),0),19),n.j,u(D(H(n.j),0),19),"ports",0,-1,Qe,!1,!1,!0,!0,!1,!1,!1),kt(u(D(H(n.i),1),19),n.i,u(D(H(n.i),2),19),KK,0,-1,Qe,!1,!1,!0,!0,!1,!1,!1),kt(u(D(H(n.i),2),19),n.i,u(D(H(n.i),1),19),BK,0,1,Qe,!1,!1,!0,!1,!1,!1,!1),kt(u(D(H(n.i),3),19),n.d,u(D(H(n.d),0),19),"containedEdges",0,-1,Qe,!1,!1,!0,!0,!1,!1,!1),Ht(u(D(H(n.i),4),35),n.wb.e,yVn,null,0,1,Qe,!0,!0,!1,!1,!0,!0),ac(n.j,Yu,Wcn,!1,!1,!0),kt(u(D(H(n.j),0),19),n.i,u(D(H(n.i),0),19),BK,0,1,Yu,!1,!1,!0,!1,!1,!1,!1),ac(n.d,Xt,Gcn,!1,!1,!0),kt(u(D(H(n.d),0),19),n.i,u(D(H(n.i),3),19),"containingNode",0,1,Xt,!1,!1,!0,!1,!1,!1,!1),kt(u(D(H(n.d),1),19),n.c,u(D(H(n.c),0),19),Jcn,0,-1,Xt,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.d),2),19),n.c,u(D(H(n.c),1),19),_K,0,-1,Xt,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.d),3),19),n.e,u(D(H(n.e),5),19),Qcn,0,-1,Xt,!1,!1,!0,!0,!1,!1,!1),Ht(u(D(H(n.d),4),35),n.wb.e,"hyperedge",null,0,1,Xt,!0,!0,!1,!1,!0,!0),Ht(u(D(H(n.d),5),35),n.wb.e,yVn,null,0,1,Xt,!0,!0,!1,!1,!0,!0),Ht(u(D(H(n.d),6),35),n.wb.e,"selfloop",null,0,1,Xt,!0,!0,!1,!1,!0,!0),Ht(u(D(H(n.d),7),35),n.wb.e,"connected",null,0,1,Xt,!0,!0,!1,!1,!0,!0),ac(n.b,Ro,sVn,!1,!1,!0),Ht(u(D(H(n.b),0),35),n.wb.t,"x",Y4,1,1,Ro,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.b),1),35),n.wb.t,"y",Y4,1,1,Ro,!1,!1,!0,!1,!0,!1),Lr(p=Jg(n.b,null,"set"),n.wb.t,"x"),Lr(p,n.wb.t,"y"),ac(n.e,jt,lVn,!1,!1,!0),Ht(u(D(H(n.e),0),35),n.wb.t,"startX",null,0,1,jt,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.e),1),35),n.wb.t,"startY",null,0,1,jt,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.e),2),35),n.wb.t,"endX",null,0,1,jt,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.e),3),35),n.wb.t,"endY",null,0,1,jt,!1,!1,!0,!1,!0,!1),kt(u(D(H(n.e),4),19),n.b,null,rP,0,-1,jt,!1,!1,!0,!0,!1,!1,!1),kt(u(D(H(n.e),5),19),n.d,u(D(H(n.d),3),19),BK,0,1,jt,!1,!1,!0,!1,!1,!1,!1),kt(u(D(H(n.e),6),19),n.c,null,Ycn,0,1,jt,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.e),7),19),n.c,null,Zcn,0,1,jt,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.e),8),19),n.e,u(D(H(n.e),9),19),nun,0,-1,jt,!1,!1,!0,!1,!0,!1,!1),kt(u(D(H(n.e),9),19),n.e,u(D(H(n.e),8),19),eun,0,-1,jt,!1,!1,!0,!1,!0,!1,!1),Ht(u(D(H(n.e),10),35),n.wb._,kVn,null,0,1,jt,!1,!1,!0,!1,!0,!1),Lr(p=Jg(n.e,null,"setStartLocation"),n.wb.t,"x"),Lr(p,n.wb.t,"y"),Lr(p=Jg(n.e,null,"setEndLocation"),n.wb.t,"x"),Lr(p,n.wb.t,"y"),ac(n.k,Ud,"ElkPropertyToValueMapEntry",!1,!1,!1),l=jl(n.o),a=new l0,me((!l.d&&(l.d=new ni(yr,l,1)),l.d),a),vHn(u(D(H(n.k),0),35),l,"key",Ud,!1,!1,!0,!1),Ht(u(D(H(n.k),1),35),n.s,D8,null,0,1,Ud,!1,!1,!0,!1,!0,!1),We(n.o,mU,"IProperty",!0),We(n.s,pi,"PropertyValue",!0),RY(n,bm))}(n),ax(n),Pr(Ns,bm,n),n)}()}function zz(){zz=N,Ga=r4()}function m3(){m3=N,l0n=function nke(){var n,e;cS();try{if(e=u(hnn((Y1(),Ns),Ms),2040))return e}catch(t){if(!L(t=At(t),103))throw M(t);n=t,ZV((Ie(),n))}return new Bmn}()}function oEn(){oEn=N,fse=function eke(){var n,e;MNn();try{if(e=u(hnn((Y1(),Ns),qd),2122))return e}catch(t){if(!L(t=At(t),103))throw M(t);n=t,ZV((Ie(),n))}return new O6n}()}function Xz(){Xz=N,Mc=function Qje(){var n;return Tse?u(x4((Y1(),Ns),qd),2044):(function ALe(){Ge(IE,new U6n),Ge(zO,new e5n),Ge(OE,new a5n),Ge(A0n,new E5n),Ge(fn,new A5n),Ge(T(Ku,1),new S5n),Ge(qt,new P5n),Ge(Op,new I5n),Ge(fn,new D6n),Ge(fn,new N6n),Ge(fn,new $6n),Ge(ui,new F6n),Ge(fn,new x6n),Ge(ss,new B6n),Ge(ss,new R6n),Ge(fn,new K6n),Ge(km,new H6n),Ge(fn,new q6n),Ge(fn,new G6n),Ge(fn,new z6n),Ge(fn,new X6n),Ge(fn,new W6n),Ge(T(Ku,1),new V6n),Ge(fn,new J6n),Ge(fn,new Q6n),Ge(ss,new Y6n),Ge(ss,new Z6n),Ge(fn,new n5n),Ge(qi,new t5n),Ge(fn,new i5n),Ge(vb,new r5n),Ge(fn,new c5n),Ge(fn,new u5n),Ge(fn,new o5n),Ge(fn,new s5n),Ge(ss,new f5n),Ge(ss,new h5n),Ge(fn,new l5n),Ge(fn,new d5n),Ge(fn,new b5n),Ge(fn,new w5n),Ge(fn,new g5n),Ge(fn,new v5n),Ge(pb,new p5n),Ge(fn,new m5n),Ge(fn,new k5n),Ge(fn,new y5n),Ge(pb,new j5n),Ge(vb,new C5n),Ge(fn,new M5n),Ge(qi,new T5n)}(),n=u(L(Bc((Y1(),Ns),qd),594)?Bc(Ns,qd):new gIn,594),Tse=!0,function dDe(n){n.N||(n.N=!0,n.b=dc(n,0),$t(n.b,0),$t(n.b,1),$t(n.b,2),n.bb=dc(n,1),$t(n.bb,0),$t(n.bb,1),n.fb=dc(n,2),$t(n.fb,3),$t(n.fb,4),mt(n.fb,5),n.qb=dc(n,3),$t(n.qb,0),mt(n.qb,1),mt(n.qb,2),$t(n.qb,3),$t(n.qb,4),mt(n.qb,5),$t(n.qb,6),n.a=Ve(n,4),n.c=Ve(n,5),n.d=Ve(n,6),n.e=Ve(n,7),n.f=Ve(n,8),n.g=Ve(n,9),n.i=Ve(n,10),n.j=Ve(n,11),n.k=Ve(n,12),n.n=Ve(n,13),n.o=Ve(n,14),n.p=Ve(n,15),n.q=Ve(n,16),n.s=Ve(n,17),n.r=Ve(n,18),n.t=Ve(n,19),n.u=Ve(n,20),n.v=Ve(n,21),n.w=Ve(n,22),n.B=Ve(n,23),n.A=Ve(n,24),n.C=Ve(n,25),n.D=Ve(n,26),n.F=Ve(n,27),n.G=Ve(n,28),n.H=Ve(n,29),n.J=Ve(n,30),n.I=Ve(n,31),n.K=Ve(n,32),n.M=Ve(n,33),n.L=Ve(n,34),n.P=Ve(n,35),n.Q=Ve(n,36),n.R=Ve(n,37),n.S=Ve(n,38),n.T=Ve(n,39),n.U=Ve(n,40),n.V=Ve(n,41),n.X=Ve(n,42),n.W=Ve(n,43),n.Y=Ve(n,44),n.Z=Ve(n,45),n.$=Ve(n,46),n._=Ve(n,47),n.ab=Ve(n,48),n.cb=Ve(n,49),n.db=Ve(n,50),n.eb=Ve(n,51),n.gb=Ve(n,52),n.hb=Ve(n,53),n.ib=Ve(n,54),n.jb=Ve(n,55),n.kb=Ve(n,56),n.lb=Ve(n,57),n.mb=Ve(n,58),n.nb=Ve(n,59),n.ob=Ve(n,60),n.pb=Ve(n,61))}(n),function WDe(n){var e;n.O||(n.O=!0,Jc(n,"type"),qT(n,"ecore.xml.type"),UT(n,qd),e=u(x4((Y1(),Ns),qd),2044),me(_r(n.fb),n.b),ac(n.b,IE,"AnyType",!1,!1,!0),Ht(u(D(H(n.b),0),35),n.wb.D,aj,null,0,-1,IE,!1,!1,!0,!1,!1,!1),Ht(u(D(H(n.b),1),35),n.wb.D,"any",null,0,-1,IE,!0,!0,!0,!1,!1,!0),Ht(u(D(H(n.b),2),35),n.wb.D,"anyAttribute",null,0,-1,IE,!1,!1,!0,!1,!1,!1),ac(n.bb,zO,NJn,!1,!1,!0),Ht(u(D(H(n.bb),0),35),n.gb,"data",null,0,1,zO,!1,!1,!0,!1,!0,!1),Ht(u(D(H(n.bb),1),35),n.gb,run,null,1,1,zO,!1,!1,!0,!1,!0,!1),ac(n.fb,OE,$Jn,!1,!1,!0),Ht(u(D(H(n.fb),0),35),e.gb,"rawValue",null,0,1,OE,!0,!0,!0,!1,!0,!0),Ht(u(D(H(n.fb),1),35),e.a,D8,null,0,1,OE,!0,!0,!0,!1,!0,!0),kt(u(D(H(n.fb),2),19),n.wb.q,null,"instanceType",1,1,OE,!1,!1,!0,!1,!1,!1,!1),ac(n.qb,A0n,FJn,!1,!1,!0),Ht(u(D(H(n.qb),0),35),n.wb.D,aj,null,0,-1,null,!1,!1,!0,!1,!1,!1),kt(u(D(H(n.qb),1),19),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),kt(u(D(H(n.qb),2),19),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Ht(u(D(H(n.qb),3),35),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),Ht(u(D(H(n.qb),4),35),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),kt(u(D(H(n.qb),5),19),n.bb,null,VJn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),Ht(u(D(H(n.qb),6),35),n.gb,RK,null,0,-2,null,!0,!0,!0,!1,!1,!0),We(n.a,pi,"AnySimpleType",!0),We(n.c,fn,"AnyURI",!0),We(n.d,T(Ku,1),"Base64Binary",!0),We(n.e,fo,"Boolean",!0),We(n.f,qt,"BooleanObject",!0),We(n.g,Ku,"Byte",!0),We(n.i,Op,"ByteObject",!0),We(n.j,fn,"Date",!0),We(n.k,fn,"DateTime",!0),We(n.n,y_,"Decimal",!0),We(n.o,Ai,"Double",!0),We(n.p,ui,"DoubleObject",!0),We(n.q,fn,"Duration",!0),We(n.s,ss,"ENTITIES",!0),We(n.r,ss,"ENTITIESBase",!0),We(n.t,fn,kun,!0),We(n.u,kg,"Float",!0),We(n.v,km,"FloatObject",!0),We(n.w,fn,"GDay",!0),We(n.B,fn,"GMonth",!0),We(n.A,fn,"GMonthDay",!0),We(n.C,fn,"GYear",!0),We(n.D,fn,"GYearMonth",!0),We(n.F,T(Ku,1),"HexBinary",!0),We(n.G,fn,"ID",!0),We(n.H,fn,"IDREF",!0),We(n.J,ss,"IDREFS",!0),We(n.I,ss,"IDREFSBase",!0),We(n.K,ye,"Int",!0),We(n.M,T2,"Integer",!0),We(n.L,qi,"IntObject",!0),We(n.P,fn,"Language",!0),We(n.Q,Ja,"Long",!0),We(n.R,vb,"LongObject",!0),We(n.S,fn,"Name",!0),We(n.T,fn,yP,!0),We(n.U,T2,"NegativeInteger",!0),We(n.V,fn,Eun,!0),We(n.X,ss,"NMTOKENS",!0),We(n.W,ss,"NMTOKENSBase",!0),We(n.Y,T2,"NonNegativeInteger",!0),We(n.Z,T2,"NonPositiveInteger",!0),We(n.$,fn,"NormalizedString",!0),We(n._,fn,"NOTATION",!0),We(n.ab,fn,"PositiveInteger",!0),We(n.cb,fn,"QName",!0),We(n.db,fv,"Short",!0),We(n.eb,pb,"ShortObject",!0),We(n.gb,fn,Ktn,!0),We(n.hb,fn,"Time",!0),We(n.ib,fn,"Token",!0),We(n.jb,fv,"UnsignedByte",!0),We(n.kb,pb,"UnsignedByteObject",!0),We(n.lb,Ja,"UnsignedInt",!0),We(n.mb,vb,"UnsignedIntObject",!0),We(n.nb,T2,"UnsignedLong",!0),We(n.ob,ye,"UnsignedShort",!0),We(n.pb,qi,"UnsignedShortObject",!0),RY(n,qd),function VDe(n){Me(n.a,Be,S(T(fn,1),J,2,6,[Je,"anySimpleType"])),Me(n.b,Be,S(T(fn,1),J,2,6,[Je,"anyType",Cs,aj])),Me(u(D(H(n.b),0),35),Be,S(T(fn,1),J,2,6,[Cs,YK,Je,":mixed"])),Me(u(D(H(n.b),1),35),Be,S(T(fn,1),J,2,6,[Cs,YK,pun,n_,Je,":1",xJn,"lax"])),Me(u(D(H(n.b),2),35),Be,S(T(fn,1),J,2,6,[Cs,DJn,pun,n_,Je,":2",xJn,"lax"])),Me(n.c,Be,S(T(fn,1),J,2,6,[Je,"anyURI",Ts,Mf])),Me(n.d,Be,S(T(fn,1),J,2,6,[Je,"base64Binary",Ts,Mf])),Me(n.e,Be,S(T(fn,1),J,2,6,[Je,vp,Ts,Mf])),Me(n.f,Be,S(T(fn,1),J,2,6,[Je,"boolean:Object",Wi,vp])),Me(n.g,Be,S(T(fn,1),J,2,6,[Je,$8])),Me(n.i,Be,S(T(fn,1),J,2,6,[Je,"byte:Object",Wi,$8])),Me(n.j,Be,S(T(fn,1),J,2,6,[Je,"date",Ts,Mf])),Me(n.k,Be,S(T(fn,1),J,2,6,[Je,"dateTime",Ts,Mf])),Me(n.n,Be,S(T(fn,1),J,2,6,[Je,"decimal",Ts,Mf])),Me(n.o,Be,S(T(fn,1),J,2,6,[Je,F8,Ts,Mf])),Me(n.p,Be,S(T(fn,1),J,2,6,[Je,"double:Object",Wi,F8])),Me(n.q,Be,S(T(fn,1),J,2,6,[Je,"duration",Ts,Mf])),Me(n.s,Be,S(T(fn,1),J,2,6,[Je,"ENTITIES",Wi,BJn,mun,"1"])),Me(n.r,Be,S(T(fn,1),J,2,6,[Je,BJn,ZK,kun])),Me(n.t,Be,S(T(fn,1),J,2,6,[Je,kun,Wi,yP])),Me(n.u,Be,S(T(fn,1),J,2,6,[Je,x8,Ts,Mf])),Me(n.v,Be,S(T(fn,1),J,2,6,[Je,"float:Object",Wi,x8])),Me(n.w,Be,S(T(fn,1),J,2,6,[Je,"gDay",Ts,Mf])),Me(n.B,Be,S(T(fn,1),J,2,6,[Je,"gMonth",Ts,Mf])),Me(n.A,Be,S(T(fn,1),J,2,6,[Je,"gMonthDay",Ts,Mf])),Me(n.C,Be,S(T(fn,1),J,2,6,[Je,"gYear",Ts,Mf])),Me(n.D,Be,S(T(fn,1),J,2,6,[Je,"gYearMonth",Ts,Mf])),Me(n.F,Be,S(T(fn,1),J,2,6,[Je,"hexBinary",Ts,Mf])),Me(n.G,Be,S(T(fn,1),J,2,6,[Je,"ID",Wi,yP])),Me(n.H,Be,S(T(fn,1),J,2,6,[Je,"IDREF",Wi,yP])),Me(n.J,Be,S(T(fn,1),J,2,6,[Je,"IDREFS",Wi,RJn,mun,"1"])),Me(n.I,Be,S(T(fn,1),J,2,6,[Je,RJn,ZK,"IDREF"])),Me(n.K,Be,S(T(fn,1),J,2,6,[Je,B8])),Me(n.M,Be,S(T(fn,1),J,2,6,[Je,yun])),Me(n.L,Be,S(T(fn,1),J,2,6,[Je,"int:Object",Wi,B8])),Me(n.P,Be,S(T(fn,1),J,2,6,[Je,"language",Wi,e_,t_,KJn])),Me(n.Q,Be,S(T(fn,1),J,2,6,[Je,R8])),Me(n.R,Be,S(T(fn,1),J,2,6,[Je,"long:Object",Wi,R8])),Me(n.S,Be,S(T(fn,1),J,2,6,[Je,"Name",Wi,e_,t_,jun])),Me(n.T,Be,S(T(fn,1),J,2,6,[Je,yP,Wi,"Name",t_,_Jn])),Me(n.U,Be,S(T(fn,1),J,2,6,[Je,"negativeInteger",Wi,HJn,vj,"-1"])),Me(n.V,Be,S(T(fn,1),J,2,6,[Je,Eun,Wi,e_,t_,"\\c+"])),Me(n.X,Be,S(T(fn,1),J,2,6,[Je,"NMTOKENS",Wi,qJn,mun,"1"])),Me(n.W,Be,S(T(fn,1),J,2,6,[Je,qJn,ZK,Eun])),Me(n.Y,Be,S(T(fn,1),J,2,6,[Je,Cun,Wi,yun,pj,"0"])),Me(n.Z,Be,S(T(fn,1),J,2,6,[Je,HJn,Wi,yun,vj,"0"])),Me(n.$,Be,S(T(fn,1),J,2,6,[Je,UJn,Wi,CB,Ts,"replace"])),Me(n._,Be,S(T(fn,1),J,2,6,[Je,"NOTATION",Ts,Mf])),Me(n.ab,Be,S(T(fn,1),J,2,6,[Je,"positiveInteger",Wi,Cun,pj,"1"])),Me(n.bb,Be,S(T(fn,1),J,2,6,[Je,"processingInstruction_._type",Cs,"empty"])),Me(u(D(H(n.bb),0),35),Be,S(T(fn,1),J,2,6,[Cs,vP,Je,"data"])),Me(u(D(H(n.bb),1),35),Be,S(T(fn,1),J,2,6,[Cs,vP,Je,run])),Me(n.cb,Be,S(T(fn,1),J,2,6,[Je,"QName",Ts,Mf])),Me(n.db,Be,S(T(fn,1),J,2,6,[Je,K8])),Me(n.eb,Be,S(T(fn,1),J,2,6,[Je,"short:Object",Wi,K8])),Me(n.fb,Be,S(T(fn,1),J,2,6,[Je,"simpleAnyType",Cs,dj])),Me(u(D(H(n.fb),0),35),Be,S(T(fn,1),J,2,6,[Je,":3",Cs,dj])),Me(u(D(H(n.fb),1),35),Be,S(T(fn,1),J,2,6,[Je,":4",Cs,dj])),Me(u(D(H(n.fb),2),19),Be,S(T(fn,1),J,2,6,[Je,":5",Cs,dj])),Me(n.gb,Be,S(T(fn,1),J,2,6,[Je,CB,Ts,"preserve"])),Me(n.hb,Be,S(T(fn,1),J,2,6,[Je,"time",Ts,Mf])),Me(n.ib,Be,S(T(fn,1),J,2,6,[Je,e_,Wi,UJn,Ts,Mf])),Me(n.jb,Be,S(T(fn,1),J,2,6,[Je,GJn,vj,"255",pj,"0"])),Me(n.kb,Be,S(T(fn,1),J,2,6,[Je,"unsignedByte:Object",Wi,GJn])),Me(n.lb,Be,S(T(fn,1),J,2,6,[Je,zJn,vj,"4294967295",pj,"0"])),Me(n.mb,Be,S(T(fn,1),J,2,6,[Je,"unsignedInt:Object",Wi,zJn])),Me(n.nb,Be,S(T(fn,1),J,2,6,[Je,"unsignedLong",Wi,Cun,vj,XJn,pj,"0"])),Me(n.ob,Be,S(T(fn,1),J,2,6,[Je,WJn,vj,"65535",pj,"0"])),Me(n.pb,Be,S(T(fn,1),J,2,6,[Je,"unsignedShort:Object",Wi,WJn])),Me(n.qb,Be,S(T(fn,1),J,2,6,[Je,"",Cs,aj])),Me(u(D(H(n.qb),0),35),Be,S(T(fn,1),J,2,6,[Cs,YK,Je,":mixed"])),Me(u(D(H(n.qb),1),19),Be,S(T(fn,1),J,2,6,[Cs,vP,Je,"xmlns:prefix"])),Me(u(D(H(n.qb),2),19),Be,S(T(fn,1),J,2,6,[Cs,vP,Je,"xsi:schemaLocation"])),Me(u(D(H(n.qb),3),35),Be,S(T(fn,1),J,2,6,[Cs,pP,Je,"cDATA",mP,bj])),Me(u(D(H(n.qb),4),35),Be,S(T(fn,1),J,2,6,[Cs,pP,Je,"comment",mP,bj])),Me(u(D(H(n.qb),5),19),Be,S(T(fn,1),J,2,6,[Cs,pP,Je,VJn,mP,bj])),Me(u(D(H(n.qb),6),35),Be,S(T(fn,1),J,2,6,[Cs,pP,Je,RK,mP,bj]))}(n))}(n),Xe((rX(),h0n),n,new L6n),ax(n),Pr(Ns,qd,n),n)}()}function df(n){return n.e&&n.e()}function sEn(n){return n.l|n.m<<22}function fEn(n,e){return n.c._b(e)}function hEn(n,e){return oBn(n.b,e)}function VL(n){return n?n.d:null}function sd(n){return yl(n),n.o}function Mg(n,e){return n.a+=e,n}function JL(n,e){return n.a+=e,n}function t1(n,e){return n.a+=e,n}function v0(n,e){return n.a+=e,n}function Wz(n,e){for(;n.Bd(e););}function lC(n){this.a=new Tv(n)}function lEn(){throw M(new Pe)}function aEn(){throw M(new Pe)}function dEn(){throw M(new Pe)}function bEn(){throw M(new Pe)}function wEn(){throw M(new Pe)}function gEn(){throw M(new Pe)}function i1(n){this.a=new AN(n)}function vEn(){this.a=new n8(u1n)}function pEn(){this.b=new n8(Mln)}function mEn(){this.a=new n8(I1n)}function kEn(){this.b=new n8(fU)}function yEn(){this.b=new n8(fU)}function aC(n){this.a=0,this.b=n}function Vz(n){VGn(),function MDe(n,e){var t,i,r,c,s,f,h,l;if(t=0,s=0,c=e.length,f=null,l=new Cg,s1?e.a[1]:0),pd(e.e>0?t:d1(t))))}(n,new ea(h));for(n.d=l.a.length,r=0;r0}(u(n,27))?Iu(i,(Ef(),wi))||Iu(i,Fn):Iu(i,(Ef(),wi));if(L(n,326))return Iu(i,(Ef(),$h));if(L(n,193))return Iu(i,(Ef(),e0));if(L(n,366))return Iu(i,(Ef(),F1))}return!0}(n,e)}function Qz(n,e,t){n.splice(e,t)}function Tg(n,e){for(;n.Re(e););}function EEn(n){n.c?$qn(n):Fqn(n)}function CEn(){throw M(new Pe)}function MEn(){throw M(new Pe)}function TEn(){throw M(new Pe)}function AEn(){throw M(new Pe)}function SEn(){throw M(new Pe)}function PEn(){throw M(new Pe)}function IEn(){throw M(new Pe)}function OEn(){throw M(new Pe)}function LEn(){throw M(new Pe)}function DEn(){throw M(new Pe)}function g7(n){this.a=new NEn(n)}function NEn(n){!function R4e(n,e,t){var i;n.b=e,n.a=t,i=512==(512&n.a)?new mjn:new TG,n.c=function ZTe(n,e,t){var i,r,c;if(n.e=t,n.d=0,n.b=0,n.f=1,n.i=e,16==(16&n.e)&&(n.i=function fSe(n){var e,t,i,r,c;for(i=n.length,e=new p6,c=0;ce&&e0)){if(r=-1,32==Gi(a.c,0)){if(d=l[0],i$n(e,l),l[0]>d)continue}else if(Sge(e,a.c,l[0])){l[0]+=a.c.length;continue}return 0}if(r<0&&a.a&&(r=h,c=l[0],i=0),r>=0){if(f=a.b,h==r&&0==(f-=i++))return 0;if(!tzn(e,l,a,f,s)){h=r-1,l[0]=c;continue}}else if(r=-1,!tzn(e,l,a,0,s))return 0}return function ILe(n,e){var t,i,r,c,s,f;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>Xi&&zJ(e,n.p-Ea),s=e.q.getDate(),dk(e,1),n.k>=0&&function p2e(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),c8(n,t)}(e,n.k),n.c>=0?dk(e,n.c):n.k>=0?(i=35-new jY(e.q.getFullYear()-Ea,e.q.getMonth(),35).q.getDate(),dk(e,y.Math.min(i,s))):dk(e,s),n.f<0&&(n.f=e.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function f1e(n,e){n.q.setHours(e),c8(n,e)}(e,24==n.f&&n.g?0:n.f),n.j>=0&&function n3e(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),c8(n,t)}(e,n.j),n.n>=0&&function a3e(n,e){var t;t=n.q.getHours()+(e/3600|0),n.q.setSeconds(e),c8(n,t)}(e,n.n),n.i>=0&&nTn(e,Yi(Zi(ly(Ec(e.q.getTime()),T1),T1),n.i)),n.a&&(zJ(r=new wC,r.q.getFullYear()-Ea-80),rD(Ec(e.q.getTime()),Ec(r.q.getTime()))&&zJ(e,r.q.getFullYear()-Ea+100)),n.d>=0)if(-1==n.c)(t=(7+n.d-e.q.getDay())%7)>3&&(t-=7),f=e.q.getMonth(),dk(e,e.q.getDate()+t),e.q.getMonth()!=f&&dk(e,e.q.getDate()+(t>0?-7:7));else if(e.q.getDay()!=n.d)return!1;return n.o>Xi&&(c=e.q.getTimezoneOffset(),nTn(e,Yi(Ec(e.q.getTime()),60*(n.o-c)*T1))),!0}(s,t)?l[0]:0}(n,e,r=new jY((i=new wC).q.getFullYear()-Ea,i.q.getMonth(),i.q.getDate())))||t0}function rD(n,e){return Ac(n,e)<0}function jCn(n,e){return kN(n.a,e)}function tle(n,e){COn.call(this,n,e)}function uX(n){RN(),fSn.call(this,n)}function oX(n,e){vPn(n,n.length,e)}function C7(n,e){GPn(n,n.length,e)}function A6(n,e){return n.a.get(e)}function ECn(n,e){return tu(n.e,e)}function sX(n){return Jn(n),!1}function fX(n){this.a=u(Se(n),229)}function CC(n){Pn.call(this,n,21)}function MC(n,e){je.call(this,n,e)}function cD(n,e){je.call(this,n,e)}function CCn(n,e){this.b=n,this.a=e}function TC(n,e){this.d=n,this.e=e}function MCn(n,e){this.a=n,this.b=e}function TCn(n,e){this.a=n,this.b=e}function ACn(n,e){this.a=n,this.b=e}function SCn(n,e){this.a=n,this.b=e}function Sv(n,e){this.a=n,this.b=e}function PCn(n,e){this.b=n,this.a=e}function hX(n,e){this.b=n,this.a=e}function lX(n,e){je.call(this,n,e)}function aX(n,e){je.call(this,n,e)}function Ag(n,e){je.call(this,n,e)}function uD(n,e){je.call(this,n,e)}function oD(n,e){je.call(this,n,e)}function sD(n,e){je.call(this,n,e)}function AC(n,e){je.call(this,n,e)}function dX(n,e){this.b=n,this.a=e}function SC(n,e){je.call(this,n,e)}function bX(n,e){this.b=n,this.a=e}function PC(n,e){je.call(this,n,e)}function ICn(n,e){this.b=n,this.a=e}function wX(n,e){je.call(this,n,e)}function fD(n,e){je.call(this,n,e)}function M7(n,e){je.call(this,n,e)}function S6(n,e,t){n.splice(e,0,t)}function IC(n,e){je.call(this,n,e)}function OC(n,e){je.call(this,n,e)}function P6(n,e){je.call(this,n,e)}function gX(n,e){je.call(this,n,e)}function Zt(n,e){je.call(this,n,e)}function LC(n,e){je.call(this,n,e)}function OCn(n,e){this.a=n,this.b=e}function LCn(n,e){this.a=n,this.b=e}function DCn(n,e){this.a=n,this.b=e}function NCn(n,e){this.a=n,this.b=e}function $Cn(n,e){this.a=n,this.b=e}function FCn(n,e){this.a=n,this.b=e}function xCn(n,e){this.b=n,this.a=e}function BCn(n,e){this.b=n,this.a=e}function vX(n,e){this.b=n,this.a=e}function M3(n,e){this.c=n,this.d=e}function RCn(n,e){this.e=n,this.d=e}function KCn(n,e){this.a=n,this.b=e}function _Cn(n,e){this.a=n,this.b=e}function HCn(n,e){this.a=n,this.b=e}function qCn(n,e){this.b=n,this.a=e}function UCn(n,e){this.b=e,this.c=n}function DC(n,e){je.call(this,n,e)}function T7(n,e){je.call(this,n,e)}function hD(n,e){je.call(this,n,e)}function pX(n,e){je.call(this,n,e)}function I6(n,e){je.call(this,n,e)}function lD(n,e){je.call(this,n,e)}function aD(n,e){je.call(this,n,e)}function A7(n,e){je.call(this,n,e)}function mX(n,e){je.call(this,n,e)}function dD(n,e){je.call(this,n,e)}function O6(n,e){je.call(this,n,e)}function kX(n,e){je.call(this,n,e)}function L6(n,e){je.call(this,n,e)}function D6(n,e){je.call(this,n,e)}function Xb(n,e){je.call(this,n,e)}function bD(n,e){je.call(this,n,e)}function wD(n,e){je.call(this,n,e)}function yX(n,e){je.call(this,n,e)}function S7(n,e){je.call(this,n,e)}function Sg(n,e){je.call(this,n,e)}function gD(n,e){je.call(this,n,e)}function NC(n,e){je.call(this,n,e)}function P7(n,e){je.call(this,n,e)}function Wb(n,e){je.call(this,n,e)}function $C(n,e){je.call(this,n,e)}function jX(n,e){je.call(this,n,e)}function vD(n,e){je.call(this,n,e)}function pD(n,e){je.call(this,n,e)}function mD(n,e){je.call(this,n,e)}function kD(n,e){je.call(this,n,e)}function yD(n,e){je.call(this,n,e)}function jD(n,e){je.call(this,n,e)}function ED(n,e){je.call(this,n,e)}function GCn(n,e){this.b=n,this.a=e}function EX(n,e){je.call(this,n,e)}function zCn(n,e){this.a=n,this.b=e}function XCn(n,e){this.a=n,this.b=e}function WCn(n,e){this.a=n,this.b=e}function CX(n,e){je.call(this,n,e)}function MX(n,e){je.call(this,n,e)}function VCn(n,e){this.a=n,this.b=e}function I7(n){return oe(n.a),n.b}function CD(n){return function gCe(n,e){var i,r,c;for(i=new C(n.a.a);i.a=0}function R6(n,e){return 0!=Ac(n,e)}function XC(n,e){return function vme(n,e){for(Se(e);n.Ob();)if(!aY(u(n.Pb(),10)))return!1;return!0}(n.Kc(),e)}function na(n,e){return n.Rd().Xb(e)}function _Mn(n){return to(n),n.d.gc()}function WC(n){return Q6(null==n),n}function K6(n,e){return n.a+=""+e,n}function jr(n,e){return n.a+=""+e,n}function _6(n,e){return n.a+=""+e,n}function Fc(n,e){return n.a+=""+e,n}function Re(n,e){return n.a+=""+e,n}function KX(n,e){return n.a+=""+e,n}function HMn(n){qu(this),E5(this,n)}function qMn(){PJ(),$V.call(this)}function UMn(n,e){KV.call(this,n,e)}function GMn(n,e){KV.call(this,n,e)}function VC(n,e){KV.call(this,n,e)}function tr(n,e){Nt(n,e,n.c.b,n.c)}function Og(n,e){Nt(n,e,n.a,n.a.a)}function _X(n){return Ln(n,0),null}function zMn(){this.b=0,this.a=!1}function XMn(){this.b=0,this.a=!1}function WMn(){this.b=new Tv(aw(12))}function VMn(){VMn=N,CYn=Ce(zF())}function JMn(){JMn=N,zZn=Ce(uqn())}function QMn(){QMn=N,wre=Ce(RFn())}function HX(){HX=N,fz(),Lun=new de}function wf(n){return n.a=0,n.b=0,n}function YMn(n,e){return n.a=e.g+1,n}function FD(n,e){ew.call(this,n,e)}function Cn(n,e){Pt.call(this,n,e)}function Lg(n,e){BX.call(this,n,e)}function ZMn(n,e){H7.call(this,n,e)}function xD(n,e){h4.call(this,n,e)}function Ge(n,e){jC(),Xe(KO,n,e)}function nTn(n,e){n.q.setTime(pd(e))}function eTn(n,e){return x(n)===x(e)}function tTn(n,e){return n.a.a.a.cc(e)}function BD(n,e){return Xo(n.a,0,e)}function qX(n){return function jwe(n){return Xv(),Ct(Wh(n))==Ct(va(n))}(u(n,74))}function Ov(n){return di((Jn(n),n))}function iTn(n){return eu(n.l,n.m,n.h)}function UX(n,e){return Tc(n.a,e.a)}function fh(n,e){return n.indexOf(e)}function E0(n,e){return n==e?0:n?1:-1}function JC(n){return n<10?"0"+n:""+n}function Wr(n){return typeof n===$tn}function rTn(n,e){return Tc(n.g,e.g)}function GX(n){return Hr(n.b.b,n,0)}function cTn(){EM.call(this,0,0,0,0)}function hh(){zG.call(this,new h1)}function zX(n,e){V3(n,0,n.length,e)}function Tle(n,e){return nn(n.a,e),e}function XX(n,e){return So(n.a,e),n}function uTn(n){this.a=JCn(),this.b=n}function oTn(n){this.a=JCn(),this.b=n}function ir(n){this.a=n.a,this.b=n.b}function H6(n){this.a=n,wL.call(this)}function sTn(n){this.a=n,wL.call(this)}function Lv(){zo.call(this,0,0,0,0)}function QC(n){return So(new ei,n)}function fTn(n){return _M(u(n,123))}function ao(n){return n.vh()&&n.wh()}function Dg(n){return n!=th&&n!=Ha}function kl(n){return n==$r||n==zr}function Ng(n){return n==hs||n==nh}function hTn(n){return n==U2||n==q2}function lTn(n,e){return new h4(e,n)}function WX(n){return function Z0e(n,e){return Se(n),Se(e),new zEn(n,e)}(n.b.Kc(),n.a)}function RD(n,e){p4(n,e),i4(n,n.D)}function KD(n,e,t){OT(n,e),IT(n,t)}function $g(n,e,t){G0(n,e),U0(n,t)}function qo(n,e,t){ru(n,e),cu(n,t)}function R7(n,e,t){Z3(n,e),e4(n,t)}function K7(n,e,t){n4(n,e),t4(n,t)}function aTn(n,e,t){IW.call(this,n,e,t)}function VX(n){LMn.call(this,n,!0)}function dTn(){MC.call(this,"Tail",3)}function bTn(){MC.call(this,"Head",1)}function ea(n){mh(),dme.call(this,n)}function C0(n){EM.call(this,n,n,n,n)}function _D(n){n.c=K(pi,xn,1,0,5,1)}function JX(n){return n.b&&uB(n),n.a}function QX(n){return n.b&&uB(n),n.c}function Li(n,e){Pt.call(this,n.b,e)}function wTn(n,e,t){Dt(n.c[e.g],e.g,t)}function HD(n,e,t){return Dt(n,e,t),t}function gTn(n){iu(n.Sf(),new $9n(n))}function Fg(n){return null!=n?wt(n):0}function q6(n){Ze(),h0.call(this,n)}function vTn(n){this.a=n,lV.call(this,n)}function Of(){Of=N,y.Math.log(2)}function Uo(){Uo=N,kCn(),al=Ioe}function pTn(){pTn=N,Cq=new F5(BU)}function Ie(){Ie=N,new mTn,new Z}function mTn(){new de,new de,new de}function qD(n){this.a=n,dC.call(this,n)}function UD(n){this.a=n,dC.call(this,n)}function kTn(n,e){D0(),this.a=n,this.b=e}function Jt(n,e){yN(n.c,n.c.length,e)}function rc(n){return n.ae?1:0}function ZX(n,e){return Ac(n,e)>0?n:e}function eu(n,e,t){return{l:n,m:e,h:t}}function Qle(n,e){null!=n.a&&NMn(e,n.a)}function xg(n,e,t){return jZ(e,t,n.c)}function e1e(n,e,t){return function KOe(n,e,t){var i,r,c,f,h,l,a,g;for(l=new Z,h=new C(e.a);h.a0),c=u(a.a.Xb(a.c=--a.b),18);c!=i&&a.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,oe(a.b>0),c=u(a.a.Xb(a.c=--a.b),18);a.b>0&&vo(a)}}(n,e,t),t}function jTn(n){jJ.call(this),this.b=n}function nW(n){_W.call(this),this.a=n}function ETn(){MC.call(this,"Range",2)}function YC(n){this.b=n,this.a=new Z}function CTn(n){this.b=new $bn,this.a=n}function MTn(n){n.a=new z1,n.c=new z1}function TTn(n){n.a=new de,n.d=new de}function ATn(n){c$(n,null),u$(n,null)}function STn(n,e){return function HOe(n,e,t){var i,r,c,s,f,h,l,a,d;for(!t&&(t=function Qme(n){var e;return(e=new eL).a=n,e.b=function o6e(n){var e;return 0==n?"Etc/GMT":(n<0?(n=-n,e="Etc/GMT-"):e="Etc/GMT+",e+e$n(n))}(n),e.c=K(fn,J,2,2,6,1),e.c[0]=EFn(n),e.c[1]=EFn(n),e}(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-t.a),h=f=new OW(Yi(Ec(e.q.getTime()),r)),f.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,h=new OW(Yi(Ec(e.q.getTime()),r))),a=new Cg,l=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(s=c+1;s=l)throw M(new Un("Missing trailing '"));s+11)throw M(new Un(wj));for(a=ou(n.e.Dh(),e),i=u(n.g,124),s=0;s1||t>1)return 2;return e+t==1?2:0}(e)}function XD(n,e){return null!=n.a.Bc(e)}function Dv(n,e){return n.a*e.a+n.b*e.b}function FTn(n,e,t){n.a=1502^e,n.b=t^iR}function lh(n,e){return n.a*=e,n.b*=e,n}function nn(n,e){return Rn(n.c,e),!0}function G6(n,e,t){return Dt(n.g,e,t),t}function ni(n,e,t){ek.call(this,n,e,t)}function nM(n,e,t){ni.call(this,n,e,t)}function rW(n,e,t){gM.call(this,n,e,t)}function xTn(n,e,t){gM.call(this,n,e,t)}function BTn(n,e,t){rW.call(this,n,e,t)}function Pu(n,e,t){ni.call(this,n,e,t)}function RTn(n,e,t){nM.call(this,n,e,t)}function cW(n,e,t){ek.call(this,n,e,t)}function Bg(n,e,t){ek.call(this,n,e,t)}function KTn(n,e,t){cW.call(this,n,e,t)}function eM(n){n.j=K(Gun,J,319,0,0,1)}function Rg(){this.a=K(pi,xn,1,8,5,1)}function uW(){this.Bb|=256,this.Bb|=512}function ne(n){this.i=n,this.f=this.i.j}function ta(n){this.c=n,this.a=this.c.a}function Kg(n,e){this.a=n,dC.call(this,e)}function oW(n,e){return function x5e(n,e,t){try{!function u6e(n,e,t){if(Se(e),t.Ob())for(KX(e,fIn(t.Pb()));t.Ob();)KX(e,n.a),KX(e,fIn(t.Pb()));return e}(n,e,t)}catch(r){throw L(r=At(r),606)?M(new iQ(r)):M(r)}return e}(n,new V1,e).a}function sW(n){if(!n)throw M(new d7)}function fW(n){if(!n)throw M(new Au)}function hW(){(hW=N)(),DQn=new X1}function _Tn(){_Tn=N,eD(),use=new P8n}function T3(){T3=N,eon=new RL(null)}function j1e(n){fk(n,PVn),zA(n,function KLe(n){var e,t,i,r,c;switch(fk(n,PVn),(!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i+(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i){case 0:throw M(new Un("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i?Ct(Ur(u(D((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))):Ct(Ur(u(D((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)))}if(1==(!n.b&&(n.b=new Dn(he,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new Dn(he,n,5,8)),n.c).i){if(r=Ur(u(D((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)),c=Ur(u(D((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84)),Ct(r)==Ct(c))return Ct(r);if(r==Ct(c))return r;if(c==Ct(r))return c}for(e=Ur(u(fe(i=qh(To(S(T(No,1),xn,20,0,[(!n.b&&(n.b=new Dn(he,n,4,7)),n.b),(!n.c&&(n.c=new Dn(he,n,5,8)),n.c)])))),84));ve(i);)if((t=Ur(u(fe(i),84)))!=e&&!dw(t,e))if(Ct(t)==Ct(e))e=Ct(t);else if(!(e=dMe(e,t)))return null;return e}(n))}function HTn(n){n.a=u(qn(n.b.a,4),129)}function qTn(n){n.a=u(qn(n.b.a,4),129)}function UTn(n){n.b.Qb(),--n.d.f.d,SM(n.d)}function lW(n){this.a=n,G8n.call(this,n.d)}function GTn(n,e){this.a=n,XL.call(this,e)}function zTn(n,e){this.a=n,XL.call(this,e)}function XTn(n,e){this.a=n,XL.call(this,e)}function aW(n,e){this.a=e,XL.call(this,n)}function WTn(n,e){this.a=e,g$.call(this,n)}function VTn(n,e){this.a=n,g$.call(this,e)}function JTn(n,e){this.a=e,bC.call(this,n)}function QTn(n,e){this.a=e,bC.call(this,n)}function ce(n,e){return Se(e),new JTn(n,e)}function YTn(n,e){return new E_n(n.a,n.b,e)}function dW(n,e,t){return n.indexOf(e,t)}function tM(n,e){return n.lastIndexOf(e)}function z6(n){return null==n?yu:Jr(n)}function gs(n){f7.call(this,(Jn(n),n))}function yo(n){f7.call(this,(Jn(n),n))}function ZTn(n){vL.call(this,u(Se(n),34))}function nAn(n){vL.call(this,u(Se(n),34))}function WD(n){zG.call(this,new gQ(n))}function iM(n){f3.call(this,n),this.a=n}function bW(n){s3.call(this,n),this.a=n}function wW(n){g3.call(this,n),this.a=n}function eAn(){eM(this),UM(this),this.je()}function tAn(n){this.a=n,EL.call(this,n)}function bo(n){return oe(null!=n.a),n.a}function iAn(n,e){return nn(e.a,n.a),n.a}function rAn(n,e){return nn(e.b,n.a),n.a}function M0(n,e){return nn(e.a,n.a),n.a}function _7(n,e,t){return iF(n,e,e,t),n}function rM(n,e){return++n.b,nn(n.a,e)}function gW(n,e){return++n.b,pu(n.a,e)}function gu(n,e){return u(ut(n.b,e),15)}function Iu(n,e){return!!e&&n.b[e.g]==e}function X6(n){return rc(n.a)||rc(n.b)}function T0(n){return n.$H||(n.$H=++fNe)}function vW(n,e,t){return KLn(n,e,t,n.c)}function cAn(){j6(),this.b=new p7n(this)}function cM(){cM=N,DP=new Pt(mXn,0)}function Kn(){Kn=N,Pa=!1,mm=!0}function c1(n){var e;e=n.a,n.a=n.b,n.b=e}function H7(n,e){T6(),this.a=n,this.b=e}function uM(n,e){r1(),this.b=n,this.c=e}function VD(n,e){CN(),this.f=e,this.d=n}function pW(n,e){uQ(e,n),this.d=n,this.c=e}function mW(n,e){PZ.call(this,n,e,null)}function uAn(n,e,t,i){_V.call(this,n,e,t,i)}function Nv(n){this.d=n,ne.call(this,n)}function $v(n){this.c=n,ne.call(this,n)}function q7(n){this.c=n,Nv.call(this,n)}function Kh(n){return Ao(n,Dw),new Vc(n)}function oAn(n){return q3(),parseInt(n)||-1}function A3(n,e,t){return dW(n,ku(e),t)}function JD(n,e){return new uSn(n,n.gc(),e)}function S3(n,e,t){n.fd(e).Rb(t)}function kW(n,e,t){u(Pk(n,e),21).Fc(t)}function U7(n){L(n,158)&&u(n,158).pi()}function sAn(n){aV.call(this,n,null,null)}function QD(n){zb(),this.b=n,this.a=!0}function fAn(n){gC(),this.b=n,this.a=!0}function P3(n){return oe(0!=n.b),n.a.a.c}function _s(n){return oe(0!=n.b),n.c.b.c}function K1e(n,e){return iF(n,e,e+1,""),n}function vt(n,e){return!!n.q&&tu(n.q,e)}function hAn(n){return n.b=u(gJ(n.a),44)}function YD(n){return null!=n.f?n.f:""+n.g}function Qb(n,e){return u(Rf(n.a,e),34)}function lAn(n){n.d=new sAn(n),n.e=new de}function aAn(){this.a=new R0,this.b=new R0}function dAn(n){this.c=n,this.a=1,this.b=1}function bAn(n){jB(),Oyn(this),this.Ff(n)}function A0(n,e,t){return n.a+=e,n.b+=t,n}function Y1e(n,e,t){return n.a*=e,n.b*=t,n}function yW(n,e){return n.a=e.a,n.b=e.b,n}function oM(n){return n.a=-n.a,n.b=-n.b,n}function W6(n,e,t){return n.a-=e,n.b-=t,n}function wAn(n){yt.call(this),m5(this,n)}function gAn(){je.call(this,"GROW_TREE",0)}function vAn(){je.call(this,"POLYOMINO",0)}function wo(n,e,t){Du.call(this,n,e,t,2)}function pAn(n,e){T6(),H7.call(this,n,e)}function jW(n,e){r1(),uM.call(this,n,e)}function mAn(n,e){r1(),jW.call(this,n,e)}function kAn(n,e){r1(),uM.call(this,n,e)}function yAn(n){this.c=n,ru(n,0),cu(n,0)}function ZD(n,e){Uo(),TM.call(this,n,e)}function jAn(n,e){Uo(),ZD.call(this,n,e)}function EW(n,e){Uo(),ZD.call(this,n,e)}function CW(n,e){Uo(),TM.call(this,n,e)}function EAn(n,e){Uo(),EW.call(this,n,e)}function CAn(n,e){Uo(),CW.call(this,n,e)}function MAn(n,e){Uo(),TM.call(this,n,e)}function MW(n,e,t){return sS(Sk(n,e),t)}function nN(n,e){return ba(n.e,u(e,54))}function rae(n){return null==n?null:function PLe(n){var e,t,i,r,c,s,f,h,l,a,d,v,k,j;if(utn(),null==n)return null;if(0==(d=8*n.length))return"";for(v=d/24|0,c=null,c=K(ds,jh,28,4*(0!=(f=d%24)?v+1:v),15,1),l=0,a=0,e=0,t=0,i=0,s=0,r=0,h=0;h>24,l=(3&e)<<24>>24,k=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,j=-128&(i=n[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,c[s++]=U1[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[s++]=U1[k|l<<4],c[s++]=U1[a<<2|j],c[s++]=U1[63&i];return 8==f?(l=(3&(e=n[r]))<<24>>24,c[s++]=U1[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[s++]=U1[l<<4],c[s++]=61,c[s++]=61):16==f&&(a=(15&(t=n[r+1]))<<24>>24,l=(3&(e=n[r]))<<24>>24,k=-128&t?(t>>4^240)<<24>>24:t>>4<<24>>24,c[s++]=U1[-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24],c[s++]=U1[k|l<<4],c[s++]=U1[a<<2],c[s++]=61),ks(c,0,c.length)}(n)}function cae(n){return null==n?null:function jje(n){var e,t,i,c;if(xen(),null==n)return null;for(e=K(ds,jh,28,2*(i=n.length),15,1),t=0;t>4],e[2*t+1]=XO[15&c];return ks(e,0,e.length)}(n)}function un(n){return Q6(null==n||Vb(n)),n}function R(n){return Q6(null==n||Jb(n)),n}function Oe(n){return Q6(null==n||Mi(n)),n}function yl(n){null==n.o&&function nMe(n){if(n.ze()){var e=n.c;return n.o=e.Ae()?"["+e.n:e.ze()?"["+e.xe():"[L"+e.xe()+";",n.b=e.we()+"[]",void(n.k=e.ye()+"[]")}var t=n.j,i=n.d;i=i.split("/"),n.o=HF(".",[t,HF("$",i)]),n.b=HF(".",[t,HF(".",i)]),n.k=i[i.length-1]}(n)}function TW(n){if(!n)throw M(new d7)}function oe(n){if(!n)throw M(new tc)}function Yb(n){if(!n)throw M(new Au)}function TAn(n){if(!n)throw M(new Ho)}function I3(){I3=N,SE=new fjn,new hjn}function _g(){_g=N,X2=new ct("root")}function AW(){sFn.call(this),this.Bb|=sr}function fae(n,e){this.d=n,s9n(this),this.b=e}function SW(n,e){A$.call(this,n),this.a=e}function PW(n,e){A$.call(this,n),this.a=e}function IW(n,e,t){dT.call(this,n,e,t,null)}function AAn(n,e,t){dT.call(this,n,e,t,null)}function G7(n,e){this.c=n,j3.call(this,n,e)}function V6(n,e){this.a=n,G7.call(this,n,e)}function OW(n){this.q=new y.Date(pd(n))}function SAn(n){return n>8?0:n+1}function PAn(n,e){Vf||nn(n.a,e)}function bae(n,e){return u(Rf(n.b,e),143)}function wae(n,e){return u(Rf(n.c,e),233)}function eN(n){return u(sn(n.a,n.b),294)}function IAn(n){return new W(n.c,n.d+n.a)}function OAn(n){return Jn(n),n?1231:1237}function LAn(n){return Eo(),hTn(u(n,203))}function Zb(){Zb=N,Aon=yn((mo(),u0))}function gae(n,e){e.a?function kCe(n,e){var t,i,r;if(!ik(n.a,e.b))throw M(new Sr("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=n.a.a.ec().Kc();i.Ob();)if(t=u(i.Pb(),68),Yme(e.b,t))Phe(n.b.a,e.b,t),r=!0;else if(r)break}(n,e):XD(n.a,e.b)}function z7(n,e,t){++n.j,n.tj(),T$(n,e,t)}function DAn(n,e,t){++n.j,n.qj(e,n.Zi(e,t))}function NAn(n,e,t){n.fd(e).Rb(t)}function LW(n,e,t){return Oo(n,e,6,t)}function DW(n,e,t){return Oo(n,e,3,t)}function NW(n,e,t){return Oo(n,e,9,t)}function ah(n,e){return fk(e,rin),n.f=e,n}function $W(n,e){return(e&nt)%n.d.length}function $An(n,e,t){return btn(n.c,n.b,e,t)}function FAn(n,e){this.c=n,q0.call(this,e)}function xAn(n,e){this.a=n,Eyn.call(this,e)}function X7(n,e){this.a=n,Eyn.call(this,e)}function Pt(n,e){ct.call(this,n),this.a=e}function FW(n,e){cz.call(this,n),this.a=e}function tN(n,e){cz.call(this,n),this.a=e}function vae(n){gZ.call(this,0,0),this.f=n}function BAn(n,e,t){return n.a+=ks(e,0,t),n}function W7(n){return!n.a&&(n.a=new uG),n.a}function xW(n,e){var t;return t=n.e,n.e=e,t}function BW(n,e){return!!n.Fe(e)}function nw(n,e){n.a.bd(n.b,e),++n.b,n.c=-1}function V7(n){n.b?V7(n.b):n.f.c.zc(n.e,n.d)}function RAn(n){qu(n.e),n.d.b=n.d,n.d.a=n.d}function RW(n,e,t){return qv(n,u(e,22),t)}function Hs(n,e){return sC(new Array(e),n)}function iN(n){return String.fromCharCode(n)}function Eae(n,e){n[tR].call(n,e)}function KW(n,e,t,i){EM.call(this,n,e,t,i)}function KAn(){sM.call(this),this.a=new Oi}function _W(){this.n=new Oi,this.o=new Oi}function _An(){this.b=new Oi,this.c=new Z}function HAn(){this.a=new Z,this.b=new Z}function qAn(){this.a=new fG,this.b=new _yn}function HW(){this.b=new h1,this.a=new h1}function UAn(){this.b=new Yt,this.a=new Yt}function GAn(){this.b=new de,this.a=new de}function zAn(){this.b=new pEn,this.a=new Hpn}function XAn(){this.a=new i8n,this.b=new Dvn}function WAn(){this.a=new Z,this.d=new Z}function sM(){this.n=new kv,this.i=new Lv}function VAn(n){this.a=(Ao(n,Dw),new Vc(n))}function JAn(n){this.a=(Ao(n,Dw),new Vc(n))}function QAn(n,e){return null==Xe(n.a,e,"")}function et(n,e){return n.a+=e.a,n.b+=e.b,n}function gi(n,e){return n.a-=e.a,n.b-=e.b,n}function qW(n,e,t){return Oo(n,e,11,t)}function Fv(n,e,t,i){q.call(this,n,e,t,i)}function UW(n,e,t,i){q.call(this,n,e,t,i)}function YAn(n,e,t,i){UW.call(this,n,e,t,i)}function ZAn(n,e,t,i){DM.call(this,n,e,t,i)}function rN(n,e,t,i){DM.call(this,n,e,t,i)}function GW(n,e,t,i){DM.call(this,n,e,t,i)}function nSn(n,e,t,i){rN.call(this,n,e,t,i)}function zW(n,e,t,i){rN.call(this,n,e,t,i)}function Dn(n,e,t,i){GW.call(this,n,e,t,i)}function eSn(n,e,t,i){zW.call(this,n,e,t,i)}function tSn(n,e,t,i){UV.call(this,n,e,t,i)}function ew(n,e){Ar.call(this,N8+n+_d+e)}function XW(n,e){return n.jk().wi().ri(n,e)}function WW(n,e){return n.jk().wi().ti(n,e)}function iSn(n,e){return Jn(n),x(n)===x(e)}function Tn(n,e){return Jn(n),x(n)===x(e)}function rSn(n,e){return n.b.Bd(new SCn(n,e))}function VW(n,e,t){return n.lastIndexOf(e,t)}function cSn(n){return n.c?Hr(n.c.a,n,0):-1}function xv(n){return n==c0||n==hl||n==Xc}function JW(n,e){this.c=n,ON.call(this,n,e)}function uSn(n,e,t){this.a=n,pW.call(this,e,t)}function oSn(n){this.c=n,VC.call(this,Ry,0)}function sSn(n,e,t){this.c=e,this.b=t,this.a=n}function J7(n){L3(),this.d=n,this.a=new Rg}function fSn(n){dh(),this.a=(On(),new g3(n))}function hSn(n,e){ibe.call(this,n,n.length,e)}function lSn(n,e){return L(e,15)&&Rqn(n.c,e)}function fM(n,e,t){return u(n.c,71).Xk(e,t)}function QW(n,e,t){return function iae(n,e,t){return e.Al(n.e,n.c,t)}(n,u(e,343),t)}function aSn(n,e,t){return function Fye(n,e,t){var i,r,c;return i=e.Lk(),c=e.md(),r=i.Jk()?oa(n,4,i,c,null,q4(n,i,c,L(i,102)&&0!=(u(i,19).Bb&sr)),!0):oa(n,i.tk()?2:1,i,c,i.ik(),-1,!0),t?t.nj(r):t=r,t}(n,u(e,343),t)}function J6(n,e){return null==e?null:vw(n.b,e)}function YW(n){return Jb(n)?(Jn(n),n):n.ue()}function hM(n){return!isNaN(n)&&!isFinite(n)}function cN(n){MTn(this),jo(this),Fi(this,n)}function Hu(n){_D(this),bV(this.c,0,n.Pc())}function Go(n,e,t){this.a=n,this.b=e,this.c=t}function dSn(n,e,t){this.a=n,this.b=e,this.c=t}function bSn(n,e,t){this.d=n,this.b=t,this.a=e}function wSn(n){this.a=n,ml(),Ec(Date.now())}function gSn(n){vo(n.a),dQ(n.c,n.b),n.b=null}function uN(){uN=N,non=new ec,OQn=new zt}function vSn(){vSn=N,Foe=K(pi,xn,1,0,5,1)}function pSn(){pSn=N,nse=K(pi,xn,1,0,5,1)}function ZW(){ZW=N,ese=K(pi,xn,1,0,5,1)}function dh(){dh=N,new sz((On(),On(),Vi))}function nV(n,e){if(!n)throw M(new Un(e))}function O3(n){if(!n)throw M(new Sr(Ftn))}function oN(n,e){if(n!=e)throw M(new Ho)}function mSn(n,e,t){this.a=n,this.b=e,this.c=t}function eV(n,e,t){this.a=n,this.b=e,this.c=t}function kSn(n,e,t){this.a=n,this.b=e,this.c=t}function lM(n,e,t){this.b=n,this.a=e,this.c=t}function tV(n,e,t){this.b=n,this.c=e,this.a=t}function iV(n,e,t){this.a=n,this.b=e,this.c=t}function aM(n,e,t){this.e=e,this.b=n,this.d=t}function ySn(n,e,t){this.b=n,this.a=e,this.c=t}function sN(n){var e;return(e=new ubn).e=n,e}function rV(n){var e;return(e=new zyn).b=n,e}function Q7(){Q7=N,qP=new sgn,UP=new fgn}function dM(){dM=N,QZn=new Fgn,JZn=new xgn}function qs(){qs=N,tne=new G2n,ine=new z2n}function L3(){L3=N,en(),Eln=Wn,VI=Zn}function fN(){fN=N,Kdn=new QSn,_dn=new FPn}function J0e(n){return!n.e&&(n.e=new Z),n.e}function hN(n,e){this.c=n,this.a=e,this.b=e-n}function jSn(n,e,t){this.a=n,this.b=e,this.c=t}function lN(n,e,t){this.a=n,this.b=e,this.c=t}function cV(n,e,t){this.a=n,this.b=e,this.c=t}function uV(n,e,t){this.a=n,this.b=e,this.c=t}function ESn(n,e,t){this.a=n,this.b=e,this.c=t}function CSn(n,e,t){this.a=n,this.b=e,this.c=t}function u1(n,e,t){this.e=n,this.a=e,this.c=t}function MSn(n,e,t){Uo(),CJ.call(this,n,e,t)}function aN(n,e,t){Uo(),oJ.call(this,n,e,t)}function oV(n,e,t){Uo(),oJ.call(this,n,e,t)}function sV(n,e,t){Uo(),oJ.call(this,n,e,t)}function TSn(n,e,t){Uo(),aN.call(this,n,e,t)}function fV(n,e,t){Uo(),aN.call(this,n,e,t)}function ASn(n,e,t){Uo(),fV.call(this,n,e,t)}function SSn(n,e,t){Uo(),oV.call(this,n,e,t)}function PSn(n,e,t){Uo(),sV.call(this,n,e,t)}function dN(n){EM.call(this,n.d,n.c,n.a,n.b)}function hV(n){EM.call(this,n.d,n.c,n.a,n.b)}function lV(n){this.d=n,s9n(this),this.b=function Vbe(n){return L(n,15)?u(n,15).ed():n.Kc()}(n.d)}function Y7(n,e){return Se(n),Se(e),new xEn(n,e)}function Bv(n,e){return Se(n),Se(e),new HSn(n,e)}function bN(n){return oe(0!=n.b),Qo(n,n.a.a)}function nbe(n){return oe(0!=n.b),Qo(n,n.c.b)}function D3(n){var e;return B$(e=new Z,n),e}function ISn(n){var e;return Q$(e=new dz,n),e}function Z7(n){var e;return Q$(e=new yt,n),e}function u(n,e){return Q6(null==n||JF(n,e)),n}function ibe(n,e,t){PPn.call(this,e,t),this.a=n}function OSn(n,e){this.c=n,this.b=e,this.a=!1}function LSn(){this.a=";,;",this.b="",this.c=""}function DSn(n,e,t){this.b=n,UMn.call(this,e,t)}function aV(n,e,t){this.c=n,TC.call(this,e,t)}function dV(n,e,t){M3.call(this,n,e),this.b=t}function bV(n,e,t){uen(t,0,n,e,t.length,!1)}function _h(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function wV(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function nk(n,e){if(!n)throw M(new Un(e))}function Rv(n,e){if(!n)throw M(new Sr(e))}function gV(n,e){if(!n)throw M(new _jn(e))}function bM(n,e){return e&&BM(n,e.d)?e:null}function vV(n){return la(function swe(n){return eu(~n.l&co,~n.m&co,~n.h&Kl)}(Wr(n)?ps(n):n))}function hbe(n){return new W(n.c+n.b,n.d+n.a)}function NSn(n){return null!=n&&!$F(n,W9,V9)}function lbe(n,e){return(aBn(n)<<4|aBn(e))&ri}function $Sn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function pV(n){var e;e=n.b,n.b=n.c,n.c=e}function mV(n){var t;t=n.d,n.d=n.a,n.a=t}function kV(n,e){return n.g=e<0?-1:e,n}function wM(n,e){return function k4e(n){var e;return(e=y.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=e,n.b/=e),n}(n),n.a*=e,n.b*=e,n}function FSn(n,e,t){I$n.call(this,e,t),this.d=n}function ek(n,e,t){RX.call(this,n,e),this.c=t}function gM(n,e,t){RX.call(this,n,e),this.c=t}function yV(n){ZW(),UE.call(this),this.ci(n)}function xSn(){X3(),Dwe.call(this,(Y1(),Ns))}function BSn(n){return Ze(),new Hh(0,n)}function RSn(){RSn=N,On(),ZU=new CL(n_)}function vM(){vM=N,new LZ((BL(),a_),(xL(),l_))}function KSn(){KSn=N,Kun=K(qi,J,17,256,0,1)}function _Sn(){this.b=F(R(rn((Js(),G_))))}function wN(n){this.b=n,this.a=ld(this.b.a).Od()}function HSn(n,e){this.b=n,this.a=e,wL.call(this)}function qSn(n,e){this.a=n,this.b=e,wL.call(this)}function USn(n,e,t){this.a=n,Lg.call(this,e,t)}function GSn(n,e,t){this.a=n,Lg.call(this,e,t)}function N3(n,e,t){kf(n,e,new rw(t))}function jV(n,e,t){var i;return i=n[e],n[e]=t,i}function pM(n){return O$(n.slice(),n)}function mM(n){var e;return n.a.b+(e=n.n).d+e.a}function zSn(n){var e;return n.e.b+(e=n.n).d+e.a}function EV(n){var e;return n.e.a+(e=n.n).b+e.c}function CV(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function xe(n,e){return Nt(n,e,n.c.b,n.c),!0}function S0(n,e){return G5(n,new M3(e.a,e.b))}function XSn(n){return n.b.c.length-n.e.c.length}function WSn(n){return n.e.c.length-n.g.c.length}function gN(n){return n.e.c.length+n.g.c.length}function tk(n){return 0==n||isNaN(n)?n:n<0?-1:1}function Cbe(n,e,t){!function hLe(n,e,t,i,r){var c,s,f,g,v,X,tn,jn,kn,Bn,$n,te;null==(Bn=ee(n.e,i))&&(v=u(Bn=new jv,190),g=new rw(e+"_s"+r),kf(v,Ph,g)),Uv(t,kn=u(Bn,190)),wd(te=new jv,"x",i.j),wd(te,"y",i.k),kf(kn,jVn,te),wd(tn=new jv,"x",i.b),wd(tn,"y",i.c),kf(kn,"endPoint",tn),!v7((!i.a&&(i.a=new ni(Ro,i,5)),i.a))&&(c=new ryn(X=new td),_i((!i.a&&(i.a=new ni(Ro,i,5)),i.a),c),kf(kn,rP,X)),!!YF(i)&&Tnn(n.a,kn,Zcn,Ox(n,YF(i))),!!ZF(i)&&Tnn(n.a,kn,Ycn,Ox(n,ZF(i))),!(0==(!i.e&&(i.e=new Dn(jt,i,10,9)),i.e).i)&&(s=new IMn(n,jn=new td),_i((!i.e&&(i.e=new Dn(jt,i,10,9)),i.e),s),kf(kn,eun,jn)),0!=(!i.g&&(i.g=new Dn(jt,i,9,10)),i.g).i&&(f=new OMn(n,$n=new td),_i((!i.g&&(i.g=new Dn(jt,i,9,10)),i.g),f),kf(kn,nun,$n))}(n.a,n.b,n.c,u(e,166),t)}function MV(n,e,t,i){MZ.call(this,n,e,t,i,0,0)}function VSn(n){ZW(),yV.call(this,n),this.a=-1}function JSn(n,e){PPn.call(this,e,1040),this.a=n}function QSn(){lMn.call(this,"COUNT_CHILDREN",0)}function kM(n,e){B7.call(this,n,e),this.a=this}function Ot(n,e){var t;return(t=BN(n,e)).i=2,t}function yM(n,e){return++n.j,n.Cj(e)}function Ke(n,e,t){return n.a=-1,kW(n,e.g,t),n}function YSn(n){return ep(),K(ZI,JS,40,n,0,1)}function ZSn(n){return n.e.Rd().gc()*n.c.Rd().gc()}function vN(n,e,t){return new sSn(function $we(n){return 0>=n?new nX:function K4e(n){return 0>n?new nX:new PW(null,new jDn(n+1,n))}(n-1)}(n)._e(),t,e)}function Q6(n){if(!n)throw M(new w3(null))}function TV(n){if(n.c.e!=n.a)throw M(new Ho)}function AV(n){if(n.e.c!=n.b)throw M(new Ho)}function jM(n){for(Se(n);n.Ob();)n.Pb(),n.Qb()}function pN(n){D0(),this.a=(On(),new CL(Se(n)))}function SV(n){this.c=n,this.b=this.c.d.vc().Kc()}function nPn(n,e){return n.a+=ks(e,0,e.length),n}function sn(n,e){return Ln(e,n.c.length),n.c[e]}function ePn(n,e){return Ln(e,n.a.length),n.a[e]}function hd(n,e,t,i,r,c){return MKn(n,e,t,i,r,0,c)}function PV(n,e){return function Dbe(n,e){return $l(Yi($l(n.a).a,e.a))}(u(n,168),u(e,168))}function tPn(){tPn=N,_un=K(vb,J,168,256,0,1)}function iPn(){iPn=N,Uun=K(pb,J,191,256,0,1)}function rPn(){rPn=N,xun=K(Op,J,222,256,0,1)}function cPn(){cPn=N,Run=K(U8,J,180,128,0,1)}function IV(){_h(this,!1,!1,!1,!1)}function OV(n){zG.call(this,new h1),Fi(this,n)}function Y6(n){this.a=new Tv(n.gc()),Fi(this,n)}function uPn(n){this.c=n,this.a=new Av(this.c.a)}function oPn(n){this.a=n,this.c=new de,function t6e(n){var e,t,i,r;for(i=0,r=(t=n.a).length;i>>e,r=n.m>>e|t<<22-e,i=n.l>>e|n.m<<22-e):e<44?(c=0,r=t>>>e-22,i=n.m>>e-22|n.h<<44-e):(c=0,r=0,i=t>>>e-44),eu(i&co,r&co,c&Kl)}(Wr(n)?ps(n):n,e))}function Zbe(n,e){return function pae(n,e){return Kn(),n==e?0:n?1:-1}((Jn(n),n),(Jn(e),e))}function TN(n,e){return at((Jn(n),n),(Jn(e),e))}function LM(n){this.b=new Vc(11),this.a=(x0(),n)}function ie(n){this.a=(kPn(),fQn),this.d=u(Se(n),51)}function PPn(n,e){this.c=0,this.d=n,this.b=64|e|yh}function KV(n,e){this.e=n,this.d=64&e?e|yh:e}function AN(n){this.b=null,this.a=(x0(),n||Yun)}function IPn(n){eM(this),this.g=n,UM(this),this.je()}function ad(n){Z1(),this.a=0,this.b=n-1,this.c=1}function _V(n,e,t,i){this.a=n,dT.call(this,n,e,t,i)}function HV(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function $3(n,e){if(n<0||n>=e)throw M(new kz)}function tw(n,e){return Qk(n,(Jn(e),new w9n(e)))}function _v(n,e){return Qk(n,(Jn(e),new g9n(e)))}function OPn(n,e,t){return function qDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I;if(i=e,h=t,n.b&&i.j==(en(),Wn)&&h.j==(en(),Wn)&&(I=i,i=h,h=I),tu(n.a,i)){if(bf(u(ee(n.a,i),49),h))return 1}else Xe(n.a,i,new Yt);if(tu(n.a,h)){if(bf(u(ee(n.a,h),49),i))return-1}else Xe(n.a,h,new Yt);if(tu(n.d,i)){if(bf(u(ee(n.d,i),49),h))return-1}else Xe(n.d,i,new Yt);if(tu(n.d,h)){if(bf(u(ee(n.a,h),49),i))return 1}else Xe(n.d,h,new Yt);if(i.j!=h.j)return-1==(A=function Ole(n,e){return Tc(n.g,e.g)}(i.j,h.j))?rs(n,h,i):rs(n,i,h),A;if(0!=i.e.c.length&&0!=h.e.c.length){if(n.b&&0!=(A=Hxn(i,h)))return-1==A?rs(n,h,i):1==A&&rs(n,i,h),A;if((c=u(sn(i.e,0),18).c.i)==(a=u(sn(h.e,0),18).c.i))return(r=u(m(u(sn(i.e,0),18),(V(),lt)),17).a)>(l=u(m(u(sn(h.e,0),18),lt),17).a)?rs(n,i,h):rs(n,h,i),rl?1:0;for(k=0,j=(p=n.c).length;k(l=u(m(g,lt),17).a)?rs(n,i,h):rs(n,h,i),rl?1:0):n.b&&0!=(A=Hxn(i,h))?(-1==A?rs(n,h,i):1==A&&rs(n,i,h),A):(s=0,d=0,vt(u(sn(i.g,0),18),lt)&&(s=u(m(u(sn(i.g,0),18),lt),17).a),vt(u(sn(h.g,0),18),lt)&&(d=u(m(u(sn(i.g,0),18),lt),17).a),f&&f==g?on(un(m(u(sn(i.g,0),18),Qf)))&&!on(un(m(u(sn(h.g,0),18),Qf)))?(rs(n,i,h),1):!on(un(m(u(sn(i.g,0),18),Qf)))&&on(un(m(u(sn(h.g,0),18),Qf)))?(rs(n,h,i),-1):(s>d?rs(n,i,h):rs(n,h,i),sd?1:0):(n.f&&(n.f._b(f)&&(s=u(n.f.xc(f),17).a),n.f._b(g)&&(d=u(n.f.xc(g),17).a)),s>d?rs(n,i,h):rs(n,h,i),sd?1:0))):0!=i.e.c.length&&0!=h.g.c.length?(rs(n,i,h),1):0!=i.g.c.length&&0!=h.e.c.length?(rs(n,h,i),-1):vt(i,(V(),lt))&&vt(h,lt)?((r=u(m(i,lt),17).a)>(l=u(m(h,lt),17).a)?rs(n,i,h):rs(n,h,i),rl?1:0):(rs(n,h,i),-1)}(n,u(e,12),u(t,12))}function LPn(n){return Nu(),0!=u(n,12).g.c.length}function DPn(n){return Nu(),0!=u(n,12).e.c.length}function iwe(n,e){e.Ug("General 'Rotator",1),function vLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,v;for(d=F(R(z(n,(ka(),Wq)))),on(un(z(n,k1n)))&&(a=u(z(n,(_g(),X2)),27),c=u(D(aJ(u(D((!a.e&&(a.e=new Dn(Xt,a,7,4)),a.e),(!a.e&&(a.e=new Dn(Xt,a,7,4)),a.e).i-1),74)),0),27),i=u(D(aJ(u(D((!a.e&&(a.e=new Dn(Xt,a,7,4)),a.e),0),74)),0),27),s=new W(c.i+c.g/2,c.j+c.f/2),r=new W(i.i+i.g/2,i.j+i.f/2),(t=d)<=0&&(t+=Rd),(g=y.Math.acos((s.a*r.a+s.b*r.b)/(y.Math.sqrt(s.a*s.a+s.b*s.b)*y.Math.sqrt(r.a*r.a+r.b*r.b))))<=0&&(g+=Rd),(e=y.Math.atan2(s.b,s.a))<=0&&(e+=Rd),d=Vrn-(e-t+g/2)),h=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));h.e!=h.i.gc();)v=(l=new W((f=u(ue(h),27)).i+f.g/2,f.j+f.f/2)).a*y.Math.cos(d)-l.b*y.Math.sin(d),l.b=l.a*y.Math.sin(d)+l.b*y.Math.cos(d),l.a=v,qo(f,l.a-f.g/2,l.b-f.f/2)}(n)}function NPn(n,e,t){return f2(),o4(n,e)&&o4(n,t)}function e5(n){return Xu(),!n.Hc(Xl)&&!n.Hc(qa)}function cwe(n){return n.e?lQ(n.e):null}function t5(n){return Wr(n)?""+n:Bqn(n)}function qV(n){var e;for(e=n;e.f;)e=e.f;return e}function o1(n,e,t,i){var r;(r=n.i).i=e,r.a=t,r.b=i}function q(n,e,t,i){ni.call(this,n,e,t),this.b=i}function ji(n,e,t,i,r){P$.call(this,n,e,t,i,r,-1)}function i5(n,e,t,i,r){Ek.call(this,n,e,t,i,r,-1)}function DM(n,e,t,i){ek.call(this,n,e,t),this.b=i}function $Pn(n){LMn.call(this,n,!1),this.a=!1}function FPn(){lMn.call(this,"LOOKAHEAD_LAYOUT",1)}function xPn(n){this.b=n,Nv.call(this,n),HTn(this)}function BPn(n){this.b=n,q7.call(this,n),qTn(this)}function iw(n,e,t){this.a=n,Fv.call(this,e,t,5,6)}function UV(n,e,t,i){this.b=n,ni.call(this,e,t,i)}function RPn(n,e){this.b=n,G8n.call(this,n.b),this.a=e}function KPn(n){this.a=ERn(n.a),this.b=new Hu(n.b)}function GV(n,e){D0(),xhe.call(this,n,tA(new _u(e)))}function NM(n,e){return Ze(),new uJ(n,e,0)}function SN(n,e){return Ze(),new uJ(6,n,e)}function Ri(n,e){for(Jn(e);n.Ob();)e.Cd(n.Pb())}function tu(n,e){return Mi(e)?QN(n,e):!!br(n.f,e)}function PN(n,e){return e.Vh()?ba(n.b,u(e,54)):e}function owe(n,e){return Tn(n.substr(0,e.length),e)}function qh(n){return new ie(new aW(n.a.length,n.a))}function $M(n){return new W(n.c+n.b/2,n.d+n.a/2)}function IN(n){return typeof n===$y||typeof n===MB}function qu(n){n.f=new uTn(n),n.i=new oTn(n),++n.g}function _Pn(n){if(!n)throw M(new tc);return n.d}function Hv(n){var e;return oe(null!=(e=T5(n))),e}function fwe(n){var e;return oe(null!=(e=function M5e(n){var e;return null==(e=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,Dt(n.a,n.c,null),e)}(n))),e}function F3(n,e){var t;return uQ(e,t=n.a.gc()),t-e}function oi(n,e){return null==n.a.zc(e,n)}function ik(n,e){return null==n.a.zc(e,(Kn(),Pa))}function zV(n){return new Mn(null,function bwe(n,e){return function g4e(n,e){if(0>n||n>e)throw M(new Rz("fromIndex: 0, toIndex: "+n+Xtn+e))}(e,n.length),new JSn(n,e)}(n,n.length))}function XV(n,e,t){return sGn(n,u(e,42),u(t,176))}function qv(n,e,t){return Xs(n.a,e),jV(n.b,e.g,t)}function B(n,e,t,i){Rxn(e,t,n.length),function lwe(n,e,t,i){var r;for(r=e;r0?1:0}function rk(n,e){NTn(n,L(e,160)?e:u(e,2036).Rl())}function QV(n,e){if(null==n)throw M(new Ev(e))}function YV(n,e){return!!e&&Fi(n,e)}function c5(n){return 0==n.e?n:new dd(-n.e,n.d,n.a)}function ck(n,e){Nt(n.d,e,n.b.b,n.b),++n.a,n.c=null}function UPn(n,e){return n.c?UPn(n.c,e):nn(n.b,e),n}function vwe(n,e,t){var i;return i=lw(n,e),d$(n,e,t),i}function GPn(n,e,t){var i;for(i=0;i0?(gA(n,t,0),t.a+=String.fromCharCode(i),gA(n,t,r=R8e(e,c)),c+=r-1):39==i?c+1=n.g}function Dt(n,e,t){return function sae(n){if(!n)throw M(new IL)}(null==t||function tPe(n,e){var t;switch(Lk(n)){case 6:return Mi(e);case 7:return Jb(e);case 8:return Vb(e);case 3:return Array.isArray(e)&&!((t=Lk(e))>=14&&t<=16);case 11:return null!=e&&typeof e===MB;case 12:return null!=e&&(typeof e===$y||typeof e==MB);case 0:return JF(e,n.__elementTypeId$);case 2:return IN(e)&&e.Tm!==Hb;case 1:return IN(e)&&e.Tm!==Hb||JF(e,n.__elementTypeId$);default:return!0}}(n,t)),n[e]=t}function iJ(n,e){return Gn(e,n.length+1),n.substr(e)}function KN(n,e){for(Jn(e);n.c0;)n=n<<1|(n<0?1:0);return n}function yIn(n,e){var t;return t=new xc(n),Rn(e.c,t),t}function jIn(n,e){n.u.Hc((Xu(),Xl))&&function _Ee(n,e){var t,i,r,c;for(t=(c=u(Er(n.b,e),127)).a,r=u(u(ut(n.r,e),21),87).Kc();r.Ob();)(i=u(r.Pb(),117)).c&&(t.a=y.Math.max(t.a,EV(i.c)));if(t.a>0)switch(e.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}(n,e),function c3e(n,e){var t;n.C&&((t=u(Er(n.b,e),127).n).d=n.C.d,t.a=n.C.a)}(n,e)}function jc(n,e){return x(n)===x(e)||null!=n&&it(n,e)}function Er(n,e){return kN(n.a,e)?n.b[u(e,22).g]:null}function _M(n){return!n.n&&(n.n=new q(Tr,n,1,7)),n.n}function HN(n){return!n.c&&(n.c=new q(Yu,n,9,9)),n.c}function aJ(n){return!n.c&&(n.c=new Dn(he,n,5,8)),n.c}function uk(n){return n.j.c.length=0,bJ(n.c),function Oae(n){return Ub(n.j.c,0),n.a=-1,n}(n.a),n}function _3(n){return n.e==gm&&function pfe(n,e){n.e=e}(n,function X8e(n,e){var t,i;return(t=e.qi(n.a))&&null!=(i=Oe(jf((!t.b&&(t.b=new wo((In(),hr),kc,t)),t.b),Je)))?i:e.xe()}(n.g,n.b)),n.e}function ok(n){return n.f==gm&&function kfe(n,e){n.f=e}(n,function B7e(n,e){var t,i;return(t=e.qi(n.a))?(i=Oe(jf((!t.b&&(t.b=new wo((In(),hr),kc,t)),t.b),mP)),Tn(bj,i)?n5(n,Mo(e.qk())):i):null}(n.g,n.b)),n.f}function We(n,e,t,i){return GFn(n,e,t,!1),iA(n,i),n}function EIn(n,e){this.b=n,ON.call(this,n,e),HTn(this)}function CIn(n,e){this.b=n,JW.call(this,n,e),qTn(this)}function f5(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function dJ(n,e){this.b=n,this.c=e,this.a=new Av(this.b)}function Gi(n,e){return Gn(e,n.length),n.charCodeAt(e)}function nge(n,e){nZ(n,F(Ol(e,"x")),F(Ol(e,"y")))}function ege(n,e){nZ(n,F(Ol(e,"x")),F(Ol(e,"y")))}function rt(n,e){return wa(n),new Mn(n,new CQ(e,n.a))}function Kr(n,e){return wa(n),new Mn(n,new fQ(e,n.a))}function cw(n,e){return wa(n),new SW(n,new DDn(e,n.a))}function HM(n,e){return wa(n),new PW(n,new NDn(e,n.a))}function MIn(n,e,t){t.a?cu(n,e.b-n.f/2):ru(n,e.a-n.g/2)}function bJ(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Hg(n){var e;return!(e=n.b)&&(n.b=e=new x8n(n)),e}function qN(n){return function U4e(n){var e;return L(e=m(n,(V(),ot)),167)?SBn(u(e,167)):null}(n)||null}function TIn(n,e){var t,i;return(t=n/e)>(i=di(t))&&++i,i}function sge(n,e,t){(function hIe(n,e){var t,i,r,c;for(function p4e(n){var e;for(e=0;e0&&vKn(this)}function KIn(n,e){this.a=n,fae.call(this,n,u(n.d,15).fd(e))}function vJ(n,e){return n.b=e.b,n.c=e.c,n.d=e.d,n.a=e.a,n}function _In(n,e,t,i){this.b=n,this.c=i,VC.call(this,e,t)}function zv(n){return n.f||(n.f=new j3(n,n.c))}function HIn(n,e){return Yg(n.j,e.s,e.c)+Yg(e.e,n.s,n.c)}function qIn(n,e){n.e&&!n.e.a&&(Iyn(n.e,e),qIn(n.e,e))}function UIn(n,e){n.d&&!n.d.a&&(Iyn(n.d,e),UIn(n.d,e))}function GIn(){Tx(this,new PG),this.wb=(ra(),_n),m3()}function zIn(n){this.b=new Z,si(this.b,this.b),this.a=n}function pJ(n,e){new yt,this.a=new Su,this.b=n,this.c=e}function x0(){x0=N,Yun=new wl,E_=new wl,Zun=new nc}function On(){On=N,Vi=new Si,il=new er,PP=new lo}function mJ(){mJ=N,qQn=new nbn,GQn=new NV,UQn=new ebn}function Xv(){Xv=N,xP=new Z,H_=new de,__=new Z}function GM(n,e){if(null==n)throw M(new Ev(e));return n}function zM(n){return!n.a&&(n.a=new q(Qe,n,10,11)),n.a}function st(n){return!n.q&&(n.q=new q(Ds,n,11,10)),n.q}function H(n){return!n.s&&(n.s=new q(Mu,n,21,17)),n.s}function yge(n){return Se(n),DRn(new ie(ce(n.a.Kc(),new Vn)))}function wd(n,e,t){kf(n,e,new zE(YW(t)))}function VN(n,e,t,i,r,c){Ek.call(this,n,e,t,i,r,c?-2:-1)}function XIn(n,e,t,i){RX.call(this,e,t),this.b=n,this.a=i}function WIn(n,e){qfe.call(this,new AN(n)),this.a=n,this.b=e}function kJ(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function q3(){var n,e;q3=N,e=!function I8e(){return Error.stackTraceLimit>0?(y.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}(),n=new FE,p_=e?new ZO:n}function JN(n){return On(),L(n,59)?new zL(n):new iM(n)}function XM(n){return L(n,16)?new Y6(u(n,16)):function tbe(n){var e;return B$(e=new Yt,n),e}(n.Kc())}function yJ(n){return n&&n.hashCode?n.hashCode():T0(n)}function QN(n,e){return null==e?!!br(n.f,null):function _be(n,e){return void 0!==n.a.get(e)}(n.i,e)}function Tge(n,e){var t;return(t=iW(n.a,e))&&(e.d=null),t}function VIn(n,e,t){return!!n.f&&n.f.ef(e,t)}function sk(n,e,t,i){Dt(n.c[e.g],t.g,i),Dt(n.c[t.g],e.g,i)}function YN(n,e,t,i){Dt(n.c[e.g],e.g,t),Dt(n.b[e.g],e.g,i)}function JIn(n,e){this.g=n,this.d=S(T(cl,1),A1,10,0,[e])}function QIn(n){this.c=n,this.b=new i1(u(Se(new tbn),50))}function YIn(n){this.c=n,this.b=new i1(u(Se(new ewn),50))}function ZIn(n){this.b=n,this.a=new i1(u(Se(new Nbn),50))}function nOn(){this.b=new Yt,this.d=new yt,this.e=new yz}function jJ(){this.c=new Oi,this.d=new Oi,this.e=new Oi}function B0(){this.a=new Su,this.b=(Ao(3,Dw),new Vc(3))}function s1(n,e){this.e=n,this.a=pi,this.b=nUn(e),this.c=e}function WM(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function eOn(n,e,t,i,r,c){this.a=n,U$.call(this,e,t,i,r,c)}function tOn(n,e,t,i,r,c){this.a=n,U$.call(this,e,t,i,r,c)}function oa(n,e,t,i,r,c,s){return new w$(n.e,e,t,i,r,c,s)}function Sge(n,e,t){return t>=0&&Tn(n.substr(t,e.length),e)}function iOn(n,e){return L(e,149)&&Tn(n.b,u(e,149).Pg())}function rOn(n,e){var t;return YLn(t=n.b.Qc(e),n.b.gc()),t}function fk(n,e){if(null==n)throw M(new Ev(e));return n}function _r(n){return n.u||(no(n),n.u=new xAn(n,n)),n.u}function ZN(n){this.a=(On(),L(n,59)?new zL(n):new iM(n))}function vu(n){return u(qn(n,16),29)||n.ii()}function VM(n,e){var t;return t=sd(n.Rm),null==e?t:t+": "+e}function Xo(n,e,t){return $i(e,t,n.length),n.substr(e,t-e)}function cOn(n,e){sM.call(this),DQ(this),this.a=n,this.c=e}function Oge(n){oC(),y.setTimeout(function(){throw n},0)}function JM(n,e,t,i){return t>=0?n.Uh(e,t,i):n.Ch(null,t,i)}function hk(n){return 0==n.b.b?n.a.sf():bN(n.b)}function EJ(n){return x(n.a)===x((tF(),JU))&&function ZIe(n){var e,t,i,r,c,s,f,h,l,a;for(e=new dL,t=new dL,l=Tn(aj,(r=r8(n.b,Be))?Oe(jf((!r.b&&(r.b=new wo((In(),hr),kc,r)),r.b),Cs)):null),h=0;h0&&n.b>0&&(n.g=CM(n.c,n.b,n.a))}function i2e(n,e){n.c=e,n.c>0&&n.b>0&&(n.g=CM(n.c,n.b,n.a))}function uOn(n,e){(function tfe(n,e){n.a=e})(this,new W(n.a,n.b)),function ife(n,e){n.b=e}(this,Z7(e))}function R0(){Ufe.call(this,new Tv(aw(12))),sW(!0),this.a=2}function n$(n,e,t){Ze(),h0.call(this,n),this.b=e,this.a=t}function CJ(n,e,t){Uo(),YE.call(this,e),this.a=n,this.b=t}function oOn(n){var e;n.b=e=n.c.d.b,n.a=n.c.d,e.a=n.c.d.b=n}function Bc(n,e){return null==e?Rr(br(n.f,null)):A6(n.i,e)}function sOn(n,e,t,i,r){return new Sx(n,(J3(),A_),e,t,i,r)}function QM(n,e){return VLn(e),function S4e(n,e,t){return uen(n,0,e,0,y.Math.min(t,n.length),!0),e}(n,K(ye,_e,28,e,15,1),e)}function YM(n,e){return GM(n,"set1"),GM(e,"set2"),new QEn(n,e)}function fOn(n,e){var i;return FGn(n,e,i=new gl),i.d}function e$(n,e,t,i){var r;r=new KAn,e.a[t.g]=r,qv(n.b,i,r)}function u2e(n,e){return et(oM(function M4e(n,e){return gi(Bi(u(ee(n.g,e),8)),eW(u(ee(n.f,e),470).b))}(n.f,e)),n.f.d)}function lk(n){(function F4e(n){var t;for(t=new C(VRn(n));t.a>16!=3?null:u(n.Cb,27)}function Df(n){return n.Db>>16!=9?null:u(n.Cb,27)}function dOn(n){return n.Db>>16!=6?null:u(n.Cb,74)}function K0(){K0=N,xa=new AX(jp,0),G2=new AX(Ep,1)}function wh(){wh=N,Db=new CX(Ep,0),N1=new CX(jp,1)}function Nf(){Nf=N,n0=new MX(lR,0),Yf=new MX("UP",1)}function bOn(){bOn=N,lQn=Ce((rC(),S(T(hQn,1),G,549,0,[w_])))}function wOn(n){var e;return EY(e=new lC(aw(n.length)),n),e}function gOn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function El(n,e){if(null==e)throw M(new pv);return function L8e(n,e){var i,t=n.a;e=String(e),t.hasOwnProperty(e)&&(i=t[e]);var r=(hF(),m_)[typeof i];return r?r(i):xY(typeof i)}(n,e)}function dk(n,e){var t;t=n.q.getHours(),n.q.setDate(e),c8(n,t)}function TJ(n,e,t){var i;(i=n.Ih(e))>=0?n.bi(i,t):Cen(n,e,t)}function vOn(n,e){var t;return(t=n.Ih(e))>=0?n.Wh(t):Nx(n,e)}function pOn(n,e){var t;for(Se(e),t=n.a;t;t=t.c)e.Yd(t.g,t.i)}function t$(n,e,t){var i;i=jxn(n,e,t),n.b=new HT(i.c.length)}function qg(n,e,t){nT(),n&&Xe(XU,n,e),n&&Xe(TE,n,t)}function i$(n,e){return y.Math.abs(n)>16!=7?null:u(n.Cb,241)}function U3(n){return n.Db>>16!=6?null:u(n.Cb,241)}function yOn(n){return n.Db>>16!=7?null:u(n.Cb,167)}function Ct(n){return n.Db>>16!=11?null:u(n.Cb,27)}function uw(n){return n.Db>>16!=17?null:u(n.Cb,29)}function jOn(n){return n.Db>>16!=3?null:u(n.Cb,155)}function SJ(n){return wa(n),rt(n,new S9n(new Yt))}function EOn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.ve(e))}function COn(n,e){eM(this),this.f=e,this.g=n,UM(this),this.je()}function MOn(n,e){this.a=n,this.c=Bi(this.a),this.b=new WM(e)}function TOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new Hu(t))}function AOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new Hu(t))}function SOn(n){this.a=n,this.b=K(Lie,J,2043,n.e.length,0,2)}function POn(){this.a=new hh,this.e=new Yt,this.g=0,this.i=0}function nT(){nT=N,XU=new de,TE=new de,function ale(n,e){n&&Xe(TE,n,e)}(PQn,new vmn)}function IOn(){IOn=N,gie=Lu(new ei,(zi(),Gr),(nr(),Ij))}function PJ(){PJ=N,vie=Lu(new ei,(zi(),Gr),(nr(),Ij))}function OOn(){OOn=N,mie=Lu(new ei,(zi(),Gr),(nr(),Ij))}function LOn(){LOn=N,xie=Ke(new ei,(zi(),Gr),(nr(),J8))}function Eo(){Eo=N,Kie=Ke(new ei,(zi(),Gr),(nr(),J8))}function DOn(){DOn=N,_ie=Ke(new ei,(zi(),Gr),(nr(),J8))}function r$(){r$=N,zie=Ke(new ei,(zi(),Gr),(nr(),J8))}function h5(n,e,t,i,r,c){return new Sl(n.e,e,n.Lj(),t,i,r,c)}function Pr(n,e,t){return null==e?Yc(n.f,null,t):J0(n.i,e,t)}function Qi(n,e){n.c&&pu(n.c.g,n),n.c=e,n.c&&nn(n.c.g,n)}function Di(n,e){n.c&&pu(n.c.a,n),n.c=e,n.c&&nn(n.c.a,n)}function cc(n,e){n.i&&pu(n.i.j,n),n.i=e,n.i&&nn(n.i.j,n)}function Pi(n,e){n.d&&pu(n.d.e,n),n.d=e,n.d&&nn(n.d.e,n)}function c$(n,e){n.a&&pu(n.a.k,n),n.a=e,n.a&&nn(n.a.k,n)}function u$(n,e){n.b&&pu(n.b.f,n),n.b=e,n.b&&nn(n.b.f,n)}function NOn(n,e){(function Iwe(n,e,t){u(e.b,68),iu(e.a,new cV(n,t,e))})(n,n.b,n.c),u(n.b.b,68),e&&u(e.b,68)}function eT(n,e){L(n.Cb,184)&&(u(n.Cb,184).tb=null),Jc(n,e)}function o$(n,e){L(n.Cb,90)&&Mw(no(u(n.Cb,90)),4),Jc(n,e)}function $On(n){var t;return m3(),Y3(t=new l0,n),t}function FOn(n){var t;return m3(),Y3(t=new l0,n),t}function xOn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function C2e(n,e,t){return nn(n.a,(KM(),rx(e,t),new p0(e,t))),n}function Rc(n,e){return ar(),F$(e)?new kM(e,n):new B7(e,n)}function bk(n){return mh(),Ac(n,0)>=0?ga(n):c5(ga(d1(n)))}function BOn(n,e){var t;return(t=u(vw(zv(n.a),e),16))?t.gc():0}function ROn(n,e,t){hBn(e,t,n.c.length),Qz(n.c,e,t-e)}function f1(n,e,t){hBn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function Wv(n){this.c=new yt,this.b=n.b,this.d=n.c,this.a=n.a}function s$(n){this.a=y.Math.cos(n),this.b=y.Math.sin(n)}function gd(n,e,t,i){this.c=n,this.d=i,c$(this,e),u$(this,t)}function IJ(n,e){Hfe.call(this,new Tv(aw(n))),Ao(e,Nzn),this.a=e}function KOn(n,e,t){return new Sx(n,(J3(),T_),null,!1,e,t)}function _On(n,e,t){return new Sx(n,(J3(),S_),e,t,null,!1)}function $f(n){return oc(S(T(yi,1),J,8,0,[n.i.n,n.n,n.a]))}function HOn(){HOn=N,_re=Lu(new ei,(lp(),k9),(i8(),Aln))}function tT(){tT=N,Rq=new SX("DFS",0),r1n=new SX("BFS",1)}function qOn(n,e,t){var i;(i=new Epn).b=e,i.a=t,++e.b,nn(n.d,i)}function ow(n,e){if(n<0||n>e)throw M(new Ar(Qtn+n+Ytn+e))}function Ln(n,e){if(n<0||n>=e)throw M(new Ar(Qtn+n+Ytn+e))}function Gn(n,e){if(n<0||n>=e)throw M(new Bz(Qtn+n+Ytn+e))}function Pn(n,e){this.b=(Jn(n),n),this.a=e&Nw?e:64|e|yh}function OJ(n){return wa(n),x0(),x0(),ST(n,E_)}function _0(n){return Se(n),L(n,16)?new Hu(u(n,16)):D3(n.Kc())}function LJ(n,e){return n&&n.equals?n.equals(e):x(n)===x(e)}function vi(n,e){return la(function Jbe(n,e){return eu(n.l&e.l,n.m&e.m,n.h&e.h)}(Wr(n)?ps(n):n,Wr(e)?ps(e):e))}function vf(n,e){return la(function Qbe(n,e){return eu(n.l|e.l,n.m|e.m,n.h|e.h)}(Wr(n)?ps(n):n,Wr(e)?ps(e):e))}function f$(n,e){return la(function Ybe(n,e){return eu(n.l^e.l,n.m^e.m,n.h^e.h)}(Wr(n)?ps(n):n,Wr(e)?ps(e):e))}function UOn(n,e){var t,i;return i=F3(n,e),t=n.a.fd(i),new VEn(n,t)}function E(n){return oe(n.a0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function pLn(n){return oe(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function mLn(n,e){var t;n.e=new Sz,Jt(t=Aw(e),n.c),Dqn(n,t,0)}function ti(n,e,t,i){var r;(r=new jG).a=e,r.b=t,r.c=i,xe(n.a,r)}function Q(n,e,t,i){var r;(r=new jG).a=e,r.b=t,r.c=i,xe(n.b,r)}function kLn(n,e,t){if(n<0||et)throw M(new Ar(function Bje(n,e,t){return n<0||n>t?Xnn(n,t,"start index"):e<0||e>t?Xnn(e,t,"end index"):t8("end index (%s) must not be less than start index (%s)",S(T(pi,1),xn,1,5,[Y(e),Y(n)]))}(n,e,t)))}function vk(n,e){if(n<0||n>=e)throw M(new Ar(function wEe(n,e){if(n<0)return t8(Pzn,S(T(pi,1),xn,1,5,["index",Y(n)]));if(e<0)throw M(new Un(Izn+e));return t8("%s (%s) must be less than size (%s)",S(T(pi,1),xn,1,5,["index",Y(n),Y(e)]))}(n,e)));return n}function Ug(n){return j6(),L(n.g,10)?u(n.g,10):null}function Ave(n){return!Hg(n).dc()&&(function Jle(n,e){Se(e),Hg(n).Jc(new o7)}(n,new JO),!0)}function pd(n){var e;return Wr(n)?-0==(e=n)?0:e:function H3e(n){return nnn(n,(Q3(),$un))<0?-function C1e(n){return n.l+n.m*yp+n.h*Nd}(b4(n)):n.l+n.m*yp+n.h*Nd}(n)}function yLn(n,e){return!!L(e,44)&&ux(n.a,u(e,44))}function jLn(n,e){return!!L(e,44)&&ux(n.a,u(e,44))}function ELn(n,e){return!!L(e,44)&&ux(n.a,u(e,44))}function BJ(n){var e;return ua(n),e=new _o,Tg(n.a,new M9n(e)),e}function RJ(){var n,e;return n=new l0,nn(y0n,e=n),e}function iT(n){var e;return ua(n),e=new nd,Tg(n.a,new T9n(e)),e}function CLn(n){Z$.call(this,n,(J3(),M_),null,!1,null,!1)}function MLn(){MLn=N,LYn=Ce((vC(),S(T(Ion,1),G,489,0,[B_])))}function TLn(){TLn=N,jln=pIn(Y(1),Y(4)),yln=pIn(Y(1),Y(2))}function rT(n){return new Vc((Ao(n,PB),TT(Yi(Yi(5,n),n/10|0))))}function ALn(n){return u(Hf(n,K(_Zn,NXn,12,n.c.length,0,1)),2042)}function a5(n,e){(function bDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$;if(I=0,0==e.f.a)for(j=new C(n);j.a2e3&&(bQn=n,MP=y.setTimeout(Fhe,10)),0==CP++&&(function Y3e(n){var e,t;if(n.a){t=null;do{e=n.a,n.a=null,t=g_n(e,t)}while(n.a);n.a=t}}((Nz(),Oun)),!0)}();try{return function jae(n,e,t){return n.apply(e,t)}(n,e,t)}finally{!function Ape(n){n&&function Z3e(n){var e,t;if(n.b){t=null;do{e=n.b,n.b=null,t=g_n(e,t)}while(n.b);n.b=t}}((Nz(),Oun)),--CP,n&&-1!=MP&&(function ple(n){y.clearTimeout(n)}(MP),MP=-1)}(i)}}function H0(n,e){var t,i;return i=null,(t=El(n,e))&&(i=t.pe()),i}function d5(n,e){var t,i;return i=null,(t=El(n,e))&&(i=t.se()),i}function G3(n,e){var t,i;return i=null,(t=lw(n,e))&&(i=t.se()),i}function Cl(n,e){var t,i;return i=null,(t=El(n,e))&&(i=Bnn(t)),i}function KJ(n,e,t){this.d=new B7n(this),this.e=n,this.i=e,this.f=t}function SLn(n,e,t,i){this.e=null,this.c=n,this.d=e,this.a=t,this.b=i}function PLn(n,e,t,i){TTn(this),this.c=n,this.e=e,this.f=t,this.b=i}function _J(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function ILn(n,e,t,i){return L(t,59)?new uAn(n,e,t,i):new _V(n,e,t,i)}function z3(n){return L(n,16)?u(n,16).dc():!n.Kc().Ob()}function OLn(n){if(n.e.g!=n.b)throw M(new Ho);return!!n.c&&n.d>0}function be(n){return oe(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function HJ(n,e){Jn(e),Dt(n.a,n.c,e),n.c=n.c+1&n.a.length-1,ZRn(n)}function sa(n,e){Jn(e),n.b=n.b-1&n.a.length-1,Dt(n.a,n.b,e),ZRn(n)}function LLn(n){var e;e=n.Gh(),this.a=L(e,71)?u(e,71).Ii():e.Kc()}function xve(n){return new Pn(function j4e(n,e){var t,i;for(On(),i=new Z,t=0;t0&&Nc(n.g,0,e,0,n.i),e}function RLn(n,e){var t;for(t=n.j.c.length;tn.c));s++)r.a>=n.s&&(c<0&&(c=s),f=s);return h=(n.s+n.c)/2,c>=0&&(h=function nle(n){return(n.c+n.a)/2}((Ln(i=function tSe(n,e,t,i){var r,c,s,f,h,l,a,d,g,v,p;if(c=t,t=t&&(i=e,h.c<=(l=(h.c+h.a)/2)-t&&P0(n,i++,new hN(h.c,l-t)),(f=l+t)<=h.a&&(c=new hN(f,h.a),ow(i,n.c.length),S6(n.c,i,c)))}(e,i,t)),h}(r,t,i))),function Zye(n,e,t){var i,r,c,s;for(c=e.q,s=e.r,new gd((pf(),Fa),e,c,1),new gd(Fa,c,s,1),r=new C(t);r.a"+NJ(n.d):"e_"+T0(n)}function _i(n,e){var t,i;for(Jn(e),i=n.Kc();i.Ob();)t=i.Pb(),e.Cd(t)}function yDn(n,e){var t;for(t=e;t;)A0(n,-t.i,-t.j),t=Ct(t);return n}function JJ(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function Vo(n,e,t){var i;return Ln(e,n.c.length),i=n.c[e],n.c[e]=t,i}function QJ(n,e,t){n.a.c.length=0,function rOe(n,e,t){var i,r,s,f,l,a,d,g,v;n.c=0,n.b=0,i=2*e.c.a.c.length+1;n:for(d=t.Kc();d.Ob();){if(v=0,f=(a=u(d.Pb(),12)).j==(en(),zn)||a.j==ae){if(!(g=u(m(a,(V(),Wu)),10)))continue;v+=AAe(n,i,a,g)}else{for(l=new C(a.g);l.a0?(n.f[a.p]=v/(a.e.c.length+a.g.c.length),n.c=y.Math.min(n.c,n.f[a.p]),n.b=y.Math.max(n.b,n.f[a.p])):f&&(n.f[a.p]=v)}}(n,e,t),0==n.a.c.length||function OSe(n,e){var t,i,r,c,s,f,h,l,a,d;for(l=n.e[e.c.p][e.p]+1,h=e.c.a.c.length+1,f=new C(n.a);f.a0?pqn(n,e):HBn(n,-e)}function Qv(n,e){return 0==e||0==n.e?n:e>0?HBn(n,e):pqn(n,-e)}function iQ(n){tle.call(this,null==n?yu:Jr(n),L(n,82)?u(n,82):null)}function IDn(n){var e;return n.c||L(e=n.r,90)&&(n.c=u(e,29)),n.c}function k$(n){var e;return qr(e=new B0,n),U(e,(cn(),Nr),null),e}function ODn(n){var t;return t=n.d.i,n.c.i.k==(Xn(),Qt)&&t.k==Qt}function y$(n){return eu(n&co,n>>22&co,n<0?Kl:0)}function Xpe(n,e){var t,i;(t=u(function t5e(n,e){Se(n);try{return n.Bc(e)}catch(t){if(L(t=At(t),212)||L(t,169))return null;throw M(t)}}(n.c,e),16))&&(i=t.gc(),t.$b(),n.d-=i)}function j$(n,e,t){var i;return(i=n.Ih(e))>=0?n.Lh(i,t,!0):ib(n,e,t)}function mk(n,e){n._i(n.i+1),G6(n,n.i,n.Zi(n.i,e)),n.Mi(n.i++,e),n.Ni()}function g5(n){var e,t;++n.j,e=n.g,t=n.i,n.g=null,n.i=0,n.Oi(t,e),n.Ni()}function LDn(n,e,t){var i;E5(i=new tW(n.a),n.a.a),Yc(i.f,e,t),n.a.a=i}function rQ(n,e,t,i){var r;for(r=0;re)throw M(new Ar(Xnn(n,e,"index")));return n}function l1(n,e){var t;return Ln(e,n.c.length),t=n.c[e],Qz(n.c,e,1),t}function oQ(n,e){var t,i;return Jn(n),t=n,Jn(e),t==(i=e)?0:tn.d[s.p]&&(t+=JJ(n.b,c)*u(h.b,17).a,sa(n.a,Y(c)));for(;!v6(n.a);)PQ(n.b,u(Hv(n.a),17).a)}return t}(n,t)}function C$(n){var e;return 0==(e=n.b).b?null:u(is(e,0),65).b}function lQ(n){return n.a?n.e?lQ(n.e):null:n}function KDn(n){var e;return n.a||L(e=n.r,156)&&(n.a=u(e,156)),n.a}function _Dn(n,e){return!!tu(n.a,e)&&(Yv(n.a,e),!0)}function Zv(n,e,t){return vk(e,n.e.Rd().gc()),vk(t,n.c.Rd().gc()),n.a[e][t]}function aT(n,e,t){this.a=n,this.b=e,this.c=t,nn(n.t,this),nn(e.i,this)}function dT(n,e,t,i){this.f=n,this.e=e,this.d=t,this.b=i,this.c=i?i.d:null}function kk(){this.b=new yt,this.a=new yt,this.b=new yt,this.a=new yt}function X3(){var n,e;X3=N,m3(),e=new eC,UO=e,n=new DL,GO=n}function HDn(n){var e;for(ua(n),e=0;n.a.Bd(new V0n);)e=Yi(e,1);return e}function bT(n,e){return Jn(e),n.c=0,"Initial capacity must not be negative")}function wT(){wT=N,O9=new ct("org.eclipse.elk.labels.labelManager")}function qDn(){qDn=N,Hsn=new Pt("separateLayerConnections",(JT(),fH))}function pf(){pf=N,og=new TX("REGULAR",0),Fa=new TX("CRITICAL",1)}function yk(){yk=N,aU=new DX("FIXED",0),wO=new DX("CENTER_NODE",1)}function gT(){gT=N,Xsn=new pX("QUADRATIC",0),kH=new pX("SCANLINE",1)}function UDn(){UDn=N,vne=Ce((k5(),S(T(Jsn,1),G,322,0,[Y8,Dj,Vsn])))}function GDn(){GDn=N,pne=Ce((DT(),S(T(Ysn,1),G,351,0,[Qsn,dI,yH])))}function zDn(){zDn=N,dne=Ce((X0(),S(T(lH,1),G,372,0,[yb,La,kb])))}function XDn(){XDn=N,jne=Ce((Md(),S(T(yne,1),G,460,0,[CH,Im,D2])))}function WDn(){WDn=N,Sne=Ce((l4(),S(T(NH,1),G,299,0,[LH,DH,Nj])))}function VDn(){VDn=N,Ine=Ce((Pl(),S(T(Pne,1),G,311,0,[$j,$2,xp])))}function JDn(){JDn=N,iie=Ce((I5(),S(T(nln,1),G,390,0,[fq,Zhn,UI])))}function QDn(){QDn=N,lie=Ce((XT(),S(T(dln,1),G,387,0,[lln,pq,aln])))}function YDn(){YDn=N,aie=Ce((A5(),S(T(bln,1),G,349,0,[kq,mq,zj])))}function ZDn(){ZDn=N,hie=Ce((wr(),S(T(fie,1),G,463,0,[b9,Vu,nu])))}function nNn(){nNn=N,die=Ce((m4(),S(T(gln,1),G,350,0,[yq,wln,w9])))}function eNn(){eNn=N,bie=Ce((LT(),S(T(mln,1),G,352,0,[pln,jq,vln])))}function tNn(){tNn=N,wie=Ce((QT(),S(T(kln,1),G,388,0,[Eq,qm,ug])))}function iNn(){iNn=N,gre=Ce((S5(),S(T(xln,1),G,392,0,[Fln,Tq,Vj])))}function rNn(){rNn=N,Vre=Ce((Xk(),S(T(l1n,1),G,393,0,[cO,f1n,h1n])))}function cNn(){cNn=N,gce=Ce((zT(),S(T(P1n,1),G,300,0,[Jq,S1n,A1n])))}function uNn(){uNn=N,vce=Ce((aA(),S(T(I1n,1),G,445,0,[nE,sO,Qq])))}function oNn(){oNn=N,mce=Ce((EA(),S(T(pce,1),G,456,0,[Yq,nU,Zq])))}function sNn(){sNn=N,jce=Ce((uA(),S(T(D1n,1),G,394,0,[L1n,iU,O1n])))}function fNn(){fNn=N,Uce=Ce((mT(),S(T(Y1n,1),G,439,0,[sU,Q1n,J1n])))}function hNn(){hNn=N,Oie=Ce((z0(),S(T(Iie,1),G,464,0,[Xj,g9,WI])))}function lNn(){lNn=N,ZQn=Ce((Gu(),S(T(YQn,1),G,471,0,[Oh,Ia,Ys])))}function aNn(){aNn=N,QQn=Ce((yf(),S(T(qw,1),G,237,0,[vc,Zc,pc])))}function dNn(){dNn=N,eYn=Ce((mu(),S(T(nYn,1),G,472,0,[Tf,Oa,Zs])))}function bNn(){bNn=N,KQn=Ce((zu(),S(T(Dr,1),G,108,0,[con,Yr,Hw])))}function wNn(){wNn=N,yZn=Ce((v5(),S(T(Yon,1),G,391,0,[X_,z_,W_])))}function gNn(){gNn=N,toe=Ce((Ll(),S(T(Ldn,1),G,346,0,[MO,B1,R9])))}function vNn(){vNn=N,Wce=Ce((Zk(),S(T(fU,1),G,444,0,[aO,dO,bO])))}function pNn(){pNn=N,Yue=Ce((Kf(),S(T(kdn,1),G,278,0,[Jm,lg,Qm])))}function mNn(){mNn=N,goe=Ce((cp(),S(T(Rdn,1),G,280,0,[Bdn,dg,OO])))}function Bf(n,e){return!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),RF(n.o,e)}function aQ(n){var e,i,r;r=n.d,e=n.a,i=n.c,n.d=n.b,n.a=i,n.b=r,n.c=e}function jk(n){return!n.g&&(n.g=new qE),!n.g.c&&(n.g.c=new kyn(n)),n.g.c}function M$(n,e,t,i){var r;return function bPe(n,e,t,i,r){var c,s;if(c=Yi(vi(e[0],vr),vi(i[0],vr)),n[0]=Ae(c),c=I0(c,32),t>=r){for(s=1;st||e=0?n.Lh(t,!0,!0):ib(n,e,!0)}function O3e(n){for(;!n.a;)if(!rSn(n.c,new A9n(n)))return!1;return!0}function np(n){return Se(n),L(n,204)?u(n,204):new U8n(n)}function vT(){vT=N,kue=new M4n,jue=new T4n,yue=function k6e(n,e,t,i){return KM(),new Dz(S(T(Ud,1),bS,44,0,[(rx(n,e),new p0(n,e)),(rx(t,i),new p0(t,i))]))}((Ue(),NU),kue,Ra,jue)}function pT(){pT=N,o1n=new IX("LEAF_NUMBER",0),Gq=new IX("NODE_SIZE",1)}function I$(n){n.a=K(ye,_e,28,n.b+1,15,1),n.c=K(ye,_e,28,n.b,15,1),n.d=0}function jQ(n,e){if(null==n.g||e>=n.i)throw M(new FD(e,n.i));return n.g[e]}function ENn(n,e,t){if(g4(n,t),null!=t&&!n.fk(t))throw M(new IL);return t}function O$(n,e){return 10!=Lk(e)&&S(po(e),e.Sm,e.__elementTypeId$,Lk(e),n),n}function V3(n,e,t,i){x0(),i=i||Yun,Wnn(n.slice(e,t),n,e,t,-e,i)}function Jo(n,e,t,i,r){return e<0?ib(n,t,i):u(t,69).wk().yk(n,n.hi(),e,i,r)}function CNn(){CNn=N,NQn=Ce((J3(),S(T(IP,1),G,304,0,[M_,T_,A_,S_])))}function J3(){J3=N,M_=new MC("All",0),T_=new bTn,A_=new ETn,S_=new dTn}function Gu(){Gu=N,Oh=new oD(jp,0),Ia=new oD(em,1),Ys=new oD(Ep,2)}function MNn(){MNn=N,cS(),P0n=Mt,Cse=fi,I0n=new h7(Mt),Mse=new h7(fi)}function TNn(){TNn=N,TYn=Ce((V0(),S(T(MYn,1),G,417,0,[kj,mj,F_,x_])))}function ANn(){ANn=N,OYn=Ce((_5(),S(T(IYn,1),G,406,0,[Mj,NP,$P,Tj])))}function SNn(){SNn=N,SYn=Ce((sp(),S(T(AYn,1),G,332,0,[jj,yj,Ej,Cj])))}function PNn(){PNn=N,FZn=Ce((Sd(),S(T(tsn,1),G,389,0,[zw,esn,Z_,nH])))}function INn(){INn=N,IZn=Ce((a4(),S(T(PZn,1),G,416,0,[mb,Gw,Uw,S2])))}function ONn(){ONn=N,une=Ce((_f(),S(T(cne,1),G,421,0,[Fp,Em,Cm,hH])))}function LNn(){LNn=N,VZn=Ce((JT(),S(T(WZn,1),G,371,0,[fH,oI,sI,Oj])))}function DNn(){DNn=N,rie=Ce((kw(),S(T(lq,1),G,203,0,[GI,hq,U2,q2])))}function NNn(){NNn=N,oie=Ce((vh(),S(T(fln,1),G,284,0,[D1,sln,bq,wq])))}function Tk(){Tk=N,rfn=new kX(Th,0),gI=new kX("IMPROVE_STRAIGHTNESS",1)}function $Nn(n,e){var t,i;return i=e/n.c.Rd().gc()|0,t=e%n.c.Rd().gc(),Zv(n,i,t)}function FNn(n){var e;if(n.nl())for(e=n.i-1;e>=0;--e)D(n,e);return UJ(n)}function EQ(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function xNn(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[1];)t=e;return t}function BNn(n,e){if(e.a)throw M(new ic(iXn));oi(n.a,e),e.a=n,!n.j&&(n.j=e)}function CQ(n,e){VC.call(this,e.zd(),-16449&e.yd()),Jn(n),this.a=n,this.c=e}function RNn(){RNn=N,wce=Ce((AA(),S(T(T1n,1),G,354,0,[Vq,C1n,M1n,E1n])))}function KNn(){KNn=N,Rre=Ce((P5(),S(T(i1n,1),G,353,0,[Bq,iO,xq,Fq])))}function _Nn(){_Nn=N,bre=Ce((lp(),S(T(Mln,1),G,405,0,[YI,m9,k9,y9])))}function HNn(){HNn=N,Zue=Ce((Dl(),S(T(BU,1),G,223,0,[xU,bE,Ym,Qp])))}function qNn(){qNn=N,roe=Ce((Po(),S(T(ioe,1),G,291,0,[gE,sl,Ka,wE])))}function UNn(){UNn=N,boe=Ce((mo(),S(T(U9,1),G,386,0,[kE,u0,mE,ag])))}function GNn(){GNn=N,poe=Ce((sA(),S(T(Gdn,1),G,320,0,[_U,Hdn,Udn,qdn])))}function zNn(){zNn=N,yoe=Ce((YT(),S(T(koe,1),G,415,0,[HU,Xdn,zdn,Wdn])))}function mT(){mT=N,sU=new OD(kWn,0),Q1n=new OD(Xrn,1),J1n=new OD(Th,2)}function hw(n,e,t,i,r){return Jn(n),Jn(e),Jn(t),Jn(i),Jn(r),new VV(n,e,i)}function XNn(n,e){var t;return(t=u(Yv(n.e,e),400))?(CV(t),t.e):null}function pu(n,e){var t;return-1!=(t=Hr(n,e,0))&&(l1(n,t),!0)}function WNn(n,e,t){var i;return ua(n),(i=new iL).a=e,n.a.Nb(new PCn(i,t)),i.a}function MQ(n){var e;if(!X$(n))throw M(new tc);return n.e=1,e=n.d,n.d=null,e}function d1(n){var e;return Wr(n)&&(e=0-n,!isNaN(e))?e:la(b4(n))}function Hr(n,e,t){for(;t=0?yA(n,t,!0,!0):ib(n,e,!0)}function AQ(n){var e;return null==(e=kd(qn(n,32)))&&(uu(n),e=kd(qn(n,32))),e}function SQ(n){var e;return n.Oh()||(e=se(n.Dh())-n.ji(),n.$h().Mk(e)),n.zh()}function n$n(n,e){Son=new RE,PYn=e,u((X8=n).b,68),wQ(X8,Son,null),wGn(X8)}function v5(){v5=N,X_=new fD("XY",0),z_=new fD("X",1),W_=new fD("Y",2)}function mu(){mu=N,Tf=new sD("TOP",0),Oa=new sD(em,1),Zs=new sD(cin,2)}function Pl(){Pl=N,$j=new wD(Th,0),$2=new wD("TOP",1),xp=new wD(cin,2)}function Ok(){Ok=N,gq=new jX("INPUT_ORDER",0),vq=new jX("PORT_DEGREE",1)}function Q3(){Q3=N,Dun=eu(co,co,524287),pQn=eu(0,0,Hy),Nun=y$(1),y$(2),$un=y$(0)}function F$(n){var e;return n.d!=n.r&&(e=ys(n),n.e=!!e&&e.lk()==pJn,n.d=e),n.e}function x$(n,e,t){var i;return i=n.g[e],G6(n,e,n.Zi(e,t)),n.Ri(e,t,i),n.Ni(),i}function ET(n,e){var t;return(t=n.dd(e))>=0&&(n.gd(t),!0)}function B$(n,e){var t;for(Se(n),Se(e),t=!1;e.Ob();)t|=n.Fc(e.Pb());return t}function Rf(n,e){var t;return(t=u(ee(n.e,e),400))?($Tn(n,t),t.e):null}function e$n(n){var e,t;return e=n/60|0,0==(t=n%60)?""+e:e+":"+t}function lw(n,e){var t=n.a[e],i=(hF(),m_)[typeof t];return i?i(t):xY(typeof t)}function uc(n,e){return wa(n),new Mn(n,new oSn(new fQ(e,n.a)))}function R$(n){var e;return null!=(e=0==n.b.c.length?null:sn(n.b,0))&&V$(n,0),e}function PQ(n,e){var t;for(++n.d,++n.c[e],t=e+1;t=0;)++e[0]}function Lk(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function r$n(n,e){return e==(uN(),uN(),OQn)?n.toLocaleLowerCase():n.toLowerCase()}function c$n(n){if(!n.e)throw M(new tc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function IQ(n){if(!n.c)throw M(new tc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function u$n(n){var e;for(++n.a,e=n.c.a.length;n.an.a[i]&&(i=t);return i}function o$n(n){var e;return!!(e=u(m(n,(V(),jb)),313))&&e.a==n}function s$n(n){var e;return!!(e=u(m(n,(V(),jb)),313))&&e.i==n}function f$n(){f$n=N,MZn=Ce((zi(),S(T(Zon,1),G,367,0,[nf,rl,$c,Uc,Gr])))}function h$n(){h$n=N,sne=Ce((jw(),S(T(one,1),G,375,0,[Lj,lI,aI,hI,fI])))}function l$n(){l$n=N,mne=Ce((k1(),S(T(nfn,1),G,348,0,[jH,Zsn,EH,Pm,Sm])))}function a$n(){a$n=N,cie=Ce((K5(),S(T(tln,1),G,323,0,[eln,aq,dq,a9,d9])))}function d$n(){d$n=N,Lne=Ce((ts(),S(T(Ofn,1),G,171,0,[Rj,r9,Na,c9,Qw])))}function b$n(){b$n=N,Xre=Ce((NA(),S(T(zre,1),G,368,0,[qq,Kq,Uq,_q,Hq])))}function w$n(){w$n=N,Xce=Ce((Z5(),S(T(zce,1),G,373,0,[V2,zp,I9,P9,iE])))}function g$n(){g$n=N,Zce=Ce((by(),S(T(oan,1),G,324,0,[ran,dU,uan,bU,can])))}function v$n(){v$n=N,Que=Ce((ii(),S(T(x9,1),G,88,0,[eh,zr,$r,nh,hs])))}function p$n(){p$n=N,Eue=Ce((Ef(),S(T(ol,1),G,170,0,[Fn,wi,$h,e0,F1])))}function m$n(){m$n=N,uoe=Ce((Zg(),S(T(_9,1),G,256,0,[_a,vE,Ddn,K9,Ndn])))}function k$n(){k$n=N,foe=Ce((en(),S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn])))}function CT(){CT=N,son=new aX("BY_SIZE",0),L_=new aX("BY_SIZE_AND_SHAPE",1)}function MT(){MT=N,q_=new wX("EADES",0),BP=new wX("FRUCHTERMAN_REINGOLD",1)}function Dk(){Dk=N,bI=new mX("READING_DIRECTION",0),efn=new mX("ROTATION",1)}function p5(){p5=N,DZn=new rwn,NZn=new own,OZn=new swn,LZn=new uwn,$Zn=new fwn}function y$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function j$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function E$n(n,e,t){sM.call(this),DQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function i4e(n,e,t){var r;for(r=new C(t);r.a=0&&e0?nt:Ac(n,Xi)<0?Xi:Ae(n)}function aw(n){return n<3?(Ao(n,Bzn),n+1):n=-.01&&n.a<=zf&&(n.a=0),n.b>=-.01&&n.b<=zf&&(n.b=0),n}function Xg(n){var e,t;for(f2(),t=Jrn,e=0;et&&(t=n[e]);return t}function A$n(n,e){var t;if(!(t=Ey(n.Dh(),e)))throw M(new Un(Aa+e+LK));return t}function dw(n,e){var t;for(t=n;Ct(t);)if((t=Ct(t))==e)return!0;return!1}function iu(n,e){var i,r,c;for(Jn(e),r=0,c=(i=n.c).length;r>16!=6?null:u(xx(n),241)}(n))&&!e.Vh()&&(n.w=e),e)}function Y3(n,e){var t,i;i=n.a,t=function h5e(n,e,t){var i,r;return r=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,5,r,n.a),t?bnn(t,i):t=i),t}(n,e,null),i!=e&&!n.e&&(t=z4(n,e,t)),t&&t.oj()}function L$n(n,e,t){var i,r;i=e;do{r=F(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p]}while(i!=e)}function D$n(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function y4e(n){var e;return null==n?null:function Dye(n,e){var i,r,c,s;if(null==n)return null;for(s=K(ds,jh,28,2*e,15,1),i=0,r=0;i>4&15],s[r++]=Zdn[c];return ks(s,0,s.length)}(e=u(n,195),e.length)}function D(n,e){if(null==n.g||e>=n.i)throw M(new FD(e,n.i));return n.Wi(e,n.g[e])}function N$n(n){return wa(n),Rv(!0,"n may not be negative"),new Mn(n,new fFn(n.a))}function DQ(n){n.b=(Gu(),Ia),n.f=(mu(),Oa),n.d=(Ao(2,Dw),new Vc(2)),n.e=new Oi}function PT(n){this.b=(Se(n),new Hu(n)),this.a=new Z,this.d=new Z,this.e=new Oi}function yf(){yf=N,vc=new uD("BEGIN",0),Zc=new uD(em,1),pc=new uD("END",2)}function Kf(){Kf=N,Jm=new DD(em,0),lg=new DD("HEAD",1),Qm=new DD("TAIL",2)}function ep(){ep=N,Hre=ph(ph(ph(M6(new ei,(lp(),m9)),(i8(),Mq)),Pln),Dln)}function Il(){Il=N,Ure=ph(ph(ph(M6(new ei,(lp(),y9)),(i8(),Oln)),Tln),Iln)}function $$n(){$$n=N,wne=Ce((ap(),S(T(Am,1),G,232,0,[Tm,Q8,Mm,Vw,L2,O2])))}function F$n(){F$n=N,Ene=Ce((BA(),S(T(ifn,1),G,283,0,[TH,MH,SH,AH,PH,wI])))}function x$n(){x$n=N,Mne=Ce((ay(),S(T(hfn,1),G,281,0,[vI,ofn,ffn,ufn,sfn,IH])))}function B$n(){B$n=N,Tne=Ce((N4(),S(T(gfn,1),G,282,0,[Z8,afn,wfn,bfn,dfn,lfn])))}function R$n(){R$n=N,KZn=Ce((Xn(),S(T(tH,1),G,273,0,[Ut,Ei,Qt,Gc,Oc,Jf])))}function K$n(){K$n=N,Tue=Ce((Xh(),S(T(Ian,1),G,255,0,[kU,cE,uE,kO,pO,mO])))}function _$n(){_$n=N,Lue=Ce((Id(),S(T(CU,1),G,298,0,[EU,$9,N9,jU,L9,D9])))}function H$n(){H$n=N,noe=Ce((FA(),S(T(Tdn,1),G,321,0,[RU,Edn,Mdn,ydn,Cdn,jdn])))}function q$n(){q$n=N,ooe=Ce((Ii(),S(T($dn,1),G,101,0,[Ha,th,Zm,c0,hl,Xc])))}function U$n(){U$n=N,soe=Ce((Xu(),S(T(TO,1),G,279,0,[qa,Xl,pE,q9,H9,Yp])))}function G$n(){G$n=N,LP=(yf(),S(T(qw,1),G,237,0,[vc,Zc,pc])).length,N_=LP}function Wg(n,e){return function Dhe(n){return n?n.i:null}(y5(n,e,Ae(Zi(Yh,Uh(Ae(Zi(null==e?0:wt(e),Zh)),15)))))}function NQ(n,e){return Of(),zs(ja),y.Math.abs(n-e)<=ja||n==e||isNaN(n)&&isNaN(e)}function IT(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,1,t,n.b))}function Z3(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,3,t,n.b))}function U0(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,3,t,n.f))}function G0(n,e){var t;t=n.g,n.g=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,4,t,n.g))}function ru(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,5,t,n.i))}function cu(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,6,t,n.j))}function n4(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,1,t,n.j))}function e4(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,4,t,n.c))}function t4(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,2,t,n.k))}function OT(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&tt(n,new fw(n,0,t,n.a))}function b1(n,e){var t;t=n.s,n.s=e,4&n.Db&&!(1&n.Db)&&tt(n,new b$(n,4,t,n.s))}function bw(n,e){var t;t=n.t,n.t=e,4&n.Db&&!(1&n.Db)&&tt(n,new b$(n,5,t,n.t))}function q$(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&tt(n,new b$(n,2,t,n.d))}function i4(n,e){var t;t=n.F,n.F=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,5,t,e))}function Nk(n,e){var t;return(t=u(ee((jC(),KO),n),57))?t.gk(e):K(pi,xn,1,e,5,1)}function T4e(n,e){var t,i;return Q1(),i=new EG,e&&Pen(i,e),WQ(t=i,n),t}function Ol(n,e){var i;return e in n.a&&(i=El(n,e).re())?i.a:null}function z$n(n,e,t){if(g4(n,t),!n.kl()&&null!=t&&!n.fk(t))throw M(new IL);return t}function X$n(n,e){return n.n=e,n.n?(n.f=new Z,n.e=new Z):(n.f=null,n.e=null),n}function W$n(n,e){if(n){e.n=n;var i=function l2e(n){return n.Ae()?null:EP[n.n]}(e);if(!i)return void(EP[n]=[e]);i.Rm=e}}function kd(n){var e;return Q6(null==n||Array.isArray(n)&&!((e=Lk(n))>=14&&e<=16)),n}function Ee(n,e){var t;return Jn(e),nk(!!(t=n[":"+e]),"Enum constant undefined: "+e),t}function we(n,e,t,i,r,c){var s;return W$n(t,s=BN(n,e)),s.i=r?8:0,s.f=i,s.e=r,s.g=c,s}function $Q(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function FQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function xQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function BQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function RQ(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function V$n(n,e){var i,r,c;for(r=0,c=(i=e).length;r=0))throw M(new Un("tolerance ("+n+") must be >= 0"));return n}function Q$n(n,e){var t;return L(e,44)?n.c.Mc(e):(t=RF(n,e),dA(n,e),t)}function Cr(n,e,t){return Ad(n,e),Jc(n,t),b1(n,0),bw(n,1),m1(n,!0),p1(n,!0),n}function $k(n,e){var t;if(t=n.gc(),e<0||e>t)throw M(new ew(e,t));return new JW(n,e)}function NT(n,e){n.b=y.Math.max(n.b,e.d),n.e+=e.r+(0==n.a.c.length?0:n.c),nn(n.a,e)}function Y$n(n){Yb(n.c>=0),function F8e(n,e){var t,i,c;return c=n.c-e&(i=n.a.length-1),TAn((t=e-n.b&i)<(n.c-n.b&i)),t>=c?(function N6e(n,e){var t,i;for(n.c=n.c-1&(t=n.a.length-1);e!=n.c;)Dt(n.a,e,n.a[i=e+1&t]),e=i;Dt(n.a,n.c,null)}(n,e),-1):(function D6e(n,e){var t,i;for(t=n.a.length-1;e!=n.b;)Dt(n.a,e,n.a[i=e-1&t]),e=i;Dt(n.a,n.b,null),n.b=n.b+1&t}(n,e),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function $T(n){var t;for(t=n.c.Cc().Kc();t.Ob();)u(t.Pb(),16).$b();n.c.$b(),n.d=0}function m5(n,e){var i,r,c;for(r=0,c=(i=e).length;r0&&n.c0&&0!=n.g&&zQ(n.i,e/n.r*n.i.d))}function XQ(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,1,t,n.c))}function G$(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,4,t,n.c))}function c4(n,e){var t;t=n.k,n.k=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,2,t,n.k))}function z$(n,e){var t;t=n.D,n.D=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,2,t,n.D))}function xT(n,e){var t;t=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,8,t,n.f))}function BT(n,e){var t;t=n.i,n.i=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,7,t,n.i))}function WQ(n,e){var t;t=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,8,t,n.a))}function VQ(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,0,t,n.b))}function JQ(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,0,t,n.b))}function QQ(n,e){var t;t=n.c,n.c=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,1,t,n.c))}function YQ(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,1,t,n.d))}function hFn(n,e){return Bl(n.e,e)?(ar(),F$(e)?new kM(e,n):new B7(e,n)):new BMn(e,n)}function H4e(n,e){var i;return(i=e.e[n.p])>0?u(sn(n.c.a,i-1),10):null}function lFn(n){var e;return(n=y.Math.max(n,2))>(e=mY(n))?(e<<=1)>0?e:a8:e}function X$(n){switch(fW(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function Ype(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function aFn(n,e){var t;return!!L(e,8)&&(t=u(e,8),n.a==t.a&&n.b==t.b)}function dFn(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)hy(n,(t=u(i.Pb(),44)).ld(),t.md())}function ZQ(n,e){var t;t=n.d,n.d=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,11,t,n.d))}function RT(n,e){var t;t=n.j,n.j=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,13,t,n.j))}function nY(n,e){var t;t=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,21,t,n.b))}function X4e(n,e){e.Ug("Hierarchical port constraint processing",1),function l9e(n){var e;xv(u(m(n,(cn(),Kt)),101))&&(iHn((Ln(0,(e=n.b).c.length),u(e.c[0],30))),iHn(u(sn(e,e.c.length-1),30)))}(n),function ODe(n){var e,t,i,r,s,f,h,l,a,d,g,v,p,k,j,A,I,O,_,X,tn,jn,kn,Bn,$n,te;if((tn=u(m(n,(cn(),Kt)),101))!=(Ii(),th)&&tn!=Ha){for(a=new Vc((Ao((v=(p=n.b).c.length)+2,PB),TT(Yi(Yi(5,v+2),(v+2)/10|0)))),k=new Vc((Ao(v+2,PB),TT(Yi(Yi(5,v+2),(v+2)/10|0)))),nn(a,new de),nn(a,new de),nn(k,new Z),nn(k,new Z),X=new Z,e=0;e>5],Ae(Us(31&e,1))),3)}function wFn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=bk(Ec(n.f))),n.c).e}function CFn(n,e){e?null==n.B&&(n.B=n.D,n.D=null):null!=n.B&&(n.D=n.B,n.B=null)}function MFn(n,e){return Of(),zs(zf),y.Math.abs(0-e)<=zf||0==e||isNaN(0)&&isNaN(e)?0:n/e}function TFn(n,e){return F(R(bo(Qk(Kr(new Mn(null,new Pn(n.c.b,16)),new D7n(n)),e))))}function cY(n,e){return F(R(bo(Qk(Kr(new Mn(null,new Pn(n.c.b,16)),new L7n(n)),e))))}function ime(n,e){e.Ug("General Compactor",1),function s8e(n){switch(n.g){case 1:return new q3n;case 2:return new aAn;default:throw M(new Un(wK+(null!=n.f?n.f:""+n.g)))}}(u(z(n,(ka(),Xq)),393)).Cg(n)}function uY(n,e,t){var i,r;for(r=ge(n,0);r.b!=r.d.c;)(i=u(be(r),8)).a+=e,i.b+=t;return n}function y5(n,e,t){var i;for(i=n.b[t&n.f];i;i=i.b)if(t==i.a&&bh(e,i.g))return i;return null}function j5(n,e,t){var i;for(i=n.c[t&n.f];i;i=i.d)if(t==i.f&&bh(e,i.i))return i;return null}function Z$(n,e,t,i,r,c){var s;this.c=n,RZ(n,s=new Z,e,n.b,t,i,r,c),this.a=new Ni(s,0)}function AFn(){this.c=new aC(0),this.b=new aC(Vrn),this.d=new aC(dWn),this.a=new aC(yR)}function Yo(n,e,t,i,r,c,s){je.call(this,n,e),this.d=t,this.e=i,this.c=r,this.b=c,this.a=Ff(s)}function Ht(n,e,t,i,r,c,s,f,h,l,a,d,g){return L_n(n,e,t,i,r,c,s,f,h,l,a,d,g),LF(n,!1),n}function ume(n){return n.b.c.i.k==(Xn(),Qt)?u(m(n.b.c.i,(V(),ot)),12):n.b.c}function SFn(n){return n.b.d.i.k==(Xn(),Qt)?u(m(n.b.d.i,(V(),ot)),12):n.b.d}function ome(n){var e;return j0((e=iT(n)).a,0)?(gC(),gC(),LQn):(gC(),new fAn(e.b))}function nF(n){var e;return j0((e=BJ(n)).a,0)?(zb(),zb(),C_):(zb(),new QD(e.b))}function eF(n){var e;return j0((e=BJ(n)).a,0)?(zb(),zb(),C_):(zb(),new QD(e.c))}function PFn(n){switch(n.g){case 2:return en(),Wn;case 4:return en(),Zn;default:return n}}function IFn(n){switch(n.g){case 1:return en(),ae;case 3:return en(),zn;default:return n}}function OFn(n){switch(n.g){case 0:return new l4n;case 1:return new a4n;default:return null}}function tp(){tp=N,sH=new Pt("edgelabelcenterednessanalysis.includelabel",(Kn(),Pa))}function oY(){oY=N,Pie=ph(YMn(Ke(Ke(new ei,(zi(),$c),(nr(),ZP)),Uc,WP),Gr),YP)}function LFn(){LFn=N,Die=ph(YMn(Ke(Ke(new ei,(zi(),$c),(nr(),ZP)),Uc,WP),Gr),YP)}function tF(){tF=N,J9=new bjn,JU=S(T(Mu,1),C2,179,0,[]),tse=S(T(Ds,1),bun,62,0,[])}function u4(){u4=N,Pj=new gX("TO_INTERNAL_LTR",0),cH=new gX("TO_INPUT_DIRECTION",1)}function Nu(){Nu=N,rH=new wwn,iH=new gwn,usn=new vwn,csn=new pwn,osn=new mwn,ssn=new kwn}function fme(n,e,t){t.Ug("DFS Treeifying phase",1),function T8e(n,e){var t,r,c;for(c=e.b.b,n.a=new yt,n.b=K(ye,_e,28,c,15,1),t=0,r=ge(e.b,0);r.b!=r.d.c;)u(be(r),40).g=t++}(n,e),function CTe(n,e){var t,i,r,c,s;for(s=u(m(e,(bc(),Zln)),433),c=ge(e.b,0);c.b!=c.d.c;)if(r=u(be(c),40),0==n.b[r.g]){switch(s.g){case 0:SRn(n,r);break;case 1:DCe(n,r)}n.b[r.g]=2}for(i=ge(n.a,0);i.b!=i.d.c;)pw((t=u(be(i),65)).b.d,t,!0),pw(t.c.b,t,!0);U(e,(bt(),Hln),n.a)}(n,e),n.a=null,n.b=null,t.Vg()}function Fk(n,e){return Kn(),Mi(n)?oQ(n,Oe(e)):Jb(n)?TN(n,R(e)):Vb(n)?Zbe(n,un(e)):n.Fd(e)}function E5(n,e){var t,i;for(Jn(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),n.zc(t.ld(),t.md())}function DFn(n){var e;if(-2==n.b){if(0==n.e)e=-1;else for(e=0;0==n.a[e];e++);n.b=e}return n.b}function dme(n){if(Jn(n),0==n.length)throw M(new sh("Zero length BigInteger"));!function pSe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j;for(h=v=e.length,Gn(0,e.length),45==e.charCodeAt(0)?(d=-1,g=1,--v):(d=1,g=0),r=v/(c=(sB(),TQn)[10])|0,0!=(j=v%c)&&++r,f=K(ye,_e,28,r,15,1),t=MQn[8],s=0,p=g+(0==j?c:j),k=g;k0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function NFn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new Z,function MEe(n){var e,t,r,c;for(c=O5(n.d,n.e).Kc();c.Ob();)for(r=u(c.Pb(),12),t=new C(n.e==(en(),Wn)?r.e:r.g);t.an.c&&e.an.d&&e.b(r=n.a.length)?t=r:Gn(e,t+1),n.a=Xo(n.a,0,e)+""+i+iJ(n.a,t)}function qFn(n,e){n.a=Yi(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d=Yi(n.d,e)}function tt(n,e){var t,i,r;if(null!=(t=n.th())&&n.wh())for(i=0,r=t.length;i0||a.j==Wn&&a.e.c.length-a.g.c.length<0)){e=!1;break}for(r=new C(a.g);r.a1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw M(new tc)}function XFn(n){switch(n.a.g){case 1:return new YCn;case 3:return new YRn;default:return new l8n}}function lY(n,e){switch(e){case 1:return!!n.n&&0!=n.n.i;case 2:return null!=n.k}return xJ(n,e)}function Ec(n){return qy=0x8000000000000000?(Q3(),Dun):(r=!1,n<0&&(r=!0,n=-n),i=0,n>=Nd&&(n-=(i=di(n/Nd))*Nd),t=0,n>=yp&&(n-=(t=di(n/yp))*yp),c=eu(di(n),t,i),r&&aF(c),c)}(n))}function xk(n){var e;return n<128?(cPn(),!(e=Run[n])&&(e=Run[n]=new UG(n)),e):new UG(n)}function ps(n){var t,i,r;return i=0,(r=n)<0&&(r+=Nd,i=Kl),t=di(r/yp),eu(di(r-t*yp),t,i)}function Bk(n){var e,t,i;for(i=0,t=new Av(n.a);t.a>22))&co,n.h-e.h+(i>>22)&Kl)}function At(n){var e;return L(n,82)?n:((e=n&&n.__java$exception)||Fyn(e=new Wxn(n)),e)}function Hk(n){if(L(n,193))return u(n,123);if(n)return null;throw M(new Ev(SVn))}function dY(n){return!!n.a.Ob()||n.a==n.e&&(n.a=new vQ(n.f.f),n.a.Ob())}function txn(n,e){if(null==e)return!1;for(;n.a!=n.b;)if(it(e,eA(n)))return!0;return!1}function ixn(n,e){return!(!n||!e||n==e)&&qBn(n.d.c,e.d.c+e.d.b)&&qBn(e.d.c,n.d.c+n.d.b)}function si(n,e){var t;return 0!=(t=e.Pc()).length&&(bV(n.c,n.c.length,t),!0)}function oF(n){var e,i;for(e=new yt,i=ge(n.d,0);i.b!=i.d.c;)xe(e,u(be(i),65).c);return e}function rxn(n,e){var i;for(i=new C(n.b);i.a(i=n.gc()))throw M(new ew(e,i));return n.Si()&&(t=mOn(n,t)),n.Ei(e,t)}function d4(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)e2(n,c,s)||eS(n,c,s,!0,!1)}function b4(n){var e,t;return eu(e=1+~n.l&co,t=~n.m+(0==e?1:0)&co,~n.h+(0==e&&0==t?1:0)&Kl)}function mY(n){var e;if(n<0)return Xi;if(0==n)return 0;for(e=a8;!(e&n);e>>=1);return e}function fF(n,e,t){return!(n>=128)&&R6(n<64?vi(Us(1,n),t):vi(Us(1,n-64),e),0)}function Gk(n,e,t){return null==t?(!n.q&&(n.q=new de),Yv(n.q,e)):(!n.q&&(n.q=new de),Xe(n.q,e,t)),n}function U(n,e,t){return null==t?(!n.q&&(n.q=new de),Yv(n.q,e)):(!n.q&&(n.q=new de),Xe(n.q,e,t)),n}function axn(n){var e,t;return qr(t=new lT,n),U(t,(ha(),$p),n),function IPe(n,e,t){var i,r,c,s,f;for(i=0,c=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));c.e!=c.i.gc();)s="",0==(!(r=u(ue(c),27)).n&&(r.n=new q(Tr,r,1,7)),r.n).i||(s=u(D((!r.n&&(r.n=new q(Tr,r,1,7)),r.n),0),135).a),qr(f=new jTn(s),r),U(f,(ha(),$p),r),f.a=i++,f.d.a=r.i+r.g/2,f.d.b=r.j+r.f/2,f.e.a=y.Math.max(r.g,1),f.e.b=y.Math.max(r.f,1),nn(e.e,f),Yc(t.f,r,f),u(z(r,(Js(),Hon)),101),Ii()}(n,t,e=new de),function rLe(n,e,t){var i,r,c,s,f,h,l,a;for(h=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));h.e!=h.i.gc();)for(r=new ie(ce(xl(f=u(ue(h),27)).a.Kc(),new Vn));ve(r);){if(!(i=u(fe(r),74)).b&&(i.b=new Dn(he,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new Dn(he,i,5,8)),i.c.i<=1)))throw M(new Cv("Graph must not contain hyperedges."));if(!Q5(i)&&f!=Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)))for(qr(l=new HAn,i),U(l,(ha(),$p),i),zse(l,u(Rr(br(t.f,f)),153)),Vse(l,u(ee(t,Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))),153)),nn(e.c,l),s=new ne((!i.n&&(i.n=new q(Tr,i,1,7)),i.n));s.e!=s.i.gc();)qr(a=new ULn(l,(c=u(ue(s),135)).a),c),U(a,$p,c),a.e.a=y.Math.max(c.g,1),a.e.b=y.Math.max(c.f,1),atn(a),nn(e.d,a)}}(n,t,e),t}function dxn(n){return n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f||n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d}function bxn(n,e){var t,i,c;for(t=!1,i=n.a[e].length,c=0;c=0,"Negative initial capacity"),nk(e>=0,"Non-positive load factor"),qu(this)}function EY(n,e){var i,r,c,s;for(On(),s=!1,r=0,c=(i=e).length;r1||e>=0&&n.b<3)}function aF(n){var e,t,i;t=~n.m+(0==(e=1+~n.l&co)?1:0)&co,i=~n.h+(0==e&&0==t?1:0)&Kl,n.l=e,n.m=t,n.h=i}function TY(n){var e,t,i;for(On(),i=1,t=n.Kc();t.Ob();)i=31*i+(null!=(e=t.Pb())?wt(e):0),i|=0;return i}function s6e(n,e,t,i,r){var c;return c=wen(n,e),t&&aF(c),r&&(n=function e7e(n,e){var t,i,r;return e<=22?(t=n.l&(1<=n.b.c.length||(OY(n,2*e+1),(t=2*e+2)=0&&n[i]===e[i];i--);return i<0?0:rD(vi(n[i],vr),vi(e[i],vr))?-1:1}function Oxn(n,e,t){var i,r;this.g=n,this.c=e,this.a=this,this.d=this,r=lFn(t),i=K(aQn,Ky,227,r,0,1),this.b=i}function vF(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)if(e2(n,c,s))return!0;return!1}function Lxn(n,e,t){var i,r,c,s;for(Jn(t),s=!1,c=n.fd(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),s=!0;return s}function pF(n,e){var t,i;return i=u(qn(n.a,4),129),t=K(WU,VK,424,e,0,1),null!=i&&Nc(i,0,t,0,i.length),t}function Dxn(n,e){var t;return t=new zx(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,e),null!=n.e||(t.c=n),t}function Nxn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),44),n.Be(e,i.md()))return!0;return!1}function $xn(n,e,t){return n.d[e.p][t.p]||(function T9e(n,e,t){if(n.e)switch(n.b){case 1:!function gge(n,e,t){n.i=0,n.e=0,e!=t&&Cxn(n,e,t)}(n.c,e,t);break;case 0:!function vge(n,e,t){n.i=0,n.e=0,e!=t&&Mxn(n,e,t)}(n.c,e,t)}else qLn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function C6e(n,e){return!(!n||n==e||!vt(e,(V(),Eb)))&&u(m(e,(V(),Eb)),10)!=n}function mF(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function Fxn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function xxn(n){COn.call(this,"The given string does not match the expected format for individual spacings.",n)}function kF(n,e,t){var i,c;for(i=new yt,c=ge(t,0);c.b!=c.d.c;)xe(i,new ir(u(be(c),8)));Lxn(n,e,i)}function A6e(n,e){var t;return t=Yi(n,e),rD(f$(n,e),0)|zC(f$(n,t),0)?t:Yi(Ry,f$(ia(t,63),1))}function Bxn(n){var e;if((e=n.a.c.length)>0)return $3(e-1,n.a.c.length),l1(n.a,e-1);throw M(new Byn)}function Rxn(n,e,t){if(n>e)throw M(new Un(pS+n+nXn+e));if(n<0||e>t)throw M(new Rz(pS+n+Jtn+e+Xtn+t))}function p4(n,e){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),z$(n,null==e?null:(Jn(e),e)),n.C&&n.hl(null)}function DY(n,e){var t,i;if(0!=(i=n.c[e]))for(n.c[e]=0,n.d-=i,t=e+1;tWS?n-t>WS:t-n>WS)}function Jxn(n,e){var t;for(t=0;tr&&(TKn(e.q,r),i=t!=e.q.d)),i}function Qxn(n,e){var i,s,f;return y.Math.sqrt((s=e.i-(i=n.f).i)*s+(f=e.j-i.j)*f)}function RY(n,e){var i;return(i=bA(n))||(!Loe&&(Loe=new Amn),bB(),me((i=new Ayn(BHn(e))).El(),n)),i}function Vk(n,e){var t,i;return(t=u(n.c.Bc(e),16))?((i=n.hc()).Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function Yxn(n,e,t,i){var r;n.a=e,n.f=(r=new l_n(n.c,n.a,t,i?0:1),new qqn(t,n.a,r,n.e,n.b,n.c==(z0(),g9)))}function eA(n){var e;return oe(n.a!=n.b),e=n.d.a[n.a],TAn(n.b==n.d.c&&null!=e),n.c=n.a,n.a=n.a+1&n.d.a.length-1,e}function Zxn(n){var e;if(0!=n.c)return n.c;for(e=0;e=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function ba(n,e){var t,i,r,c;return(c=N_n((i=e,(r=n?bA(n):null)&&r.Gl(),i)))==e&&(t=bA(n))&&t.Gl(),c}function nBn(n,e,t){var i,r;return r=n.f,n.f=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,0,r,e),t?t.nj(i):t=i),t}function eBn(n,e,t){var i,r;return r=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,3,r,e),t?t.nj(i):t=i),t}function _Y(n,e,t){var i,r;return r=n.a,n.a=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,1,r,e),t?t.nj(i):t=i),t}function tBn(n){var e,t,i,r;if(null!=n)for(t=0;t-129&&n<128?(KSn(),!(t=Kun[e=n+128])&&(t=Kun[e]=new _G(n)),t):new _G(n)}function k4(n){var e,t;return n>-129&&n<128?(iPn(),!(t=Uun[e=n+128])&&(t=Uun[e]=new qG(n)),t):new qG(n)}function cBn(n,e){n.a.c.length>0&&IY(u(sn(n.a,n.a.c.length-1),579),e)||nn(n.a,new EDn(e))}function uBn(n){var e;return(e=new V1).a+="VerticalSegment ",Fc(e,n.e),e.a+=" ",Re(e,oW(new GL,new C(n.k))),e.a}function AF(n,e){var t,r;for(t=0,r=sc(n,e).Kc();r.Ob();)t+=null!=m(u(r.Pb(),12),(V(),Wu))?1:0;return t}function Yg(n,e,t){var i,r,c;for(i=0,c=ge(n,0);c.b!=c.d.c&&!((r=F(R(be(c))))>t);)r>=e&&++i;return i}function oBn(n,e){Se(n);try{return n._b(e)}catch(t){if(L(t=At(t),212)||L(t,169))return!1;throw M(t)}}function qY(n,e){Se(n);try{return n.Hc(e)}catch(t){if(L(t=At(t),212)||L(t,169))return!1;throw M(t)}}function vw(n,e){Se(n);try{return n.xc(e)}catch(t){if(L(t=At(t),212)||L(t,169))return null;throw M(t)}}function O5(n,e){switch(e.g){case 2:case 1:return sc(n,e);case 3:case 4:return es(sc(n,e))}return On(),On(),Vi}function L5(n){var e;return 64&n.Db?Ws(n):((e=new gs(Ws(n))).a+=" (name: ",jr(e,n.zb),e.a+=")",e.a)}function i5e(n){var e;return(e=u(Rf(n.c.c,""),233))||(e=new Wv(p3(v3(new gv,""),"Other")),y1(n.c.c,"",e)),e}function UY(n,e,t){var i,r;return r=n.sb,n.sb=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,4,r,e),t?t.nj(i):t=i),t}function GY(n,e,t){var i,r;return r=n.r,n.r=e,4&n.Db&&!(1&n.Db)&&(i=new ji(n,1,8,r,n.r),t?t.nj(i):t=i),t}function v1(n,e){var t,i;return!(i=(t=u(e,691)).el())&&t.fl(i=L(e,90)?new RMn(n,u(e,29)):new sLn(n,u(e,156))),i}function Jk(n,e,t){var i;n._i(n.i+1),i=n.Zi(e,t),e!=n.i&&Nc(n.g,e,n.g,e+1,n.i-e),Dt(n.g,e,i),++n.i,n.Mi(e,t),n.Ni()}function Qk(n,e){var t;return t=new iL,n.a.Bd(t)?(T3(),new RL(Jn(WNn(n,t.a,e)))):(ua(n),T3(),T3(),eon)}function sBn(n,e){var t;0!=n.c.length&&(zX(t=u(Hf(n,K(cl,A1,10,n.c.length,0,1)),199),new rgn),eHn(t,e))}function fBn(n,e){var t;0!=n.c.length&&(zX(t=u(Hf(n,K(cl,A1,10,n.c.length,0,1)),199),new cgn),eHn(t,e))}function it(n,e){return Mi(n)?Tn(n,e):Jb(n)?iSn(n,e):Vb(n)?(Jn(n),x(n)===x(e)):RV(n)?n.Fb(e):LV(n)?eTn(n,e):LJ(n,e)}function Zo(n,e,t){if(e<0)Qnn(n,t);else{if(!t.rk())throw M(new Un(Aa+t.xe()+O8));u(t,69).wk().Ek(n,n.hi(),e)}}function hBn(n,e,t){if(n<0||e>t)throw M(new Ar(pS+n+Jtn+e+", size: "+t));if(n>e)throw M(new Un(pS+n+nXn+e))}function lBn(n){var e;return 64&n.Db?Ws(n):((e=new gs(Ws(n))).a+=" (source: ",jr(e,n.d),e.a+=")",e.a)}function aBn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function p1(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,2,t,e))}function zY(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,8,t,e))}function iA(n,e){var t;t=0!=(256&n.Bb),e?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,8,t,e))}function m1(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,3,t,e))}function XY(n,e){var t;t=0!=(512&n.Bb),e?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,9,t,e))}function D5(n,e){var t;return-1==n.b&&n.a&&(t=n.a.pk(),n.b=t?n.c.Hh(n.a.Lj(),t):St(n.c.Dh(),n.a)),n.c.yh(n.b,e)}function dBn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ue(i),29),x(e)===x(t))return!0;return!1}function WY(n){var t;return n.k==(Xn(),Qt)&&((t=u(m(n,(V(),mc)),64))==(en(),zn)||t==ae)}function bBn(n){var e;return j0((e=BJ(n)).a,0)?(zb(),zb(),C_):(zb(),new QD(iD(e.a,0)?sQ(e)/pd(e.a):0))}function Yk(n,e){this.e=e,this.a=nxn(n),this.a<54?this.f=pd(n):this.c=(mh(),Ac(n,0)>=0?ga(n):c5(ga(d1(n))))}function wBn(n,e,t,i,r,c){this.e=new Z,this.f=(wr(),b9),nn(this.e,n),this.d=e,this.a=t,this.b=i,this.f=r,this.c=c}function gBn(n){return n=((n=((n-=n>>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function vBn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ue(i),142),x(e)===x(t))return!0;return!1}function SF(n,e,t){var i,c;return(c=x4(n.b,e))&&(i=u(sS(Sk(n,c),""),29))?ken(n,i,e,t):null}function b5e(n,e){var t;if(L(t=Ey(n,e),331))return u(t,35);throw M(new Un(Aa+e+"' is not a valid attribute"))}function N5(n,e,t){var i;if(e>(i=n.gc()))throw M(new ew(e,i));if(n.Si()&&n.Hc(t))throw M(new Un(hj));n.Gi(e,t)}function ii(){ii=N,eh=new $7(v8,0),zr=new $7(Ep,1),$r=new $7(jp,2),nh=new $7(lR,3),hs=new $7("UP",4)}function Zk(){Zk=N,aO=new LD("P1_STRUCTURE",0),dO=new LD("P2_PROCESSING_ORDER",1),bO=new LD("P3_EXECUTION",2)}function pBn(){pBn=N,qre=ph(ph(M6(ph(ph(M6(Ke(new ei,(lp(),m9),(i8(),Mq)),k9),Lln),Nln),y9),Sln),$ln)}function g5e(n){switch(u(m(n,(V(),zd)),311).g){case 1:U(n,zd,(Pl(),xp));break;case 2:U(n,zd,(Pl(),$2))}}function mBn(n){switch(n.g){case 2:return zr;case 1:return $r;case 4:return nh;case 3:return hs;default:return eh}}function VY(n,e){switch(n.b.g){case 0:case 1:return e;case 2:case 3:return new zo(e.d,0,e.a,e.b);default:return null}}function JY(n){switch(n.g){case 1:return Wn;case 2:return zn;case 3:return Zn;case 4:return ae;default:return hc}}function ny(n){switch(n.g){case 1:return ae;case 2:return Wn;case 3:return zn;case 4:return Zn;default:return hc}}function rA(n){switch(n.g){case 1:return Zn;case 2:return ae;case 3:return Wn;case 4:return zn;default:return hc}}function QY(n,e,t,i){switch(e){case 1:return!n.n&&(n.n=new q(Tr,n,1,7)),n.n;case 2:return n.k}return qZ(n,e,t,i)}function $5(n,e,t){var i,r;return n.Pj()?(r=n.Qj(),i=$x(n,e,t),n.Jj(n.Ij(7,Y(t),i,e,r)),i):$x(n,e,t)}function PF(n,e){var t,i,r;null==n.d?(++n.e,--n.f):(r=e.ld(),function t3e(n,e,t){return++n.e,--n.f,u(n.d[e].gd(t),136).md()}(n,i=((t=e.Bi())&nt)%n.d.length,HHn(n,i,t,r)))}function y4(n,e){var t;t=0!=(n.Bb&Qs),e?n.Bb|=Qs:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,10,t,e))}function j4(n,e){var t;t=0!=(n.Bb&Nw),e?n.Bb|=Nw:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,12,t,e))}function E4(n,e){var t;t=0!=(n.Bb&Bu),e?n.Bb|=Bu:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,15,t,e))}function C4(n,e){var t;t=0!=(n.Bb&_w),e?n.Bb|=_w:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,11,t,e))}function p5e(n){var e;n.g&&(Den((e=n.c.kg()?n.f:n.a).a,n.o,!0),Den(e.a,n.o,!1),U(n.o,(cn(),Kt),(Ii(),c0)))}function m5e(n){var e;if(!n.a)throw M(new Sr("Cannot offset an unassigned cut."));n.b+=e=n.c-n.b,UIn(n,e),qIn(n,e)}function y5e(n){var e,t;for(t=RHn(Mo(n)).Kc();t.Ob();)if(r8(n,e=Oe(t.Pb())))return jpe((yCn(),Uoe),e);return null}function kBn(n){var e,t;for(t=n.p.a.ec().Kc();t.Ob();)if((e=u(t.Pb(),218)).f&&n.b[e.c]<-1e-10)return e;return null}function E5e(n){var e,t,i;for(e=new Z,i=new C(n.b);i.ae?1:n==e?0==n?at(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function yBn(n,e,t){var r;if(n.c)Ann(n.c,e,t);else for(r=new C(n.b);r.a=1?zr:nh:t}function wa(n){if(n.c)wa(n.c);else if(n.d)throw M(new Sr("Stream already terminated, can't be modified or used"))}function J0(n,e,t){var i;return i=n.a.get(e),n.a.set(e,void 0===t?null:t),void 0===i?(++n.c,++n.b.g):++n.d,i}function O5e(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),_k(t,u(sn(e,i.p),16)))return i;return null}function ZY(n,e,t){var i;return i=0,e&&(Ng(n.a)?i+=e.f.a/2:i+=e.f.b/2),t&&(Ng(n.a)?i+=t.f.a/2:i+=t.f.b/2),i}function L5e(n,e,t){var i;!(i=t)&&(i=kV(new yv,0)),i.Ug(OXn,2),MRn(n.b,e,i.eh(1)),function XIe(n,e,t){var r,c,s,f,h,l,a,d,g,v,k;for(_i(l=function Cje(n){var e,t,i,c,s;for(e=new Rg,t=new Rg,sa(e,n),sa(t,n);t.b!=t.c;)for(s=new C(u(Hv(t),36).a);s.aMh,kn=y.Math.abs(g.b-p.b)>Mh,(!t&&jn&&kn||t&&(jn||kn))&&xe(j.a,$)),Fi(j.a,i),0==i.b?g=$:(oe(0!=i.b),g=u(i.c.b.c,8)),Nme(v,d,k),SFn(r)==tn&&(Ki(tn.i)!=r.a&&Knn(k=new Oi,Ki(tn.i),I),U(j,qH,k)),gje(v,j,I),a.a.zc(v,a);Qi(j,_),Pi(j,tn)}for(l=a.a.ec().Kc();l.Ob();)Qi(h=u(l.Pb(),18),null),Pi(h,null);e.Vg()}(e,i.eh(1)),i.Vg()}function nZ(n,e,t){var i;return Q1(),OT(i=new KE,e),IT(i,t),n&&me((!n.a&&(n.a=new ni(Ro,n,5)),n.a),i),i}function OF(n){var e;return 64&n.Db?Ws(n):((e=new gs(Ws(n))).a+=" (identifier: ",jr(e,n.k),e.a+=")",e.a)}function LF(n,e){var t;t=0!=(n.Bb&Cc),e?n.Bb|=Cc:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,18,t,e))}function eZ(n,e){var t;t=0!=(n.Bb&Cc),e?n.Bb|=Cc:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,18,t,e))}function M4(n,e){var t;t=0!=(n.Bb&yh),e?n.Bb|=yh:n.Bb&=-16385,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,16,t,e))}function tZ(n,e){var t;t=0!=(n.Bb&sr),e?n.Bb|=sr:n.Bb&=-65537,4&n.Db&&!(1&n.Db)&&tt(n,new Gs(n,1,20,t,e))}function iZ(n){var e;return(e=K(ds,jh,28,2,15,1))[0]=((n-=sr)>>10)+Uy&ri,e[1]=56320+(1023&n)&ri,ks(e,0,e.length)}function Yi(n,e){var t;return Wr(n)&&Wr(e)&&qy<(t=n+e)&&t>22))&co,n.h+e.h+(i>>22)&Kl)}(Wr(n)?ps(n):n,Wr(e)?ps(e):e))}function Zi(n,e){var t;return Wr(n)&&Wr(e)&&qy<(t=n*e)&&t>13|(15&n.m)<<9)*(f=8191&e.l),Bn=(r=n.m>>4&8191)*f,$n=(c=n.m>>17|(255&n.h)<<5)*f,te=((1048320&n.h)>>8)*f,0!=(h=e.l>>13|(15&e.m)<<9)&&(kn+=t*h,Bn+=i*h,$n+=r*h,te+=c*h),0!=(l=e.m>>4&8191)&&(Bn+=t*l,$n+=i*l,te+=r*l),0!=(a=e.m>>17|(255&e.h)<<5)&&($n+=t*a,te+=i*a),0!=(d=(1048320&e.h)>>8)&&(te+=t*d),k=((jn=t*f)>>22)+(kn>>9)+((262143&Bn)<<4)+((31&$n)<<17),$=(Bn>>18)+($n>>5)+((4095&te)<<8),$+=(k+=(g=(jn&co)+((511&kn)<<13))>>22)>>22,eu(g&=co,k&=co,$&=Kl)}(Wr(n)?ps(n):n,Wr(e)?ps(e):e))}function ms(n,e){var t;return Wr(n)&&Wr(e)&&qy<(t=n-e)&&te?1:E0(isNaN(n),isNaN(e))}function Dl(){Dl=N,xU=new RC(v8,0),bE=new RC("POLYLINE",1),Ym=new RC("ORTHOGONAL",2),Qp=new RC("SPLINES",3)}function uA(){uA=N,L1n=new ID("ASPECT_RATIO_DRIVEN",0),iU=new ID("MAX_SCALE_DRIVEN",1),O1n=new ID("AREA_DRIVEN",2)}function Nl(n){var e,i;for(e=new Z,i=new C(n.j);i.ae){pLn(t);break}}ck(t,e)}function q5e(n,e,t){t.Ug("Straight Line Edge Routing",1),t.dh(e,ccn),uGn(n,u(z(e,(_g(),X2)),27)),t.dh(e,QS)}function rZ(n,e){0==n.n.c.length&&nn(n.n,new ZM(n.s,n.t,n.i)),nn(n.b,e),BZ(u(sn(n.n,n.n.c.length-1),209),e),HUn(n,e)}function F5(n){var e;this.a=new Go(e=u(n.e&&n.e(),9),u(Hs(e,e.length),9),0),this.b=K(pi,xn,1,this.a.a.length,5,1)}function Jr(n){return Array.isArray(n)&&n.Tm===Hb?sd(po(n))+"@"+(wt(n)>>>0).toString(16):n.toString()}function CBn(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function cZ(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return QY(n,e,t,i)}function oA(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw M(new Un("Node "+e+" not part of edge "+n))}function ns(n,e,t,i){if(e<0)Cen(n,t,i);else{if(!t.rk())throw M(new Un(Aa+t.xe()+O8));u(t,69).wk().Ck(n,n.hi(),e,i)}}function to(n){var e;if(n.b){if(to(n.b),n.b.d!=n.c)throw M(new Ho)}else n.d.dc()&&(e=u(n.f.c.xc(n.e),16))&&(n.d=e)}function W5e(n){var e,t,i;for(this.a=new hh,i=new C(n);i.a=r)return e.c+t;return e.c+e.b.gc()}function $F(n,e,t){var i,r;for(i=0,r=n.length;i0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function sZ(n){var e,t,i;for((i=new e1).a+="[",e=0,t=n.gc();e=0&&n.a[t]===e[t];t--);return t<0}(n,t.a))}function up(n){switch(en(),n.g){case 4:return zn;case 1:return Zn;case 3:return ae;case 2:return Wn;default:return hc}}function hZ(n){var t,i;for(i=F(R(n.a.of((Ue(),jO)))),t=new C(n.a.Sf());t.a=0;i--)if(Tn(n[i].d,e)||Tn(n[i].d,t)){n.length>=i+1&&n.splice(0,i+1);break}return n}(p_.me(n)))),t=0,i=n.j.length;tf.d&&(a=f.d+f.a+l);t.c.d=a,e.a.zc(t,e),h=y.Math.max(h,t.c.d+t.c.a)}return h}(n),_t(new Mn(null,new Pn(n.d,16)),new x9n(n)),e}function wZ(n){BF(),this.c=Ff(S(T(CNe,1),xn,845,0,[nie])),this.b=new de,this.a=n,Xe(this.b,HI,1),iu(eie,new xkn(this))}function IBn(n,e,t){G$n(),ijn.call(this),this.a=hd(JQn,[J,iin],[603,217],0,[LP,N_],2),this.c=new Lv,this.g=n,this.f=e,this.d=t}function gZ(n,e){this.n=hd(Ja,[J,YB],[376,28],14,[e,di(y.Math.ceil(n/32))],2),this.o=n,this.p=e,this.j=n-1>>1,this.k=e-1>>1}function OBn(n){var e,t;e=n.d==(ap(),Mm),t=dnn(n),U(n.a,(cn(),Lh),e&&!t||!e&&t?(Xh(),uE):(Xh(),cE))}function BF(){BF=N,mC(),cn(),HI=Ob,eie=Ff(S(T(mU,1),zrn,149,0,[Hj,ef,_2,Ib,rg,tq,Rm,Km,iq,h9,K2,Zd,H2]))}function LBn(n,e){var t,i;if((i=new h3(n.a.ad(e,!0))).a.gc()<=1)throw M(new pv);return(t=i.a.ec().Kc()).Pb(),u(t.Pb(),40)}function vZ(n,e){return n.i>0&&(e.lengthn.i&&Dt(e,n.i,null),e}function fA(n){var e;return 64&n.Db?L5(n):((e=new gs(L5(n))).a+=" (instanceClassName: ",jr(e,n.D),e.a+=")",e.a)}function hA(n){var e,t,i,r;for(r=0,t=0,i=n.length;t0&&(n._j(),-1!=HHn(n,((i=null==e?0:wt(e))&nt)%n.d.length,i,e))}function DBn(n,e){var t,i;n.a=Yi(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d+=e,n.f=(i=n.e+(t=e-n.f))-n.e-t,n.e=i}function pZ(n,e){switch(e){case 3:return void U0(n,0);case 4:return void G0(n,0);case 5:return void ru(n,0);case 6:return void cu(n,0)}HY(n,e)}function Y0(n,e){switch(e.g){case 1:return Bv(n.j,(Nu(),iH));case 2:return Bv(n.j,(Nu(),rH));default:return On(),On(),Vi}}function mZ(n){var e;switch(D0(),(e=n.Pc()).length){case 0:return d_;case 1:return new pN(Se(e[0]));default:return new ZN(function B5e(n){var t,i;for(t=0,i=n.length;t0&&(n._j(),t=ren(n,((i=null==e?0:wt(e))&nt)%n.d.length,i,e))?t.md():null}function Qc(n,e,t){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),Jk(n,i,e),r=n.Ij(3,null,e,i,c),t?t.nj(r):t=r):Jk(n,n.i,e),t}function xBn(n){var e;return Zb(),e=new ir(u(n.e.of((Ue(),tv)),8)),n.B.Hc((ro(),n6))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function ga(n){var e,t;return mh(),t=Ae(n),0!=(e=Ae(ia(n,32)))?new GOn(t,e):t>10||t<0?new Tl(1,t):CQn[t]}function ty(n,e){var t;return Wr(n)&&Wr(e)&&qy<(t=n%e)&&t=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function ry(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(e,c.d),t&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function S8e(n,e,t,i){var r,c,s;return r=!1,function OOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X;return v=n.c[t],!((p=u(m(g=n.c[e],(V(),Kp)),15))&&0!=p.gc()&&p.Hc(v)||(k=g.k!=(Xn(),Ei)&&v.k!=Ei,j=u(m(g,Eb),10),A=u(m(v,Eb),10),I=j!=A,O=!!j&&j!=g||!!A&&A!=v,$=cx(g,(en(),zn)),_=cx(v,ae),O|=cx(g,ae)||cx(v,zn),X=O&&I||$||_,k&&X)||g.k==(Xn(),Gc)&&v.k==Ut||v.k==(Xn(),Gc)&&g.k==Ut)&&(r=yKn(n.e,a=n.c[e],c=n.c[t],(en(),Wn)),h=yKn(n.i,a,c,Zn),function oTe(n,e,t){n.d=0,n.b=0,e.k==(Xn(),Gc)&&t.k==Gc&&u(m(e,(V(),ot)),10)==u(m(t,ot),10)&&(L$(e).j==(en(),zn)?XHn(n,e,t):XHn(n,t,e)),e.k==Gc&&t.k==Ei?L$(e).j==(en(),zn)?n.d=1:n.b=1:t.k==Gc&&e.k==Ei&&(L$(t).j==(en(),zn)?n.b=1:n.d=1),function G9e(n,e,t){e.k==(Xn(),Ut)&&t.k==Ei&&(n.d=AF(e,(en(),ae)),n.b=AF(e,zn)),t.k==Ut&&e.k==Ei&&(n.d=AF(t,(en(),zn)),n.b=AF(t,ae))}(n,e,t)}(n.f,a,c),l=$xn(n.b,a,c)+u(r.a,17).a+u(h.a,17).a+n.f.d,f=$xn(n.b,c,a)+u(r.b,17).a+u(h.b,17).a+n.f.b,n.a&&(d=u(m(a,ot),12),s=u(m(c,ot),12),l+=u((i=tKn(n.g,d,s)).a,17).a,f+=u(i.b,17).a),l>f)}(n.f,t,i)&&(function J8e(n,e,t){var i,r;Mx(n.e,e,t,(en(),Wn)),Mx(n.i,e,t,Zn),n.a&&(r=u(m(e,(V(),ot)),12),i=u(m(t,ot),12),h$(n.g,r,i))}(n.f,n.a[e][t],n.a[e][i]),s=(c=n.a[e])[i],c[i]=c[t],c[t]=s,r=!0),r}function _Bn(n,e,t){var i,r,s;for(r=u(ee(n.b,t),183),i=0,s=new C(e.j);s.at;c--)n[c]|=e[c-t-1]>>>s,n[c-1]=e[c-t-1]<>5)+(0==(e&=31)?0:1),15,1),n.a,t,e),l5(c=new dd(n.e,r,i)),c}function P8e(n,e){var i;for(i=new ie(ce(Vt(n).a.Kc(),new Vn));ve(i);)if(u(fe(i),18).d.i.c==e)return!1;return!0}function jZ(n,e,t){var i,r,c;return r=R(mw(n,i=t[n.k.g][e.k.g])),c=R(mw(e,i)),y.Math.max((Jn(r),r),(Jn(c),c))}function O8e(n,e){return Of(),Of(),zs(ja),(y.Math.abs(n-e)<=ja||n==e||isNaN(n)&&isNaN(e)?0:ne?1:E0(isNaN(n),isNaN(e)))>0}function EZ(n,e){return Of(),Of(),zs(ja),(y.Math.abs(n-e)<=ja||n==e||isNaN(n)&&isNaN(e)?0:ne?1:E0(isNaN(n),isNaN(e)))<0}function qBn(n,e){return Of(),Of(),zs(ja),(y.Math.abs(n-e)<=ja||n==e||isNaN(n)&&isNaN(e)?0:ne?1:E0(isNaN(n),isNaN(e)))<=0}function HF(n,e){for(var t=0;!e[t]||""==e[t];)t++;for(var i=e[t++];t0&&this.b>0&&(this.g=CM(this.c,this.b,this.a))}function A4(n){if(!(Ph in n.a))throw M(new oh("Every element must have an id."));return dp(El(n,Ph))}function Z0(n){var e,t;for(t=w_n(n),e=null;2==n.c;)Ye(n),e||(Ze(),Ze(),Ld(e=new q6(2),t),t=e),t.Jm(w_n(n));return t}function dA(n,e){var t,i;return n._j(),(t=ren(n,((i=null==e?0:wt(e))&nt)%n.d.length,i,e))?(Q$n(n,t),t.md()):null}function JBn(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+y.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function D8e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw M(new Un("Input edge is not connected to the input port."))}function TZ(n){switch(typeof n){case CB:return w1(n);case $tn:return Ov(n);case vp:return OAn(n);default:return null==n?0:T0(n)}}function ph(n,e){if(n.a<0)throw M(new Sr("Did not call before(...) or after(...) before calling add(...)."));return kW(n,n.a,e),n}function AZ(n){return nT(),L(n,162)?u(ee(TE,PQn),295).Rg(n):tu(TE,po(n))?u(ee(TE,po(n)),295).Rg(n):null}function uu(n){var t;return 32&n.Db||0!=(t=se(u(qn(n,16),29)||n.ii())-se(n.ii()))&&op(n,32,K(pi,xn,1,t,5,1)),n}function op(n,e,t){var i;n.Db&e?null==t?function vCe(n,e){var t,i,r,c,s,f,h;if(1==(i=gBn(254&n.Db)))n.Eb=null;else if(c=kd(n.Eb),2==i)r=fx(n,e),n.Eb=c[0==r?1:0];else{for(s=K(pi,xn,1,i-1,5,1),t=2,f=0,h=0;t<=128;t<<=1)t==e?++f:n.Db&t&&(s[h++]=c[f++]);n.Eb=s}n.Db&=~e}(n,e):-1==(i=fx(n,e))?n.Eb=t:Dt(kd(n.Eb),i,t):null!=t&&function KTe(n,e,t){var i,r,s,f,h,l;if(0==(r=gBn(254&n.Db)))n.Eb=t;else{if(1==r)f=K(pi,xn,1,2,5,1),0==fx(n,e)?(f[0]=t,f[1]=n.Eb):(f[0]=n.Eb,f[1]=t);else for(f=K(pi,xn,1,r+1,5,1),s=kd(n.Eb),i=2,h=0,l=0;i<=128;i<<=1)i==e?f[l++]=t:n.Db&i&&(f[l++]=s[h++]);n.Eb=f}n.Db|=e}(n,e,t)}function $8e(n,e,t,i){var r;0!=e.c.length&&(r=function IMe(n,e){var t,i,r,c,s;for(t=new Z,r=uc(new Mn(null,new Pn(n,16)),new Npn),c=uc(new Mn(null,new Pn(n,16)),new $pn),s=function K3e(n){var e;return ua(n),e=K(Ai,Mr,28,0,15,1),Tg(n.a,new C9n(e)),e}(function r3e(n){return wa(n),new SW(n,new DSn(n,n.a.e,4|n.a.d))}(cw(function fTe(n){var e,t,r,c,s,f,h,l;for(e=336,t=0,c=new VAn(n.length),h=0,l=(f=n).length;h=2*e&&nn(t,new hN(s[i-1]+e,s[i]-e));return t}(t,i),_t(ST(new Mn(null,new Pn(function OEe(n){var e,t,i,r,c,s,f;for(c=new hh,t=new C(n);t.a2&&f.e.b+f.j.b<=2&&(r=f,i=s),c.a.zc(r,c),r.q=i);return c}(e),1)),new Dpn),new SIn(n,t,r,i)))}function bA(n){var e,t,i;if(!(i=n.Jh()))for(e=0,t=n.Ph();t;t=t.Ph()){if(++e>ZB)return t.Qh();if((i=t.Jh())||t==n)break}return i}function YBn(n,e){var t;return x(e)===x(n)||!(!L(e,21)||(t=u(e,21),t.gc()!=n.gc()))&&n.Ic(t)}function wA(n,e){return Jn(n),null!=e&&(!!Tn(n,e)||n.length==e.length&&Tn(n.toLowerCase(),e.toLowerCase()))}function $l(n){var e,t;return Ac(n,-129)>0&&Ac(n,128)<0?(tPn(),e=Ae(n)+128,!(t=_un[e])&&(t=_un[e]=new HG(n)),t):new HG(n)}function Sd(){Sd=N,zw=new OC(Th,0),esn=new OC("INSIDE_PORT_SIDE_GROUPS",1),Z_=new OC("GROUP_MODEL_ORDER",2),nH=new OC(Min,3)}function R8e(n,e){var t,i;for(Gn(e,n.length),t=n.charCodeAt(e),i=e+1;iX&&(p.c=X-p.b),nn(s.d,new EN(p,VY(s,p))),I=e==zn?y.Math.max(I,k.b+l.b.Mf().b):y.Math.min(I,k.b));for((O=bZ((s.e=I+=e==zn?n.t:-n.t,s)))>0&&(u(Er(n.b,e),127).a.b=O),a=g.Kc();a.Ob();)(l=u(a.Pb(),117)).c&&!(l.c.d.c.length<=0)&&((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else XGn(n,e)}(n,e):XGn(n,e):n.u.Hc(qa)&&(t?function sLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A;if((a=u(u(ut(n.r,e),21),87)).gc()<=2||e==(en(),Zn)||e==(en(),Wn))szn(n,e);else{for(k=n.u.Hc((Xu(),Yp)),t=e==(en(),zn)?(V0(),kj):(V0(),mj),A=e==zn?(mu(),Zs):(mu(),Tf),i=Hz(rV(t),n.s),j=e==zn?Mt:fi,l=a.Kc();l.Ob();)(f=u(l.Pb(),117)).c&&!(f.c.d.c.length<=0)&&(p=f.b.Mf(),v=f.e,(g=(d=f.c).i).b=d.e.a+(c=d.n).b+c.c,g.a=d.e.b+(s=d.n).d+s.a,k?(g.c=v.a-(d.e.a+(r=d.n).b+r.c)-n.s,k=!1):g.c=v.a+p.a+n.s,fk(A,rin),d.f=A,mf(d,(Gu(),Ys)),nn(i.d,new EN(g,VY(i,g))),j=e==zn?y.Math.min(j,v.b):y.Math.max(j,v.b+f.b.Mf().b));for(bZ((i.e=j+=e==zn?-n.t:n.t,i)),h=a.Kc();h.Ob();)(f=u(h.Pb(),117)).c&&!(f.c.d.c.length<=0)&&((g=f.c.i).c-=f.e.a,g.d-=f.e.b)}}(n,e):szn(n,e))}function rRn(n){var e;x(z(n,(Ue(),nv)))===x((Ll(),MO))&&(Ct(n)?(e=u(z(Ct(n),nv),346),ft(n,nv,e)):ft(n,nv,R9))}function cRn(n,e,t){return new zo(y.Math.min(n.a,e.a)-t/2,y.Math.min(n.b,e.b)-t/2,y.Math.abs(n.a-e.a)+t,y.Math.abs(n.b-e.b)+t)}function uRn(n){var e;this.d=new Z,this.j=new Oi,this.g=new Oi,this.f=u(m(Ki(e=n.g.b),(cn(),$o)),88),this.e=F(R(mA(e,rg)))}function oRn(n){this.d=new Z,this.e=new h1,this.c=K(ye,_e,28,(en(),S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn])).length,15,1),this.b=n}function IZ(n,e,t){var i;switch(i=t[n.g][e],n.g){case 1:case 3:return new W(0,i);case 2:case 4:return new W(i,0);default:return null}}function sRn(n,e,t){var r;r=u(hk(e.f),205);try{r.rf(n,t),dIn(e.f,r)}catch(c){throw L(c=At(c),103),M(c)}}function fRn(n,e,t){var c,s,f,h;return c=null,(f=ytn(r4(),e))&&(s=null,null!=(h=mtn(f,t))&&(s=n.qf(f,h)),c=s),c}function GF(n,e,t,i){var r;if(e>=(r=n.length))return r;for(e=e>0?e:0;ei&&Dt(e,i,null),e}function hRn(n,e){var t,i;for(e.length<(i=n.a.length)&&(e=sC(new Array(i),e)),t=0;ti&&Dt(e,i,null),e}function S4(n,e){var t,i;++n.j,null!=e&&function cCe(n,e){var t,i,r;if(x(n)===x(e))return!0;if(null==n||null==e||n.length!=e.length)return!1;for(t=0;t>24}return t}(_c(n,!0))))throw M(new UL("Invalid hexBinary value: '"+n+"'"));return e}function gA(n,e,t){var i;e.a.length>0&&(nn(n.b,new OSn(e.a,t)),0<(i=e.a.length)?e.a=Xo(e.a,0,0):0>i&&(e.a+=DTn(K(ds,jh,28,-i,15,1))))}function lRn(n,e,t){var r;if(!t[e.d])for(t[e.d]=!0,r=new C(Qg(e));r.a=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t=0?n.Wh(r):Nx(n,i):t<0?Nx(n,i):u(i,69).wk().Bk(n,n.hi(),t)}function wRn(n){var t,i;for(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),t=(i=n.o).c.Kc();t.e!=t.i.gc();)u(t.Yj(),44).md();return jk(i)}function rn(n){var e;if(L(n.a,4)){if(null==(e=AZ(n.a)))throw M(new Sr(FWn+n.b+"'. "+$Wn+(yl(AE),AE.k)+xcn));return e}return n.a}function ue(n){var e;try{return e=n.i.Xb(n.e),n.Xj(),n.g=n.e++,e}catch(t){throw L(t=At(t),77)?(n.Xj(),M(new tc)):M(t)}}function VF(n){var e;try{return e=n.c.Vi(n.e),n.Xj(),n.g=n.e++,e}catch(t){throw L(t=At(t),77)?(n.Xj(),M(new tc)):M(t)}}function pA(n){var e,t,i,r;for(r=0,t=0,i=n.length;t=64&&e<128&&(r=vf(r,Us(1,e-64)));return r}function mA(n,e){var t,i;return i=null,vt(n,(Ue(),Vp))&&(t=u(m(n,Vp),96)).pf(e)&&(i=t.of(e)),null==i&&Ki(n)&&(i=m(Ki(n),e)),i}function h9e(n,e){var t;return t=u(m(n,(cn(),Nr)),75),GD(e,xZn)?t?jo(t):(t=new Su,U(n,Nr,t)):t&&U(n,Nr,null),t}function R5(){R5=N,Ue(),$on=hdn,K_=Uan,FYn=Q2,Non=x1,OA(),KYn=don,RYn=lon,_Yn=won,BYn=hon,yF(),xYn=Oon,R_=DYn,Don=NYn,FP=$Yn}function kA(n){switch(iX(),this.c=new Z,this.d=n,n.g){case 0:case 2:this.a=lJ(nsn),this.b=Mt;break;case 3:case 1:this.a=nsn,this.b=fi}}function gRn(n,e,t){var r;if(n.c)ru(n.c,n.c.i+e),cu(n.c,n.c.j+t);else for(r=new C(n.b);r.a>4)<<24>>24,d[g++]=((15&t)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24}return p7(s=c[a++])&&p7(f=c[a++])?(e=ch[s],t=ch[f],h=c[a++],l=c[a++],-1==ch[h]||-1==ch[l]?61==h&&61==l?15&t?null:(Nc(d,0,j=K(Ku,E2,28,3*v+1,15,1),0,3*v),j[g]=(e<<2|t>>4)<<24>>24,j):61!=h&&61==l?3&(i=ch[h])?null:(Nc(d,0,j=K(Ku,E2,28,3*v+2,15,1),0,3*v),j[g++]=(e<<2|t>>4)<<24>>24,j[g]=((15&t)<<4|i>>2&15)<<24>>24,j):null:(i=ch[h],r=ch[l],d[g++]=(e<<2|t>>4)<<24>>24,d[g++]=((15&t)<<4|i>>2&15)<<24>>24,d[g++]=(i<<6|r)<<24>>24,d)):null}(_c(n,!0))))throw M(new UL("Invalid base64Binary value: '"+n+"'"));return e}function is(n,e){var t;t=n.fd(e);try{return t.Pb()}catch(i){throw L(i=At(i),112)?M(new Ar("Can't get element "+e)):M(i)}}function vRn(n,e){var t,i,r;for(t=n.o,r=u(u(ut(n.r,e),21),87).Kc();r.Ob();)(i=u(r.Pb(),117)).e.a=g7e(i,t.a),i.e.b=t.b*F(R(i.b.of(DP)))}function pRn(n){var e;return(e=new V1).a+="n",n.k!=(Xn(),Ut)&&Re(Re((e.a+="(",e),YD(n.k).toLowerCase()),")"),Re((e.a+="_",e),oy(n)),e.a}function mRn(n,e){var t;switch(t=u(Er(n.b,e),127).n,e.g){case 1:n.t>=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function K5(){K5=N,eln=new P7(Xrn,0),aq=new P7(LR,1),dq=new P7("LINEAR_SEGMENTS",2),a9=new P7("BRANDES_KOEPF",3),d9=new P7(hWn,4)}function _5(){_5=N,Mj=new PC(kS,0),NP=new PC(aR,1),$P=new PC(dR,2),Tj=new PC(bR,3),Mj.a=!1,NP.a=!0,$P.a=!1,Tj.a=!0}function sp(){sp=N,jj=new SC(kS,0),yj=new SC(aR,1),Ej=new SC(dR,2),Cj=new SC(bR,3),jj.a=!1,yj.a=!0,Ej.a=!1,Cj.a=!0}function fp(n,e,t,i){var r;return t>=0?n.Sh(e,t,i):(n.Ph()&&(i=(r=n.Fh())>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i)),n.Ch(e,t,i))}function OZ(n,e){switch(e){case 7:return!n.e&&(n.e=new Dn(Xt,n,7,4)),void pe(n.e);case 8:return!n.d&&(n.d=new Dn(Xt,n,8,5)),void pe(n.d)}pZ(n,e)}function ft(n,e,t){return null==t?(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),dA(n.o,e)):(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),hy(n.o,e,t)),n}function kRn(n,e){var t,i,r,c;for(On(),t=n,c=e,L(n,21)&&!L(e,21)&&(t=e,c=n),r=t.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function v9e(n,e,t,i){if(e.at.b)return!0}return!1}function JF(n,e){return Mi(n)?!!oQn[e]:n.Sm?!!n.Sm[e]:Jb(n)?!!uQn[e]:!!Vb(n)&&!!cQn[e]}function yRn(n,e){var t,i,r;for(r=n,i=new ie(ce(ki(e).a.Kc(),new Vn));ve(i);)(t=u(fe(i),18)).c.i.c&&(r=y.Math.max(r,t.c.i.c.p));return r}function jRn(n){var t,i,r;if(i=0,0==(r=Aw(n)).c.length)return 1;for(t=new C(r);t.a=0?n.Lh(s,t,!0):ib(n,c,t):u(c,69).wk().yk(n,n.hi(),r,t,i)}function ERn(n){var e,t;if(null==n)return null;for(t=K(cl,J,199,n.length,0,2),e=0;e=0)return r;if(n.ol())for(i=0;i=(r=n.gc()))throw M(new ew(e,r));if(n.Si()&&(i=n.dd(t))>=0&&i!=e)throw M(new Un(hj));return n.Xi(e,t)}function LZ(n,e){if(this.a=u(Se(n),253),this.b=u(Se(e),253),n.Ed(e)>0||n==(xL(),l_)||e==(BL(),a_))throw M(new Un("Invalid range: "+zLn(n,e)))}function CRn(n){var e,t;for(this.b=new Z,this.c=n,this.a=!1,t=new C(n.a);t.a0)for(i=new Hu(u(ut(n.a,c),21)),On(),Jt(i,new ez(e)),r=new Ni(c.b,0);r.b0),(e&-e)==e)return di(e*io(n,31)*4.656612873077393e-10);do{i=(t=io(n,31))%e}while(t-i+(e-1)<0);return di(i)}function cy(n,e,t,i){var r,c;for(r=e;r1&&(c=function S9e(n,e){var t,i,r;for(t=M0(new od,n),r=new C(e);r.a(h=null==n.d?0:n.d.length)){for(a=n.d,n.d=K(e0n,aun,66,2*h+4,0,1),c=0;c102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function rx(n,e){if(null==n)throw M(new Ev("null key in entry: null="+e));if(null==e)throw M(new Ev("null value in entry: "+n+"=null"))}function IRn(n,e){var t;return t=S(T(Ai,1),Mr,28,15,[EF(n.a[0],e),EF(n.a[1],e),EF(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function ORn(n,e){var t;return t=S(T(Ai,1),Mr,28,15,[nA(n.a[0],e),nA(n.a[1],e),nA(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function xZ(n,e,t){xv(u(m(e,(cn(),Kt)),101))||(QJ(n,e,E1(e,t)),QJ(n,e,E1(e,(en(),ae))),QJ(n,e,E1(e,zn)),On(),Jt(e.j,new x7n(n)))}function LRn(n){var e,t;for(n.c||function iOe(n){var e,t,i,r,c,s;if(r=new Ni(n.e,0),i=new Ni(n.a,0),n.d)for(t=0;tlK;){for(c=e,s=0;y.Math.abs(e-c)0),r.a.Xb(r.c=--r.b),pPe(n,n.b-s,c,i,r),oe(r.b0),i.a.Xb(i.c=--i.b)}if(!n.d)for(t=0;t=0){for(h=null,f=new Ni(a.a,l+1);f.b0&&h[i]&&(p=xg(n.b,h[i],r)),k=y.Math.max(k,r.c.c.b+p);for(c=new C(a.e);c.a_)?(h=2,s=nt):0==h?(h=1,s=tn):(h=0,s=tn):(v=tn>=s||s-tn0?(d=u(sn(g.c.a,s-1),10),jn=xg(n.b,g,d),j=g.n.b-g.d.d-(d.n.b+d.o.b+d.d.a+jn)):j=g.n.b-g.d.d,l=y.Math.min(j,l),sc&&Dt(e,c,null),e}function ux(n,e){var t,i,r;return t=e.ld(),r=e.md(),i=n.xc(t),!(!(x(r)===x(i)||null!=r&&it(r,i))||null==i&&!n._b(t))}function KZ(n,e,t,i){var r,c;this.a=e,this.c=i,function Hse(n,e){n.b=e}(this,new W(-(r=n.a).c,-r.d)),et(this.b,t),c=i/2,e.a?W6(this.b,0,c):W6(this.b,c,0),nn(n.c,this)}function KRn(n,e,t,i){var r;this.c=n,this.d=e,Nt(r=new yt,t,r.c.b,r.c),this.a=r,this.b=u(m(i,(bc(),Nb)),88),this.e=F(R(m(i,n1n))),Tzn(this)}function AA(){AA=N,Vq=new BC(Th,0),C1n=new BC(QXn,1),M1n=new BC("EDGE_LENGTH_BY_POSITION",2),E1n=new BC("CROSSING_MINIMIZATION_BY_POSITION",3)}function ox(n,e){var t,i;if(t=u(Wg(n.g,e),27))return t;if(i=u(Wg(n.j,e),123))return i;throw M(new oh("Referenced shape does not exist: "+e))}function _Z(n,e){var i;if(L(e,253)){i=u(e,253);try{return 0==n.Ed(i)}catch(r){if(L(r=At(r),212))return!1;throw M(r)}}return!1}function r7e(n,e){if(n.c==e)return n.d;if(n.d==e)return n.c;throw M(new Un("Node 'one' must be either source or target of edge 'edge'."))}function c7e(n,e){if(n.c.i==e)return n.d.i;if(n.d.i==e)return n.c.i;throw M(new Un("Node "+e+" is neither source nor target of edge "+n))}function o7e(n,e){var t;switch(e.g){case 2:case 4:n.c.d.n.b<(t=n.a).d.n.b&&(t=n.c),o1(n,e,(_f(),hH),t);break;case 1:case 3:o1(n,e,(_f(),Fp),null)}}function sx(n,e,t,i,r,c){var s,f,h,l,a;for(s=function oke(n,e,t){var i,r;switch(i=(r=n.b).d,e.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}(e,t,c),f=t==(en(),zn)||t==Wn?-1:1,l=n[t.g],a=0;a0&&(h+=r),l[a]=s,s+=f*(h+i)}function _Rn(n){var e,t,i;for(n.n=K(Ai,Mr,28,i=n.f,15,1),n.d=K(Ai,Mr,28,i,15,1),e=0;e0?n.c:0),++r;n.b=i,n.d=c}function zRn(n,e){var t;return t=S(T(Ai,1),Mr,28,15,[NZ(n,(yf(),vc),e),NZ(n,Zc,e),NZ(n,pc,e)]),n.f&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function s7e(n,e,t){try{eS(n,e+n.j,t+n.k,!1,!0)}catch(r){throw L(r=At(r),77)?M(new Ar(r.g+jS+e+cr+t+").")):M(r)}}function f7e(n,e,t){try{eS(n,e+n.j,t+n.k,!0,!1)}catch(r){throw L(r=At(r),77)?M(new Ar(r.g+jS+e+cr+t+").")):M(r)}}function XRn(n){var e;vt(n,(cn(),Ab))&&((e=u(m(n,Ab),21)).Hc((Tw(),rf))?(e.Mc(rf),e.Fc(cf)):e.Hc(cf)&&(e.Mc(cf),e.Fc(rf)))}function WRn(n){var e;vt(n,(cn(),Ab))&&((e=u(m(n,Ab),21)).Hc((Tw(),of))?(e.Mc(of),e.Fc(Is)):e.Hc(Is)&&(e.Mc(Is),e.Fc(of)))}function hx(n,e,t,i){var r,c,s;return null==n.a&&function lje(n,e){var t,i,r,c;for(n.a=K(ye,_e,28,(c=e.b.j).c.length,15,1),r=0,i=0;i0&&(r.b+=e),r}function PA(n,e){var t,i,r;for(r=new Oi,i=n.Kc();i.Ob();)K4(t=u(i.Pb(),36),0,r.b),r.b+=t.f.b+e,r.a=y.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function JRn(n){var e,t,i;for(i=nt,t=new C(n.a);t.a>16==6?n.Cb.Th(n,5,Pf,e):(i=dr(u(Nn(u(qn(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function ZRn(n){var e,t,i;n.b==n.c&&(t=mY(y.Math.max(8,i=n.a.length))<<1,0!=n.b?(wFn(n,e=Hs(n.a,t),i),n.a=e,n.b=0):Ub(n.a,t),n.c=i)}function g7e(n,e){var t;return(t=n.b).pf((Ue(),so))?t.ag()==(en(),Wn)?-t.Mf().a-F(R(t.of(so))):e+F(R(t.of(so))):t.ag()==(en(),Wn)?-t.Mf().a:e}function oy(n){return 0!=n.b.c.length&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:qN(n)??""+(n.c?Hr(n.c.a,n,0):-1)}function IA(n){return 0!=n.f.c.length&&u(sn(n.f,0),72).a?u(sn(n.f,0),72).a:qN(n)??""+(n.i?Hr(n.i.j,n,0):-1)}function v7e(n,e){var t,i;if(e<0||e>=n.gc())return null;for(t=e;t0?n.c:0),r=y.Math.max(r,e.d),++i;n.e=c,n.b=r}function qZ(n,e,t,i){return 0==e?i?(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),n.o):(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),jk(n.o)):yA(n,e,t,i)}function ax(n){var e,t;if(n.rb)for(e=0,t=n.rb.i;e>22),r+=i>>22,r<0)||(n.l=t&co,n.m=i&co,n.h=r&Kl,0))}function dx(n,e,t,i,r,c,s){var f,h;return!(e.Te()&&(h=n.a.Ne(t,i),h<0||!r&&0==h)||e.Ue()&&(f=n.a.Ne(t,c),f>0||!s&&0==f))}function Lr(n,e,t){var i,r;return Ad(r=new $L,e),Jc(r,t),me((!n.c&&(n.c=new q(Fb,n,12,10)),n.c),r),b1(i=r,0),bw(i,1),m1(i,!0),p1(i,!0),i}function hp(n,e){var t,i;if(e>=n.i)throw M(new FD(e,n.i));return++n.j,t=n.g[e],(i=n.i-e-1)>0&&Nc(n.g,e+1,n.g,e,i),Dt(n.g,--n.i,null),n.Qi(e,t),n.Ni(),t}function nKn(n,e){var i;return n.Db>>16==17?n.Cb.Th(n,21,Ls,e):(i=dr(u(Nn(u(qn(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function S7e(n){var e,t,i,r,c;for(r=nt,c=null,i=new C(n.d);i.at.a.c.length))throw M(new Un("index must be >= 0 and <= layer node count"));n.c&&pu(n.c.a,n),n.c=t,t&&P0(t.a,e,n)}function cKn(n,e){var t,i,r;for(i=new ie(ce(Nl(n).a.Kc(),new Vn));ve(i);)return t=u(fe(i),18),new GE(Se((r=u(e.Kb(t),10)).n.b+r.o.b/2));return b6(),b6(),h_}function uKn(n,e){this.c=new de,this.a=n,this.b=e,this.d=u(m(n,(V(),B2)),312),this.e=x(m(n,(cn(),Phn)))===x((Tk(),gI))?new ejn:new njn}function q5(n,e){var t,i;return i=null,n.pf((Ue(),Vp))&&(t=u(n.of(Vp),96)).pf(e)&&(i=t.of(e)),null==i&&n.Tf()&&(i=n.Tf().of(e)),null==i&&(i=rn(e)),i}function bx(n,e){var t,i;t=n.fd(e);try{return i=t.Pb(),t.Qb(),i}catch(r){throw L(r=At(r),112)?M(new Ar("Can't remove element "+e)):M(r)}}function zZ(n,e){var t,i,r;for(Jn(e),TW(e!=n),r=n.b.c.length,i=e.Kc();i.Ob();)t=i.Pb(),nn(n.b,Jn(t));return r!=n.b.c.length&&(OY(n,0),!0)}function sy(){sy=N,Ue(),Von=hE,new Li(MU,(Kn(),!0)),vZn=i0,pZn=tv,mZn=Ra,gZn=ev,Qon=lE,kZn=hg,UZ(),Won=bZn,zon=aZn,Xon=dZn,Jon=wZn,HP=lZn}function XZ(n,e,t,i){var r,c,f;for(Di(e,u(i.Xb(0),30)),f=i.kd(1,i.gc()),c=u(t.Kb(e),20).Kc();c.Ob();)XZ(n,(r=u(c.Pb(),18)).c.i==e?r.d.i:r.c.i,t,f)}function oKn(n){var e;return e=new de,vt(n,(V(),HH))?u(m(n,HH),85):(_t(rt(new Mn(null,new Pn(n.j,16)),new S2n),new b7n(e)),U(n,HH,e),e)}function sKn(n,e){var t,i,r,c,s;for(i=0,r=0,t=0,s=new C(n);s.a0?e:0),++t;return new W(i,r)}function WZ(n,e){var i;return n.Db>>16==6?n.Cb.Th(n,6,Xt,e):(i=dr(u(Nn(u(qn(n,16),29)||(Sc(),DO),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function VZ(n,e){var i;return n.Db>>16==7?n.Cb.Th(n,1,EE,e):(i=dr(u(Nn(u(qn(n,16),29)||(Sc(),Jdn),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function JZ(n,e){var i;return n.Db>>16==9?n.Cb.Th(n,9,Qe,e):(i=dr(u(Nn(u(qn(n,16),29)||(Sc(),Ydn),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function fKn(n,e){var i;return n.Db>>16==5?n.Cb.Th(n,9,HO,e):(i=dr(u(Nn(u(qn(n,16),29)||(In(),_1),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function hKn(n,e){var i;return n.Db>>16==7?n.Cb.Th(n,6,Pf,e):(i=dr(u(Nn(u(qn(n,16),29)||(In(),q1),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function QZ(n,e){var i;return n.Db>>16==3?n.Cb.Th(n,0,ME,e):(i=dr(u(Nn(u(qn(n,16),29)||(In(),K1),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function lKn(){this.a=new wmn,this.g=new TA,this.j=new TA,this.b=new de,this.d=new TA,this.i=new TA,this.k=new de,this.c=new de,this.e=new de,this.f=new de}function x7e(n,e,t){var i,r,c;for(t<0&&(t=0),c=n.i,r=t;rZB)return I4(n,i);if(i==n)return!0}}return!1}function fy(n,e){var t,i,r;for(pu(n.a,e),n.e-=e.r+(0==n.a.c.length?0:n.c),r=ucn,i=new C(n.a);i.a>16==3?n.Cb.Th(n,12,Qe,e):(i=dr(u(Nn(u(qn(n,16),29)||(Sc(),Vdn),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function ZZ(n,e){var i;return n.Db>>16==11?n.Cb.Th(n,10,Qe,e):(i=dr(u(Nn(u(qn(n,16),29)||(Sc(),Qdn),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function aKn(n,e){var i;return n.Db>>16==10?n.Cb.Th(n,11,Ls,e):(i=dr(u(Nn(u(qn(n,16),29)||(In(),H1),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function dKn(n,e){var i;return n.Db>>16==10?n.Cb.Th(n,12,Ds,e):(i=dr(u(Nn(u(qn(n,16),29)||(In(),pg),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function ys(n){var e;return!(1&n.Bb)&&n.r&&n.r.Vh()&&(e=u(n.r,54),n.r=u(ba(n,e),142),n.r!=e&&4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,9,8,e,n.r))),n.r}function wx(n,e,t){var i;return i=S(T(Ai,1),Mr,28,15,[Mnn(n,(yf(),vc),e,t),Mnn(n,Zc,e,t),Mnn(n,pc,e,t)]),n.f&&(i[0]=y.Math.max(i[0],i[2]),i[2]=i[0]),i}function U7e(n,e){var t,i,r;if(0!=(r=function b9e(n,e){var t,i,r;for(r=new Vc(e.gc()),i=e.Kc();i.Ob();)(t=u(i.Pb(),293)).c==t.f?$4(n,t,t.c):xje(n,t)||Rn(r.c,t);return r}(n,e)).c.length)for(Jt(r,new Pgn),t=r.c.length,i=0;i>19)!=(l=e.h>>19)?l-h:(r=n.h)!=(f=e.h)?r-f:(i=n.m)!=(s=e.m)?i-s:n.l-e.l}function OA(){OA=N,ZA(),won=new Cn(Ztn,gon=D_),CT(),don=new Cn(nin,bon=L_),vA(),lon=new Cn(ein,aon=O_),hon=new Cn(tin,(Kn(),!0))}function U5(n,e,t){var i,r;i=e*t,L(n.g,154)?(r=Jv(n)).f.d?r.f.a||(n.d.a+=i+zf):(n.d.d-=i+zf,n.d.a+=i+zf):L(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function bKn(n,e,t){var i,r,c,s,f;for(r=n[t.g],f=new C(e.d);f.a0?n.b:0),++t;e.b=i,e.e=r}function wKn(n){var e,t,i;if(uCn(n.i,(i=n.b).length)){for(n.b=K(b_,Ky,303,t=2*i.length,0,1),n.c=K(b_,Ky,303,t,0,1),n.f=t-1,n.i=0,e=n.a;e;e=e.c)py(n,e,e);++n.g}}function G5(n,e){return n.b.a=y.Math.min(n.b.a,e.c),n.b.b=y.Math.min(n.b.b,e.d),n.a.a=y.Math.max(n.a.a,e.c),n.a.b=y.Math.max(n.a.b,e.d),Rn(n.c,e),!0}function Y7e(n,e,t){var i;(i=e.c.i).k==(Xn(),Ei)?(U(n,(V(),Af),u(m(i,Af),12)),U(n,Ss,u(m(i,Ss),12))):(U(n,(V(),Af),e.c),U(n,Ss,t.d))}function O4(n,e,t){var i,r,c,s,f,h;return f2(),s=e/2,c=t/2,f=1,h=1,(i=y.Math.abs(n.a))>s&&(f=s/i),(r=y.Math.abs(n.b))>c&&(h=c/r),lh(n,y.Math.min(f,h)),n}function gKn(){wC.call(this),this.e=-1,this.a=!1,this.p=Xi,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=Xi}function enn(){enn=N,jZn=Lu(Ke(Ke(Ke(new ei,(zi(),Uc),(nr(),Isn)),Uc,Osn),Gr,Lsn),Gr,msn),CZn=Ke(Ke(new ei,Uc,asn),Uc,ksn),EZn=Lu(new ei,Gr,jsn)}function hke(n,e){var t,i,r,c;for(c=new de,e.e=null,e.f=null,i=new C(e.i);i.a0)try{r=Io(e,Xi,nt)}catch(c){throw L(c=At(c),130)?M(new kT(c)):M(c)}return!n.a&&(n.a=new AL(n)),r<(t=n.a).i&&r>=0?u(D(t,r),58):null}(n,0==(r=e.c.length)?"":(Ln(0,e.c.length),Oe(e.c[0]))),i=1;i0&&(r=ren(n,(c&nt)%n.d.length,c,e))?r.nd(t):(i=n.ck(c,e,t),n.c.Fc(i),null)}function rnn(n,e){var t,i,r,c;switch(v1(n,e).Kl()){case 3:case 2:for(r=0,c=(t=l2(e)).i;r=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}(n,n)/KY(2.718281828459045,n))}function L4(n,e){var t;if(n.Yi()&&null!=e){for(t=0;t0&&(n.b+=2,n.a+=i):(n.b+=1,n.a+=y.Math.min(i,r))}function EKn(n){var e;e=u(m(u(is(n.b,0),40),(bc(),Qln)),107),U(n,(bt(),Um),new W(0,0)),bUn(new kk,n,e.b+e.c-F(R(m(n,Iq))),e.d+e.a-F(R(m(n,Oq))))}function CKn(n,e){var i;if(i=!1,Mi(e)&&(i=!0,Uv(n,new rw(Oe(e)))),i||L(e,242)&&(i=!0,Uv(n,new zE(YW(u(e,242))))),!i)throw M(new qL(tun))}function onn(n){var e,t;switch(u(m(Ki(n),(cn(),jhn)),429).g){case 0:return new W((e=n.n).a+(t=n.o).a/2,e.b+t.b/2);case 1:return new ir(n.n);default:return null}}function ay(){ay=N,vI=new L6(Th,0),ofn=new L6("LEFTUP",1),ffn=new L6("RIGHTUP",2),ufn=new L6("LEFTDOWN",3),sfn=new L6("RIGHTDOWN",4),IH=new L6("BALANCED",5)}function snn(n,e,t){switch(e){case 1:return!n.n&&(n.n=new q(Tr,n,1,7)),pe(n.n),!n.n&&(n.n=new q(Tr,n,1,7)),void Bt(n.n,u(t,16));case 2:return void c4(n,Oe(t))}SY(n,e,t)}function fnn(n,e,t){switch(e){case 3:return void U0(n,F(R(t)));case 4:return void G0(n,F(R(t)));case 5:return void ru(n,F(R(t)));case 6:return void cu(n,F(R(t)))}snn(n,e,t)}function LA(n,e,t){var r,c;(r=qf(c=new $L,e,null))&&r.oj(),Jc(c,t),me((!n.c&&(n.c=new q(Fb,n,12,10)),n.c),c),b1(c,0),bw(c,1),m1(c,!0),p1(c,!0)}function hnn(n,e){var t,r;return L(t=A6(n.i,e),241)?((r=u(t,241)).zi(),r.wi()):L(t,507)?r=u(t,2037).b:null}function Ske(n,e,t,i){var r,c;return Se(e),Se(t),QNn(!!(c=u(J6(n.d,e),17)),"Row %s not in %s",e,n.e),QNn(!!(r=u(J6(n.b,t),17)),"Column %s not in %s",t,n.c),sxn(n,c.a,r.a,i)}function MKn(n,e,t,i,r,c,s){var f,h,l,a,d;if(d=URn(f=(l=c==s-1)?i:0,a=r[c]),10!=i&&S(T(n,s-c),e[c],t[c],f,d),!l)for(++c,h=0;h1||-1==f?(c=u(h,15),r.Wb(function l8e(n,e){var i,r,c;for(r=new Vc(e.gc()),i=e.Kc();i.Ob();)(c=nB(n,u(i.Pb(),58)))&&Rn(r.c,c);return r}(n,c))):r.Wb(nB(n,u(h,58))))}function Fke(n,e){var t,i,r;for(r=new WE(new rd(n.b).a.vc().Kc());r.a.Ob();)if(t=u(r.a.Pb(),44),i=u(t.ld(),34),UX(e,u(i,17))<0)return!1;return!0}function xke(n,e){var t,i,r;for(r=new WE(new rd(n.b).a.vc().Kc());r.a.Ob();)if(t=u(r.a.Pb(),44),i=u(t.ld(),34),UX(e,u(i,17))>0)return!1;return!0}function Rke(n){switch(u(m(n.b,(cn(),whn)),387).g){case 1:_t(Kr(uc(new Mn(null,new Pn(n.d,16)),new yvn),new jvn),new Evn);break;case 2:!function NAe(n){var e,t,i,r,c,s,f;for(i=0,f=0,s=new C(n.d);s.a=n.f)break;Rn(c.c,t)}return c}function Qke(n,e){var t,i,c,s;for(c=new C(e.a);c.a0&&eKn(this,this.c-1,(en(),Zn)),this.c0&&n[0].length>0&&(this.c=on(un(m(Ki(n[0][0]),(V(),Cfn))))),this.a=K(Tie,J,2117,n.length,0,2),this.b=K(Aie,J,2118,n.length,0,2),this.d=new Vxn}function tye(n){return 0!=n.c.length&&((Ln(0,n.c.length),u(n.c[0],18)).c.i.k==(Xn(),Ei)||zg(Kr(new Mn(null,new Pn(n,16)),new tpn),new ipn))}function NKn(n,e){var i,r,c,s,f,h;for(f=Aw(e),s=y.Math.sqrt((c=e.f)*c+(h=e.g)*h),r=0,i=new C(f);i.a=0?(t=ly(n,gS),i=ty(n,gS)):(t=ly(e=ia(n,1),5e8),i=Yi(Us(i=ty(e,5e8),1),vi(n,1))),vf(Us(i,32),vi(t,vr))}function xKn(n,e,t){var i;switch(oe(0!=e.b),i=u(Qo(e,e.a.a),8),t.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return ck(ge(e,0),i),e}function BKn(n,e,t,i){var r,c,s,f;switch(f=IZ(s=(c=e.d).j,n.b.d[s.g],t),r=et(Bi(c.n),c.a),c.j.g){case 1:case 3:f.a+=r.a;break;case 2:case 4:f.b+=r.b}Nt(i,f,i.c.b,i.c)}function bye(n,e,t){var i,r,c,s;for(s=Hr(n.e,e,0),(c=new mz).b=t,i=new Ni(n.e,s);i.b=0;e--)ion[e]=i,i*=.5;for(t=1,n=24;n>=0;n--)ton[n]=t,t*=.5}function kye(n){var e,t;if(on(un(z(n,(cn(),ng)))))for(t=new ie(ce(xl(n).a.Kc(),new Vn));ve(t);)if(tb(e=u(fe(t),74))&&on(un(z(e,Vd))))return!0;return!1}function RKn(n,e){var t,i,r;oi(n.f,e)&&(e.b=n,-1!=Hr(n.j,i=e.c,0)||nn(n.j,i),-1!=Hr(n.j,r=e.d,0)||nn(n.j,r),0!=(t=e.a.b).c.length&&(!n.i&&(n.i=new uRn(n)),function Mme(n,e){var t,i;for(i=new C(e);i.a=0&&Tn(n.substr(e,3),"GMT")||e>=0&&Tn(n.substr(e,3),"UTC"))&&(t[0]=e+3),function etn(n,e,t){var i,r,c,s;if(e[0]>=n.length)return t.o=0,!0;switch(Gi(n,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++e[0],c=e[0],0==(s=KA(n,e))&&e[0]==c)return!1;if(e[0]0&&Nc(n.g,e,n.g,e+i,f),s=t.Kc(),n.i+=i,r=0;r=sr?(t=56320+(n-sr&1023)&ri,String.fromCharCode(Uy+(n-sr>>10&1023)&ri)+""+String.fromCharCode(t)):String.fromCharCode(n&ri)}function HKn(n,e,t,i,r){var c,s,f;for(c=Aqn(n,e,t,i,r),f=!1;!c;)HA(n,r,!0),f=!0,c=Aqn(n,e,t,i,r);f&&HA(n,r,!1),0!=(s=sF(r)).c.length&&(n.d&&n.d.Gg(s),HKn(n,r,t,i,s))}function FA(){FA=N,RU=new F6(Th,0),Edn=new F6("DIRECTED",1),Mdn=new F6("UNDIRECTED",2),ydn=new F6("ASSOCIATION",3),Cdn=new F6("GENERALIZATION",4),jdn=new F6("DEPENDENCY",5)}function D4(n,e){var t,i;for(Jn(e),i=n.b.c.length,nn(n.b,e);i>0;){if(t=i,n.a.Ne(sn(n.b,i=(i-1)/2|0),e)<=0)return Vo(n.b,t,e),!0;Vo(n.b,t,sn(n.b,i))}return Vo(n.b,i,e),!0}function Mnn(n,e,t,i){var r,c;if(r=0,t)r=nA(n.a[t.g][e.g],i);else for(c=0;c=f}function qKn(n){switch(n.g){case 0:return new u4n;case 1:return new o4n;default:throw M(new Un("No implementation is available for the width approximator "+(null!=n.f?n.f:""+n.g)))}}function Tnn(n,e,t,i){var r;if(r=!1,Mi(i)&&(r=!0,N3(e,t,Oe(i))),r||Vb(i)&&(r=!0,Tnn(n,e,t,i)),r||L(i,242)&&(r=!0,wd(e,t,u(i,242))),!r)throw M(new qL(tun))}function UKn(n,e){var t,i,r,c;if(Jn(e),(c=n.a.gc())=T1?"error":"warn",n.a),n.b&&Ien(e,t,n.b,"Exception: ",!0))}function m(n,e){var t;return!n.q&&(n.q=new de),ee(n.q,e)??(L(t=e.Sg(),4)&&(null==t?(!n.q&&(n.q=new de),Yv(n.q,e)):(!n.q&&(n.q=new de),Xe(n.q,e,t))),t)}function zi(){zi=N,nf=new M7("P1_CYCLE_BREAKING",0),rl=new M7("P2_LAYERING",1),$c=new M7("P3_NODE_ORDERING",2),Uc=new M7("P4_NODE_PLACEMENT",3),Gr=new M7("P5_EDGE_ROUTING",4)}function zye(n,e){var t;if(p5(),n.c==e.c){if(n.b==e.b||function Z4e(n,e){return a4(),n==mb&&e==Gw||n==Gw&&e==mb||n==S2&&e==Uw||n==Uw&&e==S2}(n.b,e.b)){if(t=function Cle(n){return n==mb||n==Gw}(n.b)?1:-1,n.a&&!e.a)return t;if(!n.a&&e.a)return-t}return Tc(n.b.g,e.b.g)}return at(n.c,e.c)}function VKn(n,e){var t,i;if(Inn(n,e))return!0;for(i=new C(e);i.a=(r=n.Ej())||e<0)throw M(new Ar(qK+e+_d+r));if(t>=r||t<0)throw M(new Ar(UK+t+_d+r));return e!=t?(c=n.Cj(t),n.qj(e,c),i=c):i=n.xj(t),i}function YKn(n){var e,t,i;if(i=n,n)for(e=0,t=n.Eh();t;t=t.Eh()){if(++e>ZB)return YKn(t);if(i=t,t==n)throw M(new Sr("There is a cycle in the containment hierarchy of "+n))}return i}function pa(n){var e,t,i;for(i=new Cd(cr,"[","]"),t=n.Kc();t.Ob();)Al(i,x(e=t.Pb())===x(n)?"(this Collection)":null==e?yu:Jr(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Inn(n,e){var t,i;if(i=!1,e.gc()<2)return!1;for(t=0;t1&&(n.j.b+=n.e)):(n.j.a+=t.a,n.j.b=y.Math.max(n.j.b,t.b),n.d.c.length>1&&(n.j.a+=n.e))}function ma(){ma=N,hne=S(T(fr,1),Pc,64,0,[(en(),zn),Zn,ae]),fne=S(T(fr,1),Pc,64,0,[Zn,ae,Wn]),lne=S(T(fr,1),Pc,64,0,[ae,Wn,zn]),ane=S(T(fr,1),Pc,64,0,[Wn,zn,Zn])}function Wye(n,e,t,i){var r,s,f,h,a;if((s=n.c.d).j!=(f=n.d.d).j)for(a=n.b,r=s.j,h=null;r!=f.j;)h=0==e?rA(r):JY(r),xe(i,et(IZ(r,a.d[r.g],t),IZ(h,a.d[h.g],t))),r=h}function Vye(n,e,t,i){var r,c,s,f,h;return f=u((s=tKn(n.a,e,t)).a,17).a,c=u(s.b,17).a,i&&(h=u(m(e,(V(),Wu)),10),r=u(m(t,Wu),10),h&&r&&(qLn(n.b,h,r),f+=n.b.i,c+=n.b.e)),f>c}function n_n(n){var e,t,i,r,c,f,h,l;for(this.a=ERn(n),this.b=new Z,i=0,r=(t=n).length;i0&&(n.a[Fh.p]=H0n++)}for(r7=0,Ko=0,hf=(It=t).length;Ko0;){for(oe(lv.b>0),c3=0,f=new C((Fh=u(lv.a.Xb(lv.c=--lv.b),12)).e);f.a0&&(Fh.j==(en(),zn)?(n.a[Fh.p]=r7,++r7):(n.a[Fh.p]=r7+lf+i3,++i3))}r7+=i3}for(Kb=new de,p=new hh,Zu=0,hv=(te=e).length;Zul.b&&(l.b=xh)):Fh.i.c==Bse&&(xhl.c&&(l.c=xh));for(V3(k,0,k.length,null),u3=K(ye,_e,28,k.length,15,1),i=K(ye,_e,28,r7+1,15,1),A=0;A0;)tn%2>0&&(r+=cG[tn+1]),++cG[tn=(tn-1)/2|0];for(kn=K(Nie,xn,374,2*k.length,0,1),$=0;$eN(n.d).c?(n.i+=n.g.c,_F(n.d)):eN(n.d).c>eN(n.g).c?(n.e+=n.d.c,_F(n.g)):(n.i+=lPn(n.g),n.e+=lPn(n.d),_F(n.g),_F(n.d))}function t_n(n,e,t,i){n.a.d=y.Math.min(e,t),n.a.a=y.Math.max(e,i)-n.a.d,ef&&(h=f/i),(r=y.Math.abs(e.b-n.b))>c&&(l=c/r),s=y.Math.min(h,l),n.a+=s*(e.a-n.a),n.b+=s*(e.b-n.b)}function ije(n,e,t,i,r){var c,s;for(s=!1,c=u(sn(t.b,0),27);LPe(n,e,c,i,r)&&(s=!0,Dke(t,c),0!=t.b.c.length);)c=u(sn(t.b,0),27);return 0==t.b.c.length&&fy(t.j,t),s&&SA(e.q),s}function rje(n,e){var t,i,r,c;if(f2(),e.b<2)return!1;for(i=t=u(be(c=ge(e,0)),8);c.b!=c.d.c;){if(Hx(n,i,r=u(be(c),8)))return!0;i=r}return!!Hx(n,i,t)}function Lnn(n,e,t,i){return 0==t?(!n.o&&(n.o=new Du((Sc(),ll),R1,n,0)),fM(n.o,e,i)):u(Nn(u(qn(n,16),29)||n.ii(),t),69).wk().Ak(n,uu(n),t-se(n.ii()),e,i)}function Tx(n,e){var t;e!=n.sb?(t=null,n.sb&&(t=u(n.sb,54).Th(n,1,z9,t)),e&&(t=u(e,54).Rh(n,1,z9,t)),(t=UY(n,e,t))&&t.oj()):4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,4,e,e))}function r_n(n,e){var t,i;i=u(m(e,(cn(),Kt)),101),U(e,(V(),Pfn),i),(t=e.e)&&(_t(new Mn(null,new Pn(t.a,16)),new ZG(n)),_t(uc(new Mn(null,new Pn(t.b,16)),new hG),new nz(n)))}function Xn(){Xn=N,Ut=new P6("NORMAL",0),Ei=new P6("LONG_EDGE",1),Qt=new P6("EXTERNAL_PORT",2),Gc=new P6("NORTH_SOUTH_PORT",3),Oc=new P6("LABEL",4),Jf=new P6("BREAKING_POINT",5)}function c_n(n,e){var t,i,r;return(e&=63)<22?(t=n.l<>22-e,r=n.h<>22-e):e<44?(t=0,i=n.l<>44-e):(t=0,i=0,r=n.l<n)throw M(new Un("k must be smaller than n"));return 0==e||e==n?1:0==n?0:cnn(n)/(cnn(e)*cnn(n-e))}function Dnn(n,e){var t,i,r,c;for(t=new VX(n);null!=t.g||t.c?null==t.g||0!=t.i&&u(t.g[t.i-1],51).Ob():AJ(t);)if(L(c=u(qA(t),58),167))for(i=u(c,167),r=0;r0&&Ty(n,t,e),r):function aCe(n,e,t){var i,r,c;return r=n.c[t.c.p][t.p],null!=(i=n.c[e.c.p][e.p]).a&&null!=r.a?((c=TN(i.a,r.a))<0?Ty(n,e,t):c>0&&Ty(n,t,e),c):null!=i.a?(Ty(n,e,t),-1):null!=r.a?(Ty(n,t,e),1):0}(n,e,t)}function ka(){ka=N,Ue(),dce=Wp,bce=r0,fce=i0,hce=tv,lce=Ra,sce=ev,v1n=lE,ace=hg,Xen(),zq=Qre,Xq=Yre,m1n=tce,Wq=cce,k1n=ice,y1n=rce,p1n=Zre,uO=nce,oO=ece,Zj=uce,j1n=oce,g1n=Jre}function s_n(n,e){var t,i,r,c,s;if(n.e<=e||function W2e(n,e,t){var i;return(i=s8(n,e,!1)).b<=e&&i.a<=t}(n,n.g,e))return n.g;for(s=n.r,r=((c=n.r)-(i=n.g))/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=t.a,n.e.b=y.Math.max(n.e.b,t.b),n.d.c.length>1&&(n.e.a+=n.a))}function Pje(n){var e,t,i,r;switch(e=(r=n.i).b,i=r.j,t=r.g,r.a.g){case 0:t.a=(n.g.b.o.a-i.a)/2;break;case 1:t.a=e.d.n.a+e.d.a.a;break;case 2:t.a=e.d.n.a+e.d.a.a-i.a;break;case 3:t.b=e.d.n.b+e.d.a.b}}function h_n(n,e,t,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function Oje(n){if(L(n,143))return function sTe(n){var t,i,l,a,d;return d=Enn(n),null!=n.a&&N3(d,"category",n.a),!v7(new rd(n.d))&&(kf(d,"knownOptions",l=new td),t=new ayn(l),_i(new rd(n.d),t)),!v7(n.g)&&(kf(d,"supportedFeatures",a=new td),i=new dyn(a),_i(n.g,i)),d}(u(n,143));if(L(n,233))return function Y5e(n){var e,r,c;return c=Enn(n),!v7(n.c)&&(kf(c,"knownLayouters",r=new td),e=new byn(r),_i(n.c,e)),c}(u(n,233));if(L(n,23))return function fje(n){var e,h,l;return l=Enn(n),null!=n.e&&N3(l,cP,n.e),!!n.k&&N3(l,"type",YD(n.k)),!v7(n.j)&&(h=new td,kf(l,_K,h),e=new wyn(h),_i(n.j,e)),l}(u(n,23));throw M(new Un(iun+pa(new _u(S(T(pi,1),xn,1,5,[n])))))}function xnn(n,e,t,i){var r,c;if(e.k==(Xn(),Ei))for(c=new ie(ce(ki(e).a.Kc(),new Vn));ve(c);)if((r=u(fe(c),18)).c.i.k==Ei&&n.c.a[r.c.i.c.p]==i&&n.c.a[e.c.p]==t)return!0;return!1}function l_n(n,e,t,i){var r;this.b=i,this.e=n==(z0(),g9),this.d=hd(fo,[J,el],[183,28],16,[(r=e[t]).length,r.length],2),this.a=hd(ye,[J,_e],[53,28],15,[r.length,r.length],2),this.c=new pnn(e,t)}function Nje(n){var t,i;for(n.k=new IJ((en(),S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn])).length,n.j.c.length),i=new C(n.j);i.a=t)return $4(n,e,i.p),!0;return!1}function c2(n,e,t,i){var r,c,s,f,h,l;for(s=t.length,c=0,r=-1,l=r$n((Gn(e,n.length+1),n.substr(e)),(uN(),non)),f=0;fc&&owe(l,r$n(t[f],non))&&(r=f,c=h);return r>=0&&(i[0]=e+c),r}function d_n(n){var e;return 64&n.Db?Ax(n):(e=new yo(zcn),!n.a||Re(Re((e.a+=' "',e),n.a),'"'),Re(v0(Re(v0(Re(v0(Re(v0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function b_n(n,e,t){var i,r,c,s,f;for(f=ou(n.e.Dh(),e),r=u(n.g,124),i=0,s=0;s0&&v_n(n,c,t));e.p=0}function ln(n){var e;this.c=new yt,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,this.j=n.i?n.i:new Go(e=u(df(ol),9),u(Hs(e,e.length),9),0),this.g=n.f}function p_n(n,e,t){var i,r,c;if(!(t<=e+2))for(r=(t-e)/2|0,i=0;i=0?n.ki(r):Qnn(n,i)}else Zo(n,t,i)}function Bnn(n){var e,t;if(t=null,e=!1,L(n,211)&&(e=!0,t=u(n,211).a),e||L(n,263)&&(e=!0,t=""+u(n,263).a),e||L(n,493)&&(e=!0,t=""+u(n,493).a),!e)throw M(new qL(tun));return t}function Rnn(n,e,t){var i,r,s,f,h;for(h=ou(n.e.Dh(),e),i=0,f=n.i,r=u(n.g,124),s=0;s=n.d.b.c.length&&((e=new xc(n.d)).p=i.p-1,nn(n.d.b,e),(t=new xc(n.d)).p=i.p,nn(n.d.b,t)),Di(i,u(sn(n.d.b,i.p),30))}function Hnn(n,e,t){var i,r,c;if(!n.b[e.g]){for(n.b[e.g]=!0,!(i=t)&&(i=new kk),xe(i.b,e),c=n.a[e.g].Kc();c.Ob();)(r=u(c.Pb(),65)).b!=e&&Hnn(n,r.b,i),r.c!=e&&Hnn(n,r.c,i),xe(i.a,r);return i}return null}function Gje(n,e){var t;return 0!=n.c.length&&(t=$Bn((Ln(0,n.c.length),u(n.c[0],18)).c.i),Eo(),t==(kw(),U2)||t==q2||zg(Kr(new Mn(null,new Pn(n,16)),new rpn),new ekn(e)))}function Ox(n,e){if(L(e,207))return function Rle(n,e){return FT(xN(n.g),e)}(n,u(e,27));if(L(e,193))return function Kle(n,e){return FT(xN(n.j),e)}(n,u(e,123));if(L(e,452))return function Ble(n,e){return FT(xN(n.d),e)}(n,u(e,166));throw M(new Un(iun+pa(new _u(S(T(pi,1),xn,1,5,[e])))))}function E_n(n,e,t){var i,r;if(this.f=n,uQ(t,r=(i=u(ee(n.b,e),260))?i.a:0),t>=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)IQ(this);this.b=e,this.a=null}function zje(n,e){var t,i;e.a?function TTe(n,e){var t;if(!ik(n.b,e.b))throw M(new Sr("Invalid hitboxes for scanline constraint calculation."));(ixn(e.b,u(function Khe(n,e){return n.a.Yc(e)}(n.b,e.b),60))||ixn(e.b,u(function Rhe(n,e){return n.a.Xc(e)}(n.b,e.b),60)))&&(ml(),String.fromCharCode(10)),n.a[e.b.f]=u(nD(n.b,e.b),60),(t=u(ZL(n.b,e.b),60))&&(n.a[t.f]=e.b)}(n,e):((t=u(nD(n.b,e.b),60))&&t==n.a[e.b.f]&&t.a&&t.a!=e.b.a&&t.c.Fc(e.b),(i=u(ZL(n.b,e.b),60))&&n.a[i.f]==e.b&&i.a&&i.a!=e.b.a&&e.b.c.Fc(i),XD(n.b,e.b))}function C_n(n,e){var t,i;if(t=u(Er(n.b,e),127),u(u(ut(n.r,e),21),87).dc())return t.n.b=0,void(t.n.c=0);t.n.b=n.C.b,t.n.c=n.C.c,n.A.Hc((mo(),u0))&&Jqn(n,e),i=function k9e(n,e){var t,i,r;for(r=0,i=u(u(ut(n.r,e),21),87).Kc();i.Ob();)r+=(t=u(i.Pb(),117)).d.b+t.b.Mf().a+t.d.c,i.Ob()&&(r+=n.w);return r}(n,e),Ux(n,e)==(Zg(),_a)&&(i+=2*n.w),t.a.a=i}function M_n(n,e){var t,i;if(t=u(Er(n.b,e),127),u(u(ut(n.r,e),21),87).dc())return t.n.d=0,void(t.n.a=0);t.n.d=n.C.d,t.n.a=n.C.a,n.A.Hc((mo(),u0))&&Qqn(n,e),i=function m9e(n,e){var t,i,r;for(r=0,i=u(u(ut(n.r,e),21),87).Kc();i.Ob();)r+=(t=u(i.Pb(),117)).d.d+t.b.Mf().b+t.d.a,i.Ob()&&(r+=n.w);return r}(n,e),Ux(n,e)==(Zg(),_a)&&(i+=2*n.w),t.a.b=i}function Xje(n,e){var t,i,r,c;for(c=new Z,i=new C(e);i.ai&&(Gn(e-1,n.length),n.charCodeAt(e-1)<=32);)--e;return i>0||et.a&&(i.Hc((Id(),L9))?r=(e.a-t.a)/2:i.Hc(D9)&&(r=e.a-t.a)),e.b>t.b&&(i.Hc((Id(),$9))?c=(e.b-t.b)/2:i.Hc(N9)&&(c=e.b-t.b)),Ann(n,r,c)}function L_n(n,e,t,i,r,c,s,f,h,l,a,d,g){L(n.Cb,90)&&Mw(no(u(n.Cb,90)),4),Jc(n,t),n.f=s,j4(n,f),C4(n,h),y4(n,l),E4(n,a),m1(n,d),M4(n,g),p1(n,!0),b1(n,r),n.Zk(c),Ad(n,e),null!=i&&(n.i=null,RT(n,i))}function Xnn(n,e,t){if(n<0)return t8(Pzn,S(T(pi,1),xn,1,5,[t,Y(n)]));if(e<0)throw M(new Un(Izn+e));return t8("%s (%s) must not be greater than size (%s)",S(T(pi,1),xn,1,5,[t,Y(n),Y(e)]))}function Wnn(n,e,t,i,r,c){var f,h,l;if(i-t<7)!function _5e(n,e,t,i){var r,c,s;for(r=e+1;re&&i.Ne(n[c-1],n[c])>0;--c)s=n[c],Dt(n,c,n[c-1]),Dt(n,c-1,s)}(e,t,i,c);else if(Wnn(e,n,h=t+r,l=h+((f=i+r)-h>>1),-r,c),Wnn(e,n,l,f,-r,c),c.Ne(n[l-1],n[l])<=0)for(;t=i||e=0?n.bi(c,t):Cen(n,r,t)}else ns(n,i,r,t)}function D_n(n){var e,t;if(n.f){for(;n.n>0;){if(L(t=(e=u(n.k.Xb(n.n-1),76)).Lk(),102)&&u(t,19).Bb&Cc&&(!n.e||t.pk()!=e6||0!=t.Lj())&&null!=e.md())return!0;--n.n}return!1}return n.n>0}function N_n(n){var e,t,i,r;if(t=u(n,54)._h())try{if(i=null,(e=x4((Y1(),Ns),mUn(function Z5e(n){return null==n.e?n:(!n.c&&(n.c=new zx(0!=(256&n.f),n.i,n.a,n.d,0!=(16&n.f),n.j,n.g,null)),n.c)}(t))))&&(r=e.ai())&&(i=r.Fl(function nhe(n){return Jn(n),n}(t.e))),i&&i!=n)return N_n(i)}catch(c){if(!L(c=At(c),63))throw M(c)}return n}function fEe(n,e,t){var i,r;t.Ug("Remove overlaps",1),t.dh(e,ccn),i=u(z(e,(_g(),X2)),27),n.f=i,n.a=QF(u(z(e,(ka(),Zj)),300)),KG(n,(Jn(r=R(z(e,(Ue(),r0)))),r)),_Gn(n,e,Aw(i),t),t.dh(e,QS)}function $_n(n){if(!n)return $jn(),vQn;var e=n.valueOf?n.valueOf():n;if(e!==n){var t=m_[typeof e];return t?t(e):xY(typeof e)}return n instanceof Array||n instanceof y.Array?new NG(n):new s7(n)}function F_n(n,e,t){var i,r,c;switch(c=n.o,(r=(i=u(Er(n.p,t),252)).i).b=V5(i),r.a=W5(i),r.b=y.Math.max(r.b,c.a),r.b>c.a&&!e&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}iB(i),rB(i)}function x_n(n,e,t){var i,r,c;switch(c=n.o,(r=(i=u(Er(n.p,t),252)).i).b=V5(i),r.a=W5(i),r.a=y.Math.max(r.a,c.b),r.a>c.b&&!e&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}iB(i),rB(i)}function dEe(n,e){var t,i,r,c;if(f2(),e.b<2)return!1;for(i=t=u(be(c=ge(e,0)),8);c.b!=c.d.c;){if(r=u(be(c),8),!o4(n,i)||!o4(n,r))return!1;i=r}return!(!o4(n,i)||!o4(n,t))}function Vnn(n,e){var s,f,h,l,d;return s=Ol(d=n,"x"),function G3e(n,e){ru(n,null==e||hM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}(new Zkn(e).a,s),f=Ol(d,"y"),function z3e(n,e){cu(n,null==e||hM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}(new nyn(e).a,f),h=Ol(d,xK),function X3e(n,e){G0(n,null==e||hM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}(new eyn(e).a,h),l=Ol(d,FK),function W3e(n,e){U0(n,null==e||hM((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}(new tyn(e).a,l),l}function Mw(n,e){Xqn(n,e),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function gEe(n){var e,t,i,r,c;if(null==n)return yu;for(c=new Cd(cr,"[","]"),i=0,r=(t=n).length;i(Ln(f+1,e.c.length),u(e.c[f+1],17)).a-i&&++l,nn(s,(Ln(f+l,e.c.length),u(e.c[f+l],17))),h+=(Ln(f+l,e.c.length),u(e.c[f+l],17)).a-i,++t;t=0?n.Lh(t,!0,!0):ib(n,r,!0),160),u(i,220).Zl(e)}function Ynn(n){var e,t;return n>-0x800000000000&&n<0x800000000000?0==n?0:((e=n<0)&&(n=-n),t=di(y.Math.floor(y.Math.log(n)/.6931471805599453)),(!e||n!=y.Math.pow(2,t))&&++t,t):nxn(Ec(n))}function LEe(n,e,t){t.Ug("Eades radial",1),t.dh(e,QS),n.d=u(z(e,(_g(),X2)),27),n.c=F(R(z(e,(ka(),oO)))),n.e=QF(u(z(e,Zj),300)),n.a=function o8e(n){switch(n.g){case 0:return new Q3n;case 1:return new Y3n;default:throw M(new Un(wK+(null!=n.f?n.f:""+n.g)))}}(u(z(e,j1n),434)),n.b=function Ake(n){switch(n.g){case 1:return new G3n;case 2:return new z3n;case 3:return new U3n;case 0:return null;default:throw M(new Un(wK+(null!=n.f?n.f:""+n.g)))}}(u(z(e,p1n),354)),function fke(n){var e,t,i,r,c;if(i=0,r=p2,n.b)for(e=0;e<360;e++)Yen(n,n.d,0,0,Rd,t=.017453292519943295*e),(c=n.b.Dg(n.d))=(c=s.gc()))s.$b();else for(r=s.Kc(),i=0;i0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}else f=Xjn(nF(cw(rt(zV(n.a),new fbn),new hbn)));return f>0?f+n.n.d+n.n.a:0}function V5(n){var e,t,i,r,c,f;if(f=0,0==n.b)f=Xjn(nF(cw(rt(zV(n.a),new obn),new sbn)));else{for(e=0,r=0,c=(i=ORn(n,!0)).length;r0&&(f+=t,++e);e>1&&(f+=n.c*(e-1))}return f>0?f+n.n.b+n.n.c:0}function KEe(n){var e,t;if(2!=n.c.length)throw M(new Sr("Order only allowed for two paths."));Ln(0,n.c.length),e=u(n.c[0],18),Ln(1,n.c.length),t=u(n.c[1],18),e.d.i!=t.c.i&&(n.c.length=0,Rn(n.c,t),Rn(n.c,e))}function V_n(n,e,t){var i;for($g(t,e.g,e.f),qo(t,e.i,e.j),i=0;i<(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i;i++)V_n(n,u(D((!e.a&&(e.a=new q(Qe,e,10,11)),e.a),i),27),u(D((!t.a&&(t.a=new q(Qe,t,10,11)),t.a),i),27))}function J_n(n){var e,t;return(t=new V1).a+="e_",null!=(e=function Fme(n){return 0!=n.b.c.length&&u(sn(n.b,0),72).a?u(sn(n.b,0),72).a:qN(n)}(n))&&(t.a+=""+e),n.c&&n.d&&(Re((t.a+=" ",t),IA(n.c)),Re(Fc((t.a+="[",t),n.c.i),"]"),Re((t.a+=AR,t),IA(n.d)),Re(Fc((t.a+="[",t),n.d.i),"]")),t.a}function Q_n(n){switch(n.g){case 0:return new g8n;case 1:return new v8n;case 2:return new b8n;case 3:return new d8n;default:throw M(new Un("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function een(n,e,t,i,r){var c;switch(c=0,r.g){case 1:c=y.Math.max(0,e.b+n.b-(t.b+i));break;case 3:c=y.Math.max(0,-n.b-i);break;case 2:c=y.Math.max(0,-n.a-i);break;case 4:c=y.Math.max(0,e.a+n.a-(t.a+i))}return c}function ten(n){var e,t;switch(n.b){case-1:return!0;case 0:return(t=n.t)>1||-1==t||(e=ys(n))&&(ar(),e.lk()==pJn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function ien(n,e){var t,i,r,c;if(Ye(n),0!=n.c||123!=n.a)throw M(new De($e((Ie(),KVn))));if(c=112==e,(t=A3(n.i,125,i=n.d))<0)throw M(new De($e((Ie(),_Vn))));return r=Xo(n.i,i,t),n.d=t+1,yNn(r,c,512==(512&n.e))}function Y_n(n){var e,t,i,r,c,s,f;if((i=n.a.c.length)>0)for(s=n.c.d,r=lh(gi(new W((f=n.d.d).a,f.b),s),1/(i+1)),c=new W(s.a,s.b),t=new C(n.a);t.a=0&&i=0?n.Lh(t,!0,!0):ib(n,r,!0),160),u(i,220).Wl(e);throw M(new Un(Aa+e.xe()+LK))}function KA(n,e){var t,i,r;if(r=0,(i=e[0])>=n.length)return-1;for(Gn(i,n.length),t=n.charCodeAt(i);t>=48&&t<=57&&(r=10*r+(t-48),!(++i>=n.length));)Gn(i,n.length),t=n.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function YEe(n,e,t){var i,r,s,f;s=n.c,f=n.d,r=(oc(S(T(yi,1),J,8,0,[s.i.n,s.n,s.a])).b+oc(S(T(yi,1),J,8,0,[f.i.n,f.n,f.a])).b)/2,i=s.j==(en(),Zn)?new W(e+s.i.c.c.a+t,r):new W(e-t,r),S3(n.a,0,i)}function tb(n){var e,i,r;for(e=null,i=qh(To(S(T(No,1),xn,20,0,[(!n.b&&(n.b=new Dn(he,n,4,7)),n.b),(!n.c&&(n.c=new Dn(he,n,5,8)),n.c)])));ve(i);)if(r=Ur(u(fe(i),84)),e){if(e!=r)return!1}else e=r;return!0}function $x(n,e,t){var i;if(++n.j,e>=n.i)throw M(new Ar(qK+e+_d+n.i));if(t>=n.i)throw M(new Ar(UK+t+_d+n.i));return i=n.g[t],e!=t&&(e>16)>>16&16),t+=e=(n>>=e)-256>>16&8,t+=e=(n<<=e)-Nw>>16&4,(t+=e=(n<<=e)-yh>>16&2)+2-(e=(i=(n<<=e)>>14)&~(i>>1)))}function ZEe(n){var e,t,i,r;for(Xv(),xP=new Z,H_=new de,__=new Z,!n.a&&(n.a=new q(Qe,n,10,11)),function qLe(n){var e,t,r,s,f,h,l,d,g,v;for(e=new de,h=new ne(n);h.e!=h.i.gc();){for(f=u(ue(h),27),t=new Yt,Xe(H_,f,t),v=new Rbn,r=u(Vr(new Mn(null,new L0(new ie(ce(yy(f).a.Kc(),new Vn)))),gPn(v,Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)])))),85),J$n(t,u(r.xc((Kn(),!0)),16),new Kbn),s=u(Vr(rt(u(r.xc(!1),15).Lc(),new _bn),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),15).Kc();s.Ob();)(g=JKn(u(s.Pb(),74)))&&((l=u(Rr(br(e.f,g)),21))||(l=mqn(g),Yc(e.f,g,l)),Fi(t,l));for(r=u(Vr(new Mn(null,new L0(new ie(ce(xl(f).a.Kc(),new Vn)))),gPn(v,Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr])))),85),J$n(t,u(r.xc(!0),16),new Hbn),d=u(Vr(rt(u(r.xc(!1),15).Lc(),new qbn),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),15).Kc();d.Ob();)(g=QKn(u(d.Pb(),74)))&&((l=u(Rr(br(e.f,g)),21))||(l=mqn(g),Yc(e.f,g,l)),Fi(t,l))}}(e=n.a),r=new ne(e);r.e!=r.i.gc();)i=u(ue(r),27),-1==Hr(xP,i,0)&&(t=new Z,nn(__,t),tRn(i,t));return __}function eCe(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)(t=u(be(i),65)).c.g==n.g&&x(m(t.b,(bc(),Nh)))!==x(m(t.c,Nh))&&!zg(new Mn(null,new Pn(r,16)),new dkn(t))&&Rn(r.c,t);return Jt(r,new Upn),r}function nHn(n,e,t){var i,r,c,s;return L(e,153)&&L(t,153)?(c=u(e,153),s=u(t,153),n.a[c.a][s.a]+n.a[s.a][c.a]):L(e,250)&&L(t,250)&&(i=u(e,250),r=u(t,250),i.a==r.a)?u(m(r.a,(Js(),Np)),17).a:0}function eHn(n,e){var t,i,r,c,s,f,h,l;for(l=F(R(m(e,(cn(),h9)))),h=n[0].n.a+n[0].o.a+n[0].d.c+l,f=1;f0?1:E0(isNaN(i),isNaN(0)))>=0^(zs(Sh),(y.Math.abs(f)<=Sh||0==f||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:E0(isNaN(f),isNaN(0)))>=0)?y.Math.max(f,i):(zs(Sh),(y.Math.abs(i)<=Sh||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:E0(isNaN(i),isNaN(0)))>0?y.Math.sqrt(f*f+i*i):-y.Math.sqrt(f*f+i*i))}(c=i.b,s=r.b))>=0?t:(f=o5(gi(new W(s.c+s.b/2,s.d+s.a/2),new W(c.c+c.b/2,c.d+c.a/2))),-(AUn(c,s)-1)*f)}function ib(n,e,t){var i,r,c;if(c=a2(($u(),Ui),n.Dh(),e))return ar(),u(c,69).xk()||(c=Vv(Ir(Ui,c))),r=u((i=n.Ih(c))>=0?n.Lh(i,!0,!0):ib(n,c,!0),160),u(r,220).Sl(e,t);throw M(new Un(Aa+e.xe()+LK))}function ren(n,e,t,i){var r,c,s,f,h;if(r=n.d[e])if(c=r.g,h=r.i,null!=i){for(f=0;f>5),15,1))[t]=1<1;e>>=1)1&e&&(i=Gg(i,t)),t=1==t.d?Gg(t,t):new nRn(kUn(t.a,t.d,K(ye,_e,28,t.d<<1,15,1)));return Gg(i,t)}(n,e)}function tHn(n){var e,t,i;for(tX(),this.b=SZn,this.c=(ii(),eh),this.f=(dCn(),AZn),this.a=n,qz(this,new nwn),WA(this),i=new C(n.b);i.a=null.Um()?(qA(n),cen(n)):e.Ob()}function cHn(n){if(this.a=n,n.c.i.k==(Xn(),Qt))this.c=n.c,this.d=u(m(n.c.i,(V(),mc)),64);else{if(n.d.i.k!=Qt)throw M(new Un("Edge "+n+" is not an external edge."));this.c=n.d,this.d=u(m(n.d.i,(V(),mc)),64)}}function uHn(n,e){var t,r;r=n.b,n.b=e,4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,3,r,n.b)),e?e!=n&&(Jc(n,e.zb),q$(n,e.d),G$(n,null==(t=e.c??e.zb)||Tn(t,e.zb)?null:t)):(Jc(n,null),q$(n,0),G$(n,null))}function oHn(n,e){var t;this.e=(D0(),Se(n),D0(),mZ(n)),this.c=(Se(e),mZ(e)),sW(this.e.Rd().dc()==this.c.Rd().dc()),this.d=jBn(this.e),this.b=jBn(this.c),t=hd(pi,[J,xn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=t,function L4e(n){var e,t,i,r;for(i=0,r=(t=n.a).length;i0?up(t):ny(up(t)),ft(e,xm,c)}function lCe(n,e){var t,i,r,c,s;for(s=n.j,e.a!=e.b&&Jt(s,new Mvn),r=s.c.length/2|0,i=0;i=0;)s.am((i=t[c]).Lk())&&me(r,i);!fzn(n,r)&&ao(n.e)&&b3(n,e.Jk()?oa(n,6,e,(On(),Vi),null,-1,!1):oa(n,e.tk()?2:1,e,null,null,-1,!1))}function bCe(n,e){var i,r,s;return n.a==(N4(),Z8)||!(e.j&&(i=e.A,s=i.c.c.a-i.o.a/2,r=e.a.c-(i.n.a+i.o.a),r>s)||e.q&&(i=e.C,s=i.c.c.a-i.o.a/2,r=i.n.a-(e.a.c+e.a.b),r>s))}function wHn(n){var e,t,r,c,s,f;for(r$(),t=new h1,r=new C(n.e.b);r.a1?n.e*=F(n.a):n.f/=F(n.a),function F6e(n){var t,r;for(t=n.b.a.a.ec().Kc();t.Ob();)r=new VHn(u(t.Pb(),567),n.e,n.f),nn(n.g,r)}(n),H8e(n),function RAe(n){var i,r,c,s,d,g;for(r=function $Me(n){var e,t,i,r,c,s,f,h,l,a;for(t=n.o,e=n.p,s=nt,r=Xi,f=nt,c=Xi,l=0;l=0?n.Ah(null):n.Ph().Th(n,-1-e,null,null),n.Bh(u(r,54),t),i&&i.oj(),n.vh()&&n.wh()&&t>-1&&tt(n,new ji(n,9,t,c,r)),r):c}function hen(n,e){var i,r,c,s;for(c=n.b.Ce(e),i=n.a.get(c)??K(pi,xn,1,0,5,1),s=0;s>5)>=n.d)return n.e<0;if(t=n.a[r],e=1<<(31&e),n.e<0){if(r<(i=DFn(n)))return!1;t=i==r?-t:~t}return 0!=(t&e)}function aen(n,e){var t,i,r,c,s,f,h;if(c=e.e)for(t=xx(c),i=u(n.g,689),s=0;s>16)),15).dd(c))>e,c=n.m>>e|t<<22-e,r=n.l>>e|n.m<<22-e):e<44?(s=i?Kl:0,c=t>>e-22,r=n.m>>e-22|t<<44-e):(s=i?Kl:0,c=i?co:0,r=t>>e-44),eu(r&co,c&co,s&Kl)}function Bx(n){var e,t,i,r,c,s;for(this.c=new Z,this.d=n,i=Mt,r=Mt,e=fi,t=fi,s=ge(n,0);s.b!=s.d.c;)c=u(be(s),8),i=y.Math.min(i,c.a),r=y.Math.min(r,c.b),e=y.Math.max(e,c.a),t=y.Math.max(t,c.b);this.a=new zo(i,r,e-i,t-r)}function IHn(n,e){var i,c,s,f;for(c=new C(n.b);c.a0&&L(e,44)&&(n.a._j(),c=null==(h=(l=u(e,44)).ld())?0:wt(h),s=$W(n.a,c),t=n.a.d[s]))for(i=u(t.g,379),a=t.i,f=0;f=2)for(e=R((t=r.Kc()).Pb());t.Ob();)c=e,e=R(t.Pb()),i=y.Math.min(i,(Jn(e),e-(Jn(c),c)));return i}function FCe(n,e){var t,i,r;for(r=new Z,i=ge(e.a,0);i.b!=i.d.c;)(t=u(be(i),65)).b.g==n.g&&!Tn(t.b.c,VS)&&x(m(t.b,(bc(),Nh)))!==x(m(t.c,Nh))&&!zg(new Mn(null,new Pn(r,16)),new bkn(t))&&Rn(r.c,t);return Jt(r,new Wpn),r}function xCe(n,e){var t,i,r;if(x(e)===x(Se(n)))return!0;if(!L(e,15)||(i=u(e,15),(r=n.gc())!=i.gc()))return!1;if(L(i,59)){for(t=0;te.a&&(i.Hc((Id(),L9))?n.c.a+=(t.a-e.a)/2:i.Hc(D9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((Id(),$9))?n.c.b+=(t.b-e.b)/2:i.Hc(N9)&&(n.c.b+=t.b-e.b)),u(m(n,(V(),zc)),21).Hc((gr(),fs))&&(t.a>e.a||t.b>e.b))for(f=new C(n.a);f.a0&&(r=t),s=new C(n.f.e);s.a0&&r0):r<0&&-r0)}function YCe(n,e,t,i){var r,c,h,l,a,d;for(r=(e-n.d)/n.c.c.length,c=0,n.a+=t,n.d=e,d=new C(n.c);d.a=0&&Tn(n.substr(f,2),"//")?($i(f+=2,h=GF(n,f,W9,V9),n.length),i=n.substr(f,h-f),f=h):null!=d&&(f==n.length||(Gn(f,n.length),47!=n.charCodeAt(f)))&&(s=!1,-1==(h=dW(n,ku(35),f))&&(h=n.length),$i(f,h,n.length),i=n.substr(f,h-f),f=h);if(!t&&f0&&58==Gi(a,a.length-1)&&(r=a,f=h)),f0&&(Gn(0,t.length),47!=t.charCodeAt(0))))throw M(new Un("invalid opaquePart: "+t));if(n&&(null==e||!k7(_O,e.toLowerCase()))&&null!=t&&$F(t,W9,V9))throw M(new Un(uJn+t));if(n&&null!=e&&k7(_O,e.toLowerCase())&&!function Vke(n){if(null!=n&&n.length>0&&33==Gi(n,n.length-1))try{return null==BHn(Xo(n,0,n.length-1)).e}catch(t){if(!L(t=At(t),33))throw M(t)}return!1}(t))throw M(new Un(uJn+t));if(!function e8e(n){var e;return null==n||(e=n.length)>0&&(Gn(e-1,n.length),58==n.charCodeAt(e-1))&&!$F(n,W9,V9)}(i))throw M(new Un("invalid device: "+i));if(!function R6e(n){var e,t;if(null==n)return!1;for(e=0,t=n.length;e=0;e-=2)for(t=0;t<=e;t+=2)(n.b[t]>n.b[t+2]||n.b[t]===n.b[t+2]&&n.b[t+1]>n.b[t+3])&&(i=n.b[t+2],n.b[t+2]=n.b[t],n.b[t]=i,i=n.b[t+3],n.b[t+3]=n.b[t+1],n.b[t+1]=i);n.c=!0}}function rMe(n,e){var t,i,r,c,s,f,h,l,a;for(l=-1,a=0,f=0,h=(s=n).length;f0&&++a;++l}return a}function Ws(n){var t;return(t=new yo(sd(n.Rm))).a+="@",Re(t,(wt(n)>>>0).toString(16)),n.Vh()?(t.a+=" (eProxyURI: ",Fc(t,n._h()),n.Kh()&&(t.a+=" eClass: ",Fc(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",Fc(t,n.Kh()),t.a+=")"),t.a}function Y5(n){var e,t,r;if(n.e)throw M(new Sr((yl(I_),oR+I_.k+sR)));for(n.d==(ii(),eh)&&fS(n,$r),t=new C(n.a.a);t.a=0)return r;for(c=1,f=new C(e.j);f.a=0)return r;for(c=1,f=new C(e.j);f.a0&&e.Ne((Ln(r-1,n.c.length),u(n.c[r-1],10)),c)>0;)Vo(n,r,(Ln(r-1,n.c.length),u(n.c[r-1],10))),--r;Ln(r,n.c.length),n.c[r]=c}t.a=new de,t.b=new de}function zHn(n,e,t){var r;if(2==(n.c-n.b&n.a.length-1))e==(en(),zn)||e==Zn?(AT(u(T5(n),15),(Po(),sl)),AT(u(T5(n),15),Ka)):(AT(u(T5(n),15),(Po(),Ka)),AT(u(T5(n),15),sl));else for(r=new f5(n);r.a!=r.b;)AT(u(eA(r),15),t)}function dMe(n,e){var t,r,c,s,f,h;for(f=new Ni(r=D3(new rz(n)),r.c.length),h=new Ni(c=D3(new rz(e)),c.c.length),s=null;f.b>0&&h.b>0&&(oe(f.b>0),t=u(f.a.Xb(f.c=--f.b),27),oe(h.b>0),t==u(h.a.Xb(h.c=--h.b),27));)s=t;return s}function XHn(n,e,t){var i,r,c,s;WOn(n,e)>WOn(n,t)?(i=sc(t,(en(),Zn)),n.d=i.dc()?0:gN(u(i.Xb(0),12)),s=sc(e,Wn),n.b=s.dc()?0:gN(u(s.Xb(0),12))):(r=sc(t,(en(),Wn)),n.d=r.dc()?0:gN(u(r.Xb(0),12)),c=sc(e,Zn),n.b=c.dc()?0:gN(u(c.Xb(0),12)))}function WHn(n,e){var t,i,r,c;for(t=n.o.a,c=u(u(ut(n.r,e),21),87).Kc();c.Ob();)(r=u(c.Pb(),117)).e.a=t*F(R(r.b.of(DP))),r.e.b=(i=r.b).pf((Ue(),so))?i.ag()==(en(),zn)?-i.Mf().b-F(R(i.of(so))):F(R(i.of(so))):i.ag()==(en(),zn)?-i.Mf().b:0}function wMe(n){var e,t,i,r,c,s,f,h;e=!0,r=null,c=null;n:for(h=new C(n.a);h.a>1,n.k=t-1>>1}(this,this.d,this.c),function xEe(n){var e,t,i,r,c,s,f;for(t=QX(n.e),c=lh(W6(Bi(JX(n.e)),n.d*n.a,n.c*n.b),-.5),e=t.a-c.a,r=t.b-c.b,f=0;f0&&YIe(this,r)}function yen(n,e,t,i,r,c){var s,f,h;if(!r[e.a]){for(r[e.a]=!0,!(s=i)&&(s=new lT),nn(s.e,e),h=c[e.a].Kc();h.Ob();)(f=u(h.Pb(),290)).d!=t&&f.c!=t&&(f.c!=e&¥(n,f.c,e,s,r,c),f.d!=e&¥(n,f.d,e,s,r,c),nn(s.c,f),si(s.d,f.b));return s}return null}function vMe(n){var e,r,s;for(e=0,r=new C(n.e);r.a=2}function jen(n,e,t){var i,r,c;for(c=new C(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&xe(e,i.b));for(r=new C(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&xe(t,i.a))}function qA(n){var e,t,r;if(null==n.g&&(n.d=n.bj(n.f),me(n,n.d),n.c))return n.f;if(r=(e=u(n.g[n.i-1],51)).Pb(),n.e=e,(t=n.bj(r)).Ob())n.d=t,me(n,t);else for(n.d=null;!e.Ob()&&(Dt(n.g,--n.i,null),0!=n.i);)e=u(n.g[n.i-1],51);return r}function yMe(n,e,t,i){var r,s,f;for(id(r=new Fl(n),(Xn(),Oc)),U(r,(V(),ot),e),U(r,i9,i),U(r,(cn(),Kt),(Ii(),Xc)),U(r,Af,e.c),U(r,Ss,e.d),Eqn(e,r),f=y.Math.floor(t/2),s=new C(r.j);s.a=2147483648&&(i-=4294967296),i)}function ZHn(n,e,t){var i,r,c,s,f,h,l;for(c=new Z,function HPe(n,e,t,i){var r,c,s,f,h,l,a;for(f=-1,a=new C(n);a.a0&&p.a<=0){h.c.length=0,Rn(h.c,p);break}(v=p.i-p.d)>=f&&(v>f&&(h.c.length=0,f=v),Rn(h.c,p))}0!=h.c.length&&(s=u(sn(h,CA(r,h.c.length)),118),O.a.Bc(s),s.g=a++,stn(s,e,t,i),h.c.length=0)}for(j=n.c.length+1,g=new C(n);g.ai.b.g&&Rn(c.c,i);return c}function Cen(n,e,t){var i,r,c;if(!(c=a2(($u(),Ui),n.Dh(),e)))throw M(new Un(Aa+e.xe()+O8));if(ar(),!u(c,69).xk()&&!(c=Vv(Ir(Ui,c))))throw M(new Un(Aa+e.xe()+O8));r=u((i=n.Ih(c))>=0?n.Lh(i,!0,!0):ib(n,c,!0),160),u(r,220).Xl(e,t)}function UA(n,e){var i,r,c,s;if(e){for(s=!(c=L(n.Cb,90)||L(n.Cb,102))&&L(n.Cb,331),i=new ne((!e.a&&(e.a=new Z6(e,yr,e)),e.a));i.e!=i.i.gc();)if(r=iS(u(ue(i),89)),c?L(r,90):s?L(r,156):r)return r;return c?(In(),$s):(In(),rh)}return null}function SMe(n,e){var t,i,c;for(e.Ug("Resize child graph to fit parent.",1),i=new C(n.b);i.ae.a&&(i.Hc((Id(),L9))?n.c.a+=(t.a-e.a)/2:i.Hc(D9)&&(n.c.a+=t.a-e.a)),t.b>e.b&&(i.Hc((Id(),$9))?n.c.b+=(t.b-e.b)/2:i.Hc(N9)&&(n.c.b+=t.b-e.b)),u(m(n,(V(),zc)),21).Hc((gr(),fs))&&(t.a>e.a||t.b>e.b))for(s=new C(n.a);s.a0),c.a.Xb(c.c=--c.b),nw(c,r),oe(c.b0);t++);if(t>0&&t0);e++);return e>0&&t>16!=6&&e){if(I4(n,e))throw M(new Un(L8+gHn(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?WZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=fp(e,n,6,i)),(i=LW(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,6,e,e))}function zA(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(I4(n,e))throw M(new Un(L8+iGn(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?YZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=fp(e,n,12,i)),(i=DW(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,3,e,e))}function Men(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=9&&e){if(I4(n,e))throw M(new Un(L8+eUn(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?JZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=fp(e,n,9,i)),(i=NW(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,9,e,e))}function B4(n){var e,t,i,r,c;if(i=ys(n),null==(c=n.j)&&i)return n.Jk()?null:i.ik();if(L(i,156)){if((t=i.jk())&&(r=t.wi())!=n.i){if((e=u(i,156)).nk())try{n.g=r.ti(e,c)}catch(s){if(!L(s=At(s),82))throw M(s);n.g=null}n.i=r}return n.g}return null}function iqn(n){var e;return nn(e=new Z,new Sv(new W(n.c,n.d),new W(n.c+n.b,n.d))),nn(e,new Sv(new W(n.c,n.d),new W(n.c,n.d+n.a))),nn(e,new Sv(new W(n.c+n.b,n.d+n.a),new W(n.c+n.b,n.d))),nn(e,new Sv(new W(n.c+n.b,n.d+n.a),new W(n.c,n.d+n.a))),e}function RMe(n){var e,i;if(null==n)return yu;try{return Jr(n)}catch(r){if(L(r=At(r),103))return e=r,i=sd(po(n))+"@"+(ml(),(TZ(n)>>>0).toString(16)),Z8e(Bme(),(C3(),"Exception during lenientFormat for "+i),e),"<"+i+" threw "+sd(e.Rm)+">";throw M(r)}}function KMe(n,e,t){var r,c;for(c=e.a.ec().Kc();c.Ob();)r=u(c.Pb(),74),!u(ee(n.b,r),272)&&(Ct(Wh(r))==Ct(va(r))?ATe(n,r,t):Wh(r)==Ct(va(r))?null==ee(n.c,r)&&null!=ee(n.b,va(r))&&$Gn(n,r,t,!1):null==ee(n.d,r)&&null!=ee(n.b,Wh(r))&&$Gn(n,r,t,!0))}function _Me(n,e){var t,i,r,c,s,f,h;for(r=n.Kc();r.Ob();)for(i=u(r.Pb(),10),cc(f=new Dc,i),bi(f,(en(),Zn)),U(f,(V(),MI),(Kn(),!0)),s=e.Kc();s.Ob();)c=u(s.Pb(),10),cc(h=new Dc,c),bi(h,Wn),U(h,MI,!0),U(t=new B0,MI,!0),Qi(t,f),Pi(t,h)}function HMe(n,e,t,i){var r,c,s,f;r=_Bn(n,e,t),c=_Bn(n,t,e),s=u(ee(n.c,e),118),f=u(ee(n.c,t),118),r>16!=11&&e){if(I4(n,e))throw M(new Un(L8+Gen(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?ZZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=fp(e,n,10,i)),(i=qW(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,11,e,e))}function Hx(n,e,t){return f2(),(!o4(n,e)||!o4(n,t))&&(mB(new W(n.c,n.d),new W(n.c+n.b,n.d),e,t)||mB(new W(n.c+n.b,n.d),new W(n.c+n.b,n.d+n.a),e,t)||mB(new W(n.c+n.b,n.d+n.a),new W(n.c,n.d+n.a),e,t)||mB(new W(n.c,n.d+n.a),new W(n.c,n.d),e,t))}function Ten(n,e){var t,i,r,c;if(!n.dc())for(t=0,i=n.gc();t>16!=7&&e){if(I4(n,e))throw M(new Un(L8+d_n(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?VZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=u(e,54).Rh(n,1,EE,i)),(i=FV(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,7,e,e))}function oqn(n,e){var t,i;if(e!=n.Cb||n.Db>>16!=3&&e){if(I4(n,e))throw M(new Un(L8+lBn(n)));i=null,n.Cb&&(i=(t=n.Db>>16)>=0?QZ(n,i):n.Cb.Th(n,-1-t,null,i)),e&&(i=u(e,54).Rh(n,0,ME,i)),(i=xV(n,e,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,3,e,e))}function qx(n,e){var t,i,r,c,s,f,h,l,a;return R4(),e.d>n.d&&(f=n,n=e,e=f),e.d<63?function QTe(n,e){var i,c,s,f,h,l,a,d,g;return h=n.e!=e.e?-1:1,2==(f=(i=n.d)+(c=e.d))?(g=Ae(a=Zi(vi(n.a[0],vr),vi(e.a[0],vr))),0==(d=Ae(ia(a,32)))?new Tl(h,g):new dd(h,2,S(T(ye,1),_e,28,15,[g,d]))):(J6e(n.a,i,e.a,c,s=K(ye,_e,28,f,15,1)),l5(l=new dd(h,f,s)),l)}(n,e):(l=tQ(n,s=(-2&n.d)<<4),a=tQ(e,s),i=fB(n,Qv(l,s)),r=fB(e,Qv(a,s)),h=qx(l,a),t=qx(i,r),c=Qv(c=gB(gB(c=qx(fB(l,i),fB(r,a)),h),t),s),gB(gB(h=Qv(h,s<<1),c),t))}function M1(){M1=N,sq=new Sg(hWn,0),Vhn=new Sg("LONGEST_PATH",1),Jhn=new Sg("LONGEST_PATH_SOURCE",2),oq=new Sg("COFFMAN_GRAHAM",3),Whn=new Sg(LR,4),Qhn=new Sg("STRETCH_WIDTH",5),qI=new Sg("MIN_WIDTH",6),_m=new Sg("BF_MODEL_ORDER",7),Hm=new Sg("DF_MODEL_ORDER",8)}function lTe(n,e,t){var i,r,c,s,f;for(s=O5(n,t),f=K(cl,A1,10,e.length,0,1),i=0,c=s.Kc();c.Ob();)on(un(m(r=u(c.Pb(),12),(V(),xj))))&&(f[i++]=u(m(r,Wu),10));if(i=0;c+=t?1:-1)s|=e.c.lg(h,c,t,i&&!on(un(m(e.j,(V(),Da))))&&!on(un(m(e.j,(V(),x2))))),s|=e.q.ug(h,c,t),s|=Wqn(n,h[c],t,i);return oi(n.c,e),s}function VA(n,e,t){var i,r,c,s,l,a,d,g;for(d=0,g=(a=ALn(n.j)).length;d1&&(n.a=!0),Ube(u(t.b,68),et(Bi(u(e.b,68).c),lh(gi(Bi(u(t.b,68).a),u(e.b,68).a),r))),NOn(n,e),sqn(n,t)}function fqn(n){var t,i,r,c,s,f;for(c=new C(n.a.a);c.a0&&c>0?e++:i>0?t++:c>0?r++:t++}On(),Jt(n.j,new _gn)}function vTe(n,e){var t,i,r,c,s,f,h,l,a;for(s=e.g,h=u(sn(f=e.j,f.c.length-1),113),Ln(0,f.c.length),l=hx(n,s,h,a=u(f.c[0],113)),c=1;cl&&(h=t,a=r,l=i);e.a=a,e.c=h}function Vs(n){if(!n.a.d||!n.a.e)throw M(new Sr((yl(VQn),VQn.k+" must have a source and target "+(yl(Ton),Ton.k+" specified."))));if(n.a.d==n.a.e)throw M(new Sr("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return rM(n.a.d.g,n.a),rM(n.a.e.b,n.a),n.a}function hqn(n,e,t){var i,r,c,s,f,h;if(i=0,0!=e.b&&0!=t.b){c=ge(e,0),s=ge(t,0),f=F(R(be(c))),h=F(R(be(s))),r=!0;do{if(f>h-n.b&&fh-n.a&&f0&&(r+=(c=u(sn(this.b,0),176)).o,i+=c.p),r*=2,i*=2,e>1?r=di(y.Math.ceil(r*e)):i=di(y.Math.ceil(i/e)),this.a=new gZ(r,i)}function bqn(n,e,t,i,r,c){var s,f,l,a,d,g,v,p,k;for(a=i,e.j&&e.o?(k=(v=u(ee(n.f,e.A),60)).d.c+v.d.b,--a):k=e.a.c+e.a.b,d=r,t.q&&t.o?(l=(v=u(ee(n.f,t.C),60)).d.c,++d):l=t.a.c,p=k+(f=(l-k)/y.Math.max(2,d-a)),g=a;g=0;s+=r?1:-1){for(f=e[s],h=i==(en(),Zn)?r?sc(f,i):es(sc(f,i)):r?es(sc(f,i)):sc(f,i),c&&(n.c[f.p]=h.gc()),d=h.Kc();d.Ob();)a=u(d.Pb(),12),n.d[a.p]=l++;si(t,h)}}function gqn(n,e,t){var i,r,c,s,f,h,l,a;for(c=F(R(n.b.Kc().Pb())),l=F(R(function xme(n){var e;if(n){if((e=n).dc())throw M(new tc);return e.Xb(e.gc()-1)}return xOn(n.Kc())}(e.b))),i=lh(Bi(n.a),l-t),r=lh(Bi(e.a),t-c),lh(a=et(i,r),1/(l-c)),this.a=a,this.b=new Z,f=!0,(s=n.b.Kc()).Pb();s.Ob();)h=F(R(s.Pb())),f&&h-t>lK&&(this.b.Fc(t),f=!1),this.b.Fc(h);f&&this.b.Fc(t)}function _Te(n){var e,t,i,r;if(function cSe(n,e){var t,i,r,c,s,f,h;for(r=K(ye,_e,28,n.e.a.c.length,15,1),s=new C(n.e.a);s.a0){for(g6(n.c);den(n,u(E(new C(n.e.a)),125))>5,e&=31,i>=n.d)return n.e<0?(mh(),EQn):(mh(),G8);if(function Lje(n,e,t,i,r){var c,s,f;for(c=!0,s=0;s>>r|t[s+i+1]<>>r,++s}return c}(r=K(ye,_e,28,1+(c=n.d-i),15,1),c,n.a,i,e),n.e<0){for(t=0;t0&&n.a[t]<<32-e){for(t=0;t=0)&&(!(t=a2(($u(),Ui),r,e))||((i=t.Ik())>1||-1==i)&&3!=F0(Ir(Ui,t))))}function GTe(n,e,t,i){var r,c,s,f,h;return f=Ur(u(D((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84)),h=Ur(u(D((!e.c&&(e.c=new Dn(he,e,5,8)),e.c),0),84)),Ct(f)==Ct(h)||dw(h,f)?null:(s=ak(e))==t?i:(c=u(ee(n.a,s),10))&&(r=c.e)?r:null}function Den(n,e,t){var r,c,s,f,h;if((s=n[function Che(n,e){return n?e-1:0}(t,n.length)])[c=Jjn(t,s.length)].k==(Xn(),Qt))for(h=e.j,r=0;r>24}(n));break;case 2:n.g=xk(function ove(n){if(2!=n.p)throw M(new Au);return Ae(n.f)&ri}(n));break;case 3:n.g=function Hwe(n){if(3!=n.p)throw M(new Au);return n.e}(n);break;case 4:n.g=new h7(function _we(n){if(4!=n.p)throw M(new Au);return n.e}(n));break;case 6:n.g=$l(function Gwe(n){if(6!=n.p)throw M(new Au);return n.f}(n));break;case 5:n.g=Y(function n2e(n){if(5!=n.p)throw M(new Au);return Ae(n.f)}(n));break;case 7:n.g=k4(function ape(n){if(7!=n.p)throw M(new Au);return Ae(n.f)<<16>>16}(n))}return n.g}function Nen(n){if(null==n.n)switch(n.p){case 0:n.n=function v2e(n){if(0!=n.p)throw M(new Au);return R6(n.k,0)}(n)?(Kn(),mm):(Kn(),Pa);break;case 1:n.n=Ik(function hpe(n){if(1!=n.p)throw M(new Au);return Ae(n.k)<<24>>24}(n));break;case 2:n.n=xk(function sve(n){if(2!=n.p)throw M(new Au);return Ae(n.k)&ri}(n));break;case 3:n.n=function qwe(n){if(3!=n.p)throw M(new Au);return n.j}(n);break;case 4:n.n=new h7(function Uwe(n){if(4!=n.p)throw M(new Au);return n.j}(n));break;case 6:n.n=$l(function zwe(n){if(6!=n.p)throw M(new Au);return n.k}(n));break;case 5:n.n=Y(function e2e(n){if(5!=n.p)throw M(new Au);return Ae(n.k)}(n));break;case 7:n.n=k4(function lpe(n){if(7!=n.p)throw M(new Au);return Ae(n.k)<<16>>16}(n))}return n.n}function yqn(n,e,t,i){var r,s,f,h;if(ar(),f=u(e,69).xk(),Bl(n.e,e)){if(e.Si()&&rS(n,e,i,L(e,102)&&0!=(u(e,19).Bb&sr)))throw M(new Un(hj))}else for(h=ou(n.e.Dh(),e),r=u(n.g,124),s=0;s0&&(t[0]+=n.d,s-=t[0]),t[2]>0&&(t[2]+=n.d,s-=t[2]),c=y.Math.max(0,s),t[1]=y.Math.max(t[1],s),rQ(n,Zc,r.c+i.b+t[0]-(t[1]-s)/2,t),e==Zc&&(n.c.b=c,n.c.c=r.c+i.b+(c-s)/2)}function Tqn(){this.c=K(Ai,Mr,28,(en(),S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn])).length,15,1),this.b=K(Ai,Mr,28,S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn]).length,15,1),this.a=K(Ai,Mr,28,S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn]).length,15,1),oX(this.c,Mt),oX(this.b,fi),oX(this.a,fi)}function Kc(n,e,t){var i,r,c,s;if(e<=t?(r=e,c=t):(r=t,c=e),i=0,null==n.b)n.b=K(ye,_e,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(n.b[(i=n.b.length)-1]+1==r)return void(n.b[i-1]=c);s=K(ye,_e,28,i+2,15,1),Nc(n.b,0,s,0,i),n.b=s,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||u2(n)}}function Aw(n){var e,t,i,r,c;for(r=new Z,e=new Y6((!n.a&&(n.a=new q(Qe,n,10,11)),n.a)),i=new ie(ce(xl(n).a.Kc(),new Vn));ve(i);)L(D((!(t=u(fe(i),74)).b&&(t.b=new Dn(he,t,4,7)),t.b),0),193)||(c=Ur(u(D((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),e.a._b(c)||Rn(r.c,c));return r}function nAe(n,e){var t,i,r,c,s,f,h;for(t=fi,Xn(),f=Ut,r=new C(e.a);r.a1;)Sw(r,r.i-1);return i}function Sqn(n,e){var t,i,c,s,f,h;for(t=new Rg,c=new C(n.b);c.an.d[s.p]&&(t+=JJ(n.b,c),sa(n.a,Y(c)));for(;!v6(n.a);)PQ(n.b,u(Hv(n.a),17).a)}return t}function Pqn(n,e,t){var i,r,c,s;for(c=(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i,r=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=u(ue(r),27)).a&&(i.a=new q(Qe,i,10,11)),i.a).i||(c+=Pqn(n,i,!1));if(t)for(s=Ct(e);s;)c+=(!s.a&&(s.a=new q(Qe,s,10,11)),s.a).i,s=Ct(s);return c}function Sw(n,e){var t,i,r,c;return n.Pj()?(i=null,r=n.Qj(),n.Tj()&&(i=n.Vj(n.$i(e),null)),t=n.Ij(4,c=hp(n,e),null,e,r),n.Mj()&&null!=c&&(i=n.Oj(c,i)),i?(i.nj(t),i.oj()):n.Jj(t),c):(c=hp(n,e),n.Mj()&&null!=c&&(i=n.Oj(c,null))&&i.oj(),c)}function gr(){gr=N,pI=new Xb("COMMENTS",0),fs=new Xb("EXTERNAL_PORTS",1),n9=new Xb("HYPEREDGES",2),mI=new Xb("HYPERNODES",3),Dm=new Xb("NON_FREE_PORTS",4),N2=new Xb("NORTH_SOUTH_PORTS",5),e9=new Xb(YXn,6),Om=new Xb("CENTER_LABELS",7),Lm=new Xb("END_LABELS",8),kI=new Xb("PARTITIONS",9)}function Iqn(n,e){var t,r,s;Ct(n)&&(s=u(m(e,(cn(),Qd)),181),x(z(n,Kt))===x((Ii(),Ha))&&ft(n,Kt,th),k0(),r=GGn(new a0(Ct(n)),new VD(Ct(n)?new a0(Ct(n)):null,n),!1,!0),Xs(s,(mo(),ag)),(t=u(m(e,$m),8)).a=y.Math.max(r.a,t.a),t.b=y.Math.max(r.b,t.b))}function QA(){QA=N,dH=new Gv(kS,0,(en(),zn),zn),gH=new Gv(dR,1,ae,ae),aH=new Gv(aR,2,Zn,Zn),mH=new Gv(bR,3,Wn,Wn),wH=new Gv("NORTH_WEST_CORNER",4,Wn,zn),bH=new Gv("NORTH_EAST_CORNER",5,zn,Zn),pH=new Gv("SOUTH_WEST_CORNER",6,ae,Wn),vH=new Gv("SOUTH_EAST_CORNER",7,Zn,ae)}function hAe(n){var e,i,r,c,s;for(c=new Yt,e=new Y6((!n.a&&(n.a=new q(Qe,n,10,11)),n.a)),r=new ie(ce(xl(n).a.Kc(),new Vn));ve(r);)L(D((!(i=u(fe(r),74)).b&&(i.b=new Dn(he,i,4,7)),i.b),0),193)||(s=Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)),e.a._b(s)||c.a.zc(s,c));return c}function f2(){f2=N,San=S(T(Ja,1),YB,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),y.Math.pow(2,-65)}function R4(){var n,e;for(R4=N,Lp=K(T2,J,92,32,0,1),z8=K(T2,J,92,32,0,1),n=1,e=0;e<=18;e++)Lp[e]=(mh(),Ac(n,0)>=0?ga(n):c5(ga(d1(n)))),z8[e]=zC(Us(n,e),0)?ga(Us(n,e)):c5(ga(d1(Us(n,e)))),n=Zi(n,5);for(;e=l&&(h=i);h&&(a=y.Math.max(a,h.a.o.a)),a>g&&(d=l,g=a)}return d}function Lqn(n,e,t){var i,r,c,s,f;if(!z3(e)){for((f=t.eh((L(e,16)?u(e,16).gc():Ml(e.Kc()))/n.a|0)).Ug(wWn,1),s=new d3n,c=null,r=e.Kc();r.Ob();)i=u(r.Pb(),40),s=To(S(T(No,1),xn,20,0,[s,new pl(i)])),c&&(U(c,(bt(),vre),i),U(i,Lq,c),C$(i)==C$(c)&&(U(c,Dq,i),U(i,nO,c))),c=i;f.Vg(),Lqn(n,s,t)}}function Ux(n,e){var t;switch(t=null,e.g){case 1:n.e.pf((Ue(),IU))&&(t=u(n.e.of(IU),256));break;case 3:n.e.pf((Ue(),OU))&&(t=u(n.e.of(OU),256));break;case 2:n.e.pf((Ue(),PU))&&(t=u(n.e.of(PU),256));break;case 4:n.e.pf((Ue(),LU))&&(t=u(n.e.of(LU),256))}return!t&&(t=u(n.e.of((Ue(),idn)),256)),t}function Dqn(n,e,t){var i,r,c,s,f,h;for(r=t,c=0,f=new C(e);f.aCWn?Jt(h,n.b):i<=CWn&&i>MWn?Jt(h,n.d):i<=MWn&&i>TWn?Jt(h,n.c):i<=TWn&&Jt(h,n.a),c=Dqn(n,h,c);return r}function Nqn(n,e,t,i){var r,s,f,h,l;for(r=(i.c+i.a)/2,jo(e.j),xe(e.j,r),jo(t.e),xe(t.e,r),l=new tEn,f=new C(n.f);f.a1&&(i=new W(r,t.b),xe(e.a,i)),m5(e.a,S(T(yi,1),J,8,0,[g,d]))}function Fen(n,e,t){var i,r;for(e=48;t--)n7[t]=t-48<<24>>24;for(i=70;i>=65;i--)n7[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)n7[r]=r-97+10<<24>>24;for(c=0;c<10;c++)XO[c]=48+c&ri;for(n=10;n<=15;n++)XO[n]=65+n-10&ri}function Gx(n){var e,t,i,r,s;if(!n.c){if(s=new jmn,null==(e=J9).a.zc(n,e)){for(i=new ne(Lc(n));i.e!=i.i.gc();)L(r=iS(t=u(ue(i),89)),90)&&Bt(s,Gx(u(r,29))),me(s,t);e.a.Bc(n),e.a.gc()}(function w8e(n){var e,t,i,r;for(t=u(n.g,689),i=n.i-1;i>=0;--i)for(e=t[i],r=0;r>19)return"-"+Bqn(b4(n));for(t=n,i="";0!=t.l||0!=t.m||0!=t.h;){if(t=ptn(t,y$(gS),!0),e=""+sEn(Sa),0!=t.l||0!=t.m||0!=t.h)for(c=9-e.length;c>0;c--)e="0"+e;i=e+i}return i}function Ren(n,e,t,i){var r,c,s,f;if(Ml((Q7(),new ie(ce(Nl(e).a.Kc(),new Vn))))>=n.a||!knn(e,t))return-1;if(z3(u(i.Kb(e),20)))return 1;for(r=0,s=u(i.Kb(e),20).Kc();s.Ob();)if(-1==(f=Ren(n,(c=u(s.Pb(),18)).c.i==e?c.d.i:c.c.i,t,i))||(r=y.Math.max(r,f))>n.c-1)return-1;return r+1}function Rqn(n,e){var t,i,r,c,s,f;if(x(e)===x(n))return!0;if(!L(e,15)||(i=u(e,15),f=n.gc(),i.gc()!=f))return!1;if(s=i.Kc(),n.Yi()){for(t=0;t0)if(n._j(),null!=e){for(c=0;c0&&(n.a=h+(v-1)*c,e.c.b+=n.a,e.f.b+=n.a),0!=p.a.gc()&&(v=jtn(new $N(1,c),e,p,k,e.f.b+h-e.c.b))>0&&(e.f.b+=h+(v-1)*c)}(n,e,i),function TLe(n){var e,t,i,r,c,s,f,l,a,g,p,k,j,A,I,O,$,_,X,tn,jn,kn,Bn,$n;for(X=new Z,p=new C(n.b);p.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw M(new sh("Invalid hexadecimal"))}}function ZA(){ZA=N,Con=new Ag("SPIRAL",0),kon=new Ag("LINE_BY_LINE",1),yon=new Ag("MANHATTAN",2),mon=new Ag("JITTER",3),D_=new Ag("QUADRANTS_LINE_BY_LINE",4),Eon=new Ag("QUADRANTS_MANHATTAN",5),jon=new Ag("QUADRANTS_JITTER",6),pon=new Ag("COMBINE_LINE_BY_LINE_MANHATTAN",7),von=new Ag("COMBINE_JITTER_MANHATTAN",8)}function _qn(n,e,t,i){var r,c,s,f,h,l;for(h=gx(n,t),l=gx(e,t),r=!1;h&&l&&(i||p7e(h,l,t));)s=gx(h,t),f=gx(l,t),Ak(e),Ak(n),c=h.c,vB(h,!1),vB(l,!1),t?(yw(e,l.p,c),e.p=l.p,yw(n,h.p+1,c),n.p=h.p):(yw(n,h.p,c),n.p=h.p,yw(e,l.p+1,c),e.p=l.p),Di(h,null),Di(l,null),h=s,l=f,r=!0;return r}function Hqn(n){switch(n.g){case 0:return new e8n;case 1:return new Z5n;case 3:return new gCn;case 4:return new Xvn;case 5:return new UAn;case 6:return new n8n;case 2:return new Y5n;case 7:return new z5n;case 8:return new W5n;default:throw M(new Un("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function AAe(n,e,t,i){var r,c,s,f,h;for(r=!1,c=!1,f=new C(i.j);f.a=e.length)throw M(new Ar("Greedy SwitchDecider: Free layer not in graph."));this.c=e[n],this.e=new J7(i),J$(this.e,this.c,(en(),Wn)),this.i=new J7(i),J$(this.i,this.c,Zn),this.f=new oPn(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Xn(),Qt),this.a&&function _je(n,e,t){var i,r,c,s,f,l;f=(c=n.d.p).e,n.g=new J7(c.r),i=(s=n.d.o.c.p)>0?f[s-1]:K(cl,A1,10,0,0,1),r=f[s],l=sr.d.d+r.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))),i.b!=i.d.c&&(e=t);a&&(c=u(ee(n.f,s.d.i),60),e.bc.d.d+c.d.a?a.f.d=!0:(a.f.d=!0,a.f.a=!0))}for(f=new ie(ce(ki(v).a.Kc(),new Vn));ve(f);)0!=(s=u(fe(f),18)).a.b&&(e=u(_s(s.a),8),s.d.j==(en(),zn)&&((j=new u8(e,new W(e.a,r.d.d),r,s)).f.a=!0,j.a=s.d,Rn(k.c,j)),s.d.j==ae&&((j=new u8(e,new W(e.a,r.d.d+r.d.a),r,s)).f.d=!0,j.a=s.d,Rn(k.c,j)))}return k}(n);break;case 3:i=new Z,_t(rt(Kr(uc(uc(new Mn(null,new Pn(n.d.b,16)),new ivn),new rvn),new cvn),new U2n),new T7n(i)),t=i;break;default:throw M(new Sr("Compaction not supported for "+e+" edges."))}(function RIe(n,e){var t,i,r,c,s,h,l;if(0!=e.c.length){for(On(),yN(e.c,e.c.length,null),i=u(E(r=new C(e)),154);r.a0&&e0?c.a?t>(f=c.b.Mf().a)&&(c.d.b=r=(t-f)/2,c.d.c=r):c.d.c=n.s+t:e5(n.u)&&((i=Cnn(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}(n,e),r=null,h=null,f){for(h=r=u((c=s.Kc()).Pb(),117);c.Ob();)h=u(c.Pb(),117);r.d.b=0,h.d.c=0,a&&!r.a&&(r.d.c=0)}d&&(function Aye(n){var e,t,i,r,c;for(e=0,t=0,c=n.Kc();c.Ob();)i=u(c.Pb(),117),e=y.Math.max(e,i.d.b),t=y.Math.max(t,i.d.c);for(r=n.Kc();r.Ob();)(i=u(r.Pb(),117)).d.b=e,i.d.c=t}(s),f&&(r.d.b=0,h.d.c=0))}function Qqn(n,e){var t,i,r,c,s,f,h,l,a,d;if(s=u(u(ut(n.r,e),21),87),f=n.u.Hc((Xu(),qa)),t=n.u.Hc(q9),i=n.u.Hc(H9),h=n.u.Hc(Yp),d=n.B.Hc((ro(),IO)),l=!t&&!i&&(h||2==s.gc()),function ePe(n,e){var t,i,r,c,s,f,h,l;for(h=u(u(ut(n.r,e),21),87).Kc();h.Ob();)(r=(f=u(h.Pb(),117)).c?zSn(f.c):0)>0?f.a?r>(l=f.b.Mf().b)&&(n.v||1==f.c.d.c.length?(f.d.d=s=(r-l)/2,f.d.a=s):(t=u(sn(f.c.d,0),187).Mf().b,f.d.d=y.Math.max(0,i=(t-l)/2),f.d.a=r-i-l)):f.d.a=n.t+r:e5(n.u)&&((c=Cnn(f.b)).d<0&&(f.d.d=-c.d),c.d+c.a>f.b.Mf().b&&(f.d.a=c.d+c.a-f.b.Mf().b))}(n,e),a=null,r=null,f){for(r=a=u((c=s.Kc()).Pb(),117);c.Ob();)r=u(c.Pb(),117);a.d.d=0,r.d.a=0,l&&!a.a&&(a.d.a=0)}d&&(function Sye(n){var e,t,i,r,c;for(t=0,e=0,c=n.Kc();c.Ob();)i=u(c.Pb(),117),t=y.Math.max(t,i.d.d),e=y.Math.max(e,i.d.a);for(r=n.Kc();r.Ob();)(i=u(r.Pb(),117)).d.d=t,i.d.a=e}(s),f&&(a.d.d=0,r.d.a=0))}function Yqn(n,e,t){var r,s,f,h,a;if(r=e.k,e.p>=0)return!1;if(e.p=t.b,nn(t.e,e),r==(Xn(),Ei)||r==Gc)for(s=new C(e.j);s.an.d[f.p]&&(t+=JJ(n.b,c),sa(n.a,Y(c))):++s;for(t+=n.b.d*s;!v6(n.a);)PQ(n.b,u(Hv(n.a),17).a)}return t}function nUn(n){var e,t,i,r,c,s;return c=0,(e=ys(n)).kk()&&(c|=4),n.Bb&Bu&&(c|=2),L(n,102)?(r=dr(t=u(n,19)),t.Bb&Cc&&(c|=32),r&&(se(uw(r)),c|=8,((s=r.t)>1||-1==s)&&(c|=16),r.Bb&Cc&&(c|=64)),t.Bb&sr&&(c|=_w),c|=Qs):L(e,469)?c|=512:(i=e.kk())&&1&i.i&&(c|=256),512&n.Bb&&(c|=128),c}function GAe(n){var e,t,i,r,c,s,f,l,a,d,g,v;for(g=-1,v=0,a=0,d=(l=n).length;a0&&++v;++g}return v}function Wx(n){var e,t,i,r,c,s,f;for(f=new de,i=new C(n.a.b);i.a=n.o)throw M(new kz);f=e>>5,c=Us(1,Ae(Us(31&e,1))),n.n[t][f]=r?vf(n.n[t][f],c):vi(n.n[t][f],vV(c)),c=Us(c,1),n.n[t][f]=i?vf(n.n[t][f],c):vi(n.n[t][f],vV(c))}catch(h){throw L(h=At(h),333)?M(new Ar(wR+n.o+"*"+n.p+gR+e+cr+t+vR)):M(h)}}function Uen(n,e,t,i){var c,s;e&&(c=F(R(m(e,(bt(),$1))))+i,s=t+F(R(m(e,eO)))/2,U(e,Qj,Y(Ae(Ec(y.Math.round(c))))),U(e,Yj,Y(Ae(Ec(y.Math.round(s))))),0==e.d.b||Uen(n,u(ZC(new Eg(ge(new pl(e).a.d,0))),40),t+F(R(m(e,eO)))+n.b,i+F(R(m(e,Gm)))),null!=m(e,Dq)&&Uen(n,u(m(e,Dq),40),t,i))}function Gen(n){var e,t,i;return 64&n.Db?Ax(n):(e=new yo(Xcn),(t=n.k)?Re(Re((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new q(Tr,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new q(Tr,n,1,7)),u(D(n.n,0),135)).a)||Re(Re((e.a+=' "',e),i),'"'))),Re(v0(Re(v0(Re(v0(Re(v0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function eUn(n){var e,t,i;return 64&n.Db?Ax(n):(e=new yo(Wcn),(t=n.k)?Re(Re((e.a+=' "',e),t),'"'):(!n.n&&(n.n=new q(Tr,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new q(Tr,n,1,7)),u(D(n.n,0),135)).a)||Re(Re((e.a+=' "',e),i),'"'))),Re(v0(Re(v0(Re(v0(Re(v0((e.a+=" (",e),n.i),","),n.j)," | "),n.g),","),n.f),")"),e.a)}function Jx(n,e){var t,i,r,c,s,h;if(null==e||0==e.length)return null;if(!(r=u(Bc(n.a,e),143))){for(i=new qb(new vl(n.b).a.vc().Kc());i.a.Ob();)if(c=u(i.a.Pb(),44),Tn((s=(t=u(c.md(),143)).c).substr(s.length-(h=e.length),h),e)&&(e.length==s.length||46==Gi(s,s.length-e.length-1))){if(r)return null;r=t}r&&Pr(n.a,e,r)}return r}function tUn(n){var e,t,i;vt(n,(cn(),Ab))&&!(i=u(m(n,Ab),21)).dc()&&(t=new Go(e=u(df(kr),9),u(Hs(e,e.length),9),0),i.Hc((Tw(),Fo))?Xs(t,Fo):Xs(t,uf),i.Hc(Ps)||Xs(t,Ps),i.Hc(rf)?Xs(t,of):i.Hc(zl)?Xs(t,fl):i.Hc(cf)&&Xs(t,Is),i.Hc(of)?Xs(t,rf):i.Hc(fl)?Xs(t,zl):i.Hc(Is)&&Xs(t,cf),U(n,Ab,t))}function nSe(n){var t,i,r,c,s;for(r=u(m(n,(V(),Eb)),10),Ln(0,(i=n.j).c.length),t=u(i.c[0],12),s=new C(r.j);s.ar.p?(bi(c,ae),c.d&&(c.a.b=c.o.b-c.a.b)):c.j==ae&&r.p>n.p&&(bi(c,zn),c.d&&(c.a.b=-(c.o.b-c.a.b)));break}return r}function My(n,e,t,i,r){var c,s,f,h,l,a,d;if(!(L(e,207)||L(e,366)||L(e,193)))throw M(new Un("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return l=(h=e.i+i-(s=n.a/2))+e.g+n.a,d=(a=e.j+r-s)+e.f+n.a,xe(c=new Su,new W(h,a)),xe(c,new W(h,d)),xe(c,new W(l,d)),xe(c,new W(l,a)),qr(f=new Bx(c),e),t&&Xe(n.b,e,f),f}function K4(n,e,t){var i,r,c,s,h,l,a,g;for(c=new W(e,t),a=new C(n.a);a.a1)for(f=te+1;fl.b.e.b*(1-A)+l.c.e.b*A));p++);if(X.gc()>0&&(Fe=0==l.a.b?Bi(l.b.e):u(_s(l.a),8),O=et(Bi(u(X.Xb(X.gc()-1),40).e),u(X.Xb(X.gc()-1),40).f),g=et(Bi(u(X.Xb(0),40).e),u(X.Xb(0),40).f),p>=X.gc()-1&&Fe.b>O.b&&l.c.e.b>O.b||p<=0&&Fe.bl.b.e.a*(1-A)+l.c.e.a*A));p++);if(X.gc()>0&&(Fe=0==l.a.b?Bi(l.b.e):u(_s(l.a),8),O=et(Bi(u(X.Xb(X.gc()-1),40).e),u(X.Xb(X.gc()-1),40).f),g=et(Bi(u(X.Xb(0),40).e),u(X.Xb(0),40).f),p>=X.gc()-1&&Fe.a>O.a&&l.c.e.a>O.a||p<=0&&Fe.a=F(R(m(n,(bt(),_ln))))&&++Bn):(v.f&&v.d.e.a<=F(R(m(n,(bt(),Iq))))&&++kn,v.g&&v.c.e.a+v.c.f.a>=F(R(m(n,(bt(),Kln))))&&++Bn)}else 0==$?nen(l):$<0&&(++jn[te],++j[It],kn=u(($n=xDe(l,e,n,new ai(Y(kn),Y(Bn)),t,i,new ai(Y(j[It]),Y(jn[te])))).a,17).a,Bn=u($n.b,17).a)}(n,f,c,s),function zDe(n,e,t,i){var r,c,s,f,h,l,a,d,g,v,p;for(d=ge(n.b,0);d.b!=d.d.c;)if(!Tn((a=u(be(d),40)).c,VS))for(c=u(Vr(new Mn(null,new Pn(eCe(a,n),16)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15),e==(ii(),$r)||e==zr?c.jd(new A3n):c.jd(new S3n),p=c.gc(),r=0;r0&&(f=u(_s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u(_s(u(c.Xb(r),65).a),8).b,v=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-v)/(y.Math.abs(f-g)/40)>50&&tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a+i/5.3,v>h?a.e.b+a.f.b*s-i/2:a.e.b+a.f.b*s+i/2))),tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a,a.e.b+a.f.b*s))):e==zr?(l=F(R(m(a,(bt(),Sf)))),a.e.a-i>l?tr(u(c.Xb(r),65).a,new W(l-t,a.e.b+a.f.b*s)):u(c.Xb(r),65).a.b>0&&(f=u(_s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u(_s(u(c.Xb(r),65).a),8).b,v=a.e.b+a.f.b/2,i>0&&y.Math.abs(h-v)/(y.Math.abs(f-g)/40)>50&&tr(u(c.Xb(r),65).a,new W(a.e.a-i/5.3,v>h?a.e.b+a.f.b*s-i/2:a.e.b+a.f.b*s+i/2))),tr(u(c.Xb(r),65).a,new W(a.e.a,a.e.b+a.f.b*s))):e==hs?(l=F(R(m(a,(bt(),tf)))),a.e.b+a.f.b+i0&&(f=u(_s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u(_s(u(c.Xb(r),65).a),8).b,v=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-v)/40)>50&&tr(u(c.Xb(r),65).a,new W(g>f?a.e.a+a.f.a*s-i/2:a.e.a+a.f.a*s+i/2,a.e.b+i/5.3+a.f.b))),tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a*s,a.e.b+a.f.b))):(l=F(R(m(a,(bt(),Sf)))),Sxn(u(c.Xb(r),65),n)?tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a*s,u(_s(u(c.Xb(r),65).a),8).b)):a.e.b-i>l?tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a*s,l-t)):u(c.Xb(r),65).a.b>0&&(f=u(_s(u(c.Xb(r),65).a),8).a,g=a.e.a+a.f.a/2,h=u(_s(u(c.Xb(r),65).a),8).b,v=a.e.b+a.f.b/2,i>0&&y.Math.abs(f-g)/(y.Math.abs(h-v)/40)>50&&tr(u(c.Xb(r),65).a,new W(g>f?a.e.a+a.f.a*s-i/2:a.e.a+a.f.a*s+i/2,a.e.b-i/5.3))),tr(u(c.Xb(r),65).a,new W(a.e.a+a.f.a*s,a.e.b)))}(n,f,c,s),i=ge(n.a,0);i.b!=i.d.c;)(t=u(be(i),65)).a.b<2&&nen(t);e.Vg()}function oUn(n){switch(n.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return u(Nen(n),17).a==n.o;case 1:case 2:if(-2==n.o)return!1;switch(n.p){case 0:case 1:case 2:case 6:case 5:case 7:return j0(n.k,n.f);case 3:case 4:return n.j==n.e;default:return null==n.n?null==n.g:it(n.n,n.g)}default:return!1}}function oSe(n,e){var t,i,r;switch(e.Ug("Breaking Point Insertion",1),i=new ben(n),u(m(n,(cn(),cq)),351).g){case 2:r=new pG;break;case 0:r=new wG;break;default:r=new mG}if(t=r.og(n,i),on(un(m(n,Ghn)))&&(t=function JIe(n,e){var t,i,r,c,f,h,l,a,d,g,v,p,k,j,A,I,O,$;for(g=new Z,r=new Z,k=null,f=e.Kc();f.Ob();)c=new _7n(u(f.Pb(),17).a),Rn(r.c,c),k&&(c.d=k,k.e=c),k=c;for(O=function EPe(n){var e,t,i,r,c,f,h,l,a;for(a=K(ye,_e,28,n.b.c.length+1,15,1),l=new Yt,i=0,c=new C(n.b);c.a1&&(i=new W(r,t.b),xe(e.a,i)),m5(e.a,S(T(yi,1),J,8,0,[g,d]))}function js(){js=N,zI=new Wb(Th,0),Uj=new Wb("NIKOLOV",1),Gj=new Wb("NIKOLOV_PIXEL",2),rln=new Wb("NIKOLOV_IMPROVED",3),cln=new Wb("NIKOLOV_IMPROVED_PIXEL",4),iln=new Wb("DUMMYNODE_PERCENTAGE",5),uln=new Wb("NODECOUNT_PERCENTAGE",6),XI=new Wb("NO_BOUNDARY",7),Lb=new Wb("MODEL_ORDER_LEFT_TO_RIGHT",8),cg=new Wb("MODEL_ORDER_RIGHT_TO_LEFT",9)}function Xen(){Xen=N,Jre=new Cn(fcn,(Kn(),!1)),nce=new Cn(hcn,Y(0)),ece=new Cn(lcn,0),tce=new Cn(YS,!1),Xk(),Yre=new Cn(gK,a1n=cO),Y(0),Qre=new Cn(vK,Y(1)),zT(),uce=new Cn(acn,b1n=Jq),pT(),oce=new Cn(dcn,w1n=Gq),AA(),Zre=new Cn(bcn,d1n=Vq),cce=new Cn(pK,0),ice=new Cn(mK,!1),rce=new Cn(wcn,!1)}function Qx(n,e,t){var i,r,c,s,f,h;if(e){if(t<=-1){if(L(i=Nn(e.Dh(),-1-t),102))return u(i,19);for(f=0,h=(s=u(e.Mh(i),160)).gc();f=40)&&function hPe(n){var e,t,i,r,c,s,f;for(n.o=new Rg,i=new yt,s=new C(n.e.a);s.a0,f=oA(e,c),gW(t?f.b:f.g,e),1==Qg(f).c.length&&Nt(i,f,i.c.b,i.c),r=new ai(c,e),sa(n.o,r),pu(n.e.a,c))}(n),function pIe(n){var e,t,i,r,s,f,h,l,a,d;for(a=n.e.a.c.length,s=new C(n.e.a);s.a0&&xe(n.f,c)):(n.c[s]-=l+1,n.c[s]<=0&&n.a[s]>0&&xe(n.e,c))))}function bUn(n,e,t,i){var r,c,s,f,h,l,a;for(gi(h=new W(t,i),u(m(e,(bt(),Um)),8)),a=ge(e.b,0);a.b!=a.d.c;)et((l=u(be(a),40)).e,h),xe(n.b,l);for(f=u(Vr(SJ(new Mn(null,new Pn(e.a,16))),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15).Kc();f.Ob();){for(c=ge((s=u(f.Pb(),65)).a,0);c.b!=c.d.c;)(r=u(be(c),8)).a+=h.a,r.b+=h.b;xe(n.a,s)}}function ntn(n,e){var t,i,r,c;if(0<(L(n,16)?u(n,16).gc():Ml(n.Kc()))){if(1<(r=e)){for(--r,c=new Gpn,i=n.Kc();i.Ob();)t=u(i.Pb(),40),c=To(S(T(No,1),xn,20,0,[c,new pl(t)]));return ntn(c,r)}if(r<0){for(c=new zpn,i=n.Kc();i.Ob();)t=u(i.Pb(),40),c=To(S(T(No,1),xn,20,0,[c,new pl(t)]));if(0<(L(c,16)?u(c,16).gc():Ml(c.Kc())))return ntn(c,r)}}return u(ZC(n.Kc()),40)}function CSe(n,e,t){var i,r,c,s;for(t.Ug("Processor order nodes",2),n.b=F(R(m(e,(bc(),$q)))),n.a=u(m(e,Nb),88),n.a==(ii(),eh)&&(n.a=nh,U(e,Nb,n.a)),r=new yt,s=ge(e.b,0);s.b!=s.d.c;)on(un(m(c=u(be(s),40),(bt(),Ba))))&&Nt(r,c,r.c.b,r.c);oe(0!=r.b),hGn(n,i=u(r.a.a.c,40)),t.fh(1),Uen(n,i,0-F(R(m(i,(bt(),eO))))/2,0),t.fh(1),t.Vg()}function ro(){ro=N,n6=new Ig("DEFAULT_MINIMUM_SIZE",0),jE=new Ig("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),AO=new Ig("COMPUTE_PADDING",2),G9=new Ig("OUTSIDE_NODE_LABELS_OVERHANG",3),SO=new Ig("PORTS_OVERHANG",4),IO=new Ig("UNIFORM_PORT_SPACING",5),PO=new Ig("SPACE_EFFICIENT_PORT_LABELS",6),KU=new Ig("FORCE_TABULAR_NODE_LABELS",7),yE=new Ig("ASYMMETRICAL",8)}function nB(n,e){var t,i,r,c,s,f,h,l;if(e){if(t=(c=e.Dh())?Mo(c).wi().si(c):null){for(y1(n,e,t),h=0,l=(null==(r=e.Dh()).i&&kh(r),r.i).length;h=0&&h0&&(Gn(0,n.length),45==n.charCodeAt(0)||(Gn(0,n.length),43==n.charCodeAt(0)))?1:0;it)throw M(new sh(fb+n+'"'));return f}function H4(n){switch(n){case 100:return b2(H8,!0);case 68:return b2(H8,!1);case 119:return b2(i_,!0);case 87:return b2(i_,!1);case 115:return b2(r_,!0);case 83:return b2(r_,!1);case 99:return b2(c_,!0);case 67:return b2(c_,!1);case 105:return b2(u_,!0);case 73:return b2(u_,!1);default:throw M(new ic(JJn+n.toString(16)))}}function pUn(n,e,t,i,r){t&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.b],10).k==(Xn(),Oc)?gp(u(n.a[n.b],10),(Po(),sl)):i&&(!t||(n.c-n.b&n.a.length-1)>1)&&1==e&&u(n.a[n.c-1&n.a.length-1],10).k==(Xn(),Oc)?gp(u(n.a[n.c-1&n.a.length-1],10),(Po(),Ka)):2==(n.c-n.b&n.a.length-1)?(gp(u(T5(n),10),(Po(),sl)),gp(u(T5(n),10),Ka)):function sMe(n,e){var t,i,r,c,s,f,h,l,a;for(h=Kh(n.c-n.b&n.a.length-1),l=null,a=null,c=new f5(n);c.a!=c.b;)r=u(eA(c),10),t=(f=u(m(r,(V(),Af)),12))?f.i:null,i=(s=u(m(r,Ss),12))?s.i:null,(l!=t||a!=i)&&(kHn(h,e),l=t,a=i),Rn(h.c,r);kHn(h,e)}(n,r),WJ(n)}function xSe(n){var e,t,i,s,f,h,l;for(s=new Z,i=new ie(ce(Vt(n.b).a.Kc(),new Vn));ve(i);)or(t=u(fe(i),18))&&nn(s,new RDn(t,jNn(n,t.c),jNn(n,t.d)));for(l=new qb(new vl(n.e).a.vc().Kc());l.a.Ob();)e=u(l.a.Pb(),44),(f=u(e.md(),113)).d.p=0;for(h=new qb(new vl(n.e).a.vc().Kc());h.a.Ob();)e=u(h.a.Pb(),44),0==(f=u(e.md(),113)).d.p&&nn(n.d,gSe(n,f))}function _Se(n,e){var t,i,r,c,f,h,l;if(null==(l=un(m(e,(bc(),Nre))))||(Jn(l),l)){for(function dCe(n,e){var t,i,r,c,s;for(n.a=K(ss,$w,15,r=e.b.b,0,1),n.b=K(fo,el,28,r,16,1),s=ge(e.b,0);s.b!=s.d.c;)c=u(be(s),40),n.a[c.g]=new yt;for(i=ge(e.a,0);i.b!=i.d.c;)t=u(be(i),65),n.a[t.b.g].Fc(t),n.a[t.c.g].Fc(t)}(n,e),r=new Z,h=ge(e.b,0);h.b!=h.d.c;)(t=Hnn(n,u(be(h),40),null))&&(qr(t,e),Rn(r.c,t));if(n.a=null,n.b=null,r.c.length>1)for(i=new C(r);i.a0&&(e.Cd(t),t.i&&p5e(t))}(r=DTe(n,e),(f=u(is(r,0),219)).c.kg()?f.c.eg()?new U7n(n):new G7n(n):new q7n(n)),function Z6e(n){var e,t,i;for(i=new C(n.b);i.a=0&&f!=t&&(c=new ji(n,1,f,s,null),i?i.nj(c):i=c),t>=0&&(c=new ji(n,1,t,f==t?s:null,e),i?i.nj(c):i=c)),i}function mUn(n){var e,t,i;if(null==n.b){if(i=new e1,null!=n.i&&(jr(i,n.i),i.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(function uge(n){return null!=n&&k7(_O,n.toLowerCase())}(n.i)||(i.a+="//"),jr(i,n.a)),null!=n.d&&(i.a+="/",jr(i,n.d)),16&n.f&&(i.a+="/"),e=0,t=n.j.length;e>>31;0!=i&&(n[t]=i)}(t,t,e<<1),i=0,r=0,s=0;rg)&&(a+f+s8(i,g,!1).a<=e.b&&(Ck(t,c-t.s),t.c=!0,Ck(i,c-t.s),uy(i,t.s,t.t+t.d+f),i.k=!0,fY(t.q,i),v=!0,r&&(NT(e,i),i.j=e,n.c.length>s&&(fy((Ln(s,n.c.length),u(n.c[s],186)),i),0==(Ln(s,n.c.length),u(n.c[s],186)).a.c.length&&l1(n,s)))),v)}function jUn(n,e,t){var i,s,f,h,a;if(0==e.p){for(e.p=1,(s=t)||(s=new ai(new Z,new Go(i=u(df(fr),9),u(Hs(i,i.length),9),0))),u(s.a,15).Fc(e),e.k==(Xn(),Qt)&&u(s.b,21).Fc(u(m(e,(V(),mc)),64)),h=new C(e.j);h.a0)if(r=u(n.Ab.g,2033),null==e){for(c=0;ct.s&&f=0&&l>=0&&hs)return en(),Zn;break;case 4:case 3:if(a<0)return en(),zn;if(a+t>c)return en(),ae}return(h=(l+f/2)/s)+(i=(a+t/2)/c)<=1&&h-i<=0?(en(),Wn):h+i>=1&&h-i>=0?(en(),Zn):i<.5?(en(),zn):(en(),ae)}function ZSe(n,e){var t,i,r,c,f,l,a,d,g,v,p,k;for(t=!1,a=F(R(m(e,(cn(),Ob)))),p=ja*a,r=new C(e.b);r.af.n.b-f.d.d+g.a+p&&(g.a=(g.g*g.a+d.g*d.a)/(k=d.g+g.g),g.g=k,d.f=g,t=!0)),c=f,d=g;return t}function TUn(n,e,t,i,r,c,s){var h,l,a,d,g;for(g=new Lv,l=e.Kc();l.Ob();)for(d=new C(u(l.Pb(),853).Rf());d.an.b/2+e.b/2||(r=y.Math.abs(n.d+n.a/2-(e.d+e.a/2)))>n.a/2+e.a/2?1:0==t&&0==r?0:0==t?c/r+1:0==r?i/t+1:y.Math.min(i/t,c/r)+1}function rPe(n,e){var t,i,r,c,s,f,h;for(c=0,f=0,h=0,r=new C(n.f.e);r.a0&&n.d!=(v5(),W_)&&(f+=s*(i.d.a+n.a[e.a][i.a]*(e.d.a-i.d.a)/t)),t>0&&n.d!=(v5(),z_)&&(h+=s*(i.d.b+n.a[e.a][i.a]*(e.d.b-i.d.b)/t)));switch(n.d.g){case 1:return new W(f/c,e.d.b);case 2:return new W(e.d.a,h/c);default:return new W(f/c,h/c)}}function SUn(n){var e,i,r,c,s;for(nn(s=new Vc((!n.a&&(n.a=new ni(Ro,n,5)),n.a).i+2),new W(n.j,n.k)),_t(new Mn(null,(!n.a&&(n.a=new ni(Ro,n,5)),new Pn(n.a,16))),new Rkn(s)),nn(s,new W(n.b,n.c)),e=1;e0&&(Uk(h,!1,(ii(),$r)),Uk(h,!0,zr)),iu(e.g,new HCn(n,t)),Xe(n.g,e,t)}function OUn(){var n;for(OUn=N,Hun=S(T(ye,1),_e,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),k_=K(ye,_e,28,37,15,1),kQn=S(T(ye,1),_e,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),qun=K(Ja,YB,28,37,14,1),n=2;n<=36;n++)k_[n]=di(y.Math.pow(n,Hun[n])),qun[n]=ly(Ry,k_[n])}function cPe(n){var e;if(1!=(!n.a&&(n.a=new q(jt,n,6,6)),n.a).i)throw M(new Un(uVn+(!n.a&&(n.a=new q(jt,n,6,6)),n.a).i));return e=new Su,Hk(u(D((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84))&&Fi(e,mzn(n,Hk(u(D((!n.b&&(n.b=new Dn(he,n,4,7)),n.b),0),84)),!1)),Hk(u(D((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84))&&Fi(e,mzn(n,Hk(u(D((!n.c&&(n.c=new Dn(he,n,5,8)),n.c),0),84)),!0)),e}function LUn(n,e){var t,i,c;for(c=!1,i=new ie(ce((e.d?n.a.c==(wh(),Db)?ki(e.b):Vt(e.b):n.a.c==(wh(),N1)?ki(e.b):Vt(e.b)).a.Kc(),new Vn));ve(i);)if(t=u(fe(i),18),(on(n.a.f[n.a.g[e.b.p].p])||or(t)||t.c.i.c!=t.d.i.c)&&!on(n.a.n[n.a.g[e.b.p].p])&&!on(n.a.n[n.a.g[e.b.p].p])&&(c=!0,bf(n.b,n.a.g[c7e(t,e.b).p])))return e.c=!0,e.a=t,e;return e.c=c,e.a=null,e}function itn(n,e,t){var i,r,c,s,f,h,l;if(0==(i=t.gc()))return!1;if(n.Pj())if(h=n.Qj(),aZ(n,e,t),s=1==i?n.Ij(3,null,t.Kc().Pb(),e,h):n.Ij(5,null,t,e,h),n.Mj()){for(f=i<100?null:new J1(i),c=e+i,r=e;r0){for(s=0;s>16==-15&&n.Cb.Yh()&&N$(new P$(n.Cb,9,13,t,n.c,j1(eo(u(n.Cb,62)),n))):L(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(L(e=n.c,90)||(In(),e=$s),L(t,90)||(In(),t=$s),N$(new P$(n.Cb,9,10,t,e,j1(Lc(u(n.Cb,29)),n)))))),n.c}function sPe(n,e,t){var i,r,c,s,h,l,a,d;for(t.Ug("Hyperedge merging",1),function LCe(n,e){var t,i,r,c;for((c=u(Vr(uc(uc(new Mn(null,new Pn(e.b,16)),new lgn),new agn),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15)).Jc(new dgn),t=0,r=c.Kc();r.Ob();)-1==(i=u(r.Pb(),12)).p&&pen(n,i,t++)}(n,e),h=new Ni(e.b,0);h.b0&&(g.d+=a.n.d,g.d+=a.d),g.a>0&&(g.a+=a.n.a,g.a+=a.d),g.b>0&&(g.b+=a.n.b,g.b+=a.d),g.c>0&&(g.c+=a.n.c,g.c+=a.d),g}((Ct(n)&&(k0(),new a0(Ct(n))),k0(),new VD(Ct(n)?new a0(Ct(n)):null,n)),zr),c=u(m(i,Ohn),107),gOn(t=i.d,c),gOn(t,r),i}function RUn(n,e){var t,i,s,f;return i=y.Math.abs($M(n.b).a-$M(e.b).a),f=y.Math.abs($M(n.b).b-$M(e.b).b),t=1,s=1,i>n.b.b/2+e.b.b/2&&(t=1-y.Math.min(y.Math.abs(n.b.c-(e.b.c+e.b.b)),y.Math.abs(n.b.c+n.b.b-e.b.c))/i),f>n.b.a/2+e.b.a/2&&(s=1-y.Math.min(y.Math.abs(n.b.d-(e.b.d+e.b.a)),y.Math.abs(n.b.d+n.b.a-e.b.d))/f),(1-y.Math.min(t,s))*y.Math.sqrt(i*i+f*f)}function lPe(n){var e,i,r;for(kB(n,n.e,n.f,(K0(),xa),!0,n.c,n.i),kB(n,n.e,n.f,xa,!1,n.c,n.i),kB(n,n.e,n.f,G2,!0,n.c,n.i),kB(n,n.e,n.f,G2,!1,n.c,n.i),function oPe(n,e,t,i,r){var c,s,f,h,l,a,d;for(s=new C(e);s.a=p&&(I>p&&(v.c.length=0,p=I),Rn(v.c,s));0!=v.c.length&&(g=u(sn(v,CA(e,v.c.length)),131),$n.a.Bc(g),g.s=k++,jen(g,kn,X),v.c.length=0)}for($=n.c.length+1,f=new C(n);f.a(Bn=i.b).s&&(vo(t),pu(Bn.i,i),i.c>0&&(i.a=Bn,nn(Bn.t,i),i.b=tn,nn(tn.i,i)))})(n.i,u(m(n.d,(V(),Hp)),234)),function NOe(n){var t,i,r,c,s,f,h,l,a;for(l=new yt,f=new yt,c=new C(n);c.a-1){for(r=ge(f,0);r.b!=r.d.c;)(i=u(be(r),131)).v=s;for(;0!=f.b;)for(t=new C((i=u(bx(f,0),131)).i);t.a=65;t--)ch[t]=t-65<<24>>24;for(i=122;i>=97;i--)ch[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)ch[r]=r-48+52<<24>>24;for(ch[43]=62,ch[47]=63,c=0;c<=25;c++)U1[c]=65+c&ri;for(s=26,h=0;s<=51;++s,h++)U1[s]=97+h&ri;for(n=52,f=0;n<=61;++n,f++)U1[n]=48+f&ri;U1[62]=43,U1[63]=47}function KUn(n,e){var t,i,r,c,s,f;return(r=rY(n))==(f=rY(e))?n.e==e.e&&n.a<54&&e.a<54?n.fe.f?1:0:(i=n.e-e.e,(t=(n.d>0?n.d:y.Math.floor((n.a-1)*Xzn)+1)-(e.d>0?e.d:y.Math.floor((e.a-1)*Xzn)+1))>i+1?r:t0&&(s=Gg(s,QUn(i))),JBn(c,s))):rc)return en(),Zn;break;case 4:case 3:if(h<0)return en(),zn;if(h+n.f>r)return en(),ae}return(s=(f+n.g/2)/c)+(t=(h+n.f/2)/r)<=1&&s-t<=0?(en(),Wn):s+t>=1&&s-t>=0?(en(),Zn):t<.5?(en(),zn):(en(),ae)}function Pw(n){var e,t,i,r,c,s;if(Ze(),4!=n.e&&5!=n.e)throw M(new Un("Token#complementRanges(): must be RANGE: "+n.e));for(u2(c=n),f8(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(t=c.b[c.b.length-1])==vm&&(i-=2),(r=new Co(4)).b=K(ye,_e,28,i,15,1),s=0,c.b[0]>0&&(r.b[s++]=0,r.b[s++]=c.b[0]-1),e=1;e0&&(kL(h,h.d-r.d),r.c==(pf(),Fa)&&Zse(h,h.a-r.d),h.d<=0&&h.i>0&&Nt(e,h,e.c.b,e.c));for(c=new C(n.f);c.a0&&(XE(f,f.i-r.d),r.c==(pf(),Fa)&&nfe(f,f.b-r.d),f.i<=0&&f.d>0&&Nt(t,f,t.c.b,t.c))}function Nc(n,e,t,i,r){var c,s,f,h,l,a,d;if(ml(),QV(n,"src"),QV(t,"dest"),d=po(n),h=po(t),gV(0!=(4&d.i),"srcType is not an array"),gV(0!=(4&h.i),"destType is not an array"),s=h.c,gV(1&(a=d.c).i?a==s:0==(1&s.i),"Array types don't match"),function i6e(n,e,t,i,r){if(e<0||i<0||r<0||e+r>n.length||i+r>t.length)throw M(new lz)}(n,e,t,i,r),1&a.i||d==h)uen(n,e,t,i,r,!0);else if(l=kd(n),c=kd(t),x(n)===x(t)&&ei;)Dt(c,f,l[--e]);else for(f=i+r;iv&&(c&&(tr(X,g),tr(jn,Y(l.b-1))),Fe=t.b,It+=g+e,g=0,a=y.Math.max(a,t.b+t.c+te)),ru(f,Fe),cu(f,It),a=y.Math.max(a,Fe+te+t.c),g=y.Math.max(g,d),Fe+=te+e;if(a=y.Math.max(a,i),($n=It+g+t.a)2*c?(a=new PT(d),l=Ou(s)/go(s),h=yB(a,e,new kv,t,i,r,l),et(wf(a.e),h),d.c.length=0,c=0,Rn(d.c,a),Rn(d.c,s),c=Ou(a)*go(a)+Ou(s)*go(s)):(Rn(d.c,s),c+=Ou(s)*go(s));return d}(f,e,d.a,d.b,(l=i,Jn(r),l));break;case 1:j=function vPe(n,e,t,i,r){var c,s,f,h,l,a,d,g,v;for(On(),Jt(n,new Y4n),s=Z7(n),v=new Z,g=new Z,f=null,h=0;0!=s.b;)c=u(0==s.b?null:(oe(0!=s.b),Qo(s,s.a.a)),163),!f||Ou(f)*go(f)/21&&(h>Ou(f)*go(f)/2||0==s.b)&&(d=new PT(g),a=Ou(f)/go(f),l=yB(d,e,new kv,t,i,r,a),et(wf(d.e),l),f=d,Rn(v.c,d),h=0,g.c.length=0));return si(v,g),v}(f,e,d.a,d.b,(a=i,Jn(r),a));break;default:j=function qIe(n,e,t,i,r){var c,s,f,h,l,a,d,g,k;for(f=K(Ai,Mr,28,n.c.length,15,1),zZ(g=new LM(new Z4n),n),l=0,k=new Z;0!=g.b.c.length;)if(s=u(0==g.b.c.length?null:sn(g.b,0),163),l>1&&Ou(s)*go(s)/2>f[0]){for(c=0;cf[c];)++c;d=new PT(new f1(k,0,c+1)),a=Ou(s)/go(s),h=yB(d,e,new kv,t,i,r,a),et(wf(d.e),h),Rv(D4(g,d),Z4),zZ(g,new f1(k,c+1,k.c.length)),k.c.length=0,l=0,vPn(f,f.length,0)}else null!=(0==g.b.c.length?null:sn(g.b,0))&&V$(g,0),l>0&&(f[l]=f[l-1]),f[l]+=Ou(s)*go(s),++l,Rn(k.c,s);return k}(f,e,d.a,d.b,(h=i,Jn(r),h))}ub(n,(k=yB(new PT(j),e,t,d.a,d.b,i,(Jn(r),r))).a,k.b,!1,!0)}(n,r,c,t),e.Vg()}function pPe(n,e,t,i,r){var s,f,h,l,a,d,g,v,p;for(g=function qke(n,e){var t,r,c;for(c=new Ni(n.e,0),t=0;c.blK)return t;r>-1e-6&&++t}return t}(n,t),h=0;h0),i.a.Xb(i.c=--i.b),d>g+h&&vo(i);for(s=new C(v);s.a0),i.a.Xb(i.c=--i.b)}}function Iw(n,e){var t,i,r,c,s,f,h,l;for(t=new RegExp(e,"g"),h=K(fn,J,2,0,6,1),i=0,l=n,c=null;;){if(null==(f=t.exec(l))||""==l){h[i]=l;break}h[i]=($i(0,s=f.index,l.length),l.substr(0,s)),l=Xo(l,s+f[0].length,l.length),t.lastIndex=0,c==l&&(h[i]=($i(0,1,l.length),l.substr(0,1)),Gn(1,l.length+1),l=l.substr(1)),c=l,++i}if(n.length>0){for(r=h.length;r>0&&""==h[r-1];)--r;r0&&(d-=i[0]+n.c,i[0]+=n.c),i[2]>0&&(d-=i[2]+n.c),i[1]=y.Math.max(i[1],d),PM(n.a[1],t.c+e.b+i[0]-(i[1]-d)/2,i[1]);for(f=0,l=(c=n.a).length;ff&&(f=r,a.c.length=0),r==f&&nn(a,new ai(t.c.i,t)));On(),Jt(a,n.c),P0(n.b,h.p,a)}}(d,n),d.f=Kh(d.d),function KSe(n,e){var t,i,r,s,f,h,l,a;for(s=new C(e.b);s.af&&(f=r,a.c.length=0),r==f&&nn(a,new ai(t.d.i,t)));On(),Jt(a,n.c),P0(n.f,h.p,a)}}(d,n),d}function HUn(n,e){var i,r,c;for(c=u(sn(n.n,n.n.c.length-1),209).d,n.p=y.Math.min(n.p,e.g),n.r=y.Math.max(n.r,c),n.g=y.Math.max(n.g,e.g+(1==n.b.c.length?0:n.i)),n.o=y.Math.min(n.o,e.f),n.e+=e.f+(1==n.b.c.length?0:n.i),n.f=y.Math.max(n.f,e.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,i=new C(n.n);i.a1)for(i=ge(r,0);i.b!=i.d.c;)for(c=0,h=new C((t=u(be(i),235)).e);h.a0&&(e[0]+=n.c,d-=e[0]),e[2]>0&&(d-=e[2]+n.c),e[1]=y.Math.max(e[1],d),IM(n.a[1],i.d+t.d+e[0]-(e[1]-d)/2,e[1]);else for(p=i.d+t.d,v=i.a-t.d-t.a,h=0,a=(s=n.a).length;h0||0==Q0(r.b.d,n.b.d+n.b.a)&&i.b<0||0==Q0(r.b.d+r.b.a,n.b.d)&&i.b>0){f=0;break}}else f=y.Math.min(f,R_n(n,r,i));f=y.Math.min(f,UUn(n,c,f,i))}return f}function Py(n,e){var t,r,c,s,f,h;if(n.b<2)throw M(new Un("The vector chain must contain at least a source and a target point."));for(oe(0!=n.b),K7(e,(r=u(n.a.a.c,8)).a,r.b),h=new Nv((!e.a&&(e.a=new ni(Ro,e,5)),e.a)),s=ge(n,1);s.a=0&&c!=t)throw M(new Un(hj));for(r=0,h=0;hF(Lf(s.g,s.d[0]).a)?(oe(h.b>0),h.a.Xb(h.c=--h.b),nw(h,s),r=!0):f.e&&f.e.gc()>0&&(c=(!f.e&&(f.e=new Z),f.e).Mc(e),l=(!f.e&&(f.e=new Z),f.e).Mc(t),(c||l)&&((!f.e&&(f.e=new Z),f.e).Fc(s),++s.c));r||Rn(i.c,s)}function TPe(n,e,t){var i,c,s,f,h,l,a,d,g,v;return d=n.a.i+n.a.g/2,g=n.a.i+n.a.g/2,f=new W(e.i+e.g/2,e.j+e.f/2),(l=u(z(e,(Ue(),Wp)),8)).a=l.a+d,l.b=l.b+g,i=f.b-(c=(f.b-l.b)/(f.a-l.a))*f.a,h=new W(t.i+t.g/2,t.j+t.f/2),(a=u(z(t,Wp),8)).a=a.a+d,a.b=a.b+g,!(l.a<(v=(i-(h.b-(s=(h.b-a.b)/(h.a-a.a))*h.a))/(s-c))&&f.a>>0).toString(16),t.length-2,t.length):n>=sr?"\\v"+Xo(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&ri)}return i}function WUn(n){var e,t,i;if(Dg(u(m(n,(cn(),Kt)),101)))for(t=new C(n.j);t.a=e.o&&t.f<=e.f||.5*e.a<=t.f&&1.5*e.a>=t.f){if((s=u(sn(e.n,e.n.c.length-1),209)).e+s.d+t.g+r<=i&&(u(sn(e.n,e.n.c.length-1),209).f-n.f+t.f<=n.b||1==n.a.c.length))return rZ(e,t),!0;if(e.s+t.g<=i&&(e.t+e.d+t.f+r<=n.b||1==n.a.c.length))return nn(e.b,t),f=u(sn(e.n,e.n.c.length-1),209),nn(e.n,new ZM(e.s,f.f+f.a+e.i,e.i)),BZ(u(sn(e.n,e.n.c.length-1),209),t),HUn(e,t),!0}return!1}function JUn(n,e,t){var i,r,c,s;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,s=x$(n,e,t),t,e,c),n.Mj()&&!(n.Yi()&&null!=s?it(s,t):x(s)===x(t))?(null!=s&&(r=n.Oj(s,r)),r=n.Nj(t,r),n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(s,t,r)),r?(r.nj(i),r.oj()):n.Jj(i)),s):(s=x$(n,e,t),n.Mj()&&!(n.Yi()&&null!=s?it(s,t):x(s)===x(t))&&(r=null,null!=s&&(r=n.Oj(s,null)),(r=n.Nj(t,r))&&r.oj()),s)}function DPe(n,e){var t,i,r,c;if(e.Ug("Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new ben(n)).i&&(r.i=cY(r,new gG)),t=F(r.i)*r.f/(null==r.i&&(r.i=cY(r,new gG)),F(r.i)),r.b>t)e.Vg();else{switch(u(m(n,(cn(),cq)),351).g){case 2:c=new pG;break;case 0:c=new wG;break;default:c=new mG}if(i=c.og(n,r),!c.pg())switch(u(m(n,_I),352).g){case 2:i=K_n(r,i);break;case 1:i=OKn(r,i)}(function SIe(n,e,t){var i,r,c,f,h,a,d,g,v,p,j;if(!t.dc()){for(f=0,g=0,p=u((i=t.Kc()).Pb(),17).a;f0&&(h=f/60|0,l=f%60,r=n.q.getDate(),n.q.getHours()+h>=24&&++r,c=new y.Date(n.q.getFullYear(),n.q.getMonth(),r,e+h,n.q.getMinutes()+l,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),s=n.q.getTime(),n.q.setTime(s+36e5),n.q.getHours()!=e&&n.q.setTime(s)}function NPe(n,e){var t,i,r,c;if(function X2e(n,e){FTn(n,Ae(vi(I0(e,24),vS)),Ae(vi(e,vS)))}(n.d,n.e),n.c.a.$b(),0!=F(R(m(e.j,(cn(),PI))))||0!=F(R(m(e.j,PI))))for(t=p2,x(m(e.j,ul))!==x((vh(),D1))&&U(e.j,(V(),Da),(Kn(),!0)),c=u(m(e.j,l9),17).a,r=0;r=j&&n.e[h.p]>p*n.b||O>=t*j)&&(Rn(g.c,f),f=new Z,Fi(s,c),c.a.$b(),v=y.Math.max(v,(l-=a)*n.b+k),l+=O,I=O,O=0,a=0,k=0);return new ai(v,g)}function cB(n){var e,i,r,s,f;if(!n.d){if(f=new Cmn,null==(e=J9).a.zc(n,e)){for(i=new ne(_r(n));i.e!=i.i.gc();)Bt(f,cB(u(ue(i),29)));e.a.Bc(n),e.a.gc()}for(s=f.i,!n.q&&(n.q=new q(Ds,n,11,10)),r=new ne(n.q);r.e!=r.i.gc();++s)u(ue(r),411);Bt(f,(!n.q&&(n.q=new q(Ds,n,11,10)),n.q)),gw(f),n.d=new Lg((u(D(H((ra(),_n).o),9),19),f.i),f.g),n.e=u(f.g,688),null==n.e&&(n.e=tse),no(n).b&=-17}return n.d}function q4(n,e,t,i){var r,c,s,f,h,l;if(l=ou(n.e.Dh(),e),h=0,r=u(n.g,124),ar(),u(e,69).xk()){for(s=0;s1||-1==p)if(d=u(k,71),g=u(a,71),d.dc())g.$b();else for(s=!!dr(e),c=0,f=n.a?d.Kc():d.Ii();f.Ob();)l=u(f.Pb(),58),(r=u(Rf(n,l),58))?(s?-1==(h=g.dd(r))?g.Gi(c,r):c!=h&&g.Ui(c,r):g.Gi(c,r),++c):n.b&&!s&&(g.Gi(c,l),++c);else null==k?a.Wb(null):null==(r=Rf(n,k))?n.b&&!dr(e)&&a.Wb(k):a.Wb(r)}function RPe(n,e){var t,i,r,c,s,f,h,l;for(t=new ogn,r=new ie(ce(ki(e).a.Kc(),new Vn));ve(r);)if(!or(i=u(fe(r),18))&&knn(f=i.c.i,UP)){if(-1==(l=Ren(n,f,UP,qP)))continue;t.b=y.Math.max(t.b,l),!t.a&&(t.a=new Z),nn(t.a,f)}for(s=new ie(ce(Vt(e).a.Kc(),new Vn));ve(s);)if(!or(c=u(fe(s),18))&&knn(h=c.d.i,qP)){if(-1==(l=Ren(n,h,qP,UP)))continue;t.d=y.Math.max(t.d,l),!t.c&&(t.c=new Z),nn(t.c,h)}return t}function KPe(n,e,t,i){var r,c,s,f,h,l,a;if(t.d.i!=e.i){for(id(r=new Fl(n),(Xn(),Ei)),U(r,(V(),ot),t),U(r,(cn(),Kt),(Ii(),Xc)),Rn(i.c,r),cc(s=new Dc,r),bi(s,(en(),Wn)),cc(f=new Dc,r),bi(f,Zn),a=t.d,Pi(t,s),qr(c=new B0,t),U(c,Nr,null),Qi(c,f),Pi(c,a),l=new Ni(t.b,0);l.b1e6)throw M(new uC("power of ten too big"));if(n<=nt)return Qv(ky(Lp[1],e),e);for(r=i=ky(Lp[1],nt),t=Ec(n-nt),e=di(n%nt);Ac(t,nt)>0;)r=Gg(r,i),t=ms(t,nt);for(r=Qv(r=Gg(r,ky(Lp[1],e)),nt),t=Ec(n-nt);Ac(t,nt)>0;)r=Qv(r,nt),t=ms(t,nt);return Qv(r,e)}function YUn(n){var e,t,i,r,f,h,l,a;for(h=new C(n.a);h.al&&i>l)){r=!1,t._g()&&t.bh("bk node placement breaks on "+f+" which should have been after "+a);break}a=f,l=F(e.p[f.p])+F(e.d[f.p])+f.o.b+f.d.a}if(!r)break}return t._g()&&t.bh(e+" is feasible: "+r),r}function ltn(n,e,t,i){var r,c,s,f,l,a,d;if(id(c=new Fl(n),(Xn(),Gc)),U(c,(cn(),Kt),(Ii(),Xc)),r=0,e){for(U(s=new Dc,(V(),ot),e),U(c,ot,e.i),bi(s,(en(),Wn)),cc(s,c),a=0,d=(l=gh(e.e)).length;a=0&&!e2(n,a,d);)--d;r[a]=d}for(v=0;v=0&&!e2(n,f,p);)--f;c[p]=f}for(h=0;he[g]&&gi[h]&&eS(n,h,g,!1,!0)}function atn(n){var e,t,i,r,c,s,f,h;t=on(un(m(n,(Js(),QYn)))),c=n.a.c.d,f=n.a.d.d,t?(s=lh(gi(new W(f.a,f.b),c),.5),h=lh(Bi(n.e),.5),e=gi(et(new W(c.a,c.b),s),h),yW(n.d,e)):(r=F(R(m(n.a,uZn))),i=n.d,c.a>=f.a?c.b>=f.b?(i.a=f.a+(c.a-f.a)/2+r,i.b=f.b+(c.b-f.b)/2-r-n.e.b):(i.a=f.a+(c.a-f.a)/2+r,i.b=c.b+(f.b-c.b)/2+r):c.b>=f.b?(i.a=c.a+(f.a-c.a)/2+r,i.b=f.b+(c.b-f.b)/2+r):(i.a=c.a+(f.a-c.a)/2+r,i.b=c.b+(f.b-c.b)/2-r-n.e.b))}function o8(n){var e,t,i,c,f,h;if(!n.f){if(h=new MG,f=new MG,null==(e=J9).a.zc(n,e)){for(c=new ne(_r(n));c.e!=c.i.gc();)Bt(h,o8(u(ue(c),29)));e.a.Bc(n),e.a.gc()}for(!n.s&&(n.s=new q(Mu,n,21,17)),i=new ne(n.s);i.e!=i.i.gc();)L(t=u(ue(i),179),102)&&me(f,u(t,19));gw(f),n.r=new USn(n,(u(D(H((ra(),_n).o),6),19),f.i),f.g),Bt(h,n.r),gw(h),n.f=new Lg((u(D(H(_n.o),5),19),h.i),h.g),no(n).b&=-3}return n.f}function nGn(n){m0(n,new Od(g0(d0(w0(b0(new ed,xd),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new Bbn))),Q(n,xd,mR,rn($on)),Q(n,xd,kR,rn(K_)),Q(n,xd,Mp,rn(FYn)),Q(n,xd,hb,rn(Non)),Q(n,xd,nin,rn(KYn)),Q(n,xd,ein,rn(RYn)),Q(n,xd,Ztn,rn(_Yn)),Q(n,xd,tin,rn(BYn)),Q(n,xd,fin,rn(xYn)),Q(n,xd,hin,rn(R_)),Q(n,xd,lin,rn(Don)),Q(n,xd,ain,rn(FP))}function cS(){cS=N,Zdn=S(T(ds,1),jh,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Ooe=new RegExp("[ \t\n\r\f]+");try{X9=S(T(SNe,1),xn,2114,0,[new l7((HX(),lA("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",W7((cC(),cC(),q8))))),new l7(lA("yyyy-MM-dd'T'HH:mm:ss'.'SSS",W7(q8))),new l7(lA("yyyy-MM-dd'T'HH:mm:ss",W7(q8))),new l7(lA("yyyy-MM-dd'T'HH:mm",W7(q8))),new l7(lA("yyyy-MM-dd",W7(q8)))])}catch(n){if(!L(n=At(n),82))throw M(n)}}function WPe(n,e){var t,r,c;if(r=0!=io(n.d,1),0==zen(n,e)&&on(un(m(e.j,(V(),Da)))))return 0;!on(un(m(e.j,(V(),Da))))&&!on(un(m(e.j,x2)))||x(m(e.j,(cn(),ul)))===x((vh(),D1))?e.c.mg(e.e,r):r=on(un(m(e.j,Da))),Cy(n,e,r,!0),on(un(m(e.j,x2)))&&U(e.j,x2,(Kn(),!1)),on(un(m(e.j,Da)))&&(U(e.j,Da,(Kn(),!1)),U(e.j,x2,!0)),t=zen(n,e);do{if(iY(n),0==t)return 0;c=t,Cy(n,e,r=!r,!1),t=zen(n,e)}while(c>t);return c}function eGn(n,e){var t,r,c;if(r=0!=io(n.d,1),0==RA(n,e)&&on(un(m(e.j,(V(),Da)))))return 0;!on(un(m(e.j,(V(),Da))))&&!on(un(m(e.j,x2)))||x(m(e.j,(cn(),ul)))===x((vh(),D1))?e.c.mg(e.e,r):r=on(un(m(e.j,Da))),Cy(n,e,r,!0),on(un(m(e.j,x2)))&&U(e.j,x2,(Kn(),!1)),on(un(m(e.j,Da)))&&(U(e.j,Da,(Kn(),!1)),U(e.j,x2,!0)),t=RA(n,e);do{if(iY(n),0==t)return 0;c=t,Cy(n,e,r=!r,!1),t=RA(n,e)}while(c>t);return c}function dtn(n,e,t,i){var r,c,s,f,h,l,a,d,g;return d=((h=gi(new W(t.a,t.b),n)).a*i.b-h.b*i.a)/(a=e.a*i.b-e.b*i.a),g=(l=h.a*e.b-h.b*e.a)/a,0==a?0==l?(c=fa(n,r=et(new W(t.a,t.b),lh(new W(i.a,i.b),.5))),s=fa(et(new W(n.a,n.b),e),r),f=.5*y.Math.sqrt(i.a*i.a+i.b*i.b),c=0&&d<=1&&g>=0&&g<=1?et(new W(n.a,n.b),lh(new W(e.a,e.b),d)):null}function QPe(n){var t,i,r,c,s,h,l,a,d,g;for(a=new WE(new rd(wHn(n)).a.vc().Kc());a.a.Ob();){for(r=u(a.a.Pb(),44),d=0,g=0,d=(l=u(r.ld(),10)).d.d,g=l.o.b+l.d.a,n.d[l.p]=0,t=l;(c=n.a[t.p])!=l;)i=z8e(t,c),0,h=n.c==(wh(),N1)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,s=F(n.d[t.p])+h,n.d[c.p]=s,d=y.Math.max(d,c.d.d-s),g=y.Math.max(g,s+c.o.b+c.d.a),t=c;t=l;do{n.d[t.p]=F(n.d[t.p])+d,t=n.a[t.p]}while(t!=l);n.b[l.p]=d+g}}function s8(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(c=0,s=n.t,r=0,i=0,h=0,g=0,d=0,t&&(n.n.c.length=0,nn(n.n,new ZM(n.s,n.t,n.i))),f=0,a=new C(n.b);a.a0?n.i:0)>e&&h>0&&(c=0,s+=h+n.i,r=y.Math.max(r,g),i+=h+n.i,h=0,g=0,t&&(++d,nn(n.n,new ZM(n.s,s,n.i))),f=0),g+=l.g+(f>0?n.i:0),h=y.Math.max(h,l.f),t&&BZ(u(sn(n.n,d),209),l),c+=l.g+(f>0?n.i:0),++f;return r=y.Math.max(r,g),i+=h,t&&(n.r=r,n.d=i,HZ(n.j)),new zo(n.s,n.t,r,i)}function uB(n){var t,i,r,c,s,f,h,l,a,d,g;for(n.b=!1,d=Mt,h=fi,g=Mt,l=fi,i=n.e.a.ec().Kc();i.Ob();)for(t=u(i.Pb(),272),d=y.Math.min(d,(r=t.a).c),h=y.Math.max(h,r.c+r.b),g=y.Math.min(g,r.d),l=y.Math.max(l,r.d+r.a),s=new C(t.c);s.af?1:-1:LY(n.a,e.a,c)))d=-h,a=s==h?E$(e.a,f,n.a,c):M$(e.a,f,n.a,c);else if(d=s,s==h){if(0==r)return mh(),G8;a=E$(n.a,c,e.a,f)}else a=M$(n.a,c,e.a,f);return l5(l=new dd(d,a.length,a)),l}function nIe(n,e){var i,r,c;if(c=BUn(e),!e.c&&(e.c=new q(Yu,e,9,9)),_t(new Mn(null,(!e.c&&(e.c=new q(Yu,e,9,9)),new Pn(e.c,16))),new G9n(c)),function zOe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(s=on(un(z(n,(cn(),ng)))),g=u(z(n,tg),21),h=!1,l=!1,d=new ne((!n.c&&(n.c=new q(Yu,n,9,9)),n.c));!(d.e==d.i.gc()||h&&l);){for(c=u(ue(d),123),f=0,r=qh(To(S(T(No,1),xn,20,0,[(!c.d&&(c.d=new Dn(Xt,c,8,5)),c.d),(!c.e&&(c.e=new Dn(Xt,c,7,4)),c.e)])));ve(r)&&(i=u(fe(r),74),a=s&&tb(i)&&on(un(z(i,Vd))),t=vGn((!i.b&&(i.b=new Dn(he,i,4,7)),i.b),c)?n==Ct(Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))):n==Ct(Ur(u(D((!i.b&&(i.b=new Dn(he,i,4,7)),i.b),0),84))),!((a||t)&&(++f,f>1))););(f>0||g.Hc((Xu(),Xl))&&(!c.n&&(c.n=new q(Tr,c,1,7)),c.n).i>0)&&(h=!0),f>1&&(l=!0)}h&&e.Fc((gr(),fs)),l&&e.Fc((gr(),n9))}(e,r=u(m(c,(V(),zc)),21)),r.Hc((gr(),fs)))for(i=new ne((!e.c&&(e.c=new q(Yu,e,9,9)),e.c));i.e!=i.i.gc();)yLe(n,e,c,u(ue(i),123));return 0!=u(z(e,(cn(),Qd)),181).gc()&&Iqn(e,c),on(un(m(c,Dhn)))&&r.Fc(kI),vt(c,_j)&&Rjn(new wZ(F(R(m(c,_j)))),c),x(z(e,Zw))===x((Ll(),B1))?function GDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,O,$,_,X,tn,jn,kn,Bn,$n,te;for(s=new yt,X=u(m(t,(cn(),$o)),88),k=0,Fi(s,(!e.a&&(e.a=new q(Qe,e,10,11)),e.a));0!=s.b;)(x(z(l=Ct(a=u(0==s.b?null:(oe(0!=s.b),Qo(s,s.a.a)),27)),ul))!==x((vh(),D1))||x(z(l,Wd))===x((k1(),Pm))||x(z(l,Wd))===x((k1(),Sm))||on(un(z(l,Tb)))||x(z(l,Yw))!==x((Sd(),zw))||x(z(l,$a))===x((js(),Lb))||x(z(l,$a))===x((js(),cg))||x(z(l,Jd))===x((M1(),_m))||x(z(l,Jd))===x((M1(),Hm)))&&!on(un(z(a,II)))&&ft(a,(V(),lt),Y(k++)),!on(un(z(a,Yd)))&&(g=0!=(!a.a&&(a.a=new q(Qe,a,10,11)),a.a).i,p=kye(a),v=x(z(a,Zw))===x((Ll(),B1)),$=null,(te=!Bf(a,(Ue(),Xm))||PDn(Oe(z(a,Xm))))&&v&&(g||p)&&(U($=BUn(a),$o,X),vt($,_j)&&Rjn(new wZ(F(R(m($,_j)))),$),0!=u(z(a,Qd),181).gc()&&(d=$,_t(new Mn(null,(!a.c&&(a.c=new q(Yu,a,9,9)),new Pn(a.c,16))),new z9n(d)),Iqn(a,$))),tn=t,(jn=u(ee(n.a,Ct(a)),10))&&(tn=jn.e),O=lzn(n,a,tn),$&&(O.e=$,$.e=O,Fi(s,(!a.a&&(a.a=new q(Qe,a,10,11)),a.a))));for(k=0,Nt(s,e,s.c.b,s.c);0!=s.b;){for(h=new ne((!(c=u(0==s.b?null:(oe(0!=s.b),Qo(s,s.a.a)),27)).b&&(c.b=new q(Xt,c,12,3)),c.b));h.e!=h.i.gc();)iUn(f=u(ue(h),74)),(x(z(e,ul))!==x((vh(),D1))||x(z(e,Wd))===x((k1(),Pm))||x(z(e,Wd))===x((k1(),Sm))||on(un(z(e,Tb)))||x(z(e,Yw))!==x((Sd(),zw))||x(z(e,$a))===x((js(),Lb))||x(z(e,$a))===x((js(),cg))||x(z(e,Jd))===x((M1(),_m))||x(z(e,Jd))===x((M1(),Hm)))&&ft(f,(V(),lt),Y(k++)),Bn=Ur(u(D((!f.b&&(f.b=new Dn(he,f,4,7)),f.b),0),84)),$n=Ur(u(D((!f.c&&(f.c=new Dn(he,f,5,8)),f.c),0),84)),!(on(un(z(f,Yd)))||on(un(z(Bn,Yd)))||on(un(z($n,Yd))))&&(_=c,tb(f)&&on(un(z(Bn,ng)))&&on(un(z(f,Vd)))||dw($n,Bn)?_=Bn:dw(Bn,$n)&&(_=$n),tn=t,(jn=u(ee(n.a,_),10))&&(tn=jn.e),U(Ltn(n,f,_,tn),(V(),yfn),GTe(n,f,e,t)));if(v=x(z(c,Zw))===x((Ll(),B1)))for(r=new ne((!c.a&&(c.a=new q(Qe,c,10,11)),c.a));r.e!=r.i.gc();)te=!Bf(i=u(ue(r),27),(Ue(),Xm))||PDn(Oe(z(i,Xm))),kn=x(z(i,Zw))===x(B1),te&&kn&&Nt(s,i,s.c.b,s.c)}}(n,e,c):function PDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j;for(g=0,r=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));r.e!=r.i.gc();)on(un(z(i=u(ue(r),27),(cn(),Yd))))||((x(z(a=Ct(i),ul))!==x((vh(),D1))||x(z(a,Wd))===x((k1(),Pm))||x(z(a,Wd))===x((k1(),Sm))||on(un(z(a,Tb)))||x(z(a,Yw))!==x((Sd(),zw))||x(z(a,$a))===x((js(),Lb))||x(z(a,$a))===x((js(),cg))||x(z(a,Jd))===x((M1(),_m))||x(z(a,Jd))===x((M1(),Hm)))&&!on(un(z(i,II)))&&(ft(i,(V(),lt),Y(g)),++g),lzn(n,i,t));for(g=0,l=new ne((!e.b&&(e.b=new q(Xt,e,12,3)),e.b));l.e!=l.i.gc();)f=u(ue(l),74),(x(z(e,(cn(),ul)))!==x((vh(),D1))||x(z(e,Wd))===x((k1(),Pm))||x(z(e,Wd))===x((k1(),Sm))||on(un(z(e,Tb)))||x(z(e,Yw))!==x((Sd(),zw))||x(z(e,$a))===x((js(),Lb))||x(z(e,$a))===x((js(),cg))||x(z(e,Jd))===x((M1(),_m))||x(z(e,Jd))===x((M1(),Hm)))&&(ft(f,(V(),lt),Y(g)),++g),k=Wh(f),j=va(f),d=on(un(z(k,ng))),p=!on(un(z(f,Yd))),v=d&&tb(f)&&on(un(z(f,Vd))),c=Ct(k)==e&&Ct(k)==Ct(j),s=(Ct(k)==e&&j==e)^(Ct(j)==e&&k==e),p&&!v&&(s||c)&&Ltn(n,f,e,t);if(Ct(e))for(h=new ne(BIn(Ct(e)));h.e!=h.i.gc();)(k=Wh(f=u(ue(h),74)))==e&&tb(f)&&(v=on(un(z(k,(cn(),ng))))&&on(un(z(f,Vd))))&&Ltn(n,f,e,t)}(n,e,c),c}function _c(n,e){var t,i,r,c,s,f,h;if(null==n)return null;if(0==(c=n.length))return"";for(h=K(ds,jh,28,c,15,1),$i(0,c,n.length),$i(0,c,h.length),zPn(n,0,c,h,0),t=null,f=e,r=0,s=0;r0?Xo(t.a,0,c-1):"":($i(0,c-1,n.length),n.substr(0,c-1)):t?t.a:n}function Ow(n,e){var t,i,r,c,s;if(s=u(e,138),u2(n),u2(s),null!=s.b){if(n.c=!0,null==n.b)return n.b=K(ye,_e,28,s.b.length,15,1),void Nc(s.b,0,n.b,0,s.b.length);for(c=K(ye,_e,28,n.b.length+s.b.length,15,1),t=0,i=0,r=0;t=n.b.length?(c[r++]=s.b[i++],c[r++]=s.b[i++]):i>=s.b.length?(c[r++]=n.b[t++],c[r++]=n.b[t++]):s.b[i]0?n.i:0)),++e;for(YY(n.n,h),n.d=t,n.r=i,n.g=0,n.f=0,n.e=0,n.o=Mt,n.p=Mt,c=new C(n.b);c.a0&&(!(r=(!n.n&&(n.n=new q(Tr,n,1,7)),u(D(n.n,0),135)).a)||Re(Re((e.a+=' "',e),r),'"'))),!n.b&&(n.b=new Dn(he,n,4,7)),t=!(n.b.i<=1&&(!n.c&&(n.c=new Dn(he,n,5,8)),n.c.i<=1)),e.a+=t?" [":" ",Re(e,oW(new GL,new ne(n.b))),t&&(e.a+="]"),e.a+=AR,t&&(e.a+="["),Re(e,oW(new GL,new ne(n.c))),t&&(e.a+="]"),e.a)}function wtn(n,e,t){var i,r,s,f,h,l,a;return y.Math.abs(e.s-e.c)a?new gd((pf(),og),t,e,l-a):l>0&&a>0&&(new gd((pf(),og),e,t,0),new gd(og,t,e,0))),s)}function rGn(n,e,t,i){var r,c,s,h,l,a;if(c=cA(i),!on(un(m(i,(cn(),Ahn))))&&!on(un(m(n,NI)))||Dg(u(m(n,Kt),101)))switch(h=new Dc,cc(h,n),e?(a=h.n,a.a=e.a-n.n.a,a.b=e.b-n.n.b,h_n(a,0,0,n.o.a,n.o.b),bi(h,MUn(h,c))):(r=up(c),bi(h,t==(wr(),nu)?r:ny(r))),s=u(m(i,(V(),zc)),21),l=h.j,c.g){case 2:case 1:(l==(en(),zn)||l==ae)&&s.Fc((gr(),N2));break;case 4:case 3:(l==(en(),Zn)||l==Wn)&&s.Fc((gr(),N2))}else r=up(c),h=ttn(n,t,t==(wr(),nu)?r:ny(r));return h}function cGn(n,e){var t,i,r,c,s;for(s=new Ed(new cd(n.f.b).a);s.b;){if(r=u((c=W0(s)).ld(),602),1==e){if(r.Af()!=(ii(),hs)&&r.Af()!=nh)continue}else if(r.Af()!=(ii(),$r)&&r.Af()!=zr)continue;switch(i=u(u(c.md(),42).b,86),t=u(u(c.md(),42).a,194).c,r.Af().g){case 2:i.g.c=n.e.a,i.g.b=y.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=y.Math.max(1,i.g.b-t);break;case 4:i.g.d=n.e.b,i.g.a=y.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=y.Math.max(1,i.g.a-t)}}}function uGn(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(i=new ie(ce(xl(e).a.Kc(),new Vn));ve(i);)L(D((!(t=u(fe(i),74)).b&&(t.b=new Dn(he,t,4,7)),t.b),0),193)||(h=Ur(u(D((!t.c&&(t.c=new Dn(he,t,5,8)),t.c),0),84)),Q5(t)||(s=e.i+e.g/2,f=e.j+e.f/2,a=h.i+h.g/2,d=h.j+h.f/2,(g=new Oi).a=a-s,g.b=d-f,O4(c=new W(g.a,g.b),e.g,e.f),g.a-=c.a,g.b-=c.b,s=a-g.a,f=d-g.b,O4(l=new W(g.a,g.b),h.g,h.f),g.a-=l.a,g.b-=l.b,a=s+g.a,d=f+g.b,n4(r=s2(t,!0,!0),s),t4(r,f),Z3(r,a),e4(r,d),uGn(n,h)))}function oGn(n){m0(n,new Od(g0(d0(w0(b0(new ed,ab),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new b4n))),Q(n,ab,jK,rn(gO)),Q(n,ab,Ocn,rn(vU)),Q(n,ab,Lcn,rn(gU)),Q(n,ab,EK,rn(lan)),Q(n,ab,CK,rn(wU)),Q(n,ab,hb,han),Q(n,ab,Fw,8),Q(n,ab,MK,rn(iue)),Q(n,ab,Dcn,rn(san)),Q(n,ab,Ncn,rn(fan)),Q(n,ab,uj,(Kn(),!1))}function hB(n,e,t){var i,r,c,f,h,l,a;return i=n.a.o==(Nf(),Yf)?Mt:fi,!(f=LUn(n,new nMn(e,t))).a&&f.c?(xe(n.d,f),i):f.a?(r=f.a.c,h=f.a.d,t?(l=n.a.c==(wh(),Db)?h:r,a=F(n.a.p[n.a.g[(c=n.a.c==Db?r:h).i.p].p])+F(n.a.d[c.i.p])+c.n.b+c.a.b-F(n.a.d[l.i.p])-l.n.b-l.a.b):(l=n.a.c==(wh(),N1)?h:r,a=F(n.a.p[n.a.g[(c=n.a.c==N1?r:h).i.p].p])+F(n.a.d[c.i.p])+c.n.b+c.a.b-F(n.a.d[l.i.p])-l.n.b-l.a.b),n.a.n[n.a.g[r.i.p].p]=(Kn(),!0),n.a.n[n.a.g[h.i.p].p]=!0,a):i}function oS(n,e,t){var i,c,s,f,h,l,a;if(Bl(n.e,e))ar(),_A((h=u(e,69).xk()?new kM(e,n):new B7(e,n)).c,h.b),U6(h,u(t,16));else{for(a=ou(n.e.Dh(),e),i=u(n.g,124),s=0;s"}null!=h&&(e.a+=""+h)}else n.e?null!=(f=n.e.zb)&&(e.a+=""+f):(e.a+="?",n.b?(e.a+=" super ",lB(n.b,e)):n.f&&(e.a+=" extends ",lB(n.f,e)))}function aB(n){var e,t,i,r,c,s,f,h,l;return!(n.k!=(Xn(),Ut)||n.j.c.length<=1||(c=u(m(n,(cn(),Kt)),101),c==(Ii(),Xc))||(kw(),i=(n.q?n.q:(On(),On(),il))._b(Sb)?u(m(n,Sb),203):u(m(Ki(n),f9),203),r=i,r==GI)||r!=U2&&r!=q2&&(s=F(R(mw(n,h9))),e=u(m(n,qj),140),!e&&(e=new KW(s,s,s,s)),l=sc(n,(en(),Wn)),h=e.d+e.a+(l.gc()-1)*s,h>n.o.b||(t=sc(n,Zn),f=e.d+e.a+(t.gc()-1)*s,f>n.o.b)))}function sS(n,e){var t,i,r,c,s,f,h,l,a,d;if(a=null,n.d&&(a=u(Bc(n.d,e),142)),!a){if(d=(c=n.a.vi()).i,!n.d||k6(n.d)!=d){for(h=new de,n.d&&E5(h,n.d),f=l=h.f.c+h.i.c;fe||on(un(z(h,(Uf(),tE)))))&&(r=0,c+=a.b+t,Rn(d.c,a),NT(a=new $J(c,t),i=new bF(0,a.f,a,t)),r=0),0==i.b.c.length||!on(un(z(Ct(h),(Uf(),cU))))&&(h.f>=i.o&&h.f<=i.f||.5*i.a<=h.f&&1.5*i.a>=h.f)?rZ(i,h):(NT(a,s=new bF(i.s+i.r+t,a.f,a,t)),rZ(s,h)),r=h.i+h.g;return Rn(d.c,a),d}function f8(n){var e,t,i,r;if(!(null==n.b||n.b.length<=2||n.a)){for(e=0,r=0;r=n.b[r+1])r+=2;else{if(!(t0&&Ac(r,-6)>=0){if(Ac(r,0)>=0){for(c=t+Ae(r),f=a-1;f>=c;f--)d[f+1]=d[f];return d[++c]=46,h&&(d[--t]=45),ks(d,t,a-t+1)}for(s=2;rD(s,Yi(d1(r),1));s++)d[--t]=48;return d[--t]=46,d[--t]=48,h&&(d[--t]=45),ks(d,t,a-t)}return p=t+1,i=a,g=new Cg,h&&(g.a+="-"),i-p>=1?(ca(g,d[t]),g.a+=".",g.a+=ks(d,t+1,a-t-1)):g.a+=ks(d,t,a-t),g.a+="E",Ac(r,0)>0&&(g.a+="+"),g.a+=""+t5(r),g.a}(Ec(n.f),di(n.e)),n.g):(r=EB((!n.c&&(n.c=bk(Ec(n.f))),n.c),0),0==n.e?r:(e=(!n.c&&(n.c=bk(Ec(n.f))),n.c).e<0?2:1,i=-n.e+(t=r.length)-e,(c=new V1).a+=""+r,n.e>0&&i>=-6?i>=0?_7(c,t-di(n.e),String.fromCharCode(46)):(iF(c,e-1,e-1,"0."),_7(c,e+1,ks(Gd,0,-di(i)-1))):(t-e>=1&&(_7(c,e,String.fromCharCode(46)),++t),_7(c,t,String.fromCharCode(69)),i>0&&_7(c,++t,String.fromCharCode(43)),_7(c,++t,""+t5(Ec(i)))),n.g=c.a,n.g))}function wB(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p;for(p=new de,c=n.a.ec().Kc();c.Ob();)Xe(p,i=u(c.Pb(),177),t.af(i));for(Se(n),Jt(s=n?new Hu(n):D3(n.a.ec().Kc()),new D9n(p)),f=oT(s),h=new YC(e),Yc((v=new de).f,e,h);0!=f.a.gc();){for(l=null,a=null,d=null,r=f.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),177),F(R(Rr(br(p.f,i))))<=Mt){if(tu(v,i.a)&&!tu(v,i.b)){a=i.b,d=i.a,l=i;break}if(tu(v,i.b)&&!tu(v,i.a)){a=i.a,d=i.b,l=i;break}}if(!l)break;g=new YC(a),nn(u(Rr(br(v.f,d)),225).a,g),Yc(v.f,a,g),f.a.Bc(l)}return h}function Ld(n,e){var t,i,r,s,f;if(e){if(!n.a&&(n.a=new iC),2==n.e)return void tC(n.a,e);if(1==e.e){for(r=0;r=sr?jr(t,iZ(i)):B3(t,i&ri),s=new n$(10,null,0),function hwe(n,e,t){$3(t,n.a.c.length),Vo(n.a,t,e)}(n.a,s,f-1)):(s.Mm(),jr(t=new p6,s.Mm())),0==e.e?(i=e.Km())>=sr?jr(t,iZ(i)):B3(t,i&ri):jr(t,e.Mm()),u(s,530).b=t.a}}function PIe(n,e,t){var i,r,c;if((r=u(m(e,(cn(),SI)),282))!=(N4(),Z8)){switch(1===(t.Ug("Horizontal Compaction",1),n.a=e,function ghe(n,e){return n.g=e,n}(i=new fHn(((c=new VNn).d=e,c.c=u(m(c.d,Gl),223),function yAe(n){var e,t,i,r,c,s,f;for(e=!1,t=0,r=new C(n.d.b);r.a0&&Uk(l,!0,(ii(),zr)),f.k==(Xn(),Qt)&&lIn(l),Xe(n.f,f,e)):((a=(i=u(yge(Nl(f)),18)).c.i)==f&&(a=i.d.i),d=new ai(a,gi(Bi(f.n),a.n)),Xe(n.b,f,d))}(c),PAe(c),c.a)),n.b),u(m(e,uhn),431).g)?Wjn(i,new kFn(n.a)):Wjn(i,(mJ(),UQn)),r.g){case 1:Y5(i);break;case 2:Y5(fS(i,(ii(),zr)));break;case 3:Y5(Vjn(fS(Y5(i),(ii(),zr)),new q2n));break;case 4:Y5(Vjn(fS(Y5(i),(ii(),zr)),new m7n(c)));break;case 5:Y5(function whe(n,e){return n.b=e,n}(i,ene))}fS(i,(ii(),$r)),i.e=!0,function iLe(n){var e,t,i,r;for(_t(rt(new Mn(null,new Pn(n.a.b,16)),new X2n),new W2n),function Bke(n){var e,t,i,r,c;for(i=new Ed(new cd(n.b).a);i.b;)e=u((t=W0(i)).ld(),10),c=u(u(t.md(),42).a,10),r=u(u(t.md(),42).b,8),et(wf(e.n),et(Bi(c.n),r))}(n),_t(rt(new Mn(null,new Pn(n.a.b,16)),new V2n),new J2n),n.c==(Dl(),Qp)&&(_t(rt(uc(new Mn(null,new Pn(new rd(n.f),1)),new Q2n),new Y2n),new E7n(n)),_t(rt(Kr(uc(uc(new Mn(null,new Pn(n.d.b,16)),new Z2n),new nvn),new evn),new tvn),new M7n(n))),r=new W(Mt,Mt),e=new W(fi,fi),i=new C(n.a.b);i.a1&&(h=l.Hg(h,n.a,f));return 1==h.c.length?u(sn(h,h.c.length-1),238):2==h.c.length?function vIe(n,e,t,i){var s,a,d,g,O;return g=e.f,(s=n.f)!=(Z5(),zp)&&s!=P9||g!=zp&&g!=P9?s!=V2&&s!=I9||g!=V2&&g!=I9?s!=V2&&s!=zp||g!=V2&&g!=zp?n:(s==V2?(d=n,a=e):(d=e,a=n),O=y.Math.max(t.j+t.f,d.e+i.f)-y.Math.min(t.j,d.e),(d.d+i.g-t.i)*O<=(y.Math.max(t.i+t.g,a.d+i.g)-y.Math.min(t.i,a.d))*(a.e+i.f-t.j)?n.f==V2?n:e:n.f==zp?n:e):n.f==I9?n:e:n.f==P9?n:e}((Ln(0,h.c.length),u(h.c[0],238)),(Ln(1,h.c.length),u(h.c[1],238)),s,c):null}function wGn(n){var e,t,i,r,c,s;for(iu(n.a,new Dbn),t=new C(n.a);t.a=y.Math.abs(i.b)?(i.b=0,c.d+c.a>s.d&&c.ds.c&&c.c0){if(e=new BX(n.i,n.g),c=(t=n.i)<100?null:new J1(t),n.Tj())for(i=0;i0){for(f=n.g,l=n.i,g5(n),c=l<100?null:new J1(l),i=0;i4){if(!n.fk(e))return!1;if(n.al()){if(h=(i=(r=u(e,54)).Eh())==n.e&&(n.ml()?r.yh(r.Fh(),n.il())==n.jl():-1-r.Fh()==n.Lj()),n.nl()&&!h&&!i&&r.Jh())for(c=0;c0)if(e=new sY(n.pj()),c=(t=a)<100?null:new J1(t),z7(n,t,e.g),r=1==t?n.Ij(4,D(e,0),null,0,h):n.Ij(6,e,null,-1,h),n.Mj()){for(i=new ne(e);i.e!=i.i.gc();)c=n.Oj(ue(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else z7(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(On(),Vi),null,-1,h));else if(n.Mj())if((a=n.Ej())>0){for(f=n.Fj(),l=a,z7(n,a,f),c=l<100?null:new J1(l),i=0;i.5?A-=2*s*(p-.5):p<.5&&(A+=2*c*(.5-p)),A<(r=f.d.b)&&(A=r),A>j.a-(k=f.d.c)-a&&(A=j.a-k-a),f.n.a=e+A}}function Ly(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p;if(n.e&&n.c.c>19&&(e=b4(e),h=!h),s=function DMe(n){var e,t,i;return(t=n.l)&t-1||(i=n.m)&i-1||(e=n.h)&e-1||0==e&&0==i&&0==t?-1:0==e&&0==i&&0!=t?HQ(t):0==e&&0!=i&&0==t?HQ(i)+22:0!=e&&0==i&&0==t?HQ(e)+44:-1}(e),c=!1,r=!1,i=!1,n.h==Hy&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=s)return f=wen(n,s),h&&aF(f),t&&(Sa=eu(0,0,0)),f;n=iTn((Q3(),Dun)),i=!0,h=!h}else n.h>>19&&(c=!0,n=b4(n),i=!0,h=!h);return-1!=s?s6e(n,s,h,c,t):nnn(n,e)<0?(t&&(Sa=c?b4(n):eu(n.l,n.m,n.h)),eu(0,0,0)):function ISe(n,e,t,i,r,c){var s,h,l,a,d,g;for(s=c_n(e,l=kxn(e)-kxn(n)),h=eu(0,0,0);l>=0&&(!E7e(n,s)||(l<22?h.l|=1<>>1,s.m=a>>>1|(1&d)<<21,s.l=g>>>1|(1&a)<<21,--l;return t&&aF(h),c&&(i?(Sa=b4(n),r&&(Sa=exn(Sa,(Q3(),Nun)))):Sa=eu(n.l,n.m,n.h)),h}(i?n:eu(n.l,n.m,n.h),e,h,c,r,t)}function gB(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p;if(0==(s=n.e))return e;if(0==(h=e.e))return n;if((c=n.d)+(f=e.d)==2)return t=vi(n.a[0],vr),i=vi(e.a[0],vr),s==h?(p=Ae(a=Yi(t,i)),0==(v=Ae(ia(a,32)))?new Tl(s,p):new dd(s,2,S(T(ye,1),_e,28,15,[p,v]))):(mh(),zC(s<0?ms(i,t):ms(t,i),0)?ga(s<0?ms(i,t):ms(t,i)):c5(ga(d1(s<0?ms(i,t):ms(t,i)))));if(s==h)g=s,d=c>=f?M$(n.a,c,e.a,f):M$(e.a,f,n.a,c);else{if(0==(r=c!=f?c>f?1:-1:LY(n.a,e.a,c)))return mh(),G8;1==r?(g=s,d=E$(n.a,c,e.a,f)):(g=h,d=E$(e.a,f,n.a,c))}return l5(l=new dd(g,d.length,d)),l}function QIe(n,e){var t,i,r,c,s,f,h;if(!(n.g>e.f||e.g>n.f)){for(t=0,i=0,s=n.w.a.ec().Kc();s.Ob();)r=u(s.Pb(),12),CF(oc(S(T(yi,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++t;for(f=n.r.a.ec().Kc();f.Ob();)r=u(f.Pb(),12),CF(oc(S(T(yi,1),J,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--t;for(h=e.w.a.ec().Kc();h.Ob();)r=u(h.Pb(),12),CF(oc(S(T(yi,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=e.r.a.ec().Kc();c.Ob();)r=u(c.Pb(),12),CF(oc(S(T(yi,1),J,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;t=0)return t;switch(F0(Ir(n,t))){case 2:if(Tn("",v1(n,t.qk()).xe())){if(a=men(n,e,h=ok(Ir(n,t)),_3(Ir(n,t))))return a;for(s=0,d=(r=Ven(n,e)).gc();s1,l=new xf(g.b);rc(l.a)||rc(l.b);)d=(h=u(rc(l.a)?E(l.a):E(l.b),18)).c==g?h.d:h.c,y.Math.abs(oc(S(T(yi,1),J,8,0,[d.i.n,d.n,d.a])).b-s.b)>1&&BTe(n,h,s,c,g)}}function ht(){ht=N,S0n=(Xz(),Mc).b,lse=u(D(H(Mc.b),0),35),o0=u(D(H(Mc.b),1),35),hse=u(D(H(Mc.b),2),35),uv=Mc.bb,u(D(H(Mc.bb),0),35),u(D(H(Mc.bb),1),35),ov=Mc.fb,Q9=u(D(H(Mc.fb),0),35),u(D(H(Mc.fb),1),35),u(D(H(Mc.fb),2),19),Rb=Mc.qb,Ese=u(D(H(Mc.qb),0),35),u(D(H(Mc.qb),1),19),u(D(H(Mc.qb),2),19),LE=u(D(H(Mc.qb),3),35),DE=u(D(H(Mc.qb),4),35),Z9=u(D(H(Mc.qb),6),35),Y9=u(D(H(Mc.qb),5),19),ase=Mc.j,dse=Mc.k,bse=Mc.q,wse=Mc.w,gse=Mc.B,vse=Mc.A,pse=Mc.C,mse=Mc.D,kse=Mc._,yse=Mc.cb,jse=Mc.hb}function mGn(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,j,A,I,O,$;for(a=F(R(m(n,(cn(),Ib)))),i=F(R(m(n,Khn))),U(g=new lL,Ib,a+i),A=(l=e).d,I=l.d.i,j=GX(l.c.i.c),O=GX(I.c),r=new Z,d=j;d<=O;d++)id(f=new Fl(n),(Xn(),Ei)),U(f,(V(),ot),l),U(f,Kt,(Ii(),Xc)),U(f,KI,g),v=u(sn(n.b,d),30),d==j?yw(f,v.a.c.length-t,v):Di(f,v),($=F(R(m(l,O1))))<0&&U(l,O1,$=0),f.o.b=$,p=y.Math.floor($/2),bi(s=new Dc,(en(),Wn)),cc(s,f),s.n.b=p,bi(h=new Dc,Zn),cc(h,f),h.n.b=p,Pi(l,s),qr(c=new B0,l),U(c,Nr,null),Qi(c,h),Pi(c,A),Y7e(f,l,c),Rn(r.c,c),l=c;return r}function vB(n,e){var i,r,c,s,f,h,a,d,g,v,p,k,j,A,O;for(h=u(E1(n,(en(),Wn)).Kc().Pb(),12).e,v=u(E1(n,Zn).Kc().Pb(),12).g,f=h.c.length,O=$f(u(sn(n.j,0),12));f-- >0;){for(Ln(0,h.c.length),k=u(h.c[0],18),Ln(0,v.c.length),c=Hr((r=u(v.c[0],18)).d.e,r,0),Dve(k,r.d,c),Qi(r,null),Pi(r,null),p=k.a,e&&xe(p,new ir(O)),i=ge(r.a,0);i.b!=i.d.c;)xe(p,new ir(u(be(i),8)));for(A=k.b,g=new C(r.b);g.a-2;default:return!1}switch(e=n.Rj(),n.p){case 0:return null!=e&&on(un(e))!=R6(n.k,0);case 1:return null!=e&&u(e,222).a!=Ae(n.k)<<24>>24;case 2:return null!=e&&u(e,180).a!=(Ae(n.k)&ri);case 6:return null!=e&&R6(u(e,168).a,n.k);case 5:return null!=e&&u(e,17).a!=Ae(n.k);case 7:return null!=e&&u(e,191).a!=Ae(n.k)<<16>>16;case 3:return null!=e&&F(R(e))!=n.j;case 4:return null!=e&&u(e,161).a!=n.j;default:return null==e?null!=n.n:!it(e,n.n)}}function Dy(n,e,t){var i,r,c,s;return n.ol()&&n.nl()&&x(s=PN(n,u(t,58)))!==x(t)?(n.xj(e),n.Dj(e,ENn(n,0,s)),n.al()&&(r=u(t,54),c=n.ml()?n.kl()?r.Th(n.b,dr(u(Nn(vu(n.b),n.Lj()),19)).n,u(Nn(vu(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,St(r.Dh(),dr(u(Nn(vu(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null),!u(s,54).Ph()&&(i=u(s,54),c=n.ml()?n.kl()?i.Rh(n.b,dr(u(Nn(vu(n.b),n.Lj()),19)).n,u(Nn(vu(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,St(i.Dh(),dr(u(Nn(vu(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c)),c&&c.oj()),ao(n.b)&&n.Jj(n.Ij(9,t,s,e,!1)),s):t}function kGn(n){var e,t,i,r,c,s,f,h,l,a;for(i=new Z,s=new C(n.e.a);s.a0&&(s=y.Math.max(s,MFn(n.C.b+i.d.b,r))),a=i,d=r,g=c;n.C&&n.C.c>0&&(v=g+n.C.c,l&&(v+=a.d.c),s=y.Math.max(s,(Of(),zs(zf),y.Math.abs(d-1)<=zf||1==d||isNaN(d)&&isNaN(1)?0:v/(1-d)))),t.n.b=0,t.a.a=s}function jGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,v;if(t=u(Er(n.b,e),127),(h=u(u(ut(n.r,e),21),87)).dc())return t.n.d=0,void(t.n.a=0);for(l=n.u.Hc((Xu(),Xl)),s=0,n.A.Hc((mo(),u0))&&Qqn(n,e),f=h.Kc(),a=null,g=0,d=0;f.Ob();)c=F(R((i=u(f.Pb(),117)).b.of((cM(),DP)))),r=i.b.Mf().b,a?(v=d+a.d.a+n.w+i.d.d,s=y.Math.max(s,(Of(),zs(zf),y.Math.abs(g-c)<=zf||g==c||isNaN(g)&&isNaN(c)?0:v/(c-g)))):n.C&&n.C.d>0&&(s=y.Math.max(s,MFn(n.C.d+i.d.d,c))),a=i,g=c,d=r;n.C&&n.C.a>0&&(v=d+n.C.a,l&&(v+=a.d.a),s=y.Math.max(s,(Of(),zs(zf),y.Math.abs(g-1)<=zf||1==g||isNaN(g)&&isNaN(1)?0:v/(1-g)))),t.n.d=0,t.a.b=s}function aOe(n,e,t,i,r,c,s,f){var l,a,d,g,v,p,j,A;if(p=!1,l=Aen(t.q,e.f+e.b-t.q.f),v=i.f>e.b&&f,d=s8(i,A=r-(t.q.e+l-s),!1).a,v&&d>i.f)return!1;if(v){for(g=0,j=new C(e.d);j.a=(Ln(c,n.c.length),u(n.c[c],186)).e,!v&&d>e.b&&!a))&&((a||v||d<=e.b)&&(a&&d>e.b?(t.d=d,Ck(t,s_n(t,d))):(TKn(t.q,l),t.c=!0),Ck(i,r-(t.s+t.r)),uy(i,t.q.e+t.q.d,e.f),NT(e,i),n.c.length>c&&(fy((Ln(c,n.c.length),u(n.c[c],186)),i),0==(Ln(c,n.c.length),u(n.c[c],186)).a.c.length&&l1(n,c)),p=!0),p)}function EGn(n,e,t){var i,r,c,s,f,h;for(this.g=n,this.d=K(cl,A1,10,(f=e.d.length)+(h=t.d.length),0,1),s=0;s0?H$(this,this.f/this.a):null!=Lf(e.g,e.d[0]).a&&null!=Lf(t.g,t.d[0]).a?H$(this,(F(Lf(e.g,e.d[0]).a)+F(Lf(t.g,t.d[0]).a))/2):null!=Lf(e.g,e.d[0]).a?H$(this,Lf(e.g,e.d[0]).a):null!=Lf(t.g,t.d[0]).a&&H$(this,Lf(t.g,t.d[0]).a)}function dOe(n,e){var t,i,c,s,f,h,l,a,d;for(n.a=new tIn(function Vme(n){var e,t;return t=(e=u(n.e&&n.e(),9)).slice(),new Go(e,u(O$(t,e),9),e.length)}(x9)),i=new C(e.a);i.a=1&&(j-s>0&&d>=0?(h.n.a+=k,h.n.b+=c*s):j-s<0&&a>=0&&(h.n.a+=k*j,h.n.b+=c));n.o.a=e.a,n.o.b=e.b,U(n,(cn(),Qd),(mo(),new Go(i=u(df(U9),9),u(Hs(i,i.length),9),0)))}function vOe(n,e,t){var i,r,c,s,f,h,l,d,g,v,p,k,j,A;if(t.Ug("Network simplex layering",1),n.b=e,A=4*u(m(e,(cn(),l9)),17).a,(j=n.b.a).c.length<1)t.Vg();else{for(k=null,r=ge(c=function bSe(n,e){var t,i,r,c,s;for(null==n.c||n.c.length1)for(k=K(ye,_e,28,n.b.b.c.length,15,1),d=0,l=new C(n.b.b);l.a=t}(this.k)}function AGn(n){var e,t,i,r,c,s,f;for(e=0,c=new C(n.b.a);c.afi||e.o==n0&&a=f&&r<=h)f<=r&&c<=h?(t[a++]=r,t[a++]=c,i+=2):f<=r?(t[a++]=r,t[a++]=h,n.b[i]=h+1,s+=2):c<=h?(t[a++]=f,t[a++]=c,i+=2):(t[a++]=f,t[a++]=h,n.b[i]=h+1);else{if(!(hja)&&f<10);qz(n.c,new Ybn),AGn(n),function awe(n){return d2(n,(ii(),$r)),n.d=!0,n}(n.c),function oOe(n){var e,t,i,r,c,s,f,h;for(c=new C(n.a.b);c.a=2){for(s=u(be(h=ge(t,0)),8),f=u(be(h),8);f.a=n.j?(++n.j,nn(n.b,Y(1)),nn(n.c,a)):(i=n.d[e.p][1],Vo(n.b,l,Y(u(sn(n.b,l),17).a+1-i)),Vo(n.c,l,F(R(sn(n.c,l)))+a-i*n.f)),(n.r==(js(),Uj)&&(u(sn(n.b,l),17).a>n.k||u(sn(n.b,l-1),17).a>n.k)||n.r==Gj&&(F(R(sn(n.c,l)))>n.n||F(R(sn(n.c,l-1)))>n.n))&&(h=!1),s=new ie(ce(ki(e).a.Kc(),new Vn));ve(s);)c=u(fe(s),18),n.g[(f=c.c.i).p]==l&&(r+=u((d=PGn(n,f)).a,17).a,h=h&&on(un(d.b)));return n.g[e.p]=l,new ai(Y(r+=n.d[e.p][0]),(Kn(),!!h))}function IGn(n,e){var r,s;F(R(m(e,(cn(),ef))))<2&&U(e,ef,2),u(m(e,$o),88)==(ii(),eh)&&U(e,$o,cA(e)),r=u(m(e,Wte),17),U(e,(V(),Hp),0==r.a?new xF:new sT(r.a)),null==un(m(e,s9))&&U(e,s9,(Kn(),x(m(e,Gl))===x((Dl(),Ym)))),_t(new Mn(null,new Pn(e.a,16)),new ZG(n)),_t(uc(new Mn(null,new Pn(e.b,16)),new hG),new nz(n)),s=new CGn(e),U(e,(V(),B2),s),uk(n.a),gf(n.a,(zi(),nf),u(m(e,Wd),188)),gf(n.a,rl,u(m(e,Jd),188)),gf(n.a,$c,u(m(e,o9),188)),gf(n.a,Uc,u(m(e,BI),188)),gf(n.a,Gr,function Pme(n){var e;return pTn(),jCn(Cq,n)||((e=new Mpn).a=n,RW(Cq,n,e)),u(Er(Cq,n),645)}(u(m(e,Gl),223))),XX(n.a,function CDe(n){var e,t,c;switch(t=u(m(n,(V(),zc)),21),e=QC(jZn),u(m(n,(cn(),Zw)),346)==(Ll(),B1)&&So(e,EZn),on(un(m(n,YH)))?Ke(e,(zi(),nf),(nr(),oH)):Ke(e,(zi(),$c),(nr(),oH)),null!=m(n,(wT(),O9))&&So(e,CZn),(on(un(m(n,yhn)))||on(un(m(n,vhn))))&&Lu(e,(zi(),Gr),(nr(),gsn)),u(m(n,$o),88).g){case 2:case 3:case 4:Lu(Ke(e,(zi(),nf),(nr(),psn)),Gr,vsn)}switch(t.Hc((gr(),pI))&&Lu(Ke(Ke(e,(zi(),nf),(nr(),wsn)),Uc,dsn),Gr,bsn),x(m(n,$a))!==x((js(),zI))&&Ke(e,(zi(),$c),(nr(),Dsn)),t.Hc(kI)&&(Ke(e,(zi(),nf),(nr(),xsn)),Ke(e,rl,$sn),Ke(e,$c,Fsn)),x(m(n,SI))!==x((N4(),Z8))&&x(m(n,Gl))!==x((Dl(),bE))&&Lu(e,(zi(),Gr),(nr(),Asn)),on(un(m(n,mhn)))&&Ke(e,(zi(),$c),(nr(),Tsn)),on(un(m(n,WH)))&&Ke(e,(zi(),$c),(nr(),Bsn)),function xMe(n){var e,t,i,r;return x(m(n,(cn(),Zw)))===x((Ll(),B1))?!n.e&&x(m(n,Kj))!==x((l4(),Nj)):(i=u(m(n,XH),299),r=on(un(m(n,WH)))||x(m(n,o9))===x((k5(),Dj)),e=u(m(n,fhn),17).a,t=n.a.c.length,!r&&i!=(l4(),Nj)&&(0==e||e>t))}(n)&&(c=(x(m(n,Zw))===x(B1)?u(m(n,Kj),299):u(m(n,XH),299))==(l4(),LH)?(nr(),Nsn):(nr(),_sn),Ke(e,(zi(),Uc),c)),u(m(n,Xhn),388).g){case 1:Ke(e,(zi(),Uc),(nr(),Rsn));break;case 2:Lu(Ke(Ke(e,(zi(),$c),(nr(),fsn)),Uc,hsn),Gr,lsn)}return x(m(n,ul))!==x((vh(),D1))&&Ke(e,(zi(),$c),(nr(),Ksn)),e}(e)),U(e,_H,Ly(n.a,e))}function jtn(n,e,t,i,r){var c,s,f,h,l,a,d,g,v,p,k,j,A;for(d=new de,s=new Z,P_n(n,t,n.d.Ag(),s,d),P_n(n,i,n.d.Bg(),s,d),n.b=.2*(k=NHn(uc(new Mn(null,new Pn(s,16)),new xpn)),j=NHn(uc(new Mn(null,new Pn(s,16)),new Bpn)),y.Math.min(k,j)),c=0,f=0;f=2&&(A=ZHn(s,!0,g),!n.e&&(n.e=new hkn(n)),$8e(n.e,A,s,n.b)),FKn(s,g),function $Oe(n){var t,i,r,c,s,f,h,l,a;for(l=new Z,f=new Z,s=new C(n);s.a-1){for(c=new C(f);c.a0)&&(RG(h,y.Math.min(h.o,r.o-1)),XE(h,h.i-1),0==h.i&&Rn(f.c,h))}}(s),v=-1,a=new C(s);a.a0&&0==t.c&&(!e&&(e=new Z),Rn(e.c,t));if(e)for(;0!=e.c.length;){if((t=u(l1(e,0),239)).b&&t.b.c.length>0)for(!t.b&&(t.b=new Z),c=new C(t.b);c.aHr(n,t,0))return new ai(r,t)}else if(F(Lf(r.g,r.d[0]).a)>F(Lf(t.g,t.d[0]).a))return new ai(r,t);for(f=(!t.e&&(t.e=new Z),t.e).Kc();f.Ob();)!(s=u(f.Pb(),239)).b&&(s.b=new Z),ow(0,(h=s.b).c.length),S6(h.c,0,t),s.c==h.c.length&&Rn(e.c,s)}return null}function l8(n,e){var t,i,r,c,s,f,h,l,a;if(5!=e.e){if(null!=(l=e).b&&null!=n.b){for(u2(n),f8(n),u2(l),f8(l),t=K(ye,_e,28,n.b.length+l.b.length,15,1),a=0,i=0,s=0;i=f&&r<=h)f<=r&&c<=h?i+=2:f<=r?(n.b[i]=h+1,s+=2):c<=h?(t[a++]=r,t[a++]=f-1,i+=2):(t[a++]=r,t[a++]=f-1,n.b[i]=h+1,s+=2);else{if(!(h2?(si(a=new Z,new f1(A,1,A.b)),qr(I=new Bx(yzn(a,O+n.a)),e),Rn(t.c,I)):I=u(ee(n.b,i?Wh(e):va(e)),272),h=Wh(e),i&&(h=va(e)),s=function Fje(n,e){var t,i,r;return r=p2,_5(),i=Mj,r=y.Math.abs(n.b),(t=y.Math.abs(e.f-n.b))0?1:0;c.a[r]!=t;)r=n.a.Ne(t.d,(c=c.a[r]).d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}(n,h,s,a=new S$(d.d,d.e)),g==s&&(g=a)),g.a[g.a[1]==d?1:0]=d.a[d.a[0]?0:1],--n.c),n.b=h.a[1],n.b&&(n.b.b=!1),t.b}function xGn(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(t)for(i=-1,a=new Ni(e,0);a.b=14&&a<=16?L(i,183)?Al(t,mEe(u(i,183))):L(i,195)?Al(t,rye(u(i,195))):L(i,201)?Al(t,bje(u(i,201))):L(i,2111)?Al(t,cye(u(i,2111))):L(i,53)?Al(t,pEe(u(i,53))):L(i,376)?Al(t,FEe(u(i,376))):L(i,846)?Al(t,vEe(u(i,846))):L(i,109)&&Al(t,gEe(u(i,109))):e.a._b(i)?(t.a?Re(t.a,t.b):t.a=new yo(t.d),_6(t.a,"[...]")):Al(t,BGn(kd(i),new Y6(e))):Al(t,null==i?yu:Jr(i));return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function G4(n,e){var t,i,r,c;c=n.F,null==e?(n.F=null,p4(n,null)):(n.F=(Jn(e),e),-1!=(i=fh(e,ku(60)))?($i(0,i,e.length),r=e.substr(0,i),-1==fh(e,ku(46))&&!Tn(r,vp)&&!Tn(r,$8)&&!Tn(r,hP)&&!Tn(r,F8)&&!Tn(r,x8)&&!Tn(r,B8)&&!Tn(r,R8)&&!Tn(r,K8)&&(r=mJn),-1!=(t=tM(e,ku(62)))&&(r+=""+(Gn(t+1,e.length+1),e.substr(t+1))),p4(n,r)):(r=e,-1==fh(e,ku(46))&&(-1!=(i=fh(e,ku(91)))&&($i(0,i,e.length),r=e.substr(0,i)),Tn(r,vp)||Tn(r,$8)||Tn(r,hP)||Tn(r,F8)||Tn(r,x8)||Tn(r,B8)||Tn(r,R8)||Tn(r,K8)?r=e:(r=mJn,-1!=i&&(r+=""+(Gn(i,e.length+1),e.substr(i))))),p4(n,r),r==e&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&tt(n,new ji(n,1,5,c,e))}function RGn(n,e){var t,i,r,s,f,h,l,d;if(Gn(h=e.length-1,e.length),93==(f=e.charCodeAt(h))){if((s=fh(e,ku(91)))>=0)return r=function z5e(n,e){var t;if(L(t=Ey(n.Dh(),e),102))return u(t,19);throw M(new Un(Aa+e+"' is not a valid reference"))}(n,($i(1,s,e.length),e.substr(1,s-1))),$i(s+1,h,e.length),function pDe(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(h=new Z,d=e.length,s=CY(t),l=0;l=0?n.Lh(l,!1,!0):ib(n,t,!1),61).Kc();c.Ob();){for(r=u(c.Pb(),58),a=0;a=0){i=u(j$(n,A$n(n,($i(1,t,e.length),e.substr(1,t-1))),!1),61),l=0;try{l=Io((Gn(t+1,e.length+1),e.substr(t+1)),Xi,nt)}catch(g){throw L(g=At(g),130)?M(new kT(g)):M(g)}if(l>16==-10?t=u(n.Cb,292).Yk(e,t):n.Db>>16==-15&&(!e&&(In(),e=rh),!l&&(In(),l=rh),n.Cb.Yh()&&(h=new Sl(n.Cb,1,13,l,e,j1(eo(u(n.Cb,62)),n),!1),t?t.nj(h):t=h));else if(L(n.Cb,90))n.Db>>16==-23&&(L(e,90)||(In(),e=$s),L(l,90)||(In(),l=$s),n.Cb.Yh()&&(h=new Sl(n.Cb,1,10,l,e,j1(Lc(u(n.Cb,29)),n),!1),t?t.nj(h):t=h));else if(L(n.Cb,457))for(!(f=u(n.Cb,850)).b&&(f.b=new ZE(new FL)),c=new nC(new Ed(new cd(f.b.a).a));c.a.b;)t=z4(r=u(W0(c.a).ld(),89),UA(r,f),t);return t}function KGn(n){var e,t,i,r,c,s,f,h,l,a,d,g;if((g=u(z(n,(Ue(),i0)),21)).dc())return null;if(f=0,s=0,g.Hc((mo(),kE))){for(a=u(z(n,F9),101),i=2,t=2,r=2,c=2,e=Ct(n)?u(z(Ct(n),t0),88):u(z(n,t0),88),l=new ne((!n.c&&(n.c=new q(Yu,n,9,9)),n.c));l.e!=l.i.gc();)if(h=u(ue(l),123),(d=u(z(h,iv),64))==(en(),hc)&&(d=otn(h,e),ft(h,iv,d)),a==(Ii(),Xc))switch(d.g){case 1:i=y.Math.max(i,h.i+h.g);break;case 2:t=y.Math.max(t,h.j+h.f);break;case 3:r=y.Math.max(r,h.i+h.g);break;case 4:c=y.Math.max(c,h.j+h.f)}else switch(d.g){case 1:i+=h.g+2;break;case 2:t+=h.f+2;break;case 3:r+=h.g+2;break;case 4:c+=h.f+2}f=y.Math.max(i,r),s=y.Math.max(t,c)}return ub(n,f,s,!0,!0)}function pB(n,e,t,i,r){var c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$;for(I=u(Vr(ST(rt(new Mn(null,new Pn(e.d,16)),new I7n(t)),new O7n(t)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15),d=nt,a=Xi,h=new C(e.b.j);h.a0)?l&&(g=A.p,s?++g:--g,v=!(Hx(i=hxn(u(sn(A.c.a,g),10)),X,t[0])||NPn(i,X,t[0]))):v=!0),p=!1,(_=e.D.i)&&_.c&&f.e&&(s&&_.p>0||!s&&_.p<_.c.a.c.length-1?(g=_.p,s?--g:++g,p=!(Hx(i=hxn(u(sn(_.c.a,g),10)),t[0],jn)||NPn(i,t[0],jn))):p=!0),v&&p&&xe(n.a,tn),v||m5(n.a,S(T(yi,1),J,8,0,[k,j])),p||m5(n.a,S(T(yi,1),J,8,0,[$,O]))}function QOe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v;if(c=u(m(n,(V(),ot)),74)){for(i=n.a,et(r=new ir(t),function jke(n){var e,t,i,r;if(r=u(m(n,(V(),yfn)),36)){for(i=new Oi,e=Ki(n.c.i);e!=r;)e=Ki(t=e.e),A0(et(et(i,t.n),e.c),e.d.b,e.d.d);return i}return HZn}(n)),f4(n.d.i,n.c.i)?(g=n.c,gi(d=oc(S(T(yi,1),J,8,0,[g.n,g.a])),t)):d=$f(n.c),Nt(i,d,i.a,i.a.a),v=$f(n.d),null!=m(n,qH)&&et(v,u(m(n,qH),8)),Nt(i,v,i.c.b,i.c),ww(i,r),xT(s=s2(c,!0,!0),u(D((!c.b&&(c.b=new Dn(he,c,4,7)),c.b),0),84)),BT(s,u(D((!c.c&&(c.c=new Dn(he,c,5,8)),c.c),0),84)),Py(i,s),a=new C(n.b);a.as?1:E0(isNaN(0),isNaN(s)))<0&&(zs(Sh),(y.Math.abs(s-1)<=Sh||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:E0(isNaN(s),isNaN(1)))<0)&&(zs(Sh),(y.Math.abs(0-f)<=Sh||0==f||isNaN(0)&&isNaN(f)?0:0f?1:E0(isNaN(0),isNaN(f)))<0)&&(zs(Sh),(y.Math.abs(f-1)<=Sh||1==f||isNaN(f)&&isNaN(1)?0:f<1?-1:f>1?1:E0(isNaN(f),isNaN(1)))<0))}function eLe(n,e,t){var i;if(t.Ug("StretchWidth layering",1),0!=e.a.c.length){for(n.c=e,n.t=0,n.u=0,n.i=Mt,n.g=fi,n.d=F(R(m(e,(cn(),ef)))),function y9e(n){var e,t,i;for(n.p=(Se(i=n.c.a),new Hu(i)),t=new C(i);t.a0&&(e.a+=cr),hS(u(ue(f),167),e);for(e.a+=AR,h=new Nv((!i.c&&(i.c=new Dn(he,i,5,8)),i.c));h.e!=h.i.gc();)h.e>0&&(e.a+=cr),hS(u(ue(h),167),e);e.a+=")"}}}function cLe(n,e,t){var i,r,c,s,f,h,l,a;switch(t.Ug("Node promotion heuristic",1),n.i=e,n.r=u(m(e,(cn(),$a)),243),n.r!=(js(),Lb)&&n.r!=cg?function LLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,v,p,k;for(n.o=F(R(m(n.i,(cn(),Ob)))),n.f=F(R(m(n.i,Zd))),n.j=n.i.b.c.length,f=n.j-1,g=0,n.k=0,n.n=0,n.b=Ff(K(qi,J,17,n.j,0,1)),n.c=Ff(K(ui,J,345,n.j,7,1)),s=new C(n.i.b);s.a0&&nn(n.q,a),nn(n.p,a);l+=(e-=i)*n.f,Vo(n.b,f,Y(v=h+e)),Vo(n.c,f,l),n.k=y.Math.max(n.k,v),n.n=y.Math.max(n.n,l),n.e+=e,e+=k}}(n):function rAe(n){var e,t,i,r,s,h,l;for(n.a=new HW,l=0,r=0,i=new C(n.i.b);i.an.k&&(n.r=Uj,U4(n,c));break;case 4:for(n.r=XI,U4(n,c),l=0,r=new C(n.c);r.an.n&&(n.r=Gj,U4(n,c));break;case 6:U4(n,new l7n(di(y.Math.ceil(n.g.length*a/100))));break;case 5:U4(n,new a7n(di(y.Math.ceil(n.e*a/100))));break;case 8:Czn(n,!0);break;case 9:Czn(n,!1)}n.r!=Lb&&n.r!=cg?function STe(n,e){var t,i,r,c,s,f;for(r=new Z,t=0;t<=n.j;t++)(i=new xc(e)).p=n.j-t,Rn(r.c,i);for(f=new C(n.p);f.a0&&(n.c[e.c.p][e.p].d+=io(n.i,24)*zy*.07000000029802322-.03500000014901161,n.c[e.c.p][e.p].a=n.c[e.c.p][e.p].d/n.c[e.c.p][e.p].b)}}function UGn(n,e){var t,i,r,c,s,f,h,l,a;return l="",0==e.length?n.ne(Htn,IB,-1,-1):(Tn((a=Cw(e)).substr(0,3),"at ")&&(Gn(3,a.length+1),a=a.substr(3)),-1==(s=(a=a.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(s=a.indexOf("@"))?(l=a,a=""):(l=Cw((Gn(s+1,a.length+1),a.substr(s+1))),a=Cw(($i(0,s,a.length),a.substr(0,s)))):($i(s+1,t=a.indexOf(")",s),a.length),l=a.substr(s+1,t-(s+1)),a=Cw(($i(0,s,a.length),a.substr(0,s)))),-1!=(s=fh(a,ku(46)))&&(Gn(s+1,a.length+1),a=a.substr(s+1)),(0==a.length||Tn(a,"Anonymous function"))&&(a=IB),f=tM(l,ku(58)),r=VW(l,ku(58),f-1),h=-1,i=-1,c=Htn,-1!=f&&-1!=r&&($i(0,r,l.length),c=l.substr(0,r),h=oAn(($i(r+1,f,l.length),l.substr(r+1,f-(r+1)))),i=oAn((Gn(f+1,l.length+1),l.substr(f+1)))),n.ne(c,a,h,i))}function dLe(n,e,t,i,r){var c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X;for(X=0,v=0,d=new C(e.e);d.a=l&&_>=j&&(g+=p.n.b+k.n.b+k.a.b-$,++f));if(t)for(s=new C(I.e);s.a=l&&_>=j&&(g+=p.n.b+k.n.b+k.a.b-$,++f))}f>0&&(X+=g/f,++v)}v>0?(e.a=r*X/v,e.g=v):(e.a=0,e.g=0)}function GGn(n,e,t,i){var r,c,s,f,h;return function cTe(n,e){var t,i,r,c;for(t=!e||!n.u.Hc((Xu(),Xl)),c=0,r=new C(n.e.Xf());r.ai.d,i.d=y.Math.max(i.d,e),f&&t&&(i.d=y.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=e>i.a,i.a=y.Math.max(i.a,e),f&&t&&(i.a=y.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=e>i.c,i.c=y.Math.max(i.c,e),f&&t&&(i.c=y.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=e>i.b,i.b=y.Math.max(i.b,e),f&&t&&(i.b=y.Math.max(i.b,i.c),i.c=i.b+r)}}}(f),function a7e(n){switch(n.q.g){case 5:mKn(n,(en(),zn)),mKn(n,ae);break;case 4:yGn(n,(en(),zn)),yGn(n,ae);break;default:C_n(n,(en(),zn)),C_n(n,ae)}}(f),function d7e(n){switch(n.q.g){case 5:kKn(n,(en(),Zn)),kKn(n,Wn);break;case 4:jGn(n,(en(),Zn)),jGn(n,Wn);break;default:M_n(n,(en(),Zn)),M_n(n,Wn)}}(f),function BOe(n){var e,t,i,r,c,s,f;if(!n.A.dc()){if(n.A.Hc((mo(),kE))&&(u(Er(n.b,(en(),zn)),127).k=!0,u(Er(n.b,ae),127).k=!0,e=n.q!=(Ii(),hl)&&n.q!=Xc,FG(u(Er(n.b,Zn),127),e),FG(u(Er(n.b,Wn),127),e),FG(n.g,e),n.A.Hc(u0)&&(u(Er(n.b,zn),127).j=!0,u(Er(n.b,ae),127).j=!0,u(Er(n.b,Zn),127).k=!0,u(Er(n.b,Wn),127).k=!0,n.g.k=!0)),n.A.Hc(mE))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,f=n.B.Hc((ro(),G9)),c=0,s=(r=zF()).length;c1)for(_i(O,new eMn(n,v=new gtn(p,O,i))),Rn(s.c,v),d=O.a.ec().Kc();d.Ob();)pu(c,u(d.Pb(),42).b);if(f.a.gc()>1)for(_i(f,new tMn(n,v=new gtn(p,f,i))),Rn(s.c,v),d=f.a.ec().Kc();d.Ob();)pu(c,u(d.Pb(),42).b)}}function mLe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A;if(k=n.n,j=n.o,g=n.d,d=F(R(mw(n,(cn(),eq)))),e){for(a=d*(e.gc()-1),v=0,h=e.Kc();h.Ob();)a+=(s=u(h.Pb(),10)).o.a,v=y.Math.max(v,s.o.b);for(A=k.a-(a-j.a)/2,c=k.b-g.d+v,r=i=j.a/(e.gc()+1),f=e.Kc();f.Ob();)(s=u(f.Pb(),10)).n.a=A,s.n.b=c-s.o.b,A+=s.o.a+d,(l=nqn(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(p=u(m(s,(V(),yI)),12)).e.c.length+p.g.c.length==1&&(p.n.a=r-p.a.a,p.n.b=0,cc(p,n)),r+=i}if(t){for(a=d*(t.gc()-1),v=0,h=t.Kc();h.Ob();)a+=(s=u(h.Pb(),10)).o.a,v=y.Math.max(v,s.o.b);for(A=k.a-(a-j.a)/2,c=k.b+j.b+g.a-v,r=i=j.a/(t.gc()+1),f=t.Kc();f.Ob();)(s=u(f.Pb(),10)).n.a=A,s.n.b=c,A+=s.o.a+d,(l=nqn(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(p=u(m(s,(V(),yI)),12)).e.c.length+p.g.c.length==1&&(p.n.a=r-p.a.a,p.n.b=j.b,cc(p,n)),r+=i}}function yLe(n,e,t,i){var r,c,s,f,h,a,d,g,v,p,k,j;for(h=new W(i.i+i.g/2,i.j+i.f/2),v=dGn(i),p=u(z(e,(cn(),Kt)),101),j=u(z(i,xm),64),DMn(wRn(i),eg)||(k=0==i.i&&0==i.j?0:function $ye(n,e){var t;if(!Df(n))throw M(new Sr(cVn));switch(t=Df(n),e.g){case 1:return-(n.j+n.f);case 2:return n.i-t.g;case 3:return n.j-t.f;case 4:return-(n.i+n.g)}return 0}(i,j),ft(i,eg,k)),U(r=Ny(i,p,j,v,new W(e.g,e.f),h,new W(i.g,i.f),u(m(t,$o),88),t),(V(),ot),i),function Jse(n,e){n.c=e}(c=u(sn(r.j,0),12),function BSe(n){var e,t,i,r,c;for(c=Df(n),r=new ne((!n.e&&(n.e=new Dn(Xt,n,7,4)),n.e));r.e!=r.i.gc();)if(i=u(ue(r),74),!dw(Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84)),c))return!0;for(t=new ne((!n.d&&(n.d=new Dn(Xt,n,8,5)),n.d));t.e!=t.i.gc();)if(e=u(ue(t),74),!dw(Ur(u(D((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84)),c))return!0;return!1}(i)),U(r,tg,(Xu(),yn(qa))),d=u(z(e,tg),181).Hc(Xl),f=new ne((!i.n&&(i.n=new q(Tr,i,1,7)),i.n));f.e!=f.i.gc();)if(!on(un(z(s=u(ue(f),135),Yd)))&&s.a&&(g=MF(s),nn(c.f,g),!d))switch(a=0,e5(u(z(e,tg),21))&&(a=een(new W(s.i,s.j),new W(s.g,s.f),new W(i.g,i.f),0,j)),j.g){case 2:case 4:g.o.a=a;break;case 1:case 3:g.o.b=a}U(r,Rm,R(z(Ct(e),Rm))),U(r,Km,R(z(Ct(e),Km))),U(r,rg,R(z(Ct(e),rg))),nn(t.a,r),Xe(n.a,i,r)}function jLe(n,e,t,i,r,c){var s,f,h,l,a,d;for(qr(l=new Dc,e),bi(l,u(z(e,(cn(),xm)),64)),U(l,(V(),ot),e),cc(l,t),(d=l.o).a=e.g,d.b=e.f,(a=l.n).a=e.i,a.b=e.j,Xe(n.a,e,l),(s=zg(Kr(uc(new Mn(null,(!e.e&&(e.e=new Dn(Xt,e,7,4)),new Pn(e.e,16))),new Ewn),new ywn),new X9n(e)))||(s=zg(Kr(uc(new Mn(null,(!e.d&&(e.d=new Dn(Xt,e,8,5)),new Pn(e.d,16))),new Cwn),new jwn),new W9n(e))),s||(s=zg(new Mn(null,(!e.e&&(e.e=new Dn(Xt,e,7,4)),new Pn(e.e,16))),new Mwn)),U(l,xj,(Kn(),!!s)),function HIe(n,e,t,i){var r,c,s,f,h,l;if((f=n.j)==(en(),hc)&&e!=(Ii(),th)&&e!=(Ii(),Ha)&&(bi(n,f=MUn(n,t)),!(n.q?n.q:(On(),On(),il))._b((cn(),eg))&&f!=hc&&(0!=n.n.a||0!=n.n.b)&&U(n,eg,function H7e(n,e){var t;switch(t=n.i,e.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-t.o.a;case 3:return n.n.b-t.o.b;case 4:return-(n.n.a+n.o.a)}return 0}(n,f))),e==(Ii(),hl)){switch(l=0,f.g){case 1:case 3:(c=n.i.o.a)>0&&(l=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(l=n.n.b/r)}U(n,(V(),Cb),l)}if(h=n.o,s=n.a,i)s.a=i.a,s.b=i.b,n.d=!0;else if(e!=th&&e!=Ha&&f!=hc)switch(f.g){case 1:s.a=h.a/2;break;case 2:s.a=h.a,s.b=h.b/2;break;case 3:s.a=h.a/2,s.b=h.b;break;case 4:s.b=h.b/2}else s.a=h.a/2,s.b=h.b/2}(l,c,r,u(z(e,Pb),8)),h=new ne((!e.n&&(e.n=new q(Tr,e,1,7)),e.n));h.e!=h.i.gc();)!on(un(z(f=u(ue(h),135),Yd)))&&f.a&&nn(l.f,MF(f));switch(r.g){case 2:case 1:(l.j==(en(),zn)||l.j==ae)&&i.Fc((gr(),N2));break;case 4:case 3:(l.j==(en(),Zn)||l.j==Wn)&&i.Fc((gr(),N2))}return l}function Mtn(n,e){var t,i,r,c,s,f,h;if(RSn(),this.a=new tW(this),this.b=n,this.c=e,this.f=LN(Ir(($u(),Ui),e)),this.f.dc())if((f=rnn(Ui,n))==e)for(this.e=!0,this.d=new Z,this.f=new bmn,this.f.Fc(qd),u(sS(Sk(Ui,Mo(n)),""),29)==n&&this.f.Fc(n5(Ui,Mo(n))),r=Yx(Ui,n).Kc();r.Ob();)switch(i=u(r.Pb(),179),F0(Ir(Ui,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(LN(Ir(Ui,i)))}else if(ar(),u(e,69).xk())for(this.e=!0,this.f=null,this.d=new Z,s=0,h=(null==n.i&&kh(n),n.i).length;s=0&&s0&&(u(Er(n.b,e),127).a.b=t)}function Ttn(n){var e;if(this.r=function tge(n,e){return new WIn(u(Se(n),50),u(Se(e),50))}(new lbn,new abn),this.b=new F5(u(Se(fr),297)),this.p=new F5(u(Se(fr),297)),this.i=new F5(u(Se(EYn),297)),this.e=n,this.o=new ir(n.Mf()),this.D=on(un(n.of((Ue(),Vm)))),this.F=n.Yf()||on(un(n.of(fE))),this.A=u(n.of(i0),21),this.B=u(n.of(Ra),21),this.q=u(n.of(F9),101),this.u=u(n.of(hg),21),!function Uye(n){var t;return Xu(),!(Bk(YM(pt(Xl,S(T(TO,1),G,279,0,[qa])),n))>1||(t=pt(q9,S(T(TO,1),G,279,0,[H9,Yp])),Bk(YM(t,n))>1))}(this.u))throw M(new n1("Invalid port label placement: "+this.u));if(this.v=on(un(n.of(sdn))),this.j=u(n.of(ev),21),!function mMe(n){var e,i;return Tw(),!(Bk(YM(pt(Fo,S(T(kr,1),G,95,0,[uf])),n))>1||(e=pt(rf,S(T(kr,1),G,95,0,[zl,cf])),Bk(YM(e,n))>1)||(i=pt(of,S(T(kr,1),G,95,0,[fl,Is])),Bk(YM(i,n))>1))}(this.j))throw M(new n1("Invalid node label placement: "+this.j));this.n=u(q5(n,Van),107),this.k=F(R(q5(n,jO))),this.d=F(R(q5(n,ddn))),this.w=F(R(q5(n,pdn))),this.s=F(R(q5(n,bdn))),this.t=F(R(q5(n,wdn))),this.C=u(q5(n,gdn),140),this.c=2*this.d,e=!this.B.Hc((ro(),yE)),this.f=new B5(0,e,0),this.g=new B5(1,e,0),HL(this.f,(yf(),Zc),this.g)}function WGn(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p;switch(a=new Su,n.a.g){case 3:g=u(m(e.e,(V(),Xd)),15),v=u(m(e.j,Xd),15),p=u(m(e.f,Xd),15),t=u(m(e.e,R2),15),i=u(m(e.j,R2),15),r=u(m(e.f,R2),15),si(s=new Z,g),v.Jc(new _vn),si(s,es(v)),si(s,p),si(c=new Z,t),si(c,es(i)),si(c,r),U(e.f,Xd,s),U(e.f,R2,c),U(e.f,Ifn,e.f),U(e.e,Xd,null),U(e.e,R2,null),U(e.j,Xd,null),U(e.j,R2,null);break;case 1:Fi(a,e.e.a),xe(a,e.i.n),Fi(a,es(e.j.a)),xe(a,e.a.n),Fi(a,e.f.a);break;default:Fi(a,e.e.a),Fi(a,es(e.j.a)),Fi(a,e.f.a)}jo(e.f.a),Fi(e.f.a,a),Qi(e.f,e.e.c),f=u(m(e.e,(cn(),Nr)),75),l=u(m(e.j,Nr),75),h=u(m(e.f,Nr),75),(f||l||h)&&(YV(d=new Su,h),YV(d,l),YV(d,f),U(e.f,Nr,d)),Qi(e.j,null),Pi(e.j,null),Qi(e.e,null),Pi(e.e,null),Di(e.a,null),Di(e.i,null),e.g&&WGn(n,e.g)}function VGn(){var n,e,t;for(VGn=N,new Yk(1,0),new Yk(10,0),new Yk(0,0),jQn=K(y_,J,247,11,0,1),Gd=K(ds,jh,28,100,15,1),zun=S(T(Ai,1),Mr,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),Xun=K(ye,_e,28,zun.length,15,1),Wun=S(T(Ai,1),Mr,28,15,[1,10,100,T1,1e4,ZB,1e6,1e7,1e8,gS,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Vun=K(ye,_e,28,Wun.length,15,1),Jun=K(y_,J,247,11,0,1),n=0;n0&&(Gn(0,e.length),64!=(h=e.charCodeAt(0)))){if(37==h&&(l=!1,0!=(d=e.lastIndexOf("%"))&&(d==g-1||(Gn(d+1,e.length),l=46==e.charCodeAt(d+1))))){if($i(1,d,e.length),O=Tn("%",s=e.substr(1,d-1))?null:Stn(s),i=0,l)try{i=Io((Gn(d+2,e.length+1),e.substr(d+2)),Xi,nt)}catch($){throw L($=At($),130)?M(new kT($)):M($)}for(j=eY(n.Gh());j.Ob();)if(L(p=WT(j),519)&&(I=(r=u(p,598)).d,(null==O?null==I:Tn(O,I))&&0==i--))return r;return null}if(v=-1==(a=e.lastIndexOf("."))?e:($i(0,a,e.length),e.substr(0,a)),t=0,-1!=a)try{t=Io((Gn(a+1,e.length+1),e.substr(a+1)),Xi,nt)}catch($){if(!L($=At($),130))throw M($);v=e}for(v=Tn("%",v)?null:Stn(v),k=eY(n.Gh());k.Ob();)if(L(p=WT(k),197)&&(A=(c=u(p,197)).xe(),(null==v?null==A:Tn(v,A))&&0==t--))return c;return null}return RGn(n,e)}function ub(n,e,t,i,r){var c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X;if(j=new W(n.g,n.f),(k=Unn(n)).a=y.Math.max(k.a,e),k.b=y.Math.max(k.b,t),X=k.a/j.a,a=k.b/j.b,$=k.a-j.a,h=k.b-j.b,i)for(s=Ct(n)?u(z(Ct(n),(Ue(),t0)),88):u(z(n,(Ue(),t0)),88),f=x(z(n,(Ue(),F9)))===x((Ii(),Xc)),I=new ne((!n.c&&(n.c=new q(Yu,n,9,9)),n.c));I.e!=I.i.gc();)switch(A=u(ue(I),123),O=u(z(A,iv),64),O==(en(),hc)&&(O=otn(A,s),ft(A,iv,O)),O.g){case 1:f||ru(A,A.i*X);break;case 2:ru(A,A.i+$),f||cu(A,A.j*a);break;case 3:f||ru(A,A.i*X),cu(A,A.j+h);break;case 4:f||cu(A,A.j*a)}if($g(n,k.a,k.b),r)for(g=new ne((!n.n&&(n.n=new q(Tr,n,1,7)),n.n));g.e!=g.i.gc();)(_=(v=(d=u(ue(g),135)).i+d.g/2)/j.a)+(l=(p=d.j+d.f/2)/j.b)>=1&&(_-l>0&&p>=0?(ru(d,d.i+$),cu(d,d.j+h*l)):_-l<0&&v>=0&&(ru(d,d.i+$*_),cu(d,d.j+h)));return ft(n,(Ue(),i0),(mo(),new Go(c=u(df(U9),9),u(Hs(c,c.length),9),0))),new W(X,a)}function nzn(n){m0(n,new Od(fC(g0(d0(w0(b0(new ed,cs),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new V3n),cs))),Q(n,cs,GS,rn(dce)),Q(n,cs,Fw,rn(bce)),Q(n,cs,m2,rn(fce)),Q(n,cs,Ap,rn(hce)),Q(n,cs,Tp,rn(lce)),Q(n,cs,cm,rn(sce)),Q(n,cs,y8,rn(v1n)),Q(n,cs,um,rn(ace)),Q(n,cs,vK,rn(zq)),Q(n,cs,gK,rn(Xq)),Q(n,cs,YS,rn(m1n)),Q(n,cs,pK,rn(Wq)),Q(n,cs,mK,rn(k1n)),Q(n,cs,wcn,rn(y1n)),Q(n,cs,bcn,rn(p1n)),Q(n,cs,hcn,rn(uO)),Q(n,cs,lcn,rn(oO)),Q(n,cs,acn,rn(Zj)),Q(n,cs,dcn,rn(j1n)),Q(n,cs,fcn,rn(g1n))}function lS(n){var e,t,i,r,c,s,f,h,l,a,d;if(null==n)throw M(new sh(yu));if(l=n,h=!1,(c=n.length)>0&&(Gn(0,n.length),(45==(e=n.charCodeAt(0))||43==e)&&(Gn(1,n.length+1),n=n.substr(1),--c,h=45==e)),0==c)throw M(new sh(fb+l+'"'));for(;n.length>0&&(Gn(0,n.length),48==n.charCodeAt(0));)Gn(1,n.length+1),n=n.substr(1),--c;if(c>(OUn(),kQn)[10])throw M(new sh(fb+l+'"'));for(r=0;r0&&(d=-parseInt(($i(0,i,n.length),n.substr(0,i)),10),Gn(i,n.length+1),n=n.substr(i),c-=i,t=!1);c>=s;){if(i=parseInt(($i(0,s,n.length),n.substr(0,s)),10),Gn(s,n.length+1),n=n.substr(s),c-=s,t)t=!1;else{if(Ac(d,f)<0)throw M(new sh(fb+l+'"'));d=Zi(d,a)}d=ms(d,i)}if(Ac(d,0)>0)throw M(new sh(fb+l+'"'));if(!h&&Ac(d=d1(d),0)<0)throw M(new sh(fb+l+'"'));return d}function Stn(n){var e,t,i,r,c,s,f,h;if(bB(),null==n)return null;if((r=fh(n,ku(37)))<0)return n;for(h=new yo(($i(0,r,n.length),n.substr(0,r))),e=K(Ku,E2,28,4,15,1),f=0,i=0,s=n.length;rr+2&&fF((Gn(r+1,n.length),n.charCodeAt(r+1)),c0n,u0n)&&fF((Gn(r+2,n.length),n.charCodeAt(r+2)),c0n,u0n))if(t=lbe((Gn(r+1,n.length),n.charCodeAt(r+1)),(Gn(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&t)?e[f++]=t<<24>>24:i=0:t>=128&&(192==(224&t)?(e[f++]=t<<24>>24,i=2):224==(240&t)?(e[f++]=t<<24>>24,i=3):240==(248&t)&&(e[f++]=t<<24>>24,i=4)),i>0){if(f==i){switch(f){case 2:ca(h,((31&e[0])<<6|63&e[1])&ri);break;case 3:ca(h,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&ri)}f=0,i=0}}else{for(c=0;c=2){if(0==(!n.a&&(n.a=new q(jt,n,6,6)),n.a).i)Q1(),t=new _E,me((!n.a&&(n.a=new q(jt,n,6,6)),n.a),t);else if((!n.a&&(n.a=new q(jt,n,6,6)),n.a).i>1)for(g=new Nv((!n.a&&(n.a=new q(jt,n,6,6)),n.a));g.e!=g.i.gc();)z5(g);Py(e,u(D((!n.a&&(n.a=new q(jt,n,6,6)),n.a),0),166))}if(d)for(i=new ne((!n.a&&(n.a=new q(jt,n,6,6)),n.a));i.e!=i.i.gc();)for(l=new ne((!(t=u(ue(i),166)).a&&(t.a=new ni(Ro,t,5)),t.a));l.e!=l.i.gc();)h=u(ue(l),377),f.a=y.Math.max(f.a,h.a),f.b=y.Math.max(f.b,h.b);for(s=new ne((!n.n&&(n.n=new q(Tr,n,1,7)),n.n));s.e!=s.i.gc();)c=u(ue(s),135),(a=u(z(c,B9),8))&&qo(c,a.a,a.b),d&&(f.a=y.Math.max(f.a,c.i+c.g),f.b=y.Math.max(f.b,c.j+c.f));return f}function tzn(n,e,t,i,r){var c,s,f;if(i$n(n,e),s=e[0],c=Gi(t.c,0),f=-1,MY(t))if(i>0){if(s+i>n.length)return!1;f=KA(($i(0,s+i,n.length),n.substr(0,s+i)),e)}else f=KA(n,e);switch(c){case 71:return f=c2(n,s,S(T(fn,1),J,2,6,[_zn,Hzn]),e),r.e=f,!0;case 77:return function uAe(n,e,t,i,r){return i<0?((i=c2(n,r,S(T(fn,1),J,2,6,[LB,DB,NB,$B,mp,FB,xB,BB,RB,KB,_B,HB]),e))<0&&(i=c2(n,r,S(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",mp,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(t.k=i,0))):i>0&&(t.k=i-1,!0)}(n,e,r,f,s);case 76:return function oAe(n,e,t,i,r){return i<0?((i=c2(n,r,S(T(fn,1),J,2,6,[LB,DB,NB,$B,mp,FB,xB,BB,RB,KB,_B,HB]),e))<0&&(i=c2(n,r,S(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",mp,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(t.k=i,0))):i>0&&(t.k=i-1,!0)}(n,e,r,f,s);case 69:return function Yje(n,e,t,i){var r;return(r=c2(n,t,S(T(fn,1),J,2,6,[qB,UB,GB,zB,XB,WB,VB]),e))<0&&(r=c2(n,t,S(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}(n,e,s,r);case 99:return function Zje(n,e,t,i){var r;return(r=c2(n,t,S(T(fn,1),J,2,6,[qB,UB,GB,zB,XB,WB,VB]),e))<0&&(r=c2(n,t,S(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}(n,e,s,r);case 97:return f=c2(n,s,S(T(fn,1),J,2,6,["AM","PM"]),e),r.b=f,!0;case 121:return function sAe(n,e,t,i,r,c){var s,f,l;if(f=32,i<0){if(e[0]>=n.length||43!=(f=Gi(n,e[0]))&&45!=f||(++e[0],(i=KA(n,e))<0))return!1;45==f&&(i=-i)}return 32==f&&e[0]-t==2&&2==r.b&&(l=(new wC).q.getFullYear()-Ea+Ea-80,c.a=i==(s=l%100),i+=100*(l/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(f,s,e[0],r);case 104:12==f&&(f=0);case 75:case 72:return!(f<0||(r.f=f,r.g=!1,0));case 107:return!(f<0||(r.f=f,r.g=!0,0));case 109:return!(f<0||(r.j=f,0));case 115:return!(f<0||(r.n=f,0));case 90:if(sf&&(O=0,$+=s+A,s=0),ESe(k,t,O,$),e=y.Math.max(e,O+j.a),s=y.Math.max(s,j.b),O+=j.a+A;return k}function nDe(n,e,t){var i,r,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_;for(f=new C(n.a.b);f.a0)if(i=d.gc(),l=di(y.Math.floor((i+1)/2))-1,r=di(y.Math.ceil((i+1)/2))-1,e.o==Yf)for(a=r;a>=l;a--)e.a[$.p]==$&&(k=u(d.Xb(a),42),p=u(k.a,10),!bf(t,k.b)&&v>n.b.e[p.p]&&(e.a[p.p]=$,e.g[$.p]=e.g[p.p],e.a[$.p]=e.g[$.p],e.f[e.g[$.p].p]=(Kn(),!!(on(e.f[e.g[$.p].p])&$.k==(Xn(),Ei))),v=n.b.e[p.p]));else for(a=l;a<=r;a++)e.a[$.p]==$&&(A=u(d.Xb(a),42),j=u(A.a,10),!bf(t,A.b)&&v0&&(r=u(sn(j.c.a,X-1),10),s=n.i[r.p],jn=y.Math.ceil(xg(n.n,r,j)),c=_.a.e-j.d.d-(s.a.e+r.o.b+r.d.a)-jn),l=Mt,X0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)<0)&&!(O.a.e.e-O.a.a-(O.b.e.e-O.b.a)<0&&tn.a.e.e-tn.a.a-(tn.b.e.e-tn.b.a)>0)&&(O.a.e.e+O.b.a>tn.b.e.e+tn.a.a?c+d>0?$=d:l-i>0&&($=i):O.a.e.e+O.b.a0?$=f:l-I>0&&($=I))),_.a.e+=$,_.b&&(_.d.e+=$),1)))}function czn(n,e,t){var i,r,c,s,f,h,l,a,d,g;if(i=new zo(e.Lf().a,e.Lf().b,e.Mf().a,e.Mf().b),r=new Lv,n.c)for(s=new C(e.Rf());s.al&&(i.a+=DTn(K(ds,jh,28,-l,15,1))),i.a+="Is",fh(h,ku(32))>=0)for(r=0;r=2&&(i=u(r.Kc().Pb(),117),t=n.u.Hc((Xu(),q9)),c=n.u.Hc(Yp),!i.a&&!t&&(2==r.gc()||c))}(n,e),t=n.u.Hc((Xu(),H9)),h=l.Kc();h.Ob();)if((f=u(h.Pb(),117)).c&&!(f.c.d.c.length<=0)){switch(g=f.b.Mf(),(d=(a=f.c).i).b=a.e.a+(c=a.n).b+c.c,d.a=a.e.b+(r=a.n).d+r.a,e.g){case 1:f.a?(d.c=(g.a-d.b)/2,mf(a,(Gu(),Ia))):s||t?(d.c=-d.b-n.s,mf(a,(Gu(),Ys))):(d.c=g.a+n.s,mf(a,(Gu(),Oh))),d.d=-d.a-n.t,ah(a,(mu(),Zs));break;case 3:f.a?(d.c=(g.a-d.b)/2,mf(a,(Gu(),Ia))):s||t?(d.c=-d.b-n.s,mf(a,(Gu(),Ys))):(d.c=g.a+n.s,mf(a,(Gu(),Oh))),d.d=g.b+n.t,ah(a,(mu(),Tf));break;case 2:f.a?(i=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(g.b-i)/2,ah(a,(mu(),Oa))):s||t?(d.d=-d.a-n.t,ah(a,(mu(),Zs))):(d.d=g.b+n.t,ah(a,(mu(),Tf))),d.c=g.a+n.s,mf(a,(Gu(),Oh));break;case 4:f.a?(i=n.v?d.a:u(sn(a.d,0),187).Mf().b,d.d=(g.b-i)/2,ah(a,(mu(),Oa))):s||t?(d.d=-d.a-n.t,ah(a,(mu(),Zs))):(d.d=g.b+n.t,ah(a,(mu(),Tf))),d.c=-d.b-n.s,mf(a,(Gu(),Ys))}s=!1}}function tDe(n,e,t,i){var r,c,s,f,h,l,a,d,g,v,p,k,j,A,I;if(g=!1,d=!1,Dg(u(m(i,(cn(),Kt)),101))){s=!1,f=!1;n:for(p=new C(i.j);p.a=i.o.b/2}I?(A=u(m(i,(V(),qp)),15))?g?c=A:(r=u(m(i,Bp),15))?c=A.gc()<=r.gc()?A:r:(c=new Z,U(i,Bp,c)):(c=new Z,U(i,qp,c)):(r=u(m(i,(V(),Bp)),15))?d?c=r:(A=u(m(i,qp),15))?c=r.gc()<=A.gc()?r:A:(c=new Z,U(i,qp,c)):(c=new Z,U(i,Bp,c)),c.Fc(n),U(n,(V(),yI),t),e.d==t?(Pi(e,null),t.e.c.length+t.g.c.length==0&&cc(t,null),function v6e(n){var e,t;(e=u(m(n,(V(),Wu)),10))&&(pu((t=e.c).a,e),0==t.a.c.length&&pu(Ki(e).b,t))}(t)):(Qi(e,null),t.e.c.length+t.g.c.length==0&&cc(t,null)),jo(e.a)}function iDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X,tn,jn,kn,$n,te,Fe,It;for(t.Ug("MinWidth layering",1),v=e.b,tn=e.a,It=u(m(e,(cn(),Chn)),17).a,f=u(m(e,Mhn),17).a,n.b=F(R(m(e,ef))),n.d=Mt,$=new C(tn);$.a<$.c.c.length;)(I=u(E($),10)).k==(Xn(),Ut)&&(n.d=y.Math.min(n.d,I.o.b));for(n.d=y.Math.max(1,n.d),n.c=K(ye,_e,28,jn=tn.c.length,15,1),n.f=K(ye,_e,28,jn,15,1),n.e=K(Ai,Mr,28,jn,15,1),l=0,n.a=0,_=new C(tn);_.a<_.c.c.length;)(I=u(E(_),10)).p=l++,n.c[I.p]=qxn(ki(I)),n.f[I.p]=qxn(Vt(I)),n.e[I.p]=I.o.b/n.d,n.a+=n.e[I.p];for(n.b/=n.d,n.a/=jn,X=function XEe(n){var e,t,i,r,s,f;for(f=Kh(n.c.length),r=new C(n);r.a0){for(g=a<100?null:new J1(a),p=new sY(e).g,A=K(ye,_e,28,a,15,1),i=0,$=new q0(a),r=0;r=0;)if(null!=v?it(v,p[h]):x(v)===x(p[h])){A.length<=i&&Nc(A,0,A=K(ye,_e,28,2*A.length,15,1),0,i),A[i++]=r,me($,p[h]);break n}if(x(v)===x(f))break}}if(l=$,p=$.g,a=i,i>A.length&&Nc(A,0,A=K(ye,_e,28,i,15,1),0,i),i>0){for(O=!0,c=0;c=0;)hp(n,A[s]);if(i!=a){for(r=a;--r>=i;)hp(l,r);Nc(A,0,A=K(ye,_e,28,i,15,1),0,i)}e=l}}}else for(e=function k7e(n,e){var t,i,r;if(e.dc())return I3(),I3(),SE;for(t=new FAn(n,e.gc()),r=new ne(n);r.e!=r.i.gc();)i=ue(r),e.Hc(i)&&me(t,i);return t}(n,e),r=n.i;--r>=0;)e.Hc(n.g[r])&&(hp(n,r),O=!0);if(O){if(null!=A){for(d=1==(t=e.gc())?h5(n,4,e.Kc().Pb(),null,A[0],k):h5(n,6,e,A,A[0],k),g=t<100?null:new J1(t),r=e.Kc();r.Ob();)g=QW(n,u(v=r.Pb(),76),g);g?(g.nj(d),g.oj()):tt(n.e,d)}else{for(g=function Tae(n){return n<100?null:new J1(n)}(e.gc()),r=e.Kc();r.Ob();)g=QW(n,u(v=r.Pb(),76),g);g&&g.oj()}return!0}return!1}function uDe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,k,j,A,I,O;for((t=new CRn(e)).a||function NSe(n){var e,t,i,r,c;switch(r=u(sn(n.a,0),10),e=new Fl(n),nn(n.a,e),e.o.a=y.Math.max(1,r.o.a),e.o.b=y.Math.max(1,r.o.b),e.n.a=r.n.a,e.n.b=r.n.b,u(m(r,(V(),mc)),64).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return cc(i=new Dc,e),Qi(t=new B0,c=u(sn(r.j,0),12)),Pi(t,i),et(wf(i.n),c.n),et(wf(i.a),c.a),e}(e),l=function LAe(n){var e,i,r,c,s,f,h;for(h=new CDn,f=new C(n.a);f.a=f.b.c)&&(f.b=e),(!f.c||e.c<=f.c.c)&&(f.d=f.c,f.c=e),(!f.e||e.d>=f.e.d)&&(f.e=e),(!f.f||e.d<=f.f.d)&&(f.f=e);return i=new kA((a4(),mb)),wk(n,NZn,new _u(S(T(Sj,1),xn,382,0,[i]))),s=new kA(Gw),wk(n,DZn,new _u(S(T(Sj,1),xn,382,0,[s]))),r=new kA(Uw),wk(n,LZn,new _u(S(T(Sj,1),xn,382,0,[r]))),c=new kA(S2),wk(n,OZn,new _u(S(T(Sj,1),xn,382,0,[c]))),_x(i.c,mb),_x(r.c,Uw),_x(c.c,S2),_x(s.c,Gw),f.a.c.length=0,si(f.a,i.c),si(f.a,es(r.c)),si(f.a,c.c),si(f.a,es(s.c)),f}(l)),t}function hzn(n,e,t){var i,r,s,f,h,l,d,p,k;if(null==t.p[e.p]){f=!0,t.p[e.p]=0,s=e,k=t.o==(Nf(),n0)?fi:Mt;do{r=n.b.e[s.p],t.o==n0&&r>0||t.o==Yf&&r1&&(s=y.Math.min(s,y.Math.abs(u(is(f.a,1),8).b-a.b)))));else for(k=new C(e.j);k.ar&&(c=g.a-r,s=nt,i.c.length=0,r=g.a),g.a>=r&&(Rn(i.c,f),f.a.b>1&&(s=y.Math.min(s,y.Math.abs(u(is(f.a,f.a.b-2),8).b-g.b)))));if(0!=i.c.length&&c>e.o.a/2&&s>e.o.b/2){for(cc(v=new Dc,e),bi(v,(en(),zn)),v.n.a=e.o.a/2,cc(A=new Dc,e),bi(A,ae),A.n.a=e.o.a/2,A.n.b=e.o.b,h=new C(i);h.a=l.b?A:v)):(l=u(nbe(f.a),8),Pi(f,(0==f.a.b?$f(f.c):u(_s(f.a),8)).b>=l.b?A:v)),(d=u(m(f,(cn(),Nr)),75))&&pw(d,l,!0);e.n.a=r-e.o.a/2}}function Ny(n,e,t,i,r,c,s,f,h){var l,a,d,g,v,p,k;switch(v=t,id(a=new Fl(h),(Xn(),Qt)),U(a,(V(),Efn),s),U(a,(cn(),Kt),(Ii(),Xc)),k=F(R(n.of(eg))),U(a,eg,k),cc(d=new Dc,a),e!=th&&e!=Ha||(v=i>=0?up(f):ny(up(f)),n.qf(xm,v)),l=new Oi,g=!1,n.pf(Pb)?(yW(l,u(n.of(Pb),8)),g=!0):function y1e(n,e,t){return n.a=e,n.b=t,n}(l,s.a/2,s.b/2),v.g){case 4:U(a,hu,(ts(),Na)),U(a,EI,(Md(),D2)),a.o.b=s.b,k<0&&(a.o.a=-k),bi(d,(en(),Zn)),g||(l.a=s.a),l.a-=s.a;break;case 2:U(a,hu,(ts(),Qw)),U(a,EI,(Md(),Im)),a.o.b=s.b,k<0&&(a.o.a=-k),bi(d,(en(),Wn)),g||(l.a=0);break;case 1:U(a,zd,(Pl(),$2)),a.o.a=s.a,k<0&&(a.o.b=-k),bi(d,(en(),ae)),g||(l.b=s.b),l.b-=s.b;break;case 3:U(a,zd,(Pl(),xp)),a.o.a=s.a,k<0&&(a.o.b=-k),bi(d,(en(),zn)),g||(l.b=0)}if(yW(d.n,l),U(a,Pb,l),e==c0||e==hl||e==Xc){if(p=0,e==c0&&n.pf(L1))switch(v.g){case 1:case 2:p=u(n.of(L1),17).a;break;case 3:case 4:p=-u(n.of(L1),17).a}else switch(v.g){case 4:case 2:p=c.b,e==hl&&(p/=r.b);break;case 1:case 3:p=c.a,e==hl&&(p/=r.a)}U(a,Cb,p)}return U(a,mc,v),a}function lzn(n,e,t){var i,r,c,s,f,h,l,a,d,g;for(qr(a=new Fl(t),e),U(a,(V(),ot),e),a.o.a=e.g,a.o.b=e.f,a.n.a=e.i,a.n.b=e.j,nn(t.a,a),Xe(n.a,e,a),(0!=(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i||on(un(z(e,(cn(),ng)))))&&U(a,kfn,(Kn(),!0)),l=u(m(t,zc),21),(d=u(m(a,(cn(),Kt)),101))==(Ii(),Ha)?U(a,Kt,th):d!=th&&l.Fc((gr(),Dm)),g=0,i=u(m(t,$o),88),h=new ne((!e.c&&(e.c=new q(Yu,e,9,9)),e.c));h.e!=h.i.gc();)f=u(ue(h),123),(x(z(r=Ct(e),ul))!==x((vh(),D1))||x(z(r,Wd))===x((k1(),Pm))||x(z(r,Wd))===x((k1(),Sm))||on(un(z(r,Tb)))||x(z(r,Yw))!==x((Sd(),zw))||x(z(r,$a))===x((js(),Lb))||x(z(r,$a))===x((js(),cg))||x(z(r,Jd))===x((M1(),_m))||x(z(r,Jd))===x((M1(),Hm)))&&!on(un(z(e,II)))&&ft(f,lt,Y(g++)),on(un(z(f,Yd)))||jLe(n,f,a,l,i,d);for(s=new ne((!e.n&&(e.n=new q(Tr,e,1,7)),e.n));s.e!=s.i.gc();)!on(un(z(c=u(ue(s),135),Yd)))&&c.a&&nn(a.b,MF(c));return on(un(m(a,u9)))&&l.Fc((gr(),pI)),on(un(m(a,NI)))&&(l.Fc((gr(),mI)),l.Fc(n9),U(a,Kt,th)),a}function yB(n,e,t,i,r,c,s){var f,h,l,a,d,g,v,p,k,A,I,O,$,_,X,tn,jn,kn,Bn,$n,te,Fe,It;for(k=0,Bn=0,l=new C(n.b);l.ak&&(c&&(tr(X,v),tr(jn,Y(a.b-1)),nn(n.d,p),f.c.length=0),Fe=t.b,It+=v+e,v=0,d=y.Math.max(d,t.b+t.c+te)),Rn(f.c,h),gRn(h,Fe,It),d=y.Math.max(d,Fe+te+t.c),v=y.Math.max(v,g),Fe+=te+e,p=h;if(si(n.a,f),nn(n.d,u(sn(f,f.c.length-1),163)),d=y.Math.max(d,i),($n=It+v+t.a)0,(l=_.e.c.length>0)&&A?Rn(g.c,_):l?Rn(k.c,_):A&&Rn($.c,_);for(p=new C(k);p.aI.nh()-l.b&&(g=I.nh()-l.b),v>I.oh()-l.d&&(v=I.oh()-l.d),a=l.c.c.length?(Xn(),Ut):(Xn(),Ei),Ei),t.a.g=y.Math.max(c=t.a.g,c+((a*=2)-c)),t.b.g=y.Math.max(s=t.b.g,s+(a-s)),r=e}}(n),s.Vg()),D9e(n.f),c=u(m(e,l9),17).a*n.f.a.c.length,Zx(Kz(_z(sN(n.f),c),!1),t.eh(1)),0!=n.d.a.gc()){for((s=t.eh(1)).Ug("Flexible Where Space Processing",1),f=u(bo(_v(Kr(new Mn(null,new Pn(n.f.a,16)),new opn),new npn)),17).a,l=u(bo(tw(Kr(new Mn(null,new Pn(n.f.a,16)),new spn),new epn)),17).a-f,a=M0(new od,n.f),d=M0(new od,n.f),Vs(Rs(Bs(xs(Ks(new ws,2e4),l),a),d)),_t(rt(rt(zV(n.i),new fpn),new hpn),new AIn(f,a,l,d)),r=n.d.a.ec().Kc();r.Ob();)u(r.Pb(),218).g=1;Zx(Kz(_z(sN(n.f),c),!1),s.eh(1)),s.Vg()}on(un(m(e,s9)))&&((s=t.eh(1)).Ug("Straight Edges Post-Processing",1),function qje(n){var e,t,i;for(Fi(t=new yt,n.o),i=new yz;0!=t.b;)rzn(n,e=u(0==t.b?null:(oe(0!=t.b),Qo(t,t.a.a)),515),!0)&&nn(i.a,e);for(;0!=i.a.c.length;)rzn(n,e=u(Bxn(i),515),!1)}(n),s.Vg()),function ROe(n){var e,i,r,c,s,f,h,l,a,g,v,p,k,j,A;for(i=new C(n.e.b);i.al&&(g=0,v+=h+e,h=0),K4(s,g,v),t=y.Math.max(t,g+a.a),h=y.Math.max(h,a.b),g+=a.a+e;return new W(t+e,v+h+e)}(gu(n,(en(),ih)),e),p=t2(gu(n,sf),e),$=t2(gu(n,xo),e),jn=PA(gu(n,Os),e),g=PA(gu(n,ls),e),I=t2(gu(n,ff),e),k=t2(gu(n,Ju),e),X=t2(gu(n,Bo),e),_=t2(gu(n,as),e),kn=PA(gu(n,lu),e),A=t2(gu(n,Eu),e),O=t2(gu(n,Qu),e),tn=t2(gu(n,ju),e),Bn=PA(gu(n,Cu),e),v=PA(gu(n,Ru),e),j=t2(gu(n,Wc),e),t=Xg(S(T(Ai,1),Mr,28,15,[I.a,jn.a,X.a,Bn.a])),i=Xg(S(T(Ai,1),Mr,28,15,[p.a,d.a,$.a,j.a])),r=A.a,c=Xg(S(T(Ai,1),Mr,28,15,[k.a,g.a,_.a,v.a])),l=Xg(S(T(Ai,1),Mr,28,15,[I.b,p.b,k.b,O.b])),h=Xg(S(T(Ai,1),Mr,28,15,[jn.b,d.b,g.b,j.b])),a=kn.b,f=Xg(S(T(Ai,1),Mr,28,15,[X.b,$.b,_.b,tn.b])),a1(gu(n,ih),t+r,l+a),a1(gu(n,Wc),t+r,l+a),a1(gu(n,sf),t+r,0),a1(gu(n,xo),t+r,l+a+h),a1(gu(n,Os),0,l+a),a1(gu(n,ls),t+r+i,l+a),a1(gu(n,Ju),t+r+i,0),a1(gu(n,Bo),0,l+a+h),a1(gu(n,as),t+r+i,l+a+h),a1(gu(n,lu),0,l),a1(gu(n,Eu),t,0),a1(gu(n,ju),0,l+a+h),a1(gu(n,Ru),t+r+i,0),(s=new Oi).a=Xg(S(T(Ai,1),Mr,28,15,[t+i+r+c,kn.a,O.a,tn.a])),s.b=Xg(S(T(Ai,1),Mr,28,15,[l+h+a+f,A.b,Bn.b,v.b])),s}function wzn(n){var e,t,r,c,s,f,h,g,v,p,k,j,A,I,O,$,_,X,tn,jn,kn,Bn;for(I=new W(Mt,Mt),e=new W(fi,fi),jn=new C(n);jn.a=48&&e<=57))throw M(new De($e((Ie(),QVn))));for(i=e-48;r=48&&e<=57;)if((i=10*i+e-48)<0)throw M(new De($e((Ie(),hun))));if(t=i,44==e){if(r>=n.j)throw M(new De($e((Ie(),ZVn))));if((e=Gi(n.i,r++))>=48&&e<=57){for(t=e-48;r=48&&e<=57;)if((t=10*t+e-48)<0)throw M(new De($e((Ie(),hun))));if(i>t)throw M(new De($e((Ie(),nJn))))}else t=-1}if(125!=e)throw M(new De($e((Ie(),YVn))));n.bm(r)?(Ze(),Ze(),c=new sw(9,c),n.d=r+1):(Ze(),Ze(),c=new sw(3,c),n.d=r),c.Om(i),c.Nm(t),Ye(n)}}return c}function gzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O;if(tu(n.a,e)){if(bf(u(ee(n.a,e),49),t))return 1}else Xe(n.a,e,new Yt);if(tu(n.a,t)){if(bf(u(ee(n.a,t),49),e))return-1}else Xe(n.a,t,new Yt);if(tu(n.e,e)){if(bf(u(ee(n.e,e),49),t))return-1}else Xe(n.e,e,new Yt);if(tu(n.e,t)){if(bf(u(ee(n.a,t),49),e))return 1}else Xe(n.e,t,new Yt);if(n.c==(vh(),bq)||!vt(e,(V(),lt))||!vt(t,(V(),lt))){for(d=null,l=new C(e.j);l.a(s=px(n,t))?_4(n,e,t):_4(n,t,e),rs?1:0}return(i=u(m(e,(V(),lt)),17).a)>(c=u(m(t,lt),17).a)?_4(n,e,t):_4(n,t,e),ic?1:0}function ob(n,e,t){var i,r,s,f,h,l,a,d,g,v,p,k,j;if(null==t)return null;if(n.a!=e.jk())throw M(new Un(dm+e.xe()+wb));if(L(e,469)){if(!(j=function wAe(n,e){var t,i;if(null==e){for(!n.a&&(n.a=new q(Wl,n,9,5)),i=new ne(n.a);i.e!=i.i.gc();)if(null==((t=u(ue(i),694)).c??t.zb))return t}else for(!n.a&&(n.a=new q(Wl,n,9,5)),i=new ne(n.a);i.e!=i.i.gc();)if(Tn(e,(t=u(ue(i),694)).c??t.zb))return t;return null}(u(e,685),t)))throw M(new Un(DK+t+"' is not a valid enumerator of '"+e.xe()+"'"));return j}switch(v1(($u(),Ui),e).Nl()){case 2:t=_c(t,!1);break;case 3:t=_c(t,!0)}if(i=v1(Ui,e).Jl())return i.jk().wi().ti(i,t);if(g=v1(Ui,e).Ll()){for(j=new Z,a=0,d=(l=gF(t)).length;a1)for(p=new Nv((!n.a&&(n.a=new q(jt,n,6,6)),n.a));p.e!=p.i.gc();)z5(p);for(j=Fe,Fe>_+$?j=_+$:Fe<_-$&&(j=_-$),A=It,It>X+k?A=X+k:It_-$&&j<_+$&&A>X-k&&AFe+te?jn=Fe+te:_It+tn?kn=It+tn:XFe-te&&jnIt-tn&&knt&&(g=t-1),(v=G1+io(e,24)*zy*d-d/2)<0?v=1:v>i&&(v=i-1),Q1(),OT(r=new KE,g),IT(r,v),me((!s.a&&(s.a=new ni(Ro,s,5)),s.a),r)}function vzn(n){m0(n,new Od(g0(d0(w0(b0(new ed,uo),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new c4n))),Q(n,uo,Mp,1.3),Q(n,uo,rm,(Kn(),!1)),Q(n,uo,hb,_1n),Q(n,uo,Fw,15),Q(n,uo,US,rn($ce)),Q(n,uo,m2,rn(Bce)),Q(n,uo,Ap,rn(Kce)),Q(n,uo,Tp,rn(_ce)),Q(n,uo,cm,rn(xce)),Q(n,uo,y8,rn(rU)),Q(n,uo,um,rn(Hce)),Q(n,uo,Ccn,rn(G1n)),Q(n,uo,Mcn,rn(U1n)),Q(n,uo,Ecn,rn(uU)),Q(n,uo,jcn,rn(z1n)),Q(n,uo,Tcn,rn(K1n)),Q(n,uo,Acn,rn(cU)),Q(n,uo,Scn,rn(R1n)),Q(n,uo,Pcn,rn(q1n)),Q(n,uo,k8,rn(B1n)),Q(n,uo,zS,rn(Fce)),Q(n,uo,kcn,rn(eE)),Q(n,uo,mcn,rn(x1n)),Q(n,uo,ycn,rn(tE)),Q(n,uo,pcn,rn(H1n))}function EB(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X,tn,jn,kn,Bn,te,Fe;if(sB(),p=n.d,r=n.a,0==(jn=n.e))switch(e){case 0:return"0";case 1:return Y4;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(X=new V1).a+=e<0?"0E+":"0E",X.a+=-e,X.a}if($=K(ds,jh,28,1+(O=10*p+1+7),15,1),t=O,1==p)if((f=r[0])<0){Fe=vi(f,vr);do{k=Fe,Fe=ly(Fe,10),$[--t]=48+Ae(ms(k,Zi(Fe,10)))&ri}while(0!=Ac(Fe,0))}else{Fe=f;do{$[--t]=(k=Fe)-10*(Fe=Fe/10|0)+48&ri}while(0!=Fe)}else{Nc(r,0,Bn=K(ye,_e,28,p,15,1),0,te=p);n:for(;;){for(tn=0,l=te-1;l>=0;l--)A=dye(Yi(Us(tn,32),vi(Bn[l],vr))),Bn[l]=Ae(A),tn=Ae(I0(A,32));I=Ae(tn),j=t;do{$[--t]=48+I%10&ri}while(0!=(I=I/10|0)&&0!=t);for(i=9-j+t,h=0;h0;h++)$[--t]=48;for(d=te-1;0==Bn[d];d--)if(0==d)break n;te=d+1}for(;48==$[t];)++t}if(v=jn<0,s=O-t-e-1,0==e)return v&&($[--t]=45),ks($,t,O-t);if(e>0&&s>=-6){if(s>=0){for(a=t+s,g=O-1;g>=a;g--)$[g+1]=$[g];return $[++a]=46,v&&($[--t]=45),ks($,t,O-t+1)}for(d=2;d<1-s;d++)$[--t]=48;return $[--t]=46,$[--t]=48,v&&($[--t]=45),ks($,t,O-t)}return kn=t+1,c=O,_=new Cg,v&&(_.a+="-"),c-kn>=1?(ca(_,$[t]),_.a+=".",_.a+=ks($,t+1,O-t-1)):_.a+=ks($,t,O-t),_.a+="E",s>0&&(_.a+="+"),_.a+=""+s,_.a}function pzn(n,e){var r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X;switch(n.c=e,n.g=new de,k0(),hZ(new VE(new a0(n.c))),O=Oe(z(n.c,(dy(),lan))),h=u(z(n.c,gU),324),_=u(z(n.c,vU),437),s=u(z(n.c,san),490),$=u(z(n.c,wU),438),n.j=F(R(z(n.c,tue))),f=n.a,h.g){case 0:f=n.a;break;case 1:f=n.b;break;case 2:f=n.i;break;case 3:f=n.e;break;case 4:f=n.f;break;default:throw M(new Un(eP+(null!=h.f?h.f:""+h.g)))}if(n.d=new lOn(f,_,s),U(n.d,(s4(),W8),un(z(n.c,nue))),n.d.c=on(un(z(n.c,fan))),0==zM(n.c).i)return n.d;for(d=new ne(zM(n.c));d.e!=d.i.gc();){for(X=new W((a=u(ue(d),27)).i+(v=a.g/2),a.j+(g=a.f/2));tu(n.g,X);)A0(X,(y.Math.random()-.5)*Mh,(y.Math.random()-.5)*Mh);k=u(z(a,(Ue(),Wm)),140),j=new MOn(X,new zo(X.a-v-n.j/2-k.b,X.b-g-n.j/2-k.d,a.g+n.j+(k.b+k.c),a.f+n.j+(k.d+k.a))),nn(n.d.i,j),Xe(n.g,X,new ai(j,a))}switch($.g){case 0:if(null==O)n.d.d=u(sn(n.d.i,0),68);else for(I=new C(n.d.i);I.a1&&Nt(a,A,a.c.b,a.c),_$(r)));A=I}return a}function kzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X,tn,jn,kn,Bn;for(t.Ug(mWn,1),Bn=u(Vr(rt(new Mn(null,new Pn(e,16)),new N3n),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15),a=u(Vr(rt(new Mn(null,new Pn(e,16)),new Ekn(e)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),15),p=u(Vr(rt(new Mn(null,new Pn(e,16)),new jkn(e)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),15),k=K(ZI,JS,40,e.gc(),0,1),s=0;s=0&&kn=0&&!k[v]){k[v]=r,a.gd(f),--f;break}if((v=kn-g)=0&&!k[v]){k[v]=r,a.gd(f),--f;break}}for(p.jd(new $3n),h=k.length-1;h>=0;h--)!k[h]&&!p.dc()&&(k[h]=u(p.Xb(0),40),p.gd(0));for(l=0;l=0;h--)xe(t,(Ln(h,s.c.length),u(s.c[h],8)));return t}function jzn(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$;for(O=F(R(z(e,(Vh(),sg)))),v=F(R(z(e,T9))),g=F(R(z(e,fO))),tY((!e.a&&(e.a=new q(Qe,e,10,11)),e.a)),A=aGn((!e.a&&(e.a=new q(Qe,e,10,11)),e.a),O,n.b),j=0;jg&&fy((Ln(g,e.c.length),u(e.c[g],186)),a),a=null;e.c.length>g&&0==(Ln(g,e.c.length),u(e.c[g],186)).a.c.length;)pu(e,(Ln(g,e.c.length),e.c[g]));if(!a){--s;continue}if(!on(un(u(sn(a.b,0),27).of((Uf(),tE))))&&XSe(e,p,c,a,j,t,g,i)){k=!0;continue}if(j){if(v=p.b,d=a.f,!on(un(u(sn(a.b,0),27).of(tE)))&&aOe(e,p,c,a,t,g,i,r)){if(k=!0,v=n.j)return n.a=-1,void(n.c=1);if(e=Gi(n.i,n.d++),n.a=e,1!=n.b){switch(e){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j||63!=Gi(n.i,n.d))break;if(++n.d>=n.j)throw M(new De($e((Ie(),zK))));switch(e=Gi(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw M(new De($e((Ie(),zK))));if(61==(e=Gi(n.i,n.d++)))i=16;else{if(33!=e)throw M(new De($e((Ie(),DVn))));i=17}break;case 35:for(;n.d=n.j)throw M(new De($e((Ie(),sP))));n.a=Gi(n.i,n.d++);break;default:i=0}n.c=i}else{switch(e){case 92:if(i=10,n.d>=n.j)throw M(new De($e((Ie(),sP))));n.a=Gi(n.i,n.d++);break;case 45:512==(512&n.e)&&n.dn.a.c.length-1;)nn(n.a,new ai(p2,Jrn));i=u(m(r,Nh),17).a,t==(ii(),$r)||t==zr?(r.e.aF(R(u(sn(n.a,i),42).b))&&jL(u(sn(n.a,i),42),r.e.a+r.f.a)):(r.e.bF(R(u(sn(n.a,i),42).b))&&jL(u(sn(n.a,i),42),r.e.b+r.f.b))}}(n,e,r),function QLe(n,e){var t,i,r,c,s,f,h,l,a,d,g;for(a=(r=u(m(n,(bc(),Nb)),88))==(ii(),$r)||r==zr?nh:zr,t=u(Vr(rt(new Mn(null,new Pn(n.b,16)),new n3n),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[(zu(),Yr)]))),15),(h=u(Vr(Kr(t.Oc(),new pkn(e)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),15)).Gc(u(Vr(Kr(t.Oc(),new mkn(e)),Uu(new yc,new Br,new Tu,S(T(Dr,1),G,108,0,[Yr]))),16)),h.jd(new kkn(a)),g=new i1(new ykn(r)),i=new de,f=h.Kc();f.Ob();)s=u(f.Pb(),240),l=u(s.a,40),on(un(s.c))?(g.a.zc(l,(Kn(),Pa)),new h3(g.a.Zc(l,!1)).a.gc()>0&&Xe(i,l,u(new h3(g.a.Zc(l,!1)).a.Vc(),40)),new h3(g.a.ad(l,!0)).a.gc()>1&&Xe(i,LBn(g,l),l)):(new h3(g.a.Zc(l,!1)).a.gc()>0&&x(c=u(new h3(g.a.Zc(l,!1)).a.Vc(),40))===x(Rr(br(i.f,l)))&&u(m(l,(bt(),Aq)),15).Fc(c),new h3(g.a.ad(l,!0)).a.gc()>1&&(d=LBn(g,l),x(Rr(br(i.f,d)))===x(l)&&u(m(d,(bt(),Aq)),15).Fc(l)),g.a.Bc(l))}(e,v/2/2),yd(p=e.b,new wkn(r)),l=ge(p,0);l.b!=l.d.c;)if(!on(un(m(h=u(be(l),40),(bt(),Ba))))){if(i=DAe(h,r),k=SPe(h,e),d=0,g=0,i)switch(j=i.e,r.g){case 2:k.e.a-v-h.f.a<(d=j.a-v-h.f.a)&&(d=k.e.a-v-h.f.a),g=d+h.f.a;break;case 1:k.e.a+v>(d=j.a+i.f.a+v)&&(d=k.e.a+k.f.a+v),g=d+h.f.a;break;case 4:k.e.b-v-h.f.b<(d=j.b-v-h.f.b)&&(d=k.e.b-v-h.f.b),g=d+h.f.b;break;case 3:k.e.b+v>(d=j.b+i.f.b+v)&&(d=k.e.b+k.f.b+v),g=d+h.f.b}else if(k)switch(r.g){case 2:g=(d=k.e.a-v-h.f.a)+h.f.a;break;case 1:g=(d=k.e.a+k.f.a+v)+h.f.a;break;case 4:g=(d=k.e.b-v-h.f.b)+h.f.b;break;case 3:g=(d=k.e.b+k.f.b+v)+h.f.b}x(m(e,Nq))===x((S5(),Vj))?(c=d,s=g,null!=(f=w4(rt(new Mn(null,new Pn(n.a,16)),new rMn(c,s)))).a?r==(ii(),$r)||r==zr?h.e.a=d:h.e.b=d:null!=(f=r==(ii(),$r)||r==hs?w4(rt(N$n(new Mn(null,new Pn(n.a,16))),new gkn(c))):w4(rt(N$n(new Mn(null,new Pn(n.a,16))),new vkn(c)))).a&&(r==$r||r==zr?h.e.a=F(R((oe(null!=f.a),u(f.a,42)).a)):h.e.b=F(R((oe(null!=f.a),u(f.a,42)).a))),null!=f.a&&(a=Hr(n.a,(oe(null!=f.a),f.a),0))>0&&a!=u(m(h,Nh),17).a&&(U(h,Bln,(Kn(),!0)),U(h,Nh,Y(a)))):r==(ii(),$r)||r==zr?h.e.a=d:h.e.b=d}t.Vg()}}function Ezn(n){var e,t,i,r,s,f,h,l;for(n.b=1,Ye(n),e=null,0==n.c&&94==n.a?(Ye(n),Ze(),Ze(),Kc(e=new Co(4),0,vm),f=new Co(4)):(Ze(),Ze(),f=new Co(4)),r=!0;1!=(l=n.c);){if(0==l&&93==n.a&&!r){e&&(l8(e,f),f=e);break}if(t=n.a,i=!1,10==l)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:Ow(f,H4(t)),i=!0;break;case 105:case 73:case 99:case 67:Ow(f,H4(t)),(t=-1)<0&&(i=!0);break;case 112:case 80:if(!(h=ien(n,t)))throw M(new De($e((Ie(),XK))));Ow(f,h),i=!0;break;default:t=Ben(n)}else if(24==l&&!r){if(e&&(l8(e,f),f=e),l8(f,Ezn(n)),0!=n.c||93!=n.a)throw M(new De($e((Ie(),qVn))));break}if(Ye(n),!i){if(0==l){if(91==t)throw M(new De($e((Ie(),sun))));if(93==t)throw M(new De($e((Ie(),fun))));if(45==t&&!r&&93!=n.a)throw M(new De($e((Ie(),WK))))}if(0!=n.c||45!=n.a||45==t&&r)Kc(f,t,t);else{if(Ye(n),1==(l=n.c))throw M(new De($e((Ie(),fP))));if(0==l&&93==n.a)Kc(f,t,t),Kc(f,45,45);else{if(0==l&&93==n.a||24==l)throw M(new De($e((Ie(),WK))));if(s=n.a,0==l){if(91==s)throw M(new De($e((Ie(),sun))));if(93==s)throw M(new De($e((Ie(),fun))));if(45==s)throw M(new De($e((Ie(),WK))))}else 10==l&&(s=Ben(n));if(Ye(n),t>s)throw M(new De($e((Ie(),zVn))));Kc(f,t,s)}}}r=!1}if(1==n.c)throw M(new De($e((Ie(),fP))));return u2(f),f8(f),n.b=0,Ye(n),f}function $De(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_;if(t.Ug("Coffman-Graham Layering",1),0!=e.a.c.length){for(_=u(m(e,(cn(),Ehn)),17).a,h=0,s=0,g=new C(e.a);g.a=_||!P8e(A,i))&&(i=yIn(e,a)),Di(A,i),c=new ie(ce(ki(A).a.Kc(),new Vn));ve(c);)r=u(fe(c),18),!n.a[r.p]&&(--n.e[(k=r.c.i).p],0==n.e[k.p]&&Rv(D4(v,k),Z4));for(l=a.c.length-1;l>=0;--l)nn(e.b,(Ln(l,a.c.length),u(a.c[l],30)));e.a.c.length=0,t.Vg()}else t.Vg()}function Czn(n,e){var t,i,r,c,s,l,a,d,g,v,p,k,j,A,I,O,$;$=!1;do{for($=!1,c=e?new rd(n.a.b).a.gc()-2:1;e?c>=0:cu(m(j,lt),17).a)&&(O=!1);if(O){for(s=!1,I=!0,i=!1,a=ge(qJ(n.a,Y(e?c+1:c-1)),0);a.b!=a.d.c;)vt(l=u(be(a),10),lt)?l.p!=d.p&&(s|=e?u(m(l,lt),17).au(m(d,lt),17).a,I=!1):!s&&I&&l.k==(Xn(),Oc)&&(i=!0,(g=e?u(fe(new ie(ce(ki(l).a.Kc(),new Vn))),18).c.i:u(fe(new ie(ce(Vt(l).a.Kc(),new Vn))),18).d.i)==d&&(t=e?u(fe(new ie(ce(Vt(l).a.Kc(),new Vn))),18).d.i:u(fe(new ie(ce(ki(l).a.Kc(),new Vn))),18).c.i,(e?u(Qb(n.a,t),17).a-u(Qb(n.a,g),17).a:u(Qb(n.a,g),17).a-u(Qb(n.a,t),17).a)<=2&&(I=!1)));if(i&&I&&(t=e?u(fe(new ie(ce(Vt(d).a.Kc(),new Vn))),18).d.i:u(fe(new ie(ce(ki(d).a.Kc(),new Vn))),18).c.i,(e?u(Qb(n.a,t),17).a-u(Qb(n.a,d),17).a:u(Qb(n.a,d),17).a-u(Qb(n.a,t),17).a)<=2&&t.k==(Xn(),Ut)&&(I=!1)),s||I){for(k=eqn(n,d,e);0!=k.a.gc();)p=u(k.a.ec().Kc().Pb(),10),k.a.Bc(p),Fi(k,eqn(n,p,e));--v,$=!0}}}}while($)}function xDe(n,e,t,i,r,c,s){var f,h,l,a,d,g,v,p;return g=u(i.a,17).a,v=u(i.b,17).a,d=n.b,p=n.c,f=0,a=0,e==(ii(),$r)||e==zr?(a=I7(bBn(cw(Kr(new Mn(null,new Pn(t.b,16)),new x3n),new p3n))),d.e.b+d.f.b/2>a?(l=++v,f=F(R(bo(tw(Kr(new Mn(null,new Pn(t.b,16)),new oMn(r,l)),new m3n))))):(h=++g,f=F(R(bo(_v(Kr(new Mn(null,new Pn(t.b,16)),new sMn(r,h)),new k3n)))))):(a=I7(bBn(cw(Kr(new Mn(null,new Pn(t.b,16)),new C3n),new v3n))),d.e.a+d.f.a/2>a?(l=++v,f=F(R(bo(tw(Kr(new Mn(null,new Pn(t.b,16)),new cMn(r,l)),new y3n))))):(h=++g,f=F(R(bo(_v(Kr(new Mn(null,new Pn(t.b,16)),new uMn(r,h)),new j3n)))))),e==$r?(tr(n.a,new W(F(R(m(d,(bt(),Sf))))-r,f)),tr(n.a,new W(p.e.a+p.f.a+r+c,f)),tr(n.a,new W(p.e.a+p.f.a+r+c,p.e.b+p.f.b/2)),tr(n.a,new W(p.e.a+p.f.a,p.e.b+p.f.b/2))):e==zr?(tr(n.a,new W(F(R(m(d,(bt(),tf))))+r,d.e.b+d.f.b/2)),tr(n.a,new W(d.e.a+d.f.a+r,f)),tr(n.a,new W(p.e.a-r-c,f)),tr(n.a,new W(p.e.a-r-c,p.e.b+p.f.b/2)),tr(n.a,new W(p.e.a,p.e.b+p.f.b/2))):e==hs?(tr(n.a,new W(f,F(R(m(d,(bt(),Sf))))-r)),tr(n.a,new W(f,p.e.b+p.f.b+r+c)),tr(n.a,new W(p.e.a+p.f.a/2,p.e.b+p.f.b+r+c)),tr(n.a,new W(p.e.a+p.f.a/2,p.e.b+p.f.b+r))):(0==n.a.b||(u(_s(n.a),8).b=F(R(m(d,(bt(),tf))))+r*u(s.b,17).a),tr(n.a,new W(f,F(R(m(d,(bt(),tf))))+r*u(s.b,17).a)),tr(n.a,new W(f,p.e.b-r*u(s.a,17).a-c))),new ai(Y(g),Y(v))}function Mzn(){Mzn=N,jB(),Sn(He=new R0,(en(),sf),ih),Sn(He,Os,ih),Sn(He,Ju,ih),Sn(He,ff,ih),Sn(He,Cu,ih),Sn(He,Qu,ih),Sn(He,ff,sf),Sn(He,ih,ls),Sn(He,sf,ls),Sn(He,Os,ls),Sn(He,Ju,ls),Sn(He,Eu,ls),Sn(He,ff,ls),Sn(He,Cu,ls),Sn(He,Qu,ls),Sn(He,lu,ls),Sn(He,ih,xo),Sn(He,sf,xo),Sn(He,ls,xo),Sn(He,Os,xo),Sn(He,Ju,xo),Sn(He,Eu,xo),Sn(He,ff,xo),Sn(He,lu,xo),Sn(He,Bo,xo),Sn(He,Cu,xo),Sn(He,Ru,xo),Sn(He,Qu,xo),Sn(He,sf,Os),Sn(He,Ju,Os),Sn(He,ff,Os),Sn(He,Qu,Os),Sn(He,sf,Ju),Sn(He,Os,Ju),Sn(He,ff,Ju),Sn(He,Ju,Ju),Sn(He,Cu,Ju),Sn(He,ih,as),Sn(He,sf,as),Sn(He,ls,as),Sn(He,xo,as),Sn(He,Os,as),Sn(He,Ju,as),Sn(He,Eu,as),Sn(He,ff,as),Sn(He,Bo,as),Sn(He,lu,as),Sn(He,Qu,as),Sn(He,Cu,as),Sn(He,Wc,as),Sn(He,ih,Bo),Sn(He,sf,Bo),Sn(He,ls,Bo),Sn(He,Os,Bo),Sn(He,Ju,Bo),Sn(He,Eu,Bo),Sn(He,ff,Bo),Sn(He,lu,Bo),Sn(He,Qu,Bo),Sn(He,Ru,Bo),Sn(He,Wc,Bo),Sn(He,sf,lu),Sn(He,Os,lu),Sn(He,Ju,lu),Sn(He,ff,lu),Sn(He,Bo,lu),Sn(He,Qu,lu),Sn(He,Cu,lu),Sn(He,ih,ju),Sn(He,sf,ju),Sn(He,ls,ju),Sn(He,Os,ju),Sn(He,Ju,ju),Sn(He,Eu,ju),Sn(He,ff,ju),Sn(He,lu,ju),Sn(He,Qu,ju),Sn(He,sf,Cu),Sn(He,ls,Cu),Sn(He,xo,Cu),Sn(He,Ju,Cu),Sn(He,ih,Ru),Sn(He,sf,Ru),Sn(He,xo,Ru),Sn(He,Os,Ru),Sn(He,Ju,Ru),Sn(He,Eu,Ru),Sn(He,ff,Ru),Sn(He,ff,Wc),Sn(He,Ju,Wc),Sn(He,lu,ih),Sn(He,lu,Os),Sn(He,lu,ls),Sn(He,Eu,ih),Sn(He,Eu,sf),Sn(He,Eu,xo)}function RDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,k,j,A,I,O,$,_,X;switch(t.Ug("Brandes & Koepf node placement",1),n.a=e,n.c=yPe(e),i=u(m(e,(cn(),ZH)),281),v=on(un(m(e,s9))),n.d=i==(ay(),vI)&&!v||i==IH,function lOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O;if(!((k=e.b.c.length)<3)){for(v=K(ye,_e,28,k,15,1),d=0,a=new C(e.b);a.as)&&oi(n.b,u(j.b,18));++f}c=s}}}(n,e),_=null,X=null,A=null,I=null,Ao(4,Dw),j=new Vc(4),u(m(e,ZH),281).g){case 3:A=new h2(e,n.c.d,(Nf(),n0),(wh(),N1)),Rn(j.c,A);break;case 1:I=new h2(e,n.c.d,(Nf(),Yf),(wh(),N1)),Rn(j.c,I);break;case 4:_=new h2(e,n.c.d,(Nf(),n0),(wh(),Db)),Rn(j.c,_);break;case 2:X=new h2(e,n.c.d,(Nf(),Yf),(wh(),Db)),Rn(j.c,X);break;default:A=new h2(e,n.c.d,(Nf(),n0),(wh(),N1)),I=new h2(e,n.c.d,Yf,N1),_=new h2(e,n.c.d,n0,Db),X=new h2(e,n.c.d,Yf,Db),Rn(j.c,_),Rn(j.c,X),Rn(j.c,A),Rn(j.c,I)}for(r=new VCn(e,n.c),f=new C(j);f.ajn[h]&&(j=h),d=new C(n.a.b);d.aKx(c))&&(d=c);for(!d&&(Ln(0,j.c.length),d=u(j.c[0],185)),k=new C(e.b);k.a=-1900?1:0,Re(n,t>=4?S(T(fn,1),J,2,6,[_zn,Hzn])[f]:S(T(fn,1),J,2,6,["BC","AD"])[f]);break;case 121:!function r9e(n,e,t){var i;switch((i=t.q.getFullYear()-Ea+Ea)<0&&(i=-i),e){case 1:n.a+=i;break;case 2:zh(n,i%100,2);break;default:zh(n,i,e)}}(n,t,i);break;case 77:!function jSe(n,e,t){var i;switch(i=t.q.getMonth(),e){case 5:Re(n,S(T(fn,1),J,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:Re(n,S(T(fn,1),J,2,6,[LB,DB,NB,$B,mp,FB,xB,BB,RB,KB,_B,HB])[i]);break;case 3:Re(n,S(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",mp,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:zh(n,i+1,e)}}(n,t,i);break;case 107:zh(n,0==(h=r.q.getHours())?24:h,t);break;case 83:!function FMe(n,e,t){var i,r;Ac(i=Ec(t.q.getTime()),0)<0?(r=T1-Ae(ty(d1(i),T1)))==T1&&(r=0):r=Ae(ty(i,T1)),1==e?ca(n,48+(r=y.Math.min((r+50)/100|0,9))&ri):2==e?zh(n,r=y.Math.min((r+5)/10|0,99),2):(zh(n,r,3),e>3&&zh(n,0,e-3))}(n,t,r);break;case 69:a=i.q.getDay(),Re(n,5==t?S(T(fn,1),J,2,6,["S","M","T","W","T","F","S"])[a]:4==t?S(T(fn,1),J,2,6,[qB,UB,GB,zB,XB,WB,VB])[a]:S(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[a]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Re(n,S(T(fn,1),J,2,6,["AM","PM"])[1]):Re(n,S(T(fn,1),J,2,6,["AM","PM"])[0]);break;case 104:zh(n,0==(d=r.q.getHours()%12)?12:d,t);break;case 75:zh(n,r.q.getHours()%12,t);break;case 72:zh(n,r.q.getHours(),t);break;case 99:p=i.q.getDay(),5==t?Re(n,S(T(fn,1),J,2,6,["S","M","T","W","T","F","S"])[p]):4==t?Re(n,S(T(fn,1),J,2,6,[qB,UB,GB,zB,XB,WB,VB])[p]):3==t?Re(n,S(T(fn,1),J,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[p]):zh(n,p,1);break;case 76:k=i.q.getMonth(),5==t?Re(n,S(T(fn,1),J,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[k]):4==t?Re(n,S(T(fn,1),J,2,6,[LB,DB,NB,$B,mp,FB,xB,BB,RB,KB,_B,HB])[k]):3==t?Re(n,S(T(fn,1),J,2,6,["Jan","Feb","Mar","Apr",mp,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[k]):zh(n,k+1,t);break;case 81:j=i.q.getMonth()/3|0,Re(n,t<4?S(T(fn,1),J,2,6,["Q1","Q2","Q3","Q4"])[j]:S(T(fn,1),J,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[j]);break;case 100:zh(n,i.q.getDate(),t);break;case 109:zh(n,r.q.getMinutes(),t);break;case 115:zh(n,r.q.getSeconds(),t);break;case 122:Re(n,t<4?c.c[0]:c.c[1]);break;case 118:Re(n,c.b);break;case 90:Re(n,t<3?function PEe(n){var e,t;return t=-n.a,e=S(T(ds,1),jh,28,15,[43,48,48,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&ri,e[2]=e[2]+(t/60|0)%10&ri,e[3]=e[3]+(t%60/10|0)&ri,e[4]=e[4]+t%10&ri,ks(e,0,e.length)}(c):3==t?function NEe(n){var e,t;return t=-n.a,e=S(T(ds,1),jh,28,15,[43,48,48,58,48,48]),t<0&&(e[0]=45,t=-t),e[1]=e[1]+((t/60|0)/10|0)&ri,e[2]=e[2]+(t/60|0)%10&ri,e[4]=e[4]+(t%60/10|0)&ri,e[5]=e[5]+t%10&ri,ks(e,0,e.length)}(c):function $Ee(n){var e;return e=S(T(ds,1),jh,28,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(e[3]=43,n=-n),e[4]=e[4]+((n/60|0)/10|0)&ri,e[5]=e[5]+(n/60|0)%10&ri,e[7]=e[7]+(n%60/10|0)&ri,e[8]=e[8]+n%10&ri,ks(e,0,e.length)}(c.a));break;default:return!1}return!0}function Ltn(n,e,t,i){var r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,$,_,X,tn,jn,kn,Bn,$n,te,Fe;if(iUn(e),h=u(D((!e.b&&(e.b=new Dn(he,e,4,7)),e.b),0),84),a=u(D((!e.c&&(e.c=new Dn(he,e,5,8)),e.c),0),84),f=Ur(h),l=Ur(a),s=0==(!e.a&&(e.a=new q(jt,e,6,6)),e.a).i?null:u(D((!e.a&&(e.a=new q(jt,e,6,6)),e.a),0),166),tn=u(ee(n.a,f),10),$n=u(ee(n.a,l),10),jn=null,te=null,L(h,193)&&(L(X=u(ee(n.a,h),305),12)?jn=u(X,12):L(X,10)&&(tn=u(X,10),jn=u(sn(tn.j,0),12))),L(a,193)&&(L(Bn=u(ee(n.a,a),305),12)?te=u(Bn,12):L(Bn,10)&&($n=u(Bn,10),te=u(sn($n.j,0),12))),!tn||!$n)throw M(new Cv("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(qr(k=new B0,e),U(k,(V(),ot),e),U(k,(cn(),Nr),null),v=u(m(i,zc),21),tn==$n&&v.Fc((gr(),e9)),jn||(wr(),_=nu,kn=null,s&&Dg(u(m(tn,Kt),101))&&(XLn(kn=new W(s.j,s.k),ak(e)),yDn(kn,t),dw(l,f)&&(_=Vu,et(kn,tn.n))),jn=rGn(tn,kn,_,i)),te||(wr(),_=Vu,Fe=null,s&&Dg(u(m($n,Kt),101))&&(XLn(Fe=new W(s.b,s.c),ak(e)),yDn(Fe,t)),te=rGn($n,Fe,_,Ki($n))),Qi(k,jn),Pi(k,te),(jn.e.c.length>1||jn.g.c.length>1||te.e.c.length>1||te.g.c.length>1)&&v.Fc((gr(),n9)),g=new ne((!e.n&&(e.n=new q(Tr,e,1,7)),e.n));g.e!=g.i.gc();)if(!on(un(z(d=u(ue(g),135),Yd)))&&d.a)switch(j=MF(d),nn(k.b,j),u(m(j,Dh),278).g){case 1:case 2:v.Fc((gr(),Lm));break;case 0:v.Fc((gr(),Om)),U(j,Dh,(Kf(),Jm))}if(c=u(m(i,o9),322),A=u(m(i,BI),323),r=c==(k5(),Dj)||A==(K5(),aq),s&&0!=(!s.a&&(s.a=new ni(Ro,s,5)),s.a).i&&r){for(I=wy(s),p=new Su,$=ge(I,0);$.b!=$.d.c;)xe(p,new ir(u(be($),8)));U(k,Mfn,p)}return k}function V(){var n,e;V=N,ot=new ct(pin),yfn=new ct("coordinateOrigin"),_H=new ct("processors"),kfn=new Pt("compoundNode",(Kn(),!1)),xj=new Pt("insideConnections",!1),Mfn=new ct("originalBendpoints"),Tfn=new ct("originalDummyNodePosition"),Afn=new ct("originalLabelEdge"),i9=new ct("representedLabels"),t9=new ct("endLabels"),Rp=new ct("endLabel.origin"),_p=new Pt("labelSide",(Po(),gE)),F2=new Pt("maxEdgeThickness",0),Qf=new Pt("reversed",!1),Hp=new ct(min),Af=new Pt("longEdgeSource",null),Ss=new Pt("longEdgeTarget",null),Jw=new Pt("longEdgeHasLabelDummies",!1),Bj=new Pt("longEdgeBeforeLabelDummy",!1),EI=new Pt("edgeConstraint",(Md(),CH)),Eb=new ct("inLayerLayoutUnit"),zd=new Pt("inLayerConstraint",(Pl(),$j)),Kp=new Pt("inLayerSuccessorConstraint",new Z),Cfn=new Pt("inLayerSuccessorConstraintBetweenNonDummies",!1),Wu=new ct("portDummy"),jI=new Pt("crossingHint",Y(0)),zc=new Pt("graphProperties",new Go(e=u(df(OH),9),u(Hs(e,e.length),9),0)),mc=new Pt("externalPortSide",(en(),hc)),Efn=new Pt("externalPortSize",new Oi),FH=new ct("externalPortReplacedDummies"),CI=new ct("externalPortReplacedDummy"),Ul=new Pt("externalPortConnections",new Go(n=u(df(fr),9),u(Hs(n,n.length),9),0)),Cb=new Pt(mXn,0),mfn=new ct("barycenterAssociates"),qp=new ct("TopSideComments"),Bp=new ct("BottomSideComments"),yI=new ct("CommentConnectionPort"),BH=new Pt("inputCollect",!1),KH=new Pt("outputCollect",!1),Fj=new Pt("cyclic",!1),jfn=new ct("crossHierarchyMap"),qH=new ct("targetOffset"),new Pt("splineLabelSize",new Oi),B2=new ct("spacings"),MI=new Pt("partitionConstraint",!1),jb=new ct("breakingPoint.info"),Ifn=new ct("splines.survivingEdge"),Xd=new ct("splines.route.start"),R2=new ct("splines.edgeChain"),Pfn=new ct("originalPortConstraints"),Mb=new ct("selfLoopHolder"),Nm=new ct("splines.nsPortY"),lt=new ct("modelOrder"),RH=new ct("longEdgeTargetNode"),Da=new Pt(ZXn,!1),x2=new Pt(ZXn,!1),xH=new ct("layerConstraints.hiddenNodes"),Sfn=new ct("layerConstraints.opposidePort"),HH=new ct("targetNode.modelOrder")}function Ue(){var n,e;Ue=N,Xm=new ct(BWn),rv=new ct(RWn),Xh(),Due=new Cn(Arn,xan=kU),new f6,Q2=new Cn(Mp,null),Nue=new ct(Kcn),Id(),Ran=pt(EU,S(T(CU,1),G,298,0,[jU])),oE=new Cn(US,Ran),sE=new Cn(uj,(Kn(),!1)),ii(),t0=new Cn(uK,Kan=eh),Dl(),Han=new Cn(cj,qan=xU),xue=new Cn(Bcn,!1),Ll(),nv=new Cn(qS,zan=MO),edn=new C0(12),x1=new Cn(hb,edn),hE=new Cn(k8,!1),SU=new Cn(zS,!1),lE=new Cn(y8,!1),Ii(),F9=new Cn(TR,udn=Ha),Wp=new ct(GS),aE=new ct(Jy),$U=new ct(MS),FU=new ct(m8),Xan=new Su,$b=new Cn(Brn,Xan),Fue=new Cn(_rn,!1),Bue=new Cn(Hrn,!1),new ct(KWn),Wan=new a6,Wm=new Cn(Urn,Wan),yO=new Cn(Mrn,!1),new f6,Hue=new Cn(_Wn,1),Z2=new ct(HWn),Y2=new ct(qWn),Vm=new Cn(Qy,!1),new Cn(UWn,!0),Y(0),new Cn(GWn,Y(100)),new Cn(zWn,!1),Y(0),new Cn(XWn,Y(4e3)),Y(0),new Cn(WWn,Y(400)),new Cn(VWn,!1),new Cn(JWn,!1),new Cn(QWn,!0),new Cn(YWn,!1),sA(),$ue=new Cn(Rcn,Ban=_U),que=new Cn(brn,10),Uue=new Cn(wrn,10),hdn=new Cn(mR,20),Gue=new Cn(grn,10),ldn=new Cn(MR,2),adn=new Cn(cK,10),ddn=new Cn(vrn,0),jO=new Cn(krn,5),bdn=new Cn(prn,1),wdn=new Cn(mrn,1),r0=new Cn(Fw,20),zue=new Cn(yrn,10),pdn=new Cn(jrn,10),Vp=new ct(Ern),vdn=new cTn,gdn=new Cn(Grn,vdn),Kue=new ct(sK),Rue=new Cn(oK,tdn=!1),Jan=new C0(5),Van=new Cn(Irn,Jan),Tw(),e=u(df(kr),9),Qan=new Go(e,u(Hs(e,e.length),9),0),ev=new Cn(cm,Qan),Zg(),idn=new Cn(Drn,rdn=_a),IU=new ct(Nrn),OU=new ct($rn),LU=new ct(Frn),PU=new ct(xrn),n=u(df(U9),9),Yan=new Go(n,u(Hs(n,n.length),9),0),i0=new Cn(m2,Yan),ndn=yn((ro(),n6)),Ra=new Cn(Tp,ndn),Zan=new W(0,0),tv=new Cn(Ap,Zan),fg=new Cn(rm,!1),Kf(),TU=new Cn(Rrn,_an=Jm),MU=new Cn(TS,!1),new ct(ZWn),Y(1),new Cn(nVn,null),cdn=new ct(qrn),DU=new ct(Krn),en(),iv=new Cn(Trn,fdn=hc),so=new ct(Crn),Xu(),odn=yn(qa),hg=new Cn(um,odn),NU=new Cn(Orn,!1),sdn=new Cn(Lrn,!0),new f6,CO=new Cn(Yy,1),mdn=new Cn(_cn,null),dE=new Cn(Zy,150),EO=new Cn(nj,1.414),Jp=new Cn(lb,null),Xue=new Cn(Hcn,1),fE=new Cn(Srn,!1),AU=new Cn(Prn,!1),Uan=new Cn(kR,1),FA(),new Cn(eVn,Gan=RU),_ue=!0,cp(),Vue=dg,Jue=dg,Wue=dg}function nr(){nr=N,psn=new Zt("DIRECTION_PREPROCESSOR",0),wsn=new Zt("COMMENT_PREPROCESSOR",1),P2=new Zt("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),uH=new Zt("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),xsn=new Zt("PARTITION_PREPROCESSOR",4),VP=new Zt("LABEL_DUMMY_INSERTER",5),cI=new Zt("SELF_LOOP_PREPROCESSOR",6),Ww=new Zt("LAYER_CONSTRAINT_PREPROCESSOR",7),$sn=new Zt("PARTITION_MIDPROCESSOR",8),Tsn=new Zt("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Dsn=new Zt("NODE_PROMOTION",10),Xw=new Zt("LAYER_CONSTRAINT_POSTPROCESSOR",11),Fsn=new Zt("PARTITION_POSTPROCESSOR",12),Esn=new Zt("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Bsn=new Zt("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),fsn=new Zt("BREAKING_POINT_INSERTER",15),ZP=new Zt("LONG_EDGE_SPLITTER",16),oH=new Zt("PORT_SIDE_PROCESSOR",17),XP=new Zt("INVERTED_PORT_PROCESSOR",18),tI=new Zt("PORT_LIST_SORTER",19),Ksn=new Zt("SORT_BY_INPUT_ORDER_OF_MODEL",20),eI=new Zt("NORTH_SOUTH_PORT_PREPROCESSOR",21),hsn=new Zt("BREAKING_POINT_PROCESSOR",22),Nsn=new Zt(GXn,23),_sn=new Zt(zXn,24),iI=new Zt("SELF_LOOP_PORT_RESTORER",25),Rsn=new Zt("SINGLE_EDGE_GRAPH_WRAPPER",26),WP=new Zt("IN_LAYER_CONSTRAINT_PROCESSOR",27),ksn=new Zt("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Osn=new Zt("LABEL_AND_NODE_SIZE_PROCESSOR",29),Isn=new Zt("INNERMOST_NODE_MARGIN_CALCULATOR",30),uI=new Zt("SELF_LOOP_ROUTER",31),dsn=new Zt("COMMENT_NODE_MARGIN_CALCULATOR",32),zP=new Zt("END_LABEL_PREPROCESSOR",33),QP=new Zt("LABEL_DUMMY_SWITCHER",34),asn=new Zt("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),jm=new Zt("LABEL_SIDE_SELECTOR",36),Ssn=new Zt("HYPEREDGE_DUMMY_MERGER",37),Csn=new Zt("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Lsn=new Zt("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),J8=new Zt("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),gsn=new Zt("CONSTRAINTS_POSTPROCESSOR",41),bsn=new Zt("COMMENT_POSTPROCESSOR",42),Psn=new Zt("HYPERNODE_PROCESSOR",43),Msn=new Zt("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),YP=new Zt("LONG_EDGE_JOINER",45),rI=new Zt("SELF_LOOP_POSTPROCESSOR",46),lsn=new Zt("BREAKING_POINT_REMOVER",47),nI=new Zt("NORTH_SOUTH_PORT_POSTPROCESSOR",48),Asn=new Zt("HORIZONTAL_COMPACTOR",49),JP=new Zt("LABEL_DUMMY_REMOVER",50),ysn=new Zt("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),msn=new Zt("END_LABEL_SORTER",52),Ij=new Zt("REVERSED_EDGE_RESTORER",53),GP=new Zt("END_LABEL_POSTPROCESSOR",54),jsn=new Zt("HIERARCHICAL_NODE_RESIZER",55),vsn=new Zt("DIRECTION_POSTPROCESSOR",56)}function Dtn(){Dtn=N,Dk(),oee=new Cn(Pin,_fn=bI),mee=new Cn(Iin,(Kn(),!1)),cT(),Cee=new Cn(IS,Xfn=$H),Ree=new Cn(Oin,!1),Kee=new Cn(Lin,!0),Dne=new Cn(Din,!1),Ok(),ete=new Cn(Nin,ehn=gq),Y(1),fte=new Cn($in,Y(7)),hte=new Cn(Fin,!1),kee=new Cn(xin,!1),k1(),uee=new Cn(DR,Kfn=jH),M1(),Bee=new Cn(rj,Jfn=sq),ts(),Iee=new Cn(Bin,Wfn=Rj),Y(-1),Pee=new Cn(Rin,null),Y(-1),Oee=new Cn(Kin,Y(-1)),Y(-1),Lee=new Cn(NR,Y(4)),Y(-1),Nee=new Cn($R,Y(2)),js(),xee=new Cn(FR,Vfn=zI),Y(0),Fee=new Cn(xR,Y(0)),Aee=new Cn(BR,Y(nt)),k5(),cee=new Cn(C8,Rfn=Y8),Une=new Cn(_in,!1),Qne=new Cn(RR,.1),iee=new Cn(KR,!1),Zne=new Cn(Hin,null),nee=new Cn(qin,null),Y(-1),eee=new Cn(Uin,null),Y(-1),tee=new Cn(Gin,Y(-1)),Y(0),Gne=new Cn(zin,Y(40)),l4(),Vne=new Cn(_R,Bfn=DH),zne=new Cn(OS,xfn=Nj),K5(),nte=new Cn(k2,nhn=a9),Gee=new ct(LS),Tk(),_ee=new Cn(HR,Qfn=gI),ay(),qee=new Cn(qR,Yfn=vI),new f6,Wee=new Cn(UR,.3),Jee=new ct(GR),kw(),Qee=new Cn(zR,Zfn=GI),XT(),aee=new Cn(Xin,Ufn=pq),A5(),dee=new Cn(Win,Gfn=kq),m4(),bee=new Cn(DS,zfn=w9),gee=new Cn(NS,.2),hee=new Cn(XR,2),cte=new Cn(Vin,null),ote=new Cn(Jin,10),ute=new Cn(Qin,10),ste=new Cn(Yin,20),Y(0),tte=new Cn(Zin,Y(0)),Y(0),ite=new Cn(nrn,Y(0)),Y(0),rte=new Cn(ern,Y(0)),Nne=new Cn(WR,!1),N4(),Fne=new Cn(trn,Dfn=Z8),gT(),$ne=new Cn(irn,Lfn=kH),jee=new Cn($S,!1),Y(0),yee=new Cn(VR,Y(16)),Y(0),Eee=new Cn(JR,Y(5)),QT(),Ite=new Cn(_l,rhn=Eq),lte=new Cn(FS,10),bte=new Cn(xS,1),DT(),yte=new Cn(M8,ihn=dI),vte=new ct(QR),thn=Y(1),Y(0),mte=new Cn(YR,thn),LT(),Nte=new Cn(BS,chn=jq),Ote=new ct(RS),Tte=new Cn(KS,!0),Cte=new Cn(_S,2),Ste=new Cn(ZR,!0),BA(),fee=new Cn(rrn,qfn=wI),ap(),see=new Cn(crn,Hfn=Tm),vh(),qne=new Cn(HS,Ffn=D1),Hne=new Cn(urn,!1),_ne=new Cn(orn,!1),Sd(),xne=new Cn(nK,Nfn=zw),I5(),Kne=new Cn(srn,$fn=fq),Bne=new Cn(eK,0),Rne=new Cn(tK,0),Tee=EH,Mee=Dj,Dee=qI,$ee=qI,See=oq,Ll(),Yne=B1,ree=Y8,Jne=Y8,Xne=Y8,Wne=B1,zee=d9,Xee=a9,Hee=a9,Uee=a9,Vee=dq,Zee=d9,Yee=d9,Dl(),wee=Qp,vee=Qp,pee=w9,lee=bE,ate=qm,dte=ug,wte=qm,gte=ug,jte=qm,Ete=ug,pte=yH,kte=dI,$te=qm,Fte=ug,Lte=qm,Dte=ug,Ate=ug,Mte=ug,Pte=ug}function Ze(){Ze=N,t7=new h0(7),N0n=new Hh(8,94),new Hh(8,64),$0n=new Hh(8,36),Pse=new Hh(8,65),Ise=new Hh(8,122),Ose=new Hh(8,90),Dse=new Hh(8,98),Sse=new Hh(8,66),Lse=new Hh(8,60),Nse=new Hh(8,62),D0n=new h0(11),Kc(WO=new Co(4),48,57),Kc(r6=new Co(4),48,57),Kc(r6,65,90),Kc(r6,95,95),Kc(r6,97,122),Kc(t3=new Co(4),9,9),Kc(t3,10,10),Kc(t3,12,12),Kc(t3,13,13),Kc(t3,32,32),F0n=Pw(WO),B0n=Pw(r6),x0n=Pw(t3),i6=new de,e7=new de,Ase=S(T(fn,1),J,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),O0n=S(T(fn,1),J,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",ZJn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),L0n=S(T(ye,1),_e,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function dS(){dS=N,yYn=new Yo("OUT_T_L",0,(Gu(),Oh),(mu(),Zs),(yf(),vc),vc,S(T(As,1),xn,21,0,[pt((Tw(),uf),S(T(kr,1),G,95,0,[of,rf]))])),kYn=new Yo("OUT_T_C",1,Ia,Zs,vc,Zc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[of,zl])),pt(uf,S(T(kr,1),G,95,0,[of,zl,Ps]))])),jYn=new Yo("OUT_T_R",2,Ys,Zs,vc,pc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[of,cf]))])),aYn=new Yo("OUT_B_L",3,Oh,Tf,pc,vc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[Is,rf]))])),lYn=new Yo("OUT_B_C",4,Ia,Tf,pc,Zc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[Is,zl])),pt(uf,S(T(kr,1),G,95,0,[Is,zl,Ps]))])),dYn=new Yo("OUT_B_R",5,Ys,Tf,pc,pc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[Is,cf]))])),gYn=new Yo("OUT_L_T",6,Ys,Tf,vc,vc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[rf,of,Ps]))])),wYn=new Yo("OUT_L_C",7,Ys,Oa,Zc,vc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[rf,fl])),pt(uf,S(T(kr,1),G,95,0,[rf,fl,Ps]))])),bYn=new Yo("OUT_L_B",8,Ys,Zs,pc,vc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[rf,Is,Ps]))])),mYn=new Yo("OUT_R_T",9,Oh,Tf,vc,pc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[cf,of,Ps]))])),pYn=new Yo("OUT_R_C",10,Oh,Oa,Zc,pc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[cf,fl])),pt(uf,S(T(kr,1),G,95,0,[cf,fl,Ps]))])),vYn=new Yo("OUT_R_B",11,Oh,Zs,pc,pc,S(T(As,1),xn,21,0,[pt(uf,S(T(kr,1),G,95,0,[cf,Is,Ps]))])),fYn=new Yo("IN_T_L",12,Oh,Tf,vc,vc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[of,rf])),pt(Fo,S(T(kr,1),G,95,0,[of,rf,Ps]))])),sYn=new Yo("IN_T_C",13,Ia,Tf,vc,Zc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[of,zl])),pt(Fo,S(T(kr,1),G,95,0,[of,zl,Ps]))])),hYn=new Yo("IN_T_R",14,Ys,Tf,vc,pc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[of,cf])),pt(Fo,S(T(kr,1),G,95,0,[of,cf,Ps]))])),uYn=new Yo("IN_C_L",15,Oh,Oa,Zc,vc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[fl,rf])),pt(Fo,S(T(kr,1),G,95,0,[fl,rf,Ps]))])),cYn=new Yo("IN_C_C",16,Ia,Oa,Zc,Zc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[fl,zl])),pt(Fo,S(T(kr,1),G,95,0,[fl,zl,Ps]))])),oYn=new Yo("IN_C_R",17,Ys,Oa,Zc,pc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[fl,cf])),pt(Fo,S(T(kr,1),G,95,0,[fl,cf,Ps]))])),iYn=new Yo("IN_B_L",18,Oh,Zs,pc,vc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[Is,rf])),pt(Fo,S(T(kr,1),G,95,0,[Is,rf,Ps]))])),tYn=new Yo("IN_B_C",19,Ia,Zs,pc,Zc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[Is,zl])),pt(Fo,S(T(kr,1),G,95,0,[Is,zl,Ps]))])),rYn=new Yo("IN_B_R",20,Ys,Zs,pc,pc,S(T(As,1),xn,21,0,[pt(Fo,S(T(kr,1),G,95,0,[Is,cf])),pt(Fo,S(T(kr,1),G,95,0,[Is,cf,Ps]))])),$_=new Yo(v8,21,null,null,null,null,S(T(As,1),xn,21,0,[]))}function In(){In=N,vg=(ra(),_n).b,u(D(H(_n.b),0),35),u(D(H(_n.b),1),19),K1=_n.a,u(D(H(_n.a),0),35),u(D(H(_n.a),1),19),u(D(H(_n.a),2),19),u(D(H(_n.a),3),19),u(D(H(_n.a),4),19),za=_n.o,u(D(H(_n.o),0),35),u(D(H(_n.o),1),35),Xoe=u(D(H(_n.o),2),19),u(D(H(_n.o),3),19),u(D(H(_n.o),4),19),u(D(H(_n.o),5),19),u(D(H(_n.o),6),19),u(D(H(_n.o),7),19),u(D(H(_n.o),8),19),u(D(H(_n.o),9),19),u(D(H(_n.o),10),19),u(D(H(_n.o),11),19),u(D(H(_n.o),12),19),u(D(H(_n.o),13),19),u(D(H(_n.o),14),19),u(D(H(_n.o),15),19),u(D(st(_n.o),0),62),u(D(st(_n.o),1),62),u(D(st(_n.o),2),62),u(D(st(_n.o),3),62),u(D(st(_n.o),4),62),u(D(st(_n.o),5),62),u(D(st(_n.o),6),62),u(D(st(_n.o),7),62),u(D(st(_n.o),8),62),u(D(st(_n.o),9),62),zoe=_n.p,u(D(H(_n.p),0),35),u(D(H(_n.p),1),35),u(D(H(_n.p),2),35),u(D(H(_n.p),3),35),u(D(H(_n.p),4),19),u(D(H(_n.p),5),19),u(D(st(_n.p),0),62),u(D(st(_n.p),1),62),Woe=_n.q,u(D(H(_n.q),0),35),Xa=_n.v,u(D(H(_n.v),0),19),u(D(st(_n.v),0),62),u(D(st(_n.v),1),62),u(D(st(_n.v),2),62),_1=_n.w,u(D(H(_n.w),0),35),u(D(H(_n.w),1),35),u(D(H(_n.w),2),35),u(D(H(_n.w),3),19),Wa=_n.B,u(D(H(_n.B),0),19),u(D(st(_n.B),0),62),u(D(st(_n.B),1),62),u(D(st(_n.B),2),62),Voe=_n.Q,u(D(H(_n.Q),0),19),u(D(st(_n.Q),0),62),Joe=_n.R,u(D(H(_n.R),0),35),$s=_n.S,u(D(st(_n.S),0),62),u(D(st(_n.S),1),62),u(D(st(_n.S),2),62),u(D(st(_n.S),3),62),u(D(st(_n.S),4),62),u(D(st(_n.S),5),62),u(D(st(_n.S),6),62),u(D(st(_n.S),7),62),u(D(st(_n.S),8),62),u(D(st(_n.S),9),62),u(D(st(_n.S),10),62),u(D(st(_n.S),11),62),u(D(st(_n.S),12),62),u(D(st(_n.S),13),62),u(D(st(_n.S),14),62),H1=_n.T,u(D(H(_n.T),0),19),u(D(H(_n.T),2),19),Qoe=u(D(H(_n.T),3),19),u(D(H(_n.T),4),19),u(D(st(_n.T),0),62),u(D(st(_n.T),1),62),u(D(H(_n.T),1),19),q1=_n.U,u(D(H(_n.U),0),35),u(D(H(_n.U),1),35),u(D(H(_n.U),2),19),u(D(H(_n.U),3),19),u(D(H(_n.U),4),19),u(D(H(_n.U),5),19),u(D(st(_n.U),0),62),pg=_n.V,u(D(H(_n.V),0),19),cv=_n.W,u(D(H(_n.W),0),35),u(D(H(_n.W),1),35),u(D(H(_n.W),2),35),u(D(H(_n.W),3),19),u(D(H(_n.W),4),19),u(D(H(_n.W),5),19),Yoe=_n.bb,u(D(H(_n.bb),0),35),u(D(H(_n.bb),1),35),u(D(H(_n.bb),2),35),u(D(H(_n.bb),3),35),u(D(H(_n.bb),4),35),u(D(H(_n.bb),5),35),u(D(H(_n.bb),6),35),u(D(H(_n.bb),7),19),u(D(st(_n.bb),0),62),u(D(st(_n.bb),1),62),Zoe=_n.eb,u(D(H(_n.eb),0),35),u(D(H(_n.eb),1),35),u(D(H(_n.eb),2),35),u(D(H(_n.eb),3),35),u(D(H(_n.eb),4),35),u(D(H(_n.eb),5),35),u(D(H(_n.eb),6),19),u(D(H(_n.eb),7),19),hr=_n.ab,u(D(H(_n.ab),0),35),u(D(H(_n.ab),1),35),xb=_n.H,u(D(H(_n.H),0),19),u(D(H(_n.H),1),19),u(D(H(_n.H),2),19),u(D(H(_n.H),3),19),u(D(H(_n.H),4),19),u(D(H(_n.H),5),19),u(D(st(_n.H),0),62),Bb=_n.db,u(D(H(_n.db),0),19),rh=_n.M}function Ntn(n,e,t,i){var r,c,s,h,l,a,d,g,v,p,k,A,I,O,$,_,X,tn,jn,kn,Bn,$n,te,Fe,It,Zu,Fr,Ko,hv,G1,hf,lf,s0,i3,Qa,r3,dl,Kb,lv,xh,f0,Vl;if(i.$g()||on(un(z(e,(Ue(),yO)))))return On(),On(),Vi;if(tn=0!=(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i,jn=!(kn=function hEe(n){var e,t,i;if(on(un(z(n,(Ue(),fE))))){for(i=new Z,t=new ie(ce(xl(n).a.Kc(),new Vn));ve(t);)tb(e=u(fe(t),74))&&on(un(z(e,AU)))&&Rn(i.c,e);return i}return On(),On(),Vi}(e)).dc(),tn||jn){if(!(r=u(z(e,rv),143)))throw M(new n1("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(lv=FX(r,(F4(),xO)),rRn(e),!tn&&jn&&!lv)return On(),On(),Vi;if(O=new Z,x(z(e,nv))===x((Ll(),B1))&&(FX(r,$O)||FX(r,NO))){if(on(un(z(e,Vm))))throw M(new n1("Topdown layout cannot be used together with hierarchy handling."));for(hv=Vqn(n,e),Fi(G1=new yt,(!e.a&&(e.a=new q(Qe,e,10,11)),e.a));0!=G1.b;)rRn(Fr=u(0==G1.b?null:(oe(0!=G1.b),Qo(G1,G1.a.a)),27)),x(z(Fr,nv))===x(R9)||Bf(Fr,Xm)&&!YJ(r,z(Fr,rv))?(si(O,Ntn(n,Fr,t,i)),ft(Fr,nv,R9),aUn(Fr)):Fi(G1,(!Fr.a&&(Fr.a=new q(Qe,Fr,10,11)),Fr.a))}else{if(hv=(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i,on(un(z(e,Vm)))){if((xh=i.eh(1)).Ug(DWn,1),null==z(e,Jp))throw M(new n1(e.k+" has not been assigned a top-down node type."));if(u(z(e,Jp),280)==(cp(),dg)||u(z(e,Jp),280)==OO)for(I=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));I.e!=I.i.gc();)A=u(ue(I),27),Zu=u(z(A,rv),143),(!A.a&&(A.a=new q(Qe,A,10,11)),A.a).i>0&&hk(Zu.f),null!=z(A,mdn)&&(Kb=u(z(A,mdn),347).Tg(A),$g(A,y.Math.max(A.g,Kb.a),y.Math.max(A.f,Kb.b)));if(hf=u(z(e,x1),107),xh.bh("Available Child Area: ("+(v=e.g-(hf.b+hf.c))+"|"+(g=e.f-(hf.d+hf.a))+")"),ft(e,Q2,v/g),sRn(e,r,i.eh(hv)),u(z(e,Jp),280)==OO&&(Ptn(e),$g(e,hf.b+F(R(z(e,Z2)))+hf.c,hf.d+F(R(z(e,Y2)))+hf.a)),xh.bh("Executed layout algorithm: "+Oe(z(e,Xm))+" on node "+e.k),u(z(e,Jp),280)==dg){if(v<0||g<0)throw M(new n1("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+e.k));for(Bf(e,Z2)||Bf(e,Y2)||Ptn(e),k=F(R(z(e,Z2))),p=F(R(z(e,Y2))),xh.bh("Desired Child Area: ("+k+"|"+p+")"),lf=y.Math.min(s0=v/k,y.Math.min(i3=g/p,F(R(z(e,Xue))))),ft(e,CO,lf),xh.bh(e.k+" -- Local Scale Factor (X|Y): ("+s0+"|"+i3+")"),$=u(z(e,oE),21),c=0,s=0,lf'?":Tn(DVn,n)?"'(?<' or '(? toIndex: ",Jtn=", toIndex: ",Qtn="Index: ",Ytn=", Size: ",nm="org.eclipse.elk.alg.common",Ne={50:1},eXn="org.eclipse.elk.alg.common.compaction",tXn="Scanline/EventHandler",nl="org.eclipse.elk.alg.common.compaction.oned",iXn="CNode belongs to another CGroup.",rXn="ISpacingsHandler/1",oR="The ",sR=" instance has been finished already.",cXn="The direction ",uXn=" is not supported by the CGraph instance.",oXn="OneDimensionalCompactor",sXn="OneDimensionalCompactor/lambda$0$Type",fXn="Quadruplet",hXn="ScanlineConstraintCalculator",lXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",aXn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",dXn="ScanlineConstraintCalculator/Timestamp",bXn="ScanlineConstraintCalculator/lambda$0$Type",Eh={178:1,46:1},fR="org.eclipse.elk.alg.common.compaction.options",fc="org.eclipse.elk.core.data",Ztn="org.eclipse.elk.polyomino.traversalStrategy",nin="org.eclipse.elk.polyomino.lowLevelSort",ein="org.eclipse.elk.polyomino.highLevelSort",tin="org.eclipse.elk.polyomino.fill",Es={134:1},hR="polyomino",g8="org.eclipse.elk.alg.common.networksimplex",el={183:1,3:1,4:1},wXn="org.eclipse.elk.alg.common.nodespacing",$d="org.eclipse.elk.alg.common.nodespacing.cellsystem",em="CENTER",gXn={217:1,336:1},iin={3:1,4:1,5:1,603:1},jp="LEFT",Ep="RIGHT",rin="Vertical alignment cannot be null",cin="BOTTOM",mS="org.eclipse.elk.alg.common.nodespacing.internal",v8="UNDEFINED",zf=.01,Xy="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",vXn="LabelPlacer/lambda$0$Type",pXn="LabelPlacer/lambda$1$Type",mXn="portRatioOrPosition",tm="org.eclipse.elk.alg.common.overlaps",lR="DOWN",Ch="org.eclipse.elk.alg.common.polyomino",kS="NORTH",aR="EAST",dR="SOUTH",bR="WEST",yS="org.eclipse.elk.alg.common.polyomino.structures",uin="Direction",wR="Grid is only of size ",gR=". Requested point (",vR=") is out of bounds.",jS=" Given center based coordinates were (",Wy="org.eclipse.elk.graph.properties",kXn="IPropertyHolder",oin={3:1,96:1,137:1},Cp="org.eclipse.elk.alg.common.spore",yXn="org.eclipse.elk.alg.common.utils",Fd={205:1},g2="org.eclipse.elk.core",jXn="Connected Components Compaction",EXn="org.eclipse.elk.alg.disco",ES="org.eclipse.elk.alg.disco.graph",pR="org.eclipse.elk.alg.disco.options",sin="CompactionStrategy",fin="org.eclipse.elk.disco.componentCompaction.strategy",hin="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",lin="org.eclipse.elk.disco.debug.discoGraph",ain="org.eclipse.elk.disco.debug.discoPolys",CXn="componentCompaction",xd="org.eclipse.elk.disco",mR="org.eclipse.elk.spacing.componentComponent",kR="org.eclipse.elk.edge.thickness",Mp="org.eclipse.elk.aspectRatio",hb="org.eclipse.elk.padding",v2="org.eclipse.elk.alg.disco.transform",yR=1.5707963267948966,p2=17976931348623157e292,$w={3:1,4:1,5:1,198:1},MXn={3:1,6:1,4:1,5:1,100:1,115:1},jR="org.eclipse.elk.alg.force",din="ComponentsProcessor",TXn="ComponentsProcessor/1",bin="ElkGraphImporter/lambda$0$Type",Vy="org.eclipse.elk.alg.force.graph",AXn="Component Layout",win="org.eclipse.elk.alg.force.model",CS="org.eclipse.elk.force.model",gin="org.eclipse.elk.force.iterations",vin="org.eclipse.elk.force.repulsivePower",ER="org.eclipse.elk.force.temperature",Mh=.001,CR="org.eclipse.elk.force.repulsion",p8="org.eclipse.elk.alg.force.options",im=1.600000023841858,su="org.eclipse.elk.force",Jy="org.eclipse.elk.priority",Fw="org.eclipse.elk.spacing.nodeNode",MR="org.eclipse.elk.spacing.edgeLabel",MS="org.eclipse.elk.randomSeed",m8="org.eclipse.elk.separateConnectedComponents",k8="org.eclipse.elk.interactive",TR="org.eclipse.elk.portConstraints",TS="org.eclipse.elk.edgeLabels.inline",y8="org.eclipse.elk.omitNodeMicroLayout",rm="org.eclipse.elk.nodeSize.fixedGraphSize",Tp="org.eclipse.elk.nodeSize.options",m2="org.eclipse.elk.nodeSize.constraints",cm="org.eclipse.elk.nodeLabels.placement",um="org.eclipse.elk.portLabels.placement",Qy="org.eclipse.elk.topdownLayout",Yy="org.eclipse.elk.topdown.scaleFactor",Zy="org.eclipse.elk.topdown.hierarchicalNodeWidth",nj="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",lb="org.eclipse.elk.topdown.nodeType",pin="origin",min="random",SXn="boundingBox.upLeft",PXn="boundingBox.lowRight",kin="org.eclipse.elk.stress.fixed",yin="org.eclipse.elk.stress.desiredEdgeLength",jin="org.eclipse.elk.stress.dimension",Ein="org.eclipse.elk.stress.epsilon",Cin="org.eclipse.elk.stress.iterationLimit",Ca="org.eclipse.elk.stress",IXn="ELK Stress",Ap="org.eclipse.elk.nodeSize.minimum",AS="org.eclipse.elk.alg.force.stress",OXn="Layered layout",Sp="org.eclipse.elk.alg.layered",ej="org.eclipse.elk.alg.layered.compaction.components",j8="org.eclipse.elk.alg.layered.compaction.oned",SS="org.eclipse.elk.alg.layered.compaction.oned.algs",Bd="org.eclipse.elk.alg.layered.compaction.recthull",Xf="org.eclipse.elk.alg.layered.components",Th="NONE",Min="MODEL_ORDER",Pc={3:1,6:1,4:1,9:1,5:1,126:1},LXn={3:1,6:1,4:1,5:1,150:1,100:1,115:1},PS="org.eclipse.elk.alg.layered.compound",gt={47:1},Hc="org.eclipse.elk.alg.layered.graph",AR=" -> ",DXn="Not supported by LGraph",Tin="Port side is undefined",SR={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},A1={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},NXn={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},xXn="The given string contains parts that cannot be parsed as numbers.",tj="org.eclipse.elk.core.math",BXn={3:1,4:1,140:1,214:1,423:1},RXn={3:1,4:1,107:1,214:1,423:1},S1="org.eclipse.elk.alg.layered.graph.transform",KXn="ElkGraphImporter",_Xn="ElkGraphImporter/lambda$1$Type",HXn="ElkGraphImporter/lambda$2$Type",qXn="ElkGraphImporter/lambda$4$Type",Qn="org.eclipse.elk.alg.layered.intermediate",UXn="Node margin calculation",GXn="ONE_SIDED_GREEDY_SWITCH",zXn="TWO_SIDED_GREEDY_SWITCH",PR="No implementation is available for the layout processor ",IR="IntermediateProcessorStrategy",OR="Node '",XXn="FIRST_SEPARATE",WXn="LAST_SEPARATE",VXn="Odd port side processing",li="org.eclipse.elk.alg.layered.intermediate.compaction",E8="org.eclipse.elk.alg.layered.intermediate.greedyswitch",tl="org.eclipse.elk.alg.layered.p3order.counting",ij={230:1},Pp="org.eclipse.elk.alg.layered.intermediate.loops",Do="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Ma="org.eclipse.elk.alg.layered.intermediate.loops.routing",Ain="org.eclipse.elk.alg.layered.intermediate.preserveorder",Ah="org.eclipse.elk.alg.layered.intermediate.wrapping",Ic="org.eclipse.elk.alg.layered.options",LR="INTERACTIVE",Sin="GREEDY",JXn="DEPTH_FIRST",QXn="EDGE_LENGTH",YXn="SELF_LOOPS",ZXn="firstTryWithInitialOrder",Pin="org.eclipse.elk.layered.directionCongruency",Iin="org.eclipse.elk.layered.feedbackEdges",IS="org.eclipse.elk.layered.interactiveReferencePoint",Oin="org.eclipse.elk.layered.mergeEdges",Lin="org.eclipse.elk.layered.mergeHierarchyEdges",Din="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Nin="org.eclipse.elk.layered.portSortingStrategy",$in="org.eclipse.elk.layered.thoroughness",Fin="org.eclipse.elk.layered.unnecessaryBendpoints",xin="org.eclipse.elk.layered.generatePositionAndLayerIds",DR="org.eclipse.elk.layered.cycleBreaking.strategy",rj="org.eclipse.elk.layered.layering.strategy",Bin="org.eclipse.elk.layered.layering.layerConstraint",Rin="org.eclipse.elk.layered.layering.layerChoiceConstraint",Kin="org.eclipse.elk.layered.layering.layerId",NR="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",$R="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",FR="org.eclipse.elk.layered.layering.nodePromotion.strategy",xR="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",BR="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",C8="org.eclipse.elk.layered.crossingMinimization.strategy",_in="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",RR="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",KR="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Hin="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",qin="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Uin="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Gin="org.eclipse.elk.layered.crossingMinimization.positionId",zin="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",_R="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",OS="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",k2="org.eclipse.elk.layered.nodePlacement.strategy",LS="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",HR="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",qR="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",UR="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",GR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",zR="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Xin="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Win="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",DS="org.eclipse.elk.layered.edgeRouting.splines.mode",NS="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",XR="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Vin="org.eclipse.elk.layered.spacing.baseValue",Jin="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Qin="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Yin="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Zin="org.eclipse.elk.layered.priority.direction",nrn="org.eclipse.elk.layered.priority.shortness",ern="org.eclipse.elk.layered.priority.straightness",WR="org.eclipse.elk.layered.compaction.connectedComponents",trn="org.eclipse.elk.layered.compaction.postCompaction.strategy",irn="org.eclipse.elk.layered.compaction.postCompaction.constraints",$S="org.eclipse.elk.layered.highDegreeNodes.treatment",VR="org.eclipse.elk.layered.highDegreeNodes.threshold",JR="org.eclipse.elk.layered.highDegreeNodes.treeHeight",_l="org.eclipse.elk.layered.wrapping.strategy",FS="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",xS="org.eclipse.elk.layered.wrapping.correctionFactor",M8="org.eclipse.elk.layered.wrapping.cutting.strategy",QR="org.eclipse.elk.layered.wrapping.cutting.cuts",YR="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",BS="org.eclipse.elk.layered.wrapping.validify.strategy",RS="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",KS="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",_S="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",ZR="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",rrn="org.eclipse.elk.layered.edgeLabels.sideSelection",crn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",HS="org.eclipse.elk.layered.considerModelOrder.strategy",urn="org.eclipse.elk.layered.considerModelOrder.portModelOrder",orn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",nK="org.eclipse.elk.layered.considerModelOrder.components",srn="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",eK="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",tK="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",iK="layering",nWn="layering.minWidth",eWn="layering.nodePromotion",om="crossingMinimization",qS="org.eclipse.elk.hierarchyHandling",tWn="crossingMinimization.greedySwitch",iWn="nodePlacement",rWn="nodePlacement.bk",cWn="edgeRouting",cj="org.eclipse.elk.edgeRouting",Wf="spacing",frn="priority",hrn="compaction",uWn="compaction.postCompaction",oWn="Specifies whether and how post-process compaction is applied.",lrn="highDegreeNodes",arn="wrapping",sWn="wrapping.cutting",fWn="wrapping.validify",drn="wrapping.multiEdge",rK="edgeLabels",T8="considerModelOrder",brn="org.eclipse.elk.spacing.commentComment",wrn="org.eclipse.elk.spacing.commentNode",grn="org.eclipse.elk.spacing.edgeEdge",cK="org.eclipse.elk.spacing.edgeNode",vrn="org.eclipse.elk.spacing.labelLabel",prn="org.eclipse.elk.spacing.labelPortHorizontal",mrn="org.eclipse.elk.spacing.labelPortVertical",krn="org.eclipse.elk.spacing.labelNode",yrn="org.eclipse.elk.spacing.nodeSelfLoop",jrn="org.eclipse.elk.spacing.portPort",Ern="org.eclipse.elk.spacing.individual",Crn="org.eclipse.elk.port.borderOffset",Mrn="org.eclipse.elk.noLayout",Trn="org.eclipse.elk.port.side",uj="org.eclipse.elk.debugMode",Arn="org.eclipse.elk.alignment",Srn="org.eclipse.elk.insideSelfLoops.activate",Prn="org.eclipse.elk.insideSelfLoops.yo",uK="org.eclipse.elk.direction",Irn="org.eclipse.elk.nodeLabels.padding",Orn="org.eclipse.elk.portLabels.nextToPortIfPossible",Lrn="org.eclipse.elk.portLabels.treatAsGroup",Drn="org.eclipse.elk.portAlignment.default",Nrn="org.eclipse.elk.portAlignment.north",$rn="org.eclipse.elk.portAlignment.south",Frn="org.eclipse.elk.portAlignment.west",xrn="org.eclipse.elk.portAlignment.east",US="org.eclipse.elk.contentAlignment",Brn="org.eclipse.elk.junctionPoints",Rrn="org.eclipse.elk.edgeLabels.placement",Krn="org.eclipse.elk.port.index",_rn="org.eclipse.elk.commentBox",Hrn="org.eclipse.elk.hypernode",qrn="org.eclipse.elk.port.anchor",oK="org.eclipse.elk.partitioning.activate",sK="org.eclipse.elk.partitioning.partition",GS="org.eclipse.elk.position",Urn="org.eclipse.elk.margins",Grn="org.eclipse.elk.spacing.portsSurrounding",zS="org.eclipse.elk.interactiveLayout",gc="org.eclipse.elk.core.util",zrn={3:1,4:1,5:1,601:1},hWn="NETWORK_SIMPLEX",Xrn="SIMPLE",pr={106:1,47:1},XS="org.eclipse.elk.alg.layered.p1cycles",Hl="org.eclipse.elk.alg.layered.p2layers",Wrn={413:1,230:1},lWn={846:1,3:1,4:1},xu="org.eclipse.elk.alg.layered.p3order",mr="org.eclipse.elk.alg.layered.p4nodes",aWn={3:1,4:1,5:1,854:1},Sh=1e-5,Ta="org.eclipse.elk.alg.layered.p4nodes.bk",fK="org.eclipse.elk.alg.layered.p5edges",Cf="org.eclipse.elk.alg.layered.p5edges.orthogonal",hK="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",lK=1e-6,xw="org.eclipse.elk.alg.layered.p5edges.splines",aK=.09999999999999998,WS=1e-8,dWn=4.71238898038469,Vrn=3.141592653589793,ql="org.eclipse.elk.alg.mrtree",dK=.10000000149011612,VS="SUPER_ROOT",A8="org.eclipse.elk.alg.mrtree.graph",Jrn=-17976931348623157e292,qc="org.eclipse.elk.alg.mrtree.intermediate",bWn="Processor compute fanout",JS={3:1,6:1,4:1,5:1,534:1,100:1,115:1},wWn="Set neighbors in level",oj="org.eclipse.elk.alg.mrtree.options",gWn="DESCENDANTS",Qrn="org.eclipse.elk.mrtree.compaction",Yrn="org.eclipse.elk.mrtree.edgeEndTextureLength",Zrn="org.eclipse.elk.mrtree.treeLevel",ncn="org.eclipse.elk.mrtree.positionConstraint",ecn="org.eclipse.elk.mrtree.weighting",tcn="org.eclipse.elk.mrtree.edgeRoutingMode",icn="org.eclipse.elk.mrtree.searchOrder",vWn="Position Constraint",fu="org.eclipse.elk.mrtree",pWn="org.eclipse.elk.tree",mWn="Processor arrange level",sm="org.eclipse.elk.alg.mrtree.p2order",ko="org.eclipse.elk.alg.mrtree.p4route",rcn="org.eclipse.elk.alg.radial",Rd=6.283185307179586,ccn="Before",ucn=5e-324,QS="After",ocn="org.eclipse.elk.alg.radial.intermediate",kWn="COMPACTION",bK="org.eclipse.elk.alg.radial.intermediate.compaction",yWn={3:1,4:1,5:1,100:1},scn="org.eclipse.elk.alg.radial.intermediate.optimization",wK="No implementation is available for the layout option ",S8="org.eclipse.elk.alg.radial.options",fcn="org.eclipse.elk.radial.centerOnRoot",hcn="org.eclipse.elk.radial.orderId",lcn="org.eclipse.elk.radial.radius",YS="org.eclipse.elk.radial.rotate",gK="org.eclipse.elk.radial.compactor",vK="org.eclipse.elk.radial.compactionStepSize",acn="org.eclipse.elk.radial.sorter",dcn="org.eclipse.elk.radial.wedgeCriteria",bcn="org.eclipse.elk.radial.optimizationCriteria",pK="org.eclipse.elk.radial.rotation.targetAngle",mK="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",wcn="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",jWn="Compaction",gcn="rotation",cs="org.eclipse.elk.radial",EWn="org.eclipse.elk.alg.radial.p1position.wedge",vcn="org.eclipse.elk.alg.radial.sorting",CWn=5.497787143782138,MWn=3.9269908169872414,TWn=2.356194490192345,AWn="org.eclipse.elk.alg.rectpacking",ZS="org.eclipse.elk.alg.rectpacking.intermediate",kK="org.eclipse.elk.alg.rectpacking.options",pcn="org.eclipse.elk.rectpacking.trybox",mcn="org.eclipse.elk.rectpacking.currentPosition",kcn="org.eclipse.elk.rectpacking.desiredPosition",ycn="org.eclipse.elk.rectpacking.inNewRow",jcn="org.eclipse.elk.rectpacking.widthApproximation.strategy",Ecn="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Ccn="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",Mcn="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Tcn="org.eclipse.elk.rectpacking.packing.strategy",Acn="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Scn="org.eclipse.elk.rectpacking.packing.compaction.iterations",Pcn="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",yK="widthApproximation",SWn="Compaction Strategy",PWn="packing.compaction",uo="org.eclipse.elk.rectpacking",fm="org.eclipse.elk.alg.rectpacking.p1widthapproximation",nP="org.eclipse.elk.alg.rectpacking.p2packing",IWn="No Compaction",Icn="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",sj="org.eclipse.elk.alg.rectpacking.util",eP="No implementation available for ",Bw="org.eclipse.elk.alg.spore",Rw="org.eclipse.elk.alg.spore.options",ab="org.eclipse.elk.sporeCompaction",jK="org.eclipse.elk.underlyingLayoutAlgorithm",Ocn="org.eclipse.elk.processingOrder.treeConstruction",Lcn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",EK="org.eclipse.elk.processingOrder.preferredRoot",CK="org.eclipse.elk.processingOrder.rootSelection",MK="org.eclipse.elk.structure.structureExtractionStrategy",Dcn="org.eclipse.elk.compaction.compactionStrategy",Ncn="org.eclipse.elk.compaction.orthogonal",$cn="org.eclipse.elk.overlapRemoval.maxIterations",Fcn="org.eclipse.elk.overlapRemoval.runScanline",TK="processingOrder",OWn="overlapRemoval",hm="org.eclipse.elk.sporeOverlap",LWn="org.eclipse.elk.alg.spore.p1structure",AK="org.eclipse.elk.alg.spore.p2processingorder",SK="org.eclipse.elk.alg.spore.p3execution",DWn="Topdown Layout",NWn="Invalid index: ",lm="org.eclipse.elk.core.alg",y2={341:1},Kw={295:1},$Wn="Make sure its type is registered with the ",xcn=" utility class.",am="true",PK="false",FWn="Couldn't clone property '",db=.05,oo="org.eclipse.elk.core.options",xWn=1.2999999523162842,bb="org.eclipse.elk.box",Bcn="org.eclipse.elk.expandNodes",Rcn="org.eclipse.elk.box.packingMode",BWn="org.eclipse.elk.algorithm",RWn="org.eclipse.elk.resolvedAlgorithm",Kcn="org.eclipse.elk.bendPoints",KWn="org.eclipse.elk.labelManager",_Wn="org.eclipse.elk.scaleFactor",HWn="org.eclipse.elk.childAreaWidth",qWn="org.eclipse.elk.childAreaHeight",UWn="org.eclipse.elk.animate",GWn="org.eclipse.elk.animTimeFactor",zWn="org.eclipse.elk.layoutAncestors",XWn="org.eclipse.elk.maxAnimTime",WWn="org.eclipse.elk.minAnimTime",VWn="org.eclipse.elk.progressBar",JWn="org.eclipse.elk.validateGraph",QWn="org.eclipse.elk.validateOptions",YWn="org.eclipse.elk.zoomToFit",ZWn="org.eclipse.elk.font.name",nVn="org.eclipse.elk.font.size",_cn="org.eclipse.elk.topdown.sizeApproximator",Hcn="org.eclipse.elk.topdown.scaleCap",eVn="org.eclipse.elk.edge.type",tVn="partitioning",iVn="nodeLabels",tP="portAlignment",IK="nodeSize",OK="port",qcn="portLabels",fj="topdown",rVn="insideSelfLoops",P8="org.eclipse.elk.fixed",iP="org.eclipse.elk.random",Ucn={3:1,34:1,22:1,347:1},cVn="port must have a parent node to calculate the port side",uVn="The edge needs to have exactly one edge section. Found: ",I8="org.eclipse.elk.core.util.adapters",us="org.eclipse.emf.ecore",j2="org.eclipse.elk.graph",oVn="EMapPropertyHolder",sVn="ElkBendPoint",fVn="ElkGraphElement",hVn="ElkConnectableShape",Gcn="ElkEdge",lVn="ElkEdgeSection",aVn="EModelElement",dVn="ENamedElement",zcn="ElkLabel",Xcn="ElkNode",Wcn="ElkPort",bVn={94:1,93:1},Ip="org.eclipse.emf.common.notify.impl",Aa="The feature '",O8="' is not a valid changeable feature",wVn="Expecting null",LK="' is not a valid feature",gVn="The feature ID",vVn=" is not a valid feature ID",Cc=32768,pVn={110:1,94:1,93:1,58:1,54:1,99:1},Hn="org.eclipse.emf.ecore.impl",Kd="org.eclipse.elk.graph.impl",L8="Recursive containment not allowed for ",dm="The datatype '",wb="' is not a valid classifier",DK="The value '",E2={195:1,3:1,4:1},NK="The class '",bm="http://www.eclipse.org/elk/ElkGraph",Vcn="property",D8="value",$K="source",mVn="properties",kVn="identifier",FK="height",xK="width",BK="parent",RK="text",KK="children",yVn="hierarchical",Jcn="sources",_K="targets",Qcn="sections",rP="bendPoints",Ycn="outgoingShape",Zcn="incomingShape",nun="outgoingSections",eun="incomingSections",ur="org.eclipse.emf.common.util",tun="Severe implementation error in the Json to ElkGraph importer.",Ph="id",Hi="org.eclipse.elk.graph.json",iun="Unhandled parameter types: ",jVn="startPoint",EVn="An edge must have at least one source and one target (edge id: '",wm="').",CVn="Referenced edge section does not exist: ",MVn=" (edge id: '",run="target",TVn="sourcePoint",AVn="targetPoint",cP="group",Je="name",SVn="connectableShape cannot be null",PVn="edge cannot be null",HK="Passed edge is not 'simple'.",uP="org.eclipse.elk.graph.util",hj="The 'no duplicates' constraint is violated",qK="targetIndex=",_d=", size=",UK="sourceIndex=",Ih={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},GK={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},oP="logging",IVn="measureExecutionTime",OVn="parser.parse.1",LVn="parser.parse.2",sP="parser.next.1",zK="parser.next.2",DVn="parser.next.3",NVn="parser.next.4",Hd="parser.factor.1",cun="parser.factor.2",$Vn="parser.factor.3",FVn="parser.factor.4",xVn="parser.factor.5",BVn="parser.factor.6",RVn="parser.atom.1",KVn="parser.atom.2",_Vn="parser.atom.3",uun="parser.atom.4",XK="parser.atom.5",oun="parser.cc.1",fP="parser.cc.2",HVn="parser.cc.3",qVn="parser.cc.5",sun="parser.cc.6",fun="parser.cc.7",WK="parser.cc.8",UVn="parser.ope.1",GVn="parser.ope.2",zVn="parser.ope.3",P1="parser.descape.1",XVn="parser.descape.2",WVn="parser.descape.3",VVn="parser.descape.4",JVn="parser.descape.5",os="parser.process.1",QVn="parser.quantifier.1",YVn="parser.quantifier.2",ZVn="parser.quantifier.3",nJn="parser.quantifier.4",hun="parser.quantifier.5",eJn="org.eclipse.emf.common.notify",lun={424:1,686:1},tJn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},lj={378:1,152:1},N8="index=",VK={3:1,4:1,5:1,129:1},iJn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},aun={3:1,6:1,4:1,5:1,198:1},rJn={3:1,4:1,5:1,173:1,379:1},cJn=";/?:@&=+$,",uJn="invalid authority: ",oJn="EAnnotation",sJn="ETypedElement",fJn="EStructuralFeature",hJn="EAttribute",lJn="EClassifier",aJn="EEnumLiteral",dJn="EGenericType",bJn="EOperation",wJn="EParameter",gJn="EReference",vJn="ETypeParameter",Et="org.eclipse.emf.ecore.util",JK={79:1},dun={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},pJn="org.eclipse.emf.ecore.util.FeatureMap$Entry",Bu=8192,_w=2048,$8="byte",hP="char",F8="double",x8="float",B8="int",R8="long",K8="short",mJn="java.lang.Object",C2={3:1,4:1,5:1,254:1},bun={3:1,4:1,5:1,688:1},kJn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},Qr={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},aj="mixed",Be="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",Cs="kind",yJn={3:1,4:1,5:1,689:1},wun={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},lP={20:1,31:1,56:1,16:1,15:1,61:1,71:1},aP={51:1,128:1,287:1},dP={76:1,343:1},bP="The value of type '",wP="' must be of type '",M2=1352,Ms="http://www.eclipse.org/emf/2002/Ecore",gP=-32768,gb="constraints",Wi="baseType",jJn="getEStructuralFeature",EJn="getFeatureID",_8="feature",CJn="getOperationID",gun="operation",MJn="defaultValue",TJn="eTypeParameters",AJn="isInstance",SJn="getEEnumLiteral",PJn="eContainingClass",ze={57:1},IJn={3:1,4:1,5:1,124:1},OJn="org.eclipse.emf.ecore.resource",LJn={94:1,93:1,599:1,2034:1},QK="org.eclipse.emf.ecore.resource.impl",vun="unspecified",dj="simple",vP="attribute",DJn="attributeWildcard",pP="element",YK="elementWildcard",Mf="collapse",ZK="itemType",mP="namespace",bj="##targetNamespace",Ts="whiteSpace",pun="wildcards",qd="http://www.eclipse.org/emf/2003/XMLType",n_="##any",gm="uninitialized",wj="The multiplicity constraint is violated",kP="org.eclipse.emf.ecore.xml.type",NJn="ProcessingInstruction",$Jn="SimpleAnyType",FJn="XMLTypeDocumentRoot",ci="org.eclipse.emf.ecore.xml.type.impl",gj="INF",xJn="processing",BJn="ENTITIES_._base",mun="minLength",kun="ENTITY",yP="NCName",RJn="IDREFS_._base",yun="integer",e_="token",t_="pattern",KJn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",jun="\\i\\c*",_Jn="[\\i-[:]][\\c-[:]]*",HJn="nonPositiveInteger",vj="maxInclusive",Eun="NMTOKEN",qJn="NMTOKENS_._base",Cun="nonNegativeInteger",pj="minInclusive",UJn="normalizedString",GJn="unsignedByte",zJn="unsignedInt",XJn="18446744073709551615",WJn="unsignedShort",VJn="processingInstruction",I1="org.eclipse.emf.ecore.xml.type.internal",vm=1114111,JJn="Internal Error: shorthands: \\u",H8="xml:isDigit",i_="xml:isWord",r_="xml:isSpace",c_="xml:isNameChar",u_="xml:isInitialNameChar",QJn="09\u0660\u0669\u06f0\u06f9\u0966\u096f\u09e6\u09ef\u0a66\u0a6f\u0ae6\u0aef\u0b66\u0b6f\u0be7\u0bef\u0c66\u0c6f\u0ce6\u0cef\u0d66\u0d6f\u0e50\u0e59\u0ed0\u0ed9\u0f20\u0f29",YJn="AZaz\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u0386\u0386\u0388\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0641\u064a\u0671\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06d5\u06e5\u06e6\u0905\u0939\u093d\u093d\u0958\u0961\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09dc\u09dd\u09df\u09e1\u09f0\u09f1\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59\u0a5c\u0a5e\u0a5e\u0a72\u0a74\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abd\u0abd\u0ae0\u0ae0\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3d\u0b3d\u0b5c\u0b5d\u0b5f\u0b61\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c60\u0c61\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cde\u0cde\u0ce0\u0ce1\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d60\u0d61\u0e01\u0e2e\u0e30\u0e30\u0e32\u0e33\u0e40\u0e45\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb0\u0eb2\u0eb3\u0ebd\u0ebd\u0ec0\u0ec4\u0f40\u0f47\u0f49\u0f69\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30a1\u30fa\u3105\u312c\u4e00\u9fa5\uac00\ud7a3",ZJn="Private Use",o_="ASSIGNED",s_="\0\x7f\x80\xff\u0100\u017f\u0180\u024f\u0250\u02af\u02b0\u02ff\u0300\u036f\u0370\u03ff\u0400\u04ff\u0530\u058f\u0590\u05ff\u0600\u06ff\u0700\u074f\u0780\u07bf\u0900\u097f\u0980\u09ff\u0a00\u0a7f\u0a80\u0aff\u0b00\u0b7f\u0b80\u0bff\u0c00\u0c7f\u0c80\u0cff\u0d00\u0d7f\u0d80\u0dff\u0e00\u0e7f\u0e80\u0eff\u0f00\u0fff\u1000\u109f\u10a0\u10ff\u1100\u11ff\u1200\u137f\u13a0\u13ff\u1400\u167f\u1680\u169f\u16a0\u16ff\u1780\u17ff\u1800\u18af\u1e00\u1eff\u1f00\u1fff\u2000\u206f\u2070\u209f\u20a0\u20cf\u20d0\u20ff\u2100\u214f\u2150\u218f\u2190\u21ff\u2200\u22ff\u2300\u23ff\u2400\u243f\u2440\u245f\u2460\u24ff\u2500\u257f\u2580\u259f\u25a0\u25ff\u2600\u26ff\u2700\u27bf\u2800\u28ff\u2e80\u2eff\u2f00\u2fdf\u2ff0\u2fff\u3000\u303f\u3040\u309f\u30a0\u30ff\u3100\u312f\u3130\u318f\u3190\u319f\u31a0\u31bf\u3200\u32ff\u3300\u33ff\u3400\u4db5\u4e00\u9fff\ua000\ua48f\ua490\ua4cf\uac00\ud7a3\ue000\uf8ff\uf900\ufaff\ufb00\ufb4f\ufb50\ufdff\ufe20\ufe2f\ufe30\ufe4f\ufe50\ufe6f\ufe70\ufefe\ufeff\ufeff\uff00\uffef",Mun="UNASSIGNED",pm={3:1,122:1},nQn="org.eclipse.emf.ecore.xml.type.util",jP={3:1,4:1,5:1,381:1},Tun="org.eclipse.xtext.xbase.lib",eQn="Cannot add elements to a Range",tQn="Cannot set elements in a Range",iQn="Cannot remove elements from a Range",rQn="user.agent";y.goog=y.goog||{},y.goog.global=y.goog.global||y,EP={},b(1,null,{},xi),o.Fb=function(e){return eTn(this,e)},o.Gb=function(){return this.Rm},o.Hb=function(){return T0(this)},o.Ib=function(){return sd(po(this))+"@"+(wt(this)>>>0).toString(16)},o.equals=function(n){return this.Fb(n)},o.hashCode=function(){return this.Hb()},o.toString=function(){return this.Ib()},b(297,1,{297:1,2124:1},kY),o.ve=function(e){var t;return(t=new kY).i=4,t.c=e>1?EOn(this,e-1):this,t},o.we=function(){return yl(this),this.b},o.xe=function(){return sd(this)},o.ye=function(){return yl(this),this.k},o.ze=function(){return 0!=(4&this.i)},o.Ae=function(){return 0!=(1&this.i)},o.Ib=function(){return OQ(this)},o.i=0;var h_,pi=w(wc,"Object",1),Aun=w(wc,"Class",297);b(2096,1,Fy),w(xy,"Optional",2096),b(1191,2096,Fy,lc),o.Fb=function(e){return e===this},o.Hb=function(){return 2040732332},o.Ib=function(){return"Optional.absent()"},o.Jb=function(e){return Se(e),b6(),h_},w(xy,"Absent",1191),b(636,1,{},GL),w(xy,"Joiner",636);var nNe=Ot(xy,"Predicate");b(589,1,{178:1,589:1,3:1,46:1},I8n),o.Mb=function(e){return Exn(this,e)},o.Lb=function(e){return Exn(this,e)},o.Fb=function(e){var t;return!!L(e,589)&&(t=u(e,589),ven(this.a,t.a))},o.Hb=function(){return TY(this.a)+306654252},o.Ib=function(){return function Kje(n){var e,t,i,r;for(e=ca(Re(new yo("Predicates."),"and"),40),t=!0,r=new u6(n);r.b0},o.Pb=function(){if(this.c>=this.d)throw M(new tc);return this.Xb(this.c++)},o.Tb=function(){return this.c},o.Ub=function(){if(this.c<=0)throw M(new tc);return this.Xb(--this.c)},o.Vb=function(){return this.c-1},o.c=0,o.d=0,w(En,"AbstractIndexedListIterator",399),b(713,204,X4),o.Ob=function(){return X$(this)},o.Pb=function(){return MQ(this)},o.e=1,w(En,"AbstractIterator",713),b(2084,1,{229:1}),o.Zb=function(){return this.f||(this.f=this.ac())},o.Fb=function(e){return wF(this,e)},o.Hb=function(){return wt(this.Zb())},o.dc=function(){return 0==this.gc()},o.ec=function(){return Kv(this)},o.Ib=function(){return Jr(this.Zb())},w(En,"AbstractMultimap",2084),b(742,2084,Dd),o.$b=function(){$T(this)},o._b=function(e){return fEn(this,e)},o.ac=function(){return new j3(this,this.c)},o.ic=function(e){return this.hc()},o.bc=function(){return new Kg(this,this.c)},o.jc=function(){return this.mc(this.hc())},o.kc=function(){return new Sjn(this)},o.lc=function(){return Cx(this.c.vc().Nc(),new Jl,64,this.d)},o.cc=function(e){return ut(this,e)},o.fc=function(e){return Vk(this,e)},o.gc=function(){return this.d},o.mc=function(e){return On(),new f3(e)},o.nc=function(){return new Ajn(this)},o.oc=function(){return Cx(this.c.Cc().Nc(),new bu,64,this.d)},o.pc=function(e,t){return new dT(this,e,t,null)},o.d=0,w(En,"AbstractMapBasedMultimap",742),b(1696,742,Dd),o.hc=function(){return new Vc(this.a)},o.jc=function(){return On(),On(),Vi},o.cc=function(e){return u(ut(this,e),15)},o.fc=function(e){return u(Vk(this,e),15)},o.Zb=function(){return zv(this)},o.Fb=function(e){return wF(this,e)},o.qc=function(e){return u(ut(this,e),15)},o.rc=function(e){return u(Vk(this,e),15)},o.mc=function(e){return JN(u(e,15))},o.pc=function(e,t){return ILn(this,e,u(t,15),null)},w(En,"AbstractListMultimap",1696),b(748,1,Ti),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return this.c.Ob()||this.e.Ob()},o.Pb=function(){var e;return this.e.Ob()||(e=u(this.c.Pb(),44),this.b=e.ld(),this.a=u(e.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},o.Qb=function(){this.e.Qb(),u(vs(this.a),16).dc()&&this.c.Qb(),--this.d.d},w(En,"AbstractMapBasedMultimap/Itr",748),b(1129,748,Ti,Ajn),o.sc=function(e,t){return t},w(En,"AbstractMapBasedMultimap/1",1129),b(1130,1,{},bu),o.Kb=function(e){return u(e,16).Nc()},w(En,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),b(1131,748,Ti,Sjn),o.sc=function(e,t){return new p0(e,t)},w(En,"AbstractMapBasedMultimap/2",1131);var Sun=Ot(le,"Map");b(2065,1,sb),o.wc=function(e){C5(this,e)},o.yc=function(e,t,i){return NF(this,e,t,i)},o.$b=function(){this.vc().$b()},o.tc=function(e){return ux(this,e)},o._b=function(e){return!!wnn(this,e,!1)},o.uc=function(e){var i,r;for(i=this.vc().Kc();i.Ob();)if(r=u(i.Pb(),44).md(),x(e)===x(r)||null!=e&&it(e,r))return!0;return!1},o.Fb=function(e){var t,i,r;if(e===this)return!0;if(!L(e,85)||(r=u(e,85),this.gc()!=r.gc()))return!1;for(i=r.vc().Kc();i.Ob();)if(t=u(i.Pb(),44),!this.tc(t))return!1;return!0},o.xc=function(e){return Rr(wnn(this,e,!1))},o.Hb=function(){return gY(this.vc())},o.dc=function(){return 0==this.gc()},o.ec=function(){return new rd(this)},o.zc=function(e,t){throw M(new Zl("Put not supported on this map"))},o.Ac=function(e){E5(this,e)},o.Bc=function(e){return Rr(wnn(this,e,!0))},o.gc=function(){return this.vc().gc()},o.Ib=function(){return $Kn(this)},o.Cc=function(){return new vl(this)},w(le,"AbstractMap",2065),b(2085,2065,sb),o.bc=function(){return new dC(this)},o.vc=function(){return TPn(this)},o.ec=function(){return this.g||(this.g=this.bc())},o.Cc=function(){return this.i||(this.i=new ZEn(this))},w(En,"Maps/ViewCachingAbstractMap",2085),b(402,2085,sb,j3),o.xc=function(e){return function c4e(n,e){var t;return(t=u(vw(n.d,e),16))?n.e.pc(e,t):null}(this,e)},o.Bc=function(e){return function S6e(n,e){var t,i;return(t=u(n.d.Bc(e),16))?((i=n.e.hc()).Gc(t),n.e.d-=t.gc(),t.$b(),i):null}(this,e)},o.$b=function(){this.d==this.e.c?this.e.$b():jM(new SV(this))},o._b=function(e){return oBn(this.d,e)},o.Ec=function(){return new O8n(this)},o.Dc=function(){return this.Ec()},o.Fb=function(e){return this===e||it(this.d,e)},o.Hb=function(){return wt(this.d)},o.ec=function(){return this.e.ec()},o.gc=function(){return this.d.gc()},o.Ib=function(){return Jr(this.d)},w(En,"AbstractMapBasedMultimap/AsMap",402);var No=Ot(wc,"Iterable");b(31,1,Lw),o.Jc=function(e){_i(this,e)},o.Lc=function(){return this.Oc()},o.Nc=function(){return new Pn(this,0)},o.Oc=function(){return new Mn(null,this.Nc())},o.Fc=function(e){throw M(new Zl("Add not supported on this collection"))},o.Gc=function(e){return Fi(this,e)},o.$b=function(){bJ(this)},o.Hc=function(e){return pw(this,e,!1)},o.Ic=function(e){return _k(this,e)},o.dc=function(){return 0==this.gc()},o.Mc=function(e){return pw(this,e,!0)},o.Pc=function(){return BV(this)},o.Qc=function(e){return H5(this,e)},o.Ib=function(){return pa(this)},w(le,"AbstractCollection",31);var As=Ot(le,"Set");b(Gf,31,Fu),o.Nc=function(){return new Pn(this,1)},o.Fb=function(e){return YBn(this,e)},o.Hb=function(){return gY(this)},w(le,"AbstractSet",Gf),b(2068,Gf,Fu),w(En,"Sets/ImprovedAbstractSet",2068),b(2069,2068,Fu),o.$b=function(){this.Rc().$b()},o.Hc=function(e){return FBn(this,e)},o.dc=function(){return this.Rc().dc()},o.Mc=function(e){var t;return!(!this.Hc(e)||!L(e,44))&&(t=u(e,44),this.Rc().ec().Mc(t.ld()))},o.gc=function(){return this.Rc().gc()},w(En,"Maps/EntrySet",2069),b(1127,2069,Fu,O8n),o.Hc=function(e){return qY(this.a.d.vc(),e)},o.Kc=function(){return new SV(this.a)},o.Rc=function(){return this.a},o.Mc=function(e){var t;return!!qY(this.a.d.vc(),e)&&(t=u(vs(u(e,44)),44),Xpe(this.a.e,t.ld()),!0)},o.Nc=function(){return Y7(this.a.d.vc().Nc(),new L8n(this.a))},w(En,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),b(1128,1,{},L8n),o.Kb=function(e){return SDn(this.a,u(e,44))},w(En,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),b(746,1,Ti,SV),o.Nb=function(e){Ri(this,e)},o.Pb=function(){var e;return e=u(this.b.Pb(),44),this.a=u(e.md(),16),SDn(this.c,e)},o.Ob=function(){return this.b.Ob()},o.Qb=function(){O3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},w(En,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),b(542,2068,Fu,dC),o.$b=function(){this.b.$b()},o.Hc=function(e){return this.b._b(e)},o.Jc=function(e){Se(e),this.b.wc(new V8n(e))},o.dc=function(){return this.b.dc()},o.Kc=function(){return new w6(this.b.vc().Kc())},o.Mc=function(e){return!!this.b._b(e)&&(this.b.Bc(e),!0)},o.gc=function(){return this.b.gc()},w(En,"Maps/KeySet",542),b(327,542,Fu,Kg),o.$b=function(){jM(new Yz(this,this.b.vc().Kc()))},o.Ic=function(e){return this.b.ec().Ic(e)},o.Fb=function(e){return this===e||it(this.b.ec(),e)},o.Hb=function(){return wt(this.b.ec())},o.Kc=function(){return new Yz(this,this.b.vc().Kc())},o.Mc=function(e){var t,i;return i=0,(t=u(this.b.Bc(e),16))&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},o.Nc=function(){return this.b.ec().Nc()},w(En,"AbstractMapBasedMultimap/KeySet",327),b(747,1,Ti,Yz),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return this.c.Ob()},o.Pb=function(){return this.a=u(this.c.Pb(),44),this.a.ld()},o.Qb=function(){var e;O3(!!this.a),e=u(this.a.md(),16),this.c.Qb(),this.b.a.d-=e.gc(),e.$b(),this.a=null},w(En,"AbstractMapBasedMultimap/KeySet/1",747),b(503,402,{85:1,133:1},G7),o.bc=function(){return this.Sc()},o.ec=function(){return this.Uc()},o.Sc=function(){return new m7(this.c,this.Wc())},o.Tc=function(){return this.Wc().Tc()},o.Uc=function(){return this.b||(this.b=this.Sc())},o.Vc=function(){return this.Wc().Vc()},o.Wc=function(){return u(this.d,133)},w(En,"AbstractMapBasedMultimap/SortedAsMap",503),b(446,503,xtn,V6),o.bc=function(){return new y3(this.a,u(u(this.d,133),139))},o.Sc=function(){return new y3(this.a,u(u(this.d,133),139))},o.ec=function(){return u(this.b||(this.b=new y3(this.a,u(u(this.d,133),139))),277)},o.Uc=function(){return u(this.b||(this.b=new y3(this.a,u(u(this.d,133),139))),277)},o.Wc=function(){return u(u(this.d,133),139)},o.Xc=function(e){return u(u(this.d,133),139).Xc(e)},o.Yc=function(e){return u(u(this.d,133),139).Yc(e)},o.Zc=function(e,t){return new V6(this.a,u(u(this.d,133),139).Zc(e,t))},o.$c=function(e){return u(u(this.d,133),139).$c(e)},o._c=function(e){return u(u(this.d,133),139)._c(e)},o.ad=function(e,t){return new V6(this.a,u(u(this.d,133),139).ad(e,t))},w(En,"AbstractMapBasedMultimap/NavigableAsMap",446),b(502,327,Lzn,m7),o.Nc=function(){return this.b.ec().Nc()},w(En,"AbstractMapBasedMultimap/SortedKeySet",502),b(401,502,Btn,y3),w(En,"AbstractMapBasedMultimap/NavigableKeySet",401),b(551,31,Lw,dT),o.Fc=function(e){var t,i;return to(this),i=this.d.dc(),(t=this.d.Fc(e))&&(++this.f.d,i&&V7(this)),t},o.Gc=function(e){var t,i,r;return!e.dc()&&(to(this),r=this.d.gc(),(t=this.d.Gc(e))&&(i=this.d.gc(),this.f.d+=i-r,0==r&&V7(this)),t)},o.$b=function(){var e;to(this),0!=(e=this.d.gc())&&(this.d.$b(),this.f.d-=e,SM(this))},o.Hc=function(e){return to(this),this.d.Hc(e)},o.Ic=function(e){return to(this),this.d.Ic(e)},o.Fb=function(e){return e===this||(to(this),it(this.d,e))},o.Hb=function(){return to(this),wt(this.d)},o.Kc=function(){return to(this),new lV(this)},o.Mc=function(e){var t;return to(this),(t=this.d.Mc(e))&&(--this.f.d,SM(this)),t},o.gc=function(){return _Mn(this)},o.Nc=function(){return to(this),this.d.Nc()},o.Ib=function(){return to(this),Jr(this.d)},w(En,"AbstractMapBasedMultimap/WrappedCollection",551);var ss=Ot(le,"List");b(744,551,{20:1,31:1,16:1,15:1},_V),o.jd=function(e){yd(this,e)},o.Nc=function(){return to(this),this.d.Nc()},o.bd=function(e,t){var i;to(this),i=this.d.dc(),u(this.d,15).bd(e,t),++this.a.d,i&&V7(this)},o.cd=function(e,t){var i,r,c;return!t.dc()&&(to(this),c=this.d.gc(),(i=u(this.d,15).cd(e,t))&&(r=this.d.gc(),this.a.d+=r-c,0==c&&V7(this)),i)},o.Xb=function(e){return to(this),u(this.d,15).Xb(e)},o.dd=function(e){return to(this),u(this.d,15).dd(e)},o.ed=function(){return to(this),new vTn(this)},o.fd=function(e){return to(this),new KIn(this,e)},o.gd=function(e){var t;return to(this),t=u(this.d,15).gd(e),--this.a.d,SM(this),t},o.hd=function(e,t){return to(this),u(this.d,15).hd(e,t)},o.kd=function(e,t){return to(this),ILn(this.a,this.e,u(this.d,15).kd(e,t),this.b?this.b:this)},w(En,"AbstractMapBasedMultimap/WrappedList",744),b(1126,744,{20:1,31:1,16:1,15:1,59:1},uAn),w(En,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),b(628,1,Ti,lV),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return H3(this),this.b.Ob()},o.Pb=function(){return H3(this),this.b.Pb()},o.Qb=function(){UTn(this)},w(En,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),b(745,628,Jh,vTn,KIn),o.Qb=function(){UTn(this)},o.Rb=function(e){var t;t=0==_Mn(this.a),(H3(this),u(this.b,128)).Rb(e),++this.a.a.d,t&&V7(this.a)},o.Sb=function(){return(H3(this),u(this.b,128)).Sb()},o.Tb=function(){return(H3(this),u(this.b,128)).Tb()},o.Ub=function(){return(H3(this),u(this.b,128)).Ub()},o.Vb=function(){return(H3(this),u(this.b,128)).Vb()},o.Wb=function(e){(H3(this),u(this.b,128)).Wb(e)},w(En,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),b(743,551,Lzn,IW),o.Nc=function(){return to(this),this.d.Nc()},w(En,"AbstractMapBasedMultimap/WrappedSortedSet",743),b(1125,743,Btn,aTn),w(En,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),b(1124,551,Fu,AAn),o.Nc=function(){return to(this),this.d.Nc()},w(En,"AbstractMapBasedMultimap/WrappedSet",1124),b(1133,1,{},Jl),o.Kb=function(e){return function i3e(n){var e;return e=n.ld(),Y7(u(n.md(),16).Nc(),new F8n(e))}(u(e,44))},w(En,"AbstractMapBasedMultimap/lambda$1$Type",1133),b(1132,1,{},F8n),o.Kb=function(e){return new p0(this.a,e)},w(En,"AbstractMapBasedMultimap/lambda$2$Type",1132);var l_,a_,d_,sQn,Ud=Ot(le,"Map/Entry");b(358,1,TB),o.Fb=function(e){var t;return!!L(e,44)&&(t=u(e,44),bh(this.ld(),t.ld())&&bh(this.md(),t.md()))},o.Hb=function(){var e,t;return e=this.ld(),t=this.md(),(null==e?0:wt(e))^(null==t?0:wt(t))},o.nd=function(e){throw M(new Pe)},o.Ib=function(){return this.ld()+"="+this.md()},w(En,Dzn,358),b(2086,31,Lw),o.$b=function(){this.od().$b()},o.Hc=function(e){var t;return!!L(e,44)&&(t=u(e,44),function Cve(n,e,t){var i;return!!(i=u(n.Zb().xc(e),16))&&i.Hc(t)}(this.od(),t.ld(),t.md()))},o.Mc=function(e){var t;return!!L(e,44)&&(t=u(e,44),lLn(this.od(),t.ld(),t.md()))},o.gc=function(){return this.od().d},w(En,"Multimaps/Entries",2086),b(749,2086,Lw,OG),o.Kc=function(){return this.a.kc()},o.od=function(){return this.a},o.Nc=function(){return this.a.lc()},w(En,"AbstractMultimap/Entries",749),b(750,749,Fu,Pz),o.Nc=function(){return this.a.lc()},o.Fb=function(e){return $nn(this,e)},o.Hb=function(){return jFn(this)},w(En,"AbstractMultimap/EntrySet",750),b(751,31,Lw,LG),o.$b=function(){this.a.$b()},o.Hc=function(e){return function j6e(n,e){var i;for(i=n.Zb().Cc().Kc();i.Ob();)if(u(i.Pb(),16).Hc(e))return!0;return!1}(this.a,e)},o.Kc=function(){return this.a.nc()},o.gc=function(){return this.a.d},o.Nc=function(){return this.a.oc()},w(En,"AbstractMultimap/Values",751),b(2087,31,{849:1,20:1,31:1,16:1}),o.Jc=function(e){Se(e),Hg(this).Jc(new e9n(e))},o.Nc=function(){var e;return Cx(e=Hg(this).Nc(),new QO,64|1296&e.yd(),this.a.d)},o.Fc=function(e){return xz(),!0},o.Gc=function(e){return Se(this),Se(e),L(e,552)?Ave(u(e,849)):!e.dc()&&B$(this,e.Kc())},o.Hc=function(e){var t;return((t=u(vw(zv(this.a),e),16))?t.gc():0)>0},o.Fb=function(e){return function VCe(n,e){var t,i,r;if(e===n)return!0;if(L(e,552)){if(r=u(e,849),n.a.d!=r.a.d||Hg(n).gc()!=Hg(r).gc())return!1;for(i=Hg(r).Kc();i.Ob();)if(BOn(n,(t=u(i.Pb(),425)).a.ld())!=u(t.a.md(),16).gc())return!1;return!0}return!1}(this,e)},o.Hb=function(){return wt(Hg(this))},o.dc=function(){return Hg(this).dc()},o.Mc=function(e){return W_n(this,e,1)>0},o.Ib=function(){return Jr(Hg(this))},w(En,"AbstractMultiset",2087),b(2089,2068,Fu),o.$b=function(){$T(this.a.a)},o.Hc=function(e){var i;return!(!L(e,504)||(i=u(e,425),u(i.a.md(),16).gc()<=0||BOn(this.a,i.a.ld())!=u(i.a.md(),16).gc()))},o.Mc=function(e){var t,i,r;return!(!L(e,504)||(i=u(e,425),t=i.a.ld(),r=u(i.a.md(),16).gc(),0==r))&&function REe(n,e,t){var i,c,s;return Ao(t,"oldCount"),Ao(0,"newCount"),((i=u(vw(zv(n.a),e),16))?i.gc():0)==t&&(Ao(0,"count"),(s=-((c=u(vw(zv(n.a),e),16))?c.gc():0))>0?xz():s<0&&W_n(n,e,-s),!0)}(this.a,t,r)},w(En,"Multisets/EntrySet",2089),b(1139,2089,Fu,x8n),o.Kc=function(){return new Djn(TPn(zv(this.a.a)).Kc())},o.gc=function(){return zv(this.a.a).gc()},w(En,"AbstractMultiset/EntrySet",1139),b(627,742,Dd),o.hc=function(){return this.pd()},o.jc=function(){return this.qd()},o.cc=function(e){return this.rd(e)},o.fc=function(e){return this.sd(e)},o.Zb=function(){return this.f||(this.f=this.ac())},o.qd=function(){return On(),On(),PP},o.Fb=function(e){return wF(this,e)},o.rd=function(e){return u(ut(this,e),21)},o.sd=function(e){return u(Vk(this,e),21)},o.mc=function(e){return On(),new g3(u(e,21))},o.pc=function(e,t){return new AAn(this,e,u(t,21))},w(En,"AbstractSetMultimap",627),b(1723,627,Dd),o.hc=function(){return new i1(this.b)},o.pd=function(){return new i1(this.b)},o.jc=function(){return sJ(new i1(this.b))},o.qd=function(){return sJ(new i1(this.b))},o.cc=function(e){return u(u(ut(this,e),21),87)},o.rd=function(e){return u(u(ut(this,e),21),87)},o.fc=function(e){return u(u(Vk(this,e),21),87)},o.sd=function(e){return u(u(Vk(this,e),21),87)},o.mc=function(e){return L(e,277)?sJ(u(e,277)):(On(),new wW(u(e,87)))},o.Zb=function(){return this.f||(this.f=L(this.c,139)?new V6(this,u(this.c,139)):L(this.c,133)?new G7(this,u(this.c,133)):new j3(this,this.c))},o.pc=function(e,t){return L(t,277)?new aTn(this,e,u(t,277)):new IW(this,e,u(t,87))},w(En,"AbstractSortedSetMultimap",1723),b(1724,1723,Dd),o.Zb=function(){return u(u(this.f||(this.f=L(this.c,139)?new V6(this,u(this.c,139)):L(this.c,133)?new G7(this,u(this.c,133)):new j3(this,this.c)),133),139)},o.ec=function(){return u(u(this.i||(this.i=L(this.c,139)?new y3(this,u(this.c,139)):L(this.c,133)?new m7(this,u(this.c,133)):new Kg(this,this.c)),87),277)},o.bc=function(){return L(this.c,139)?new y3(this,u(this.c,139)):L(this.c,133)?new m7(this,u(this.c,133)):new Kg(this,this.c)},w(En,"AbstractSortedKeySortedSetMultimap",1724),b(2109,1,{2046:1}),o.Fb=function(e){return function kke(n,e){var r;return e===n||!!L(e,678)&&(r=u(e,2046),YBn(n.g||(n.g=new gL(n)),r.g||(r.g=new gL(r))))}(this,e)},o.Hb=function(){return gY(this.g||(this.g=new gL(this)))},o.Ib=function(){return $Kn(this.f||(this.f=new lW(this)))},w(En,"AbstractTable",2109),b(679,Gf,Fu,gL),o.$b=function(){Gjn()},o.Hc=function(e){var t,i;return!!L(e,479)&&(t=u(e,697),!!(i=u(vw(JPn(this.a),na(t.c.e,t.b)),85))&&qY(i.vc(),new p0(na(t.c.c,t.a),Zv(t.c,t.b,t.a))))},o.Kc=function(){return function Cge(n){return new GTn(n,n.e.Rd().gc()*n.c.Rd().gc())}(this.a)},o.Mc=function(e){var t,i;return!!L(e,479)&&(t=u(e,697),!!(i=u(vw(JPn(this.a),na(t.c.e,t.b)),85))&&function e5e(n,e){Se(n);try{return n.Mc(e)}catch(t){if(L(t=At(t),212)||L(t,169))return!1;throw M(t)}}(i.vc(),new p0(na(t.c.c,t.a),Zv(t.c,t.b,t.a))))},o.gc=function(){return ZSn(this.a)},o.Nc=function(){return function Ive(n){return vN(n.e.Rd().gc()*n.c.Rd().gc(),273,new D8n(n))}(this.a)},w(En,"AbstractTable/CellSet",679),b(2025,31,Lw,R8n),o.$b=function(){Gjn()},o.Hc=function(e){return function aye(n,e){var t,i,r,c,f,h,l;for(h=0,l=(f=n.a).length;h=0?"+":"")+(i/60|0),t=JC(y.Math.abs(i)%60),(XKn(),AQn)[this.q.getDay()]+" "+SQn[this.q.getMonth()]+" "+JC(this.q.getDate())+" "+JC(this.q.getHours())+":"+JC(this.q.getMinutes())+":"+JC(this.q.getSeconds())+" GMT"+e+t+" "+this.q.getFullYear()};var wQn,gQn,vQn,m_,Sa,Dun,pQn,Nun,$un,TP=w(le,"Date",206);b(2015,206,Gzn,gKn),o.a=!1,o.b=0,o.c=0,o.d=0,o.e=0,o.f=0,o.g=!1,o.i=0,o.j=0,o.k=0,o.n=0,o.o=0,o.p=0,w("com.google.gwt.i18n.shared.impl","DateRecord",2015),b(2064,1,{}),o.pe=function(){return null},o.qe=function(){return null},o.re=function(){return null},o.se=function(){return null},o.te=function(){return null},w(kp,"JSONValue",2064),b(221,2064,{221:1},td,NG),o.Fb=function(e){return!!L(e,221)&&LJ(this.a,u(e,221).a)},o.oe=function(){return Pfe},o.Hb=function(){return yJ(this.a)},o.pe=function(){return this},o.Ib=function(){var e,t,i;for(i=new yo("["),t=0,e=this.a.length;t0&&(i.a+=","),Fc(i,lw(this,t));return i.a+="]",i.a},w(kp,"JSONArray",221),b(493,2064,{493:1},$G),o.oe=function(){return Ife},o.qe=function(){return this},o.Ib=function(){return Kn(),""+this.a},o.a=!1,w(kp,"JSONBoolean",493),b(997,63,Rl,Njn),w(kp,"JSONException",997),b(1036,2064,{},tL),o.oe=function(){return Ofe},o.Ib=function(){return yu},w(kp,"JSONNull",1036),b(263,2064,{263:1},zE),o.Fb=function(e){return!!L(e,263)&&this.a==u(e,263).a},o.oe=function(){return Afe},o.Hb=function(){return Ov(this.a)},o.re=function(){return this},o.Ib=function(){return this.a+""},o.a=0,w(kp,"JSONNumber",263),b(190,2064,{190:1},jv,s7),o.Fb=function(e){return!!L(e,190)&&LJ(this.a,u(e,190).a)},o.oe=function(){return Sfe},o.Hb=function(){return yJ(this.a)},o.se=function(){return this},o.Ib=function(){var e,t,i,r,c,f;for(f=new yo("{"),e=!0,r=0,c=(i=Y$(this,K(fn,J,2,0,6,1))).length;r=0?":"+this.c:"")+")"},o.c=0;var Gun=w(wc,"StackTraceElement",319);oQn={3:1,484:1,34:1,2:1};var yQn,fn=w(wc,Ktn,2);b(111,427,{484:1},e1,p6,gs),w(wc,"StringBuffer",111),b(104,427,{484:1},V1,Cg,yo),w(wc,"StringBuilder",104),b(702,77,QB,Bz),w(wc,"StringIndexOutOfBoundsException",702),b(2145,1,{}),b(48,63,{3:1,103:1,63:1,82:1,48:1},Pe,Zl),w(wc,"UnsupportedOperationException",48),b(247,242,{3:1,34:1,242:1,247:1},Yk,Vz),o.Fd=function(e){return KUn(this,u(e,247))},o.ue=function(){return Ew(bGn(this))},o.Fb=function(e){var t;return this===e||!!L(e,247)&&(t=u(e,247),this.e==t.e&&0==KUn(this,t))},o.Hb=function(){var e;return 0!=this.b?this.b:this.a<54?(e=Ec(this.f),this.b=Ae(vi(e,-1)),this.b=33*this.b+Ae(vi(I0(e,32),-1)),this.b=17*this.b+di(this.e),this.b):(this.b=17*Zxn(this.c)+di(this.e),this.b)},o.Ib=function(){return bGn(this)},o.a=0,o.b=0,o.d=0,o.e=0,o.f=0;var jQn,Gd,zun,Xun,Wun,Vun,Jun,Qun,y_=w("java.math","BigDecimal",247);b(92,242,{3:1,34:1,242:1,92:1},Tl,GOn,dd,nRn,ea),o.Fd=function(e){return JBn(this,u(e,92))},o.ue=function(){return Ew(EB(this,0))},o.Fb=function(e){return fZ(this,e)},o.Hb=function(){return Zxn(this)},o.Ib=function(){return EB(this,0)},o.b=-2,o.c=0,o.d=0,o.e=0;var EQn,AP,CQn,j_,SP,G8,MQn,TQn,Lp,z8,T2=w("java.math","BigInteger",92);b(498,2065,sb),o.$b=function(){qu(this)},o._b=function(e){return tu(this,e)},o.uc=function(e){return Nxn(this,e,this.i)||Nxn(this,e,this.f)},o.vc=function(){return new cd(this)},o.xc=function(e){return ee(this,e)},o.zc=function(e,t){return Xe(this,e,t)},o.Bc=function(e){return Yv(this,e)},o.gc=function(){return k6(this)},o.g=0,w(le,"AbstractHashMap",498),b(267,Gf,Fu,cd),o.$b=function(){this.a.$b()},o.Hc=function(e){return yLn(this,e)},o.Kc=function(){return new Ed(this.a)},o.Mc=function(e){var t;return!!yLn(this,e)&&(t=u(e,44).ld(),this.a.Bc(t),!0)},o.gc=function(){return this.a.gc()},w(le,"AbstractHashMap/EntrySet",267),b(268,1,Ti,Ed),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return W0(this)},o.Ob=function(){return this.b},o.Qb=function(){JNn(this)},o.b=!1,o.d=0,w(le,"AbstractHashMap/EntrySetIterator",268),b(426,1,Ti,u6),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return tD(this)},o.Pb=function(){return gJ(this)},o.Qb=function(){vo(this)},o.b=0,o.c=-1,w(le,"AbstractList/IteratorImpl",426),b(98,426,Jh,Ni),o.Qb=function(){vo(this)},o.Rb=function(e){nw(this,e)},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Ub=function(){return oe(this.b>0),this.a.Xb(this.c=--this.b)},o.Vb=function(){return this.b-1},o.Wb=function(e){Yb(-1!=this.c),this.a.hd(this.c,e)},w(le,"AbstractList/ListIteratorImpl",98),b(244,56,Q4,f1),o.bd=function(e,t){ow(e,this.b),this.c.bd(this.a+e,t),++this.b},o.Xb=function(e){return Ln(e,this.b),this.c.Xb(this.a+e)},o.gd=function(e){var t;return Ln(e,this.b),t=this.c.gd(this.a+e),--this.b,t},o.hd=function(e,t){return Ln(e,this.b),this.c.hd(this.a+e,t)},o.gc=function(){return this.b},o.a=0,o.b=0,w(le,"AbstractList/SubList",244),b(266,Gf,Fu,rd),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){return new WE(this.a.vc().Kc())},o.Mc=function(e){return!!this.a._b(e)&&(this.a.Bc(e),!0)},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/1",266),b(541,1,Ti,WE),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){return u(this.a.Pb(),44).ld()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/1/1",541),b(231,31,Lw,vl),o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a.uc(e)},o.Kc=function(){return new qb(this.a.vc().Kc())},o.gc=function(){return this.a.gc()},w(le,"AbstractMap/2",231),b(301,1,Ti,qb),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return this.a.Ob()},o.Pb=function(){return u(this.a.Pb(),44).md()},o.Qb=function(){this.a.Qb()},w(le,"AbstractMap/2/1",301),b(494,1,{494:1,44:1}),o.Fb=function(e){var t;return!!L(e,44)&&(t=u(e,44),jc(this.d,t.ld())&&jc(this.e,t.md()))},o.ld=function(){return this.d},o.md=function(){return this.e},o.Hb=function(){return Fg(this.d)^Fg(this.e)},o.nd=function(e){return xW(this,e)},o.Ib=function(){return this.d+"="+this.e},w(le,"AbstractMap/AbstractEntry",494),b(397,494,{494:1,397:1,44:1},TC),w(le,"AbstractMap/SimpleEntry",397),b(2082,1,nR),o.Fb=function(e){var t;return!!L(e,44)&&(t=u(e,44),jc(this.ld(),t.ld())&&jc(this.md(),t.md()))},o.Hb=function(){return Fg(this.ld())^Fg(this.md())},o.Ib=function(){return this.ld()+"="+this.md()},w(le,Dzn,2082),b(2090,2065,xtn),o.Xc=function(e){return VL(this.Ee(e))},o.tc=function(e){return ADn(this,e)},o._b=function(e){return BW(this,e)},o.vc=function(){return new EL(this)},o.Tc=function(){return _Pn(this.Ge())},o.Yc=function(e){return VL(this.He(e))},o.xc=function(e){return Rr(this.Fe(e))},o.$c=function(e){return VL(this.Ie(e))},o.ec=function(){return new h9n(this)},o.Vc=function(){return _Pn(this.Je())},o._c=function(e){return VL(this.Ke(e))},w(le,"AbstractNavigableMap",2090),b(629,Gf,Fu,EL),o.Hc=function(e){return L(e,44)&&ADn(this.b,u(e,44))},o.Kc=function(){return this.b.De()},o.Mc=function(e){var t;return!!L(e,44)&&(t=u(e,44),this.b.Le(t))},o.gc=function(){return this.b.gc()},w(le,"AbstractNavigableMap/EntrySet",629),b(1146,Gf,Btn,h9n),o.Nc=function(){return new CC(this)},o.$b=function(){this.a.$b()},o.Hc=function(e){return BW(this.a,e)},o.Kc=function(){return new l9n(this.a.vc().b.De())},o.Mc=function(e){return!!BW(this.a,e)&&(this.a.Bc(e),!0)},o.gc=function(){return this.a.gc()},w(le,"AbstractNavigableMap/NavigableKeySet",1146),b(1147,1,Ti,l9n),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return tD(this.a.a)},o.Pb=function(){return hAn(this.a).ld()},o.Qb=function(){gSn(this.a)},w(le,"AbstractNavigableMap/NavigableKeySet/1",1147),b(2103,31,Lw),o.Fc=function(e){return Rv(D4(this,e),Z4),!0},o.Gc=function(e){return Jn(e),nk(e!=this,"Can't add a queue to itself"),Fi(this,e)},o.$b=function(){for(;null!=R$(this););},w(le,"AbstractQueue",2103),b(310,31,{4:1,20:1,31:1,16:1},Rg,gLn),o.Fc=function(e){return HJ(this,e),!0},o.$b=function(){WJ(this)},o.Hc=function(e){return txn(new f5(this),e)},o.dc=function(){return v6(this)},o.Kc=function(){return new f5(this)},o.Mc=function(e){return function a2e(n,e){return!!txn(n,e)&&(Y$n(n),!0)}(new f5(this),e)},o.gc=function(){return this.c-this.b&this.a.length-1},o.Nc=function(){return new Pn(this,272)},o.Qc=function(e){var t;return e.length<(t=this.c-this.b&this.a.length-1)&&(e=sC(new Array(t),e)),wFn(this,e,t),e.length>t&&Dt(e,t,null),e},o.b=0,o.c=0,w(le,"ArrayDeque",310),b(459,1,Ti,f5),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return this.a!=this.b},o.Pb=function(){return eA(this)},o.Qb=function(){Y$n(this)},o.a=0,o.b=0,o.c=-1,w(le,"ArrayDeque/IteratorImpl",459),b(13,56,Wzn,Z,Vc,Hu),o.bd=function(e,t){P0(this,e,t)},o.Fc=function(e){return nn(this,e)},o.cd=function(e,t){return $Y(this,e,t)},o.Gc=function(e){return si(this,e)},o.$b=function(){Ub(this.c,0)},o.Hc=function(e){return-1!=Hr(this,e,0)},o.Jc=function(e){iu(this,e)},o.Xb=function(e){return sn(this,e)},o.dd=function(e){return Hr(this,e,0)},o.dc=function(){return 0==this.c.length},o.Kc=function(){return new C(this)},o.gd=function(e){return l1(this,e)},o.Mc=function(e){return pu(this,e)},o.ce=function(e,t){ROn(this,e,t)},o.hd=function(e,t){return Vo(this,e,t)},o.gc=function(){return this.c.length},o.jd=function(e){Jt(this,e)},o.Pc=function(){return pM(this.c)},o.Qc=function(e){return Hf(this,e)};var Vi,il,PP,ym,Yun,E_,Zun,AQn,SQn,eNe=w(le,"ArrayList",13);b(7,1,Ti,C),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return rc(this)},o.Pb=function(){return E(this)},o.Qb=function(){r5(this)},o.a=0,o.b=-1,w(le,"ArrayList/1",7),b(2112,y.Function,{},Gt),o.Me=function(e,t){return at(e,t)},b(151,56,Vzn,_u),o.Hc=function(e){return-1!=Z$n(this,e)},o.Jc=function(e){var i,r,c;for(Jn(e),r=0,c=(i=this.a).length;r0)throw M(new Un(Wtn+e+" greater than "+this.e));return this.f.Te()?sOn(this.c,this.b,this.a,e,t):KOn(this.c,e,t)},o.zc=function(e,t){if(!dx(this.c,this.f,e,this.b,this.a,this.e,this.d))throw M(new Un(e+" outside the range "+this.b+" to "+this.e));return mxn(this.c,e,t)},o.Bc=function(e){var t;return dx(this.c,this.f,t=e,this.b,this.a,this.e,this.d)?fOn(this.c,t):null},o.Le=function(e){return BM(this,e.ld())&&dQ(this.c,e)},o.gc=function(){var e,t,i;if(!((t=this.f.Te()?T4(this.c,this.b,!!this.a):EQ(this.c))&&BM(this,t.d)&&t))return 0;for(e=0,i=new Z$(this.c,this.f,this.b,this.a,this.e,this.d);tD(i.a);i.b=u(gJ(i.a),44))++e;return e},o.ad=function(e,t){if(this.f.Te()&&this.c.a.Ne(e,this.b)<0)throw M(new Un(Wtn+e+Yzn+this.b));return this.f.Ue()?sOn(this.c,e,t,this.e,this.d):_On(this.c,e,t)},o.a=!1,o.d=!1,w(le,"TreeMap/SubMap",631),b(304,22,rR,MC),o.Te=function(){return!1},o.Ue=function(){return!1};var M_,T_,A_,S_,NQn,IP=we(le,"TreeMap/SubMapType",304,ke,function Rve(){return J3(),S(T(IP,1),G,304,0,[M_,T_,A_,S_])},function Vae(n){return J3(),Ee((CNn(),NQn),n)});b(1143,304,rR,bTn),o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/1",1143,IP,null,null),b(1144,304,rR,ETn),o.Te=function(){return!0},o.Ue=function(){return!0},we(le,"TreeMap/SubMapType/2",1144,IP,null,null),b(1145,304,rR,dTn),o.Te=function(){return!0},we(le,"TreeMap/SubMapType/3",1145,IP,null,null),b(157,Gf,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},dz,i1,h3),o.Nc=function(){return new CC(this)},o.Fc=function(e){return ik(this,e)},o.$b=function(){this.a.$b()},o.Hc=function(e){return this.a._b(e)},o.Kc=function(){return this.a.ec().Kc()},o.Mc=function(e){return XD(this,e)},o.gc=function(){return this.a.gc()};var oNe=w(le,"TreeSet",157);b(1082,1,{},w9n),o.Ve=function(e,t){return function aae(n,e,t){return n.Ne(e,t)<=0?t:e}(this.a,e,t)},w(cR,"BinaryOperator/lambda$0$Type",1082),b(1083,1,{},g9n),o.Ve=function(e,t){return function dae(n,e,t){return n.Ne(e,t)<=0?e:t}(this.a,e,t)},w(cR,"BinaryOperator/lambda$1$Type",1083),b(952,1,{},bs),o.Kb=function(e){return e},w(cR,"Function/lambda$0$Type",952),b(395,1,Le,l3),o.Mb=function(e){return!this.a.Mb(e)},w(cR,"Predicate/lambda$2$Type",395),b(581,1,{581:1});var ron,P_,$Qn=w(w8,"Handler",581);b(2107,1,Fy),o.xe=function(){return"DUMMY"},o.Ib=function(){return this.xe()},w(w8,"Level",2107),b(1706,2107,Fy,W1),o.xe=function(){return"INFO"},w(w8,"Level/LevelInfo",1706),b(1843,1,{},Hyn),w(w8,"LogManager",1843),b(1896,1,Fy,wSn),o.b=null,w(w8,"LogRecord",1896),b(525,1,{525:1},p$),o.e=!1;var FQn=!1,xQn=!1,Vf=!1,BQn=!1,RQn=!1;w(w8,"Logger",525),b(835,581,{581:1},Ql),w(w8,"SimpleConsoleLogHandler",835),b(108,22,{3:1,34:1,22:1,108:1},cD);var con,Yr,Hw,KQn,Dr=we(hi,"Collector/Characteristics",108,ke,function T2e(){return zu(),S(T(Dr,1),G,108,0,[con,Yr,Hw])},function Jae(n){return zu(),Ee((bNn(),KQn),n)});b(758,1,{},VV),w(hi,"CollectorImpl",758),b(1074,1,{},wu),o.Ve=function(e,t){return function u5e(n,e){var t;return e.a&&(t=e.a.a.length,n.a?Re(n.a,n.b):n.a=new yo(n.d),wLn(n.a,e.a,e.d.length,t)),n}(u(e,213),u(t,213))},w(hi,"Collectors/10methodref$merge$Type",1074),b(1075,1,{},dv),o.Kb=function(e){return vLn(u(e,213))},w(hi,"Collectors/11methodref$toString$Type",1075),b(1076,1,{},v9n),o.Kb=function(e){return Kn(),!!qX(e)},w(hi,"Collectors/12methodref$test$Type",1076),b(144,1,{},Br),o.Yd=function(e,t){u(e,16).Fc(t)},w(hi,"Collectors/20methodref$add$Type",144),b(146,1,{},yc),o.Xe=function(){return new Z},w(hi,"Collectors/21methodref$ctor$Type",146),b(359,1,{},Rh),o.Xe=function(){return new Yt},w(hi,"Collectors/23methodref$ctor$Type",359),b(360,1,{},Fs),o.Yd=function(e,t){oi(u(e,49),t)},w(hi,"Collectors/24methodref$add$Type",360),b(1069,1,{},Yl),o.Ve=function(e,t){return sCn(u(e,15),u(t,16))},w(hi,"Collectors/4methodref$addAll$Type",1069),b(1073,1,{},xE),o.Yd=function(e,t){Al(u(e,213),u(t,484))},w(hi,"Collectors/9methodref$add$Type",1073),b(1072,1,{},LSn),o.Xe=function(){return new Cd(this.a,this.b,this.c)},w(hi,"Collectors/lambda$15$Type",1072),b(1077,1,{},U0n),o.Xe=function(){var e;return y1(e=new h1,(Kn(),!1),new Z),y1(e,!0,new Z),e},w(hi,"Collectors/lambda$22$Type",1077),b(1078,1,{},p9n),o.Xe=function(){return S(T(pi,1),xn,1,5,[this.a])},w(hi,"Collectors/lambda$25$Type",1078),b(1079,1,{},m9n),o.Yd=function(e,t){!function Lbe(n,e){return Dt(e,0,PV(e[0],$l(1)))}(0,kd(e))},w(hi,"Collectors/lambda$26$Type",1079),b(1080,1,{},k9n),o.Ve=function(e,t){return function uwe(n,e,t){return Dt(e,0,PV(e[0],t[0])),e}(0,kd(e),kd(t))},w(hi,"Collectors/lambda$27$Type",1080),b(1081,1,{},G0n),o.Kb=function(e){return kd(e)[0]},w(hi,"Collectors/lambda$28$Type",1081),b(728,1,{},oG),o.Ve=function(e,t){return PV(e,t)},w(hi,"Collectors/lambda$4$Type",728),b(145,1,{},Tu),o.Ve=function(e,t){return function _he(n,e){return n.Gc(e),n}(u(e,16),u(t,16))},w(hi,"Collectors/lambda$42$Type",145),b(361,1,{},bv),o.Ve=function(e,t){return function Hhe(n,e){return Fi(n,e),n}(u(e,49),u(t,49))},w(hi,"Collectors/lambda$50$Type",361),b(362,1,{},wv),o.Kb=function(e){return u(e,49)},w(hi,"Collectors/lambda$51$Type",362),b(1068,1,{},y9n),o.Yd=function(e,t){!function a6e(n,e,t){var i,r;Kn(),i=!!qX(t),(r=u(e.xc(i),15))||(r=new Z,e.zc(i,r)),r.Fc(t)}(0,u(e,85),t)},w(hi,"Collectors/lambda$7$Type",1068),b(1070,1,{},z0n),o.Ve=function(e,t){return function Hme(n,e,t){var i,r;for(r=e.vc().Kc();r.Ob();)i=u(r.Pb(),44),n.yc(i.ld(),i.md(),t);return n}(u(e,85),u(t,85),new Yl)},w(hi,"Collectors/lambda$8$Type",1070),b(1071,1,{},j9n),o.Kb=function(e){return function R5e(n,e){var t,i,r;for(r=new de,i=e.vc().Kc();i.Ob();)Xe(r,(t=u(i.Pb(),44)).ld(),Eme(n,u(t.md(),15)));return r}(this.a,u(e,85))},w(hi,"Collectors/lambda$9$Type",1071),b(550,1,{}),o.$e=function(){s5(this)},o.d=!1,w(hi,"TerminatableStream",550),b(827,550,Vtn,SW),o.$e=function(){s5(this)},w(hi,"DoubleStreamImpl",827),b(1847,736,Lo,DSn),o.Re=function(e){return function H9e(n,e){var t;return n.a||(t=K(Ai,Mr,28,0,15,1),Tg(n.b.a,new E9n(t)),Lyn(t,D$n(Gt.prototype.Me,Gt,[])),n.a=new hSn(t,n.d)),bT(n.a,e)}(this,u(e,189))},o.a=null,w(hi,"DoubleStreamImpl/2",1847),b(1848,1,Gy,E9n),o.Pe=function(e){!function $le(n,e){return n[n.length]=e}(this.a,e)},w(hi,"DoubleStreamImpl/2/lambda$0$Type",1848),b(1845,1,Gy,C9n),o.Pe=function(e){!function Nle(n,e){return n[n.length]=e}(this.a,e)},w(hi,"DoubleStreamImpl/lambda$0$Type",1845),b(1846,1,Gy,M9n),o.Pe=function(e){DBn(this.a,e)},w(hi,"DoubleStreamImpl/lambda$2$Type",1846),b(1397,735,Lo,jDn),o.Re=function(e){return function Sve(n,e){return n.a<=n.b&&(e.Dd(n.a++),!0)}(this,u(e,202))},o.a=0,o.b=0,o.c=0,w(hi,"IntStream/5",1397),b(806,550,Vtn,PW),o.$e=function(){s5(this)},o._e=function(){return ua(this),this.a},w(hi,"IntStreamImpl",806),b(807,550,Vtn,nX),o.$e=function(){s5(this)},o._e=function(){return ua(this),hW(),DQn},w(hi,"IntStreamImpl/Empty",807),b(1687,1,By,T9n),o.Dd=function(e){qFn(this.a,e)},w(hi,"IntStreamImpl/lambda$4$Type",1687);var Dp,sNe=Ot(hi,"Stream");b(26,550,{533:1,687:1,848:1},Mn),o.$e=function(){s5(this)},w(hi,"StreamImpl",26),b(1102,500,Lo,oSn),o.Bd=function(e){for(;O3e(this);){if(this.a.Bd(e))return!0;s5(this.b),this.b=null,this.a=null}return!1},w(hi,"StreamImpl/1",1102),b(1103,1,re,A9n),o.Cd=function(e){!function rbe(n,e){e&&(n.b=e,n.a=(ua(e),e.a))}(this.a,u(e,848))},w(hi,"StreamImpl/1/lambda$0$Type",1103),b(1104,1,Le,S9n),o.Mb=function(e){return oi(this.a,e)},w(hi,"StreamImpl/1methodref$add$Type",1104),b(1105,500,Lo,_In),o.Bd=function(e){var t;return this.a||(t=new Z,this.b.a.Nb(new P9n(t)),On(),Jt(t,this.c),this.a=new Pn(t,16)),C$n(this.a,e)},o.a=null,w(hi,"StreamImpl/5",1105),b(1106,1,re,P9n),o.Cd=function(e){nn(this.a,e)},w(hi,"StreamImpl/5/2methodref$add$Type",1106),b(737,500,Lo,CQ),o.Bd=function(e){for(this.b=!1;!this.b&&this.c.Bd(new MCn(this,e)););return this.b},o.b=!1,w(hi,"StreamImpl/FilterSpliterator",737),b(1096,1,re,MCn),o.Cd=function(e){!function nwe(n,e,t){n.a.Mb(t)&&(n.b=!0,e.Cd(t))}(this.a,this.b,e)},w(hi,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),b(1091,736,Lo,DDn),o.Re=function(e){return function Nae(n,e){return n.b.Bd(new TCn(n,e))}(this,u(e,189))},w(hi,"StreamImpl/MapToDoubleSpliterator",1091),b(1095,1,re,TCn),o.Cd=function(e){!function rle(n,e,t){e.Pe(n.a.Ye(t))}(this.a,this.b,e)},w(hi,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),b(1090,735,Lo,NDn),o.Re=function(e){return function $ae(n,e){return n.b.Bd(new ACn(n,e))}(this,u(e,202))},w(hi,"StreamImpl/MapToIntSpliterator",1090),b(1094,1,re,ACn),o.Cd=function(e){!function cle(n,e,t){e.Dd(n.a.Ze(t))}(this.a,this.b,e)},w(hi,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),b(734,500,Lo,fQ),o.Bd=function(e){return rSn(this,e)},w(hi,"StreamImpl/MapToObjSpliterator",734),b(1093,1,re,SCn),o.Cd=function(e){!function ule(n,e,t){e.Cd(n.a.Kb(t))}(this.a,this.b,e)},w(hi,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),b(1092,500,Lo,fFn),o.Bd=function(e){for(;iD(this.b,0);){if(!this.a.Bd(new X0n))return!1;this.b=ms(this.b,1)}return this.a.Bd(e)},o.b=0,w(hi,"StreamImpl/SkipSpliterator",1092),b(1097,1,re,X0n),o.Cd=function(e){},w(hi,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),b(626,1,re,iL),o.Cd=function(e){c9n(this,e)},w(hi,"StreamImpl/ValueConsumer",626),b(1098,1,re,W0n),o.Cd=function(e){fd()},w(hi,"StreamImpl/lambda$0$Type",1098),b(1099,1,re,V0n),o.Cd=function(e){fd()},w(hi,"StreamImpl/lambda$1$Type",1099),b(1100,1,{},I9n),o.Ve=function(e,t){return function dde(n,e,t){return fd(),n.a.Yd(e,t),e}(this.a,e,t)},w(hi,"StreamImpl/lambda$4$Type",1100),b(1101,1,re,PCn),o.Cd=function(e){!function mae(n,e,t){fd(),c9n(n,e.Ve(n.a,t))}(this.b,this.a,e)},w(hi,"StreamImpl/lambda$5$Type",1101),b(1107,1,re,O9n),o.Cd=function(e){!function Ime(n,e){try{e.de()}catch(i){if(!L(i=At(i),82))throw M(i);Rn(n.c,i)}}(this.a,u(e,380))},w(hi,"TerminatableStream/lambda$0$Type",1107),b(2142,1,{}),b(2014,1,{},J0n),w("javaemul.internal","ConsoleLogger",2014);var fNe=0;b(2134,1,{}),b(1830,1,re,Q0n),o.Cd=function(e){u(e,317)},w(nm,"BowyerWatsonTriangulation/lambda$0$Type",1830),b(1831,1,re,L9n),o.Cd=function(e){Fi(this.a,u(e,317).e)},w(nm,"BowyerWatsonTriangulation/lambda$1$Type",1831),b(1832,1,re,Y0n),o.Cd=function(e){u(e,177)},w(nm,"BowyerWatsonTriangulation/lambda$2$Type",1832),b(1827,1,Ne,D9n),o.Ne=function(e,t){return function dpe(n,e,t){return TN(R(Rr(br(n.f,e))),R(Rr(br(n.f,t))))}(this.a,u(e,177),u(t,177))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(nm,"NaiveMinST/lambda$0$Type",1827),b(449,1,{},o6),w(nm,"NodeMicroLayout",449),b(177,1,{177:1},Sv),o.Fb=function(e){var t;return!!L(e,177)&&(t=u(e,177),jc(this.a,t.a)&&jc(this.b,t.b)||jc(this.a,t.b)&&jc(this.b,t.a))},o.Hb=function(){return Fg(this.a)+Fg(this.b)};var hNe=w(nm,"TEdge",177);b(317,1,{317:1},ftn),o.Fb=function(e){var t;return!!L(e,317)&&yT(this,(t=u(e,317)).a)&&yT(this,t.b)&&yT(this,t.c)},o.Hb=function(){return Fg(this.a)+Fg(this.b)+Fg(this.c)},w(nm,"TTriangle",317),b(225,1,{225:1},YC),w(nm,"Tree",225),b(1218,1,{},TOn),w(eXn,"Scanline",1218);var _Qn=Ot(eXn,tXn);b(1758,1,{},y$n),w(nl,"CGraph",1758),b(316,1,{316:1},POn),o.b=0,o.c=0,o.d=0,o.g=0,o.i=0,o.k=fi,w(nl,"CGroup",316),b(830,1,{},gz),w(nl,"CGroup/CGroupBuilder",830),b(60,1,{60:1},_An),o.Ib=function(){return this.j?Oe(this.j.Kb(this)):(yl(OP),OP.o+"@"+(T0(this)>>>0).toString(16))},o.f=0,o.i=fi;var HQn,OP=w(nl,"CNode",60);b(829,1,{},vz),w(nl,"CNode/CNodeBuilder",829),b(1590,1,{},Z0n),o.ff=function(e,t){return 0},o.gf=function(e,t){return 0},w(nl,rXn,1590),b(1853,1,{},nbn),o.cf=function(e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j;for(a=Mt,r=new C(e.a.b);r.ar.d.c||r.d.c==s.d.c&&r.d.b0?e+this.n.d+this.n.a:0},o.kf=function(){var t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=oZ(this,wx(this,null,!0));else for(yf(),i=0,r=(t=S(T(qw,1),G,237,0,[vc,Zc,pc])).length;i0?c+this.n.b+this.n.c:0},o.lf=function(){var e,t,i,r,c;if(this.g)for(e=wx(this,null,!1),yf(),r=0,c=(i=S(T(qw,1),G,237,0,[vc,Zc,pc])).length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=y.Math.max(0,i),this.c.d=t.d+e.d+(this.c.a-i)/2,r[1]=y.Math.max(r[1],i),cQ(this,Zc,t.d+e.d+r[0]-(r[1]-i)/2,r)},o.b=null,o.d=0,o.e=!1,o.f=!1,o.g=!1;var N_=0,LP=0;w($d,"GridContainerCell",1538),b(471,22,{3:1,34:1,22:1,471:1},oD);var Ia,Oh,Ys,ZQn,YQn=we($d,"HorizontalLabelAlignment",471,ke,function S2e(){return Gu(),S(T(YQn,1),G,471,0,[Oh,Ia,Ys])},function ede(n){return Gu(),Ee((lNn(),ZQn),n)});b(314,217,{217:1,314:1},aOn,E$n,cOn),o.jf=function(){return zSn(this)},o.kf=function(){return EV(this)},o.a=0,o.c=!1;var lNe=w($d,"LabelCell",314);b(252,336,{217:1,336:1,252:1},B5),o.jf=function(){return W5(this)},o.kf=function(){return V5(this)},o.lf=function(){iB(this)},o.mf=function(){rB(this)},o.b=0,o.c=0,o.d=!1,w($d,"StripContainerCell",252),b(1691,1,Le,obn),o.Mb=function(e){return function ehe(n){return!!n&&n.k}(u(e,217))},w($d,"StripContainerCell/lambda$0$Type",1691),b(1692,1,{},sbn),o.Ye=function(e){return u(e,217).kf()},w($d,"StripContainerCell/lambda$1$Type",1692),b(1693,1,Le,fbn),o.Mb=function(e){return function the(n){return!!n&&n.j}(u(e,217))},w($d,"StripContainerCell/lambda$2$Type",1693),b(1694,1,{},hbn),o.Ye=function(e){return u(e,217).jf()},w($d,"StripContainerCell/lambda$3$Type",1694),b(472,22,{3:1,34:1,22:1,472:1},sD);var Zs,Oa,Tf,eYn,nYn=we($d,"VerticalLabelAlignment",472,ke,function A2e(){return mu(),S(T(nYn,1),G,472,0,[Tf,Oa,Zs])},function tde(n){return mu(),Ee((dNn(),eYn),n)});b(800,1,{},Ttn),o.c=0,o.d=0,o.k=0,o.s=0,o.t=0,o.v=!1,o.w=0,o.D=!1,o.F=!1,w(mS,"NodeContext",800),b(1536,1,Ne,lbn),o.Ne=function(e,t){return rTn(u(e,64),u(t,64))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mS,"NodeContext/0methodref$comparePortSides$Type",1536),b(1537,1,Ne,abn),o.Ne=function(e,t){return function Oye(n,e){var t;if(0!=(t=rTn(n.b.ag(),e.b.ag())))return t;switch(n.b.ag().g){case 1:case 2:return Tc(n.b.Nf(),e.b.Nf());case 3:case 4:return Tc(e.b.Nf(),n.b.Nf())}return 0}(u(e,117),u(t,117))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(mS,"NodeContext/1methodref$comparePortContexts$Type",1537),b(164,22,{3:1,34:1,22:1,164:1},Yo);var tYn,iYn,rYn,cYn,uYn,oYn,sYn,fYn,hYn,lYn,aYn,dYn,bYn,wYn,gYn,vYn,pYn,mYn,kYn,yYn,jYn,$_,CYn,Aon,DP,EYn=we(mS,"NodeLabelLocation",164,ke,zF,function ide(n){return dS(),Ee((VMn(),CYn),n)});b(117,1,{117:1},lHn),o.a=!1,w(mS,"PortContext",117),b(1541,1,re,dbn),o.Cd=function(e){EEn(u(e,314))},w(Xy,vXn,1541),b(1542,1,Le,bbn),o.Mb=function(e){return!!u(e,117).c},w(Xy,pXn,1542),b(1543,1,re,wbn),o.Cd=function(e){EEn(u(e,117).c)},w(Xy,"LabelPlacer/lambda$2$Type",1543),b(1540,1,re,gbn),o.Cd=function(e){Zb(),function Nfe(n){n.b.Of(n.e)}(u(e,117))},w(Xy,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),b(801,1,re,tV),o.Cd=function(e){Whe(this.b,this.c,this.a,u(e,187))},o.a=!1,o.c=!1,w(Xy,"NodeLabelCellCreator/lambda$0$Type",801),b(1539,1,re,F9n),o.Cd=function(e){!function xfe(n,e){Fnn(n.c,e)}(this.a,u(e,187))},w(Xy,"PortContextCreator/lambda$0$Type",1539),b(1902,1,{},vbn),w(tm,"GreedyRectangleStripOverlapRemover",1902),b(1903,1,Ne,pbn),o.Ne=function(e,t){return function T1e(n,e){return at(n.c.d,e.c.d)}(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tm,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),b(1849,1,{},zyn),o.a=5,o.e=0,w(tm,"RectangleStripOverlapRemover",1849),b(1850,1,Ne,mbn),o.Ne=function(e,t){return function A1e(n,e){return at(n.c.c,e.c.c)}(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tm,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),b(1852,1,Ne,kbn),o.Ne=function(e,t){return function gwe(n,e){return at(n.c.c+n.c.b,e.c.c+e.c.b)}(u(e,226),u(t,226))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tm,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),b(417,22,{3:1,34:1,22:1,417:1},AC);var mj,F_,x_,kj,TYn,MYn=we(tm,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,ke,function Hve(){return V0(),S(T(MYn,1),G,417,0,[kj,mj,F_,x_])},function rde(n){return V0(),Ee((TNn(),TYn),n)});b(226,1,{226:1},EN),w(tm,"RectangleStripOverlapRemover/RectangleNode",226),b(1851,1,re,x9n),o.Cd=function(e){!function i7e(n,e){var t,i;switch(i=e.c,t=e.a,n.b.g){case 0:t.d=n.e-i.a-i.d;break;case 1:t.d+=n.e;break;case 2:t.c=n.e-i.a-i.d;break;case 3:t.c=n.e+i.d}}(this.a,u(e,226))},w(tm,"RectangleStripOverlapRemover/lambda$1$Type",1851),b(1323,1,Ne,ybn),o.Ne=function(e,t){return function jIe(n,e){var t,i,r,c;return t=new jbn,1==(r=2==(r=(i=u(Vr(Kr(new Mn(null,new Pn(n.f,16)),t),hw(new Rh,new Fs,new bv,new wv,S(T(Dr,1),G,108,0,[(zu(),Hw),Yr]))),21)).gc())?1:0)&&j0(ty(u(Vr(rt(i.Lc(),new Ebn),$Fn($l(0),new oG)),168).a,2),0)&&(r=0),1==(c=2==(c=(i=u(Vr(Kr(new Mn(null,new Pn(e.f,16)),t),hw(new Rh,new Fs,new bv,new wv,S(T(Dr,1),G,108,0,[Hw,Yr]))),21)).gc())?1:0)&&j0(ty(u(Vr(rt(i.Lc(),new Cbn),$Fn($l(0),new oG)),168).a,2),0)&&(c=0),r0?n.a:n.b,e,t)}(this,u(e,42),u(t,176))},w(Ch,"SuccessorCombination",782),b(649,1,{},rL),o.Ve=function(e,t){var i;return function JEe(n){var e,t,i,r,c;return t=r=u(n.a,17).a,i=c=u(n.b,17).a,e=y.Math.max(y.Math.abs(r),y.Math.abs(c)),r<=0&&r==c?(t=0,i=c-1):r==-e&&c!=e?(t=c,i=r,c>=0&&++t):(t=-c,i=r),new ai(Y(t),Y(i))}((i=u(e,42),u(t,176),i))},w(Ch,"SuccessorJitter",649),b(648,1,{},cL),o.Ve=function(e,t){var i;return function FTe(n){var e,t;if(e=u(n.a,17).a,t=u(n.b,17).a,e>=0){if(e==t)return new ai(Y(-e-1),Y(-e-1));if(e==-t)return new ai(Y(-e),Y(t+1))}return y.Math.abs(e)>y.Math.abs(t)?new ai(Y(-e),Y(e<0?t:t+1)):new ai(Y(e+1),Y(t))}((i=u(e,42),u(t,176),i))},w(Ch,"SuccessorLineByLine",648),b(573,1,{},BE),o.Ve=function(e,t){var i;return function JCe(n){var e,t,i,r;return e=i=u(n.a,17).a,t=r=u(n.b,17).a,0==i&&0==r?t-=1:-1==i&&r<=0?(e=0,t-=2):i<=0&&r>0?(e-=1,t-=1):i>=0&&r<0?(e+=1,t+=1):i>0&&r>=0?(e-=1,t+=1):(e+=1,t-=1),new ai(Y(e),Y(t))}((i=u(e,42),u(t,176),i))},w(Ch,"SuccessorManhattan",573),b(1344,1,{},Obn),o.Ve=function(e,t){var i;return function uTe(n){var e,t,i;return t=u(n.a,17).a,i=u(n.b,17).a,t<(e=y.Math.max(y.Math.abs(t),y.Math.abs(i)))&&i==-e?new ai(Y(t+1),Y(i)):t==e&&i=-e&&i==e?new ai(Y(t-1),Y(i)):new ai(Y(t),Y(i-1))}((i=u(e,42),u(t,176),i))},w(Ch,"SuccessorMaxNormWindingInMathPosSense",1344),b(409,1,{},a3),o.Ve=function(e,t){return XV(this,e,t)},o.c=!1,o.d=!1,o.e=!1,o.f=!1,w(Ch,"SuccessorQuadrantsGeneric",409),b(1345,1,{},Lbn),o.Kb=function(e){return u(e,334).a},w(Ch,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),b(332,22,{3:1,34:1,22:1,332:1},SC),o.a=!1;var yj,jj,Ej,Cj,SYn,AYn=we(yS,uin,332,ke,function Kve(){return sp(),S(T(AYn,1),G,332,0,[jj,yj,Ej,Cj])},function cde(n){return sp(),Ee((SNn(),SYn),n)});b(1317,1,{}),o.Ib=function(){var e,t,i,r,c,s;for(i=" ",e=Y(0),c=0;c0&&ru(A,$*X),_>0&&cu(A,_*tn);for(C5(n.b,new Ubn),e=new Z,f=new Ed(new cd(n.c).a);f.b;)i=u((s=W0(f)).ld(),74),t=u(s.md(),407).a,r=s2(i,!1,!1),Py(d=xKn(Wh(i),wy(r),t),r),(O=JKn(i))&&-1==Hr(e,O,0)&&(Rn(e.c,O),MIn(O,(oe(0!=d.b),u(d.a.a.c,8)),t));for(j=new Ed(new cd(n.d).a);j.b;)i=u((k=W0(j)).ld(),74),t=u(k.md(),407).a,r=s2(i,!1,!1),d=xKn(va(i),zk(wy(r)),t),Py(d=zk(d),r),(O=QKn(i))&&-1==Hr(e,O,0)&&(Rn(e.c,O),MIn(O,(oe(0!=d.b),u(d.c.b.c,8)),t))}(s),ft(e,Don,this.b),t.Vg()},o.a=0,w(EXn,"DisCoLayoutProvider",1114),b(1208,1,{},xbn),o.c=!1,o.e=0,o.f=0,w(EXn,"DisCoPolyominoCompactor",1208),b(567,1,{567:1},sPn),o.b=!0,w(ES,"DCComponent",567),b(406,22,{3:1,34:1,22:1,406:1},PC),o.a=!1;var NP,Mj,$P,Tj,OYn,IYn=we(ES,"DCDirection",406,ke,function _ve(){return _5(),S(T(IYn,1),G,406,0,[Mj,NP,$P,Tj])},function ude(n){return _5(),Ee((ANn(),OYn),n)});b(272,137,{3:1,272:1,96:1,137:1},Bx),w(ES,"DCElement",272),b(407,1,{407:1},KZ),o.c=0,w(ES,"DCExtension",407),b(762,137,oin,Qjn),w(ES,"DCGraph",762),b(489,22,{3:1,34:1,22:1,489:1},vAn);var B_,LYn,DYn,Oon,Lon,NYn,$Yn,FYn,R_,xYn,Don,FP,K_,Non,BYn,RYn,KYn,_Yn,$on,__,H_,xP,Ion=we(pR,sin,489,ke,function Vwe(){return vC(),S(T(Ion,1),G,489,0,[B_])},function ode(n){return vC(),Ee((MLn(),LYn),n)});b(865,1,Es,$5n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,fin),CXn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Lon),(C1(),Tt)),Ion),yn((Ef(),Fn))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,hin),CXn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),J2),fn),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,lin),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),Zf),pi),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,ain),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),Zf),pi),yn(Fn)))),nGn((new F5n,e))},w(pR,"DisCoMetaDataProvider",865),b(1010,1,Es,F5n),o.hf=function(e){nGn(e)},w(pR,"DisCoOptions",1010),b(1011,1,{},Bbn),o.sf=function(){return new Fbn},o.tf=function(e){},w(pR,"DisCoOptions/DiscoFactory",1011),b(568,176,{330:1,176:1,568:1},VHn),o.a=0,o.b=0,o.c=0,o.d=0,w("org.eclipse.elk.alg.disco.structures","DCPolyomino",568),b(1286,1,Le,Rbn),o.Mb=function(e){return qX(e)},w(v2,"ElkGraphComponentsProcessor/lambda$0$Type",1286),b(1287,1,{},Kbn),o.Kb=function(e){return Xv(),Wh(u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$1$Type",1287),b(1288,1,Le,_bn),o.Mb=function(e){return function bbe(n){return Xv(),Wh(n)==Ct(va(n))}(u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$2$Type",1288),b(1289,1,{},Hbn),o.Kb=function(e){return Xv(),va(u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$3$Type",1289),b(1290,1,Le,qbn),o.Mb=function(e){return function wbe(n){return Xv(),va(n)==Ct(Wh(n))}(u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$4$Type",1290),b(1291,1,Le,B9n),o.Mb=function(e){return function s2e(n,e){return Xv(),n==Ct(Wh(e))||n==Ct(va(e))}(this.a,u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$5$Type",1291),b(1292,1,{},R9n),o.Kb=function(e){return function Swe(n,e){return Xv(),n==Wh(e)?va(e):Wh(e)}(this.a,u(e,74))},w(v2,"ElkGraphComponentsProcessor/lambda$6$Type",1292),b(1205,1,{},GLn),o.a=0,w(v2,"ElkGraphTransformer",1205),b(1206,1,{},Ubn),o.Yd=function(e,t){!function nCe(n,e,t){var i,r,c,s;n.a=t.b.d,L(e,326)?(_i(c=wy(r=s2(u(e,74),!1,!1)),i=new K9n(n)),Py(c,r),null!=e.of((Ue(),$b))&&_i(u(e.of($b),75),i)):((s=u(e,422)).rh(s.nh()+n.a.a),s.sh(s.oh()+n.a.b))}(this,u(e,167),u(t,272))},w(v2,"ElkGraphTransformer/OffsetApplier",1206),b(1207,1,re,K9n),o.Cd=function(e){!function h1e(n,e){A0(e,n.a.a.a,n.a.a.b)}(this,u(e,8))},w(v2,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1207),b(760,1,{},fG),w(jR,din,760),b(1195,1,Ne,Gbn),o.Ne=function(e,t){return function HEe(n,e){var t,i,r;return 0==(t=u(m(e,(Js(),Np)),17).a-u(m(n,Np),17).a)?(i=gi(Bi(u(m(n,(ha(),Aj)),8)),u(m(n,V8),8)),r=gi(Bi(u(m(e,Aj),8)),u(m(e,V8),8)),at(i.a*i.b,r.a*r.b)):t}(u(e,235),u(t,235))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(jR,TXn,1195),b(1196,1,re,ICn),o.Cd=function(e){!function z2e(n,e,t){var i;et(i=new ir(t.d),n),nZ(e,i.a,i.b)}(this.b,this.a,u(e,250))},w(jR,bin,1196),b(738,205,Fd,wz),o.rf=function(e,t){QHn(this,e,t)},w(jR,"ForceLayoutProvider",738),b(309,137,{3:1,309:1,96:1,137:1}),w(Vy,"FParticle",309),b(250,309,{3:1,250:1,309:1,96:1,137:1},XPn),o.Ib=function(){var e;return this.a?(e=Hr(this.a.a,this,0))>=0?"b"+e+"["+v$(this.a)+"]":"b["+v$(this.a)+"]":"b_"+T0(this)},w(Vy,"FBendpoint",250),b(290,137,{3:1,290:1,96:1,137:1},HAn),o.Ib=function(){return v$(this)},w(Vy,"FEdge",290),b(235,137,{3:1,235:1,96:1,137:1},lT);var HYn,qYn,Fon,UYn,GYn,zYn,XYn,WYn,dNe=w(Vy,"FGraph",235);b(454,309,{3:1,454:1,309:1,96:1,137:1},ULn),o.Ib=function(){return null==this.b||0==this.b.length?"l["+v$(this.a)+"]":"l_"+this.b},w(Vy,"FLabel",454),b(153,309,{3:1,153:1,309:1,96:1,137:1},jTn),o.Ib=function(){return NJ(this)},o.a=0,w(Vy,"FNode",153),b(2100,1,{}),o.vf=function(e){rtn(this,e)},o.wf=function(){GRn(this)},o.d=0,w(win,"AbstractForceModel",2100),b(641,2100,{641:1},HFn),o.uf=function(e,t){var i,r,c,f;return pGn(this.f,e,t),c=gi(Bi(t.d),e.d),f=y.Math.sqrt(c.a*c.a+c.b*c.b),r=y.Math.max(0,f-o5(e.e)/2-o5(t.e)/2),lh(c,((i=nHn(this.e,e,t))>0?-function dwe(n,e){return n>0?y.Math.log(n/e):-100}(r,this.c)*i:function H1e(n,e){return n>0?e/(n*n):100*e}(r,this.b)*u(m(e,(Js(),Np)),17).a)/f),c},o.vf=function(e){rtn(this,e),this.a=u(m(e,(Js(),RP)),17).a,this.c=F(R(m(e,KP))),this.b=F(R(m(e,U_)))},o.xf=function(e){return e0?e*e/n:e*e*100}(r=y.Math.max(0,f-o5(e.e)/2-o5(t.e)/2),this.a)*u(m(e,(Js(),Np)),17).a,(i=nHn(this.e,e,t))>0&&(s-=function Qfe(n,e){return n*n/e}(r,this.a)*i),lh(c,s*this.b/f),c},o.vf=function(e){var t,i,r,c,s,f,h;for(rtn(this,e),this.b=F(R(m(e,(Js(),G_)))),this.c=this.b/u(m(e,RP),17).a,r=e.e.c.length,s=0,c=0,h=new C(e.e);h.a0},o.a=0,o.b=0,o.c=0,w(win,"FruchtermanReingoldModel",642),b(860,1,Es,x5n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,CS),""),"Force Model"),"Determines the model for force calculation."),Fon),(C1(),Tt)),xon),yn((Ef(),Fn))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,gin),""),"Iterations"),"The number of iterations on the force model."),Y(300)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,vin),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Y(0)),Zr),qi),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ER),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Mh),Ji),ui),yn(Fn)))),ti(e,ER,CS,WYn),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,CR),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),Ji),ui),yn(Fn)))),ti(e,CR,CS,GYn),uzn((new B5n,e))},w(p8,"ForceMetaDataProvider",860),b(432,22,{3:1,34:1,22:1,432:1},wX);var q_,BP,VYn,JYn,QYn,Bon,RP,Ron,YYn,ZYn,nZn,eZn,Kon,tZn,_on,Hon,iZn,Np,rZn,U_,qon,cZn,uZn,KP,G_,oZn,sZn,fZn,Uon,hZn,Aj,V8,$p,_P,lZn,aZn,Gon,dZn,bZn,wZn,HP,zon,Xon,Won,Von,Jon,gZn,vZn,pZn,mZn,Qon,kZn,xon=we(p8,"ForceModelStrategy",432,ke,function Nge(){return MT(),S(T(xon,1),G,432,0,[q_,BP])},function sde(n){return MT(),Ee((eDn(),VYn),n)});b(T1,1,Es,B5n),o.hf=function(e){uzn(e)},w(p8,"ForceOptions",T1),b(1001,1,{},Vbn),o.sf=function(){return new wz},o.tf=function(e){},w(p8,"ForceOptions/ForceFactory",1001),b(861,1,Es,R5n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,kin),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(Kn(),!1)),(C1(),mi)),qt),yn((Ef(),wi))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,yin),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),Ji),ui),pt(Fn,S(T(ol,1),G,170,0,[$h]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,jin),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),Gon),Tt),Yon),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Ein),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Mh),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Cin),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Y(nt)),Zr),qi),yn(Fn)))),NGn((new K5n,e))},w(p8,"StressMetaDataProvider",861),b(1004,1,Es,K5n),o.hf=function(e){NGn(e)},w(p8,"StressOptions",1004),b(1005,1,{},Xbn),o.sf=function(){return new qAn},o.tf=function(e){},w(p8,"StressOptions/StressFactory",1005),b(1110,205,Fd,qAn),o.rf=function(e,t){var r,c,s,f;for(t.Ug(IXn,1),on(un(z(e,(sy(),Von))))?on(un(z(e,Qon)))||lk(new o6((k0(),new a0(e)))):QHn(new wz,e,t.eh(1)),c=axn(e),f=(r=qUn(this.a,c)).Kc();f.Ob();)!((s=u(f.Pb(),235)).e.c.length<=1)&&(mIe(this.b,s),GCe(this.b),iu(s.d,new Wbn));dzn(c=izn(r)),t.Vg()},w(AS,"StressLayoutProvider",1110),b(1111,1,re,Wbn),o.Cd=function(e){atn(u(e,454))},w(AS,"StressLayoutProvider/lambda$0$Type",1111),b(1002,1,{},_yn),o.c=0,o.e=0,o.g=0,w(AS,"StressMajorization",1002),b(391,22,{3:1,34:1,22:1,391:1},fD);var z_,X_,W_,yZn,jZn,EZn,CZn,Yon=we(AS,"StressMajorization/Dimension",391,ke,function I2e(){return v5(),S(T(Yon,1),G,391,0,[X_,z_,W_])},function fde(n){return v5(),Ee((wNn(),yZn),n)});b(1003,1,Ne,_9n),o.Ne=function(e,t){return function xae(n,e,t){return at(n[e.a],n[t.a])}(this.a,u(e,153),u(t,153))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(AS,"StressMajorization/lambda$0$Type",1003),b(1192,1,{},VOn),w(Sp,"ElkLayered",1192),b(1193,1,re,H9n),o.Cd=function(e){!function kEe(n,e){var t;if((t=u(m(e,(cn(),o9)),322))!=n)throw M(new Cv("The hierarchy aware processor "+t+" in child node "+e+" is only allowed if the root node specifies the same hierarchical processor."))}(this.a,u(e,36))},w(Sp,"ElkLayered/lambda$0$Type",1193),b(1194,1,re,q9n),o.Cd=function(e){!function Bae(n,e){return U(e,(cn(),Kj),n)}(this.a,u(e,36))},w(Sp,"ElkLayered/lambda$1$Type",1194),b(1281,1,{},LTn),w(Sp,"GraphConfigurator",1281),b(770,1,re,ZG),o.Cd=function(e){r_n(this.a,u(e,10))},w(Sp,"GraphConfigurator/lambda$0$Type",770),b(771,1,{},hG),o.Kb=function(e){return enn(),new Mn(null,new Pn(u(e,30).a,16))},w(Sp,"GraphConfigurator/lambda$1$Type",771),b(772,1,re,nz),o.Cd=function(e){r_n(this.a,u(e,10))},w(Sp,"GraphConfigurator/lambda$2$Type",772),b(1109,205,Fd,Xyn),o.rf=function(e,t){var i;i=nIe(new Vyn,e),x(z(e,(cn(),Zw)))===x((Ll(),B1))?L5e(this.a,i,t):_Ce(this.a,i,t),t.$g()||JGn(new _5n,i)},w(Sp,"LayeredLayoutProvider",1109),b(367,22,{3:1,34:1,22:1,367:1},M7);var nf,rl,$c,Uc,Gr,MZn,TZn,AZn,Zon=we(Sp,"LayeredPhases",367,ke,function Npe(){return zi(),S(T(Zon,1),G,367,0,[nf,rl,$c,Uc,Gr])},function hde(n){return zi(),Ee((f$n(),MZn),n)});b(1717,1,{},uFn),o.i=0,w(ej,"ComponentsToCGraphTransformer",1717),b(1718,1,{},zbn),o.yf=function(e,t){return y.Math.min(null!=e.a?F(e.a):e.c.i,null!=t.a?F(t.a):t.c.i)},o.zf=function(e,t){return y.Math.min(null!=e.a?F(e.a):e.c.i,null!=t.a?F(t.a):t.c.i)},w(ej,"ComponentsToCGraphTransformer/1",1718),b(86,1,{86:1}),o.i=0,o.k=!0,o.o=fi;var J_,Q_,V_=w(j8,"CNode",86);b(470,86,{470:1,86:1},mW,PZ),o.Ib=function(){return""},w(ej,"ComponentsToCGraphTransformer/CRectNode",470),b(1688,1,{},Jbn),w(ej,"OneDimensionalComponentsCompaction",1688),b(1689,1,{},Qbn),o.Kb=function(e){return function y2e(n){return jF(),Kn(),0!=u(n.a,86).d.e}(u(e,42))},o.Fb=function(e){return this===e},w(ej,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),b(1690,1,{},Ybn),o.Kb=function(e){return function N5e(n){return jF(),Kn(),!!(CBn(u(n.a,86).j,u(n.b,88))||0!=u(n.a,86).d.e&&CBn(u(n.a,86).j,u(n.b,88)))}(u(e,42))},o.Fb=function(e){return this===e},w(ej,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),b(1720,1,{},tIn),w(j8,"CGraph",1720),b(194,1,{194:1},qF),o.b=0,o.c=0,o.e=0,o.g=!0,o.i=fi,w(j8,"CGroup",194),b(1719,1,{},Zbn),o.yf=function(e,t){return y.Math.max(null!=e.a?F(e.a):e.c.i,null!=t.a?F(t.a):t.c.i)},o.zf=function(e,t){return y.Math.max(null!=e.a?F(e.a):e.c.i,null!=t.a?F(t.a):t.c.i)},w(j8,rXn,1719),b(1721,1,{},tHn),o.d=!1;var SZn,Y_=w(j8,oXn,1721);b(1722,1,{},nwn),o.Kb=function(e){return tX(),Kn(),0!=u(u(e,42).a,86).d.e},o.Fb=function(e){return this===e},w(j8,sXn,1722),b(833,1,{},IV),o.a=!1,o.b=!1,o.c=!1,o.d=!1,w(j8,fXn,833),b(1898,1,{},pPn),w(SS,hXn,1898);var Sj=Ot(Bd,tXn);b(1899,1,{382:1},YIn),o.bf=function(e){!function VTe(n,e){var t,i,r;e.a?(ik(n.b,e.b),n.a[e.b.i]=u(nD(n.b,e.b),86),(t=u(ZL(n.b,e.b),86))&&(n.a[t.i]=e.b)):((i=u(nD(n.b,e.b),86))&&i==n.a[e.b.i]&&i.d&&i.d!=e.b.d&&i.f.Fc(e.b),(r=u(ZL(n.b,e.b),86))&&n.a[r.i]==e.b&&r.d&&r.d!=e.b.d&&e.b.f.Fc(r),XD(n.b,e.b))}(this,u(e,476))},w(SS,lXn,1899),b(Ea,1,Ne,ewn),o.Ne=function(e,t){return function rge(n,e){return at(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}(u(e,86),u(t,86))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(SS,aXn,Ea),b(476,1,{476:1},vX),o.a=!1,w(SS,dXn,476),b(1901,1,Ne,twn),o.Ne=function(e,t){return function cke(n,e){var t,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),0==(t=at(i,r))){if(!n.a&&e.a)return-1;if(!e.a&&n.a)return 1}return t}(u(e,476),u(t,476))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(SS,bXn,1901),b(148,1,{148:1},M3,dV),o.Fb=function(e){var t;return null!=e&&bNe==po(e)&&(t=u(e,148),jc(this.c,t.c)&&jc(this.d,t.d))},o.Hb=function(){return Wk(S(T(pi,1),xn,1,5,[this.c,this.d]))},o.Ib=function(){return"("+this.c+cr+this.d+(this.a?"cx":"")+this.b+")"},o.a=!0,o.c=0,o.d=0;var bNe=w(Bd,"Point",148);b(416,22,{3:1,34:1,22:1,416:1},IC);var mb,Uw,S2,Gw,IZn,OZn,LZn,DZn,NZn,$Zn,nsn,dt,PZn=we(Bd,"Point/Quadrant",416,ke,function qve(){return a4(),S(T(PZn,1),G,416,0,[mb,Gw,Uw,S2])},function lde(n){return a4(),Ee((INn(),IZn),n)});b(1708,1,{},Gyn),o.b=null,o.c=null,o.d=null,o.e=null,o.f=null,w(Bd,"RectilinearConvexHull",1708),b(583,1,{382:1},kA),o.bf=function(e){!function D3e(n,e){n.a.Ne(e.d,n.b)>0&&(nn(n.c,new dV(e.c,e.d,n.d)),n.b=e.d)}(this,u(e,148))},o.b=0,w(Bd,"RectilinearConvexHull/MaximalElementsEventHandler",583),b(1710,1,Ne,iwn),o.Ne=function(e,t){return function cge(n,e){return iX(),at((Jn(n),n),(Jn(e),e))}(R(e),R(t))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),b(1709,1,{382:1},j$n),o.bf=function(e){hTe(this,u(e,148))},o.a=0,o.b=null,o.c=null,o.d=null,o.e=null,w(Bd,"RectilinearConvexHull/RectangleEventHandler",1709),b(1711,1,Ne,rwn),o.Ne=function(e,t){return function dve(n,e){return p5(),n.c==e.c?at(e.d,n.d):at(n.c,e.c)}(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/lambda$0$Type",1711),b(1712,1,Ne,own),o.Ne=function(e,t){return function bve(n,e){return p5(),n.c==e.c?at(n.d,e.d):at(n.c,e.c)}(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/lambda$1$Type",1712),b(1713,1,Ne,swn),o.Ne=function(e,t){return function ave(n,e){return p5(),n.c==e.c?at(e.d,n.d):at(e.c,n.c)}(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/lambda$2$Type",1713),b(1714,1,Ne,uwn),o.Ne=function(e,t){return function wve(n,e){return p5(),n.c==e.c?at(n.d,e.d):at(e.c,n.c)}(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/lambda$3$Type",1714),b(1715,1,Ne,fwn),o.Ne=function(e,t){return zye(u(e,148),u(t,148))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Bd,"RectilinearConvexHull/lambda$4$Type",1715),b(1716,1,{},AOn),w(Bd,"Scanline",1716),b(2104,1,{}),w(Xf,"AbstractGraphPlacer",2104),b(335,1,{335:1},bAn),o.Ff=function(e){return!!this.Gf(e)&&(Sn(this.b,u(m(e,(V(),Ul)),21),e),!0)},o.Gf=function(e){var t,i,r;for(t=u(m(e,(V(),Ul)),21),r=u(ut(dt,t),21).Kc();r.Ob();)if(i=u(r.Pb(),21),!u(ut(this.b,i),15).dc())return!1;return!0},w(Xf,"ComponentGroup",335),b(779,2104,{},pz),o.Hf=function(e){var i;for(i=new C(this.a);i.ai?1:0}(u(e,36),u(t,36))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Xf,"ComponentsProcessor/lambda$0$Type",1283),b(579,335,{335:1,579:1},EDn),o.Ff=function(e){return IY(this,e)},o.Gf=function(e){return cqn(this,e)},w(Xf,"ModelOrderComponentGroup",579),b(1310,2104,{},lwn),o.Ef=function(e,t){var i,r,c,s,f,l,a,d,g,v;if(1!=e.gc()){if(e.dc())return t.a.c.length=0,t.f.a=0,void(t.f.b=0);for(this.Jf(e,t),c=u(e.Xb(0),36),t.a.c.length=0,qr(t,c),a=0,v=0,f=e.Kc();f.Ob();)s=u(f.Pb(),36),a=y.Math.max(a,(d=s.f).a),v+=d.a*d.b;if(a=y.Math.max(a,y.Math.sqrt(v)*F(R(m(t,(cn(),TI))))),r=F(R(m(t,Hj))),this.If(e,t,a,r),on(un(m(c,AI)))){for(Otn(i=new oL,e,r),l=e.Kc();l.Ob();)et(wf(u(l.Pb(),36).c),i.e);et(wf(t.f),i.a)}yQ(t,e)}else(g=u(e.Xb(0),36))!=t&&(t.a.c.length=0,lUn(t,g,0,0),qr(t,g),vJ(t.d,g.d),t.f.a=g.f.a,t.f.b=g.f.b)},o.If=function(e,t,i,r){var c,s,f,h,l,a,d,g;for(d=0,g=0,h=0,c=r,f=e.Kc();f.Ob();)d+(a=(s=u(f.Pb(),36)).f).a>i&&(d=0,g+=h+r,h=0),K4(s,d+(l=s.c).a,g+l.b),wf(l),c=y.Math.max(c,d+a.a),h=y.Math.max(h,a.b),d+=a.a+r;t.f.a=c,t.f.b=g+h},o.Jf=function(e,t){var i,r,c,s,f;if(x(m(t,(cn(),Yw)))===x((Sd(),zw))){for(r=e.Kc();r.Ob();){for(f=0,s=new C((i=u(r.Pb(),36)).a);s.ai&&!u(m(s,(V(),Ul)),21).Hc((en(),zn))||l&&u(m(l,(V(),Ul)),21).Hc((en(),Zn))||u(m(s,(V(),Ul)),21).Hc((en(),Wn)))&&(v=g,p+=h+r,h=0),a=s.c,u(m(s,(V(),Ul)),21).Hc((en(),zn))&&(v=c+r),K4(s,v+a.a,p+a.b),c=y.Math.max(c,v+d.a),u(m(s,Ul),21).Hc(ae)&&(g=y.Math.max(g,v+d.a+r)),wf(a),h=y.Math.max(h,d.b),v+=d.a+r,l=s;t.f.a=c,t.f.b=p+h},o.Jf=function(e,t){},w(Xf,"ModelOrderRowGraphPlacer",1313),b(1311,1,Ne,awn),o.Ne=function(e,t){return function Lme(n,e){var t;return 0==(t=e.p-n.p)?at(n.f.a*n.f.b,e.f.a*e.f.b):t}(u(e,36),u(t,36))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Xf,"SimpleRowGraphPlacer/1",1311),b(1280,1,Eh,dwn),o.Lb=function(e){var t;return!!(t=u(m(u(e,249).b,(cn(),Nr)),75))&&0!=t.b},o.Fb=function(e){return this===e},o.Mb=function(e){var t;return!!(t=u(m(u(e,249).b,(cn(),Nr)),75))&&0!=t.b},w(PS,"CompoundGraphPostprocessor/1",1280),b(1279,1,gt,Jyn),o.Kf=function(e,t){MRn(this,u(e,36),t)},w(PS,"CompoundGraphPreprocessor",1279),b(453,1,{453:1},wBn),o.c=!1,w(PS,"CompoundGraphPreprocessor/ExternalPort",453),b(249,1,{249:1},lM),o.Ib=function(){return YD(this.c)+":"+J_n(this.b)},w(PS,"CrossHierarchyEdge",249),b(777,1,Ne,ez),o.Ne=function(e,t){return function D7e(n,e,t){var i,r;return e.c==(wr(),nu)&&t.c==Vu?-1:e.c==Vu&&t.c==nu?1:(i=Gxn(e.a,n.a),r=Gxn(t.a,n.a),e.c==nu?r-i:i-r)}(this,u(e,249),u(t,249))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(PS,"CrossHierarchyEdgeComparator",777),b(305,137,{3:1,305:1,96:1,137:1}),o.p=0,w(Hc,"LGraphElement",305),b(18,305,{3:1,18:1,305:1,96:1,137:1},B0),o.Ib=function(){return J_n(this)};var eH=w(Hc,"LEdge",18);b(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},GQ),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new C(this.b)},o.Ib=function(){return 0==this.b.c.length?"G-unlayered"+pa(this.a):0==this.a.c.length?"G-layered"+pa(this.b):"G[layerless"+pa(this.a)+", layers"+pa(this.b)+"]"};var RZn,BZn=w(Hc,"LGraph",36);b(666,1,{}),o.Lf=function(){return this.e.n},o.of=function(e){return m(this.e,e)},o.Mf=function(){return this.e.o},o.Nf=function(){return this.e.p},o.pf=function(e){return vt(this.e,e)},o.Of=function(e){this.e.n.a=e.a,this.e.n.b=e.b},o.Pf=function(e){this.e.o.a=e.a,this.e.o.b=e.b},o.Qf=function(e){this.e.p=e},w(Hc,"LGraphAdapters/AbstractLShapeAdapter",666),b(474,1,{853:1},s6),o.Rf=function(){var e,t;if(!this.b)for(this.b=Kh(this.a.b.c.length),t=new C(this.a.b);t.a0&&zxn((Gn(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(s> ",e),IA(i)),Re(Fc((e.a+="[",e),i.i),"]")),e.a},o.c=!0,o.d=!1;var csn,iH,usn,rH,osn,ssn,HZn,qZn,_Zn=w(Hc,"LPort",12);b(408,1,Qh,d3),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new U9n(new C(this.a.e))},w(Hc,"LPort/1",408),b(1309,1,Ti,U9n),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return u(E(this.a),18).c},o.Ob=function(){return rc(this.a)},o.Qb=function(){r5(this.a)},w(Hc,"LPort/1/1",1309),b(369,1,Qh,vv),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new tz(new C(this.a.g))},w(Hc,"LPort/2",369),b(776,1,Ti,tz),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return u(E(this.a),18).d},o.Ob=function(){return rc(this.a)},o.Qb=function(){r5(this.a)},w(Hc,"LPort/2/1",776),b(1302,1,Qh,DCn),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new xf(this)},w(Hc,"LPort/CombineIter",1302),b(208,1,Ti,xf),o.Nb=function(e){Ri(this,e)},o.Qb=function(){lEn()},o.Ob=function(){return X6(this)},o.Pb=function(){return rc(this.a)?E(this.a):E(this.b)},w(Hc,"LPort/CombineIter/1",208),b(1303,1,Eh,wwn),o.Lb=function(e){return LPn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),0!=u(e,12).g.c.length},w(Hc,"LPort/lambda$0$Type",1303),b(1304,1,Eh,gwn),o.Lb=function(e){return DPn(e)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),0!=u(e,12).e.c.length},w(Hc,"LPort/lambda$1$Type",1304),b(1305,1,Eh,vwn),o.Lb=function(e){return Nu(),u(e,12).j==(en(),zn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),u(e,12).j==(en(),zn)},w(Hc,"LPort/lambda$2$Type",1305),b(1306,1,Eh,pwn),o.Lb=function(e){return Nu(),u(e,12).j==(en(),Zn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),u(e,12).j==(en(),Zn)},w(Hc,"LPort/lambda$3$Type",1306),b(1307,1,Eh,mwn),o.Lb=function(e){return Nu(),u(e,12).j==(en(),ae)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),u(e,12).j==(en(),ae)},w(Hc,"LPort/lambda$4$Type",1307),b(1308,1,Eh,kwn),o.Lb=function(e){return Nu(),u(e,12).j==(en(),Wn)},o.Fb=function(e){return this===e},o.Mb=function(e){return Nu(),u(e,12).j==(en(),Wn)},w(Hc,"LPort/lambda$5$Type",1308),b(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},xc),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new C(this.a)},o.Ib=function(){return"L_"+Hr(this.b.b,this,0)+pa(this.a)},w(Hc,"Layer",30),b(1330,1,{},Vyn),w(S1,KXn,1330),b(1334,1,{},ywn),o.Kb=function(e){return Ur(u(e,84))},w(S1,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),b(1337,1,{},jwn),o.Kb=function(e){return Ur(u(e,84))},w(S1,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),b(1331,1,re,G9n),o.Cd=function(e){dHn(this.a,u(e,123))},w(S1,bin,1331),b(1332,1,re,z9n),o.Cd=function(e){dHn(this.a,u(e,123))},w(S1,_Xn,1332),b(1333,1,{},Ewn),o.Kb=function(e){return new Mn(null,new Pn(aJ(u(e,74)),16))},w(S1,HXn,1333),b(1335,1,Le,X9n),o.Mb=function(e){return function Fle(n,e){return dw(e,Df(n))}(this.a,u(e,27))},w(S1,qXn,1335),b(1336,1,{},Cwn),o.Kb=function(e){return new Mn(null,new Pn(function Zwe(n){return!n.b&&(n.b=new Dn(he,n,4,7)),n.b}(u(e,74)),16))},w(S1,"ElkGraphImporter/lambda$5$Type",1336),b(1338,1,Le,W9n),o.Mb=function(e){return function xle(n,e){return dw(e,Df(n))}(this.a,u(e,27))},w(S1,"ElkGraphImporter/lambda$7$Type",1338),b(1339,1,Le,Mwn),o.Mb=function(e){return function dge(n){return tb(n)&&on(un(z(n,(cn(),Vd))))}(u(e,74))},w(S1,"ElkGraphImporter/lambda$8$Type",1339),b(1297,1,{},_5n),w(S1,"ElkGraphLayoutTransferrer",1297),b(1298,1,Le,V9n),o.Mb=function(e){return function Mae(n,e){return E7(),!f4(e.d.i,n)}(this.a,u(e,18))},w(S1,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),b(1299,1,re,J9n),o.Cd=function(e){E7(),nn(this.a,u(e,18))},w(S1,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),b(1300,1,Le,Q9n),o.Mb=function(e){return function hae(n,e){return E7(),f4(e.d.i,n)}(this.a,u(e,18))},w(S1,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),b(1301,1,re,Y9n),o.Cd=function(e){E7(),nn(this.a,u(e,18))},w(S1,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),b(819,1,{},HW),w(Qn,"BiLinkedHashMultiMap",819),b(1550,1,gt,Twn),o.Kf=function(e,t){!function Y4e(n,e){e.Ug(UXn,1),_t(uc(new Mn(null,new Pn(n.b,16)),new Awn),new Swn),e.Vg()}(u(e,36),t)},w(Qn,"CommentNodeMarginCalculator",1550),b(1551,1,{},Awn),o.Kb=function(e){return new Mn(null,new Pn(u(e,30).a,16))},w(Qn,"CommentNodeMarginCalculator/lambda$0$Type",1551),b(1552,1,re,Swn),o.Cd=function(e){!function YPe(n){var e,t,i,r,c,s,f,h,l,a,d,g;if(f=n.d,d=u(m(n,(V(),qp)),15),e=u(m(n,Bp),15),d||e){if(c=F(R(mw(n,(cn(),eq)))),s=F(R(mw(n,Bhn))),g=0,d){for(l=0,r=d.Kc();r.Ob();)i=u(r.Pb(),10),l=y.Math.max(l,i.o.b),g+=i.o.a;g+=c*(d.gc()-1),f.d+=l+s}if(t=0,e){for(l=0,r=e.Kc();r.Ob();)i=u(r.Pb(),10),l=y.Math.max(l,i.o.b),t+=i.o.a;t+=c*(e.gc()-1),f.a+=l+s}(h=y.Math.max(g,t))>n.o.a&&(f.b=y.Math.max(f.b,a=(h-n.o.a)/2),f.c=y.Math.max(f.c,a))}}(u(e,10))},w(Qn,"CommentNodeMarginCalculator/lambda$1$Type",1552),b(1553,1,gt,Pwn),o.Kf=function(e,t){!function tAe(n,e){var t,i,r,c,s,f,h;for(e.Ug("Comment post-processing",1),c=new C(n.b);c.a0&&gUn((Ln(0,t.c.length),u(t.c[0],30)),n),t.c.length>1&&gUn(u(sn(t,t.c.length-1),30),n),e.Vg()}(u(e,36),t)},w(Qn,"HierarchicalPortPositionProcessor",1582),b(1583,1,gt,H5n),o.Kf=function(e,t){!function cDe(n,e){var t,i,r,c,s,f,h,l,a,g,v,k,j,A,I,O,$,X,tn,jn,kn,Bn;for(n.b=e,n.a=u(m(e,(cn(),phn)),17).a,n.c=u(m(e,khn),17).a,0==n.c&&(n.c=nt),j=new Ni(e.b,0);j.b=n.a&&(i=RPe(n,I),a=y.Math.max(a,i.b),$=y.Math.max($,i.d),nn(f,new ai(I,i)));for(jn=new Z,l=0;l0),j.a.Xb(j.c=--j.b),nw(j,kn=new xc(n.b)),oe(j.b=2){for(k=!0,t=u(E(g=new C(c.j)),12),v=null;g.a0)}(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$2$Type",1643),b(1644,1,re,Vgn),o.Cd=function(e){!function Jme(n){var e;cb(n,!0),e=T1,vt(n,(cn(),Bm))&&(e+=u(m(n,Bm),17).a),U(n,Bm,Y(e))}(u(e,18))},w(Qn,"PartitionPreprocessor/lambda$3$Type",1644),b(1645,1,gt,Q5n),o.Kf=function(e,t){!function SSe(n,e){var i,r,c,s,f,h;for(e.Ug("Port order processing",1),h=u(m(n,(cn(),Fhn)),430),i=new C(n.b);i.ae.d.c){if((v=n.c[e.a.d])==(j=n.c[d.a.d]))continue;Vs(Rs(Bs(Ks(xs(new ws,1),100),v),j))}}}(this),function UMe(n){var e,t,i,r,c,s,f;for(c=new yt,r=new C(n.d.a);r.a1)for(e=M0((t=new od,++n.b,t),n.d),f=ge(c,0);f.b!=f.d.c;)s=u(be(f),125),Vs(Rs(Bs(Ks(xs(new ws,1),0),e),s))}(this),Zx(sN(this.d),new yv),c=new C(this.a.a.b);c.a=j&&(nn(s,Y(d)),O=y.Math.max(O,$[d-1]-g),h+=k,A+=$[d-1]-A,g=$[d-1],k=l[d]),k=y.Math.max(k,l[d]),++d;h+=k}(p=y.Math.min(1/O,1/t.b/h))>r&&(r=p,i=s)}return i},o.pg=function(){return!1},w(Ah,"MSDCutIndexHeuristic",816),b(1683,1,gt,qvn),o.Kf=function(e,t){DPe(u(e,36),t)},w(Ah,"SingleEdgeGraphWrapper",1683),b(232,22,{3:1,34:1,22:1,232:1},I6);var O2,Mm,Tm,Vw,Q8,L2,wne,Am=we(Ic,"CenterEdgeLabelPlacementStrategy",232,ke,function p3e(){return ap(),S(T(Am,1),G,232,0,[Tm,Q8,Mm,Vw,L2,O2])},function kde(n){return ap(),Ee(($$n(),wne),n)});b(431,22,{3:1,34:1,22:1,431:1},pX);var Xsn,kH,gne,Wsn=we(Ic,"ConstraintCalculationStrategy",431,ke,function Bge(){return gT(),S(T(Wsn,1),G,431,0,[Xsn,kH])},function yde(n){return gT(),Ee((sDn(),gne),n)});b(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},lD),o.dg=function(){return q_n(this)},o.qg=function(){return q_n(this)};var Dj,Y8,Vsn,vne,Jsn=we(Ic,"CrossingMinimizationStrategy",322,ke,function L2e(){return k5(),S(T(Jsn,1),G,322,0,[Y8,Dj,Vsn])},function jde(n){return k5(),Ee((UDn(),vne),n)});b(351,22,{3:1,34:1,22:1,351:1},aD);var Qsn,yH,dI,pne,Ysn=we(Ic,"CuttingStrategy",351,ke,function D2e(){return DT(),S(T(Ysn,1),G,351,0,[Qsn,dI,yH])},function Ede(n){return DT(),Ee((GDn(),pne),n)});b(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},A7),o.dg=function(){return DHn(this)},o.qg=function(){return DHn(this)};var Zsn,jH,Sm,EH,Pm,mne,nfn=we(Ic,"CycleBreakingStrategy",348,ke,function Fpe(){return k1(),S(T(nfn,1),G,348,0,[jH,Zsn,EH,Pm,Sm])},function Cde(n){return k1(),Ee((l$n(),mne),n)});b(428,22,{3:1,34:1,22:1,428:1},mX);var bI,efn,kne,tfn=we(Ic,"DirectionCongruency",428,ke,function xge(){return Dk(),S(T(tfn,1),G,428,0,[bI,efn])},function Mde(n){return Dk(),Ee((rDn(),kne),n)});b(460,22,{3:1,34:1,22:1,460:1},dD);var Im,CH,D2,jne,yne=we(Ic,"EdgeConstraint",460,ke,function N2e(){return Md(),S(T(yne,1),G,460,0,[CH,Im,D2])},function Lde(n){return Md(),Ee((XDn(),jne),n)});b(283,22,{3:1,34:1,22:1,283:1},O6);var MH,TH,AH,SH,wI,PH,Ene,ifn=we(Ic,"EdgeLabelSideSelection",283,ke,function w3e(){return BA(),S(T(ifn,1),G,283,0,[TH,MH,SH,AH,PH,wI])},function Dde(n){return BA(),Ee((F$n(),Ene),n)});b(488,22,{3:1,34:1,22:1,488:1},kX);var gI,rfn,Cne,cfn=we(Ic,"EdgeStraighteningStrategy",488,ke,function Gge(){return Tk(),S(T(cfn,1),G,488,0,[rfn,gI])},function Nde(n){return Tk(),Ee((cDn(),Cne),n)});b(281,22,{3:1,34:1,22:1,281:1},L6);var IH,ufn,ofn,vI,sfn,ffn,Mne,hfn=we(Ic,"FixedAlignment",281,ke,function g3e(){return ay(),S(T(hfn,1),G,281,0,[vI,ofn,ffn,ufn,sfn,IH])},function Ode(n){return ay(),Ee((x$n(),Mne),n)});b(282,22,{3:1,34:1,22:1,282:1},D6);var lfn,afn,dfn,bfn,Z8,wfn,Tne,gfn=we(Ic,"GraphCompactionStrategy",282,ke,function v3e(){return N4(),S(T(gfn,1),G,282,0,[Z8,afn,wfn,bfn,dfn,lfn])},function Tde(n){return N4(),Ee((B$n(),Tne),n)});b(259,22,{3:1,34:1,22:1,259:1},Xb);var Om,pI,Lm,fs,n9,mI,Dm,N2,kI,e9,Ane,OH=we(Ic,"GraphProperties",259,ke,function eme(){return gr(),S(T(OH,1),G,259,0,[pI,fs,n9,mI,Dm,N2,e9,Om,Lm,kI])},function Ade(n){return gr(),Ee((wxn(),Ane),n)});b(299,22,{3:1,34:1,22:1,299:1},bD);var Nj,LH,DH,Sne,NH=we(Ic,"GreedySwitchType",299,ke,function $2e(){return l4(),S(T(NH,1),G,299,0,[LH,DH,Nj])},function Sde(n){return l4(),Ee((WDn(),Sne),n)});b(311,22,{3:1,34:1,22:1,311:1},wD);var xp,$j,$2,Ine,Pne=we(Ic,"InLayerConstraint",311,ke,function F2e(){return Pl(),S(T(Pne,1),G,311,0,[$j,$2,xp])},function Pde(n){return Pl(),Ee((VDn(),Ine),n)});b(429,22,{3:1,34:1,22:1,429:1},yX);var $H,vfn,One,mfn,Bp,jb,yI,kfn,yfn,jI,jfn,Fj,EI,t9,Rp,Ul,FH,CI,mc,Efn,Da,zc,xH,BH,xj,zd,Eb,Kp,Cfn,_p,Bj,Jw,Af,Ss,RH,F2,lt,ot,Mfn,Tfn,Afn,Sfn,Pfn,KH,MI,Wu,Cb,_H,Hp,i9,Qf,x2,Mb,B2,R2,Nm,Xd,Ifn,HH,qH,qp,pfn=we(Ic,"InteractiveReferencePoint",429,ke,function Fge(){return cT(),S(T(pfn,1),G,429,0,[$H,vfn])},function Ide(n){return cT(),Ee((iDn(),One),n)});b(171,22,{3:1,34:1,22:1,171:1},S7);var r9,Na,c9,Qw,Rj,Lne,Dne,Nne,$ne,Lfn,Fne,Dfn,xne,Nfn,Bne,Rne,Kne,$fn,_ne,Hne,qne,Ffn,Une,Gne,zne,xfn,Xne,Wne,Vne,Bfn,Jne,Qne,Yne,Zne,nee,eee,tee,iee,ree,cee,Rfn,uee,Kfn,oee,_fn,see,Hfn,fee,qfn,hee,lee,aee,Ufn,dee,Gfn,bee,zfn,wee,gee,vee,pee,mee,kee,yee,jee,Eee,Cee,Xfn,Mee,Tee,Aee,See,Pee,Iee,Wfn,Oee,Lee,Dee,Nee,$ee,Fee,xee,Vfn,Bee,Jfn,Ree,Kee,_ee,Qfn,Hee,qee,Yfn,Uee,Gee,zee,Xee,Wee,Vee,Jee,Qee,Zfn,Yee,Zee,nte,nhn,ete,ehn,tte,ite,rte,cte,ute,ote,ste,fte,hte,lte,ate,dte,bte,wte,gte,vte,pte,mte,thn,kte,yte,ihn,jte,Ete,Cte,Mte,Tte,Ate,Ste,Pte,Ite,rhn,Ote,Lte,Dte,Nte,chn,$te,Fte,Lh,UH,TI,u9,AI,uhn,SI,Yw,PI,ohn,shn,II,GH,ul,zH,Tb,fhn,Kj,XH,hhn,xte,Bte,Rte,OI,WH,o9,Wd,Kte,$o,lhn,ahn,LI,VH,Dh,DI,Gl,dhn,bhn,whn,JH,QH,ghn,O1,YH,vhn,Zw,phn,mhn,khn,NI,ng,Vd,yhn,jhn,Nr,Ehn,_te,hu,$I,Chn,Mhn,Thn,$a,Jd,FI,Ahn,Shn,xI,Ab,Phn,ZH,s9,Ihn,Sb,f9,BI,Qd,nq,$m,RI,Yd,Ohn,Lhn,Dhn,Fm,Nhn,Hte,qte,Ute,Gte,Pb,eg,Kt,L1,zte,tg,$hn,xm,Fhn,ig,Xte,Bm,xhn,Up,Wte,Vte,_j,eq,Bhn,Hj,ef,K2,_2,Ib,Zd,KI,rg,tq,Rm,Km,Ob,H2,iq,qj,h9,l9,Jte,Qte,Yte,Rhn,Zte,rq,Khn,_hn,Hhn,qhn,cq,Uhn,Ghn,zhn,Xhn,uq,_I,nie,HI,eie,Ofn=we(Ic,"LayerConstraint",171,ke,function Bpe(){return ts(),S(T(Ofn,1),G,171,0,[Rj,r9,Na,c9,Qw])},function $de(n){return ts(),Ee((d$n(),Lne),n)});b(859,1,Es,r8n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Pin),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),_fn),(C1(),Tt)),tfn),yn((Ef(),Fn))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Iin),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(Kn(),!1)),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,IS),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Xfn),Tt),pfn),yn(Fn)))),ti(e,IS,DR,Tee),ti(e,IS,C8,Mee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Oin),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Lin),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),mi),qt),yn(Fn)))),mn(e,new ln(function Ahe(n,e){return n.f=e,n}(vn(gn(pn(An(an(wn(dn(bn(new hn,Din),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),mi),qt),yn(e0)),S(T(fn,1),J,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Nin),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),ehn),Tt),hln),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,$in),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),Y(7)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Fin),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,xin),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,DR),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),Kfn),Tt),nfn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,rj),iK),"Node Layering Strategy"),"Strategy for node layering."),Jfn),Tt),Yhn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Bin),iK),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Wfn),Tt),Ofn),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Rin),iK),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Kin),iK),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Y(-1)),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,NR),nWn),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Y(4)),Zr),qi),yn(Fn)))),ti(e,NR,rj,Dee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,$R),nWn),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Y(2)),Zr),qi),yn(Fn)))),ti(e,$R,rj,$ee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,FR),eWn),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Vfn),Tt),oln),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,xR),eWn),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Y(0)),Zr),qi),yn(Fn)))),ti(e,xR,FR,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,BR),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Y(nt)),Zr),qi),yn(Fn)))),ti(e,BR,rj,See),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,C8),om),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),Rfn),Tt),Jsn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_in),om),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,RR),om),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),Ji),ui),yn(Fn)))),ti(e,RR,qS,Yne),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,KR),om),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),mi),qt),yn(Fn)))),ti(e,KR,C8,ree),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Hin),om),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),J2),fn),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,qin),om),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),J2),fn),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Uin),om),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Gin),om),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Y(-1)),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,zin),tWn),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Y(40)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_R),tWn),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),Bfn),Tt),NH),yn(Fn)))),ti(e,_R,C8,Jne),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,OS),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),xfn),Tt),NH),yn(Fn)))),ti(e,OS,C8,Xne),ti(e,OS,qS,Wne),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,k2),iWn),"Node Placement Strategy"),"Strategy for node placement."),nhn),Tt),tln),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,LS),iWn),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),mi),qt),yn(Fn)))),ti(e,LS,k2,zee),ti(e,LS,k2,Xee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,HR),rWn),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),Qfn),Tt),cfn),yn(Fn)))),ti(e,HR,k2,Hee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,qR),rWn),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),Yfn),Tt),hfn),yn(Fn)))),ti(e,qR,k2,Uee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,UR),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),Ji),ui),yn(Fn)))),ti(e,UR,k2,Vee),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,GR),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),Tt),lq),yn(wi)))),ti(e,GR,k2,Zee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,zR),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Zfn),Tt),lq),yn(Fn)))),ti(e,zR,k2,Yee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Xin),cWn),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Ufn),Tt),dln),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Win),cWn),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Gfn),Tt),bln),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,DS),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),zfn),Tt),gln),yn(Fn)))),ti(e,DS,cj,wee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,NS),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),Ji),ui),yn(Fn)))),ti(e,NS,cj,vee),ti(e,NS,DS,pee),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,XR),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),Ji),ui),yn(Fn)))),ti(e,XR,cj,lee),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Vin),Wf),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Jin),Wf),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Qin),Wf),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Yin),Wf),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Zin),frn),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Y(0)),Zr),qi),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,nrn),frn),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Y(0)),Zr),qi),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ern),frn),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Y(0)),Zr),qi),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,WR),hrn),jXn),"Tries to further compact components (disconnected sub-graphs)."),!1),mi),qt),yn(Fn)))),ti(e,WR,m8,!0),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,trn),uWn),"Post Compaction Strategy"),oWn),Dfn),Tt),gfn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,irn),uWn),"Post Compaction Constraint Calculation"),oWn),Lfn),Tt),Wsn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,$S),lrn),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,VR),lrn),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Y(16)),Zr),qi),yn(Fn)))),ti(e,VR,$S,!0),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,JR),lrn),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Y(5)),Zr),qi),yn(Fn)))),ti(e,JR,$S,!0),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_l),arn),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),rhn),Tt),kln),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,FS),arn),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),Ji),ui),yn(Fn)))),ti(e,FS,_l,ate),ti(e,FS,_l,dte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,xS),arn),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),Ji),ui),yn(Fn)))),ti(e,xS,_l,wte),ti(e,xS,_l,gte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,M8),sWn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),ihn),Tt),Ysn),yn(Fn)))),ti(e,M8,_l,jte),ti(e,M8,_l,Ete),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,QR),sWn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Zf),ss),yn(Fn)))),ti(e,QR,M8,pte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,YR),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),thn),Zr),qi),yn(Fn)))),ti(e,YR,M8,kte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,BS),fWn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),chn),Tt),mln),yn(Fn)))),ti(e,BS,_l,$te),ti(e,BS,_l,Fte),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,RS),fWn),"Valid Indices for Wrapping"),null),Zf),ss),yn(Fn)))),ti(e,RS,_l,Lte),ti(e,RS,_l,Dte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,KS),drn),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),mi),qt),yn(Fn)))),ti(e,KS,_l,Ate),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_S),drn),"Distance Penalty When Improving Cuts"),null),2),Ji),ui),yn(Fn)))),ti(e,_S,_l,Mte),ti(e,_S,KS,!0),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ZR),drn),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),mi),qt),yn(Fn)))),ti(e,ZR,_l,Pte),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,rrn),rK),"Edge Label Side Selection"),"Method to decide on edge label sides."),qfn),Tt),ifn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,crn),rK),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Hfn),Tt),Am),pt(Fn,S(T(ol,1),G,170,0,[F1]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,HS),T8),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),Ffn),Tt),fln),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,urn),T8),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,orn),T8),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,nK),T8),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Nfn),Tt),tsn),yn(Fn)))),ti(e,nK,m8,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,srn),T8),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),$fn),Tt),nln),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,eK),T8),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),Ji),ui),yn(Fn)))),ti(e,eK,HS,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,tK),T8),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),Ji),ui),yn(Fn)))),ti(e,tK,HS,null),Azn((new c8n,e))},w(Ic,"LayeredMetaDataProvider",859),b(998,1,Es,c8n),o.hf=function(e){Azn(e)},w(Ic,"LayeredOptions",998),b(999,1,{},Uvn),o.sf=function(){return new Xyn},o.tf=function(e){},w(Ic,"LayeredOptions/LayeredFactory",999),b(1391,1,{}),o.a=0,w(gc,"ElkSpacings/AbstractSpacingsBuilder",1391),b(792,1391,{},wZ),w(Ic,"LayeredSpacings/LayeredSpacingsBuilder",792),b(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},Sg),o.dg=function(){return Hqn(this)},o.qg=function(){return Hqn(this)};var _m,oq,Hm,Whn,Vhn,Jhn,qI,sq,Qhn,tie,Yhn=we(Ic,"LayeringStrategy",265,ke,function O4e(){return M1(),S(T(Yhn,1),G,265,0,[sq,Vhn,Jhn,oq,Whn,Qhn,qI,_m,Hm])},function Fde(n){return M1(),Ee((JFn(),tie),n)});b(390,22,{3:1,34:1,22:1,390:1},gD);var fq,Zhn,UI,iie,nln=we(Ic,"LongEdgeOrderingStrategy",390,ke,function x2e(){return I5(),S(T(nln,1),G,390,0,[fq,Zhn,UI])},function xde(n){return I5(),Ee((JDn(),iie),n)});b(203,22,{3:1,34:1,22:1,203:1},NC);var q2,U2,GI,hq,rie,lq=we(Ic,"NodeFlexibility",203,ke,function zve(){return kw(),S(T(lq,1),G,203,0,[GI,hq,U2,q2])},function Bde(n){return kw(),Ee((DNn(),rie),n)});b(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},P7),o.dg=function(){return LHn(this)},o.qg=function(){return LHn(this)};var a9,aq,dq,d9,eln,cie,tln=we(Ic,"NodePlacementStrategy",323,ke,function xpe(){return K5(),S(T(tln,1),G,323,0,[eln,aq,dq,a9,d9])},function Rde(n){return K5(),Ee((a$n(),cie),n)});b(243,22,{3:1,34:1,22:1,243:1},Wb);var iln,Lb,cg,Uj,rln,cln,Gj,uln,zI,XI,uie,oln=we(Ic,"NodePromotionStrategy",243,ke,function tme(){return js(),S(T(oln,1),G,243,0,[zI,Uj,Gj,rln,cln,iln,uln,XI,Lb,cg])},function Kde(n){return js(),Ee((gxn(),uie),n)});b(284,22,{3:1,34:1,22:1,284:1},$C);var sln,D1,bq,wq,oie,fln=we(Ic,"OrderingStrategy",284,ke,function Xve(){return vh(),S(T(fln,1),G,284,0,[D1,sln,bq,wq])},function _de(n){return vh(),Ee((NNn(),oie),n)});b(430,22,{3:1,34:1,22:1,430:1},jX);var gq,vq,sie,hln=we(Ic,"PortSortingStrategy",430,ke,function Rge(){return Ok(),S(T(hln,1),G,430,0,[gq,vq])},function Hde(n){return Ok(),Ee((uDn(),sie),n)});b(463,22,{3:1,34:1,22:1,463:1},vD);var Vu,nu,b9,hie,fie=we(Ic,"PortType",463,ke,function B2e(){return wr(),S(T(fie,1),G,463,0,[b9,Vu,nu])},function qde(n){return wr(),Ee((ZDn(),hie),n)});b(387,22,{3:1,34:1,22:1,387:1},pD);var lln,pq,aln,lie,dln=we(Ic,"SelfLoopDistributionStrategy",387,ke,function R2e(){return XT(),S(T(dln,1),G,387,0,[lln,pq,aln])},function Ude(n){return XT(),Ee((QDn(),lie),n)});b(349,22,{3:1,34:1,22:1,349:1},mD);var mq,zj,kq,aie,bln=we(Ic,"SelfLoopOrderingStrategy",349,ke,function K2e(){return A5(),S(T(bln,1),G,349,0,[kq,mq,zj])},function Gde(n){return A5(),Ee((YDn(),aie),n)});b(312,1,{312:1},CGn),w(Ic,"Spacings",312),b(350,22,{3:1,34:1,22:1,350:1},kD);var yq,wln,w9,die,gln=we(Ic,"SplineRoutingMode",350,ke,function _2e(){return m4(),S(T(gln,1),G,350,0,[yq,wln,w9])},function zde(n){return m4(),Ee((nNn(),die),n)});b(352,22,{3:1,34:1,22:1,352:1},yD);var jq,vln,pln,bie,mln=we(Ic,"ValidifyStrategy",352,ke,function H2e(){return LT(),S(T(mln,1),G,352,0,[pln,jq,vln])},function Xde(n){return LT(),Ee((eNn(),bie),n)});b(388,22,{3:1,34:1,22:1,388:1},jD);var ug,Eq,qm,wie,gie,vie,pie,mie,kie,yie,jie,Eie,Cie,yln,jln,Mie,kln=we(Ic,"WrappingStrategy",388,ke,function q2e(){return QT(),S(T(kln,1),G,388,0,[Eq,qm,ug])},function Wde(n){return QT(),Ee((tNn(),wie),n)});b(1398,1,pr,J5n),o.rg=function(e){return u(e,36),gie},o.Kf=function(e,t){!function TIe(n,e,t){var r,c,s,h,l,a,d,v;for(t.Ug("Depth-first cycle removal",1),a=(d=e.a).c.length,n.c=new Z,n.d=K(fo,el,28,a,16,1),n.a=K(fo,el,28,a,16,1),n.b=new Z,s=0,l=new C(d);l.a0?te+1:1);for(s=new C(X.g);s.a0?te+1:1)}0==n.c[l]?xe(n.e,k):0==n.a[l]&&xe(n.f,k),++l}for(p=-1,v=1,d=new Z,n.d=u(m(e,(V(),Hp)),234);Ko>0;){for(;0!=n.e.b;)It=u(bN(n.e),10),n.b[It.p]=p--,Zen(n,It),--Ko;for(;0!=n.f.b;)Zu=u(bN(n.f),10),n.b[Zu.p]=v++,Zen(n,Zu),--Ko;if(Ko>0){for(g=Xi,I=new C(O);I.a=g&&($>g&&(d.c.length=0,g=$),Rn(d.c,k));a=n.sg(d),n.b[a.p]=v++,Zen(n,a),--Ko}}for(Fe=O.c.length+1,l=0;ln.b[(i=r[c]).d.i.p]&&(cb(i,!0),U(e,Fj,(Kn(),!0)));n.a=null,n.c=null,n.b=null,jo(n.f),jo(n.e),t.Vg()}(this,u(e,36),t)},o.sg=function(e){return u(sn(e,CA(this.d,e.c.length)),10)},w(XS,"GreedyCycleBreaker",793),b(1401,793,pr,qMn),o.sg=function(e){var t,i,r,c;for(c=null,t=nt,r=new C(e);r.a0&&v_n(n,f,d);for(r=new C(d);r.a0){for(O=ge(n.f,0);O.b!=O.d.c;)u(be(O),10).p+=g-n.e;_nn(n),jo(n.f),Fen(n,i,v)}else{for(xe(n.f,v),v.p=i,n.e=y.Math.max(n.e,i),c=new ie(ce(ki(v).a.Kc(),new Vn));ve(c);)!(r=u(fe(c),18)).c.i.c&&r.c.i.k==(Xn(),Oc)&&(xe(n.f,r.c.i),r.c.i.p=i-1);n.c=i}else _nn(n),jo(n.f),i=0,ve(new ie(ce(ki(v).a.Kc(),new Vn)))?Fen(n,i=(g=yRn(g=0,v))+2,v):(xe(n.f,v),v.p=0,n.e=y.Math.max(n.e,0),n.b=u(sn(n.d.b,0),30),n.c=0);for(0==n.f.b||_nn(n),n.d.a.c.length=0,A=new Z,l=new C(n.d.b);l.a=f){oe(I.b>0),I.a.Xb(I.c=--I.b);break}j.a>h&&(i?(si(i.b,j.b),i.a=y.Math.max(i.a,j.a),vo(I)):(nn(j.b,a),j.c=y.Math.min(j.c,h),j.a=y.Math.max(j.a,f),i=j))}i||((i=new Qyn).c=h,i.a=f,nw(I,i),nn(i.b,a))}for(s=n.b,l=0,A=new C(t);A.ae.p?-1:0}(u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Hl,"StretchWidthLayerer/1",1409),b(413,1,Wrn),o.gg=function(e,t,i,r,c,s){},o.ug=function(e,t,i){return wUn(this,e,t,i)},o.fg=function(){this.g=K(kg,lWn,28,this.d,15,1),this.f=K(kg,lWn,28,this.d,15,1)},o.hg=function(e,t){this.e[e]=K(ye,_e,28,t[e].length,15,1)},o.ig=function(e,t,i){i[e][t].p=t,this.e[e][t]=t},o.jg=function(e,t,i,r){u(sn(r[e][t].j,i),12).p=this.d++},o.b=0,o.c=0,o.d=0,w(xu,"AbstractBarycenterPortDistributor",413),b(1698,1,Ne,x7n),o.Ne=function(e,t){return function Q8e(n,e,t){var i,r,c,s;return(c=e.j)!=(s=t.j)?c.g-s.g:(r=n.f[t.p],0==(i=n.f[e.p])&&0==r?0:0==i?-1:0==r?1:at(i,r))}(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(xu,"AbstractBarycenterPortDistributor/lambda$0$Type",1698),b(832,1,ij,KJ),o.gg=function(e,t,i,r,c,s){},o.ig=function(e,t,i){},o.jg=function(e,t,i,r){},o.eg=function(){return!1},o.fg=function(){this.c=this.e.a,this.g=this.f.g},o.hg=function(e,t){t[e][0].c.p=e},o.kg=function(){return!1},o.vg=function(e,t,i,r){i?pKn(this,e):(jKn(this,e,r),xGn(this,e,t)),e.c.length>1&&(on(un(m(Ki((Ln(0,e.c.length),u(e.c[0],10))),(cn(),Tb))))?GHn(e,this.d,u(this,669)):(On(),Jt(e,this.d)),zFn(this.e,e))},o.lg=function(e,t,i,r){var f,h,l,a,d;for(t!=fPn(i,e.length)&&hQ(this.f,e[t-(i?1:-1)],i?(wr(),nu):(wr(),Vu)),d=!r||e[t][0].k==(Xn(),Qt),a=Ff(e[t]),this.vg(a,d,!1,i),f=0,l=new C(a);l.a"),e0?t$(this.a,e[t-1],e[t]):!i&&t0&&(t+=h.n.a+h.o.a/2,++d),p=new C(h.j);p.a0&&(t/=d),A=K(Ai,Mr,28,i.a.c.length,15,1),f=0,l=new C(i.a);l.a1&&(on(un(m(Ki((Ln(0,e.c.length),u(e.c[0],10))),(cn(),Tb))))?GHn(e,this.d,this):(On(),Jt(e,this.d)),on(un(m(Ki((Ln(0,e.c.length),u(e.c[0],10))),Tb)))||zFn(this.e,e))},w(xu,"ModelOrderBarycenterHeuristic",669),b(1866,1,Ne,z7n),o.Ne=function(e,t){return Tje(this.a,u(e,10),u(t,10))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(xu,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),b(1423,1,pr,o8n),o.rg=function(e){var t;return u(e,36),Ke(t=QC(Die),(zi(),$c),(nr(),tI)),t},o.Kf=function(e,t){!function fge(n){n.Ug("No crossing minimization",1),n.Vg()}((u(e,36),t))},w(xu,"NoCrossingMinimizer",1423),b(809,413,Wrn,Gz),o.tg=function(e,t,i){var r,c,s,f,h,l,a,d,g,v,p;switch(g=this.g,i.g){case 1:for(c=0,s=0,d=new C(e.j);d.a1&&(c.j==(en(),Zn)?this.b[e]=!0:c.j==Wn&&e>0&&(this.b[e-1]=!0))},o.f=0,w(tl,"AllCrossingsCounter",1861),b(595,1,{},HT),o.b=0,o.d=0,w(tl,"BinaryIndexedTree",595),b(532,1,{},J7),w(tl,"CrossingsCounter",532),b(1950,1,Ne,X7n),o.Ne=function(e,t){return function $be(n,e,t){return Tc(n.d[e.p],n.d[t.p])}(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tl,"CrossingsCounter/lambda$0$Type",1950),b(1951,1,Ne,W7n),o.Ne=function(e,t){return function Fbe(n,e,t){return Tc(n.d[e.p],n.d[t.p])}(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tl,"CrossingsCounter/lambda$1$Type",1951),b(1952,1,Ne,V7n),o.Ne=function(e,t){return function xbe(n,e,t){return Tc(n.d[e.p],n.d[t.p])}(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tl,"CrossingsCounter/lambda$2$Type",1952),b(1953,1,Ne,J7n),o.Ne=function(e,t){return function Bbe(n,e,t){return Tc(n.d[e.p],n.d[t.p])}(this.a,u(e,12),u(t,12))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(tl,"CrossingsCounter/lambda$3$Type",1953),b(1954,1,re,Q7n),o.Cd=function(e){!function B3e(n,e){return L3(),nn(n,new ai(e,Y(e.e.c.length+e.g.c.length)))}(this.a,u(e,12))},w(tl,"CrossingsCounter/lambda$4$Type",1954),b(1955,1,Le,Y7n),o.Mb=function(e){return function fle(n,e){return L3(),e!=n}(this.a,u(e,12))},w(tl,"CrossingsCounter/lambda$5$Type",1955),b(1956,1,re,Z7n),o.Cd=function(e){NMn(this,e)},w(tl,"CrossingsCounter/lambda$6$Type",1956),b(1957,1,re,GCn),o.Cd=function(e){var t;L3(),sa(this.b,(t=this.a,u(e,12),t))},w(tl,"CrossingsCounter/lambda$7$Type",1957),b(839,1,Eh,kG),o.Lb=function(e){return L3(),vt(u(e,12),(V(),Wu))},o.Fb=function(e){return this===e},o.Mb=function(e){return L3(),vt(u(e,12),(V(),Wu))},w(tl,"CrossingsCounter/lambda$8$Type",839),b(1949,1,{},nkn),w(tl,"HyperedgeCrossingsCounter",1949),b(478,1,{34:1,478:1},WAn),o.Fd=function(e){return function x8e(n,e){return n.ee.e?1:n.fe.f?1:wt(n)-wt(e)}(this,u(e,478))},o.b=0,o.c=0,o.e=0,o.f=0;var vNe=w(tl,"HyperedgeCrossingsCounter/Hyperedge",478);b(374,1,{34:1,374:1},qM),o.Fd=function(e){return function QCe(n,e){return n.ce.c?1:n.be.b?1:n.a!=e.a?wt(n.a)-wt(e.a):n.d==(b5(),p9)&&e.d==v9?-1:n.d==v9&&e.d==p9?1:0}(this,u(e,374))},o.b=0,o.c=0;var Nie=w(tl,"HyperedgeCrossingsCounter/HyperedgeCorner",374);b(531,22,{3:1,34:1,22:1,531:1},EX);var v9,p9,Fie,xie,Bie,JI,QI,$ie=we(tl,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,ke,function Kge(){return b5(),S(T($ie,1),G,531,0,[p9,v9])},function Jde(n){return b5(),Ee((oDn(),Fie),n)});b(1425,1,pr,s8n),o.rg=function(e){return u(m(u(e,36),(V(),zc)),21).Hc((gr(),fs))?xie:null},o.Kf=function(e,t){!function ske(n,e,t){var r;for(t.Ug("Interactive node placement",1),n.a=u(m(e,(V(),B2)),312),r=new C(e.b);r.a1},w(mr,"NetworkSimplexPlacer/lambda$18$Type",1451),b(1452,1,re,AIn),o.Cd=function(e){!function c8e(n,e,t,i,r){Eo(),Vs(Rs(Bs(xs(Ks(new ws,0),r.d.e-n),e),r.d)),Vs(Rs(Bs(xs(Ks(new ws,0),t-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,u(e,412))},o.c=0,o.d=0,w(mr,"NetworkSimplexPlacer/lambda$19$Type",1452),b(1435,1,{},lpn),o.Kb=function(e){return Eo(),new Mn(null,new Pn(u(e,30).a,16))},w(mr,"NetworkSimplexPlacer/lambda$2$Type",1435),b(1453,1,re,rkn),o.Cd=function(e){!function t1e(n,e){return Eo(),e.n.b+=n}(this.a,u(e,12))},o.a=0,w(mr,"NetworkSimplexPlacer/lambda$20$Type",1453),b(1454,1,{},apn),o.Kb=function(e){return Eo(),new Mn(null,new Pn(u(e,30).a,16))},w(mr,"NetworkSimplexPlacer/lambda$21$Type",1454),b(1455,1,re,ckn),o.Cd=function(e){b1e(this.a,u(e,10))},w(mr,"NetworkSimplexPlacer/lambda$22$Type",1455),b(1456,1,Le,dpn),o.Mb=function(e){return LAn(e)},w(mr,"NetworkSimplexPlacer/lambda$23$Type",1456),b(1457,1,{},bpn),o.Kb=function(e){return Eo(),new Mn(null,new Pn(u(e,30).a,16))},w(mr,"NetworkSimplexPlacer/lambda$24$Type",1457),b(1458,1,Le,ukn),o.Mb=function(e){return function Ele(n,e){return 2==n.j[e.p]}(this.a,u(e,10))},w(mr,"NetworkSimplexPlacer/lambda$25$Type",1458),b(1459,1,re,WCn),o.Cd=function(e){!function Ije(n,e,t){var i,r,c;for(r=new ie(ce(Nl(t).a.Kc(),new Vn));ve(r);)!or(i=u(fe(r),18))&&(or(i)||i.c.i.c!=i.d.i.c)&&(c=YHn(n,i,t,new tjn)).c.length>1&&Rn(e.c,c)}(this.a,this.b,u(e,10))},w(mr,"NetworkSimplexPlacer/lambda$26$Type",1459),b(1460,1,Le,wpn),o.Mb=function(e){return Eo(),!or(u(e,18))},w(mr,"NetworkSimplexPlacer/lambda$27$Type",1460),b(1461,1,Le,gpn),o.Mb=function(e){return Eo(),!or(u(e,18))},w(mr,"NetworkSimplexPlacer/lambda$28$Type",1461),b(1462,1,{},okn),o.Ve=function(e,t){return e1e(this.a,u(e,30),u(t,30))},w(mr,"NetworkSimplexPlacer/lambda$29$Type",1462),b(1436,1,{},vpn),o.Kb=function(e){return Eo(),new Mn(null,new L0(new ie(ce(Vt(u(e,10)).a.Kc(),new Vn))))},w(mr,"NetworkSimplexPlacer/lambda$3$Type",1436),b(1437,1,Le,ppn),o.Mb=function(e){return Eo(),function Ove(n){return Eo(),!(or(n)||!or(n)&&n.c.i.c==n.d.i.c)}(u(e,18))},w(mr,"NetworkSimplexPlacer/lambda$4$Type",1437),b(1438,1,re,skn),o.Cd=function(e){!function PPe(n,e){var t,i,s,f,h,a,d,g,p;t=M0(new od,n.f),f=(h=e.c).a.b,d=(g=e.d).a.b,n.i[e.c.i.p].b||(f+=h.n.b),n.i[e.d.i.p].b||(d+=g.n.b),a=di(y.Math.max(0,f-d)),s=di(y.Math.max(0,d-f)),p=y.Math.max(1,u(m(e,(cn(),Up)),17).a)*XJ(e.c.i.k,e.d.i.k),i=new zCn(Vs(Rs(Bs(xs(Ks(new ws,p),s),t),u(ee(n.k,e.c),125))),Vs(Rs(Bs(xs(Ks(new ws,p),a),t),u(ee(n.k,e.d),125)))),n.c[e.p]=i}(this.a,u(e,18))},w(mr,"NetworkSimplexPlacer/lambda$5$Type",1438),b(1439,1,{},mpn),o.Kb=function(e){return Eo(),new Mn(null,new Pn(u(e,30).a,16))},w(mr,"NetworkSimplexPlacer/lambda$6$Type",1439),b(1440,1,Le,kpn),o.Mb=function(e){return Eo(),u(e,10).k==(Xn(),Ut)},w(mr,"NetworkSimplexPlacer/lambda$7$Type",1440),b(1441,1,{},ypn),o.Kb=function(e){return Eo(),new Mn(null,new L0(new ie(ce(Nl(u(e,10)).a.Kc(),new Vn))))},w(mr,"NetworkSimplexPlacer/lambda$8$Type",1441),b(1442,1,Le,jpn),o.Mb=function(e){return Eo(),function pbe(n){return!or(n)&&n.c.i.c==n.d.i.c}(u(e,18))},w(mr,"NetworkSimplexPlacer/lambda$9$Type",1442),b(1424,1,pr,h8n),o.rg=function(e){return u(m(u(e,36),(V(),zc)),21).Hc((gr(),fs))?_ie:null},o.Kf=function(e,t){!function fIe(n,e){var t,i,r,c,s,f,h,l,a,d;for(e.Ug("Simple node placement",1),d=u(m(n,(V(),B2)),312),f=0,c=new C(n.b);c.a0?(v=(p-1)*t,f&&(v+=i),a&&(v+=i),v0&&(O-=v),vtn(s,O),a=0,g=new C(s.a);g.a0),f.a.Xb(f.c=--f.b)),h=.4*i*a,!c&&f.b"+this.b+" ("+function _1e(n){return null!=n.f?n.f:""+n.g}(this.c)+")"},o.d=0,w(Cf,"HyperEdgeSegmentDependency",132),b(528,22,{3:1,34:1,22:1,528:1},TX);var Fa,og,ure,ore,sre,fre,hre,lre,cre=we(Cf,"HyperEdgeSegmentDependency/DependencyType",528,ke,function Uge(){return pf(),S(T(cre,1),G,528,0,[og,Fa])},function Zde(n){return pf(),Ee((dDn(),ure),n)});b(1878,1,{},hkn),w(Cf,"HyperEdgeSegmentSplitter",1878),b(1879,1,{},tEn),o.a=0,o.b=0,w(Cf,"HyperEdgeSegmentSplitter/AreaRating",1879),b(339,1,{339:1},hN),o.a=0,o.b=0,o.c=0,w(Cf,"HyperEdgeSegmentSplitter/FreeArea",339),b(1880,1,Ne,Dpn),o.Ne=function(e,t){return function _ae(n,e){return at(n.c-n.s,e.c-e.s)}(u(e,118),u(t,118))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Cf,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),b(1881,1,re,SIn),o.Cd=function(e){wpe(this.a,this.d,this.c,this.b,u(e,118))},o.b=0,w(Cf,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),b(1882,1,{},Npn),o.Kb=function(e){return new Mn(null,new Pn(u(e,118).e,16))},w(Cf,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),b(1883,1,{},$pn),o.Kb=function(e){return new Mn(null,new Pn(u(e,118).j,16))},w(Cf,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),b(1884,1,{},Fpn),o.Ye=function(e){return F(R(e))},w(Cf,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),b(664,1,{},$N),o.a=0,o.b=0,o.c=0,w(Cf,"OrthogonalRoutingGenerator",664),b(1703,1,{},xpn),o.Kb=function(e){return new Mn(null,new Pn(u(e,118).e,16))},w(Cf,"OrthogonalRoutingGenerator/lambda$0$Type",1703),b(1704,1,{},Bpn),o.Kb=function(e){return new Mn(null,new Pn(u(e,118).j,16))},w(Cf,"OrthogonalRoutingGenerator/lambda$1$Type",1704),b(670,1,{}),w(hK,"BaseRoutingDirectionStrategy",670),b(1870,670,{},cjn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,v,p,k,j;if(!e.r||e.q)for(d=t+e.o*i,a=new C(e.n);a.aMh&&(c=e,r=new W(g,s=d),xe(f.a,r),rb(this,f,c,r,!1),(v=e.r)&&(r=new W(p=F(R(is(v.e,0))),s),xe(f.a,r),rb(this,f,c,r,!1),c=v,r=new W(p,s=t+v.o*i),xe(f.a,r),rb(this,f,c,r,!1)),r=new W(j,s),xe(f.a,r),rb(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),ae},o.Bg=function(){return en(),zn},w(hK,"NorthToSouthRoutingStrategy",1870),b(1871,670,{},ujn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,v,p,k,j;if(!e.r||e.q)for(d=t-e.o*i,a=new C(e.n);a.aMh&&(c=e,r=new W(g,s=d),xe(f.a,r),rb(this,f,c,r,!1),(v=e.r)&&(r=new W(p=F(R(is(v.e,0))),s),xe(f.a,r),rb(this,f,c,r,!1),c=v,r=new W(p,s=t-v.o*i),xe(f.a,r),rb(this,f,c,r,!1)),r=new W(j,s),xe(f.a,r),rb(this,f,c,r,!1)))},o.zg=function(e){return e.i.n.a+e.n.a+e.a.a},o.Ag=function(){return en(),zn},o.Bg=function(){return en(),ae},w(hK,"SouthToNorthRoutingStrategy",1871),b(1869,670,{},ojn),o.yg=function(e,t,i){var r,c,s,f,h,l,a,d,g,v,p,k,j;if(!e.r||e.q)for(d=t+e.o*i,a=new C(e.n);a.aMh&&(c=e,r=new W(s=d,g),xe(f.a,r),rb(this,f,c,r,!0),(v=e.r)&&(r=new W(s,p=F(R(is(v.e,0)))),xe(f.a,r),rb(this,f,c,r,!0),c=v,r=new W(s=t+v.o*i,p),xe(f.a,r),rb(this,f,c,r,!0)),r=new W(s,j),xe(f.a,r),rb(this,f,c,r,!0)))},o.zg=function(e){return e.i.n.b+e.n.b+e.a.b},o.Ag=function(){return en(),Zn},o.Bg=function(){return en(),Wn},w(hK,"WestToEastRoutingStrategy",1869),b(828,1,{},htn),o.Ib=function(){return pa(this.a)},o.b=0,o.c=!1,o.d=!1,o.f=0,w(xw,"NubSpline",828),b(418,1,{418:1},gqn,uOn),w(xw,"NubSpline/PolarCP",418),b(1480,1,pr,YRn),o.rg=function(e){return function oye(n){var e,t;return So(e=new ei,ore),(t=u(m(n,(V(),zc)),21)).Hc((gr(),e9))&&So(e,lre),t.Hc(Om)&&So(e,sre),t.Hc(N2)&&So(e,hre),t.Hc(Lm)&&So(e,fre),e}(u(e,36))},o.Kf=function(e,t){!function rDe(n,e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,I,O,$,_,X,tn,jn,kn,Bn,$n,te;if(t.Ug("Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void t.Vg();I=F(R(m(e,(cn(),H2)))),f=F(R(m(e,Zd))),s=F(R(m(e,K2))),jn=u(m(e,QH),350)==(m4(),w9),tn=F(R(m(e,ghn))),n.d=e,n.j.c.length=0,n.a.c.length=0,qu(n.k),a=XC((h=u(sn(e.b,0),30)).a,(JA(),Wj)),d=XC((p=u(sn(e.b,e.b.c.length-1),30)).a,Wj),k=new C(e.b),j=null,te=0;do{for(BLe(n,j,O=k.a0?(l=0,j&&(l+=f),l+=(kn-1)*s,O&&(l+=f),jn&&O&&(l=y.Math.max(l,ETe(O,s,I,tn))),l("+this.c+") "+this.b},o.c=0,w(xw,"SplineEdgeRouter/Dependency",274),b(465,22,{3:1,34:1,22:1,465:1},AX);var xa,G2,dre,are=we(xw,"SplineEdgeRouter/SideToProcess",465,ke,function Jge(){return K0(),S(T(are,1),G,465,0,[xa,G2])},function n0e(n){return K0(),Ee((bDn(),dre),n)});b(1481,1,Le,Rpn),o.Mb=function(e){return e8(),!u(e,131).o},w(xw,"SplineEdgeRouter/lambda$0$Type",1481),b(1482,1,{},Kpn),o.Ze=function(e){return e8(),u(e,131).v+1},w(xw,"SplineEdgeRouter/lambda$1$Type",1482),b(1483,1,re,eMn),o.Cd=function(e){!function jbe(n,e,t){return Xe(n.b,u(t.b,18),e)}(this.a,this.b,u(e,42))},w(xw,"SplineEdgeRouter/lambda$2$Type",1483),b(1484,1,re,tMn),o.Cd=function(e){!function Ebe(n,e,t){return Xe(n.b,u(t.b,18),e)}(this.a,this.b,u(e,42))},w(xw,"SplineEdgeRouter/lambda$3$Type",1484),b(131,1,{34:1,131:1},I_n,gtn),o.Fd=function(e){return function Mhe(n,e){return n.s-e.s}(this,u(e,131))},o.b=0,o.e=!1,o.f=0,o.g=0,o.j=!1,o.k=!1,o.n=0,o.o=!1,o.p=!1,o.q=!1,o.s=0,o.u=0,o.v=0,o.F=0,w(xw,"SplineSegment",131),b(468,1,{468:1},_pn),o.a=0,o.b=!1,o.c=!1,o.d=!1,o.e=!1,o.f=0,w(xw,"SplineSegment/EdgeInformation",468),b(1198,1,{},Hpn),w(ql,din,1198),b(1199,1,Ne,qpn),o.Ne=function(e,t){return function qEe(n,e){var t,i,r;return 0==(t=u(m(e,(bc(),tO)),17).a-u(m(n,tO),17).a)?(i=gi(Bi(u(m(n,(bt(),Jj)),8)),u(m(n,Um),8)),r=gi(Bi(u(m(e,Jj),8)),u(m(e,Um),8)),at(i.a*i.b,r.a*r.b)):t}(u(e,121),u(t,121))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ql,TXn,1199),b(1197,1,{},pEn),w(ql,"MrTree",1197),b(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},FC),o.dg=function(){return Q_n(this)},o.qg=function(){return Q_n(this)};var YI,m9,k9,y9,bre,Mln=we(ql,"TreeLayoutPhases",405,ke,function Yve(){return lp(),S(T(Mln,1),G,405,0,[YI,m9,k9,y9])},function e0e(n){return lp(),Ee((_Nn(),bre),n)});b(1112,205,Fd,zAn),o.rf=function(e,t){var r,c,s,f,h,l,a;for(on(un(z(e,(bc(),Jln))))||lk(new o6((k0(),new a0(e)))),(f=t.eh(dK)).Ug("build tGraph",1),qr(l=new kk,e),U(l,(bt(),E9),e),function $Se(n,e,t){var i,r,c,s,f;for(c=0,r=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));r.e!=r.i.gc();)s="",0==(!(i=u(ue(r),27)).n&&(i.n=new q(Tr,i,1,7)),i.n).i||(s=u(D((!i.n&&(i.n=new q(Tr,i,1,7)),i.n),0),135).a),qr(f=new dF(c++,e,s),i),U(f,(bt(),E9),i),f.e.b=i.j+i.f/2,f.f.a=y.Math.max(i.g,1),f.e.a=i.i+i.g/2,f.f.b=y.Math.max(i.f,1),xe(e.b,f),Yc(t.f,i,f)}(e,l,a=new de),function nPe(n,e,t){var i,r,c,s,f,h,l;for(s=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));s.e!=s.i.gc();)for(r=new ie(ce(xl(c=u(ue(s),27)).a.Kc(),new Vn));ve(r);)!Q5(i=u(fe(r),74))&&!Q5(i)&&!tb(i)&&(h=u(Rr(br(t.f,c)),40),l=u(ee(t,Ur(u(D((!i.c&&(i.c=new Dn(he,i,5,8)),i.c),0),84))),40),h&&l&&(U(f=new pJ(h,l),(bt(),E9),i),qr(f,i),xe(h.d,f),xe(l.b,f),xe(e.a,f)))}(e,l,a),h=l,f.Vg(),(f=t.eh(dK)).Ug("Split graph",1),s=_Se(this.a,h),f.Vg(),c=new C(s);c.ad&&($n=0,te+=a+tn,a=0),bUn(_,s,$n,te),e=y.Math.max(e,$n+X.a),a=y.Math.max(a,X.b),$n+=X.a+tn;for($=new de,t=new de,kn=new C(n);kn.a"+vd(e.c):"e_"+wt(e),n.b&&n.c?vd(n.b)+"->"+vd(n.c):"e_"+wt(n))}(this.a,u(e,65))},w(ql,"TreeUtil/lambda$3$Type",1886),b(1887,1,Ne,Upn),o.Ne=function(e,t){return function Hae(n,e){return at(n.b.e.a,e.b.e.a)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ql,"TreeUtil/lambda$4$Type",1887),b(1888,1,Le,bkn),o.Mb=function(e){return function F5e(n,e){return Tn(e.b&&e.c?vd(e.b)+"->"+vd(e.c):"e_"+wt(e),n.b&&n.c?vd(n.b)+"->"+vd(n.c):"e_"+wt(n))}(this.a,u(e,65))},w(ql,"TreeUtil/lambda$7$Type",1888),b(1889,1,Ne,Wpn),o.Ne=function(e,t){return function qae(n,e){return at(n.c.e.a,e.c.e.a)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ql,"TreeUtil/lambda$8$Type",1889),b(1890,1,{},Vpn),o.Kb=function(e){return u(e,65).b},w(ql,"TreeUtil/lambda$9$Type",1890),b(508,137,{3:1,508:1,96:1,137:1}),o.g=0,w(A8,"TGraphElement",508),b(65,508,{3:1,65:1,508:1,96:1,137:1},pJ),o.Ib=function(){return this.b&&this.c?vd(this.b)+"->"+vd(this.c):"e_"+wt(this)},w(A8,"TEdge",65),b(121,137,{3:1,121:1,96:1,137:1},kk),o.Ib=function(){var e,t,i,r,c;for(c=null,r=ge(this.b,0);r.b!=r.d.c;)c+=(null==(i=u(be(r),40)).c||0==i.c.length?"n_"+i.g:"n_"+i.c)+"\n";for(t=ge(this.a,0);t.b!=t.d.c;)c+=((e=u(be(t),65)).b&&e.c?vd(e.b)+"->"+vd(e.c):"e_"+wt(e))+"\n";return c};var kNe=w(A8,"TGraph",121);b(643,508,{3:1,508:1,643:1,96:1,137:1}),w(A8,"TShape",643),b(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},dF),o.Ib=function(){return vd(this)};var ZI=w(A8,"TNode",40);b(236,1,Qh,pl),o.Jc=function(e){_i(this,e)},o.Kc=function(){return new Eg(ge(this.a.d,0))},w(A8,"TNode/2",236),b(329,1,Ti,Eg),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return u(be(this.a),65).c},o.Ob=function(){return w7(this.a)},o.Qb=function(){_$(this.a)},w(A8,"TNode/2/1",329),b(1923,1,gt,Jpn),o.Kf=function(e,t){NDe(this,u(e,121),t)},w(qc,"CompactionProcessor",1923),b(1924,1,Ne,wkn),o.Ne=function(e,t){return function yme(n,e,t){return at(Dv(P4(n),new W(e.e.a,e.e.b)),Dv(P4(n),new W(t.e.a,t.e.b)))}(this.a,u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$0$Type",1924),b(1925,1,Le,rMn),o.Mb=function(e){return function Age(n,e,t){return F(R(t.a))<=n&&F(R(t.b))>=e}(this.b,this.a,u(e,42))},o.a=0,o.b=0,w(qc,"CompactionProcessor/lambda$1$Type",1925),b(1934,1,Ne,Qpn),o.Ne=function(e,t){return function pwe(n,e){return at(n.e.a+n.f.a,e.e.a+e.f.a)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$10$Type",1934),b(1935,1,Ne,Ypn),o.Ne=function(e,t){return function L1e(n,e){return at(n.e.b,e.e.b)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$11$Type",1935),b(1936,1,Ne,Zpn),o.Ne=function(e,t){return function mwe(n,e){return at(n.e.b+n.f.b,e.e.b+e.f.b)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$12$Type",1936),b(1926,1,Le,gkn),o.Mb=function(e){return function w1e(n,e){return F(R(e.a))<=n}(this.a,u(e,42))},o.a=0,w(qc,"CompactionProcessor/lambda$2$Type",1926),b(1927,1,Le,vkn),o.Mb=function(e){return function g1e(n,e){return F(R(e.a))>=n}(this.a,u(e,42))},o.a=0,w(qc,"CompactionProcessor/lambda$3$Type",1927),b(1928,1,Le,n3n),o.Mb=function(e){return-1==u(e,40).c.indexOf(VS)},w(qc,"CompactionProcessor/lambda$4$Type",1928),b(1929,1,{},pkn),o.Kb=function(e){return function Pve(n,e){return new lN(e,W6(Bi(e.e),n,n),(Kn(),!0))}(this.a,u(e,40))},o.a=0,w(qc,"CompactionProcessor/lambda$5$Type",1929),b(1930,1,{},mkn),o.Kb=function(e){return function x3e(n,e){return new lN(e,A0(Bi(e.e),e.f.a+n,e.f.b+n),(Kn(),!1))}(this.a,u(e,40))},o.a=0,w(qc,"CompactionProcessor/lambda$6$Type",1930),b(1931,1,Ne,kkn),o.Ne=function(e,t){return function Wpe(n,e,t){return at(Dv(P4(n),Bi(e.b)),Dv(P4(n),Bi(t.b)))}(this.a,u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$7$Type",1931),b(1932,1,Ne,ykn),o.Ne=function(e,t){return function Vpe(n,e,t){return at(Dv(P4(n),Bi(e.e)),Dv(P4(n),Bi(t.e)))}(this.a,u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$8$Type",1932),b(1933,1,Ne,e3n),o.Ne=function(e,t){return function D1e(n,e){return at(n.e.a,e.e.a)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(qc,"CompactionProcessor/lambda$9$Type",1933),b(1921,1,gt,t3n),o.Kf=function(e,t){!function IAe(n,e){var t,i,r,c,s,f,h;if(e.Ug("Process directions",1),(t=u(m(n,(bc(),Nb)),88))!=(ii(),nh))for(r=ge(n.b,0);r.b!=r.d.c;){switch(i=u(be(r),40),f=u(m(i,(bt(),Qj)),17).a,h=u(m(i,Yj),17).a,t.g){case 4:h*=-1;break;case 1:c=f,f=h,h=c;break;case 2:s=f,f=-h,h=s}U(i,Qj,Y(f)),U(i,Yj,Y(h))}e.Vg()}(u(e,121),t)},w(qc,"DirectionProcessor",1921),b(1913,1,gt,GAn),o.Kf=function(e,t){YSe(this,u(e,121),t)},w(qc,"FanProcessor",1913),b(1937,1,gt,i3n),o.Kf=function(e,t){!function pAe(n,e){e.Ug("Process graph bounds",1),U(n,(bt(),Iq),I7(eF(cw(new Mn(null,new Pn(n.b,16)),new r3n)))),U(n,Oq,I7(eF(cw(new Mn(null,new Pn(n.b,16)),new c3n)))),U(n,Kln,I7(nF(cw(new Mn(null,new Pn(n.b,16)),new u3n)))),U(n,_ln,I7(nF(cw(new Mn(null,new Pn(n.b,16)),new o3n)))),e.Vg()}(u(e,121),t)},w(qc,"GraphBoundsProcessor",1937),b(1938,1,{},r3n),o.Ye=function(e){return u(e,40).e.a},w(qc,"GraphBoundsProcessor/lambda$0$Type",1938),b(1939,1,{},c3n),o.Ye=function(e){return u(e,40).e.b},w(qc,"GraphBoundsProcessor/lambda$1$Type",1939),b(1940,1,{},u3n),o.Ye=function(e){return function Yhe(n){return n.e.a+n.f.a}(u(e,40))},w(qc,"GraphBoundsProcessor/lambda$2$Type",1940),b(1941,1,{},o3n),o.Ye=function(e){return function Qhe(n){return n.e.b+n.f.b}(u(e,40))},w(qc,"GraphBoundsProcessor/lambda$3$Type",1941),b(262,22,{3:1,34:1,22:1,262:1,196:1},y0),o.dg=function(){switch(this.g){case 0:return new yjn;case 1:return new GAn;case 2:return new kjn;case 3:return new a3n;case 4:return new f3n;case 8:return new s3n;case 5:return new t3n;case 6:return new b3n;case 7:return new Jpn;case 9:return new i3n;case 10:return new w3n;default:throw M(new Un(PR+(null!=this.f?this.f:""+this.g)))}};var Tln,Aln,Sln,Pln,Iln,Oln,Lln,Dln,Nln,$ln,Mq,wre,yNe=we(qc,IR,262,ke,RFn,function t0e(n){return i8(),Ee((QMn(),wre),n)});b(1920,1,gt,s3n),o.Kf=function(e,t){!function OLe(n,e){var t,i,r,c,s;for(e.Ug("Processor determine the coords for each level",1),i=new Z,s=ge(n.b,0);s.b!=s.d.c;){for(r=u(be(s),40);u(m(r,(bc(),Nh)),17).a>i.c.length-1;)nn(i,new ai(p2,Jrn));t=u(m(r,Nh),17).a,kl(u(m(n,Nb),88))?(r.e.aF(R((Ln(t,i.c.length),u(i.c[t],42)).b))&&jL((Ln(t,i.c.length),u(i.c[t],42)),r.e.a+r.f.a)):(r.e.bF(R((Ln(t,i.c.length),u(i.c[t],42)).b))&&jL((Ln(t,i.c.length),u(i.c[t],42)),r.e.b+r.f.b))}for(c=ge(n.b,0);c.b!=c.d.c;)r=u(be(c),40),t=u(m(r,(bc(),Nh)),17).a,U(r,(bt(),Sf),R((Ln(t,i.c.length),u(i.c[t],42)).a)),U(r,tf,R((Ln(t,i.c.length),u(i.c[t],42)).b));e.Vg()}(u(e,121),t)},w(qc,"LevelCoordinatesProcessor",1920),b(1918,1,gt,f3n),o.Kf=function(e,t){YMe(this,u(e,121),t)},o.a=0,w(qc,"LevelHeightProcessor",1918),b(1919,1,Qh,h3n),o.Jc=function(e){_i(this,e)},o.Kc=function(){return On(),E3(),ym},w(qc,"LevelHeightProcessor/1",1919),b(1914,1,gt,kjn),o.Kf=function(e,t){aAe(this,u(e,121),t)},w(qc,"LevelProcessor",1914),b(1915,1,Le,l3n),o.Mb=function(e){return on(un(m(u(e,40),(bt(),Ba))))},w(qc,"LevelProcessor/lambda$0$Type",1915),b(1916,1,gt,a3n),o.Kf=function(e,t){Vje(this,u(e,121),t)},o.a=0,w(qc,"NeighborsProcessor",1916),b(1917,1,Qh,d3n),o.Jc=function(e){_i(this,e)},o.Kc=function(){return On(),E3(),ym},w(qc,"NeighborsProcessor/1",1917),b(1922,1,gt,b3n),o.Kf=function(e,t){!function QSe(n,e,t){var i,r,c,s,f,h,l,a,d;for(t.Ug("Processor set coordinates",1),n.a=0==e.b.b?1:e.b.b,l=null,i=ge(e.b,0);!l&&i.b!=i.d.c;)on(un(m(d=u(be(i),40),(bt(),Ba))))&&(l=d,(h=d.e).a=u(m(d,Qj),17).a,h.b=u(m(d,Yj),17).a);f=oF(l),a=1;do{a=(f=nje((r=f,t.eh(a),r))).b/n.a|0}while(0!=f.b);for(s=ge(e.b,0);s.b!=s.d.c;)gi((c=u(be(s),40)).e,new W(c.f.a/2,c.f.b/2));t.Vg()}(this,u(e,121),t)},o.a=0,w(qc,"NodePositionProcessor",1922),b(1912,1,gt,yjn),o.Kf=function(e,t){!function DIe(n,e,t){var i,r,c,s,f,h,l;for(t.Ug("Find roots",1),n.a.c.length=0,r=ge(e.b,0);r.b!=r.d.c;)0==(i=u(be(r),40)).b.b&&(U(i,(bt(),Ba),(Kn(),!0)),nn(n.a,i));switch(n.a.c.length){case 0:U(c=new dF(0,e,"DUMMY_ROOT"),(bt(),Ba),(Kn(),!0)),U(c,Sq,!0),xe(e.b,c);break;case 1:break;default:for(s=new dF(0,e,VS),h=new C(n.a);h.a=0}(this.a,u(e,40))},w(sm,"NodeOrderer/lambda$2$Type",1490),b(1491,1,Le,jkn),o.Mb=function(e){return function Lve(n,e){return ep(),u(m(e,(bc(),z2)),17).a>=n.gc()}(this.a,u(e,40))},w(sm,"NodeOrderer/lambda$3$Type",1491),b(1492,1,Ne,$3n),o.Ne=function(e,t){return function o4e(n,e){return ep(),-Tc(u(m(n,(bc(),z2)),17).a,u(m(e,z2),17).a)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(sm,"NodeOrderer/lambda$4$Type",1492),b(1493,1,Le,F3n),o.Mb=function(e){return ep(),0!=u(m(u(e,40),(bt(),Pq)),17).a},w(sm,"NodeOrderer/lambda$5$Type",1493),b(1495,1,pr,b8n),o.rg=function(e){return u(e,121),qre},o.Kf=function(e,t){CSe(this,u(e,121),t)},o.b=0,w("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),b(1496,1,pr,d8n),o.rg=function(e){return u(e,121),Ure},o.Kf=function(e,t){uSe(u(e,121),t)},w(ko,"EdgeRouter",1496),b(1498,1,Ne,O3n),o.Ne=function(e,t){return Tc(u(e,17).a,u(t,17).a)},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/0methodref$compare$Type",1498),b(1503,1,{},p3n),o.Ye=function(e){return F(R(e))},w(ko,"EdgeRouter/1methodref$doubleValue$Type",1503),b(1505,1,Ne,m3n),o.Ne=function(e,t){return at(F(R(e)),F(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/2methodref$compare$Type",1505),b(1507,1,Ne,k3n),o.Ne=function(e,t){return at(F(R(e)),F(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/3methodref$compare$Type",1507),b(1509,1,{},v3n),o.Ye=function(e){return F(R(e))},w(ko,"EdgeRouter/4methodref$doubleValue$Type",1509),b(1511,1,Ne,y3n),o.Ne=function(e,t){return at(F(R(e)),F(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/5methodref$compare$Type",1511),b(1513,1,Ne,j3n),o.Ne=function(e,t){return at(F(R(e)),F(R(t)))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/6methodref$compare$Type",1513),b(1497,1,{},E3n),o.Kb=function(e){return Il(),u(m(u(e,40),(bc(),Nh)),17)},w(ko,"EdgeRouter/lambda$0$Type",1497),b(1508,1,{},C3n),o.Kb=function(e){return function z1e(n){return Il(),n.e.a+n.f.a/2}(u(e,40))},w(ko,"EdgeRouter/lambda$11$Type",1508),b(1510,1,{},cMn),o.Kb=function(e){return function kbe(n,e,t){return Il(),t.e.a+t.f.a+n*e}(this.b,this.a,u(e,40))},o.a=0,o.b=0,w(ko,"EdgeRouter/lambda$13$Type",1510),b(1512,1,{},uMn),o.Kb=function(e){return function X1e(n,e,t){return Il(),t.e.a-n*e}(this.b,this.a,u(e,40))},o.a=0,o.b=0,w(ko,"EdgeRouter/lambda$15$Type",1512),b(1514,1,Ne,M3n),o.Ne=function(e,t){return function c9e(n,e){return Il(),at((0==n.a.b?new W(n.c.e.a,n.c.e.b):u(P3(n.a),8)).b,(0==e.a.b?new W(e.c.e.a,e.c.e.b):u(P3(e.a),8)).b)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$17$Type",1514),b(1515,1,Ne,T3n),o.Ne=function(e,t){return function u9e(n,e){return Il(),at((0==n.a.b?new W(n.c.e.a,n.c.e.b):u(P3(n.a),8)).a,(0==e.a.b?new W(e.c.e.a,e.c.e.b):u(P3(e.a),8)).a)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$18$Type",1515),b(1516,1,Ne,A3n),o.Ne=function(e,t){return function s9e(n,e){return Il(),at((0==n.a.b?new W(n.b.e.a,n.b.e.b):u(_s(n.a),8)).b,(0==e.a.b?new W(e.b.e.a,e.b.e.b):u(_s(e.a),8)).b)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$19$Type",1516),b(1499,1,Le,Ckn),o.Mb=function(e){return function f2e(n,e){return Il(),u(m(e,(bc(),Nh)),17).a==n}(this.a,u(e,40))},o.a=0,w(ko,"EdgeRouter/lambda$2$Type",1499),b(1517,1,Ne,S3n),o.Ne=function(e,t){return function o9e(n,e){return Il(),at((0==n.a.b?new W(n.b.e.a,n.b.e.b):u(_s(n.a),8)).a,(0==e.a.b?new W(e.b.e.a,e.b.e.b):u(_s(e.a),8)).a)}(u(e,65),u(t,65))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$20$Type",1517),b(1500,1,Ne,P3n),o.Ne=function(e,t){return function ube(n,e){return Il(),at(n.e.b,e.e.b)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$3$Type",1500),b(1501,1,Ne,I3n),o.Ne=function(e,t){return function obe(n,e){return Il(),at(n.e.a,e.e.a)}(u(e,40),u(t,40))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"EdgeRouter/lambda$4$Type",1501),b(1502,1,{},x3n),o.Kb=function(e){return function W1e(n){return Il(),n.e.b+n.f.b/2}(u(e,40))},w(ko,"EdgeRouter/lambda$5$Type",1502),b(1504,1,{},oMn),o.Kb=function(e){return function ybe(n,e,t){return Il(),t.e.b+t.f.b+n*e}(this.b,this.a,u(e,40))},o.a=0,o.b=0,w(ko,"EdgeRouter/lambda$7$Type",1504),b(1506,1,{},sMn),o.Kb=function(e){return function V1e(n,e,t){return Il(),t.e.b-n*e}(this.b,this.a,u(e,40))},o.a=0,o.b=0,w(ko,"EdgeRouter/lambda$9$Type",1506),b(675,1,{675:1},KRn),o.e=0,o.f=!1,o.g=!1,w(ko,"MultiLevelEdgeNodeNodeGap",675),b(1943,1,Ne,B3n),o.Ne=function(e,t){return function m2e(n,e){return at(u(n.c,65).c.e.b,u(e.c,65).c.e.b)}(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),b(1944,1,Ne,R3n),o.Ne=function(e,t){return function k2e(n,e){return at(u(n.c,65).c.e.a,u(e.c,65).c.e.a)}(u(e,240),u(t,240))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ko,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),b(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},PX),o.dg=function(){return TBn(this)},o.qg=function(){return TBn(this)};var rO,W2,Gre,u1n=we(rcn,"RadialLayoutPhases",501,ke,function _ge(){return KT(),S(T(u1n,1),G,501,0,[rO,W2])},function u0e(n){return KT(),Ee((hDn(),Gre),n)});b(1113,205,Fd,vEn),o.rf=function(e,t){var i,c,f,h;if(i=lqn(this,e),t.Ug("Radial layout",i.c.length),on(un(z(e,(ka(),v1n))))||lk(new o6((k0(),new a0(e)))),h=function hye(n){var e,t;for(t=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));t.e!=t.i.gc();)if(!ve(new ie(ce(yy(e=u(ue(t),27)).a.Kc(),new Vn))))return e;return null}(e),ft(e,(_g(),X2),h),!h)throw M(new Un("The given graph is not a tree!"));for(0==(c=F(R(z(e,oO))))&&(c=G_n(e)),ft(e,oO,c),f=new C(lqn(this,e));f.aRd&&(r-=Rd),f=u(z(i,Wp),8),(c=y.Math.atan2(f.b+n,f.a))<0&&(c+=Rd),(c+=e)>Rd&&(c-=Rd),Of(),zs(1e-10),y.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:E0(isNaN(r),isNaN(c))}(this.a,this.b,u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},o.a=0,o.b=0,w(rcn,"RadialUtil/lambda$0$Type",556),b(1395,1,gt,K3n),o.Kf=function(e,t){!function xLe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X,tn,jn,kn;for(e.Ug("Calculate Graph Size",1),e.dh(n,ccn),d=p2,g=p2,l=ucn,a=ucn,k=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));k.e!=k.i.gc();)I=(v=u(ue(k),27)).i,O=v.j,kn=v.g,f=v.f,h=u(z(v,(Ue(),Wm)),140),d=y.Math.min(d,I-h.b),g=y.Math.min(g,O-h.d),l=y.Math.max(l,I+kn+h.c),a=y.Math.max(a,O+f+h.a);for(j=new W(d-(A=u(z(n,(Ue(),x1)),107)).b,g-A.d),jn=l-d+(A.b+A.c),s=a-g+(A.d+A.a),on(un(z(n,(ka(),g1n))))&&($=u(z(n,(_g(),X2)),27),_=u(z($,Wm),140),c=s-(tn=$.j+$.f/2+(_.d+_.a)/2-j.b),(r=jn-(X=$.i+$.g/2+(_.b+_.c)/2-j.a))=3)for(X=u(D($,0),27),tn=u(D($,1),27),s=0;s+2<$.i;){if(_=X,X=tn,tn=u(D($,s+2),27),_.f>=X.f+tn.f+d||tn.f>=_.f+X.f+d){kn=!0;break}++s}else kn=!0;if(!kn){for(v=$.i,h=new ne($);h.e!=h.i.gc();)ft(u(ue(h),27),(Ue(),aE),Y(v)),--v;return _Un(e,new yv),void t.Vg()}for(uk(this.a),gf(this.a,(aA(),nE),u(z(e,z1n),188)),gf(this.a,sO,u(z(e,K1n),188)),gf(this.a,Qq,u(z(e,q1n),188)),XX(this.a,(Ke($n=new ei,nE,(EA(),nU)),Ke($n,sO,Zq),on(un(z(e,B1n)))&&Ke($n,nE,Yq),$n)),a=1/(i=Ly(this.a,e)).c.length,k=new C(i);k.ai?1:0}(u(e,27),u(t,27))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(ZS,"InteractiveNodeReorderer/lambda$0$Type",1519),b(456,22,{3:1,34:1,22:1,456:1,196:1},PD),o.dg=function(){switch(this.g){case 0:return new e4n;case 1:return new r4n;case 2:return new i4n}return null};var Yq,Zq,nU,mce,M9,zm,Gp,kce,yce,fO,eU,tU,T9,hO,sg,pce=we(ZS,IR,456,ke,function Y2e(){return EA(),S(T(pce,1),G,456,0,[Yq,nU,Zq])},function d0e(n){return EA(),Ee((oNn(),mce),n)});b(1521,1,gt,i4n),o.Kf=function(e,t){!function A8e(n,e){e.Ug("Min Size Postprocessing",1),ft(n,(Vh(),sg),y.Math.max(F(R(z(n,sg))),F(R(z(n,T9))))),e.Vg()}(u(e,27),t)},w(ZS,"MinSizePostProcessor",1521),b(1520,1,gt,r4n),o.Kf=function(e,t){!function M6e(n,e){var t;e.Ug("Min Size Preprocessing",1),t=Unn(n),ft(n,(Vh(),T9),t.a),ft(n,fO,t.b),e.Vg()}(u(e,27),t)},w(ZS,"MinSizePreProcessor",1520),b(394,22,{3:1,34:1,22:1,394:1},ID);var O1n,L1n,iU,jce,Ece,Cce,Mce,Tce,Ace,Sce,N1n,Pce,Ice,Oce,Lce,$1n,Dce,F1n,Nce,lO,$ce,x1n,eE,B1n,Fce,tE,xce,Bce,Rce,Kce,_ce,rU,R1n,cU,K1n,A9,_1n,Hce,S9,H1n,q1n,U1n,G1n,z1n,uU,D1n=we(kK,"OptimizationGoal",394,ke,function J2e(){return uA(),S(T(D1n,1),G,394,0,[L1n,iU,O1n])},function b0e(n){return uA(),Ee((sNn(),jce),n)});b(867,1,Es,k8n),o.hf=function(e){mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,pcn),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(Kn(),!1)),(C1(),mi)),qt),yn((Ef(),Fn))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,mcn),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),Y(-1)),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,kcn),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),Y(-1)),Zr),qi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,ycn),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,jcn),yK),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),F1n),Tt),V1n),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Ecn),yK),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Ccn),yK),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),$1n),Tt),D1n),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Mcn),yK),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Tcn),"packing"),SWn),"Strategy for finding an initial placement on nodes."),N1n),Tt),Y1n),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Acn),PWn),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Scn),PWn),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),Y(1)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Pcn),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),Tt),ean),yn(Fn)))),vzn((new y8n,e))},w(kK,"RectPackingMetaDataProvider",867),b(1016,1,Es,y8n),o.hf=function(e){vzn(e)},w(kK,"RectPackingOptions",1016),b(1017,1,{},c4n),o.sf=function(){return new mEn},o.tf=function(e){},w(kK,"RectPackingOptions/RectpackingFactory",1017),b(1705,1,{},jSn),o.a=0,o.c=!1,w(fm,"AreaApproximation",1705);var X1n=Ot(fm,"BestCandidateFilter");b(673,1,{535:1},sL),o.Hg=function(e,t,i){var r,c,s,f,h,l;for(l=new Z,s=Mt,h=new C(e);h.a1;){if(r=ZMe(e),d=c.g,p=u(z(e,A9),107),k=F(R(z(e,lO))),(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i>1&&F(R(z(e,(Vh(),tU))))!=Mt&&(c.c+(p.b+p.c))/(c.b+(p.d+p.a))1&&F(R(z(e,(Vh(),eU))))!=Mt&&(c.c+(p.b+p.c))/(c.b+(p.d+p.a))>k&&ft(r,(Vh(),sg),y.Math.max(F(R(z(e,T9))),F(R(z(r,sg)))-F(R(z(e,eU))))),(l=(h=jzn(v=new $X(i,a),r,g)).g)>=d&&l==l){for(s=0;s<(!r.a&&(r.a=new q(Qe,r,10,11)),r.a).i;s++)V_n(n,u(D((!r.a&&(r.a=new q(Qe,r,10,11)),r.a),s),27),u(D((!e.a&&(e.a=new q(Qe,e,10,11)),e.a),s),27));P$n(e,v),i2e(c,h.c),t2e(c,h.b)}--f}ft(e,(Vh(),zm),c.b),ft(e,Gp,c.c),t.Vg()}(this,u(e,27),t)},w(nP,"Compactor",1471),b(1473,1,pr,f4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){MTe(u(e,27),t)},w(nP,"NoPlacement",1473),b(439,22,{3:1,34:1,22:1,439:1,188:1,196:1},OD),o.dg=function(){return iBn(this)},o.qg=function(){return iBn(this)};var sU,J1n,Q1n,Uce,Y1n=we(nP,"PackingStrategy",439,ke,function V2e(){return mT(),S(T(Y1n,1),G,439,0,[sU,Q1n,J1n])},function p0e(n){return mT(),Ee((fNn(),Uce),n)});b(810,1,{},$X),o.a=0,o.b=0,o.c=0,o.d=Mt,o.e=0,o.f=Mt,w(nP,"RowFillingAndCompaction",810),b(1472,1,pr,h4n),o.rg=function(e){return u(e,27),null},o.Kf=function(e,t){!function fOe(n,e){var t,i,r,c,s,f,h,l,a,d,g,v,p;for(e.Ug(IWn,1),v=F(R(z(n,(Vh(),sg)))),s=F(R(z(n,(Uf(),S9)))),f=u(z(n,A9),107),tY((!n.a&&(n.a=new q(Qe,n,10,11)),n.a)),a=aGn((!n.a&&(n.a=new q(Qe,n,10,11)),n.a),v,s),!n.a&&(n.a=new q(Qe,n,10,11)),l=new C(a);l.a1)for(r=new C(n.a);r.a>>28]|e[n>>24&15]<<4|e[n>>20&15]<<8|e[n>>16&15]<<12|e[n>>12&15]<<16|e[n>>8&15]<<20|e[n>>4&15]<<24|e[15&n]<<28}(Ov(this.b))},o.cg=function(e){var t,r,c;for(r=0;r0&&Jxn((Gn(t-1,e.length),e.charCodeAt(t-1)),")]}\"' \t\r\n");)--t;if(r>=t)throw M(new Un("The given string does not contain any numbers."));if(2!=(c=Iw(($i(r,t,e.length),e.substr(r,t-r)),",|;|\r|\n")).length)throw M(new Un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Ew(Cw(c[0])),this.b=Ew(Cw(c[1]))}catch(s){throw L(s=At(s),130)?M(new Un(xXn+s)):M(s)}},o.Ib=function(){return"("+this.a+","+this.b+")"},o.a=0,o.b=0;var yi=w(tj,"KVector",8);b(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},Su,hC,wAn),o.Pc=function(){return function T6e(n){var e,t,i;for(e=0,i=K(yi,J,8,n.b,0,1),t=ge(n,0);t.b!=t.d.c;)i[e++]=u(be(t),8);return i}(this)},o.cg=function(e){var i,r,c,s,f;r=Iw(e,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),jo(this);try{for(i=0,s=0,c=0,f=0;i0&&(s%2==0?c=Ew(r[i]):f=Ew(r[i]),s>0&&s%2!=0&&xe(this,new W(c,f)),++s),++i}catch(h){throw L(h=At(h),130)?M(new Un("The given string does not match the expected format for vectors."+h)):M(h)}},o.Ib=function(){var e,t,i;for(e=new yo("("),t=ge(this,0);t.b!=t.d.c;)Re(e,(i=u(be(t),8)).a+","+i.b),t.b!=t.d.c&&(e.a+="; ");return(e.a+=")",e).a};var Pan=w(tj,"KVectorChain",75);b(255,22,{3:1,34:1,22:1,255:1},N6);var kU,pO,mO,cE,uE,kO,Tue,Oan,yU,Aue,Lan,Dan,Sue,Nan,Pue,Iue,$an,Fan,Oue,Ian=we(oo,"Alignment",255,ke,function E3e(){return Xh(),S(T(Ian,1),G,255,0,[kU,cE,uE,kO,pO,mO])},function I0e(n){return Xh(),Ee((K$n(),Tue),n)});b(991,1,Es,T8n),o.hf=function(e){CUn(e)},w(oo,"BoxLayouterOptions",991),b(992,1,{},W4n),o.sf=function(){return new Q4n},o.tf=function(e){},w(oo,"BoxLayouterOptions/BoxFactory",992),b(298,22,{3:1,34:1,22:1,298:1},$6);var L9,jU,D9,N9,$9,EU,Lue,Xm,Due,xan,Q2,Nue,$ue,Ban,Y2,Z2,Fue,oE,Ran,sE,t0,Kan,MU,TU,_an,Han,qan,Uan,Gan,xue,nv,zan,Bue,fE,AU,hE,SU,$b,Xan,Wm,Wan,Van,Jan,ev,Qan,i0,Yan,fg,tv,Zan,Ra,ndn,yO,lE,x1,edn,Rue,tdn,Kue,_ue,idn,rdn,PU,IU,OU,LU,cdn,so,F9,udn,DU,NU,hg,odn,sdn,iv,fdn,Wp,aE,$U,rv,Hue,FU,que,Uue,hdn,Gue,ldn,adn,Vp,ddn,jO,bdn,wdn,r0,zue,gdn,vdn,pdn,EO,dE,Vm,Jp,Xue,Wue,CO,Vue,mdn,Jue,CU=we(oo,"ContentAlignment",298,ke,function C3e(){return Id(),S(T(CU,1),G,298,0,[EU,$9,N9,jU,L9,D9])},function O0e(n){return Id(),Ee((_$n(),Lue),n)});b(699,1,Es,AG),o.hf=function(e){mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,BWn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(C1(),J2)),fn),yn((Ef(),Fn))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,RWn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Zf),MNe),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Arn),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),xan),Tt),Ian),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Mp),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Kcn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Zf),Pan),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,US),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),Ran),Xp),CU),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,uj),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Kn(),!1)),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,uK),""),uin),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Kan),Tt),x9),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,cj),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),qan),Tt),BU),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Bcn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,qS),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),zan),Tt),Ldn),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,hb),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),edn),Zf),rsn),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,k8),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,zS),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,y8),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,TR),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),udn),Tt),$dn),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,GS),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Zf),yi),pt(wi,S(T(ol,1),G,170,0,[e0,F1]))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Jy),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Zr),qi),pt(wi,S(T(ol,1),G,170,0,[$h]))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,MS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,m8),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Brn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Xan),Zf),Pan),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_rn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Hrn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,KWn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Zf),INe),pt(Fn,S(T(ol,1),G,170,0,[F1]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Urn),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Wan),Zf),isn),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Mrn),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),mi),qt),pt(wi,S(T(ol,1),G,170,0,[$h,e0,F1]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_Wn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Ji),ui),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,HWn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,qWn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Qy),""),DWn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),mi),qt),yn(Fn)))),ti(e,Qy,lb,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,UWn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,GWn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Y(100)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,zWn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,XWn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Y(4e3)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,WWn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Y(400)),Zr),qi),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,VWn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,JWn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,QWn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,YWn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Rcn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),Ban),Tt),Gdn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,brn),Wf),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,wrn),Wf),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,mR),Wf),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,grn),Wf),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,MR),Wf),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,cK),Wf),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,vrn),Wf),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,krn),Wf),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,prn),Wf),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,mrn),Wf),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Fw),Wf),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,yrn),Wf),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Ji),ui),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,jrn),Wf),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Ji),ui),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Ern),Wf),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Zf),moe),pt(wi,S(T(ol,1),G,170,0,[$h,e0,F1]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Grn),Wf),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),vdn),Zf),isn),yn(Fn)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,sK),tVn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Zr),qi),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),ti(e,sK,oK,_ue),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,oK),tVn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),tdn),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Irn),iVn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Jan),Zf),rsn),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,cm),iVn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Qan),Xp),kr),pt(wi,S(T(ol,1),G,170,0,[F1]))))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Drn),tP),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),rdn),Tt),_9),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Nrn),tP),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Tt),_9),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,$rn),tP),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Tt),_9),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Frn),tP),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Tt),_9),yn(wi)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,xrn),tP),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Tt),_9),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,m2),IK),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),Yan),Xp),U9),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Tp),IK),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),ndn),Xp),xdn),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Ap),IK),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Zan),Zf),yi),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,rm),IK),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),mi),qt),yn(Fn)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Rrn),rK),"Edge Label Placement"),"Gives a hint on where to put edge labels."),_an),Tt),kdn),yn(F1)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,TS),rK),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),mi),qt),yn(F1)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,ZWn),"font"),"Font Name"),"Font name used for a label."),J2),fn),yn(F1)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,nVn),"font"),"Font Size"),"Font size used for a label."),Zr),qi),yn(F1)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,qrn),OK),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Zf),yi),yn(e0)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Krn),OK),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Zr),qi),yn(e0)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Trn),OK),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),fdn),Tt),fr),yn(e0)))),mn(e,new ln(vn(gn(pn(an(wn(dn(bn(new hn,Crn),OK),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Ji),ui),yn(e0)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,um),qcn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),odn),Xp),TO),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Orn),qcn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Lrn),qcn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Yy),fj),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Ji),ui),yn(Fn)))),ti(e,Yy,lb,Vue),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,_cn),fj),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Tt),LO),yn(wi)))),ti(e,_cn,lb,Jue),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Zy),fj),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Ji),ui),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),ti(e,Zy,lb,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,nj),fj),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Ji),ui),pt(Fn,S(T(ol,1),G,170,0,[wi]))))),ti(e,nj,lb,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,lb),fj),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Tt),Rdn),yn(wi)))),ti(e,lb,rm,null),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Hcn),fj),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Ji),ui),yn(Fn)))),ti(e,Hcn,lb,Wue),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Srn),rVn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),mi),qt),yn(wi)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,Prn),rVn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),mi),qt),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,kR),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Ji),ui),yn($h)))),mn(e,new ln(vn(gn(pn(An(an(wn(dn(bn(new hn,eVn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Gan),Tt),Tdn),yn($h)))),C6(e,new Wv(m6(p3(v3(new gv,Yn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),C6(e,new Wv(m6(p3(v3(new gv,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),C6(e,new Wv(m6(p3(v3(new gv,su),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),C6(e,new Wv(m6(p3(v3(new gv,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),C6(e,new Wv(m6(p3(v3(new gv,pWn),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),C6(e,new Wv(m6(p3(v3(new gv,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),C6(e,new Wv(m6(p3(v3(new gv,cs),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),fUn((new A8n,e)),CUn((new T8n,e)),xqn((new S8n,e))},w(oo,"CoreOptions",699),b(88,22,{3:1,34:1,22:1,88:1},$7);var nh,$r,zr,eh,hs,Que,x9=we(oo,uin,88,ke,function Spe(){return ii(),S(T(x9,1),G,88,0,[eh,zr,$r,nh,hs])},function L0e(n){return ii(),Ee((v$n(),Que),n)});b(278,22,{3:1,34:1,22:1,278:1},DD);var Jm,lg,Qm,Yue,kdn=we(oo,"EdgeLabelPlacement",278,ke,function ive(){return Kf(),S(T(kdn,1),G,278,0,[Jm,lg,Qm])},function D0e(n){return Kf(),Ee((pNn(),Yue),n)});b(223,22,{3:1,34:1,22:1,223:1},RC);var Ym,bE,Qp,xU,Zue,BU=we(oo,"EdgeRouting",223,ke,function ipe(){return Dl(),S(T(BU,1),G,223,0,[xU,bE,Ym,Qp])},function N0e(n){return Dl(),Ee((HNn(),Zue),n)});b(321,22,{3:1,34:1,22:1,321:1},F6);var ydn,jdn,Edn,Cdn,RU,Mdn,noe,Adn,Sdn,Pdn,Idn,eoe,Odn,B9,Tdn=we(oo,"EdgeType",321,ke,function j3e(){return FA(),S(T(Tdn,1),G,321,0,[RU,Edn,Mdn,ydn,Cdn,jdn])},function $0e(n){return FA(),Ee((H$n(),noe),n)});b(989,1,Es,A8n),o.hf=function(e){fUn(e)},w(oo,"FixedLayouterOptions",989),b(990,1,{},V4n),o.sf=function(){return new umn},o.tf=function(e){},w(oo,"FixedLayouterOptions/FixedFactory",990),b(346,22,{3:1,34:1,22:1,346:1},ND);var B1,MO,R9,toe,Ldn=we(oo,"HierarchyHandling",346,ke,function eve(){return Ll(),S(T(Ldn,1),G,346,0,[MO,B1,R9])},function F0e(n){return Ll(),Ee((gNn(),toe),n)});b(291,22,{3:1,34:1,22:1,291:1},KC);var sl,Ka,wE,gE,roe,ioe=we(oo,"LabelSide",291,ke,function tpe(){return Po(),S(T(ioe,1),G,291,0,[gE,sl,Ka,wE])},function x0e(n){return Po(),Ee((qNn(),roe),n)});b(95,22,{3:1,34:1,22:1,95:1},Pg);var zl,rf,Ps,cf,Fo,uf,Is,fl,of,coe,kr=we(oo,"NodeLabelPlacement",95,ke,function E4e(){return Tw(),S(T(kr,1),G,95,0,[rf,zl,cf,of,fl,Is,Fo,uf,Ps])},function B0e(n){return Tw(),Ee((YFn(),coe),n)});b(256,22,{3:1,34:1,22:1,256:1},F7);var Ddn,K9,_a,Ndn,vE,uoe,_9=we(oo,"PortAlignment",256,ke,function qpe(){return Zg(),S(T(_9,1),G,256,0,[_a,vE,Ddn,K9,Ndn])},function R0e(n){return Zg(),Ee((m$n(),uoe),n)});b(101,22,{3:1,34:1,22:1,101:1},x6);var c0,Xc,hl,Zm,th,Ha,ooe,$dn=we(oo,"PortConstraints",101,ke,function y3e(){return Ii(),S(T($dn,1),G,101,0,[Ha,th,Zm,c0,hl,Xc])},function K0e(n){return Ii(),Ee((q$n(),ooe),n)});b(279,22,{3:1,34:1,22:1,279:1},B6);var H9,q9,Xl,pE,qa,Yp,soe,TO=we(oo,"PortLabelPlacement",279,ke,function k3e(){return Xu(),S(T(TO,1),G,279,0,[qa,Xl,pE,q9,H9,Yp])},function _0e(n){return Xu(),Ee((U$n(),soe),n)});b(64,22,{3:1,34:1,22:1,64:1},x7);var Zn,zn,ls,as,ju,lu,ih,sf,Ju,Ru,Wc,Qu,Eu,Cu,ff,xo,Bo,Os,ae,hc,Wn,foe,hoe,loe,Fdn,aoe,doe,fr=we(oo,"PortSide",64,ke,function Ppe(){return en(),S(T(fr,1),Pc,64,0,[hc,zn,Zn,ae,Wn])},function H0e(n){return en(),Ee((k$n(),foe),n)});b(993,1,Es,S8n),o.hf=function(e){xqn(e)},w(oo,"RandomLayouterOptions",993),b(994,1,{},J4n),o.sf=function(){return new imn},o.tf=function(e){},w(oo,"RandomLayouterOptions/RandomFactory",994),b(386,22,{3:1,34:1,22:1,386:1},_C);var ag,mE,kE,u0,boe,U9=we(oo,"SizeConstraint",386,ke,function epe(){return mo(),S(T(U9,1),G,386,0,[kE,u0,mE,ag])},function q0e(n){return mo(),Ee((UNn(),boe),n)});b(264,22,{3:1,34:1,22:1,264:1},Ig);var yE,AO,n6,KU,jE,G9,SO,PO,IO,woe,xdn=we(oo,"SizeOptions",264,ke,function $4e(){return ro(),S(T(xdn,1),G,264,0,[n6,jE,AO,G9,SO,IO,PO,KU,yE])},function U0e(n){return ro(),Ee((QFn(),woe),n)});b(280,22,{3:1,34:1,22:1,280:1},$D);var dg,Bdn,OO,goe,Rdn=we(oo,"TopdownNodeTypes",280,ke,function rve(){return cp(),S(T(Rdn,1),G,280,0,[Bdn,dg,OO])},function G0e(n){return cp(),Ee((mNn(),goe),n)});b(347,22,Ucn);var Kdn,_dn,voe,LO=we(oo,"TopdownSizeApproximator",347,ke,function Zge(){return fN(),S(T(LO,1),G,347,0,[Kdn,_dn])},function X0e(n){return fN(),Ee((kDn(),voe),n)});b(987,347,Ucn,QSn),o.Tg=function(e){return ARn(e)},we(oo,"TopdownSizeApproximator/1",987,LO,null,null),b(988,347,Ucn,FPn),o.Tg=function(e){var t,i,r,c,s,f,a,d,j,A,O,$,_,X,tn,jn,kn,Bn;for(t=u(z(e,(Ue(),rv)),143),Q1(),jy(tn=new d6,e),jn=new de,s=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));s.e!=s.i.gc();)r=u(ue(s),27),XA(O=new d6,tn),jy(O,r),Bn=ARn(r),$g(O,y.Math.max(r.g,Bn.a),y.Math.max(r.f,Bn.b)),Yc(jn.f,r,O);for(c=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));c.e!=c.i.gc();)for(d=new ne((!(r=u(ue(c),27)).e&&(r.e=new Dn(Xt,r,7,4)),r.e));d.e!=d.i.gc();)a=u(ue(d),74),_=u(Rr(br(jn.f,r)),27),X=u(ee(jn,D((!a.c&&(a.c=new Dn(he,a,5,8)),a.c),0)),27),me((!($=new aL).b&&($.b=new Dn(he,$,4,7)),$.b),_),me((!$.c&&($.c=new Dn(he,$,5,8)),$.c),X),zA($,Ct(_)),jy($,a);j=u(hk(t.f),205);try{j.rf(tn,new fmn),dIn(t.f,j)}catch($n){throw L($n=At($n),103),M($n)}return Bf(tn,Z2)||Bf(tn,Y2)||Ptn(tn),f=F(R(z(tn,Z2)))/F(R(z(tn,Y2))),i=F(R(z(tn,dE)))*y.Math.sqrt((!tn.a&&(tn.a=new q(Qe,tn,10,11)),tn.a).i),A=(kn=u(z(tn,x1),107)).d+kn.a+1,new W(y.Math.max(kn.b+kn.c+1,i),y.Math.max(A,i/f))},we(oo,"TopdownSizeApproximator/2",988,LO,null,null),b(344,1,{871:1},yv),o.Ug=function(e,t){return KKn(this,e,t)},o.Vg=function(){f_n(this)},o.Wg=function(){return this.q},o.Xg=function(){return this.f?JN(this.f):null},o.Yg=function(){return JN(this.a)},o.Zg=function(){return this.p},o.$g=function(){return!1},o._g=function(){return this.n},o.ah=function(){return null!=this.p&&!this.b},o.bh=function(e){this.n&&nn(this.f,e)},o.dh=function(e,t){var i,r;this.n&&e&&function mve(n,e,t){var i;n.n&&e&&t&&(i=new smn,nn(n.e,i))}(this,(r=nB(i=new WPn,e),function nLe(n){var e,t,i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I,O,$,_,X;for(d=new rJ(new QG(n));d.c!=d.d.a.d;)for(f=u((a=YNn(d)).d,58),e=u(a.e,58),k=0,$=(null==(s=f.Dh()).i&&kh(s),s.i).length;k<$;++k)if(null==s.i&&kh(s),c=s.i,(l=k>=0&&k0?e-1:e,rEn(function Ihe(n,e){return n.j=e,n}(X$n(kV(new yv,t),n.n),n.j),n.k)}(this,this.g),xe(this.a,t),t.i=this,this.d=e,t)},o.fh=function(e){e>0&&!this.b&&zQ(this,e)},o.b=!1,o.c=0,o.d=-1,o.e=null,o.f=null,o.g=-1,o.j=!1,o.k=!1,o.n=!1,o.o=0,o.q=0,o.r=0,w(gc,"BasicProgressMonitor",344),b(717,205,Fd,Q4n),o.rf=function(e,t){_Un(e,t)},w(gc,"BoxLayoutProvider",717),b(983,1,Ne,Fkn),o.Ne=function(e,t){return function nTe(n,e,t){var i,r,c;return!(r=u(z(e,(xA(),Fan)),17))&&(r=Y(0)),!(c=u(z(t,Fan),17))&&(c=Y(0)),r.a>c.a?-1:r.a0&&p.b>0&&ub(A,p.a,p.b,!0,!0)),g=y.Math.max(g,A.i+A.g),v=y.Math.max(v,A.j+A.f),a=new ne((!A.n&&(A.n=new q(Tr,A,1,7)),A.n));a.e!=a.i.gc();)h=u(ue(a),135),(kn=u(z(h,B9),8))&&qo(h,kn.a,kn.b),g=y.Math.max(g,A.i+h.i+h.g),v=y.Math.max(v,A.j+h.j+h.f);for(X=new ne((!A.c&&(A.c=new q(Yu,A,9,9)),A.c));X.e!=X.i.gc();)for(_=u(ue(X),123),(kn=u(z(_,B9),8))&&qo(_,kn.a,kn.b),jn=A.j+_.j,g=y.Math.max(g,(tn=A.i+_.i)+_.g),v=y.Math.max(v,jn+_.f),l=new ne((!_.n&&(_.n=new q(Tr,_,1,7)),_.n));l.e!=l.i.gc();)h=u(ue(l),135),(kn=u(z(h,B9),8))&&qo(h,kn.a,kn.b),g=y.Math.max(g,tn+h.i+h.g),v=y.Math.max(v,jn+h.j+h.f);for(c=new ie(ce(xl(A).a.Kc(),new Vn));ve(c);)d=ezn(i=u(fe(c),74)),g=y.Math.max(g,d.a),v=y.Math.max(v,d.b);for(r=new ie(ce(yy(A).a.Kc(),new Vn));ve(r);)Ct(Wh(i=u(fe(r),74)))!=e&&(d=ezn(i),g=y.Math.max(g,d.a),v=y.Math.max(v,d.b))}if(s==(Dl(),Ym))for(I=new ne((!e.a&&(e.a=new q(Qe,e,10,11)),e.a));I.e!=I.i.gc();)for(r=new ie(ce(xl(A=u(ue(I),27)).a.Kc(),new Vn));ve(r);)f=cPe(i=u(fe(r),74)),ft(i,$b,0==f.b?null:f);on(un(z(e,(ZT(),Pdn))))||ub(e,g+($=u(z(e,eoe),107)).b+$.c,v+$.d+$.a,!0,!0),t.Vg()},w(gc,"FixedLayoutProvider",1119),b(385,137,{3:1,423:1,385:1,96:1,137:1},lL,ZNn),o.cg=function(e){var i,r,s,f,h,l,a;if(e)try{for(l=Iw(e,";,;"),f=0,h=(s=l).length;f>16&ri|t^(s&ri)<<16},o.Kc=function(){return new Kkn(this)},o.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Jr(this.b)+")":null==this.b?"pair("+Jr(this.a)+",null)":"pair("+Jr(this.a)+","+Jr(this.b)+")"},w(gc,"Pair",42),b(995,1,Ti,Kkn),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},o.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw M(new tc)},o.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),M(new Au)},o.b=!1,o.c=!1,w(gc,"Pair/1",995),b(455,1,{455:1},PIn),o.Fb=function(e){return jc(this.a,u(e,455).a)&&jc(this.c,u(e,455).c)&&jc(this.d,u(e,455).d)&&jc(this.b,u(e,455).b)},o.Hb=function(){return Wk(S(T(pi,1),xn,1,5,[this.a,this.c,this.d,this.b]))},o.Ib=function(){return"("+this.a+cr+this.c+cr+this.d+cr+this.b+")"},w(gc,"Quadruple",455),b(1108,205,Fd,imn),o.rf=function(e,t){var s;t.Ug("Random Layout",1),0!=(!e.a&&(e.a=new q(Qe,e,10,11)),e.a).i?(function ELe(n,e,t,i,r){var c,f,h,l,a,d,g,v,p,k,j,A,I,O,_,X,tn,jn,kn,Bn;for(O=0,p=0,v=0,g=1,I=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));I.e!=I.i.gc();)g+=Ml(new ie(ce(xl(j=u(ue(I),27)).a.Kc(),new Vn))),p=y.Math.max(p,jn=j.g),v=y.Math.max(v,d=j.f),O+=jn*d;for(k=(!n.a&&(n.a=new q(Qe,n,10,11)),n.a).i,c=y.Math.sqrt(O+2*i*i*g*k),h=y.Math.max(c*t,p),f=y.Math.max(c/t,v),A=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));A.e!=A.i.gc();)j=u(ue(A),27),kn=r.b+(io(e,26)*d8+io(e,27)*b8)*(h-j.g),Bn=r.b+(io(e,26)*d8+io(e,27)*b8)*(f-j.f),ru(j,kn),cu(j,Bn);for(tn=h+(r.b+r.c),X=f+(r.d+r.a),_=new ne((!n.a&&(n.a=new q(Qe,n,10,11)),n.a));_.e!=_.i.gc();)for(a=new ie(ce(xl(u(ue(_),27)).a.Kc(),new Vn));ve(a);)Q5(l=u(fe(a),74))||SDe(l,e,tn,X);ub(n,tn+=r.b+r.c,X+=r.d+r.a,!1,!0)}(e,(s=u(z(e,(kZ(),aoe)),17))&&0!=s.a?new sT(s.a):new xF,b7(R(z(e,hoe))),b7(R(z(e,doe))),u(z(e,loe),107)),t.Vg()):t.Vg()},w(gc,"RandomLayoutProvider",1108),b(240,1,{240:1},lN),o.Fb=function(e){return jc(this.a,u(e,240).a)&&jc(this.b,u(e,240).b)&&jc(this.c,u(e,240).c)},o.Hb=function(){return Wk(S(T(pi,1),xn,1,5,[this.a,this.b,this.c]))},o.Ib=function(){return"("+this.a+cr+this.b+cr+this.c+")"},w(gc,"Triple",240),b(562,1,{}),o.Lf=function(){return new W(this.f.i,this.f.j)},o.of=function(e){return iOn(e,(Ue(),so))?z(this.f,Eoe):z(this.f,e)},o.Mf=function(){return new W(this.f.g,this.f.f)},o.Nf=function(){return this.g},o.pf=function(e){return Bf(this.f,e)},o.Of=function(e){ru(this.f,e.a),cu(this.f,e.b)},o.Pf=function(e){G0(this.f,e.a),U0(this.f,e.b)},o.Qf=function(e){this.g=e},o.g=0,w(I8,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),b(563,1,{853:1},QE),o.Rf=function(){var e,t;if(!this.b)for(this.b=rT(_M(this.a).i),t=new ne(_M(this.a));t.e!=t.i.gc();)e=u(ue(t),135),nn(this.b,new _L(e));return this.b},o.b=null,w(I8,"ElkGraphAdapters/ElkEdgeAdapter",563),b(289,562,{},a0),o.Sf=function(){return VRn(this)},o.a=null,w(I8,"ElkGraphAdapters/ElkGraphAdapter",289),b(640,562,{187:1},_L),w(I8,"ElkGraphAdapters/ElkLabelAdapter",640),b(639,562,{695:1},VD),o.Rf=function(){return function h7e(n){var e,t;if(!n.b)for(n.b=rT(u(n.f,27).kh().i),t=new ne(u(n.f,27).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new _L(e));return n.b}(this)},o.Vf=function(){var e;return!(e=u(z(this.f,(Ue(),Wm)),140))&&(e=new a6),e},o.Xf=function(){return function l7e(n){var e,t;if(!n.e)for(n.e=rT(HN(u(n.f,27)).i),t=new ne(HN(u(n.f,27)));t.e!=t.i.gc();)e=u(ue(t),123),nn(n.e,new _kn(e));return n.e}(this)},o.Zf=function(e){var t;t=new dN(e),ft(this.f,(Ue(),Wm),t)},o.$f=function(e){ft(this.f,(Ue(),x1),new hV(e))},o.Tf=function(){return this.d},o.Uf=function(){var e,t;if(!this.a)for(this.a=new Z,t=new ie(ce(yy(u(this.f,27)).a.Kc(),new Vn));ve(t);)e=u(fe(t),74),nn(this.a,new QE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=new Z,t=new ie(ce(xl(u(this.f,27)).a.Kc(),new Vn));ve(t);)e=u(fe(t),74),nn(this.c,new QE(e));return this.c},o.Yf=function(){return 0!=zM(u(this.f,27)).i||on(un(u(this.f,27).of((Ue(),fE))))},o._f=function(){q3e(this,(k0(),joe))},o.a=null,o.b=null,o.c=null,o.d=null,o.e=null,w(I8,"ElkGraphAdapters/ElkNodeAdapter",639),b(1284,562,{852:1},_kn),o.Rf=function(){return function m7e(n){var e,t;if(!n.b)for(n.b=rT(u(n.f,123).kh().i),t=new ne(u(n.f,123).kh());t.e!=t.i.gc();)e=u(ue(t),135),nn(n.b,new _L(e));return n.b}(this)},o.Uf=function(){var e,t;if(!this.a)for(this.a=Kh(u(this.f,123).hh().i),t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.a,new QE(e));return this.a},o.Wf=function(){var e,t;if(!this.c)for(this.c=Kh(u(this.f,123).ih().i),t=new ne(u(this.f,123).ih());t.e!=t.i.gc();)e=u(ue(t),74),nn(this.c,new QE(e));return this.c},o.ag=function(){return u(u(this.f,123).of((Ue(),iv)),64)},o.bg=function(){var e,t,i,r,s,f,h;for(r=Df(u(this.f,123)),i=new ne(u(this.f,123).ih());i.e!=i.i.gc();)for(h=new ne((!(e=u(ue(i),74)).c&&(e.c=new Dn(he,e,5,8)),e.c));h.e!=h.i.gc();){if(dw(Ur(f=u(ue(h),84)),r))return!0;if(Ur(f)==r&&on(un(z(e,(Ue(),AU)))))return!0}for(t=new ne(u(this.f,123).hh());t.e!=t.i.gc();)for(s=new ne((!(e=u(ue(t),74)).b&&(e.b=new Dn(he,e,4,7)),e.b));s.e!=s.i.gc();)if(dw(Ur(u(ue(s),84)),r))return!0;return!1},o.a=null,o.b=null,o.c=null,w(I8,"ElkGraphAdapters/ElkPortAdapter",1284),b(1285,1,Ne,tmn),o.Ne=function(e,t){return function QAe(n,e){var t,i,r,c;if(0!=(c=u(z(n,(Ue(),iv)),64).g-u(z(e,iv),64).g))return c;if(t=u(z(n,DU),17),i=u(z(e,DU),17),t&&i&&0!=(r=t.a-i.a))return r;switch(u(z(n,iv),64).g){case 1:return at(n.i,e.i);case 2:return at(n.j,e.j);case 3:return at(e.i,n.i);case 4:return at(e.j,n.j);default:throw M(new Sr(Tin))}}(u(e,123),u(t,123))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(I8,"ElkGraphAdapters/PortComparator",1285);var Coe,Ci,Moe,Toe,Vdn,DO,Aoe,Jdn,Qdn,Ydn,ll,Soe,Poe,Ioe,X9,Zdn,Ooe,Loe,Ua=Ot(us,"EObject"),e6=Ot(j2,oVn),Ro=Ot(j2,sVn),EE=Ot(j2,fVn),CE=Ot(j2,"ElkShape"),he=Ot(j2,hVn),Xt=Ot(j2,Gcn),jt=Ot(j2,lVn),ME=Ot(us,aVn),z9=Ot(us,"EFactory"),qU=Ot(us,dVn),Pf=Ot(us,"EPackage"),Tr=Ot(j2,zcn),Qe=Ot(j2,Xcn),Yu=Ot(j2,Wcn);b(93,1,bVn),o.th=function(){return this.uh(),null},o.uh=function(){return null},o.vh=function(){return this.uh(),!1},o.wh=function(){return!1},o.xh=function(e){tt(this,e)},w(Ip,"BasicNotifierImpl",93),b(99,93,pVn),o.Yh=function(){return ao(this)},o.yh=function(e,t){return e},o.zh=function(){throw M(new Pe)},o.Ah=function(e){var t;return t=dr(u(Nn(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,e)},o.Bh=function(e,t){throw M(new Pe)},o.Ch=function(e,t,i){return Oo(this,e,t,i)},o.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk())?e:this.ii()},o.Eh=function(){return xx(this)},o.Fh=function(){throw M(new Pe)},o.Gh=function(){var e,t;return!(t=this.$h().Ok())&&this.zh().Tk((T6(),t=null==(e=EJ(kh(this.Dh())))?QU:new H7(this,e))),t},o.Hh=function(e,t){return e},o.Ih=function(e){return e.pk()?e.Lj():St(this.Dh(),e)},o.Jh=function(){var e;return(e=this.zh())?e.Qk():null},o.Kh=function(){return this.zh()?this.zh().Nk():null},o.Lh=function(e,t,i){return yA(this,e,t,i)},o.Mh=function(e){return W3(this,e)},o.Nh=function(e,t){return j$(this,e,t)},o.Oh=function(){var e;return!!(e=this.zh())&&e.Rk()},o.Ph=function(){throw M(new Pe)},o.Qh=function(){return bA(this)},o.Rh=function(e,t,i,r){return fp(this,e,t,r)},o.Sh=function(e,t,i){return u(Nn(this.Dh(),t),69).wk().zk(this,this.hi(),t-this.ji(),e,i)},o.Th=function(e,t,i,r){return JM(this,e,t,r)},o.Uh=function(e,t,i){return u(Nn(this.Dh(),t),69).wk().Ak(this,this.hi(),t-this.ji(),e,i)},o.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},o.Wh=function(e){return WF(this,e)},o.Xh=function(e){return vOn(this,e)},o.Zh=function(e){return RGn(this,e)},o.$h=function(){throw M(new Pe)},o._h=function(){return this.zh()?this.zh().Pk():null},o.ai=function(){return bA(this)},o.bi=function(e,t){Lx(this,e,t)},o.ci=function(e){this.$h().Sk(e)},o.di=function(e){this.$h().Vk(e)},o.ei=function(e){this.$h().Uk(e)},o.fi=function(e,t){var i,r,c,s;return(s=this.Jh())&&e&&(t=rr(s.El(),this,t),s.Il(this)),(r=this.Ph())&&(Qx(this,this.Ph(),this.Fh()).Bb&sr?(c=r.Qh())&&(e?!s&&c.Il(this):c.Hl(this)):(t=(i=this.Fh())>=0?this.Ah(t):this.Ph().Th(this,-1-i,null,t),t=this.Ch(null,-1,t))),this.di(e),t},o.gi=function(e){var t,i,r,c,s,f,l;if((s=St(i=this.Dh(),e))>=(t=this.ji()))return u(e,69).wk().Dk(this,this.hi(),s-t);if(s<=-1){if(!(f=a2(($u(),Ui),i,e)))throw M(new Un(Aa+e.xe()+LK));if(ar(),u(f,69).xk()||(f=Vv(Ir(Ui,f))),c=u((r=this.Ih(f))>=0?this.Lh(r,!0,!0):ib(this,f,!0),160),(l=f.Ik())>1||-1==l)return u(u(c,220).Sl(e,!1),79)}else if(e.Jk())return u((r=this.Ih(e))>=0?this.Lh(r,!1,!0):ib(this,e,!1),79);return new $Mn(this,e)},o.hi=function(){return SQ(this)},o.ii=function(){return(ra(),_n).S},o.ji=function(){return se(this.ii())},o.ki=function(e){Px(this,e)},o.Ib=function(){return Ws(this)},w(Hn,"BasicEObjectImpl",99),b(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),o.li=function(e){return AQ(this)[e]},o.mi=function(e,t){Dt(AQ(this),e,t)},o.ni=function(e){Dt(AQ(this),e,null)},o.th=function(){return u(qn(this,4),129)},o.uh=function(){throw M(new Pe)},o.vh=function(){return 0!=(4&this.Db)},o.zh=function(){throw M(new Pe)},o.oi=function(e){op(this,2,e)},o.Bh=function(e,t){this.Db=t<<16|255&this.Db,this.oi(e)},o.Dh=function(){return vu(this)},o.Fh=function(){return this.Db>>16},o.Gh=function(){var t;return T6(),null==(t=EJ(kh(u(qn(this,16),29)||this.ii())))?QU:new H7(this,t)},o.wh=function(){return 0==(1&this.Db)},o.Jh=function(){return u(qn(this,128),2034)},o.Kh=function(){return u(qn(this,16),29)},o.Oh=function(){return 0!=(32&this.Db)},o.Ph=function(){return u(qn(this,2),54)},o.Vh=function(){return 0!=(64&this.Db)},o.$h=function(){throw M(new Pe)},o._h=function(){return u(qn(this,64),288)},o.ci=function(e){op(this,16,e)},o.di=function(e){op(this,128,e)},o.ei=function(e){op(this,64,e)},o.hi=function(){return uu(this)},o.Db=0,w(Hn,"MinimalEObjectImpl",119),b(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.oi=function(e){this.Cb=e},o.Ph=function(){return this.Cb},w(Hn,"MinimalEObjectImpl/Container",120),b(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return qZ(this,e,t,i)},o.Uh=function(e,t,i){return Lnn(this,e,t,i)},o.Wh=function(e){return xJ(this,e)},o.bi=function(e,t){SY(this,e,t)},o.ii=function(){return Sc(),Poe},o.ki=function(e){vY(this,e)},o.nf=function(){return wRn(this)},o.gh=function(){return!this.o&&(this.o=new Du((Sc(),ll),R1,this,0)),this.o},o.of=function(e){return z(this,e)},o.pf=function(e){return Bf(this,e)},o.qf=function(e,t){return ft(this,e,t)},w(Kd,"EMapPropertyHolderImpl",2083),b(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},KE),o.Lh=function(e,t,i){switch(e){case 0:return this.a;case 1:return this.b}return yA(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return 0!=this.a;case 1:return 0!=this.b}return WF(this,e)},o.bi=function(e,t){switch(e){case 0:return void OT(this,F(R(t)));case 1:return void IT(this,F(R(t)))}Lx(this,e,t)},o.ii=function(){return Sc(),Moe},o.ki=function(e){switch(e){case 0:return void OT(this,0);case 1:return void IT(this,0)}Px(this,e)},o.Ib=function(){var e;return 64&this.Db?Ws(this):((e=new gs(Ws(this))).a+=" (x: ",Mg(e,this.a),e.a+=", y: ",Mg(e,this.b),e.a+=")",e.a)},o.a=0,o.b=0,w(Kd,"ElkBendPointImpl",572),b(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return QY(this,e,t,i)},o.Sh=function(e,t,i){return jx(this,e,t,i)},o.Uh=function(e,t,i){return cF(this,e,t,i)},o.Wh=function(e){return lY(this,e)},o.bi=function(e,t){snn(this,e,t)},o.ii=function(){return Sc(),Aoe},o.ki=function(e){HY(this,e)},o.jh=function(){return this.k},o.kh=function(){return _M(this)},o.Ib=function(){return OF(this)},o.k=null,w(Kd,"ElkGraphElementImpl",739),b(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return cZ(this,e,t,i)},o.Wh=function(e){return lZ(this,e)},o.bi=function(e,t){fnn(this,e,t)},o.ii=function(){return Sc(),Soe},o.ki=function(e){pZ(this,e)},o.lh=function(){return this.f},o.mh=function(){return this.g},o.nh=function(){return this.i},o.oh=function(){return this.j},o.ph=function(e,t){$g(this,e,t)},o.qh=function(e,t){qo(this,e,t)},o.rh=function(e){ru(this,e)},o.sh=function(e){cu(this,e)},o.Ib=function(){return Ax(this)},o.f=0,o.g=0,o.i=0,o.j=0,w(Kd,"ElkShapeImpl",740),b(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),o.Lh=function(e,t,i){return FZ(this,e,t,i)},o.Sh=function(e,t,i){return tnn(this,e,t,i)},o.Uh=function(e,t,i){return inn(this,e,t,i)},o.Wh=function(e){return AY(this,e)},o.bi=function(e,t){gen(this,e,t)},o.ii=function(){return Sc(),Toe},o.ki=function(e){OZ(this,e)},o.hh=function(){return!this.d&&(this.d=new Dn(Xt,this,8,5)),this.d},o.ih=function(){return!this.e&&(this.e=new Dn(Xt,this,7,4)),this.e},w(Kd,"ElkConnectableShapeImpl",741),b(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},aL),o.Ah=function(e){return YZ(this,e)},o.Lh=function(e,t,i){switch(e){case 3:return ak(this);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),this.b;case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),this.c;case 6:return!this.a&&(this.a=new q(jt,this,6,6)),this.a;case 7:return Kn(),!this.b&&(this.b=new Dn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i<=1));case 8:return Kn(),!!Q5(this);case 9:return Kn(),!!tb(this);case 10:return Kn(),!this.b&&(this.b=new Dn(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new Dn(he,this,5,8)),0!=this.c.i)}return QY(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16)>=0?YZ(this,i):this.Cb.Th(this,-1-r,null,i)),DW(this,u(e,27),i);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),Qc(this.b,e,i);case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),Qc(this.c,e,i);case 6:return!this.a&&(this.a=new q(jt,this,6,6)),Qc(this.a,e,i)}return jx(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 3:return DW(this,null,i);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),rr(this.b,e,i);case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),rr(this.c,e,i);case 6:return!this.a&&(this.a=new q(jt,this,6,6)),rr(this.a,e,i)}return cF(this,e,t,i)},o.Wh=function(e){switch(e){case 3:return!!ak(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new Dn(he,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new Dn(he,this,5,8)),this.c.i<=1));case 8:return Q5(this);case 9:return tb(this);case 10:return!this.b&&(this.b=new Dn(he,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new Dn(he,this,5,8)),0!=this.c.i)}return lY(this,e)},o.bi=function(e,t){switch(e){case 3:return void zA(this,u(t,27));case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),pe(this.b),!this.b&&(this.b=new Dn(he,this,4,7)),void Bt(this.b,u(t,16));case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),pe(this.c),!this.c&&(this.c=new Dn(he,this,5,8)),void Bt(this.c,u(t,16));case 6:return!this.a&&(this.a=new q(jt,this,6,6)),pe(this.a),!this.a&&(this.a=new q(jt,this,6,6)),void Bt(this.a,u(t,16))}snn(this,e,t)},o.ii=function(){return Sc(),Vdn},o.ki=function(e){switch(e){case 3:return void zA(this,null);case 4:return!this.b&&(this.b=new Dn(he,this,4,7)),void pe(this.b);case 5:return!this.c&&(this.c=new Dn(he,this,5,8)),void pe(this.c);case 6:return!this.a&&(this.a=new q(jt,this,6,6)),void pe(this.a)}HY(this,e)},o.Ib=function(){return iGn(this)},w(Kd,"ElkEdgeImpl",326),b(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},_E),o.Ah=function(e){return WZ(this,e)},o.Lh=function(e,t,i){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new ni(Ro,this,5)),this.a;case 6:return dOn(this);case 7:return t?ZF(this):this.i;case 8:return t?YF(this):this.f;case 9:return!this.g&&(this.g=new Dn(jt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new Dn(jt,this,10,9)),this.e;case 11:return this.d}return qZ(this,e,t,i)},o.Sh=function(e,t,i){var c;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16)>=0?WZ(this,i):this.Cb.Th(this,-1-c,null,i)),LW(this,u(e,74),i);case 9:return!this.g&&(this.g=new Dn(jt,this,9,10)),Qc(this.g,e,i);case 10:return!this.e&&(this.e=new Dn(jt,this,10,9)),Qc(this.e,e,i)}return u(Nn(u(qn(this,16),29)||(Sc(),DO),t),69).wk().zk(this,uu(this),t-se((Sc(),DO)),e,i)},o.Uh=function(e,t,i){switch(t){case 5:return!this.a&&(this.a=new ni(Ro,this,5)),rr(this.a,e,i);case 6:return LW(this,null,i);case 9:return!this.g&&(this.g=new Dn(jt,this,9,10)),rr(this.g,e,i);case 10:return!this.e&&(this.e=new Dn(jt,this,10,9)),rr(this.e,e,i)}return Lnn(this,e,t,i)},o.Wh=function(e){switch(e){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!dOn(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return xJ(this,e)},o.bi=function(e,t){switch(e){case 1:return void n4(this,F(R(t)));case 2:return void t4(this,F(R(t)));case 3:return void Z3(this,F(R(t)));case 4:return void e4(this,F(R(t)));case 5:return!this.a&&(this.a=new ni(Ro,this,5)),pe(this.a),!this.a&&(this.a=new ni(Ro,this,5)),void Bt(this.a,u(t,16));case 6:return void tqn(this,u(t,74));case 7:return void BT(this,u(t,84));case 8:return void xT(this,u(t,84));case 9:return!this.g&&(this.g=new Dn(jt,this,9,10)),pe(this.g),!this.g&&(this.g=new Dn(jt,this,9,10)),void Bt(this.g,u(t,16));case 10:return!this.e&&(this.e=new Dn(jt,this,10,9)),pe(this.e),!this.e&&(this.e=new Dn(jt,this,10,9)),void Bt(this.e,u(t,16));case 11:return void ZQ(this,Oe(t))}SY(this,e,t)},o.ii=function(){return Sc(),DO},o.ki=function(e){switch(e){case 1:return void n4(this,0);case 2:return void t4(this,0);case 3:return void Z3(this,0);case 4:return void e4(this,0);case 5:return!this.a&&(this.a=new ni(Ro,this,5)),void pe(this.a);case 6:return void tqn(this,null);case 7:return void BT(this,null);case 8:return void xT(this,null);case 9:return!this.g&&(this.g=new Dn(jt,this,9,10)),void pe(this.g);case 10:return!this.e&&(this.e=new Dn(jt,this,10,9)),void pe(this.e);case 11:return void ZQ(this,null)}vY(this,e)},o.Ib=function(){return gHn(this)},o.b=0,o.c=0,o.d=null,o.j=0,o.k=0,w(Kd,"ElkEdgeSectionImpl",452),b(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Lh=function(e,t,i){return 0==e?(!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab):Jo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t,i)},o.Sh=function(e,t,i){return 0==t?(!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i)):u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().zk(this,uu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){return 0==t?(!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i)):u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().Ak(this,uu(this),t-se(this.ii()),e,i)},o.Wh=function(e){return 0==e?!!this.Ab&&0!=this.Ab.i:Wo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.Zh=function(e){return Atn(this,e)},o.bi=function(e,t){if(0===e)return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));ns(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t)},o.di=function(e){op(this,128,e)},o.ii=function(){return In(),Voe},o.ki=function(e){if(0===e)return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);Zo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.pi=function(){this.Bb|=1},o.qi=function(e){return r8(this,e)},o.Bb=0,w(Hn,"EModelElementImpl",158),b(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},PG),o.ri=function(e,t){return LGn(this,e,t)},o.si=function(e){var i,r,c,s;if(this.a!=Mo(e)||256&e.Bb)throw M(new Un(NK+e.zb+wb));for(r=_r(e);0!=Lc(r.a).i;){if(eb(i=u(Dy(r,0,L(s=u(D(Lc(r.a),0),89).c,90)?u(s,29):(In(),$s)),29)))return u(c=Mo(i).wi().si(i),54).ci(e),c;r=_r(i)}return"java.util.Map$Entry"==(null!=e.D?e.D:e.B)?new VSn(e):new yV(e)},o.ti=function(e,t){return ob(this,e,t)},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.a}return Jo(this,e-se((In(),Wa)),Nn(u(qn(this,16),29)||Wa,e),t,i)},o.Sh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 1:return this.a&&(i=u(this.a,54).Th(this,4,Pf,i)),_Y(this,u(e,241),i)}return u(Nn(u(qn(this,16),29)||(In(),Wa),t),69).wk().zk(this,uu(this),t-se((In(),Wa)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 1:return _Y(this,null,i)}return u(Nn(u(qn(this,16),29)||(In(),Wa),t),69).wk().Ak(this,uu(this),t-se((In(),Wa)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return Wo(this,e-se((In(),Wa)),Nn(u(qn(this,16),29)||Wa,e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void ZKn(this,u(t,241))}ns(this,e-se((In(),Wa)),Nn(u(qn(this,16),29)||Wa,e),t)},o.ii=function(){return In(),Wa},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void ZKn(this,null)}Zo(this,e-se((In(),Wa)),Nn(u(qn(this,16),29)||Wa,e))},w(Hn,"EFactoryImpl",720),b(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},lmn),o.ri=function(e,t){switch(e.hk()){case 12:return u(t,149).Pg();case 13:return Jr(t);default:throw M(new Un(dm+e.xe()+wb))}},o.si=function(e){var t;switch(-1==e.G&&(e.G=(t=Mo(e))?j1(t.vi(),e):-1),e.G){case 4:return new EG;case 6:return new d6;case 7:return new Ez;case 8:return new aL;case 9:return new KE;case 10:return new _E;case 11:return new amn;default:throw M(new Un(NK+e.zb+wb))}},o.ti=function(e,t){switch(e.hk()){case 13:case 12:return null;default:throw M(new Un(dm+e.xe()+wb))}},w(Kd,"ElkGraphFactoryImpl",1037),b(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),o.Gh=function(){var t;return null==(t=EJ(kh(u(qn(this,16),29)||this.ii())))?(T6(),T6(),QU):new pAn(this,t)},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.xe()}return Jo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return Wo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void this.ui(Oe(t))}ns(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t)},o.ii=function(){return In(),Joe},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void this.ui(null)}Zo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.xe=function(){return this.zb},o.ui=function(e){Jc(this,e)},o.Ib=function(){return L5(this)},o.zb=null,w(Hn,"ENamedElementImpl",448),b(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},GIn),o.Ah=function(e){return hKn(this,e)},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new iw(this,If,this)),this.rb;case 6:return!this.vb&&(this.vb=new Fv(Pf,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:kOn(this)}return Jo(this,e-se((In(),q1)),Nn(u(qn(this,16),29)||q1,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 4:return this.sb&&(i=u(this.sb,54).Th(this,1,z9,i)),UY(this,u(e,480),i);case 5:return!this.rb&&(this.rb=new iw(this,If,this)),Qc(this.rb,e,i);case 6:return!this.vb&&(this.vb=new Fv(Pf,this,6,7)),Qc(this.vb,e,i);case 7:return this.Cb&&(i=(c=this.Db>>16)>=0?hKn(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,7,i)}return u(Nn(u(qn(this,16),29)||(In(),q1),t),69).wk().zk(this,uu(this),t-se((In(),q1)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 4:return UY(this,null,i);case 5:return!this.rb&&(this.rb=new iw(this,If,this)),rr(this.rb,e,i);case 6:return!this.vb&&(this.vb=new Fv(Pf,this,6,7)),rr(this.vb,e,i);case 7:return Oo(this,null,7,i)}return u(Nn(u(qn(this,16),29)||(In(),q1),t),69).wk().Ak(this,uu(this),t-se((In(),q1)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!kOn(this)}return Wo(this,e-se((In(),q1)),Nn(u(qn(this,16),29)||q1,e))},o.Zh=function(e){return function aTe(n,e){var t,i,r,c,s,f;if(!n.tb){for(!n.rb&&(n.rb=new iw(n,If,n)),f=new Tv((c=n.rb).i),r=new ne(c);r.e!=r.i.gc();)i=u(ue(r),142),(t=u(null==(s=i.xe())?Yc(f.f,null,i):J0(f.i,s,i),142))&&(null==s?Yc(f.f,null,t):J0(f.i,s,t));n.tb=f}return u(Bc(n.tb,e),142)}(this,e)||Atn(this,e)},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void Jc(this,Oe(t));case 2:return void UT(this,Oe(t));case 3:return void qT(this,Oe(t));case 4:return void Tx(this,u(t,480));case 5:return!this.rb&&(this.rb=new iw(this,If,this)),pe(this.rb),!this.rb&&(this.rb=new iw(this,If,this)),void Bt(this.rb,u(t,16));case 6:return!this.vb&&(this.vb=new Fv(Pf,this,6,7)),pe(this.vb),!this.vb&&(this.vb=new Fv(Pf,this,6,7)),void Bt(this.vb,u(t,16))}ns(this,e-se((In(),q1)),Nn(u(qn(this,16),29)||q1,e),t)},o.ei=function(e){var t,i;if(e&&this.rb)for(i=new ne(this.rb);i.e!=i.i.gc();)L(t=ue(i),364)&&(u(t,364).w=null);op(this,64,e)},o.ii=function(){return In(),q1},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void Jc(this,null);case 2:return void UT(this,null);case 3:return void qT(this,null);case 4:return void Tx(this,null);case 5:return!this.rb&&(this.rb=new iw(this,If,this)),void pe(this.rb);case 6:return!this.vb&&(this.vb=new Fv(Pf,this,6,7)),void pe(this.vb)}Zo(this,e-se((In(),q1)),Nn(u(qn(this,16),29)||q1,e))},o.pi=function(){ax(this)},o.vi=function(){return!this.rb&&(this.rb=new iw(this,If,this)),this.rb},o.wi=function(){return this.sb},o.xi=function(){return this.ub},o.yi=function(){return this.xb},o.zi=function(){return this.yb},o.Ai=function(e){this.ub=e},o.Ib=function(){var e;return 64&this.Db?L5(this):((e=new gs(L5(this))).a+=" (nsURI: ",jr(e,this.yb),e.a+=", nsPrefix: ",jr(e,this.xb),e.a+=")",e.a)},o.xb=null,o.yb=null,w(Hn,"EPackageImpl",184),b(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},MHn),o.q=!1,o.r=!1;var Doe=!1;w(Kd,"ElkGraphPackageImpl",569),b(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},EG),o.Ah=function(e){return VZ(this,e)},o.Lh=function(e,t,i){switch(e){case 7:return yOn(this);case 8:return this.a}return cZ(this,e,t,i)},o.Sh=function(e,t,i){var r;return 7===t?(this.Cb&&(i=(r=this.Db>>16)>=0?VZ(this,i):this.Cb.Th(this,-1-r,null,i)),FV(this,u(e,167),i)):jx(this,e,t,i)},o.Uh=function(e,t,i){return 7==t?FV(this,null,i):cF(this,e,t,i)},o.Wh=function(e){switch(e){case 7:return!!yOn(this);case 8:return!Tn("",this.a)}return lZ(this,e)},o.bi=function(e,t){switch(e){case 7:return void Pen(this,u(t,167));case 8:return void WQ(this,Oe(t))}fnn(this,e,t)},o.ii=function(){return Sc(),Jdn},o.ki=function(e){switch(e){case 7:return void Pen(this,null);case 8:return void WQ(this,"")}pZ(this,e)},o.Ib=function(){return d_n(this)},o.a="",w(Kd,"ElkLabelImpl",366),b(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},d6),o.Ah=function(e){return ZZ(this,e)},o.Lh=function(e,t,i){switch(e){case 9:return!this.c&&(this.c=new q(Yu,this,9,9)),this.c;case 10:return!this.a&&(this.a=new q(Qe,this,10,11)),this.a;case 11:return Ct(this);case 12:return!this.b&&(this.b=new q(Xt,this,12,3)),this.b;case 13:return Kn(),!this.a&&(this.a=new q(Qe,this,10,11)),this.a.i>0}return FZ(this,e,t,i)},o.Sh=function(e,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new q(Yu,this,9,9)),Qc(this.c,e,i);case 10:return!this.a&&(this.a=new q(Qe,this,10,11)),Qc(this.a,e,i);case 11:return this.Cb&&(i=(r=this.Db>>16)>=0?ZZ(this,i):this.Cb.Th(this,-1-r,null,i)),qW(this,u(e,27),i);case 12:return!this.b&&(this.b=new q(Xt,this,12,3)),Qc(this.b,e,i)}return tnn(this,e,t,i)},o.Uh=function(e,t,i){switch(t){case 9:return!this.c&&(this.c=new q(Yu,this,9,9)),rr(this.c,e,i);case 10:return!this.a&&(this.a=new q(Qe,this,10,11)),rr(this.a,e,i);case 11:return qW(this,null,i);case 12:return!this.b&&(this.b=new q(Xt,this,12,3)),rr(this.b,e,i)}return inn(this,e,t,i)},o.Wh=function(e){switch(e){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!Ct(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new q(Qe,this,10,11)),this.a.i>0}return AY(this,e)},o.bi=function(e,t){switch(e){case 9:return!this.c&&(this.c=new q(Yu,this,9,9)),pe(this.c),!this.c&&(this.c=new q(Yu,this,9,9)),void Bt(this.c,u(t,16));case 10:return!this.a&&(this.a=new q(Qe,this,10,11)),pe(this.a),!this.a&&(this.a=new q(Qe,this,10,11)),void Bt(this.a,u(t,16));case 11:return void XA(this,u(t,27));case 12:return!this.b&&(this.b=new q(Xt,this,12,3)),pe(this.b),!this.b&&(this.b=new q(Xt,this,12,3)),void Bt(this.b,u(t,16))}gen(this,e,t)},o.ii=function(){return Sc(),Qdn},o.ki=function(e){switch(e){case 9:return!this.c&&(this.c=new q(Yu,this,9,9)),void pe(this.c);case 10:return!this.a&&(this.a=new q(Qe,this,10,11)),void pe(this.a);case 11:return void XA(this,null);case 12:return!this.b&&(this.b=new q(Xt,this,12,3)),void pe(this.b)}OZ(this,e)},o.Ib=function(){return Gen(this)},w(Kd,"ElkNodeImpl",207),b(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Ez),o.Ah=function(e){return JZ(this,e)},o.Lh=function(e,t,i){return 9==e?Df(this):FZ(this,e,t,i)},o.Sh=function(e,t,i){var r;return 9===t?(this.Cb&&(i=(r=this.Db>>16)>=0?JZ(this,i):this.Cb.Th(this,-1-r,null,i)),NW(this,u(e,27),i)):tnn(this,e,t,i)},o.Uh=function(e,t,i){return 9==t?NW(this,null,i):inn(this,e,t,i)},o.Wh=function(e){return 9==e?!!Df(this):AY(this,e)},o.bi=function(e,t){9!==e?gen(this,e,t):Men(this,u(t,27))},o.ii=function(){return Sc(),Ydn},o.ki=function(e){9!==e?OZ(this,e):Men(this,null)},o.Ib=function(){return eUn(this)},w(Kd,"ElkPortImpl",193);var Noe=Ot(ur,"BasicEMap/Entry");b(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},amn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.Hb=function(){return T0(this)},o.Di=function(e){VQ(this,u(e,149))},o.Lh=function(e,t,i){switch(e){case 0:return this.b;case 1:return this.c}return yA(this,e,t,i)},o.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return null!=this.c}return WF(this,e)},o.bi=function(e,t){switch(e){case 0:return void VQ(this,u(t,149));case 1:return void XQ(this,t)}Lx(this,e,t)},o.ii=function(){return Sc(),ll},o.ki=function(e){switch(e){case 0:return void VQ(this,null);case 1:return void XQ(this,null)}Px(this,e)},o.Bi=function(){var e;return-1==this.a&&(this.a=(e=this.b)?wt(e):0),this.a},o.md=function(){return this.c},o.Ci=function(e){this.a=e},o.nd=function(e){var t;return t=this.c,XQ(this,e),t},o.Ib=function(){var e;return 64&this.Db?Ws(this):(Re(Re(Re(e=new V1,this.b?this.b.Pg():yu),AR),z6(this.c)),e.a)},o.a=-1,o.c=null;var R1=w(Kd,"ElkPropertyToValueMapEntryImpl",1122);b(996,1,{},wmn),w(Hi,"JsonAdapter",996),b(216,63,Rl,oh),w(Hi,"JsonImportException",216),b(868,1,{},lKn),w(Hi,"JsonImporter",868),b(903,1,{},pMn),w(Hi,"JsonImporter/lambda$0$Type",903),b(904,1,{},mMn),w(Hi,"JsonImporter/lambda$1$Type",904),b(912,1,{},Hkn),w(Hi,"JsonImporter/lambda$10$Type",912),b(914,1,{},kMn),w(Hi,"JsonImporter/lambda$11$Type",914),b(915,1,{},yMn),w(Hi,"JsonImporter/lambda$12$Type",915),b(921,1,{},DIn),w(Hi,"JsonImporter/lambda$13$Type",921),b(920,1,{},NIn),w(Hi,"JsonImporter/lambda$14$Type",920),b(916,1,{},jMn),w(Hi,"JsonImporter/lambda$15$Type",916),b(917,1,{},EMn),w(Hi,"JsonImporter/lambda$16$Type",917),b(918,1,{},CMn),w(Hi,"JsonImporter/lambda$17$Type",918),b(919,1,{},MMn),w(Hi,"JsonImporter/lambda$18$Type",919),b(924,1,{},qkn),w(Hi,"JsonImporter/lambda$19$Type",924),b(905,1,{},Ukn),w(Hi,"JsonImporter/lambda$2$Type",905),b(922,1,{},Gkn),w(Hi,"JsonImporter/lambda$20$Type",922),b(923,1,{},zkn),w(Hi,"JsonImporter/lambda$21$Type",923),b(927,1,{},Xkn),w(Hi,"JsonImporter/lambda$22$Type",927),b(925,1,{},Wkn),w(Hi,"JsonImporter/lambda$23$Type",925),b(926,1,{},Vkn),w(Hi,"JsonImporter/lambda$24$Type",926),b(929,1,{},Jkn),w(Hi,"JsonImporter/lambda$25$Type",929),b(928,1,{},Qkn),w(Hi,"JsonImporter/lambda$26$Type",928),b(930,1,re,TMn),o.Cd=function(e){!function T3e(n,e,t){var i,r;r=null,(i=El(n,t))&&(r=Bnn(i)),fRn(e,t,r)}(this.b,this.a,Oe(e))},w(Hi,"JsonImporter/lambda$27$Type",930),b(931,1,re,AMn),o.Cd=function(e){!function A3e(n,e,t){var i,r;r=null,(i=El(n,t))&&(r=Bnn(i)),fRn(e,t,r)}(this.b,this.a,Oe(e))},w(Hi,"JsonImporter/lambda$28$Type",931),b(932,1,{},SMn),w(Hi,"JsonImporter/lambda$29$Type",932),b(908,1,{},Ykn),w(Hi,"JsonImporter/lambda$3$Type",908),b(933,1,{},PMn),w(Hi,"JsonImporter/lambda$30$Type",933),b(934,1,{},Zkn),w(Hi,"JsonImporter/lambda$31$Type",934),b(935,1,{},nyn),w(Hi,"JsonImporter/lambda$32$Type",935),b(936,1,{},eyn),w(Hi,"JsonImporter/lambda$33$Type",936),b(937,1,{},tyn),w(Hi,"JsonImporter/lambda$34$Type",937),b(870,1,{},iyn),w(Hi,"JsonImporter/lambda$35$Type",870),b(941,1,{},ESn),w(Hi,"JsonImporter/lambda$36$Type",941),b(938,1,re,ryn),o.Cd=function(e){!function Lpe(n,e){var t;wd(t=new jv,"x",e.a),wd(t,"y",e.b),Uv(n,t)}(this.a,u(e,377))},w(Hi,"JsonImporter/lambda$37$Type",938),b(939,1,re,IMn),o.Cd=function(e){!function dle(n,e,t){CKn(e,Ox(n,t))}(this.a,this.b,u(e,166))},w(Hi,"JsonImporter/lambda$38$Type",939),b(940,1,re,OMn),o.Cd=function(e){!function ble(n,e,t){CKn(e,Ox(n,t))}(this.a,this.b,u(e,166))},w(Hi,"JsonImporter/lambda$39$Type",940),b(906,1,{},cyn),w(Hi,"JsonImporter/lambda$4$Type",906),b(942,1,re,uyn),o.Cd=function(e){!function Dpe(n,e){var t;wd(t=new jv,"x",e.a),wd(t,"y",e.b),Uv(n,t)}(this.a,u(e,8))},w(Hi,"JsonImporter/lambda$40$Type",942),b(907,1,{},oyn),w(Hi,"JsonImporter/lambda$5$Type",907),b(911,1,{},syn),w(Hi,"JsonImporter/lambda$6$Type",911),b(909,1,{},fyn),w(Hi,"JsonImporter/lambda$7$Type",909),b(910,1,{},hyn),w(Hi,"JsonImporter/lambda$8$Type",910),b(913,1,{},lyn),w(Hi,"JsonImporter/lambda$9$Type",913),b(961,1,re,ayn),o.Cd=function(e){Uv(this.a,new rw(Oe(e)))},w(Hi,"JsonMetaDataConverter/lambda$0$Type",961),b(962,1,re,dyn),o.Cd=function(e){!function Cwe(n,e){Uv(n,new rw(null!=e.f?e.f:""+e.g))}(this.a,u(e,245))},w(Hi,"JsonMetaDataConverter/lambda$1$Type",962),b(963,1,re,byn),o.Cd=function(e){!function E2e(n,e){null!=e.c&&Uv(n,new rw(e.c))}(this.a,u(e,143))},w(Hi,"JsonMetaDataConverter/lambda$2$Type",963),b(964,1,re,wyn),o.Cd=function(e){!function Mwe(n,e){Uv(n,new rw(null!=e.f?e.f:""+e.g))}(this.a,u(e,170))},w(Hi,"JsonMetaDataConverter/lambda$3$Type",964),b(245,22,{3:1,34:1,22:1,245:1},Iv);var NO,$O,UU,FO,xO,BO,GU,zU,$oe,RO=we(Wy,"GraphFeature",245,ke,function s4e(){return F4(),S(T(RO,1),G,245,0,[zU,xO,BO,FO,GU,$O,NO,UU])},function Q0e(n){return F4(),Ee((xFn(),$oe),n)});b(11,1,{34:1,149:1},ct,Pt,Cn,Li),o.Fd=function(e){return function m1e(n,e){return oQ(n.b,e.Pg())}(this,u(e,149))},o.Fb=function(e){return iOn(this,e)},o.Sg=function(){return rn(this)},o.Pg=function(){return this.b},o.Hb=function(){return w1(this.b)},o.Ib=function(){return this.b},w(Wy,"Property",11),b(671,1,Ne,TL),o.Ne=function(e,t){return function P5e(n,e,t){var i,r;return i=u(e.of(n.a),34),r=u(t.of(n.a),34),null!=i&&null!=r?Fk(i,r):null!=i?-1:null!=r?1:0}(this,u(e,96),u(t,96))},o.Fb=function(e){return this===e},o.Oe=function(){return new Te(this)},w(Wy,"PropertyHolderComparator",671),b(709,1,Ti,rz),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return function I3e(n){var e;if(!n.a)throw M(new LIn);return e=n.a,n.a=Ct(n.a),e}(this)},o.Qb=function(){lEn()},o.Ob=function(){return!!this.a},w(uP,"ElkGraphUtil/AncestorIterator",709);var n0n=Ot(ur,"EList");b(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),o.bd=function(e,t){N5(this,e,t)},o.Fc=function(e){return me(this,e)},o.cd=function(e,t){return pY(this,e,t)},o.Gc=function(e){return Bt(this,e)},o.Ii=function(){return new $v(this)},o.Ji=function(){return new q7(this)},o.Ki=function(e){return $k(this,e)},o.Li=function(){return!0},o.Mi=function(e,t){},o.Ni=function(){},o.Oi=function(e,t){T$(this,e,t)},o.Pi=function(e,t,i){},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Fb=function(e){return Rqn(this,e)},o.Hb=function(){return bY(this)},o.Si=function(){return!1},o.Kc=function(){return new ne(this)},o.ed=function(){return new Nv(this)},o.fd=function(e){var t;if(t=this.gc(),e<0||e>t)throw M(new ew(e,t));return new ON(this,e)},o.Ui=function(e,t){this.Ti(e,this.dd(t))},o.Mc=function(e){return ET(this,e)},o.Wi=function(e,t){return t},o.hd=function(e,t){return n2(this,e,t)},o.Ib=function(){return sZ(this)},o.Yi=function(){return!0},o.Zi=function(e,t){return g4(this,t)},w(ur,"AbstractEList",70),b(66,70,Ih,HE,q0,sY),o.Ei=function(e,t){return Ex(this,e,t)},o.Fi=function(e){return FRn(this,e)},o.Gi=function(e,t){Jk(this,e,t)},o.Hi=function(e){mk(this,e)},o.$i=function(e){return jQ(this,e)},o.$b=function(){g5(this)},o.Hc=function(e){return L4(this,e)},o.Xb=function(e){return D(this,e)},o._i=function(e){var t,i,r;++this.j,e>(i=null==this.g?0:this.g.length)&&(r=this.g,(t=i+(i/2|0)+4)=0&&(this.gd(t),!0)},o.Xi=function(e,t){return this.Dj(e,this.Zi(e,t))},o.gc=function(){return this.Ej()},o.Pc=function(){return this.Fj()},o.Qc=function(e){return this.Gj(e)},o.Ib=function(){return this.Hj()},w(ur,"DelegatingEList",2093),b(2094,2093,tJn),o.Ei=function(e,t){return itn(this,e,t)},o.Fi=function(e){return this.Ei(this.Ej(),e)},o.Gi=function(e,t){THn(this,e,t)},o.Hi=function(e){bHn(this,e)},o.Li=function(){return!this.Mj()},o.$b=function(){h8(this)},o.Ij=function(e,t,i,r,c){return new tOn(this,e,t,i,r,c)},o.Jj=function(e){tt(this.jj(),e)},o.Kj=function(){return null},o.Lj=function(){return-1},o.jj=function(){return null},o.Mj=function(){return!1},o.Nj=function(e,t){return t},o.Oj=function(e,t){return t},o.Pj=function(){return!1},o.Qj=function(){return!this.Aj()},o.Ti=function(e,t){var i,r;return this.Pj()?(r=this.Qj(),i=Pnn(this,e,t),this.Jj(this.Ij(7,Y(t),i,e,r)),i):Pnn(this,e,t)},o.gd=function(e){var t,i,r,c;return this.Pj()?(i=null,r=this.Qj(),t=this.Ij(4,c=yM(this,e),null,e,r),this.Mj()&&c?(i=this.Oj(c,i))?(i.nj(t),i.oj()):this.Jj(t):i?(i.nj(t),i.oj()):this.Jj(t),c):(c=yM(this,e),this.Mj()&&c&&(i=this.Oj(c,null))&&i.oj(),c)},o.Xi=function(e,t){return DUn(this,e,t)},w(Ip,"DelegatingNotifyingListImpl",2094),b(152,1,lj),o.nj=function(e){return bnn(this,e)},o.oj=function(){N$(this)},o.gj=function(){return this.d},o.Kj=function(){return null},o.Rj=function(){return null},o.hj=function(e){return-1},o.ij=function(){return kqn(this)},o.jj=function(){return null},o.kj=function(){return Nen(this)},o.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},o.Sj=function(){return!1},o.mj=function(e){var t,r,f,h,l,a,d,g;switch(this.d){case 1:case 2:switch(e.gj()){case 1:case 2:if(x(e.jj())===x(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),1==e.gj()&&(this.d=1),!0}case 4:if(4===e.gj()&&x(e.jj())===x(this.jj())&&this.hj(null)==e.hj(null))return a=ktn(this),l=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=e.lj(),this.d=6,g=new q0(2),l<=f?(me(g,this.n),me(g,e.kj()),this.g=S(T(ye,1),_e,28,15,[this.o=l,f+1])):(me(g,e.kj()),me(g,this.n),this.g=S(T(ye,1),_e,28,15,[this.o=f,l])),this.n=g,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===e.gj()&&x(e.jj())===x(this.jj())&&this.hj(null)==e.hj(null)){for(a=ktn(this),f=e.lj(),d=u(this.g,53),r=K(ye,_e,28,d.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:r.a+="SET";break;case 2:r.a+="UNSET";break;case 3:r.a+="ADD";break;case 5:r.a+="ADD_MANY";break;case 4:r.a+="REMOVE";break;case 6:r.a+="REMOVE_MANY";break;case 7:r.a+="MOVE";break;case 8:r.a+="REMOVING_ADAPTER";break;case 9:r.a+="RESOLVE";break;default:JL(r,this.d)}if(oUn(this)&&(r.a+=", touch: true"),r.a+=", position: ",JL(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",K6(r,this.jj()),r.a+=", feature: ",K6(r,this.Kj()),r.a+=", oldValue: ",K6(r,Nen(this)),r.a+=", newValue: ",6==this.d&&L(this.g,53)){for(i=u(this.g,53),r.a+="[",e=0;e10?((!this.b||this.c.j!=this.a)&&(this.b=new Y6(this),this.a=this.j),bf(this.b,e)):L4(this,e)},o.Yi=function(){return!0},o.a=0,w(ur,"AbstractEList/1",966),b(302,77,QB,ew),w(ur,"AbstractEList/BasicIndexOutOfBoundsException",302),b(37,1,Ti,ne),o.Nb=function(e){Ri(this,e)},o.Xj=function(){if(this.i.j!=this.f)throw M(new Ho)},o.Yj=function(){return ue(this)},o.Ob=function(){return this.e!=this.i.gc()},o.Pb=function(){return this.Yj()},o.Qb=function(){z5(this)},o.e=0,o.f=0,o.g=-1,w(ur,"AbstractEList/EIterator",37),b(286,37,Jh,Nv,ON),o.Qb=function(){z5(this)},o.Rb=function(e){NBn(this,e)},o.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw L(t=At(t),77)?(this.Xj(),M(new tc)):M(t)}},o.$j=function(e){RRn(this,e)},o.Sb=function(){return 0!=this.e},o.Tb=function(){return this.e},o.Ub=function(){return this.Zj()},o.Vb=function(){return this.e-1},o.Wb=function(e){this.$j(e)},w(ur,"AbstractEList/EListIterator",286),b(355,37,Ti,$v),o.Yj=function(){return VF(this)},o.Qb=function(){throw M(new Pe)},w(ur,"AbstractEList/NonResolvingEIterator",355),b(398,286,Jh,q7,JW),o.Rb=function(e){throw M(new Pe)},o.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(t){throw L(t=At(t),77)?(this.Xj(),M(new tc)):M(t)}},o.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(t){throw L(t=At(t),77)?(this.Xj(),M(new tc)):M(t)}},o.Qb=function(){throw M(new Pe)},o.Wb=function(e){throw M(new Pe)},w(ur,"AbstractEList/NonResolvingEListIterator",398),b(2080,70,iJn),o.Ei=function(e,t){var r,c,s,f,l,a,d,g;if(0!=(c=t.gc())){for(r=pF(this,(d=null==(a=u(qn(this.a,4),129))?0:a.length)+c),(g=d-e)>0&&Nc(a,e,r,e+c,g),l=t.Kc(),f=0;fi)throw M(new ew(e,i));return new CIn(this,e)},o.$b=function(){var e,t;++this.j,t=null==(e=u(qn(this.a,4),129))?0:e.length,S4(this,null),T$(this,t,e)},o.Hc=function(e){var t,r,c,s;if(null!=(t=u(qn(this.a,4),129)))if(null!=e){for(c=0,s=(r=t).length;c=(i=null==(t=u(qn(this.a,4),129))?0:t.length))throw M(new ew(e,i));return t[e]},o.dd=function(e){var t,i,r;if(null!=(t=u(qn(this.a,4),129)))if(null!=e){for(i=0,r=t.length;ii)throw M(new ew(e,i));return new EIn(this,e)},o.Ti=function(e,t){var i,r,c;if(e>=(c=null==(i=UBn(this))?0:i.length))throw M(new Ar(qK+e+_d+c));if(t>=c)throw M(new Ar(UK+t+_d+c));return r=i[t],e!=t&&(e=(s=null==(t=u(qn(n.a,4),129))?0:t.length))throw M(new ew(e,s));return r=t[e],1==s?i=null:(Nc(t,0,i=K(WU,VK,424,s-1,0,1),0,e),(c=s-e-1)>0&&Nc(t,e+1,i,e,c)),S4(n,i),O_n(n,e,r),r}(this,e)},o.Xi=function(e,t){var i,r;return r=(i=UBn(this))[e],HD(i,e,g4(this,t)),S4(this,i),r},o.gc=function(){var e;return null==(e=u(qn(this.a,4),129))?0:e.length},o.Pc=function(){var e,t,i;return e=u(qn(this.a,4),129),t=K(WU,VK,424,i=null==e?0:e.length,0,1),i>0&&Nc(e,0,t,0,i),t},o.Qc=function(e){var t,r;return(r=null==(t=u(qn(this.a,4),129))?0:t.length)>0&&(e.lengthr&&Dt(e,r,null),e},w(ur,"ArrayDelegatingEList",2080),b(1051,37,Ti,MDn),o.Xj=function(){if(this.b.j!=this.f||x(u(qn(this.b.a,4),129))!==x(this.a))throw M(new Ho)},o.Qb=function(){z5(this),this.a=u(qn(this.b.a,4),129)},w(ur,"ArrayDelegatingEList/EIterator",1051),b(722,286,Jh,xPn,EIn),o.Xj=function(){if(this.b.j!=this.f||x(u(qn(this.b.a,4),129))!==x(this.a))throw M(new Ho)},o.$j=function(e){RRn(this,e),this.a=u(qn(this.b.a,4),129)},o.Qb=function(){z5(this),this.a=u(qn(this.b.a,4),129)},w(ur,"ArrayDelegatingEList/EListIterator",722),b(1052,355,Ti,TDn),o.Xj=function(){if(this.b.j!=this.f||x(u(qn(this.b.a,4),129))!==x(this.a))throw M(new Ho)},w(ur,"ArrayDelegatingEList/NonResolvingEIterator",1052),b(723,398,Jh,BPn,CIn),o.Xj=function(){if(this.b.j!=this.f||x(u(qn(this.b.a,4),129))!==x(this.a))throw M(new Ho)},w(ur,"ArrayDelegatingEList/NonResolvingEListIterator",723),b(615,302,QB,FD),w(ur,"BasicEList/BasicIndexOutOfBoundsException",615),b(710,66,Ih,BX),o.bd=function(e,t){throw M(new Pe)},o.Fc=function(e){throw M(new Pe)},o.cd=function(e,t){throw M(new Pe)},o.Gc=function(e){throw M(new Pe)},o.$b=function(){throw M(new Pe)},o._i=function(e){throw M(new Pe)},o.Kc=function(){return this.Ii()},o.ed=function(){return this.Ji()},o.fd=function(e){return this.Ki(e)},o.Ti=function(e,t){throw M(new Pe)},o.Ui=function(e,t){throw M(new Pe)},o.gd=function(e){throw M(new Pe)},o.Mc=function(e){throw M(new Pe)},o.hd=function(e,t){throw M(new Pe)},w(ur,"BasicEList/UnmodifiableEList",710),b(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),o.bd=function(e,t){!function o1e(n,e,t){n.c.bd(e,u(t,136))}(this,e,u(t,44))},o.Fc=function(e){return function nae(n,e){return n.c.Fc(u(e,136))}(this,u(e,44))},o.Jc=function(e){_i(this,e)},o.Xb=function(e){return u(D(this.c,e),136)},o.Ti=function(e,t){return u(this.c.Ti(e,t),44)},o.Ui=function(e,t){!function s1e(n,e,t){n.c.Ui(e,u(t,136))}(this,e,u(t,44))},o.Lc=function(){return new Mn(null,new Pn(this,16))},o.gd=function(e){return u(this.c.gd(e),44)},o.hd=function(e,t){return function Ewe(n,e,t){return u(n.c.hd(e,u(t,136)),44)}(this,e,u(t,44))},o.jd=function(e){yd(this,e)},o.Nc=function(){return new Pn(this,16)},o.Oc=function(){return new Mn(null,new Pn(this,16))},o.cd=function(e,t){return this.c.cd(e,t)},o.Gc=function(e){return this.c.Gc(e)},o.$b=function(){this.c.$b()},o.Hc=function(e){return this.c.Hc(e)},o.Ic=function(e){return _k(this.c,e)},o._j=function(){var t,i;if(null==this.d){for(this.d=K(e0n,aun,66,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)MA(this,u(t.Yj(),136));this.e=i}},o.Fb=function(e){return lSn(this,e)},o.Hb=function(){return bY(this.c)},o.dd=function(e){return this.c.dd(e)},o.ak=function(){this.c=new gyn(this)},o.dc=function(){return 0==this.f},o.Kc=function(){return this.c.Kc()},o.ed=function(){return this.c.ed()},o.fd=function(e){return this.c.fd(e)},o.bk=function(){return jk(this)},o.ck=function(e,t,i){return new CSn(e,t,i)},o.dk=function(){return new mmn},o.Mc=function(e){return Q$n(this,e)},o.gc=function(){return this.f},o.kd=function(e,t){return new f1(this.c,e,t)},o.Pc=function(){return this.c.Pc()},o.Qc=function(e){return this.c.Qc(e)},o.Ib=function(){return sZ(this.c)},o.e=0,o.f=0,w(ur,"BasicEMap",721),b(1046,66,Ih,gyn),o.Mi=function(e,t){!function Rfe(n,e){MA(n.a,e)}(this,u(t,136))},o.Pi=function(e,t,i){++(this,u(t,136),this).a.e},o.Qi=function(e,t){!function Kfe(n,e){PF(n.a,e)}(this,u(t,136))},o.Ri=function(e,t,i){!function R1e(n,e,t){PF(n.a,t),MA(n.a,e)}(this,u(t,136),u(i,136))},o.Oi=function(e,t){UFn(this.a)},w(ur,"BasicEMap/1",1046),b(1047,66,Ih,mmn),o.aj=function(e){return K(ANe,rJn,621,e,0,1)},w(ur,"BasicEMap/2",1047),b(1048,Gf,Fu,vyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return RF(this.a,e)},o.Kc=function(){return 0==this.a.f?(I3(),SE.a):new Zjn(this.a)},o.Mc=function(e){var t;return t=this.a.f,dA(this.a,e),this.a.f!=t},o.gc=function(){return this.a.f},w(ur,"BasicEMap/3",1048),b(1049,31,Lw,pyn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){return Kqn(this.a,e)},o.Kc=function(){return 0==this.a.f?(I3(),SE.a):new nEn(this.a)},o.gc=function(){return this.a.f},w(ur,"BasicEMap/4",1049),b(1050,Gf,Fu,myn),o.$b=function(){this.a.c.$b()},o.Hc=function(e){var t,i,r,c,s,f,h,l,a;if(this.a.f>0&&L(e,44)&&(this.a._j(),c=null==(h=(l=u(e,44)).ld())?0:wt(h),s=$W(this.a,c),t=this.a.d[s]))for(i=u(t.g,379),a=t.i,f=0;f"+this.c},o.a=0;var SE,ANe=w(ur,"BasicEMap/EntryImpl",621);b(546,1,{},qE),w(ur,"BasicEMap/View",546),b(783,1,{}),o.Fb=function(e){return ven((On(),Vi),e)},o.Hb=function(){return TY((On(),Vi))},o.Ib=function(){return pa((On(),Vi))},w(ur,"ECollections/BasicEmptyUnmodifiableEList",783),b(1348,1,Jh,kmn),o.Nb=function(e){Ri(this,e)},o.Rb=function(e){throw M(new Pe)},o.Ob=function(){return!1},o.Sb=function(){return!1},o.Pb=function(){throw M(new tc)},o.Tb=function(){return 0},o.Ub=function(){throw M(new tc)},o.Vb=function(){return-1},o.Qb=function(){throw M(new Pe)},o.Wb=function(e){throw M(new Pe)},w(ur,"ECollections/BasicEmptyUnmodifiableEList/1",1348),b(1346,783,{20:1,16:1,15:1,61:1},fjn),o.bd=function(e,t){CEn()},o.Fc=function(e){return MEn()},o.cd=function(e,t){return TEn()},o.Gc=function(e){return AEn()},o.$b=function(){SEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){_i(this,e)},o.Xb=function(e){return _X((On(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return PEn()},o.Ui=function(e,t){IEn()},o.Lc=function(){return new Mn(null,new Pn(this,16))},o.gd=function(e){return OEn()},o.Mc=function(e){return LEn()},o.hd=function(e,t){return DEn()},o.gc=function(){return 0},o.jd=function(e){yd(this,e)},o.Nc=function(){return new Pn(this,16)},o.Oc=function(){return new Mn(null,new Pn(this,16))},o.kd=function(e,t){return On(),new f1(Vi,e,t)},o.Pc=function(){return BV((On(),Vi))},o.Qc=function(e){return On(),H5(Vi,e)},w(ur,"ECollections/EmptyUnmodifiableEList",1346),b(1347,783,{20:1,16:1,15:1,61:1,597:1},hjn),o.bd=function(e,t){CEn()},o.Fc=function(e){return MEn()},o.cd=function(e,t){return TEn()},o.Gc=function(e){return AEn()},o.$b=function(){SEn()},o.Hc=function(e){return!1},o.Ic=function(e){return!1},o.Jc=function(e){_i(this,e)},o.Xb=function(e){return _X((On(),e)),null},o.dd=function(e){return-1},o.dc=function(){return!0},o.Kc=function(){return this.a},o.ed=function(){return this.a},o.fd=function(e){return this.a},o.Ti=function(e,t){return PEn()},o.Ui=function(e,t){IEn()},o.Lc=function(){return new Mn(null,new Pn(this,16))},o.gd=function(e){return OEn()},o.Mc=function(e){return LEn()},o.hd=function(e,t){return DEn()},o.gc=function(){return 0},o.jd=function(e){yd(this,e)},o.Nc=function(){return new Pn(this,16)},o.Oc=function(){return new Mn(null,new Pn(this,16))},o.kd=function(e,t){return On(),new f1(Vi,e,t)},o.Pc=function(){return BV((On(),Vi))},o.Qc=function(e){return On(),H5(Vi,e)},o.bk=function(){return On(),On(),il},w(ur,"ECollections/EmptyUnmodifiableEMap",1347);var KO,i0n=Ot(ur,"Enumerator");b(288,1,{288:1},zx),o.Fb=function(e){var t;return this===e||!!L(e,288)&&(t=u(e,288),this.f==t.f&&function Rbe(n,e){return null==n?null==e:wA(n,e)}(this.i,t.i)&&mN(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&mN(this.d,t.d)&&mN(this.g,t.g)&&mN(this.e,t.e)&&function f9e(n,e){var t,i;if(n.j.length!=e.j.length)return!1;for(t=0,i=n.j.length;t=0?n.ki(t):Qnn(n,e)}(this.a,this.b)},w(Hn,"BasicEObjectImpl/4",1040),b(2081,1,{114:1}),o.Mk=function(e){this.e=0==e?nse:K(pi,xn,1,e,5,1)},o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Nk=function(){return this.c},o.Ok=function(){throw M(new Pe)},o.Pk=function(){throw M(new Pe)},o.Qk=function(){return this.d},o.Rk=function(){return null!=this.e},o.Sk=function(e){this.c=e},o.Tk=function(e){throw M(new Pe)},o.Uk=function(e){throw M(new Pe)},o.Vk=function(e){this.d=e},w(Hn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),b(192,2081,{114:1},af),o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},w(Hn,"BasicEObjectImpl/EPropertiesHolderImpl",192),b(516,99,pVn,UE),o.uh=function(){return this.f},o.zh=function(){return this.k},o.Bh=function(e,t){this.g=e,this.i=t},o.Dh=function(){return 2&this.j?this.$h().Nk():this.ii()},o.Fh=function(){return this.i},o.wh=function(){return 0!=(1&this.j)},o.Ph=function(){return this.g},o.Vh=function(){return 0!=(4&this.j)},o.$h=function(){return!this.k&&(this.k=new af),this.k},o.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},o.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},o.ii=function(){return(ra(),_n).S},o.i=0,o.j=1,w(Hn,"EObjectImpl",516),b(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},yV),o.li=function(e){return this.e[e]},o.mi=function(e,t){this.e[e]=t},o.ni=function(e){this.e[e]=null},o.Dh=function(){return this.d},o.Ih=function(e){return St(this.d,e)},o.Kh=function(){return this.d},o.Oh=function(){return null!=this.e},o.$h=function(){return!this.k&&(this.k=new ymn),this.k},o.ci=function(e){this.d=e},o.hi=function(){var e;return null==this.e&&(e=se(this.d),this.e=0==e?ese:K(pi,xn,1,e,5,1)),this},o.ji=function(){return 0},w(Hn,"DynamicEObjectImpl",798),b(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},VSn),o.Fb=function(e){return this===e},o.Hb=function(){return T0(this)},o.ci=function(e){this.d=e,this.b=Ey(e,"key"),this.c=Ey(e,D8)},o.Bi=function(){var e;return-1==this.a&&(e=$$(this,this.b),this.a=null==e?0:wt(e)),this.a},o.ld=function(){return $$(this,this.b)},o.md=function(){return $$(this,this.c)},o.Ci=function(e){this.a=e},o.Di=function(e){TJ(this,this.b,e)},o.nd=function(e){var t;return t=$$(this,this.c),TJ(this,this.c,e),t},o.a=0,w(Hn,"DynamicEObjectImpl/BasicEMapEntry",1522),b(1523,1,{114:1},ymn),o.Mk=function(e){throw M(new Pe)},o.li=function(e){throw M(new Pe)},o.mi=function(e,t){throw M(new Pe)},o.ni=function(e){throw M(new Pe)},o.Nk=function(){throw M(new Pe)},o.Ok=function(){return this.a},o.Pk=function(){return this.b},o.Qk=function(){return this.c},o.Rk=function(){throw M(new Pe)},o.Sk=function(e){throw M(new Pe)},o.Tk=function(e){this.a=e},o.Uk=function(e){this.b=e},o.Vk=function(e){this.c=e},w(Hn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),b(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},CG),o.Ah=function(e){return QZ(this,e)},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new wo((In(),hr),kc,this)),this.b):(!this.b&&(this.b=new wo((In(),hr),kc,this)),jk(this.b));case 3:return jOn(this);case 4:return!this.a&&(this.a=new ni(Ua,this,4)),this.a;case 5:return!this.c&&(this.c=new Bg(Ua,this,5)),this.c}return Jo(this,e-se((In(),K1)),Nn(u(qn(this,16),29)||K1,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 3:return this.Cb&&(i=(c=this.Db>>16)>=0?QZ(this,i):this.Cb.Th(this,-1-c,null,i)),xV(this,u(e,155),i)}return u(Nn(u(qn(this,16),29)||(In(),K1),t),69).wk().zk(this,uu(this),t-se((In(),K1)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 2:return!this.b&&(this.b=new wo((In(),hr),kc,this)),fM(this.b,e,i);case 3:return xV(this,null,i);case 4:return!this.a&&(this.a=new ni(Ua,this,4)),rr(this.a,e,i)}return u(Nn(u(qn(this,16),29)||(In(),K1),t),69).wk().Ak(this,uu(this),t-se((In(),K1)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!jOn(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return Wo(this,e-se((In(),K1)),Nn(u(qn(this,16),29)||K1,e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void function Tbe(n,e){YQ(n,null==e?null:(Jn(e),e))}(this,Oe(t));case 2:return!this.b&&(this.b=new wo((In(),hr),kc,this)),void GT(this.b,t);case 3:return void oqn(this,u(t,155));case 4:return!this.a&&(this.a=new ni(Ua,this,4)),pe(this.a),!this.a&&(this.a=new ni(Ua,this,4)),void Bt(this.a,u(t,16));case 5:return!this.c&&(this.c=new Bg(Ua,this,5)),pe(this.c),!this.c&&(this.c=new Bg(Ua,this,5)),void Bt(this.c,u(t,16))}ns(this,e-se((In(),K1)),Nn(u(qn(this,16),29)||K1,e),t)},o.ii=function(){return In(),K1},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void YQ(this,null);case 2:return!this.b&&(this.b=new wo((In(),hr),kc,this)),void this.b.c.$b();case 3:return void oqn(this,null);case 4:return!this.a&&(this.a=new ni(Ua,this,4)),void pe(this.a);case 5:return!this.c&&(this.c=new Bg(Ua,this,5)),void pe(this.c)}Zo(this,e-se((In(),K1)),Nn(u(qn(this,16),29)||K1,e))},o.Ib=function(){return lBn(this)},o.d=null,w(Hn,"EAnnotationImpl",519),b(141,721,dun,Du),o.Gi=function(e,t){!function Ule(n,e,t){u(n.c,71).Gi(e,t)}(this,e,u(t,44))},o.Wk=function(e,t){return function zae(n,e,t){return u(n.c,71).Wk(e,t)}(this,u(e,44),t)},o.$i=function(e){return u(u(this.c,71).$i(e),136)},o.Ii=function(){return u(this.c,71).Ii()},o.Ji=function(){return u(this.c,71).Ji()},o.Ki=function(e){return u(this.c,71).Ki(e)},o.Xk=function(e,t){return fM(this,e,t)},o.Fk=function(e){return u(this.c,79).Fk(e)},o.ak=function(){},o.Qj=function(){return u(this.c,79).Qj()},o.ck=function(e,t,i){var r;return(r=u(Mo(this.b).wi().si(this.b),136)).Ci(e),r.Di(t),r.nd(i),r},o.dk=function(){return new uz(this)},o.Wb=function(e){GT(this,e)},o.Gk=function(){u(this.c,79).Gk()},w(Et,"EcoreEMap",141),b(165,141,dun,wo),o._j=function(){var e,t,i,c,s;if(null==this.d){for(s=K(e0n,aun,66,2*this.f+1,0,1),i=this.c.Kc();i.e!=i.i.gc();)!(e=s[c=((t=u(i.Yj(),136)).Bi()&nt)%s.length])&&(e=s[c]=new uz(this)),e.Fc(t);this.d=s}},w(Hn,"EAnnotationImpl/1",165),b(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),!!this.Jk();case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q}return Jo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 9:return NN(this,i)}return u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().Ak(this,uu(this),t-se(this.ii()),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i)}return Wo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.bi=function(e,t){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void this.ui(Oe(t));case 2:return void p1(this,on(un(t)));case 3:return void m1(this,on(un(t)));case 4:return void b1(this,u(t,17).a);case 5:return void this.Zk(u(t,17).a);case 8:return void Ad(this,u(t,142));case 9:return void((r=qf(this,u(t,89),null))&&r.oj())}ns(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t)},o.ii=function(){return In(),Zoe},o.ki=function(e){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void this.ui(null);case 2:return void p1(this,!0);case 3:return void m1(this,!0);case 4:return void b1(this,0);case 5:return void this.Zk(1);case 8:return void Ad(this,null);case 9:return void((i=qf(this,null,null))&&i.oj())}Zo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.pi=function(){ys(this),this.Bb|=1},o.Hk=function(){return ys(this)},o.Ik=function(){return this.t},o.Jk=function(){var e;return(e=this.t)>1||-1==e},o.Si=function(){return 0!=(512&this.Bb)},o.Yk=function(e,t){return GY(this,e,t)},o.Zk=function(e){bw(this,e)},o.Ib=function(){return sen(this)},o.s=0,o.t=1,w(Hn,"ETypedElementImpl",292),b(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),o.Ah=function(e){return nKn(this,e)},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),!!this.Jk();case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q;case 10:return Kn(),!!(this.Bb&Qs);case 11:return Kn(),!!(this.Bb&_w);case 12:return Kn(),!!(this.Bb&Nw);case 13:return this.j;case 14:return B4(this);case 15:return Kn(),!!(this.Bb&Bu);case 16:return Kn(),!!(this.Bb&yh);case 17:return uw(this)}return Jo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 17:return this.Cb&&(i=(c=this.Db>>16)>=0?nKn(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,17,i)}return u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().zk(this,uu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 9:return NN(this,i);case 17:return Oo(this,null,17,i)}return u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().Ak(this,uu(this),t-se(this.ii()),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i);case 10:return 0==(this.Bb&Qs);case 11:return 0!=(this.Bb&_w);case 12:return 0!=(this.Bb&Nw);case 13:return null!=this.j;case 14:return null!=B4(this);case 15:return 0!=(this.Bb&Bu);case 16:return 0!=(this.Bb&yh);case 17:return!!uw(this)}return Wo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.bi=function(e,t){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void o$(this,Oe(t));case 2:return void p1(this,on(un(t)));case 3:return void m1(this,on(un(t)));case 4:return void b1(this,u(t,17).a);case 5:return void this.Zk(u(t,17).a);case 8:return void Ad(this,u(t,142));case 9:return void((r=qf(this,u(t,89),null))&&r.oj());case 10:return void y4(this,on(un(t)));case 11:return void C4(this,on(un(t)));case 12:return void j4(this,on(un(t)));case 13:return void xX(this,Oe(t));case 15:return void E4(this,on(un(t)));case 16:return void M4(this,on(un(t)))}ns(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t)},o.ii=function(){return In(),Yoe},o.ki=function(e){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,90)&&Mw(no(u(this.Cb,90)),4),void Jc(this,null);case 2:return void p1(this,!0);case 3:return void m1(this,!0);case 4:return void b1(this,0);case 5:return void this.Zk(1);case 8:return void Ad(this,null);case 9:return void((i=qf(this,null,null))&&i.oj());case 10:return void y4(this,!0);case 11:return void C4(this,!1);case 12:return void j4(this,!1);case 13:return this.i=null,void RT(this,null);case 15:return void E4(this,!1);case 16:return void M4(this,!1)}Zo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.pi=function(){_3(Ir(($u(),Ui),this)),ys(this),this.Bb|=1},o.pk=function(){return this.f},o.ik=function(){return B4(this)},o.qk=function(){return uw(this)},o.uk=function(){return null},o.$k=function(){return this.k},o.Lj=function(){return this.n},o.vk=function(){return DA(this)},o.wk=function(){var e,t,i,r,c,s,f,h,l;return this.p||(null==(i=uw(this)).i&&kh(i),(r=this.uk())&&se(uw(r)),e=(f=(c=ys(this)).kk())?1&f.i?f==fo?qt:f==ye?qi:f==kg?km:f==Ai?ui:f==Ja?vb:f==fv?pb:f==Ku?Op:U8:f:null,t=B4(this),h=c.ik(),K5e(this),this.p=this.Bb&yh&&((s=rnn(($u(),Ui),i))&&s!=this||(s=Vv(Ir(Ui,this))))?new xMn(this,s):this.Jk()?this.al()?r?this.Bb&Bu?e?this.bl()?new bd(47,e,this,r):new bd(5,e,this,r):this.bl()?new md(46,this,r):new md(4,this,r):e?this.bl()?new bd(49,e,this,r):new bd(7,e,this,r):this.bl()?new md(48,this,r):new md(6,this,r):this.Bb&Bu?e?e==Ud?new u1(50,Noe,this):this.bl()?new u1(43,e,this):new u1(1,e,this):this.bl()?new s1(42,this):new s1(0,this):e?e==Ud?new u1(41,Noe,this):this.bl()?new u1(45,e,this):new u1(3,e,this):this.bl()?new s1(44,this):new s1(2,this):L(c,156)?e==qO?new s1(40,this):512&this.Bb?this.Bb&Bu?e?new u1(9,e,this):new s1(8,this):e?new u1(11,e,this):new s1(10,this):this.Bb&Bu?e?new u1(13,e,this):new s1(12,this):e?new u1(15,e,this):new s1(14,this):r?(l=r.t)>1||-1==l?this.bl()?this.Bb&Bu?e?new bd(25,e,this,r):new md(24,this,r):e?new bd(27,e,this,r):new md(26,this,r):this.Bb&Bu?e?new bd(29,e,this,r):new md(28,this,r):e?new bd(31,e,this,r):new md(30,this,r):this.bl()?this.Bb&Bu?e?new bd(33,e,this,r):new md(32,this,r):e?new bd(35,e,this,r):new md(34,this,r):this.Bb&Bu?e?new bd(37,e,this,r):new md(36,this,r):e?new bd(39,e,this,r):new md(38,this,r):this.bl()?this.Bb&Bu?e?new u1(17,e,this):new s1(16,this):e?new u1(19,e,this):new s1(18,this):this.Bb&Bu?e?new u1(21,e,this):new s1(20,this):e?new u1(23,e,this):new s1(22,this):this._k()?this.bl()?new MSn(u(c,29),this,r):new CJ(u(c,29),this,r):L(c,156)?e==qO?new s1(40,this):this.Bb&Bu?e?new CPn(t,h,this,(KF(),f==ye?p0n:f==fo?d0n:f==Ja?m0n:f==kg?v0n:f==Ai?g0n:f==fv?k0n:f==Ku?b0n:f==ds?w0n:YU)):new xIn(u(c,156),t,h,this):e?new EPn(t,h,this,(KF(),f==ye?p0n:f==fo?d0n:f==Ja?m0n:f==kg?v0n:f==Ai?g0n:f==fv?k0n:f==Ku?b0n:f==ds?w0n:YU)):new FIn(u(c,156),t,h,this):this.al()?r?this.Bb&Bu?this.bl()?new ASn(u(c,29),this,r):new fV(u(c,29),this,r):this.bl()?new TSn(u(c,29),this,r):new aN(u(c,29),this,r):this.Bb&Bu?this.bl()?new EAn(u(c,29),this):new EW(u(c,29),this):this.bl()?new jAn(u(c,29),this):new ZD(u(c,29),this):this.bl()?r?this.Bb&Bu?new SSn(u(c,29),this,r):new oV(u(c,29),this,r):this.Bb&Bu?new CAn(u(c,29),this):new CW(u(c,29),this):r?this.Bb&Bu?new PSn(u(c,29),this,r):new sV(u(c,29),this,r):this.Bb&Bu?new MAn(u(c,29),this):new TM(u(c,29),this)),this.p},o.rk=function(){return 0!=(this.Bb&Qs)},o._k=function(){return!1},o.al=function(){return!1},o.sk=function(){return 0!=(this.Bb&yh)},o.xk=function(){return F$(this)},o.bl=function(){return!1},o.tk=function(){return 0!=(this.Bb&Bu)},o.cl=function(e){this.k=e},o.ui=function(e){o$(this,e)},o.Ib=function(){return nS(this)},o.e=!1,o.n=0,w(Hn,"EStructuralFeatureImpl",462),b(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},DL),o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),!!ten(this);case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q;case 10:return Kn(),!!(this.Bb&Qs);case 11:return Kn(),!!(this.Bb&_w);case 12:return Kn(),!!(this.Bb&Nw);case 13:return this.j;case 14:return B4(this);case 15:return Kn(),!!(this.Bb&Bu);case 16:return Kn(),!!(this.Bb&yh);case 17:return uw(this);case 18:return Kn(),!!(this.Bb&Cc);case 19:return t?uF(this):KDn(this)}return Jo(this,e-se((In(),vg)),Nn(u(qn(this,16),29)||vg,e),t,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return ten(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i);case 10:return 0==(this.Bb&Qs);case 11:return 0!=(this.Bb&_w);case 12:return 0!=(this.Bb&Nw);case 13:return null!=this.j;case 14:return null!=B4(this);case 15:return 0!=(this.Bb&Bu);case 16:return 0!=(this.Bb&yh);case 17:return!!uw(this);case 18:return 0!=(this.Bb&Cc);case 19:return!!KDn(this)}return Wo(this,e-se((In(),vg)),Nn(u(qn(this,16),29)||vg,e))},o.bi=function(e,t){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void o$(this,Oe(t));case 2:return void p1(this,on(un(t)));case 3:return void m1(this,on(un(t)));case 4:return void b1(this,u(t,17).a);case 5:return void iEn(this,u(t,17).a);case 8:return void Ad(this,u(t,142));case 9:return void((r=qf(this,u(t,89),null))&&r.oj());case 10:return void y4(this,on(un(t)));case 11:return void C4(this,on(un(t)));case 12:return void j4(this,on(un(t)));case 13:return void xX(this,Oe(t));case 15:return void E4(this,on(un(t)));case 16:return void M4(this,on(un(t)));case 18:return void LF(this,on(un(t)))}ns(this,e-se((In(),vg)),Nn(u(qn(this,16),29)||vg,e),t)},o.ii=function(){return In(),vg},o.ki=function(e){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,90)&&Mw(no(u(this.Cb,90)),4),void Jc(this,null);case 2:return void p1(this,!0);case 3:return void m1(this,!0);case 4:return void b1(this,0);case 5:return this.b=0,void bw(this,1);case 8:return void Ad(this,null);case 9:return void((i=qf(this,null,null))&&i.oj());case 10:return void y4(this,!0);case 11:return void C4(this,!1);case 12:return void j4(this,!1);case 13:return this.i=null,void RT(this,null);case 15:return void E4(this,!1);case 16:return void M4(this,!1);case 18:return void LF(this,!1)}Zo(this,e-se((In(),vg)),Nn(u(qn(this,16),29)||vg,e))},o.pi=function(){uF(this),_3(Ir(($u(),Ui),this)),ys(this),this.Bb|=1},o.Jk=function(){return ten(this)},o.Yk=function(e,t){return this.b=0,this.a=null,GY(this,e,t)},o.Zk=function(e){iEn(this,e)},o.Ib=function(){var e;return 64&this.Db?nS(this):((e=new gs(nS(this))).a+=" (iD: ",t1(e,0!=(this.Bb&Cc)),e.a+=")",e.a)},o.b=0,w(Hn,"EAttributeImpl",331),b(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),o.dl=function(e){return e.Dh()==this},o.Ah=function(e){return lx(this,e)},o.Bh=function(e,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=e},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return eb(this);case 4:return this.ik();case 5:return this.F;case 6:return t?Mo(this):U3(this);case 7:return!this.A&&(this.A=new Pu(au,this,7)),this.A}return Jo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16)>=0?lx(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,6,i)}return u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().zk(this,uu(this),t-se(this.ii()),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 6:return Oo(this,null,6,i);case 7:return!this.A&&(this.A=new Pu(au,this,7)),rr(this.A,e,i)}return u(Nn(u(qn(this,16),29)||this.ii(),t),69).wk().Ak(this,uu(this),t-se(this.ii()),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!eb(this);case 4:return null!=this.ik();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!U3(this);case 7:return!!this.A&&0!=this.A.i}return Wo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void eT(this,Oe(t));case 2:return void RD(this,Oe(t));case 5:return void G4(this,Oe(t));case 7:return!this.A&&(this.A=new Pu(au,this,7)),pe(this.A),!this.A&&(this.A=new Pu(au,this,7)),void Bt(this.A,u(t,16))}ns(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e),t)},o.ii=function(){return In(),zoe},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,184)&&(u(this.Cb,184).tb=null),void Jc(this,null);case 2:return p4(this,null),void i4(this,this.D);case 5:return void G4(this,null);case 7:return!this.A&&(this.A=new Pu(au,this,7)),void pe(this.A)}Zo(this,e-se(this.ii()),Nn(u(qn(this,16),29)||this.ii(),e))},o.hk=function(){var e;return-1==this.G&&(this.G=(e=Mo(this))?j1(e.vi(),this):-1),this.G},o.ik=function(){return null},o.jk=function(){return Mo(this)},o.el=function(){return this.v},o.kk=function(){return eb(this)},o.lk=function(){return null!=this.D?this.D:this.B},o.mk=function(){return this.F},o.fk=function(e){return eB(this,e)},o.fl=function(e){this.v=e},o.gl=function(e){CFn(this,e)},o.hl=function(e){this.C=e},o.ui=function(e){eT(this,e)},o.Ib=function(){return fA(this)},o.C=null,o.D=null,o.G=-1,w(Hn,"EClassifierImpl",364),b(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},SG),o.dl=function(e){return function Pae(n,e){return e==n||L4(GA(e),n)}(this,e.Dh())},o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return eb(this);case 4:return null;case 5:return this.F;case 6:return t?Mo(this):U3(this);case 7:return!this.A&&(this.A=new Pu(au,this,7)),this.A;case 8:return Kn(),!!(256&this.Bb);case 9:return Kn(),!!(512&this.Bb);case 10:return _r(this);case 11:return!this.q&&(this.q=new q(Ds,this,11,10)),this.q;case 12:return l2(this);case 13:return o8(this);case 14:return o8(this),this.r;case 15:return l2(this),this.k;case 16:return Gnn(this);case 17:return cB(this);case 18:return kh(this);case 19:return GA(this);case 20:return l2(this),this.o;case 21:return!this.s&&(this.s=new q(Mu,this,21,17)),this.s;case 22:return Lc(this);case 23:return Gx(this)}return Jo(this,e-se((In(),za)),Nn(u(qn(this,16),29)||za,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 6:return this.Cb&&(i=(c=this.Db>>16)>=0?lx(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,6,i);case 11:return!this.q&&(this.q=new q(Ds,this,11,10)),Qc(this.q,e,i);case 21:return!this.s&&(this.s=new q(Mu,this,21,17)),Qc(this.s,e,i)}return u(Nn(u(qn(this,16),29)||(In(),za),t),69).wk().zk(this,uu(this),t-se((In(),za)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 6:return Oo(this,null,6,i);case 7:return!this.A&&(this.A=new Pu(au,this,7)),rr(this.A,e,i);case 11:return!this.q&&(this.q=new q(Ds,this,11,10)),rr(this.q,e,i);case 21:return!this.s&&(this.s=new q(Mu,this,21,17)),rr(this.s,e,i);case 22:return rr(Lc(this),e,i)}return u(Nn(u(qn(this,16),29)||(In(),za),t),69).wk().Ak(this,uu(this),t-se((In(),za)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!eb(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!U3(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==Lc(this.u.a).i||this.n&&nx(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=l2(this).i;case 13:return 0!=o8(this).i;case 14:return o8(this),0!=this.r.i;case 15:return l2(this),0!=this.k.i;case 16:return 0!=Gnn(this).i;case 17:return 0!=cB(this).i;case 18:return 0!=kh(this).i;case 19:return 0!=GA(this).i;case 20:return l2(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&nx(this.n);case 23:return 0!=Gx(this).i}return Wo(this,e-se((In(),za)),Nn(u(qn(this,16),29)||za,e))},o.Zh=function(e){return(null==this.i||this.q&&0!=this.q.i?null:Ey(this,e))||Atn(this,e)},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void eT(this,Oe(t));case 2:return void RD(this,Oe(t));case 5:return void G4(this,Oe(t));case 7:return!this.A&&(this.A=new Pu(au,this,7)),pe(this.A),!this.A&&(this.A=new Pu(au,this,7)),void Bt(this.A,u(t,16));case 8:return void zY(this,on(un(t)));case 9:return void XY(this,on(un(t)));case 10:return h8(_r(this)),void Bt(_r(this),u(t,16));case 11:return!this.q&&(this.q=new q(Ds,this,11,10)),pe(this.q),!this.q&&(this.q=new q(Ds,this,11,10)),void Bt(this.q,u(t,16));case 21:return!this.s&&(this.s=new q(Mu,this,21,17)),pe(this.s),!this.s&&(this.s=new q(Mu,this,21,17)),void Bt(this.s,u(t,16));case 22:return pe(Lc(this)),void Bt(Lc(this),u(t,16))}ns(this,e-se((In(),za)),Nn(u(qn(this,16),29)||za,e),t)},o.ii=function(){return In(),za},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,184)&&(u(this.Cb,184).tb=null),void Jc(this,null);case 2:return p4(this,null),void i4(this,this.D);case 5:return void G4(this,null);case 7:return!this.A&&(this.A=new Pu(au,this,7)),void pe(this.A);case 8:return void zY(this,!1);case 9:return void XY(this,!1);case 10:return void(this.u&&h8(this.u));case 11:return!this.q&&(this.q=new q(Ds,this,11,10)),void pe(this.q);case 21:return!this.s&&(this.s=new q(Mu,this,21,17)),void pe(this.s);case 22:return void(this.n&&pe(this.n))}Zo(this,e-se((In(),za)),Nn(u(qn(this,16),29)||za,e))},o.pi=function(){var e,t;if(l2(this),o8(this),Gnn(this),cB(this),kh(this),GA(this),Gx(this),g5(function ebe(n){return!n.c&&(n.c=new o3),n.c}(no(this))),this.s)for(e=0,t=this.s.i;e=0;--t)D(this,t);return vZ(this,e)},o.Gk=function(){pe(this)},o.Zi=function(e,t){return z$n(this,0,t)},w(Et,"EcoreEList",632),b(505,632,Qr,ek),o.Li=function(){return!1},o.Lj=function(){return this.c},o.Mj=function(){return!1},o.ol=function(){return!0},o.Si=function(){return!0},o.Wi=function(e,t){return t},o.Yi=function(){return!1},o.c=0,w(Et,"EObjectEList",505),b(83,505,Qr,ni),o.Mj=function(){return!0},o.ml=function(){return!1},o.al=function(){return!0},w(Et,"EObjectContainmentEList",83),b(555,83,Qr,nM),o.Ni=function(){this.b=!0},o.Qj=function(){return this.b},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.b,this.b=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.b=!1},o.b=!1,w(Et,"EObjectContainmentEList/Unsettable",555),b(1161,555,Qr,yPn),o.Ti=function(e,t){var i,r;return i=u($5(this,e,t),89),ao(this.e)&&b3(this,new Ek(this.a,7,(In(),Xoe),Y(t),L(r=i.c,90)?u(r,29):$s,e)),i},o.Uj=function(e,t){return function j8e(n,e,t){var i,r;return i=new Sl(n.e,3,10,null,L(r=e.c,90)?u(r,29):(In(),$s),j1(n,e),!1),t?t.nj(i):t=i,t}(this,u(e,89),t)},o.Vj=function(e,t){return function y8e(n,e,t){var i,r;return i=new Sl(n.e,4,10,L(r=e.c,90)?u(r,29):(In(),$s),null,j1(n,e),!1),t?t.nj(i):t=i,t}(this,u(e,89),t)},o.Wj=function(e,t,i){return function Mke(n,e,t,i){var r,c,s;return r=new Sl(n.e,1,10,L(s=e.c,90)?u(s,29):(In(),$s),L(c=t.c,90)?u(c,29):(In(),$s),j1(n,e),!1),i?i.nj(r):i=r,i}(this,u(e,89),u(t,89),i)},o.Ij=function(e,t,i,r,c){switch(e){case 3:return h5(this,e,t,i,r,this.i>1);case 5:return h5(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new Sl(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return nx(this)},o.Gk=function(){pe(this)},w(Hn,"EClassImpl/1",1161),b(1175,1174,lun),o.dj=function(e){var t,i,r,c,s,f,h;if(8!=(i=e.gj())){if(0==(r=function i9e(n){switch(n.hj(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(e)))switch(i){case 1:case 9:null!=(h=e.kj())&&(!(t=no(u(h,482))).c&&(t.c=new o3),ET(t.c,e.jj())),null!=(f=e.ij())&&(1&(c=u(f,482)).Bb||(!(t=no(c)).c&&(t.c=new o3),me(t.c,u(e.jj(),29))));break;case 3:null!=(f=e.ij())&&(1&(c=u(f,482)).Bb||(!(t=no(c)).c&&(t.c=new o3),me(t.c,u(e.jj(),29))));break;case 5:if(null!=(f=e.ij()))for(s=u(f,16).Kc();s.Ob();)1&(c=u(s.Pb(),482)).Bb||(!(t=no(c)).c&&(t.c=new o3),me(t.c,u(e.jj(),29)));break;case 4:null!=(h=e.kj())&&(1&(c=u(h,482)).Bb||(!(t=no(c)).c&&(t.c=new o3),ET(t.c,e.jj())));break;case 6:if(null!=(h=e.kj()))for(s=u(h,16).Kc();s.Ob();)1&(c=u(s.Pb(),482)).Bb||(!(t=no(c)).c&&(t.c=new o3),ET(t.c,e.jj()))}this.ql(r)}},o.ql=function(e){Xqn(this,e)},o.b=63,w(Hn,"ESuperAdapter",1175),b(1176,1175,lun,yyn),o.ql=function(e){Mw(this,e)},w(Hn,"EClassImpl/10",1176),b(1165,710,Qr),o.Ei=function(e,t){return Ex(this,e,t)},o.Fi=function(e){return FRn(this,e)},o.Gi=function(e,t){Jk(this,e,t)},o.Hi=function(e){mk(this,e)},o.$i=function(e){return jQ(this,e)},o.Xi=function(e,t){return x$(this,e,t)},o.Wk=function(e,t){throw M(new Pe)},o.Ii=function(){return new $v(this)},o.Ji=function(){return new q7(this)},o.Ki=function(e){return $k(this,e)},o.Xk=function(e,t){throw M(new Pe)},o.Fk=function(e){return this},o.Qj=function(){return 0!=this.i},o.Wb=function(e){throw M(new Pe)},o.Gk=function(){throw M(new Pe)},w(Et,"EcoreEList/UnmodifiableEList",1165),b(328,1165,Qr,Lg),o.Yi=function(){return!1},w(Et,"EcoreEList/UnmodifiableEList/FastCompare",328),b(1168,328,Qr,vxn),o.dd=function(e){var i,r;if(L(e,179)&&-1!=(i=u(e,179).Lj()))for(r=this.i;i4){if(!this.fk(e))return!1;if(this.al()){if(h=(i=(r=u(e,54)).Eh())==this.b&&(this.ml()?r.yh(r.Fh(),u(Nn(vu(this.b),this.Lj()).Hk(),29).kk())==dr(u(Nn(vu(this.b),this.Lj()),19)).n:-1-r.Fh()==this.Lj()),this.nl()&&!h&&!i&&r.Jh())for(c=0;c1||-1==r)},o.ml=function(){var t;return!!L(t=Nn(vu(this.b),this.Lj()),102)&&!!dr(u(t,19))},o.nl=function(){var t;return!!L(t=Nn(vu(this.b),this.Lj()),102)&&0!=(u(t,19).Bb&sr)},o.dd=function(e){var i,r,c;if((r=this.zj(e))>=0)return r;if(this.ol())for(i=0,c=this.Ej();i=0;--e)Dy(this,e,this.xj(e));return this.Fj()},o.Qc=function(e){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)Dy(this,t,this.xj(t));return this.Gj(e)},o.Gk=function(){h8(this)},o.Zi=function(e,t){return ENn(this,0,t)},w(Et,"DelegatingEcoreEList",756),b(1171,756,wun,xAn),o.qj=function(e,t){!function Z1e(n,e,t){N5(Lc(n.a),e,$On(t))}(this,e,u(t,29))},o.rj=function(e){!function _le(n,e){me(Lc(n.a),$On(e))}(this,u(e,29))},o.xj=function(e){var i;return L(i=u(D(Lc(this.a),e),89).c,90)?u(i,29):(In(),$s)},o.Cj=function(e){var i;return L(i=u(Sw(Lc(this.a),e),89).c,90)?u(i,29):(In(),$s)},o.Dj=function(e,t){return function J9e(n,e,t){var i,r,c;return(64&(c=L(r=(i=u(D(Lc(n.a),e),89)).c,90)?u(r,29):(In(),$s)).Db?ba(n.b,c):c)==t?iS(i):Y3(i,t),c}(this,e,u(t,29))},o.Li=function(){return!1},o.Ij=function(e,t,i,r,c){return null},o.sj=function(){return new Cyn(this)},o.tj=function(){pe(Lc(this.a))},o.uj=function(e){return dBn(this,e)},o.vj=function(e){var i;for(i=e.Kc();i.Ob();)if(!dBn(this,i.Pb()))return!1;return!0},o.wj=function(e){var t,i,r;if(L(e,15)&&(r=u(e,15)).gc()==Lc(this.a).i){for(t=r.Kc(),i=new ne(this);t.Ob();)if(x(t.Pb())!==x(ue(i)))return!1;return!0}return!1},o.yj=function(){var t,i,r,c;for(i=1,t=new ne(Lc(this.a));t.e!=t.i.gc();)i=31*i+((r=L(c=u(ue(t),89).c,90)?u(c,29):(In(),$s))?T0(r):0);return i},o.zj=function(e){var t,i,r,c;for(r=0,i=new ne(Lc(this.a));i.e!=i.i.gc();){if(t=u(ue(i),89),x(e)===x(L(c=t.c,90)?u(c,29):(In(),$s)))return r;++r}return-1},o.Aj=function(){return 0==Lc(this.a).i},o.Bj=function(){return null},o.Ej=function(){return Lc(this.a).i},o.Fj=function(){var e,t,i,r,c,s;for(s=Lc(this.a).i,c=K(pi,xn,1,s,5,1),i=0,t=new ne(Lc(this.a));t.e!=t.i.gc();)e=u(ue(t),89),c[i++]=L(r=e.c,90)?u(r,29):(In(),$s);return c},o.Gj=function(e){var i,r,f,h;for(h=Lc(this.a).i,e.lengthh&&Dt(e,h,null),r=0,i=new ne(Lc(this.a));i.e!=i.i.gc();)Dt(e,r++,L(f=u(ue(i),89).c,90)?u(f,29):(In(),$s));return e},o.Hj=function(){var e,t,i,r,c;for((c=new e1).a+="[",e=Lc(this.a),t=0,r=Lc(this.a).i;t>16)>=0?lx(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,6,i);case 9:return!this.a&&(this.a=new q(Wl,this,9,5)),Qc(this.a,e,i)}return u(Nn(u(qn(this,16),29)||(In(),Xa),t),69).wk().zk(this,uu(this),t-se((In(),Xa)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 6:return Oo(this,null,6,i);case 7:return!this.A&&(this.A=new Pu(au,this,7)),rr(this.A,e,i);case 9:return!this.a&&(this.a=new q(Wl,this,9,5)),rr(this.a,e,i)}return u(Nn(u(qn(this,16),29)||(In(),Xa),t),69).wk().Ak(this,uu(this),t-se((In(),Xa)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!eb(this);case 4:return!!NY(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!U3(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return Wo(this,e-se((In(),Xa)),Nn(u(qn(this,16),29)||Xa,e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void eT(this,Oe(t));case 2:return void RD(this,Oe(t));case 5:return void G4(this,Oe(t));case 7:return!this.A&&(this.A=new Pu(au,this,7)),pe(this.A),!this.A&&(this.A=new Pu(au,this,7)),void Bt(this.A,u(t,16));case 8:return void iA(this,on(un(t)));case 9:return!this.a&&(this.a=new q(Wl,this,9,5)),pe(this.a),!this.a&&(this.a=new q(Wl,this,9,5)),void Bt(this.a,u(t,16))}ns(this,e-se((In(),Xa)),Nn(u(qn(this,16),29)||Xa,e),t)},o.ii=function(){return In(),Xa},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,184)&&(u(this.Cb,184).tb=null),void Jc(this,null);case 2:return p4(this,null),void i4(this,this.D);case 5:return void G4(this,null);case 7:return!this.A&&(this.A=new Pu(au,this,7)),void pe(this.A);case 8:return void iA(this,!0);case 9:return!this.a&&(this.a=new q(Wl,this,9,5)),void pe(this.a)}Zo(this,e-se((In(),Xa)),Nn(u(qn(this,16),29)||Xa,e))},o.pi=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e>16==5?u(this.Cb,685):null}return Jo(this,e-se((In(),_1)),Nn(u(qn(this,16),29)||_1,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 5:return this.Cb&&(i=(c=this.Db>>16)>=0?fKn(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,5,i)}return u(Nn(u(qn(this,16),29)||(In(),_1),t),69).wk().zk(this,uu(this),t-se((In(),_1)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 5:return Oo(this,null,5,i)}return u(Nn(u(qn(this,16),29)||(In(),_1),t),69).wk().Ak(this,uu(this),t-se((In(),_1)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!u(this.Cb,685))}return Wo(this,e-se((In(),_1)),Nn(u(qn(this,16),29)||_1,e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void Jc(this,Oe(t));case 2:return void q$(this,u(t,17).a);case 3:return void uHn(this,u(t,2039));case 4:return void G$(this,Oe(t))}ns(this,e-se((In(),_1)),Nn(u(qn(this,16),29)||_1,e),t)},o.ii=function(){return In(),_1},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void Jc(this,null);case 2:return void q$(this,0);case 3:return void uHn(this,null);case 4:return void G$(this,null)}Zo(this,e-se((In(),_1)),Nn(u(qn(this,16),29)||_1,e))},o.Ib=function(){return this.c??this.zb},o.b=null,o.c=null,o.d=0,w(Hn,"EEnumLiteralImpl",582);var a0n,QU,PE,SNe=Ot(Hn,"EFactoryImpl/InternalEDateTimeFormat");b(499,1,{2114:1},l7),w(Hn,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),b(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},l0),o.Ch=function(e,t,i){var r;return i=Oo(this,e,t,i),this.e&&L(e,179)&&(r=UA(this,this.e))!=this.c&&(i=z4(this,r,i)),i},o.Lh=function(e,t,i){switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ni(yr,this,1)),this.d;case 2:return t?iS(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?ix(this):this.a}return Jo(this,e-se((In(),xb)),Nn(u(qn(this,16),29)||xb,e),t,i)},o.Uh=function(e,t,i){switch(t){case 0:return nBn(this,null,i);case 1:return!this.d&&(this.d=new ni(yr,this,1)),rr(this.d,e,i);case 3:return eBn(this,null,i)}return u(Nn(u(qn(this,16),29)||(In(),xb),t),69).wk().Ak(this,uu(this),t-se((In(),xb)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Wo(this,e-se((In(),xb)),Nn(u(qn(this,16),29)||xb,e))},o.bi=function(e,t){switch(e){case 0:return void SKn(this,u(t,89));case 1:return!this.d&&(this.d=new ni(yr,this,1)),pe(this.d),!this.d&&(this.d=new ni(yr,this,1)),void Bt(this.d,u(t,16));case 3:return void ann(this,u(t,89));case 4:return void Onn(this,u(t,850));case 5:return void Y3(this,u(t,142))}ns(this,e-se((In(),xb)),Nn(u(qn(this,16),29)||xb,e),t)},o.ii=function(){return In(),xb},o.ki=function(e){switch(e){case 0:return void SKn(this,null);case 1:return!this.d&&(this.d=new ni(yr,this,1)),void pe(this.d);case 3:return void ann(this,null);case 4:return void Onn(this,null);case 5:return void Y3(this,null)}Zo(this,e-se((In(),xb)),Nn(u(qn(this,16),29)||xb,e))},o.Ib=function(){var e;return(e=new yo(Ws(this))).a+=" (expression: ",lB(this,e),e.a+=")",e.a},w(Hn,"EGenericTypeImpl",248),b(2067,2062,lP),o.Gi=function(e,t){NAn(this,e,t)},o.Wk=function(e,t){return NAn(this,this.gc(),e),t},o.$i=function(e){return is(this.pj(),e)},o.Ii=function(){return this.Ji()},o.pj=function(){return new Syn(this)},o.Ji=function(){return this.Ki(0)},o.Ki=function(e){return this.pj().fd(e)},o.Xk=function(e,t){return pw(this,e,!0),t},o.Ti=function(e,t){var r;return r=bx(this,t),this.fd(e).Rb(r),r},o.Ui=function(e,t){pw(this,t,!0),this.fd(e).Rb(t)},w(Et,"AbstractSequentialInternalEList",2067),b(496,2067,lP,H7),o.$i=function(e){return is(this.pj(),e)},o.Ii=function(){return null==this.b?(r1(),r1(),PE):this.sl()},o.pj=function(){return new ZMn(this.a,this.b)},o.Ji=function(){return null==this.b?(r1(),r1(),PE):this.sl()},o.Ki=function(e){var t,i;if(null==this.b){if(e<0||e>1)throw M(new Ar(N8+e+", size=0"));return r1(),r1(),PE}for(i=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=e6||0!=t.Lj())&&(!this.vl()||this.b.Xh(t)))if(s=this.b.Nh(t,this.ul()),this.f=(ar(),u(t,69).xk()),this.f||t.Jk()){if(this.ul()?(r=u(s,15),this.k=r):(r=u(s,71),this.k=this.j=r),L(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?j_n(this,this.p):D_n(this))return c=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?((e=u(c,76)).Lk(),i=e.md(),this.i=i):this.i=i=c,this.g=-3,!0}else if(null!=s)return this.k=null,this.p=null,this.i=i=s,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},o.Pb=function(){return WT(this)},o.Tb=function(){return this.a},o.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw M(new tc)},o.Vb=function(){return this.a-1},o.Qb=function(){throw M(new Pe)},o.ul=function(){return!1},o.Wb=function(e){throw M(new Pe)},o.vl=function(){return!0},o.a=0,o.d=0,o.f=!1,o.g=0,o.n=0,o.o=0,w(Et,"EContentsEList/FeatureIteratorImpl",287),b(711,287,aP,jW),o.ul=function(){return!0},w(Et,"EContentsEList/ResolvingFeatureIteratorImpl",711),b(1178,711,aP,mAn),o.vl=function(){return!1},w(Hn,"ENamedElementImpl/1/1",1178),b(1179,287,aP,kAn),o.vl=function(){return!1},w(Hn,"ENamedElementImpl/1/2",1179),b(39,152,lj,fw,b$,ji,P$,Sl,Gs,$Q,ZOn,FQ,nLn,ZJ,eLn,RQ,tLn,nQ,iLn,xQ,rLn,i5,Ek,VN,BQ,cLn,eQ,uLn),o.Kj=function(){return pQ(this)},o.Rj=function(){var e;return(e=pQ(this))?e.ik():null},o.hj=function(e){return-1==this.b&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},o.jj=function(){return this.c},o.Sj=function(){var e;return!!(e=pQ(this))&&e.tk()},o.b=-1,w(Hn,"ENotificationImpl",39),b(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},NL),o.Ah=function(e){return aKn(this,e)},o.Lh=function(e,t,i){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),(s=this.t)>1||-1==s;case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new Pu(au,this,11)),this.d;case 12:return!this.c&&(this.c=new q(Fb,this,12,10)),this.c;case 13:return!this.a&&(this.a=new X7(this,this)),this.a;case 14:return eo(this)}return Jo(this,e-se((In(),H1)),Nn(u(qn(this,16),29)||H1,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16)>=0?aKn(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,10,i);case 12:return!this.c&&(this.c=new q(Fb,this,12,10)),Qc(this.c,e,i)}return u(Nn(u(qn(this,16),29)||(In(),H1),t),69).wk().zk(this,uu(this),t-se((In(),H1)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 9:return NN(this,i);case 10:return Oo(this,null,10,i);case 11:return!this.d&&(this.d=new Pu(au,this,11)),rr(this.d,e,i);case 12:return!this.c&&(this.c=new q(Fb,this,12,10)),rr(this.c,e,i);case 14:return rr(eo(this),e,i)}return u(Nn(u(qn(this,16),29)||(In(),H1),t),69).wk().Ak(this,uu(this),t-se((In(),H1)),e,i)},o.Wh=function(e){var r;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(r=this.t)>1||-1==r;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,29));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==eo(this.a.a).i||this.b&&ex(this.b));case 14:return!!this.b&&ex(this.b)}return Wo(this,e-se((In(),H1)),Nn(u(qn(this,16),29)||H1,e))},o.bi=function(e,t){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void Jc(this,Oe(t));case 2:return void p1(this,on(un(t)));case 3:return void m1(this,on(un(t)));case 4:return void b1(this,u(t,17).a);case 5:return void bw(this,u(t,17).a);case 8:return void Ad(this,u(t,142));case 9:return void((r=qf(this,u(t,89),null))&&r.oj());case 11:return!this.d&&(this.d=new Pu(au,this,11)),pe(this.d),!this.d&&(this.d=new Pu(au,this,11)),void Bt(this.d,u(t,16));case 12:return!this.c&&(this.c=new q(Fb,this,12,10)),pe(this.c),!this.c&&(this.c=new q(Fb,this,12,10)),void Bt(this.c,u(t,16));case 13:return!this.a&&(this.a=new X7(this,this)),h8(this.a),!this.a&&(this.a=new X7(this,this)),void Bt(this.a,u(t,16));case 14:return pe(eo(this)),void Bt(eo(this),u(t,16))}ns(this,e-se((In(),H1)),Nn(u(qn(this,16),29)||H1,e),t)},o.ii=function(){return In(),H1},o.ki=function(e){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void Jc(this,null);case 2:return void p1(this,!0);case 3:return void m1(this,!0);case 4:return void b1(this,0);case 5:return void bw(this,1);case 8:return void Ad(this,null);case 9:return void((i=qf(this,null,null))&&i.oj());case 11:return!this.d&&(this.d=new Pu(au,this,11)),void pe(this.d);case 12:return!this.c&&(this.c=new q(Fb,this,12,10)),void pe(this.c);case 13:return void(this.a&&h8(this.a));case 14:return void(this.b&&pe(this.b))}Zo(this,e-se((In(),H1)),Nn(u(qn(this,16),29)||H1,e))},o.pi=function(){var e,t;if(this.c)for(e=0,t=this.c.i;eh&&Dt(e,h,null),r=0,i=new ne(eo(this.a));i.e!=i.i.gc();)Dt(e,r++,u(ue(i),89).c||(In(),rh));return e},o.Hj=function(){var e,t,r,c;for((c=new e1).a+="[",e=eo(this.a),t=0,r=eo(this.a).i;t1);case 5:return h5(this,e,t,i,r,this.i-u(i,15).gc()>0);default:return new Sl(this.e,e,this.c,t,i,r,!0)}},o.Tj=function(){return!0},o.Qj=function(){return ex(this)},o.Gk=function(){pe(this)},w(Hn,"EOperationImpl/2",1377),b(507,1,{2037:1,507:1},FMn),w(Hn,"EPackageImpl/1",507),b(14,83,Qr,q),o.il=function(){return this.d},o.jl=function(){return this.b},o.ml=function(){return!0},o.b=0,w(Et,"EObjectContainmentWithInverseEList",14),b(365,14,Qr,Fv),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectContainmentWithInverseEList/Resolving",365),b(308,365,Qr,iw),o.Ni=function(){this.a.tb=null},w(Hn,"EPackageImpl/2",308),b(1278,1,{},Amn),w(Hn,"EPackageImpl/3",1278),b(733,45,w2,Cz),o._b=function(e){return Mi(e)?QN(this,e):!!br(this.f,e)},w(Hn,"EPackageRegistryImpl",733),b(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},$L),o.Ah=function(e){return dKn(this,e)},o.Lh=function(e,t,i){var s;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),(s=this.t)>1||-1==s;case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return Jo(this,e-se((In(),pg)),Nn(u(qn(this,16),29)||pg,e),t,i)},o.Sh=function(e,t,i){var c;switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),Qc(this.Ab,e,i);case 10:return this.Cb&&(i=(c=this.Db>>16)>=0?dKn(this,i):this.Cb.Th(this,-1-c,null,i)),Oo(this,e,10,i)}return u(Nn(u(qn(this,16),29)||(In(),pg),t),69).wk().zk(this,uu(this),t-se((In(),pg)),e,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 9:return NN(this,i);case 10:return Oo(this,null,10,i)}return u(Nn(u(qn(this,16),29)||(In(),pg),t),69).wk().Ak(this,uu(this),t-se((In(),pg)),e,i)},o.Wh=function(e){var r;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(r=this.t)>1||-1==r;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i);case 10:return!(this.Db>>16!=10||!u(this.Cb,62))}return Wo(this,e-se((In(),pg)),Nn(u(qn(this,16),29)||pg,e))},o.ii=function(){return In(),pg},w(Hn,"EParameterImpl",518),b(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},AW),o.Lh=function(e,t,i){var s,f;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Kn(),!!(256&this.Bb);case 3:return Kn(),!!(512&this.Bb);case 4:return Y(this.s);case 5:return Y(this.t);case 6:return Kn(),(f=this.t)>1||-1==f;case 7:return Kn(),this.s>=1;case 8:return t?ys(this):this.r;case 9:return this.q;case 10:return Kn(),!!(this.Bb&Qs);case 11:return Kn(),!!(this.Bb&_w);case 12:return Kn(),!!(this.Bb&Nw);case 13:return this.j;case 14:return B4(this);case 15:return Kn(),!!(this.Bb&Bu);case 16:return Kn(),!!(this.Bb&yh);case 17:return uw(this);case 18:return Kn(),!!(this.Bb&Cc);case 19:return Kn(),!!((s=dr(this))&&s.Bb&Cc);case 20:return Kn(),!!(this.Bb&sr);case 21:return t?dr(this):this.b;case 22:return t?CY(this):IDn(this);case 23:return!this.a&&(this.a=new Bg(wg,this,23)),this.a}return Jo(this,e-se((In(),cv)),Nn(u(qn(this,16),29)||cv,e),t,i)},o.Wh=function(e){var r,c;switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(c=this.t)>1||-1==c;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==N0(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==N0(this.q).i);case 10:return 0==(this.Bb&Qs);case 11:return 0!=(this.Bb&_w);case 12:return 0!=(this.Bb&Nw);case 13:return null!=this.j;case 14:return null!=B4(this);case 15:return 0!=(this.Bb&Bu);case 16:return 0!=(this.Bb&yh);case 17:return!!uw(this);case 18:return 0!=(this.Bb&Cc);case 19:return!!(r=dr(this))&&0!=(r.Bb&Cc);case 20:return 0==(this.Bb&sr);case 21:return!!this.b;case 22:return!!IDn(this);case 23:return!!this.a&&0!=this.a.i}return Wo(this,e-se((In(),cv)),Nn(u(qn(this,16),29)||cv,e))},o.bi=function(e,t){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void o$(this,Oe(t));case 2:return void p1(this,on(un(t)));case 3:return void m1(this,on(un(t)));case 4:return void b1(this,u(t,17).a);case 5:return void bw(this,u(t,17).a);case 8:return void Ad(this,u(t,142));case 9:return void((r=qf(this,u(t,89),null))&&r.oj());case 10:return void y4(this,on(un(t)));case 11:return void C4(this,on(un(t)));case 12:return void j4(this,on(un(t)));case 13:return void xX(this,Oe(t));case 15:return void E4(this,on(un(t)));case 16:return void M4(this,on(un(t)));case 18:return void function j2e(n,e){eZ(n,e),L(n.Cb,90)&&Mw(no(u(n.Cb,90)),2)}(this,on(un(t)));case 20:return void tZ(this,on(un(t)));case 21:return void nY(this,u(t,19));case 23:return!this.a&&(this.a=new Bg(wg,this,23)),pe(this.a),!this.a&&(this.a=new Bg(wg,this,23)),void Bt(this.a,u(t,16))}ns(this,e-se((In(),cv)),Nn(u(qn(this,16),29)||cv,e),t)},o.ii=function(){return In(),cv},o.ki=function(e){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return L(this.Cb,90)&&Mw(no(u(this.Cb,90)),4),void Jc(this,null);case 2:return void p1(this,!0);case 3:return void m1(this,!0);case 4:return void b1(this,0);case 5:return void bw(this,1);case 8:return void Ad(this,null);case 9:return void((i=qf(this,null,null))&&i.oj());case 10:return void y4(this,!0);case 11:return void C4(this,!1);case 12:return void j4(this,!1);case 13:return this.i=null,void RT(this,null);case 15:return void E4(this,!1);case 16:return void M4(this,!1);case 18:return eZ(this,!1),void(L(this.Cb,90)&&Mw(no(u(this.Cb,90)),2));case 20:return void tZ(this,!0);case 21:return void nY(this,null);case 23:return!this.a&&(this.a=new Bg(wg,this,23)),void pe(this.a)}Zo(this,e-se((In(),cv)),Nn(u(qn(this,16),29)||cv,e))},o.pi=function(){CY(this),_3(Ir(($u(),Ui),this)),ys(this),this.Bb|=1},o.uk=function(){return dr(this)},o._k=function(){var e;return!!(e=dr(this))&&0!=(e.Bb&Cc)},o.al=function(){return 0!=(this.Bb&Cc)},o.bl=function(){return 0!=(this.Bb&sr)},o.Yk=function(e,t){return this.c=null,GY(this,e,t)},o.Ib=function(){var e;return 64&this.Db?nS(this):((e=new gs(nS(this))).a+=" (containment: ",t1(e,0!=(this.Bb&Cc)),e.a+=", resolveProxies: ",t1(e,0!=(this.Bb&sr)),e.a+=")",e.a)},w(Hn,"EReferenceImpl",102),b(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Smn),o.Fb=function(e){return this===e},o.ld=function(){return this.b},o.md=function(){return this.c},o.Hb=function(){return T0(this)},o.Di=function(e){!function Abe(n,e){JQ(n,null==e?null:(Jn(e),e))}(this,Oe(e))},o.nd=function(e){return function abe(n,e){var t;return t=n.c,QQ(n,e),t}(this,Oe(e))},o.Lh=function(e,t,i){switch(e){case 0:return this.b;case 1:return this.c}return Jo(this,e-se((In(),hr)),Nn(u(qn(this,16),29)||hr,e),t,i)},o.Wh=function(e){switch(e){case 0:return null!=this.b;case 1:return null!=this.c}return Wo(this,e-se((In(),hr)),Nn(u(qn(this,16),29)||hr,e))},o.bi=function(e,t){switch(e){case 0:return void function Sbe(n,e){JQ(n,null==e?null:(Jn(e),e))}(this,Oe(t));case 1:return void QQ(this,Oe(t))}ns(this,e-se((In(),hr)),Nn(u(qn(this,16),29)||hr,e),t)},o.ii=function(){return In(),hr},o.ki=function(e){switch(e){case 0:return void JQ(this,null);case 1:return void QQ(this,null)}Zo(this,e-se((In(),hr)),Nn(u(qn(this,16),29)||hr,e))},o.Bi=function(){var e;return-1==this.a&&(this.a=null==(e=this.b)?0:w1(e)),this.a},o.Ci=function(e){this.a=e},o.Ib=function(){var e;return 64&this.Db?Ws(this):((e=new gs(Ws(this))).a+=" (key: ",jr(e,this.b),e.a+=", value: ",jr(e,this.c),e.a+=")",e.a)},o.a=-1,o.b=null,o.c=null;var al,d0n,b0n,w0n,g0n,v0n,p0n,m0n,YU,k0n,kc=w(Hn,"EStringToStringMapEntryImpl",561),ise=Ot(Et,"FeatureMap/Entry/Internal");b(576,1,dP),o.xl=function(e){return this.yl(u(e,54))},o.yl=function(e){return this.xl(e)},o.Fb=function(e){var t,i;return this===e||!!L(e,76)&&(t=u(e,76)).Lk()==this.c&&(null==(i=this.md())?null==t.md():it(i,t.md()))},o.Lk=function(){return this.c},o.Hb=function(){var e;return e=this.md(),wt(this.c)^(null==e?0:wt(e))},o.Ib=function(){var e,t;return t=Mo((e=this.c).qk()).yi(),e.xe(),(null!=t&&0!=t.length?t+":"+e.xe():e.xe())+"="+this.md()},w(Hn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),b(791,576,dP,FW),o.yl=function(e){return new FW(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return function lme(n,e,t,i,r){var c;return t&&(c=St(e.Dh(),n.c),r=t.Rh(e,-1-(-1==c?i:c),null,r)),r}(this,e,this.a,t,i)},o.Al=function(e,t,i){return function ame(n,e,t,i,r){var c;return t&&(c=St(e.Dh(),n.c),r=t.Th(e,-1-(-1==c?i:c),null,r)),r}(this,e,this.a,t,i)},w(Hn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),b(1350,1,{},xMn),o.yk=function(e,t,i,r,c){return u(W3(e,this.b),220).Yl(this.a).Fk(r)},o.zk=function(e,t,i,r,c){return u(W3(e,this.b),220).Pl(this.a,r,c)},o.Ak=function(e,t,i,r,c){return u(W3(e,this.b),220).Ql(this.a,r,c)},o.Bk=function(e,t,i){return u(W3(e,this.b),220).Yl(this.a).Qj()},o.Ck=function(e,t,i,r){u(W3(e,this.b),220).Yl(this.a).Wb(r)},o.Dk=function(e,t,i){return u(W3(e,this.b),220).Yl(this.a)},o.Ek=function(e,t,i){u(W3(e,this.b),220).Yl(this.a).Gk()},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),b(91,1,{},u1,bd,s1,md),o.yk=function(e,t,i,r,c){var s;if(null==(s=t.li(i))&&t.mi(i,s=aS(this,e)),!c)switch(this.e){case 50:case 41:return u(s,597).bk();case 40:return u(s,220).Vl()}return s},o.zk=function(e,t,i,r,c){var f;return null==(f=t.li(i))&&t.mi(i,f=aS(this,e)),u(f,71).Wk(r,c)},o.Ak=function(e,t,i,r,c){var s;return null!=(s=t.li(i))&&(c=u(s,71).Xk(r,c)),c},o.Bk=function(e,t,i){var r;return null!=(r=t.li(i))&&u(r,79).Qj()},o.Ck=function(e,t,i,r){var c;!(c=u(t.li(i),79))&&t.mi(i,c=aS(this,e)),c.Wb(r)},o.Dk=function(e,t,i){var c;return null==(c=t.li(i))&&t.mi(i,c=aS(this,e)),L(c,79)?u(c,79):new Tyn(u(t.li(i),15))},o.Ek=function(e,t,i){var r;!(r=u(t.li(i),79))&&t.mi(i,r=aS(this,e)),r.Gk()},o.b=0,o.e=0,w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),b(512,1,{}),o.zk=function(e,t,i,r,c){throw M(new Pe)},o.Ak=function(e,t,i,r,c){throw M(new Pe)},o.Dk=function(e,t,i){return new $In(this,e,t,i)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),b(1367,1,JK,$In),o.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},o.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},o.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},o.Gk=function(){this.a.Ek(this.c,this.d,this.b)},o.b=0,w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),b(784,512,{},CJ),o.yk=function(e,t,i,r,c){return Qx(e,e.Ph(),e.Fh())==this.b?this.bl()&&r?xx(e):e.Ph():null},o.zk=function(e,t,i,r,c){var s,f;return e.Ph()&&(c=(s=e.Fh())>=0?e.Ah(c):e.Ph().Th(e,-1-s,null,c)),f=St(e.Dh(),this.e),e.Ch(r,f,c)},o.Ak=function(e,t,i,r,c){var s;return s=St(e.Dh(),this.e),e.Ch(null,s,c)},o.Bk=function(e,t,i){var r;return r=St(e.Dh(),this.e),!!e.Ph()&&e.Fh()==r},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(null!=r&&!eB(this.a,r))throw M(new w3(bP+(L(r,58)?lnn(u(r,58).Dh()):OQ(po(r)))+wP+this.a+"'"));if(c=e.Ph(),f=St(e.Dh(),this.e),x(r)!==x(c)||e.Fh()!=f&&null!=r){if(I4(e,u(r,58)))throw M(new Un(L8+e.Ib()));l=null,c&&(l=(s=e.Fh())>=0?e.Ah(l):e.Ph().Th(e,-1-s,null,l)),(h=u(r,54))&&(l=h.Rh(e,St(h.Dh(),this.b),null,l)),(l=e.Ch(h,f,l))&&l.oj()}else e.vh()&&e.wh()&&tt(e,new ji(e,1,f,r,r))},o.Ek=function(e,t,i){var c,s,f;e.Ph()?(f=(c=e.Fh())>=0?e.Ah(null):e.Ph().Th(e,-1-c,null,null),s=St(e.Dh(),this.e),(f=e.Ch(null,s,f))&&f.oj()):e.vh()&&e.wh()&&tt(e,new i5(e,1,this.e,null,null))},o.bl=function(){return!1},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),b(1351,784,{},MSn),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),b(574,512,{}),o.yk=function(e,t,i,r,c){var s;return null==(s=t.li(i))?this.b:x(s)===x(al)?null:s},o.Bk=function(e,t,i){var r;return null!=(r=t.li(i))&&(x(r)===x(al)||!it(r,this.b))},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=null==(s=t.li(i))?this.b:x(s)===x(al)?null:s,null==r?null!=this.c?(t.mi(i,null),r=this.b):t.mi(i,null!=this.b?al:null):(this.Bl(r),t.mi(i,r)),tt(e,this.d.Cl(e,1,this.e,c,r))):null==r?t.mi(i,null!=this.c?null:null!=this.b?al:null):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=null==(c=t.li(i))?this.b:x(c)===x(al)?null:c,t.ni(i),tt(e,this.d.Cl(e,1,this.e,r,this.b))):t.ni(i)},o.Bl=function(e){throw M(new xyn)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),b(M2,1,{},Pmn),o.Cl=function(e,t,i,r,c){return new i5(e,t,i,r,c)},o.Dl=function(e,t,i,r,c,s){return new VN(e,t,i,r,c,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",M2),b(1368,M2,{},Imn),o.Cl=function(e,t,i,r,c){return new eQ(e,t,i,on(un(r)),on(un(c)))},o.Dl=function(e,t,i,r,c,s){return new uLn(e,t,i,on(un(r)),on(un(c)),s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),b(1369,M2,{},Omn),o.Cl=function(e,t,i,r,c){return new $Q(e,t,i,u(r,222).a,u(c,222).a)},o.Dl=function(e,t,i,r,c,s){return new ZOn(e,t,i,u(r,222).a,u(c,222).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),b(1370,M2,{},Lmn),o.Cl=function(e,t,i,r,c){return new FQ(e,t,i,u(r,180).a,u(c,180).a)},o.Dl=function(e,t,i,r,c,s){return new nLn(e,t,i,u(r,180).a,u(c,180).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),b(1371,M2,{},Dmn),o.Cl=function(e,t,i,r,c){return new ZJ(e,t,i,F(R(r)),F(R(c)))},o.Dl=function(e,t,i,r,c,s){return new eLn(e,t,i,F(R(r)),F(R(c)),s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),b(1372,M2,{},Nmn),o.Cl=function(e,t,i,r,c){return new RQ(e,t,i,u(r,161).a,u(c,161).a)},o.Dl=function(e,t,i,r,c,s){return new tLn(e,t,i,u(r,161).a,u(c,161).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),b(1373,M2,{},$mn),o.Cl=function(e,t,i,r,c){return new nQ(e,t,i,u(r,17).a,u(c,17).a)},o.Dl=function(e,t,i,r,c,s){return new iLn(e,t,i,u(r,17).a,u(c,17).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),b(1374,M2,{},Fmn),o.Cl=function(e,t,i,r,c){return new xQ(e,t,i,u(r,168).a,u(c,168).a)},o.Dl=function(e,t,i,r,c,s){return new rLn(e,t,i,u(r,168).a,u(c,168).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),b(1375,M2,{},xmn),o.Cl=function(e,t,i,r,c){return new BQ(e,t,i,u(r,191).a,u(c,191).a)},o.Dl=function(e,t,i,r,c,s){return new cLn(e,t,i,u(r,191).a,u(c,191).a,s)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),b(1353,574,{},FIn),o.Bl=function(e){if(!this.a.fk(e))throw M(new w3(bP+po(e)+wP+this.a+"'"))},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),b(1354,574,{},EPn),o.Bl=function(e){},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),b(785,574,{}),o.Bk=function(e,t,i){return null!=t.li(i)},o.Ck=function(e,t,i,r){var c,s;e.vh()&&e.wh()?(c=!0,null==(s=t.li(i))?(c=!1,s=this.b):x(s)===x(al)&&(s=null),null==r?null!=this.c?(t.mi(i,null),r=this.b):t.mi(i,al):(this.Bl(r),t.mi(i,r)),tt(e,this.d.Dl(e,1,this.e,s,r,!c))):null==r?t.mi(i,null!=this.c?null:al):(this.Bl(r),t.mi(i,r))},o.Ek=function(e,t,i){var r,c;e.vh()&&e.wh()?(r=!0,null==(c=t.li(i))?(r=!1,c=this.b):x(c)===x(al)&&(c=null),t.ni(i),tt(e,this.d.Dl(e,2,this.e,c,this.b,r))):t.ni(i)},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),b(1355,785,{},xIn),o.Bl=function(e){if(!this.a.fk(e))throw M(new w3(bP+po(e)+wP+this.a+"'"))},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),b(1356,785,{},CPn),o.Bl=function(e){},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),b(410,512,{},TM),o.yk=function(e,t,i,r,c){var s,f,h,l,a;if(a=t.li(i),this.tk()&&x(a)===x(al))return null;if(this.bl()&&r&&null!=a){if((h=u(a,54)).Vh()&&h!=(l=ba(e,h))){if(!eB(this.a,l))throw M(new w3(bP+po(l)+wP+this.a+"'"));t.mi(i,a=l),this.al()&&(s=u(l,54),f=h.Th(e,this.b?St(h.Dh(),this.b):-1-St(e.Dh(),this.e),null,null),!s.Ph()&&(f=s.Rh(e,this.b?St(s.Dh(),this.b):-1-St(e.Dh(),this.e),null,f)),f&&f.oj()),e.vh()&&e.wh()&&tt(e,new i5(e,9,this.e,h,l))}return a}return a},o.zk=function(e,t,i,r,c){var s,f;return x(f=t.li(i))===x(al)&&(f=null),t.mi(i,r),this.Mj()?x(f)!==x(r)&&null!=f&&(c=(s=u(f,54)).Th(e,St(s.Dh(),this.b),null,c)):this.al()&&null!=f&&(c=u(f,54).Th(e,-1-St(e.Dh(),this.e),null,c)),e.vh()&&e.wh()&&(!c&&(c=new J1(4)),c.nj(new i5(e,1,this.e,f,r))),c},o.Ak=function(e,t,i,r,c){var s;return x(s=t.li(i))===x(al)&&(s=null),t.ni(i),e.vh()&&e.wh()&&(!c&&(c=new J1(4)),this.tk()?c.nj(new i5(e,2,this.e,s,null)):c.nj(new i5(e,1,this.e,s,null))),c},o.Bk=function(e,t,i){return null!=t.li(i)},o.Ck=function(e,t,i,r){var c,s,f,h,l;if(null!=r&&!eB(this.a,r))throw M(new w3(bP+(L(r,58)?lnn(u(r,58).Dh()):OQ(po(r)))+wP+this.a+"'"));h=null!=(l=t.li(i)),this.tk()&&x(l)===x(al)&&(l=null),f=null,this.Mj()?x(l)!==x(r)&&(null!=l&&(f=(c=u(l,54)).Th(e,St(c.Dh(),this.b),null,f)),null!=r&&(f=(c=u(r,54)).Rh(e,St(c.Dh(),this.b),null,f))):this.al()&&x(l)!==x(r)&&(null!=l&&(f=u(l,54).Th(e,-1-St(e.Dh(),this.e),null,f)),null!=r&&(f=u(r,54).Rh(e,-1-St(e.Dh(),this.e),null,f))),null==r&&this.tk()?t.mi(i,al):t.mi(i,r),e.vh()&&e.wh()?(s=new VN(e,1,this.e,l,r,this.tk()&&!h),f?(f.nj(s),f.oj()):tt(e,s)):f&&f.oj()},o.Ek=function(e,t,i){var r,c,s,f,h;f=null!=(h=t.li(i)),this.tk()&&x(h)===x(al)&&(h=null),s=null,null!=h&&(this.Mj()?s=(r=u(h,54)).Th(e,St(r.Dh(),this.b),null,s):this.al()&&(s=u(h,54).Th(e,-1-St(e.Dh(),this.e),null,s))),t.ni(i),e.vh()&&e.wh()?(c=new VN(e,this.tk()?2:1,this.e,h,null,f),s?(s.nj(c),s.oj()):tt(e,c)):s&&s.oj()},o.Mj=function(){return!1},o.al=function(){return!1},o.bl=function(){return!1},o.tk=function(){return!1},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),b(575,410,{},ZD),o.al=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),b(1359,575,{},jAn),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),b(787,575,{},EW),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),b(1361,787,{},EAn),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),b(650,575,{},aN),o.Mj=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),b(1360,650,{},TSn),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),b(788,650,{},fV),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),b(1362,788,{},ASn),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),b(651,410,{},CW),o.bl=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),b(1363,651,{},CAn),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),b(789,651,{},oV),o.Mj=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),b(1364,789,{},SSn),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),b(1357,410,{},MAn),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),b(786,410,{},sV),o.Mj=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),b(1358,786,{},PSn),o.tk=function(){return!0},w(Hn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),b(790,576,dP,cJ),o.yl=function(e){return new cJ(this.a,this.c,e)},o.md=function(){return this.b},o.zl=function(e,t,i){return function f3e(n,e,t,i){return t&&(i=t.Rh(e,St(t.Dh(),n.c.uk()),null,i)),i}(this,e,this.b,i)},o.Al=function(e,t,i){return function h3e(n,e,t,i){return t&&(i=t.Th(e,St(t.Dh(),n.c.uk()),null,i)),i}(this,e,this.b,i)},w(Hn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),b(1365,1,JK,Tyn),o.Fk=function(e){return this.a},o.Qj=function(){return L(this.a,97)?u(this.a,97).Qj():!this.a.dc()},o.Wb=function(e){this.a.$b(),this.a.Gc(u(e,15))},o.Gk=function(){L(this.a,97)?u(this.a,97).Gk():this.a.$b()},w(Hn,"EStructuralFeatureImpl/SettingMany",1365),b(1366,576,dP,QLn),o.xl=function(e){return new tN((ht(),Z9),this.b.ri(this.a,e))},o.md=function(){return null},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(Hn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),b(652,576,dP,tN),o.xl=function(e){return new tN(this.c,e)},o.md=function(){return this.a},o.zl=function(e,t,i){return i},o.Al=function(e,t,i){return i},w(Hn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),b(403,506,Ih,o3),o.aj=function(e){return K(Ls,xn,29,e,0,1)},o.Yi=function(){return!1},w(Hn,"ESuperAdapter/1",403),b(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},bL),o.Lh=function(e,t,i){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new Z6(this,yr,this)),this.a}return Jo(this,e-se((In(),Bb)),Nn(u(qn(this,16),29)||Bb,e),t,i)},o.Uh=function(e,t,i){switch(t){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),rr(this.Ab,e,i);case 2:return!this.a&&(this.a=new Z6(this,yr,this)),rr(this.a,e,i)}return u(Nn(u(qn(this,16),29)||(In(),Bb),t),69).wk().Ak(this,uu(this),t-se((In(),Bb)),e,i)},o.Wh=function(e){switch(e){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return Wo(this,e-se((In(),Bb)),Nn(u(qn(this,16),29)||Bb,e))},o.bi=function(e,t){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),pe(this.Ab),!this.Ab&&(this.Ab=new q(qe,this,0,3)),void Bt(this.Ab,u(t,16));case 1:return void Jc(this,Oe(t));case 2:return!this.a&&(this.a=new Z6(this,yr,this)),pe(this.a),!this.a&&(this.a=new Z6(this,yr,this)),void Bt(this.a,u(t,16))}ns(this,e-se((In(),Bb)),Nn(u(qn(this,16),29)||Bb,e),t)},o.ii=function(){return In(),Bb},o.ki=function(e){switch(e){case 0:return!this.Ab&&(this.Ab=new q(qe,this,0,3)),void pe(this.Ab);case 1:return void Jc(this,null);case 2:return!this.a&&(this.a=new Z6(this,yr,this)),void pe(this.a)}Zo(this,e-se((In(),Bb)),Nn(u(qn(this,16),29)||Bb,e))},w(Hn,"ETypeParameterImpl",457),b(458,83,Qr,Z6),o.Nj=function(e,t){return function Cye(n,e,t){var r,c;for(t=fp(e,n.e,-1-n.c,t),c=new nC(new Ed(new cd(fJ(n.a).a).a));c.a.b;)t=z4(r=u(W0(c.a).ld(),89),UA(r,n.a),t);return t}(this,u(e,89),t)},o.Oj=function(e,t){return function Mye(n,e,t){var r,c;for(t=JM(e,n.e,-1-n.c,t),c=new nC(new Ed(new cd(fJ(n.a).a).a));c.a.b;)t=z4(r=u(W0(c.a).ld(),89),UA(r,n.a),t);return t}(this,u(e,89),t)},w(Hn,"ETypeParameterImpl/1",458),b(647,45,w2,FL),o.ec=function(){return new ZE(this)},w(Hn,"ETypeParameterImpl/2",647),b(570,Gf,Fu,ZE),o.Fc=function(e){return QAn(this,u(e,89))},o.Gc=function(e){var t,i,r;for(r=!1,i=e.Kc();i.Ob();)t=u(i.Pb(),89),null==Xe(this.a,t,"")&&(r=!0);return r},o.$b=function(){qu(this.a)},o.Hc=function(e){return tu(this.a,e)},o.Kc=function(){return new nC(new Ed(new cd(this.a).a))},o.Mc=function(e){return _Dn(this,e)},o.gc=function(){return k6(this.a)},w(Hn,"ETypeParameterImpl/2/1",570),b(571,1,Ti,nC),o.Nb=function(e){Ri(this,e)},o.Pb=function(){return u(W0(this.a).ld(),89)},o.Ob=function(){return this.a.b},o.Qb=function(){JNn(this.a)},w(Hn,"ETypeParameterImpl/2/1/1",571),b(1329,45,w2,gjn),o._b=function(e){return Mi(e)?QN(this,e):!!br(this.f,e)},o.xc=function(e){var t;return L(t=Mi(e)?Bc(this,e):Rr(br(this.f,e)),851)?(t=u(t,851).Kk(),Xe(this,u(e,241),t),t):t??(null==e?(eD(),cse):null)},w(Hn,"EValidatorRegistryImpl",1329),b(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},Bmn),o.ri=function(e,t){switch(e.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:Jr(t);case 25:return y4e(t);case 27:return function $3e(n){return L(n,180)?""+u(n,180).a:null==n?null:Jr(n)}(t);case 28:return function F3e(n){return L(n,180)?""+u(n,180).a:null==n?null:Jr(n)}(t);case 29:return null==t?null:STn(X9[0],u(t,206));case 41:return null==t?"":sd(u(t,297));case 42:return Jr(t);case 50:return Oe(t);default:throw M(new Un(dm+e.xe()+wb))}},o.si=function(e){var v;switch(-1==e.G&&(e.G=(v=Mo(e))?j1(v.vi(),e):-1),e.G){case 0:return new DL;case 1:return new CG;case 2:return new SG;case 4:return new eC;case 5:return new wjn;case 6:return new Kyn;case 7:return new PG;case 10:return new UE;case 11:return new NL;case 12:return new GIn;case 13:return new $L;case 14:return new AW;case 17:return new Smn;case 18:return new l0;case 19:return new bL;default:throw M(new Un(NK+e.zb+wb))}},o.ti=function(e,t){switch(e.hk()){case 20:return null==t?null:new Vz(t);case 21:return null==t?null:new ea(t);case 23:case 22:return null==t?null:function N8e(n){if(wA(am,n))return Kn(),mm;if(wA(PK,n))return Kn(),Pa;throw M(new Un("Expecting true or false"))}(t);case 26:case 24:return null==t?null:Ik(Io(t,-128,127)<<24>>24);case 25:return function ZCe(n){var e,t,i,r,c,s,f;if(null==n)return null;for(s=K(Ku,E2,28,r=((f=n.length)+1)/2|0,15,1),f%2!=0&&(s[--r]=Ken((Gn(f-1,n.length),n.charCodeAt(f-1)))),t=0,i=0;t>24;return s}(t);case 27:return function y7e(n){var t;if(null==n)return null;t=0;try{t=Io(n,Xi,nt)&ri}catch(i){if(!L(i=At(i),130))throw M(i);t=jT(n)[0]}return xk(t)}(t);case 28:return function j7e(n){var t;if(null==n)return null;t=0;try{t=Io(n,Xi,nt)&ri}catch(i){if(!L(i=At(i),130))throw M(i);t=jT(n)[0]}return xk(t)}(t);case 29:return function Gye(n){var e,t;if(null==n)return null;for(e=null,t=0;t>16);case 50:return t;default:throw M(new Un(dm+e.xe()+wb))}},w(Hn,"EcoreFactoryImpl",1349),b(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},wIn),o.gb=!1,o.hb=!1;var y0n,rse=!1;w(Hn,"EcorePackageImpl",560),b(1234,1,{851:1},Rmn),o.Kk=function(){return _Tn(),use},w(Hn,"EcorePackageImpl/1",1234),b(1243,1,ze,Kmn),o.fk=function(e){return L(e,155)},o.gk=function(e){return K(ME,xn,155,e,0,1)},w(Hn,"EcorePackageImpl/10",1243),b(1244,1,ze,_mn),o.fk=function(e){return L(e,197)},o.gk=function(e){return K(qU,xn,197,e,0,1)},w(Hn,"EcorePackageImpl/11",1244),b(1245,1,ze,Hmn),o.fk=function(e){return L(e,58)},o.gk=function(e){return K(Ua,xn,58,e,0,1)},w(Hn,"EcorePackageImpl/12",1245),b(1246,1,ze,qmn),o.fk=function(e){return L(e,411)},o.gk=function(e){return K(Ds,bun,62,e,0,1)},w(Hn,"EcorePackageImpl/13",1246),b(1247,1,ze,Umn),o.fk=function(e){return L(e,241)},o.gk=function(e){return K(Pf,xn,241,e,0,1)},w(Hn,"EcorePackageImpl/14",1247),b(1248,1,ze,Gmn),o.fk=function(e){return L(e,518)},o.gk=function(e){return K(Fb,xn,2116,e,0,1)},w(Hn,"EcorePackageImpl/15",1248),b(1249,1,ze,zmn),o.fk=function(e){return L(e,102)},o.gk=function(e){return K(gg,C2,19,e,0,1)},w(Hn,"EcorePackageImpl/16",1249),b(1250,1,ze,Xmn),o.fk=function(e){return L(e,179)},o.gk=function(e){return K(Mu,C2,179,e,0,1)},w(Hn,"EcorePackageImpl/17",1250),b(1251,1,ze,Wmn),o.fk=function(e){return L(e,481)},o.gk=function(e){return K(bg,xn,481,e,0,1)},w(Hn,"EcorePackageImpl/18",1251),b(1252,1,ze,Vmn),o.fk=function(e){return L(e,561)},o.gk=function(e){return K(kc,rJn,561,e,0,1)},w(Hn,"EcorePackageImpl/19",1252),b(1235,1,ze,Jmn),o.fk=function(e){return L(e,331)},o.gk=function(e){return K(wg,C2,35,e,0,1)},w(Hn,"EcorePackageImpl/2",1235),b(1253,1,ze,Qmn),o.fk=function(e){return L(e,248)},o.gk=function(e){return K(yr,yJn,89,e,0,1)},w(Hn,"EcorePackageImpl/20",1253),b(1254,1,ze,Ymn),o.fk=function(e){return L(e,457)},o.gk=function(e){return K(au,xn,850,e,0,1)},w(Hn,"EcorePackageImpl/21",1254),b(1255,1,ze,Zmn),o.fk=function(e){return Vb(e)},o.gk=function(e){return K(qt,J,485,e,8,1)},w(Hn,"EcorePackageImpl/22",1255),b(1256,1,ze,n6n),o.fk=function(e){return L(e,195)},o.gk=function(e){return K(Ku,J,195,e,0,2)},w(Hn,"EcorePackageImpl/23",1256),b(1257,1,ze,e6n),o.fk=function(e){return L(e,222)},o.gk=function(e){return K(Op,J,222,e,0,1)},w(Hn,"EcorePackageImpl/24",1257),b(1258,1,ze,t6n),o.fk=function(e){return L(e,180)},o.gk=function(e){return K(U8,J,180,e,0,1)},w(Hn,"EcorePackageImpl/25",1258),b(1259,1,ze,i6n),o.fk=function(e){return L(e,206)},o.gk=function(e){return K(TP,J,206,e,0,1)},w(Hn,"EcorePackageImpl/26",1259),b(1260,1,ze,r6n),o.fk=function(e){return!1},o.gk=function(e){return K(R0n,xn,2215,e,0,1)},w(Hn,"EcorePackageImpl/27",1260),b(1261,1,ze,c6n),o.fk=function(e){return Jb(e)},o.gk=function(e){return K(ui,J,345,e,7,1)},w(Hn,"EcorePackageImpl/28",1261),b(1262,1,ze,u6n),o.fk=function(e){return L(e,61)},o.gk=function(e){return K(n0n,$w,61,e,0,1)},w(Hn,"EcorePackageImpl/29",1262),b(1236,1,ze,o6n),o.fk=function(e){return L(e,519)},o.gk=function(e){return K(qe,{3:1,4:1,5:1,2033:1},598,e,0,1)},w(Hn,"EcorePackageImpl/3",1236),b(1263,1,ze,s6n),o.fk=function(e){return L(e,582)},o.gk=function(e){return K(i0n,xn,2039,e,0,1)},w(Hn,"EcorePackageImpl/30",1263),b(1264,1,ze,f6n),o.fk=function(e){return L(e,160)},o.gk=function(e){return K(T0n,$w,160,e,0,1)},w(Hn,"EcorePackageImpl/31",1264),b(1265,1,ze,h6n),o.fk=function(e){return L(e,76)},o.gk=function(e){return K(qO,IJn,76,e,0,1)},w(Hn,"EcorePackageImpl/32",1265),b(1266,1,ze,l6n),o.fk=function(e){return L(e,161)},o.gk=function(e){return K(km,J,161,e,0,1)},w(Hn,"EcorePackageImpl/33",1266),b(1267,1,ze,a6n),o.fk=function(e){return L(e,17)},o.gk=function(e){return K(qi,J,17,e,0,1)},w(Hn,"EcorePackageImpl/34",1267),b(1268,1,ze,d6n),o.fk=function(e){return L(e,297)},o.gk=function(e){return K(Aun,xn,297,e,0,1)},w(Hn,"EcorePackageImpl/35",1268),b(1269,1,ze,b6n),o.fk=function(e){return L(e,168)},o.gk=function(e){return K(vb,J,168,e,0,1)},w(Hn,"EcorePackageImpl/36",1269),b(1270,1,ze,w6n),o.fk=function(e){return L(e,85)},o.gk=function(e){return K(Sun,xn,85,e,0,1)},w(Hn,"EcorePackageImpl/37",1270),b(1271,1,ze,g6n),o.fk=function(e){return L(e,599)},o.gk=function(e){return K(j0n,xn,599,e,0,1)},w(Hn,"EcorePackageImpl/38",1271),b(1272,1,ze,v6n),o.fk=function(e){return!1},o.gk=function(e){return K(K0n,xn,2216,e,0,1)},w(Hn,"EcorePackageImpl/39",1272),b(1237,1,ze,p6n),o.fk=function(e){return L(e,90)},o.gk=function(e){return K(Ls,xn,29,e,0,1)},w(Hn,"EcorePackageImpl/4",1237),b(1273,1,ze,m6n),o.fk=function(e){return L(e,191)},o.gk=function(e){return K(pb,J,191,e,0,1)},w(Hn,"EcorePackageImpl/40",1273),b(1274,1,ze,k6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(Hn,"EcorePackageImpl/41",1274),b(1275,1,ze,y6n),o.fk=function(e){return L(e,596)},o.gk=function(e){return K(t0n,xn,596,e,0,1)},w(Hn,"EcorePackageImpl/42",1275),b(1276,1,ze,j6n),o.fk=function(e){return!1},o.gk=function(e){return K(_0n,J,2217,e,0,1)},w(Hn,"EcorePackageImpl/43",1276),b(1277,1,ze,E6n),o.fk=function(e){return L(e,44)},o.gk=function(e){return K(Ud,bS,44,e,0,1)},w(Hn,"EcorePackageImpl/44",1277),b(1238,1,ze,C6n),o.fk=function(e){return L(e,142)},o.gk=function(e){return K(If,xn,142,e,0,1)},w(Hn,"EcorePackageImpl/5",1238),b(1239,1,ze,M6n),o.fk=function(e){return L(e,156)},o.gk=function(e){return K(VU,xn,156,e,0,1)},w(Hn,"EcorePackageImpl/6",1239),b(1240,1,ze,T6n),o.fk=function(e){return L(e,469)},o.gk=function(e){return K(HO,xn,685,e,0,1)},w(Hn,"EcorePackageImpl/7",1240),b(1241,1,ze,A6n),o.fk=function(e){return L(e,582)},o.gk=function(e){return K(Wl,xn,694,e,0,1)},w(Hn,"EcorePackageImpl/8",1241),b(1242,1,ze,S6n),o.fk=function(e){return L(e,480)},o.gk=function(e){return K(z9,xn,480,e,0,1)},w(Hn,"EcorePackageImpl/9",1242),b(1038,2080,iJn,xjn),o.Mi=function(e,t){!function f5e(n,e){var i,r,c;if(e.ej(n.a),null!=(c=u(qn(n.a,8),2035)))for(i=0,r=c.length;i0){if(Gn(0,e.length),47==e.charCodeAt(0)){for(s=new Vc(4),c=1,t=1;t0&&($i(0,i,e.length),e=e.substr(0,i))}return function BEe(n,e){var t,i,r,c,s,f;for(c=null,r=new $Pn((!n.a&&(n.a=new AL(n)),n.a));cen(r);)if(l2(s=(t=u(qA(r),58)).Dh()),null!=(i=(f=s.o)&&t.Xh(f)?XW(uF(f),t.Mh(f)):null)&&Tn(i,e)){c=t;break}return c}(this,e)},o.Gl=function(){return this.c},o.Ib=function(){return sd(this.Rm)+"@"+(wt(this)>>>0).toString(16)+" uri='"+this.d+"'"},o.b=!1,w(QK,"ResourceImpl",799),b(1525,799,LJn,Ayn),w(QK,"BinaryResourceImpl",1525),b(1190,708,GK),o.bj=function(e){return L(e,58)?function Pge(n,e){return n.a?e.Gh().Kc():u(e.Gh(),71).Ii()}(this,u(e,58)):L(e,599)?new ne(u(e,599).El()):x(e)===x(this.f)?u(e,16).Kc():(I3(),SE.a)},o.Ob=function(){return cen(this)},o.a=!1,w(Et,"EcoreUtil/ContentTreeIterator",1190),b(1526,1190,GK,$Pn),o.bj=function(e){return x(e)===x(this.f)?u(e,15).Kc():new LLn(u(e,58))},w(QK,"ResourceImpl/5",1526),b(658,2092,kJn,AL),o.Hc=function(e){return this.i<=4?L4(this,e):L(e,54)&&u(e,54).Jh()==this.a},o.Mi=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},o.Oi=function(e,t){0==e?this.a.b||(this.a.b=!0):T$(this,e,t)},o.Qi=function(e,t){},o.Ri=function(e,t,i){},o.Lj=function(){return 2},o.jj=function(){return this.a},o.Mj=function(){return!0},o.Nj=function(e,t){return u(e,54).fi(this.a,t)},o.Oj=function(e,t){return u(e,54).fi(null,t)},o.Pj=function(){return!1},o.Si=function(){return!0},o.aj=function(e){return K(Ua,xn,58,e,0,1)},o.Yi=function(){return!1},w(QK,"ResourceImpl/ContentsEList",658),b(970,2062,Q4,Syn),o.fd=function(e){return this.a.Ki(e)},o.gc=function(){return this.a.gc()},w(Et,"AbstractSequentialInternalEList/1",970),b(634,1,{},xSn),w(Et,"BasicExtendedMetaData",634),b(1181,1,{},RMn),o.Jl=function(){return null},o.Kl=function(){return-2==this.a&&function ffe(n,e){n.a=e}(this,function Bye(n,e){var t,i,r;if((t=e.qi(n.a))&&null!=(r=jf((!t.b&&(t.b=new wo((In(),hr),kc,t)),t.b),Cs)))for(i=1;i<($u(),E0n).length;++i)if(Tn(E0n[i],r))return i;return 0}(this.d,this.b)),this.a},o.Ll=function(){return null},o.Ml=function(){return On(),On(),Vi},o.xe=function(){return this.c==gm&&function hfe(n,e){n.c=e}(this,eRn(this.d,this.b)),this.c},o.Nl=function(){return 0},o.a=-2,o.c=gm,w(Et,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),b(1182,1,{},sLn),o.Jl=function(){return this.a==(X3(),UO)&&function dfe(n,e){n.a=e}(this,function xAe(n,e){var t,r,c,s;return(r=e.qi(n.a))&&(!r.b&&(r.b=new wo((In(),hr),kc,r)),null!=(t=Oe(jf(r.b,Wi)))&&L(s=-1==(c=t.lastIndexOf("#"))?MW(n,e.jk(),t):0==c?Mk(n,null,(Gn(1,t.length+1),t.substr(1))):Mk(n,($i(0,c,t.length),t.substr(0,c)),(Gn(c+1,t.length+1),t.substr(c+1))),156))?u(s,156):null}(this.f,this.b)),this.a},o.Kl=function(){return 0},o.Ll=function(){return this.c==(X3(),UO)&&function lfe(n,e){n.c=e}(this,function BAe(n,e){var i,r,c,s;return(i=e.qi(n.a))&&(!i.b&&(i.b=new wo((In(),hr),kc,i)),null!=(c=Oe(jf(i.b,ZK)))&&L(s=-1==(r=c.lastIndexOf("#"))?MW(n,e.jk(),c):0==r?Mk(n,null,(Gn(1,c.length+1),c.substr(1))):Mk(n,($i(0,r,c.length),c.substr(0,r)),(Gn(r+1,c.length+1),c.substr(r+1))),156))?u(s,156):null}(this.f,this.b)),this.c},o.Ml=function(){return!this.d&&function wfe(n,e){n.d=e}(this,function jPe(n,e){var t,i,r,c,s,f,h,l,a;if((t=e.qi(n.a))&&null!=(h=Oe(jf((!t.b&&(t.b=new wo((In(),hr),kc,t)),t.b),"memberTypes")))){for(l=new Z,s=0,f=(c=Iw(h,"\\w")).length;st?e:t;l<=d;++l)l==t?f=i++:(a=p.am(r[l].Lk()),l==e&&(h=l!=d||a?i:i-1),a&&++i);return g=u($5(n,e,t),76),f!=h&&b3(n,new Ek(n.e,7,s,Y(f),v.md(),h)),g}return u($5(n,e,t),76)}(this,e,t)},o.Wi=function(e,t){return function bOe(n,e,t){var i,c,s,f,h,l,a,d,g,v,p,k,j;if(L(s=t.Lk(),102)&&u(s,19).Bb&sr&&(g=u(t.md(),54),(k=ba(n.e,g))!=g)){if(G6(n,e,kx(n,0,a=Gh(s,k))),d=null,ao(n.e)&&(i=a2(($u(),Ui),n.e.Dh(),s))!=Nn(n.e.Dh(),n.c)){for(j=ou(n.e.Dh(),s),f=0,c=u(n.g,124),h=0;h=0;)if(this.k.am((t=e[this.c]).Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(Et,"BasicFeatureMap/FeatureEIterator",420),b(676,420,Jh,xD),o.ul=function(){return!0},w(Et,"BasicFeatureMap/ResolvingFeatureEIterator",676),b(968,496,lP,PTn),o.pj=function(){return this},w(Et,"EContentsEList/1",968),b(969,496,lP,ZMn),o.ul=function(){return!1},w(Et,"EContentsEList/2",969),b(967,287,aP,ITn),o.wl=function(e){},o.Ob=function(){return!1},o.Sb=function(){return!1},w(Et,"EContentsEList/FeatureIteratorImpl/1",967),b(840,593,Qr,rW),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.a,this.a=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Et,"EDataTypeEList/Unsettable",840),b(1958,593,Qr,xTn),o.Si=function(){return!0},w(Et,"EDataTypeUniqueEList",1958),b(1959,840,Qr,BTn),o.Si=function(){return!0},w(Et,"EDataTypeUniqueEList/Unsettable",1959),b(147,83,Qr,Pu),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectContainmentEList/Resolving",147),b(1184,555,Qr,RTn),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectContainmentEList/Unsettable/Resolving",1184),b(766,14,Qr,UW),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.a,this.a=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Et,"EObjectContainmentWithInverseEList/Unsettable",766),b(1222,766,Qr,YAn),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),b(757,505,Qr,cW),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.a,this.a=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Et,"EObjectEList/Unsettable",757),b(338,505,Qr,Bg),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectResolvingEList",338),b(1844,757,Qr,KTn),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectResolvingEList/Unsettable",1844),b(1527,1,{},P6n),w(Et,"EObjectValidator",1527),b(559,505,Qr,DM),o.il=function(){return this.d},o.jl=function(){return this.b},o.Mj=function(){return!0},o.ml=function(){return!0},o.b=0,w(Et,"EObjectWithInverseEList",559),b(1225,559,Qr,ZAn),o.ll=function(){return!0},w(Et,"EObjectWithInverseEList/ManyInverse",1225),b(635,559,Qr,rN),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.a,this.a=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Et,"EObjectWithInverseEList/Unsettable",635),b(1224,635,Qr,nSn),o.ll=function(){return!0},w(Et,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),b(767,559,Qr,GW),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectWithInverseResolvingEList",767),b(32,767,Qr,Dn),o.ll=function(){return!0},w(Et,"EObjectWithInverseResolvingEList/ManyInverse",32),b(768,635,Qr,zW),o.nl=function(){return!0},o.Wi=function(e,t){return wp(this,e,u(t,58))},w(Et,"EObjectWithInverseResolvingEList/Unsettable",768),b(1223,768,Qr,eSn),o.ll=function(){return!0},w(Et,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),b(1185,632,Qr),o.Li=function(){return 0==(1792&this.b)},o.Ni=function(){this.b|=1},o.kl=function(){return 0!=(4&this.b)},o.Mj=function(){return 0!=(40&this.b)},o.ll=function(){return 0!=(16&this.b)},o.ml=function(){return 0!=(8&this.b)},o.nl=function(){return 0!=(this.b&_w)},o.al=function(){return 0!=(32&this.b)},o.ol=function(){return 0!=(this.b&Qs)},o.fk=function(e){return this.d?_Ln(this.d,e):this.Lk().Hk().fk(e)},o.Qj=function(){return 2&this.b?0!=(1&this.b):0!=this.i},o.Si=function(){return 0!=(128&this.b)},o.Gk=function(){var e;pe(this),2&this.b&&(ao(this.e)?(e=0!=(1&this.b),this.b&=-2,b3(this,new Gs(this.e,2,St(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},o.Yi=function(){return 0==(1536&this.b)},o.b=0,w(Et,"EcoreEList/Generic",1185),b(1186,1185,Qr,XIn),o.Lk=function(){return this.a},w(Et,"EcoreEList/Dynamic",1186),b(765,66,Ih,uz),o.aj=function(e){return Nk(this.a.a,e)},w(Et,"EcoreEMap/1",765),b(764,83,Qr,UV),o.Mi=function(e,t){MA(this.b,u(t,136))},o.Oi=function(e,t){UFn(this.b)},o.Pi=function(e,t,i){var r;++(r=this.b,u(t,136),r).e},o.Qi=function(e,t){PF(this.b,u(t,136))},o.Ri=function(e,t,i){PF(this.b,u(i,136)),x(i)===x(t)&&u(i,136).Ci(function Gle(n){return null==n?0:wt(n)}(u(t,136).ld())),MA(this.b,u(t,136))},w(Et,"EcoreEMap/DelegateEObjectContainmentEList",764),b(1220,141,dun,oFn),w(Et,"EcoreEMap/Unsettable",1220),b(1221,764,Qr,tSn),o.Ni=function(){this.a=!0},o.Qj=function(){return this.a},o.Gk=function(){var e;pe(this),ao(this.e)?(e=this.a,this.a=!1,tt(this.e,new Gs(this.e,2,this.c,e,!1))):this.a=!1},o.a=!1,w(Et,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),b(1189,215,w2,WPn),o.a=!1,o.b=!1,w(Et,"EcoreUtil/Copier",1189),b(759,1,Ti,LLn),o.Nb=function(e){Ri(this,e)},o.Ob=function(){return KBn(this)},o.Pb=function(){var e;return KBn(this),e=this.b,this.b=null,e},o.Qb=function(){this.a.Qb()},w(Et,"EcoreUtil/ProperContentIterator",759),b(1528,1527,{},P8n),w(Et,"EcoreValidator",1528),Ot(Et,"FeatureMapUtil/Validator"),b(1295,1,{2041:1},I6n),o.am=function(e){return!0},w(Et,"FeatureMapUtil/1",1295),b(773,1,{2041:1},Mtn),o.am=function(e){var t;return this.c==e||(null==(t=un(ee(this.a,e)))?function UAe(n,e){var t;return n.f==ZU?(t=F0(Ir(($u(),Ui),e)),n.e?4==t&&e!=(bp(),e3)&&e!=(bp(),n3)&&e!=(bp(),nG)&&e!=(bp(),eG):2==t):!(!n.d||!(n.d.Hc(e)||n.d.Hc(Vv(Ir(($u(),Ui),e)))||n.d.Hc(a2(($u(),Ui),n.b,e))))||!(!n.f||!Ten(($u(),n.f),ok(Ir(Ui,e))))&&(t=F0(Ir(Ui,e)),n.e?4==t:2==t)}(this,e)?(LDn(this.a,e,(Kn(),mm)),!0):(LDn(this.a,e,(Kn(),Pa)),!1):t==(Kn(),mm))},o.e=!1,w(Et,"FeatureMapUtil/BasicValidator",773),b(774,45,w2,tW),w(Et,"FeatureMapUtil/BasicValidator/Cache",774),b(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},B7),o.bd=function(e,t){yqn(this.c,this.b,e,t)},o.Fc=function(e){return Jen(this.c,this.b,e)},o.cd=function(e,t){return function lIe(n,e,t,i){var r,c,s,f,h,l,a,d;if(0==i.gc())return!1;if(ar(),s=(h=u(e,69).xk())?i:new q0(i.gc()),Bl(n.e,e)){if(e.Si())for(a=i.Kc();a.Ob();)rS(n,e,l=a.Pb(),L(e,102)&&0!=(u(e,19).Bb&sr))||(c=Gh(e,l),s.Fc(c));else if(!h)for(a=i.Kc();a.Ob();)c=Gh(e,l=a.Pb()),s.Fc(c)}else{for(d=ou(n.e.Dh(),e),r=u(n.g,124),f=0;f1)throw M(new Un(wj));h||(c=Gh(e,i.Kc().Pb()),s.Fc(c))}return pY(n,Rnn(n,e,t),s)}(this.c,this.b,e,t)},o.Gc=function(e){return U6(this,e)},o.Gi=function(e,t){!function u4e(n,e,t,i){n.j=-1,oen(n,Rnn(n,e,t),(ar(),u(e,69).vk().xl(i)))}(this.c,this.b,e,t)},o.Wk=function(e,t){return Hen(this.c,this.b,e,t)},o.$i=function(e){return uS(this.c,this.b,e,!1)},o.Ii=function(){return lTn(this.c,this.b)},o.Ji=function(){return function Lle(n,e){return new h4(e,n)}(this.c,this.b)},o.Ki=function(e){return function l3e(n,e,t){var i,r;for(r=new h4(e,n),i=0;i0)if((t-=i.length-e)>=0){for(r.a+="0.";t>Gd.length;t-=Gd.length)nPn(r,Gd);BAn(r,Gd,di(t)),Re(r,(Gn(e,i.length+1),i.substr(e)))}else Re(r,Xo(i,e,di(t=e-t))),r.a+=".",Re(r,iJ(i,di(t)));else{for(Re(r,(Gn(e,i.length+1),i.substr(e)));t<-Gd.length;t+=Gd.length)nPn(r,Gd);BAn(r,Gd,di(-t))}return r.a}(u(t,247));case 15:case 14:return null==t?null:function kwe(n){return n==Mt?gj:n==fi?"-INF":""+n}(F(R(t)));case 17:return PKn((ht(),t));case 18:return PKn(t);case 21:case 20:return null==t?null:function ywe(n){return n==Mt?gj:n==fi?"-INF":""+n}(u(t,161).a);case 27:return cae(u(t,195));case 30:return qRn((ht(),u(t,15)));case 31:return qRn(u(t,15));case 40:return function oae(n){return null==n?null:Jr(n)}((ht(),t));case 42:return IKn((ht(),t));case 43:return IKn(t);case 59:case 48:return function uae(n){return null==n?null:Jr(n)}((ht(),t));default:throw M(new Un(dm+e.xe()+wb))}},o.si=function(e){var i;switch(-1==e.G&&(e.G=(i=Mo(e))?j1(i.vi(),e):-1),e.G){case 0:return new Mz;case 1:return new _6n;case 2:return new vjn;case 3:return new pjn;default:throw M(new Un(NK+e.zb+wb))}},o.ti=function(e,t){var i,r,c,s,f,h,l,a,d,g,v,p,k,j,A,I;switch(e.hk()){case 5:case 52:case 4:return t;case 6:return d9e(t);case 8:case 7:return null==t?null:function Zke(n){if(n=_c(n,!0),Tn(am,n)||Tn("1",n))return Kn(),mm;if(Tn(PK,n)||Tn("0",n))return Kn(),Pa;throw M(new UL("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:Ik(Io((r=_c(t,!0)).length>0&&(Gn(0,r.length),43==r.charCodeAt(0))?(Gn(1,r.length+1),r.substr(1)):r,-128,127)<<24>>24);case 10:return null==t?null:Ik(Io((c=_c(t,!0)).length>0&&(Gn(0,c.length),43==c.charCodeAt(0))?(Gn(1,c.length+1),c.substr(1)):c,-128,127)<<24>>24);case 11:return Oe(ob(this,(ht(),ase),t));case 12:return Oe(ob(this,(ht(),dse),t));case 13:return null==t?null:new Vz(_c(t,!0));case 15:case 14:return function jMe(n){var e,t,i,r;if(null==n)return null;if(Tn((i=_c(n,!0)).substr(i.length-(r=gj.length),r),gj))if(4==(t=i.length)){if(Gn(0,i.length),43==(e=i.charCodeAt(0)))return P0n;if(45==e)return Cse}else if(3==t)return P0n;return Ew(i)}(t);case 16:return Oe(ob(this,(ht(),bse),t));case 17:return GBn((ht(),t));case 18:return GBn(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return _c(t,!0);case 21:case 20:return function LMe(n){var e,t,i,r;if(null==n)return null;if(Tn((i=_c(n,!0)).substr(i.length-(r=gj.length),r),gj))if(4==(t=i.length)){if(Gn(0,i.length),43==(e=i.charCodeAt(0)))return I0n;if(45==e)return Mse}else if(3==t)return I0n;return new az(i)}(t);case 22:return Oe(ob(this,(ht(),wse),t));case 23:return Oe(ob(this,(ht(),gse),t));case 24:return Oe(ob(this,(ht(),vse),t));case 25:return Oe(ob(this,(ht(),pse),t));case 26:return Oe(ob(this,(ht(),mse),t));case 27:return e9e(t);case 30:return zBn((ht(),t));case 31:return zBn(t);case 32:return null==t?null:Y(Io((d=_c(t,!0)).length>0&&(Gn(0,d.length),43==d.charCodeAt(0))?(Gn(1,d.length+1),d.substr(1)):d,Xi,nt));case 33:return null==t?null:new ea((g=_c(t,!0)).length>0&&(Gn(0,g.length),43==g.charCodeAt(0))?(Gn(1,g.length+1),g.substr(1)):g);case 34:return null==t?null:Y(Io((v=_c(t,!0)).length>0&&(Gn(0,v.length),43==v.charCodeAt(0))?(Gn(1,v.length+1),v.substr(1)):v,Xi,nt));case 36:return null==t?null:$l(lS((p=_c(t,!0)).length>0&&(Gn(0,p.length),43==p.charCodeAt(0))?(Gn(1,p.length+1),p.substr(1)):p));case 37:return null==t?null:$l(lS((k=_c(t,!0)).length>0&&(Gn(0,k.length),43==k.charCodeAt(0))?(Gn(1,k.length+1),k.substr(1)):k));case 40:return function Y9e(n){var e;return null==n?null:new ea((e=_c(n,!0)).length>0&&(Gn(0,e.length),43==e.charCodeAt(0))?(Gn(1,e.length+1),e.substr(1)):e)}((ht(),t));case 42:return XBn((ht(),t));case 43:return XBn(t);case 44:return null==t?null:new ea((j=_c(t,!0)).length>0&&(Gn(0,j.length),43==j.charCodeAt(0))?(Gn(1,j.length+1),j.substr(1)):j);case 45:return null==t?null:new ea((A=_c(t,!0)).length>0&&(Gn(0,A.length),43==A.charCodeAt(0))?(Gn(1,A.length+1),A.substr(1)):A);case 46:return _c(t,!1);case 47:return Oe(ob(this,(ht(),kse),t));case 59:case 48:return function Q9e(n){var e;return null==n?null:new ea((e=_c(n,!0)).length>0&&(Gn(0,e.length),43==e.charCodeAt(0))?(Gn(1,e.length+1),e.substr(1)):e)}((ht(),t));case 49:return Oe(ob(this,(ht(),yse),t));case 50:return null==t?null:k4(Io((I=_c(t,!0)).length>0&&(Gn(0,I.length),43==I.charCodeAt(0))?(Gn(1,I.length+1),I.substr(1)):I,gP,32767)<<16>>16);case 51:return null==t?null:k4(Io((s=_c(t,!0)).length>0&&(Gn(0,s.length),43==s.charCodeAt(0))?(Gn(1,s.length+1),s.substr(1)):s,gP,32767)<<16>>16);case 53:return Oe(ob(this,(ht(),jse),t));case 55:return null==t?null:k4(Io((f=_c(t,!0)).length>0&&(Gn(0,f.length),43==f.charCodeAt(0))?(Gn(1,f.length+1),f.substr(1)):f,gP,32767)<<16>>16);case 56:return null==t?null:k4(Io((h=_c(t,!0)).length>0&&(Gn(0,h.length),43==h.charCodeAt(0))?(Gn(1,h.length+1),h.substr(1)):h,gP,32767)<<16>>16);case 57:return null==t?null:$l(lS((l=_c(t,!0)).length>0&&(Gn(0,l.length),43==l.charCodeAt(0))?(Gn(1,l.length+1),l.substr(1)):l));case 58:return null==t?null:$l(lS((a=_c(t,!0)).length>0&&(Gn(0,a.length),43==a.charCodeAt(0))?(Gn(1,a.length+1),a.substr(1)):a));case 60:return null==t?null:Y(Io((i=_c(t,!0)).length>0&&(Gn(0,i.length),43==i.charCodeAt(0))?(Gn(1,i.length+1),i.substr(1)):i,Xi,nt));case 61:return null==t?null:Y(Io(_c(t,!0),Xi,nt));default:throw M(new Un(dm+e.xe()+wb))}},w(ci,"XMLTypeFactoryImpl",2028),b(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},gIn),o.N=!1,o.O=!1;var ch,U1,n7,XO,P,Tse=!1;w(ci,"XMLTypePackageImpl",594),b(1961,1,{851:1},L6n),o.Kk=function(){return ctn(),$se},w(ci,"XMLTypePackageImpl/1",1961),b(1970,1,ze,D6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/10",1970),b(1971,1,ze,N6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/11",1971),b(1972,1,ze,$6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/12",1972),b(1973,1,ze,F6n),o.fk=function(e){return Jb(e)},o.gk=function(e){return K(ui,J,345,e,7,1)},w(ci,"XMLTypePackageImpl/13",1973),b(1974,1,ze,x6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/14",1974),b(1975,1,ze,B6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/15",1975),b(1976,1,ze,R6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/16",1976),b(1977,1,ze,K6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/17",1977),b(1978,1,ze,H6n),o.fk=function(e){return L(e,161)},o.gk=function(e){return K(km,J,161,e,0,1)},w(ci,"XMLTypePackageImpl/18",1978),b(1979,1,ze,q6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/19",1979),b(1962,1,ze,U6n),o.fk=function(e){return L(e,857)},o.gk=function(e){return K(IE,xn,857,e,0,1)},w(ci,"XMLTypePackageImpl/2",1962),b(1980,1,ze,G6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/20",1980),b(1981,1,ze,z6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/21",1981),b(1982,1,ze,X6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/22",1982),b(1983,1,ze,W6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/23",1983),b(1984,1,ze,V6n),o.fk=function(e){return L(e,195)},o.gk=function(e){return K(Ku,J,195,e,0,2)},w(ci,"XMLTypePackageImpl/24",1984),b(1985,1,ze,J6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/25",1985),b(1986,1,ze,Q6n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/26",1986),b(1987,1,ze,Y6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/27",1987),b(1988,1,ze,Z6n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/28",1988),b(1989,1,ze,n5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/29",1989),b(1963,1,ze,e5n),o.fk=function(e){return L(e,681)},o.gk=function(e){return K(zO,xn,2119,e,0,1)},w(ci,"XMLTypePackageImpl/3",1963),b(1990,1,ze,t5n),o.fk=function(e){return L(e,17)},o.gk=function(e){return K(qi,J,17,e,0,1)},w(ci,"XMLTypePackageImpl/30",1990),b(1991,1,ze,i5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/31",1991),b(1992,1,ze,r5n),o.fk=function(e){return L(e,168)},o.gk=function(e){return K(vb,J,168,e,0,1)},w(ci,"XMLTypePackageImpl/32",1992),b(1993,1,ze,c5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/33",1993),b(1994,1,ze,u5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/34",1994),b(1995,1,ze,o5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/35",1995),b(1996,1,ze,s5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/36",1996),b(1997,1,ze,f5n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/37",1997),b(1998,1,ze,h5n),o.fk=function(e){return L(e,15)},o.gk=function(e){return K(ss,$w,15,e,0,1)},w(ci,"XMLTypePackageImpl/38",1998),b(1999,1,ze,l5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/39",1999),b(1964,1,ze,a5n),o.fk=function(e){return L(e,682)},o.gk=function(e){return K(OE,xn,2120,e,0,1)},w(ci,"XMLTypePackageImpl/4",1964),b(2e3,1,ze,d5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/40",2e3),b(2001,1,ze,b5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/41",2001),b(2002,1,ze,w5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/42",2002),b(2003,1,ze,g5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/43",2003),b(2004,1,ze,v5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/44",2004),b(2005,1,ze,p5n),o.fk=function(e){return L(e,191)},o.gk=function(e){return K(pb,J,191,e,0,1)},w(ci,"XMLTypePackageImpl/45",2005),b(2006,1,ze,m5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/46",2006),b(2007,1,ze,k5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/47",2007),b(2008,1,ze,y5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/48",2008),b(2009,1,ze,j5n),o.fk=function(e){return L(e,191)},o.gk=function(e){return K(pb,J,191,e,0,1)},w(ci,"XMLTypePackageImpl/49",2009),b(1965,1,ze,E5n),o.fk=function(e){return L(e,683)},o.gk=function(e){return K(A0n,xn,2121,e,0,1)},w(ci,"XMLTypePackageImpl/5",1965),b(2010,1,ze,C5n),o.fk=function(e){return L(e,168)},o.gk=function(e){return K(vb,J,168,e,0,1)},w(ci,"XMLTypePackageImpl/50",2010),b(2011,1,ze,M5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/51",2011),b(2012,1,ze,T5n),o.fk=function(e){return L(e,17)},o.gk=function(e){return K(qi,J,17,e,0,1)},w(ci,"XMLTypePackageImpl/52",2012),b(1966,1,ze,A5n),o.fk=function(e){return Mi(e)},o.gk=function(e){return K(fn,J,2,e,6,1)},w(ci,"XMLTypePackageImpl/6",1966),b(1967,1,ze,S5n),o.fk=function(e){return L(e,195)},o.gk=function(e){return K(Ku,J,195,e,0,2)},w(ci,"XMLTypePackageImpl/7",1967),b(1968,1,ze,P5n),o.fk=function(e){return Vb(e)},o.gk=function(e){return K(qt,J,485,e,8,1)},w(ci,"XMLTypePackageImpl/8",1968),b(1969,1,ze,I5n),o.fk=function(e){return L(e,222)},o.gk=function(e){return K(Op,J,222,e,0,1)},w(ci,"XMLTypePackageImpl/9",1969),b(55,63,Rl,De),w(I1,"RegEx/ParseException",55),b(836,1,{},TG),o.bm=function(e){return e16*i)throw M(new De($e((Ie(),XVn))));i=16*i+c}if(125!=this.a)throw M(new De($e((Ie(),WVn))));if(i>vm)throw M(new De($e((Ie(),VVn))));e=i}else{if(c=0,0!=this.c||(c=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(i=c,Ye(this),0!=this.c||(c=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));e=i=16*i+c}break;case 117:if(r=0,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));e=t=16*t+r;break;case 118:if(Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if(t=16*t+r,Ye(this),0!=this.c||(r=Pd(this.a))<0)throw M(new De($e((Ie(),P1))));if((t=16*t+r)>vm)throw M(new De($e((Ie(),"parser.descappe.4"))));e=t;break;case 65:case 90:case 122:throw M(new De($e((Ie(),JVn))))}return e},o.dm=function(e){var i;switch(e){case 100:i=32==(32&this.e)?ya("Nd",!0):(Ze(),WO);break;case 68:i=32==(32&this.e)?ya("Nd",!1):(Ze(),F0n);break;case 119:i=32==(32&this.e)?ya("IsWord",!0):(Ze(),r6);break;case 87:i=32==(32&this.e)?ya("IsWord",!1):(Ze(),B0n);break;case 115:i=32==(32&this.e)?ya("IsSpace",!0):(Ze(),t3);break;case 83:i=32==(32&this.e)?ya("IsSpace",!1):(Ze(),x0n);break;default:throw M(new ic(JJn+e.toString(16)))}return i},o.em=function(e){var t,i,r,c,f,h,l,a,d,g,v;for(this.b=1,Ye(this),t=null,0==this.c&&94==this.a?(Ye(this),e?(Ze(),Ze(),d=new Co(5)):(Ze(),Ze(),Kc(t=new Co(4),0,vm),d=new Co(4))):(Ze(),Ze(),d=new Co(4)),c=!0;1!=(v=this.c)&&(0!=v||93!=this.a||c);){if(c=!1,i=this.a,r=!1,10==v)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:Ow(d,this.dm(i)),r=!0;break;case 105:case 73:case 99:case 67:(i=this.um(d,i))<0&&(r=!0);break;case 112:case 80:if(!(g=ien(this,i)))throw M(new De($e((Ie(),XK))));Ow(d,g),r=!0;break;default:i=this.cm()}else if(20==v){if((f=A3(this.i,58,this.d))<0)throw M(new De($e((Ie(),oun))));if(h=!0,94==Gi(this.i,this.d)&&(++this.d,h=!1),!(l=yNn(Xo(this.i,this.d,f),h,512==(512&this.e))))throw M(new De($e((Ie(),HVn))));if(Ow(d,l),r=!0,f+1>=this.j||93!=Gi(this.i,f+1))throw M(new De($e((Ie(),oun))));this.d=f+2}if(Ye(this),!r)if(0!=this.c||45!=this.a)Kc(d,i,i);else{if(Ye(this),1==(v=this.c))throw M(new De($e((Ie(),fP))));0==v&&93==this.a?(Kc(d,i,i),Kc(d,45,45)):(a=this.a,10==v&&(a=this.cm()),Ye(this),Kc(d,i,a))}(this.e&Qs)==Qs&&0==this.c&&44==this.a&&Ye(this)}if(1==this.c)throw M(new De($e((Ie(),fP))));return t&&(l8(t,d),d=t),u2(d),f8(d),this.b=0,Ye(this),d},o.fm=function(){var e,t,i,r;for(i=this.em(!1);7!=(r=this.c);){if(e=this.a,(0!=r||45!=e&&38!=e)&&4!=r)throw M(new De($e((Ie(),GVn))));if(Ye(this),9!=this.c)throw M(new De($e((Ie(),UVn))));if(t=this.em(!1),4==r)Ow(i,t);else if(45==e)l8(i,t);else{if(38!=e)throw M(new ic("ASSERT"));SGn(i,t)}}return Ye(this),i},o.gm=function(){var e,t;return e=this.a-48,Ze(),Ze(),t=new n$(12,null,e),!this.g&&(this.g=new iC),tC(this.g,new oz(e)),Ye(this),t},o.hm=function(){return Ye(this),Ze(),Pse},o.im=function(){return Ye(this),Ze(),Sse},o.jm=function(){throw M(new De($e((Ie(),os))))},o.km=function(){throw M(new De($e((Ie(),os))))},o.lm=function(){return Ye(this),g6e()},o.mm=function(){return Ye(this),Ze(),Ose},o.nm=function(){return Ye(this),Ze(),Dse},o.om=function(){var e;if(this.d>=this.j||64!=(65504&(e=Gi(this.i,this.d++))))throw M(new De($e((Ie(),RVn))));return Ye(this),Ze(),Ze(),new Hh(0,e-64)},o.pm=function(){return Ye(this),function mPe(){var n,e,t,i,r,c;if(Ze(),iG)return iG;for(Ow(n=new Co(4),ya(o_,!0)),l8(n,ya("M",!0)),l8(n,ya("C",!0)),c=new Co(4),i=0;i<11;i++)Kc(c,i,i);return Ow(e=new Co(4),ya("M",!0)),Kc(e,4448,4607),Kc(e,65438,65439),Ld(r=new q6(2),n),Ld(r,t7),(t=new q6(2)).Jm(MM(c,ya("L",!0))),t.Jm(e),t=new JV(r,t=new sw(3,t)),iG=t}()},o.qm=function(){return Ye(this),Ze(),Nse},o.rm=function(){var e;return Ze(),Ze(),e=new Hh(0,105),Ye(this),e},o.sm=function(){return Ye(this),Ze(),Lse},o.tm=function(){return Ye(this),Ze(),Ise},o.um=function(e,t){return this.cm()},o.vm=function(){return Ye(this),Ze(),N0n},o.wm=function(){var e,t,i,r,c;if(this.d+1>=this.j)throw M(new De($e((Ie(),FVn))));if(r=-1,t=null,49<=(e=Gi(this.i,this.d))&&e<=57){if(r=e-48,!this.g&&(this.g=new iC),tC(this.g,new oz(r)),++this.d,41!=Gi(this.i,this.d))throw M(new De($e((Ie(),Hd))));++this.d}else switch(63==e&&--this.d,Ye(this),t=Itn(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw M(new De($e((Ie(),Hd))));break;default:throw M(new De($e((Ie(),xVn))))}if(Ye(this),i=null,2==(c=Z0(this)).e){if(2!=c.Pm())throw M(new De($e((Ie(),BVn))));i=c.Lm(1),c=c.Lm(0)}if(7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),Ze(),Ze(),new t$n(r,t,c,i)},o.xm=function(){return Ye(this),Ze(),$0n},o.ym=function(){var e;if(Ye(this),e=NM(24,Z0(this)),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.zm=function(){var e;if(Ye(this),e=NM(20,Z0(this)),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Am=function(){var e;if(Ye(this),e=NM(22,Z0(this)),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Bm=function(){var e,t,i,r,c;for(e=0,i=0,t=-1;this.d=this.j)throw M(new De($e((Ie(),cun))));if(45==t){for(++this.d;this.d=this.j)throw M(new De($e((Ie(),cun))))}if(58==t){if(++this.d,Ye(this),r=QPn(Z0(this),e,i),7!=this.c)throw M(new De($e((Ie(),Hd))));Ye(this)}else{if(41!=t)throw M(new De($e((Ie(),$Vn))));++this.d,Ye(this),r=QPn(Z0(this),e,i)}return r},o.Cm=function(){var e;if(Ye(this),e=NM(21,Z0(this)),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Dm=function(){var e;if(Ye(this),e=NM(23,Z0(this)),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Em=function(){var e,t;if(Ye(this),e=this.f++,t=SN(Z0(this),e),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),t},o.Fm=function(){var e;if(Ye(this),e=SN(Z0(this),0),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Gm=function(e){return Ye(this),5==this.c?(Ye(this),MM(e,(Ze(),Ze(),new sw(9,e)))):MM(e,(Ze(),Ze(),new sw(3,e)))},o.Hm=function(e){var t;return Ye(this),Ze(),Ze(),t=new q6(2),5==this.c?(Ye(this),Ld(t,t7),Ld(t,e)):(Ld(t,e),Ld(t,t7)),t},o.Im=function(e){return Ye(this),5==this.c?(Ye(this),Ze(),Ze(),new sw(9,e)):(Ze(),Ze(),new sw(3,e))},o.a=0,o.b=0,o.c=0,o.d=0,o.e=0,o.f=1,o.g=null,o.j=0,w(I1,"RegEx/RegexParser",836),b(1947,836,{},mjn),o.bm=function(e){return!1},o.cm=function(){return Ben(this)},o.dm=function(e){return H4(e)},o.em=function(e){return Ezn(this)},o.fm=function(){throw M(new De($e((Ie(),os))))},o.gm=function(){throw M(new De($e((Ie(),os))))},o.hm=function(){throw M(new De($e((Ie(),os))))},o.im=function(){throw M(new De($e((Ie(),os))))},o.jm=function(){return Ye(this),H4(67)},o.km=function(){return Ye(this),H4(73)},o.lm=function(){throw M(new De($e((Ie(),os))))},o.mm=function(){throw M(new De($e((Ie(),os))))},o.nm=function(){throw M(new De($e((Ie(),os))))},o.om=function(){return Ye(this),H4(99)},o.pm=function(){throw M(new De($e((Ie(),os))))},o.qm=function(){throw M(new De($e((Ie(),os))))},o.rm=function(){return Ye(this),H4(105)},o.sm=function(){throw M(new De($e((Ie(),os))))},o.tm=function(){throw M(new De($e((Ie(),os))))},o.um=function(e,t){return Ow(e,H4(t)),-1},o.vm=function(){return Ye(this),Ze(),Ze(),new Hh(0,94)},o.wm=function(){throw M(new De($e((Ie(),os))))},o.xm=function(){return Ye(this),Ze(),Ze(),new Hh(0,36)},o.ym=function(){throw M(new De($e((Ie(),os))))},o.zm=function(){throw M(new De($e((Ie(),os))))},o.Am=function(){throw M(new De($e((Ie(),os))))},o.Bm=function(){throw M(new De($e((Ie(),os))))},o.Cm=function(){throw M(new De($e((Ie(),os))))},o.Dm=function(){throw M(new De($e((Ie(),os))))},o.Em=function(){var e;if(Ye(this),e=SN(Z0(this),0),7!=this.c)throw M(new De($e((Ie(),Hd))));return Ye(this),e},o.Fm=function(){throw M(new De($e((Ie(),os))))},o.Gm=function(e){return Ye(this),MM(e,(Ze(),Ze(),new sw(3,e)))},o.Hm=function(e){var t;return Ye(this),Ze(),Ze(),Ld(t=new q6(2),e),Ld(t,t7),t},o.Im=function(e){return Ye(this),Ze(),Ze(),new sw(3,e)};var sv=null,t6=null;w(I1,"RegEx/ParserForXMLSchema",1947),b(122,1,pm,h0),o.Jm=function(e){throw M(new ic("Not supported."))},o.Km=function(){return-1},o.Lm=function(e){return null},o.Mm=function(){return null},o.Nm=function(e){},o.Om=function(e){},o.Pm=function(){return 0},o.Ib=function(){return this.Qm(0)},o.Qm=function(e){return 11==this.e?".":""},o.e=0;var O0n,i6,e7,Ase,L0n,WO,D0n,t7,N0n,$0n,F0n,x0n,B0n,Sse,t3,Pse,Ise,Ose,Lse,r6,Dse,Nse,$se,Va,mg=null,tG=null,iG=null,PNe=w(I1,"RegEx/Token",122);b(138,122,{3:1,138:1,122:1},Co),o.Qm=function(e){var t,i,r;if(4==this.e)if(this==D0n)i=".";else if(this==WO)i="\\d";else if(this==r6)i="\\w";else if(this==t3)i="\\s";else{for((r=new e1).a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?jr(r,Iy(this.b[t])):(jr(r,Iy(this.b[t])),r.a+="-",jr(r,Iy(this.b[t+1])));r.a+="]",i=r.a}else if(this==F0n)i="\\D";else if(this==B0n)i="\\W";else if(this==x0n)i="\\S";else{for((r=new e1).a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?jr(r,Iy(this.b[t])):(jr(r,Iy(this.b[t])),r.a+="-",jr(r,Iy(this.b[t+1])));r.a+="]",i=r.a}return i},o.a=!1,o.c=!1,w(I1,"RegEx/RangeToken",138),b(592,1,{592:1},oz),o.a=0,w(I1,"RegEx/RegexParser/ReferencePosition",592),b(591,1,{3:1,591:1},NEn),o.Fb=function(e){var t;return!(null==e||!L(e,591))&&(t=u(e,591),Tn(this.b,t.b)&&this.a==t.a)},o.Hb=function(){return w1(this.b+"/"+Oen(this.a))},o.Ib=function(){return this.c.Qm(this.a)},o.a=0,w(I1,"RegEx/RegularExpression",591),b(228,122,pm,Hh),o.Km=function(){return this.a},o.Qm=function(e){var i,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r="\\"+iN(this.a&ri);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:r=this.a>=sr?"\\v"+Xo(i="0"+(this.a>>>0).toString(16),i.length-6,i.length):""+iN(this.a&ri)}break;case 8:r=this==N0n||this==$0n?""+iN(this.a&ri):"\\"+iN(this.a&ri);break;default:r=null}return r},o.a=0,w(I1,"RegEx/Token/CharToken",228),b(318,122,pm,sw),o.Lm=function(e){return this.a},o.Nm=function(e){this.b=e},o.Om=function(e){this.c=e},o.Pm=function(){return 1},o.Qm=function(e){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw M(new ic("Token#toString(): CLOSURE "+this.c+cr+this.b));t=this.a.Qm(e)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.Qm(e)+"*?";else if(this.c==this.b)t=this.a.Qm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(e)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw M(new ic("Token#toString(): NONGREEDYCLOSURE "+this.c+cr+this.b));t=this.a.Qm(e)+"{"+this.c+",}?"}return t},o.b=0,o.c=0,w(I1,"RegEx/Token/ClosureToken",318),b(837,122,pm,JV),o.Lm=function(e){return 0==e?this.a:this.b},o.Pm=function(){return 2},o.Qm=function(e){return 3==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(e)+"+":9==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(e)+"+?":this.a.Qm(e)+""+this.b.Qm(e)},w(I1,"RegEx/Token/ConcatToken",837),b(1945,122,pm,t$n),o.Lm=function(e){if(0==e)return this.d;if(1==e)return this.b;throw M(new ic("Internal Error: "+e))},o.Pm=function(){return this.b?2:1},o.Qm=function(e){return(this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a)+(this.b?this.d+"|"+this.b+")":this.d+")")},o.c=0,w(I1,"RegEx/Token/ConditionToken",1945),b(1946,122,pm,zOn),o.Lm=function(e){return this.b},o.Pm=function(){return 1},o.Qm=function(e){return"(?"+(0==this.a?"":Oen(this.a))+(0==this.c?"":Oen(this.c))+":"+this.b.Qm(e)+")"},o.a=0,o.c=0,w(I1,"RegEx/Token/ModifierToken",1946),b(838,122,pm,uJ),o.Lm=function(e){return this.a},o.Pm=function(){return 1},o.Qm=function(e){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.Qm(e)+")":"("+this.a.Qm(e)+")";break;case 20:t="(?="+this.a.Qm(e)+")";break;case 21:t="(?!"+this.a.Qm(e)+")";break;case 22:t="(?<="+this.a.Qm(e)+")";break;case 23:t="(?"+this.a.Qm(e)+")"}return t},o.b=0,w(I1,"RegEx/Token/ParenToken",838),b(530,122,{3:1,122:1,530:1},n$),o.Mm=function(){return this.b},o.Qm=function(e){return 12==this.e?"\\"+this.a:function lMe(n){var e,t,i,r;for(r=n.length,e=null,i=0;i=0?(e||(e=new p6,i>0&&jr(e,($i(0,i,n.length),n.substr(0,i)))),e.a+="\\",B3(e,t&ri)):e&&B3(e,t&ri);return e?e.a:n}(this.b)},o.a=0,w(I1,"RegEx/Token/StringToken",530),b(477,122,pm,q6),o.Jm=function(e){Ld(this,e)},o.Lm=function(e){return u($0(this.a,e),122)},o.Pm=function(){return this.a?this.a.a.c.length:0},o.Qm=function(e){var t,i,r,c,s;if(1==this.e){if(2==this.a.a.c.length)t=u($0(this.a,0),122),c=3==(i=u($0(this.a,1),122)).e&&i.Lm(0)==t?t.Qm(e)+"+":9==i.e&&i.Lm(0)==t?t.Qm(e)+"+?":t.Qm(e)+""+i.Qm(e);else{for(s=new e1,r=0;r=n.c.b:n.a<=n.c.b))throw M(new tc);return e=n.a,n.a+=n.c.c,++n.b,Y(e)}(this)},o.Ub=function(){return function P3e(n){if(n.b<=0)throw M(new tc);return--n.b,n.a-=n.c.c,Y(n.a)}(this)},o.Wb=function(e){u(e,17),function Vle(){throw M(new Zl(tQn))}()},o.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},o.Sb=function(){return this.b>0},o.Tb=function(){return this.b},o.Vb=function(){return this.b-1},o.Qb=function(){throw M(new Zl(iQn))},o.a=0,o.b=0,w(Tun,"ExclusiveRange/RangeIterator",258);var ds=R3(hP,"C"),ye=R3(B8,"I"),fo=R3(vp,"Z"),Ja=R3(R8,"J"),Ku=R3($8,"B"),Ai=R3(F8,"D"),kg=R3(x8,"F"),fv=R3(K8,"S"),INe=Ot("org.eclipse.elk.core.labels","ILabelManager"),R0n=Ot(ur,"DiagnosticChain"),K0n=Ot(OJn,"ResourceSet"),_0n=w(ur,"InvocationTargetException",null),Fse=(oC(),function Upe(n){return oC(),function(){return $ve(n,this,arguments)}}),xse=xse=function $ke(n,e,t,i){$En();var r=f_;function c(){for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:{};!function Xr(xr,Lt){if(!(xr instanceof Lt))throw new TypeError("Cannot call a class as a function")}(this,Lt);var lc=Object.assign({},xi),bu=!1;try{Za.resolve("web-worker"),bu=!0}catch{}if(xi.workerUrl)if(bu){var Jl=Za("web-worker");lc.workerFactory=function(Vn){return new Jl(Vn)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!lc.workerFactory){var bl=Za("./elk-worker.min.js").Worker;lc.workerFactory=function(Vn){return new bl(Vn)}}return function y(xr,Lt){if(!xr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Lt||"object"!=typeof Lt&&"function"!=typeof Lt?xr:Lt}(this,(Lt.__proto__||Object.getPrototypeOf(Lt)).call(this,lc))}return function av(xr,Lt){if("function"!=typeof Lt&&null!==Lt)throw new TypeError("Super expression must either be null or a function, not "+typeof Lt);xr.prototype=Object.create(Lt&&Lt.prototype,{constructor:{value:xr,enumerable:!1,writable:!0,configurable:!0}}),Lt&&(Object.setPrototypeOf?Object.setPrototypeOf(xr,Lt):xr.__proto__=Lt)}(Lt,xr),Lt}(Za("./elk-api.js").default);Object.defineProperty(ho.exports,"__esModule",{value:!0}),ho.exports=du,du.default=du},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(Za,ho,uh){ho.exports=Worker},{}]},{},[3])(3)},5690:(q0n,NE,Ya)=>{"use strict";Ya.r(NE),Ya.d(NE,{diagram:()=>Hb});var VO=Ya(5861),Za=Ya(5609),ho=Ya(8586),uh=Ya(9038),Xr=Ya(9037),y=Ya(7942);Ya(1764),Ya(6780),Ya(2735);const Lt=new y;let xi={};const lc={};let bu={};const Jl=function(){var N=(0,VO.Z)(function*(xt,Gt,Si,lr,er,lo,Wt){const nc=Si.select(`[id="${Gt}"]`).insert("g").attr("class","nodes"),_o=Object.keys(xt);return yield Promise.all(_o.map(function(){var nd=(0,VO.Z)(function*(z1){const ec=xt[z1];let zt="default";ec.classes.length>0&&(zt=ec.classes.join(" ")),zt+=" flowchart-label";const X1=(0,Xr.k)(ec.styles);let gl=void 0!==ec.text?ec.text:ec.id;const bs={width:0,height:0},W1=[{id:ec.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:ec.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:ec.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:ec.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let Ql=0,wu="",dv={};switch(ec.type){case"round":Ql=5,wu="rect";break;case"square":case"group":default:wu="rect";break;case"diamond":wu="question",dv={portConstraints:"FIXED_SIDE"};break;case"hexagon":wu="hexagon";break;case"odd":case"odd_right":wu="rect_left_inv_arrow";break;case"lean_right":wu="lean_right";break;case"lean_left":wu="lean_left";break;case"trapezoid":wu="trapezoid";break;case"inv_trapezoid":wu="inv_trapezoid";break;case"circle":wu="circle";break;case"ellipse":wu="ellipse";break;case"stadium":wu="stadium";break;case"subroutine":wu="subroutine";break;case"cylinder":wu="cylinder";break;case"doublecircle":wu="doublecircle"}const Br={labelStyle:X1.labelStyle,shape:wu,labelText:gl,labelType:ec.labelType,rx:Ql,ry:Ql,class:zt,style:X1.style,id:ec.id,link:ec.link,linkTarget:ec.linkTarget,tooltip:er.db.getTooltip(ec.id)||"",domId:er.db.lookUpDomId(ec.id),haveCallback:ec.haveCallback,width:"group"===ec.type?500:void 0,dir:ec.dir,type:ec.type,props:ec.props,padding:(0,Xr.F)().flowchart.padding};let yc,Rh;if("group"!==Br.type)Rh=yield(0,uh.e)(nc,Br,ec.dir),yc=Rh.node().getBBox();else{lr.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:Yl,bbox:xE}=yield(0,uh.l)(nc,Br,void 0,!0);bs.width=xE.width,bs.wrappingWidth=(0,Xr.F)().flowchart.wrappingWidth,bs.height=xE.height,bs.labelNode=Yl.node(),Br.labelData=bs}const Fs={id:ec.id,ports:"diamond"===ec.type?W1:[],layoutOptions:dv,labelText:gl,labelData:bs,domId:er.db.lookUpDomId(ec.id),width:yc?.width,height:yc?.height,type:ec.type,el:Rh,parent:lo.parentById[ec.id]};bu[Br.id]=Fs});return function(z1){return nd.apply(this,arguments)}}())),Wt});return function(Gt,Si,lr,er,lo,Wt,wl){return N.apply(this,arguments)}}(),Bh=(N,xt,Gt)=>{const Si={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return Si.TD=Si.TB,Si[Gt][xt][N]},bl=(N,xt,Gt)=>{if(Xr.l.info("getNextPort",{node:N,edgeDirection:xt,graphDirection:Gt}),!xi[N])switch(Gt){case"TB":case"TD":xi[N]={inPosition:"north",outPosition:"south"};break;case"BT":xi[N]={inPosition:"south",outPosition:"north"};break;case"RL":xi[N]={inPosition:"east",outPosition:"west"};break;case"LR":xi[N]={inPosition:"west",outPosition:"east"}}const Si="in"===xt?xi[N].inPosition:xi[N].outPosition;return"in"===xt?xi[N].inPosition=Bh(xi[N].inPosition,xt,Gt):xi[N].outPosition=Bh(xi[N].outPosition,xt,Gt),Si},YO=function(N,xt,Gt,Si,lr,er){const lo=function(N,xt,Gt){const Si=((N,xt,Gt)=>{const{parentById:Si}=Gt,lr=new Set;let er=N;for(;er;){if(lr.add(er),er===xt)return er;er=Si[er]}for(er=xt;er;){if(lr.has(er))return er;er=Si[er]}return"root"})(N,xt,Gt);if(void 0===Si||"root"===Si)return{x:0,y:0};const lr=bu[Si].offset;return{x:lr.posX,y:lr.posY}}(xt.sourceId,xt.targetId,lr),Wt=xt.sections[0].startPoint,wl=xt.sections[0].endPoint,_o=(xt.sections[0].bendPoints?xt.sections[0].bendPoints:[]).map(Ql=>[Ql.x+lo.x,Ql.y+lo.y]),nd=[[Wt.x+lo.x,Wt.y+lo.y],..._o,[wl.x+lo.x,wl.y+lo.y]],{x:z1,y:ec}=(0,uh.k)(xt.edgeData),zt=(0,ho.jvg)().x(z1).y(ec).curve(ho.c_6),X1=N.insert("path").attr("d",zt(nd)).attr("class","path "+Gt.classes).attr("fill","none"),gl=N.insert("g").attr("class","edgeLabel"),bs=(0,ho.Ys)(gl.node().appendChild(xt.labelEl)),W1=bs.node().firstChild.getBoundingClientRect();bs.attr("width",W1.width),bs.attr("height",W1.height),gl.attr("transform",`translate(${xt.labels[0].x+lo.x}, ${xt.labels[0].y+lo.y})`),function(N,xt,Gt,Si,lr){let er="";Si&&(er=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,er=er.replace(/\(/g,"\\("),er=er.replace(/\)/g,"\\)")),(0,uh.m)(N,xt,er,lr,Gt)}(X1,Gt,Si.type,Si.arrowMarkerAbsolute,er)},$E=(N,xt)=>{N.forEach(Gt=>{Gt.children||(Gt.children=[]);const Si=xt.childrenById[Gt.id];Si&&Si.forEach(lr=>{Gt.children.push(bu[lr])}),$E(Gt.children,xt)})},ZO=function(){var N=(0,VO.Z)(function*(xt,Gt,Si,lr){var er;lr.db.clear(),bu={},xi={},lr.db.setGen("gen-2"),lr.parser.parse(xt);const lo=(0,ho.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let Wt={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(Xr.l.info("Drawing flowchart using v3 renderer",Lt),lr.db.getDirection()){case"BT":Wt.layoutOptions["elk.direction"]="UP";break;case"TB":Wt.layoutOptions["elk.direction"]="DOWN";break;case"LR":Wt.layoutOptions["elk.direction"]="RIGHT";break;case"RL":Wt.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:nc,flowchart:_o}=(0,Xr.F)();let nd;"sandbox"===nc&&(nd=(0,ho.Ys)("#i"+Gt));const z1=(0,ho.Ys)("sandbox"===nc?nd.nodes()[0].contentDocument.body:"body"),ec="sandbox"===nc?nd.nodes()[0].contentDocument:document,zt=z1.select(`[id="${Gt}"]`);(0,uh.a)(zt,["point","circle","cross"],lr.type,Gt);const gl=lr.db.getVertices();let bs;const W1=lr.db.getSubGraphs();Xr.l.info("Subgraphs - ",W1);for(let Fs=W1.length-1;Fs>=0;Fs--)bs=W1[Fs],lr.db.addVertex(bs.id,{text:bs.title,type:bs.labelType},"group",void 0,bs.classes,bs.dir);const Ql=zt.insert("g").attr("class","subgraphs"),wu=function(N){const xt={parentById:{},childrenById:{}},Gt=N.getSubGraphs();return Xr.l.info("Subgraphs - ",Gt),Gt.forEach(function(Si){Si.nodes.forEach(function(lr){xt.parentById[lr]=Si.id,void 0===xt.childrenById[Si.id]&&(xt.childrenById[Si.id]=[]),xt.childrenById[Si.id].push(lr)})}),Gt.forEach(function(Si){}),xt}(lr.db);Wt=yield Jl(gl,Gt,z1,ec,lr,wu,Wt);const dv=zt.insert("g").attr("class","edges edgePath"),Br=lr.db.getEdges();Wt=function(N,xt,Gt,Si){Xr.l.info("abc78 edges = ",N);const lr=Si.insert("g").attr("class","edgeLabels");let Wt,wl,er={},lo=xt.db.getDirection();if(void 0!==N.defaultStyle){const nc=(0,Xr.k)(N.defaultStyle);Wt=nc.style,wl=nc.labelStyle}return N.forEach(function(nc){const _o="L-"+nc.start+"-"+nc.end;void 0===er[_o]?(er[_o]=0,Xr.l.info("abc78 new entry",_o,er[_o])):(er[_o]++,Xr.l.info("abc78 new entry",_o,er[_o]));let nd=_o+"-"+er[_o];Xr.l.info("abc78 new link id to be used is",_o,nd,er[_o]);const z1="LS-"+nc.start,ec="LE-"+nc.end,zt={style:"",labelStyle:""};switch(zt.minlen=nc.length||1,zt.arrowhead="arrow_open"===nc.type?"none":"normal",zt.arrowTypeStart="arrow_open",zt.arrowTypeEnd="arrow_open",nc.type){case"double_arrow_cross":zt.arrowTypeStart="arrow_cross";case"arrow_cross":zt.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":zt.arrowTypeStart="arrow_point";case"arrow_point":zt.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":zt.arrowTypeStart="arrow_circle";case"arrow_circle":zt.arrowTypeEnd="arrow_circle"}let X1="",gl="";switch(nc.stroke){case"normal":X1="fill:none;",void 0!==Wt&&(X1=Wt),void 0!==wl&&(gl=wl),zt.thickness="normal",zt.pattern="solid";break;case"dotted":zt.thickness="normal",zt.pattern="dotted",zt.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":zt.thickness="thick",zt.pattern="solid",zt.style="stroke-width: 3.5px;fill:none;"}if(void 0!==nc.style){const Br=(0,Xr.k)(nc.style);X1=Br.style,gl=Br.labelStyle}zt.style=zt.style+=X1,zt.labelStyle=zt.labelStyle+=gl,zt.curve=(0,Xr.n)(void 0!==nc.interpolate?nc.interpolate:void 0!==N.defaultInterpolate?N.defaultInterpolate:lc.curve,ho.c_6),void 0===nc.text?void 0!==nc.style&&(zt.arrowheadStyle="fill: #333"):(zt.arrowheadStyle="fill: #333",zt.labelpos="c"),zt.labelType=nc.labelType,zt.label=nc.text.replace(Xr.e.lineBreakRegex,"\n"),void 0===nc.style&&(zt.style=zt.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),zt.labelStyle=zt.labelStyle.replace("color:","fill:"),zt.id=nd,zt.classes="flowchart-link "+z1+" "+ec;const bs=(0,uh.f)(lr,zt),{source:W1,target:Ql,sourceId:wu,targetId:dv}=((N,xt)=>{let Gt=N.start,Si=N.end;const lr=Gt,er=Si,lo=bu[Gt],Wt=bu[Si];return lo&&Wt?("diamond"===lo.type&&(Gt=`${Gt}-${bl(Gt,"out",xt)}`),"diamond"===Wt.type&&(Si=`${Si}-${bl(Si,"in",xt)}`),{source:Gt,target:Si,sourceId:lr,targetId:er}):{source:Gt,target:Si}})(nc,lo);Xr.l.debug("abc78 source and target",W1,Ql),Gt.edges.push({id:"e"+nc.start+nc.end,sources:[W1],targets:[Ql],sourceId:wu,targetId:dv,labelEl:bs,labels:[{width:zt.width,height:zt.height,orgWidth:zt.width,orgHeight:zt.height,text:zt.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:zt})}),Gt}(Br,lr,Wt,zt),Object.keys(bu).forEach(Fs=>{const Yl=bu[Fs];Yl.parent||Wt.children.push(Yl),void 0!==wu.childrenById[Fs]&&(Yl.labels=[{text:Yl.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:Yl.labelData.width,height:Yl.labelData.height}],delete Yl.x,delete Yl.y,delete Yl.width,delete Yl.height)}),$E(Wt.children,wu),Xr.l.info("after layout",JSON.stringify(Wt,null,2));const Rh=yield Lt.layout(Wt);FE(0,0,Rh.children,zt,Ql,lr,0),Xr.l.info("after layout",Rh),null==(er=Rh.edges)||er.map(Fs=>{YO(dv,Fs,Fs.edgeData,lr,wu,Gt)}),(0,Xr.o)({},zt,_o.diagramPadding,_o.useMaxWidth),lo.remove()});return function(Gt,Si,lr,er){return N.apply(this,arguments)}}(),FE=(N,xt,Gt,Si,lr,er,lo)=>{Gt.forEach(function(Wt){if(Wt)if(bu[Wt.id].offset={posX:Wt.x+N,posY:Wt.y+xt,x:N,y:xt,depth:lo,width:Wt.width,height:Wt.height},"group"===Wt.type){const wl=lr.insert("g").attr("class","subgraph");wl.insert("rect").attr("class","subgraph subgraph-lvl-"+lo%5+" node").attr("x",Wt.x+N).attr("y",Wt.y+xt).attr("width",Wt.width).attr("height",Wt.height);const nc=wl.insert("g").attr("class","label"),_o=(0,Xr.F)().flowchart.htmlLabels?Wt.labelData.width/2:0;nc.attr("transform",`translate(${Wt.labels[0].x+N+Wt.x+_o}, ${Wt.labels[0].y+xt+Wt.y+3})`),nc.node().appendChild(Wt.labelData.labelNode),Xr.l.info("Id (UGH)= ",Wt.type,Wt.labels)}else Xr.l.info("Id (UGH)= ",Wt.id),Wt.el.attr("transform",`translate(${Wt.x+N+Wt.width/2}, ${Wt.y+xt+Wt.height/2})`)}),Gt.forEach(function(Wt){Wt&&"group"===Wt.type&&FE(N+Wt.x,xt+Wt.y,Wt.children,Si,lr,er,lo+1)})},Hb={db:Za.d,renderer:{getClasses:function(N,xt){return Xr.l.info("Extracting classes"),xt.db.getClasses()},draw:ZO},parser:Za.p,styles:N=>`.label {\n font-family: ${N.fontFamily};\n color: ${N.nodeTextColor||N.textColor};\n }\n .cluster-label text {\n fill: ${N.titleColor};\n }\n .cluster-label span {\n color: ${N.titleColor};\n }\n\n .label text,span {\n fill: ${N.nodeTextColor||N.textColor};\n color: ${N.nodeTextColor||N.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${N.mainBkg};\n stroke: ${N.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${N.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${N.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${N.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${N.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${N.edgeLabelBackground};\n fill: ${N.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${N.clusterBkg};\n stroke: ${N.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${N.titleColor};\n }\n\n .cluster span {\n color: ${N.titleColor};\n }\n /* .cluster div {\n color: ${N.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${N.fontFamily};\n font-size: 12px;\n background: ${N.tertiaryColor};\n border: 1px solid ${N.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${N.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(N=>{let xt="";for(let Gt=0;Gt<5;Gt++)xt+=`\n .subgraph-lvl-${Gt} {\n fill: ${N[`surface${Gt}`]};\n stroke: ${N[`surfacePeer${Gt}`]};\n }\n `;return xt})(N)}\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js b/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js deleted file mode 100644 index 1eb570cd037..00000000000 --- a/pkg/apiserver-impl/ui/719.83bb129036b7dcdd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[719],{4719:(at,ge,H)=>{H.r(ge),H.d(ge,{diagram:()=>et});var b=H(855),q=H(9111),we=H(4169),z=H(6012),Me=H(5703),ae=(H(2735),H(1764),H(6780),function(){var r=function(j,l,u,g){for(u=u||{},g=j.length;g--;u[j[g]]=l);return u},n=[1,4],o=[1,7],h=[1,5],a=[1,9],c=[1,6],f=[2,6],p=[1,16],T=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],E=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],k=[1,26],x=[6,8,14,50,55],s=[8,14,55],L=[1,53],w=[1,52],D=[8,14,30,33,35,38,55],y=[1,67],d=[1,68],_=[1,69],G=[8,14,33,35,42,55],le={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,g,i,v,e,Z){var t=e.length-1;switch(v){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{1:[3]},{3:10,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{3:11,4:2,5:3,6:n,8:o,14:h,46:8,50:a,55:c},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(T,[2,124]),r(T,[2,125]),r(T,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(E,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:k},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(x,[2,116]),{49:45,52:[1,46]},r(x,[2,121]),{1:[2,4]},{8:[1,47]},r(E,[2,11]),{4:48,8:o,14:h,55:c},r(E,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:L,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:L,54:w},{33:[1,61],35:[1,62]},{28:63,34:L,54:w},{48:64,53:k},{53:[2,120]},{1:[2,5]},r(E,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(D,[2,122]),r(D,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:y,44:d,45:_},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(x,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(G,[2,113]),r(G,[2,114]),r(G,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:y,44:d,45:_},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:y,44:d,45:_},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:y,44:d,45:_},{34:[1,106]},{34:[1,107]},{39:108,43:y,44:d,45:_},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:y,44:d,45:_},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:y,44:d,45:_},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:y,44:d,45:_},{34:[1,153]},{39:154,43:y,44:d,45:_},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:y,44:d,45:_},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:y,44:d,45:_},{34:[1,167]},{39:168,43:y,44:d,45:_},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:y,44:d,45:_},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:y,44:d,45:_},{34:[1,206]},{34:[1,207]},{39:208,43:y,44:d,45:_},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:y,44:d,45:_},{34:[1,214]},{39:215,43:y,44:d,45:_},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:y,44:d,45:_},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:y,44:d,45:_},{34:[1,228]},{39:229,43:y,44:d,45:_},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:y,44:d,45:_},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(!u.recoverable){var g=new Error(l);throw g.hash=u,g}this.trace(l)},parse:function(l){var g=[0],i=[],v=[null],e=[],Z=this.table,t="",ie=0,ve=0,it=e.slice.call(arguments,1),O=Object.create(this.lexer),U={yy:{}};for(var me in this.yy)Object.prototype.hasOwnProperty.call(this.yy,me)&&(U.yy[me]=this.yy[me]);O.setInput(l,U.yy),U.yy.lexer=O,U.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ue=O.yylloc;e.push(ue);var B,st=O.options&&O.options.ranges;this.parseError="function"==typeof U.yy.parseError?U.yy.parseError:Object.getPrototypeOf(this).parseError;for(var S,F,N,pe,se,V,ne,W={};;){if(this.defaultActions[F=g[g.length-1]]?N=this.defaultActions[F]:((null===S||typeof S>"u")&&(B=void 0,"number"!=typeof(B=i.pop()||O.lex()||1)&&(B instanceof Array&&(B=(i=B).pop()),B=this.symbols_[B]||B),S=B),N=Z[F]&&Z[F][S]),typeof N>"u"||!N.length||!N[0]){var fe;for(se in ne=[],Z[F])this.terminals_[se]&&se>2&&ne.push("'"+this.terminals_[se]+"'");fe=O.showPosition?"Parse error on line "+(ie+1)+":\n"+O.showPosition()+"\nExpecting "+ne.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(ie+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(fe,{text:O.match,token:this.terminals_[S]||S,line:O.yylineno,loc:ue,expected:ne})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+S);switch(N[0]){case 1:g.push(S),v.push(O.yytext),e.push(O.yylloc),g.push(N[1]),S=null,ve=O.yyleng,t=O.yytext,ie=O.yylineno,ue=O.yylloc;break;case 2:if(W.$=v[v.length-(V=this.productions_[N[1]][1])],W._$={first_line:e[e.length-(V||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(V||1)].first_column,last_column:e[e.length-1].last_column},st&&(W._$.range=[e[e.length-(V||1)].range[0],e[e.length-1].range[1]]),typeof(pe=this.performAction.apply(W,[t,ve,ie,U.yy,N[1],v,e].concat(it)))<"u")return pe;V&&(g=g.slice(0,-1*V*2),v=v.slice(0,-1*V),e=e.slice(0,-1*V)),g.push(this.productions_[N[1]][0]),v.push(W.$),e.push(W._$),g.push(Z[g[g.length-2]][g[g.length-1]]);break;case 3:return!0}}return!0}};function he(){this.yy={}}return le.lexer={EOF:1,parseError:function(u,g){if(!this.yy.parser)throw new Error(u);this.yy.parser.parseError(u,g)},setInput:function(l,u){return this.yy=u||this.yy||{},this._input=l,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},input:function(){var l=this._input[0];return this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l,l.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),l},unput:function(l){var u=l.length,g=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var i=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),g.length-1&&(this.yylineno-=g.length-1);var v=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:g?(g.length===i.length?this.yylloc.first_column:0)+i[i.length-g.length].length-g[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+"\n"+u+"^"},test_match:function(l,u){var g,i,v;if(this.options.backtrack_lexer&&(v={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&&(v.yylloc.range=this.yylloc.range.slice(0))),(i=l[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,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(l[0].length),this.matched+=l[0],g=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),g)return g;if(this._backtrack){for(var e in v)this[e]=v[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var l,u,g,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),e=0;eu[0].length)){if(u=g,i=e,this.options.backtrack_lexer){if(!1!==(l=this.test_match(g,v[e])))return l;if(this._backtrack){u=!1;continue}return!1}if(!this.options.flex)break}return u?!1!==(l=this.test_match(u,v[i]))&&l:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return(u=this.conditionStack.length-1-Math.abs(u||0))>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,g,i,v){switch(i){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}},he.prototype=le,le.Parser=he,new he}());ae.parser=ae;const Ce=ae;let $=(0,b.g)().gitGraph.mainBranchName,Le=(0,b.g)().gitGraph.mainBranchOrder,M={},A=null,J={};J[$]={name:$,order:Le};let R={};R[$]=A;let C=$,be="LR",K=0;function ce(){return(0,q.o)({length:7})}let de={};const ke=function(r){if(r=b.d.sanitizeText(r,(0,b.g)()),void 0===R[r]){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}C=r,A=M[R[C]]};function _e(r,n,o){const h=r.indexOf(n);-1===h?r.push(o):r.splice(h,1,o)}function xe(r){const n=r.reduce((a,c)=>a.seq>c.seq?a:c,r[0]);let o="";r.forEach(function(a){o+=a===n?"\t*":"\t|"});const h=[o,n.id,n.seq];for(let a in R)R[a]===n.id&&h.push(a);if(b.l.debug(h.join(" ")),n.parents&&2==n.parents.length)_e(r,n,M[n.parents[0]]),r.push(M[n.parents[1]]);else{if(0==n.parents.length)return;_e(r,n,M[n.parents])}r=function Ae(r,n){const o=Object.create(null);return r.reduce((h,a)=>{const c=n(a);return o[c]||(o[c]=!0,h.push(a)),h},[])}(r,a=>a.id),xe(r)}const ye=function(){const r=Object.keys(M).map(function(n){return M[n]});return r.forEach(function(n){b.l.debug(n.id)}),r.sort((n,o)=>n.seq-o.seq),r},Q={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4};let X={};let P={},ee={},te=[],re=0;const Ee=(r,n,o)=>{const h=(0,q.q)().gitGraph,a=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let f=0;Object.keys(n).sort((E,m)=>n[E].seq-n[m].seq).forEach(E=>{const m=n[E],k=P[m.branch].pos,x=f+10;if(o){let s,L=void 0!==m.customType&&""!==m.customType?m.customType:m.type;switch(L){case 0:default:s="commit-normal";break;case 1:s="commit-reverse";break;case 2:s="commit-highlight";break;case 3:s="commit-merge";break;case 4:s="commit-cherry-pick"}if(2===L){const w=a.append("rect");w.attr("x",x-10),w.attr("y",k-10),w.attr("height",20),w.attr("width",20),w.attr("class",`commit ${m.id} commit-highlight${P[m.branch].index%8} ${s}-outer`),a.append("rect").attr("x",x-6).attr("y",k-6).attr("height",12).attr("width",12).attr("class",`commit ${m.id} commit${P[m.branch].index%8} ${s}-inner`)}else if(4===L)a.append("circle").attr("cx",x).attr("cy",k).attr("r",10).attr("class",`commit ${m.id} ${s}`),a.append("circle").attr("cx",x-3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${m.id} ${s}`),a.append("circle").attr("cx",x+3).attr("cy",k+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${m.id} ${s}`),a.append("line").attr("x1",x+3).attr("y1",k+1).attr("x2",x).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${m.id} ${s}`),a.append("line").attr("x1",x-3).attr("y1",k+1).attr("x2",x).attr("y2",k-5).attr("stroke","#fff").attr("class",`commit ${m.id} ${s}`);else{const w=a.append("circle");if(w.attr("cx",x),w.attr("cy",k),w.attr("r",3===m.type?9:10),w.attr("class",`commit ${m.id} commit${P[m.branch].index%8}`),3===L){const D=a.append("circle");D.attr("cx",x),D.attr("cy",k),D.attr("r",6),D.attr("class",`commit ${s} ${m.id} commit${P[m.branch].index%8}`)}1===L&&a.append("path").attr("d",`M ${x-5},${k-5}L${x+5},${k+5}M${x-5},${k+5}L${x+5},${k-5}`).attr("class",`commit ${s} ${m.id} commit${P[m.branch].index%8}`)}}if(ee[m.id]={x:f+10,y:k},o){if(4!==m.type&&(m.customId&&3===m.type||3!==m.type)&&h.showCommitLabel){const w=c.append("g"),D=w.insert("rect").attr("class","commit-label-bkg"),y=w.append("text").attr("x",f).attr("y",k+25).attr("class","commit-label").text(m.id);let d=y.node().getBBox();D.attr("x",f+10-d.width/2-2).attr("y",k+13.5).attr("width",d.width+4).attr("height",d.height+4),y.attr("x",f+10-d.width/2),h.rotateCommitLabel&&w.attr("transform","translate("+(-7.5-(d.width+10)/25*9.5)+", "+(10+d.width/25*8.5)+") rotate(-45, "+f+", "+k+")")}if(m.tag){const w=c.insert("polygon"),D=c.append("circle"),y=c.append("text").attr("y",k-16).attr("class","tag-label").text(m.tag);let d=y.node().getBBox();y.attr("x",f+10-d.width/2);const _=d.height/2,G=k-19.2;w.attr("class","tag-label-bkg").attr("points",`\n ${f-d.width/2-2},${G+2}\n ${f-d.width/2-2},${G-2}\n ${f+10-d.width/2-4},${G-_-2}\n ${f+10+d.width/2+4},${G-_-2}\n ${f+10+d.width/2+4},${G+_+2}\n ${f+10-d.width/2-4},${G+_+2}`),D.attr("cx",f-d.width/2+2).attr("cy",G).attr("r",1.5).attr("class","tag-hole")}}f+=50,f>re&&(re=f)})},oe=(r,n,o=0)=>{const h=r+Math.abs(r-n)/2;if(o>5)return h;if(te.every(f=>Math.abs(f-h)>=10))return te.push(h),h;const c=Math.abs(r-n);return oe(r,n-c/5,o+1)},et={parser:Ce,db:{parseDirective:function(r,n,o){we.m.parseDirective(this,r,n,o)},getConfig:()=>(0,b.g)().gitGraph,setDirection:function(r){be=r},setOptions:function(r){b.l.debug("options str",r),r=(r=r&&r.trim())||"{}";try{de=JSON.parse(r)}catch(n){b.l.error("error while parsing gitGraph options",n.message)}},getOptions:function(){return de},commit:function(r,n,o,h){b.l.debug("Entering commit:",r,n,o,h),n=b.d.sanitizeText(n,(0,b.g)()),r=b.d.sanitizeText(r,(0,b.g)()),h=b.d.sanitizeText(h,(0,b.g)());const a={id:n||K+"-"+ce(),message:r,seq:K++,type:o||Q.NORMAL,tag:h||"",parents:null==A?[]:[A.id],branch:C};A=a,M[a.id]=a,R[C]=a.id,b.l.debug("in pushCommit "+a.id)},branch:function(r,n){if(r=b.d.sanitizeText(r,(0,b.g)()),void 0!==R[r]){let o=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw o.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},o}R[r]=null!=A?A.id:null,J[r]={name:r,order:n?parseInt(n,10):null},ke(r),b.l.debug("in createBranch")},merge:function(r,n,o,h){r=b.d.sanitizeText(r,(0,b.g)()),n=b.d.sanitizeText(n,(0,b.g)());const a=M[R[C]],c=M[R[r]];if(C===r){let p=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},p}if(void 0===a||!a){let p=new Error('Incorrect usage of "merge". Current branch ('+C+")has no commits");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},p}if(void 0===R[r]){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},p}if(void 0===c||!c){let p=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},p}if(a===c){let p=new Error('Incorrect usage of "merge". Both branches have same head');throw p.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},p}if(n&&void 0!==M[n]){let p=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw p.hash={text:"merge "+r+n+o+h,token:"merge "+r+n+o+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+o+" "+h]},p}const f={id:n||K+"-"+ce(),message:"merged branch "+r+" into "+C,seq:K++,parents:[null==A?null:A.id,R[r]],branch:C,type:Q.MERGE,customType:o,customId:!!n,tag:h||""};A=f,M[f.id]=f,R[C]=f.id,b.l.debug(R),b.l.debug("in mergeBranch")},cherryPick:function(r,n,o){if(b.l.debug("Entering cherryPick:",r,n,o),r=b.d.sanitizeText(r,(0,b.g)()),n=b.d.sanitizeText(n,(0,b.g)()),o=b.d.sanitizeText(o,(0,b.g)()),!r||void 0===M[r]){let c=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw c.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},c}let h=M[r],a=h.branch;if(h.type===Q.MERGE){let c=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw c.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},c}if(!n||void 0===M[n]){if(a===C){let p=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}const c=M[R[C]];if(void 0===c||!c){let p=new Error('Incorrect usage of "cherry-pick". Current branch ('+C+")has no commits");throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}const f={id:K+"-"+ce(),message:"cherry-picked "+h+" into "+C,seq:K++,parents:[null==A?null:A.id,h.id],branch:C,type:Q.CHERRY_PICK,tag:o??"cherry-pick:"+h.id};A=f,M[f.id]=f,R[C]=f.id,b.l.debug(R),b.l.debug("in cherryPick")}},checkout:ke,prettyPrint:function(){b.l.debug(M),xe([ye()[0]])},clear:function(){M={},A=null;let r=(0,b.g)().gitGraph.mainBranchName,n=(0,b.g)().gitGraph.mainBranchOrder;R={},R[r]=null,J={},J[r]={name:r,order:n},C=r,K=0,(0,z.f)()},getBranchesAsObjArray:function(){return Object.values(J).map((n,o)=>null!==n.order?n:{...n,order:parseFloat(`0.${o}`,10)}).sort((n,o)=>n.order-o.order).map(({name:n})=>({name:n}))},getBranches:function(){return R},getCommits:function(){return M},getCommitsArray:ye,getCurrentBranch:function(){return C},getDirection:function(){return be},getHead:function(){return A},setAccTitle:z.s,getAccTitle:z.g,getAccDescription:z.a,setAccDescription:z.b,setDiagramTitle:z.d,getDiagramTitle:z.e,commitType:Q},renderer:{draw:function(r,n,o,h){P={},ee={},X={},re=0,te=[];const a=(0,q.q)(),c=a.gitGraph;b.l.debug("in gitgraph renderer",r+"\n","id:",n,o),X=h.db.getCommits();const f=h.db.getBranchesAsObjArray();let p=0;f.forEach((E,m)=>{P[E.name]={pos:p,index:m},p+=50+(c.rotateCommitLabel?40:0)});const T=(0,Me.Ys)(`[id="${n}"]`);Ee(T,X,!1),c.showBranches&&((r,n)=>{const o=(0,q.q)().gitGraph,h=r.append("g");n.forEach((a,c)=>{const f=c%8,p=P[a.name].pos,T=h.append("line");T.attr("x1",0),T.attr("y1",p),T.attr("x2",re),T.attr("y2",p),T.attr("class","branch branch"+f),te.push(p);const m=(r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let o=[];o="string"==typeof r?r.split(/\\n|\n|/gi):Array.isArray(r)?r:[];for(const h of o){const a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),a.setAttribute("class","row"),a.textContent=h.trim(),n.appendChild(a)}return n})(a.name),k=h.insert("rect"),s=h.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+f);s.node().appendChild(m);let L=m.getBBox();k.attr("class","branchLabelBkg label"+f).attr("rx",4).attr("ry",4).attr("x",-L.width-4-(!0===o.rotateCommitLabel?30:0)).attr("y",-L.height/2+8).attr("width",L.width+18).attr("height",L.height+4),s.attr("transform","translate("+(-L.width-14-(!0===o.rotateCommitLabel?30:0))+", "+(p-L.height/2-1)+")"),k.attr("transform","translate(-19, "+(p-L.height/2)+")")})})(T,f),((r,n)=>{const o=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(h=>{const a=n[h];a.parents&&a.parents.length>0&&a.parents.forEach(c=>{((r,n,o,h)=>{const a=ee[n.id],c=ee[o.id],f=((r,n,o)=>Object.keys(o).filter(c=>o[c].branch===n.branch&&o[c].seq>r.seq&&o[c].seq0)(n,o,h);let x,p="",T="",E=0,m=0,k=P[o.branch].index;if(f){p="A 10 10, 0, 0, 0,",T="A 10 10, 0, 0, 1,",E=10,m=10,k=P[o.branch].index;const s=a.yc.y&&(p="A 20 20, 0, 0, 0,",E=20,m=20,k=P[n.branch].index,x=`M ${a.x} ${a.y} L ${c.x-E} ${a.y} ${p} ${c.x} ${a.y-m} L ${c.x} ${c.y}`),a.y===c.y&&(k=P[n.branch].index,x=`M ${a.x} ${a.y} L ${a.x} ${c.y-E} ${p} ${a.x+m} ${c.y} L ${c.x} ${c.y}`);r.append("path").attr("d",x).attr("class","arrow arrow"+k%8)})(o,n[c],a,n)})})})(T,X),Ee(T,X,!0),q.u.insertTitle(T,"gitTitleText",c.titleTopMargin,h.db.getDiagramTitle()),(0,q.s)(void 0,T,c.diagramPadding,c.useMaxWidth??a.useMaxWidth)}},styles:r=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map(n=>`\n .branch-label${n} { fill: ${r["gitBranchLabel"+n]}; }\n .commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; }\n .commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; }\n .label${n} { fill: ${r["git"+n]}; }\n .arrow${n} { stroke: ${r["git"+n]}; }\n `).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${r.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}\n .commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}\n .tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }\n .tag-hole { fill: ${r.textColor}; }\n\n .commit-merge {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n .commit-reverse {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${r.primaryColor};\n fill: ${r.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${r.textColor};\n }\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/728.d855df7b4e9659d2.js b/pkg/apiserver-impl/ui/728.d855df7b4e9659d2.js new file mode 100644 index 00000000000..7a76b381daa --- /dev/null +++ b/pkg/apiserver-impl/ui/728.d855df7b4e9659d2.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[728],{2405:function(aa,Be,_e){var be;aa.exports=(be=_e(5982),function(z){var P={};function S(L){if(P[L])return P[L].exports;var R=P[L]={i:L,l:!1,exports:{}};return z[L].call(R.exports,R,R.exports,S),R.l=!0,R.exports}return S.m=z,S.c=P,S.i=function(L){return L},S.d=function(L,R,V){S.o(L,R)||Object.defineProperty(L,R,{configurable:!1,enumerable:!0,get:V})},S.n=function(L){var R=L&&L.__esModule?function(){return L.default}:function(){return L};return S.d(R,"a",R),R},S.o=function(L,R){return Object.prototype.hasOwnProperty.call(L,R)},S.p="",S(S.s=7)}([function(z,P){z.exports=be},function(z,P,S){"use strict";var L=S(0).FDLayoutConstants;function R(){}for(var V in L)R[V]=L[V];R.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,R.DEFAULT_RADIAL_SEPARATION=L.DEFAULT_EDGE_LENGTH,R.DEFAULT_COMPONENT_SEPERATION=60,R.TILE=!0,R.TILING_PADDING_VERTICAL=10,R.TILING_PADDING_HORIZONTAL=10,R.TREE_REDUCTION_ON_INCREMENTAL=!1,z.exports=R},function(z,P,S){"use strict";var L=S(0).FDLayoutEdge;function R(F,K,O){L.call(this,F,K,O)}for(var V in R.prototype=Object.create(L.prototype),L)R[V]=L[V];z.exports=R},function(z,P,S){"use strict";var L=S(0).LGraph;function R(F,K,O){L.call(this,F,K,O)}for(var V in R.prototype=Object.create(L.prototype),L)R[V]=L[V];z.exports=R},function(z,P,S){"use strict";var L=S(0).LGraphManager;function R(F){L.call(this,F)}for(var V in R.prototype=Object.create(L.prototype),L)R[V]=L[V];z.exports=R},function(z,P,S){"use strict";var L=S(0).FDLayoutNode,R=S(0).IMath;function V(K,O,G,U){L.call(this,K,O,G,U)}for(var F in V.prototype=Object.create(L.prototype),L)V[F]=L[F];V.prototype.move=function(){var K=this.graphManager.getLayout();this.displacementX=K.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=K.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>K.coolingFactor*K.maxNodeDisplacement&&(this.displacementX=K.coolingFactor*K.maxNodeDisplacement*R.sign(this.displacementX)),Math.abs(this.displacementY)>K.coolingFactor*K.maxNodeDisplacement&&(this.displacementY=K.coolingFactor*K.maxNodeDisplacement*R.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),K.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},V.prototype.propogateDisplacementToChildren=function(K,O){for(var U,G=this.getChild().getNodes(),_=0;_0?this.positionNodesRadially(I):(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),Y=new Set(this.getAllNodes()),X=this.nodesWithGravity.filter(function(J){return Y.has(J)}),this.graphManager.setAllNodesToApplyGravitation(X),this.positionNodesRandomly())}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},Ce.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%G.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var I=new Set(this.getAllNodes()),Y=this.nodesWithGravity.filter(function(Ee){return I.has(Ee)});this.graphManager.setAllNodesToApplyGravitation(Y),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=G.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=G.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var X=!this.isTreeGrowing&&!this.isGrowthFinished,J=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(X,J),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},Ce.prototype.getPositionsData=function(){for(var I=this.graphManager.getAllNodes(),Y={},X=0;X1)for(Me=0;MeJ&&(J=Math.floor(Ne.y)),ee=Math.floor(Ne.x+O.DEFAULT_COMPONENT_SEPERATION)}this.transform(new Q(U.WORLD_CENTER_X-Ne.x/2,U.WORLD_CENTER_Y-Ne.y/2))},Ce.radialLayout=function(I,Y,X){var J=Math.max(this.maxDiagonalInTree(I),O.DEFAULT_RADIAL_SEPARATION);Ce.branchRadialLayout(Y,null,0,359,0,J);var Ee=le.calculateBounds(I),ee=new Ie;ee.setDeviceOrgX(Ee.getMinX()),ee.setDeviceOrgY(Ee.getMinY()),ee.setWorldOrgX(X.x),ee.setWorldOrgY(X.y);for(var Ne=0;Ne1;){var Xt=bt[0];bt.splice(0,1);var nr=Ue.indexOf(Xt);nr>=0&&Ue.splice(nr,1),ft--,je--}Qt=null!=Y?(Ue.indexOf(bt[0])+1)%ft:0;for(var Jt=Math.abs(J-X)/je,Wt=Qt;tt!=je;Wt=++Wt%ft){var Ma=Ue[Wt].getOtherEnd(I);if(Ma!=Y){var Ra=(X+tt*Jt)%360;Ce.branchRadialLayout(Ma,I,Ra,(Ra+Jt)%360,Ee+ee,ee),tt++}}},Ce.maxDiagonalInTree=function(I){for(var Y=se.MIN_VALUE,X=0;XY&&(Y=Ee)}return Y},Ce.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},Ce.prototype.groupZeroDegreeMembers=function(){var I=this,Y={};this.memberGroups={},this.idToDummyNode={};for(var X=[],J=this.graphManager.getAllNodes(),Ee=0;Ee"u"&&(Y[Me]=[]),Y[Me]=Y[Me].concat(ee)}Object.keys(Y).forEach(function($e){if(Y[$e].length>1){var Qe="DummyCompound_"+$e;I.memberGroups[Qe]=Y[$e];var vt=Y[$e][0].getParent(),pt=new F(I.graphManager);pt.id=Qe,pt.paddingLeft=vt.paddingLeft||0,pt.paddingRight=vt.paddingRight||0,pt.paddingBottom=vt.paddingBottom||0,pt.paddingTop=vt.paddingTop||0,I.idToDummyNode[Qe]=pt;var Ue=I.getGraphManager().add(I.newGraph(),pt),je=vt.getChild();je.add(pt);for(var tt=0;tt=0;I--){var Y=this.compoundOrder[I];this.adjustLocations(this.tiledMemberPack[Y.id],Y.rect.x,Y.rect.y,Y.paddingLeft,Y.paddingTop)}},Ce.prototype.repopulateZeroDegreeMembers=function(){var I=this,Y=this.tiledZeroDegreePack;Object.keys(Y).forEach(function(X){var J=I.idToDummyNode[X];I.adjustLocations(Y[X],J.rect.x,J.rect.y,J.paddingLeft,J.paddingTop)})},Ce.prototype.getToBeTiled=function(I){var Y=I.id;if(null!=this.toBeTiled[Y])return this.toBeTiled[Y];var X=I.getChild();if(null==X)return this.toBeTiled[Y]=!1,!1;for(var J=X.getNodes(),Ee=0;Ee0)return this.toBeTiled[Y]=!1,!1;if(null!=ee.getChild()){if(!this.getToBeTiled(ee))return this.toBeTiled[Y]=!1,!1}else this.toBeTiled[ee.id]=!1}return this.toBeTiled[Y]=!0,!0},Ce.prototype.getNodeDegree=function(I){for(var X=I.getEdges(),J=0,Ee=0;Ee$e&&($e=vt.rect.height)}X+=$e+I.verticalPadding}},Ce.prototype.tileCompoundMembers=function(I,Y){var X=this;this.tiledMemberPack=[],Object.keys(I).forEach(function(J){var Ee=Y[J];X.tiledMemberPack[J]=X.tileNodes(I[J],Ee.paddingLeft+Ee.paddingRight),Ee.rect.width=X.tiledMemberPack[J].width,Ee.rect.height=X.tiledMemberPack[J].height})},Ce.prototype.tileNodes=function(I,Y){var Ee={rows:[],rowWidth:[],rowHeight:[],width:0,height:Y,verticalPadding:O.TILING_PADDING_VERTICAL,horizontalPadding:O.TILING_PADDING_HORIZONTAL};I.sort(function(Me,$e){return Me.rect.width*Me.rect.height>$e.rect.width*$e.rect.height?-1:Me.rect.width*Me.rect.height<$e.rect.width*$e.rect.height?1:0});for(var ee=0;ee0&&(Ne+=I.horizontalPadding),I.rowWidth[X]=Ne,I.width0&&(Me+=I.verticalPadding);var $e=0;Me>I.rowHeight[X]&&($e=I.rowHeight[X],I.rowHeight[X]=Me,$e=I.rowHeight[X]-$e),I.height+=$e,I.rows[X].push(Y)},Ce.prototype.getShortestRowIndex=function(I){for(var Y=-1,X=Number.MAX_VALUE,J=0;JX&&(Y=J,X=I.rowWidth[J]);return Y},Ce.prototype.canAddHorizontal=function(I,Y,X){var J=this.getShortestRowIndex(I);if(J<0)return!0;var Ee=I.rowWidth[J];if(Ee+I.horizontalPadding+Y<=I.width)return!0;var Ne,Me,ee=0;return I.rowHeight[J]0&&(ee=X+I.verticalPadding-I.rowHeight[J]),Ne=I.width-Ee>=Y+I.horizontalPadding?(I.height+ee)/(Ee+Y+I.horizontalPadding):(I.height+ee)/I.width,ee=X+I.verticalPadding,(Me=I.widthee&&Y!=X){J.splice(-1,1),I.rows[X].push(Ee),I.rowWidth[Y]=I.rowWidth[Y]-ee,I.rowWidth[X]=I.rowWidth[X]+ee,I.width=I.rowWidth[instance.getLongestRowIndex(I)];for(var Ne=Number.MIN_VALUE,Me=0;MeNe&&(Ne=J[Me].height);Y>0&&(Ne+=I.verticalPadding);var $e=I.rowHeight[Y]+I.rowHeight[X];I.rowHeight[Y]=Ne,I.rowHeight[X]0)for(var je=Ee;je<=ee;je++)Ue[0]+=this.grid[je][Ne-1].length+this.grid[je][Ne].length-1;if(ee0)for(je=Ne;je<=Me;je++)Ue[3]+=this.grid[Ee-1][je].length+this.grid[Ee][je].length-1;for(var ft,Qt,tt=se.MAX_VALUE,bt=0;bt0&&(Me=Ie.getGraphManager().add(Ie.newGraph(),X),this.processChildrenList(Me,Y,Ie))}},Q.prototype.stop=function(){return this.stopped=!0,this};var se=function(le){le("layout","cose-bilkent",Q)};typeof cytoscape<"u"&&se(cytoscape),z.exports=se}]))},5982:function(aa){aa.exports=function(Be){var _e={};function be(z){if(_e[z])return _e[z].exports;var P=_e[z]={i:z,l:!1,exports:{}};return Be[z].call(P.exports,P,P.exports,be),P.l=!0,P.exports}return be.m=Be,be.c=_e,be.i=function(z){return z},be.d=function(z,P,S){be.o(z,P)||Object.defineProperty(z,P,{configurable:!1,enumerable:!0,get:S})},be.n=function(z){var P=z&&z.__esModule?function(){return z.default}:function(){return z};return be.d(P,"a",P),P},be.o=function(z,P){return Object.prototype.hasOwnProperty.call(z,P)},be.p="",be(be.s=26)}([function(Be,_e,be){"use strict";function z(){}z.QUALITY=1,z.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,z.DEFAULT_INCREMENTAL=!1,z.DEFAULT_ANIMATION_ON_LAYOUT=!0,z.DEFAULT_ANIMATION_DURING_LAYOUT=!1,z.DEFAULT_ANIMATION_PERIOD=50,z.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,z.DEFAULT_GRAPH_MARGIN=15,z.NODE_DIMENSIONS_INCLUDE_LABELS=!1,z.SIMPLE_NODE_HALF_SIZE=(z.SIMPLE_NODE_SIZE=40)/2,z.EMPTY_COMPOUND_NODE_SIZE=40,z.MIN_EDGE_LENGTH=1,z.INITIAL_WORLD_BOUNDARY=(z.WORLD_BOUNDARY=1e6)/1e3,z.WORLD_CENTER_X=1200,z.WORLD_CENTER_Y=900,Be.exports=z},function(Be,_e,be){"use strict";var z=be(2),P=be(8),S=be(9);function L(V,F,K){z.call(this,K),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=K,this.bendpoints=[],this.source=V,this.target=F}for(var R in L.prototype=Object.create(z.prototype),z)L[R]=z[R];L.prototype.getSource=function(){return this.source},L.prototype.getTarget=function(){return this.target},L.prototype.isInterGraph=function(){return this.isInterGraph},L.prototype.getLength=function(){return this.length},L.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},L.prototype.getBendpoints=function(){return this.bendpoints},L.prototype.getLca=function(){return this.lca},L.prototype.getSourceInLca=function(){return this.sourceInLca},L.prototype.getTargetInLca=function(){return this.targetInLca},L.prototype.getOtherEnd=function(V){if(this.source===V)return this.target;if(this.target===V)return this.source;throw"Node is not incident with this edge"},L.prototype.getOtherEndInGraph=function(V,F){for(var K=this.getOtherEnd(V),O=F.getGraphManager().getRoot();;){if(K.getOwner()==F)return K;if(K.getOwner()==O)break;K=K.getOwner().getParent()}return null},L.prototype.updateLength=function(){var V=new Array(4);this.isOverlapingSourceAndTarget=P.getIntersection(this.target.getRect(),this.source.getRect(),V),this.isOverlapingSourceAndTarget||(this.lengthX=V[0]-V[2],this.lengthY=V[1]-V[3],Math.abs(this.lengthX)<1&&(this.lengthX=S.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=S.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},L.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=S.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=S.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},Be.exports=L},function(Be,_e,be){"use strict";Be.exports=function z(P){this.vGraphObject=P}},function(Be,_e,be){"use strict";var z=be(2),P=be(10),S=be(13),L=be(0),R=be(16),V=be(4);function F(O,G,U,_){null==U&&null==_&&(_=G),z.call(this,_),null!=O.graphManager&&(O=O.graphManager),this.estimatedSize=P.MIN_VALUE,this.inclusionTreeDepth=P.MAX_VALUE,this.vGraphObject=_,this.edges=[],this.graphManager=O,this.rect=null!=U&&null!=G?new S(G.x,G.y,U.width,U.height):new S}for(var K in F.prototype=Object.create(z.prototype),z)F[K]=z[K];F.prototype.getEdges=function(){return this.edges},F.prototype.getChild=function(){return this.child},F.prototype.getOwner=function(){return this.owner},F.prototype.getWidth=function(){return this.rect.width},F.prototype.setWidth=function(O){this.rect.width=O},F.prototype.getHeight=function(){return this.rect.height},F.prototype.setHeight=function(O){this.rect.height=O},F.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},F.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},F.prototype.getCenter=function(){return new V(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},F.prototype.getLocation=function(){return new V(this.rect.x,this.rect.y)},F.prototype.getRect=function(){return this.rect},F.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},F.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},F.prototype.setRect=function(O,G){this.rect.x=O.x,this.rect.y=O.y,this.rect.width=G.width,this.rect.height=G.height},F.prototype.setCenter=function(O,G){this.rect.x=O-this.rect.width/2,this.rect.y=G-this.rect.height/2},F.prototype.setLocation=function(O,G){this.rect.x=O,this.rect.y=G},F.prototype.moveBy=function(O,G){this.rect.x+=O,this.rect.y+=G},F.prototype.getEdgeListToNode=function(O){var G=[],_=this;return _.edges.forEach(function(Q){if(Q.target==O){if(Q.source!=_)throw"Incorrect edge source!";G.push(Q)}}),G},F.prototype.getEdgesBetween=function(O){var G=[],_=this;return _.edges.forEach(function(Q){if(Q.source!=_&&Q.target!=_)throw"Incorrect edge source and/or target";(Q.target==O||Q.source==O)&&G.push(Q)}),G},F.prototype.getNeighborsList=function(){var O=new Set,G=this;return G.edges.forEach(function(U){if(U.source==G)O.add(U.target);else{if(U.target!=G)throw"Incorrect incidency!";O.add(U.source)}}),O},F.prototype.withChildren=function(){var O=new Set;if(O.add(this),null!=this.child)for(var _=this.child.getNodes(),Q=0;Q<_.length;Q++)_[Q].withChildren().forEach(function(ie){O.add(ie)});return O},F.prototype.getNoOfChildren=function(){var O=0;if(null==this.child)O=1;else for(var U=this.child.getNodes(),_=0;_G&&(this.rect.x-=(this.labelWidth-G)/2,this.setWidth(this.labelWidth)),this.labelHeight>U&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-U)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-U),this.setHeight(this.labelHeight))}}},F.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==P.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},F.prototype.transform=function(O){var G=this.rect.x;G>L.WORLD_BOUNDARY?G=L.WORLD_BOUNDARY:G<-L.WORLD_BOUNDARY&&(G=-L.WORLD_BOUNDARY);var U=this.rect.y;U>L.WORLD_BOUNDARY?U=L.WORLD_BOUNDARY:U<-L.WORLD_BOUNDARY&&(U=-L.WORLD_BOUNDARY);var _=new V(G,U),Q=O.inverseTransformPoint(_);this.setLocation(Q.x,Q.y)},F.prototype.getLeft=function(){return this.rect.x},F.prototype.getRight=function(){return this.rect.x+this.rect.width},F.prototype.getTop=function(){return this.rect.y},F.prototype.getBottom=function(){return this.rect.y+this.rect.height},F.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},Be.exports=F},function(Be,_e,be){"use strict";function z(P,S){null==P&&null==S?(this.x=0,this.y=0):(this.x=P,this.y=S)}z.prototype.getX=function(){return this.x},z.prototype.getY=function(){return this.y},z.prototype.setX=function(P){this.x=P},z.prototype.setY=function(P){this.y=P},z.prototype.getDifference=function(P){return new DimensionD(this.x-P.x,this.y-P.y)},z.prototype.getCopy=function(){return new z(this.x,this.y)},z.prototype.translate=function(P){return this.x+=P.width,this.y+=P.height,this},Be.exports=z},function(Be,_e,be){"use strict";var z=be(2),P=be(10),S=be(0),L=be(6),R=be(3),V=be(1),F=be(13),K=be(12),O=be(11);function G(_,Q,ie){z.call(this,ie),this.estimatedSize=P.MIN_VALUE,this.margin=S.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=_,null!=Q&&Q instanceof L?this.graphManager=Q:null!=Q&&Q instanceof Layout&&(this.graphManager=Q.graphManager)}for(var U in G.prototype=Object.create(z.prototype),z)G[U]=z[U];G.prototype.getNodes=function(){return this.nodes},G.prototype.getEdges=function(){return this.edges},G.prototype.getGraphManager=function(){return this.graphManager},G.prototype.getParent=function(){return this.parent},G.prototype.getLeft=function(){return this.left},G.prototype.getRight=function(){return this.right},G.prototype.getTop=function(){return this.top},G.prototype.getBottom=function(){return this.bottom},G.prototype.isConnected=function(){return this.isConnected},G.prototype.add=function(_,Q,ie){if(null==Q&&null==ie){var se=_;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(se)>-1)throw"Node already in graph!";return se.owner=this,this.getNodes().push(se),se}var ue=_;if(!(this.getNodes().indexOf(Q)>-1&&this.getNodes().indexOf(ie)>-1))throw"Source or target not in graph!";if(Q.owner!=ie.owner||Q.owner!=this)throw"Both owners must be this graph!";return Q.owner!=ie.owner?null:(ue.source=Q,ue.target=ie,ue.isInterGraph=!1,this.getEdges().push(ue),Q.edges.push(ue),ie!=Q&&ie.edges.push(ue),ue)},G.prototype.remove=function(_){var Q=_;if(_ instanceof R){if(null==Q)throw"Node is null!";if(null==Q.owner||Q.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var ie=Q.edges.slice(),ue=ie.length,le=0;le-1&&ke>-1))throw"Source and/or target doesn't know this edge!";if(se.source.edges.splice(Ce,1),se.target!=se.source&&se.target.edges.splice(ke,1),-1==(Ie=se.source.owner.getEdges().indexOf(se)))throw"Not in owner's edge list!";se.source.owner.getEdges().splice(Ie,1)}},G.prototype.updateLeftTop=function(){for(var ie,se,ue,_=P.MAX_VALUE,Q=P.MAX_VALUE,le=this.getNodes(),Ie=le.length,Ce=0;Ce(ie=ke.getTop())&&(_=ie),Q>(se=ke.getLeft())&&(Q=se)}return _==P.MAX_VALUE?null:(ue=null!=le[0].getParent().paddingLeft?le[0].getParent().paddingLeft:this.margin,this.left=Q-ue,this.top=_-ue,new K(this.left,this.top))},G.prototype.updateBounds=function(_){for(var le,Ie,Ce,ke,I,Q=P.MAX_VALUE,ie=-P.MAX_VALUE,se=P.MAX_VALUE,ue=-P.MAX_VALUE,Y=this.nodes,X=Y.length,J=0;J(le=Ee.getLeft())&&(Q=le),ie<(Ie=Ee.getRight())&&(ie=Ie),se>(Ce=Ee.getTop())&&(se=Ce),ue<(ke=Ee.getBottom())&&(ue=ke)}var ee=new F(Q,se,ie-Q,ue-se);Q==P.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),I=null!=Y[0].getParent().paddingLeft?Y[0].getParent().paddingLeft:this.margin,this.left=ee.x-I,this.right=ee.x+ee.width+I,this.top=ee.y-I,this.bottom=ee.y+ee.height+I},G.calculateBounds=function(_){for(var le,Ie,Ce,ke,Q=P.MAX_VALUE,ie=-P.MAX_VALUE,se=P.MAX_VALUE,ue=-P.MAX_VALUE,I=_.length,Y=0;Y(le=X.getLeft())&&(Q=le),ie<(Ie=X.getRight())&&(ie=Ie),se>(Ce=X.getTop())&&(se=Ce),ue<(ke=X.getBottom())&&(ue=ke)}return new F(Q,se,ie-Q,ue-se)},G.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},G.prototype.getEstimatedSize=function(){if(this.estimatedSize==P.MIN_VALUE)throw"assert failed";return this.estimatedSize},G.prototype.calcEstimatedSize=function(){for(var _=0,Q=this.nodes,ie=Q.length,se=0;se=this.nodes.length){var X=0;ie.forEach(function(J){J.owner==_&&X++}),X==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},Be.exports=G},function(Be,_e,be){"use strict";var z,P=be(1);function S(L){z=be(5),this.layout=L,this.graphs=[],this.edges=[]}S.prototype.addRoot=function(){var L=this.layout.newGraph(),R=this.layout.newNode(null),V=this.add(L,R);return this.setRootGraph(V),this.rootGraph},S.prototype.add=function(L,R,V,F,K){if(null==V&&null==F&&null==K){if(null==L)throw"Graph is null!";if(null==R)throw"Parent node is null!";if(this.graphs.indexOf(L)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(L),null!=L.parent)throw"Already has a parent!";if(null!=R.child)throw"Already has a child!";return L.parent=R,R.child=L,L}K=V,V=L;var O=(F=R).getOwner(),G=K.getOwner();if(null==O||O.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==G||G.getGraphManager()!=this)throw"Target not in this graph mgr!";if(O==G)return V.isInterGraph=!1,O.add(V,F,K);if(V.isInterGraph=!0,V.source=F,V.target=K,this.edges.indexOf(V)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(V),null==V.source||null==V.target)throw"Edge source and/or target is null!";if(-1!=V.source.edges.indexOf(V)||-1!=V.target.edges.indexOf(V))throw"Edge already in source and/or target incidency list!";return V.source.edges.push(V),V.target.edges.push(V),V},S.prototype.remove=function(L){if(L instanceof z){var R=L;if(R.getGraphManager()!=this)throw"Graph not in this graph mgr";if(R!=this.rootGraph&&(null==R.parent||R.parent.graphManager!=this))throw"Invalid parent node!";for(var F,V=[],K=(V=V.concat(R.getEdges())).length,O=0;O=L.getRight()?R[0]+=Math.min(L.getX()-S.getX(),S.getRight()-L.getRight()):L.getX()<=S.getX()&&L.getRight()>=S.getRight()&&(R[0]+=Math.min(S.getX()-L.getX(),L.getRight()-S.getRight())),S.getY()<=L.getY()&&S.getBottom()>=L.getBottom()?R[1]+=Math.min(L.getY()-S.getY(),S.getBottom()-L.getBottom()):L.getY()<=S.getY()&&L.getBottom()>=S.getBottom()&&(R[1]+=Math.min(S.getY()-L.getY(),L.getBottom()-S.getBottom()));var K=Math.abs((L.getCenterY()-S.getCenterY())/(L.getCenterX()-S.getCenterX()));L.getCenterY()===S.getCenterY()&&L.getCenterX()===S.getCenterX()&&(K=1);var O=K*R[0],G=R[1]/K;R[0]O)return R[0]=V,R[1]=U,R[2]=K,R[3]=Y,!1;if(FK)return R[0]=G,R[1]=F,R[2]=ke,R[3]=O,!1;if(VK?(R[0]=Q,R[1]=ie,ee=!0):(R[0]=_,R[1]=U,ee=!0):Me===Qe&&(V>K?(R[0]=G,R[1]=U,ee=!0):(R[0]=se,R[1]=ie,ee=!0)),-$e===Qe?K>V?(R[2]=I,R[3]=Y,Ne=!0):(R[2]=ke,R[3]=Ce,Ne=!0):$e===Qe&&(K>V?(R[2]=Ie,R[3]=Ce,Ne=!0):(R[2]=X,R[3]=Y,Ne=!0)),ee&&Ne)return!1;if(V>K?F>O?(vt=this.getCardinalDirection(Me,Qe,4),pt=this.getCardinalDirection($e,Qe,2)):(vt=this.getCardinalDirection(-Me,Qe,3),pt=this.getCardinalDirection(-$e,Qe,1)):F>O?(vt=this.getCardinalDirection(-Me,Qe,1),pt=this.getCardinalDirection(-$e,Qe,3)):(vt=this.getCardinalDirection(Me,Qe,2),pt=this.getCardinalDirection($e,Qe,4)),!ee)switch(vt){case 1:je=U,R[0]=V+-le/Qe,R[1]=je;break;case 2:je=F+ue*Qe,R[0]=se,R[1]=je;break;case 3:je=ie,R[0]=V+le/Qe,R[1]=je;break;case 4:je=F+-ue*Qe,R[0]=Q,R[1]=je}if(!Ne)switch(pt){case 1:ft=Ce,R[2]=K+-Ee/Qe,R[3]=ft;break;case 2:ft=O+J*Qe,R[2]=X,R[3]=ft;break;case 3:ft=Y,R[2]=K+Ee/Qe,R[3]=ft;break;case 4:ft=O+-J*Qe,R[2]=I,R[3]=ft}}return!1},P.getCardinalDirection=function(S,L,R){return S>L?R:1+R%4},P.getIntersection=function(S,L,R,V){if(null==V)return this.getIntersection2(S,L,R);var le,Ie,Ce,ke,I,Y,X,F=S.x,K=S.y,O=L.x,G=L.y,U=R.x,_=R.y,Q=V.x,ie=V.y;return I=O*K-F*G,Y=Q*_-U*ie,0==(X=(le=G-K)*(ke=U-Q)-(Ie=ie-_)*(Ce=F-O))?null:new z((Ce*Y-ke*I)/X,(Ie*I-le*Y)/X)},P.angleOfVector=function(S,L,R,V){var F=void 0;return S!==R?(F=Math.atan((V-L)/(R-S)),R0?1:P<0?-1:0},z.floor=function(P){return P<0?Math.ceil(P):Math.floor(P)},z.ceil=function(P){return P<0?Math.floor(P):Math.ceil(P)},Be.exports=z},function(Be,_e,be){"use strict";function z(){}z.MAX_VALUE=2147483647,z.MIN_VALUE=-2147483648,Be.exports=z},function(Be,_e,be){"use strict";var z=function(){function F(K,O){for(var G=0;G"u"?"undefined":z(S);return null==S||"object"!=L&&"function"!=L},Be.exports=P},function(Be,_e,be){"use strict";function z(U){if(Array.isArray(U)){for(var _=0,Q=Array(U.length);_0&&_;){for(le.push(Ce[0]);le.length>0&&_;){var ke=le[0];le.splice(0,1),ue.add(ke);var I=ke.getEdges();for(se=0;se-1&&Ce.splice(Ee,1)}ue=new Set,Ie=new Map}else U=[]}return U},G.prototype.createDummyNodesForBendpoints=function(U){for(var _=[],Q=U.source,ie=this.graphManager.calcLowestCommonAncestor(U.source,U.target),se=0;se0){for(var ie=this.edgeToDummyNodes.get(Q),se=0;se=0&&_.splice(Y,1),Ie.getNeighborsList().forEach(function(ee){if(Q.indexOf(ee)<0){var Me=ie.get(ee)-1;1==Me&&ke.push(ee),ie.set(ee,Me)}})}Q=Q.concat(ke),(1==_.length||2==_.length)&&(se=!0,ue=_[0])}return ue},G.prototype.setGraphManager=function(U){this.graphManager=U},Be.exports=G},function(Be,_e,be){"use strict";function z(){}z.seed=1,z.x=0,z.nextDouble=function(){return(z.x=1e4*Math.sin(z.seed++))-Math.floor(z.x)},Be.exports=z},function(Be,_e,be){"use strict";var z=be(4);function P(S,L){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}P.prototype.getWorldOrgX=function(){return this.lworldOrgX},P.prototype.setWorldOrgX=function(S){this.lworldOrgX=S},P.prototype.getWorldOrgY=function(){return this.lworldOrgY},P.prototype.setWorldOrgY=function(S){this.lworldOrgY=S},P.prototype.getWorldExtX=function(){return this.lworldExtX},P.prototype.setWorldExtX=function(S){this.lworldExtX=S},P.prototype.getWorldExtY=function(){return this.lworldExtY},P.prototype.setWorldExtY=function(S){this.lworldExtY=S},P.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},P.prototype.setDeviceOrgX=function(S){this.ldeviceOrgX=S},P.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},P.prototype.setDeviceOrgY=function(S){this.ldeviceOrgY=S},P.prototype.getDeviceExtX=function(){return this.ldeviceExtX},P.prototype.setDeviceExtX=function(S){this.ldeviceExtX=S},P.prototype.getDeviceExtY=function(){return this.ldeviceExtY},P.prototype.setDeviceExtY=function(S){this.ldeviceExtY=S},P.prototype.transformX=function(S){var L=0,R=this.lworldExtX;return 0!=R&&(L=this.ldeviceOrgX+(S-this.lworldOrgX)*this.ldeviceExtX/R),L},P.prototype.transformY=function(S){var L=0,R=this.lworldExtY;return 0!=R&&(L=this.ldeviceOrgY+(S-this.lworldOrgY)*this.ldeviceExtY/R),L},P.prototype.inverseTransformX=function(S){var L=0,R=this.ldeviceExtX;return 0!=R&&(L=this.lworldOrgX+(S-this.ldeviceOrgX)*this.lworldExtX/R),L},P.prototype.inverseTransformY=function(S){var L=0,R=this.ldeviceExtY;return 0!=R&&(L=this.lworldOrgY+(S-this.ldeviceOrgY)*this.lworldExtY/R),L},P.prototype.inverseTransformPoint=function(S){return new z(this.inverseTransformX(S.x),this.inverseTransformY(S.y))},Be.exports=P},function(Be,_e,be){"use strict";var P=be(15),S=be(7),L=be(0),R=be(8),V=be(9);function F(){P.call(this),this.useSmartIdealEdgeLengthCalculation=S.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=S.DEFAULT_EDGE_LENGTH,this.springConstant=S.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=S.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=S.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=S.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=S.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=S.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*S.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=S.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=S.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=S.MAX_ITERATIONS}for(var K in F.prototype=Object.create(P.prototype),P)F[K]=P[K];F.prototype.initParameters=function(){P.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=S.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},F.prototype.calcIdealEdgeLengths=function(){for(var O,G,U,_,Q,ie,se=this.getGraphManager().getAllEdges(),ue=0;ueS.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*S.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(O-S.ADAPTATION_LOWER_NODE_LIMIT)/(S.ADAPTATION_UPPER_NODE_LIMIT-S.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-S.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=S.MAX_NODE_DISPLACEMENT_INCREMENTAL):(this.coolingFactor=O>S.ADAPTATION_LOWER_NODE_LIMIT?Math.max(S.COOLING_ADAPTATION_FACTOR,1-(O-S.ADAPTATION_LOWER_NODE_LIMIT)/(S.ADAPTATION_UPPER_NODE_LIMIT-S.ADAPTATION_LOWER_NODE_LIMIT)*(1-S.COOLING_ADAPTATION_FACTOR)):1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=S.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},F.prototype.calcSpringForces=function(){for(var G,O=this.getAllEdges(),U=0;U0&&void 0!==arguments[0])||arguments[0],G=arguments.length>1&&void 0!==arguments[1]&&arguments[1],se=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%S.GRID_CALCULATION_CHECK_PERIOD==1&&O&&this.updateGrid(),ue=new Set,U=0;U(le=G.getEstimatedSize()*this.gravityRangeFactor)||ue>le)&&(O.gravitationForceX=-this.gravityConstant*Q,O.gravitationForceY=-this.gravityConstant*ie):(se>(le=G.getEstimatedSize()*this.compoundGravityRangeFactor)||ue>le)&&(O.gravitationForceX=-this.gravityConstant*Q*this.compoundGravityConstant,O.gravitationForceY=-this.gravityConstant*ie*this.compoundGravityConstant)},F.prototype.isConverged=function(){var O,G=!1;return this.totalIterations>this.maxIterations/3&&(G=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),O=this.totalDisplacement=se.length||le>=se[0].length))for(var Ie=0;IeF}}]),R}();Be.exports=L},function(Be,_e,be){"use strict";var z=function(){function L(R,V){for(var F=0;F2&&void 0!==arguments[2]?arguments[2]:1,K=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,O=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function P(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")})(this,L),this.sequence1=R,this.sequence2=V,this.match_score=F,this.mismatch_penalty=K,this.gap_penalty=O,this.iMax=R.length+1,this.jMax=V.length+1,this.grid=new Array(this.iMax);for(var G=0;G=0;R--){var V=this.listeners[R];V.event===S&&V.callback===L&&this.listeners.splice(R,1)}},P.emit=function(S,L){for(var R=0;R{"use strict";_e.r(Be),_e.d(Be,{diagram:()=>Zp});var be=_e(5861),z=_e(9037);function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,a=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(l){throw l},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return i=l.done,l},e:function(l){s=!0,o=l},f:function(){try{!i&&null!=r.return&&r.return()}finally{if(s)throw o}}}}var ie=typeof window>"u"?null:window,se=ie?ie.navigator:null,ue=P(""),le=P({}),Ie=P(function(){}),Ce=typeof HTMLElement>"u"?"undefined":P(HTMLElement),ke=function(e){return e&&e.instanceString&&Y(e.instanceString)?e.instanceString():null},I=function(e){return null!=e&&P(e)==ue},Y=function(e){return null!=e&&P(e)===Ie},X=function(e){return!$e(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},J=function(e){return null!=e&&P(e)===le&&!X(e)&&e.constructor===Object},ee=function(e){return null!=e&&P(e)===P(1)&&!isNaN(e)},Me=function(e){if("undefined"!==Ce)return null!=e&&e instanceof HTMLElement},$e=function(e){return Qe(e)||vt(e)},Qe=function(e){return"collection"===ke(e)&&e._private.single},vt=function(e){return"collection"===ke(e)&&!e._private.single},pt=function(e){return"core"===ke(e)},Ue=function(e){return"stylesheet"===ke(e)},tt=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},bt=function(e){return function(e){return null!=e&&P(e)===le}(e)&&Y(e.then)},Xt=function(){return se&&se.userAgent.match(/msie|trident|edge/i)},nr=function(e,r){r||(r=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var i=[],s=0;sr?1:0},Ze=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r=e||E<0||h&&x-u>=i}function g(){var x=oi();if(p(x))return m(x);o=setTimeout(g,function y(x){var C=e-(x-l);return h?Ql(C,i-(x-u)):C}(x))}function m(x){return o=void 0,c&&a?d(x):(a=n=void 0,s)}function T(){var x=oi(),E=p(x);if(a=arguments,n=this,l=x,E){if(void 0===o)return function v(x){return u=x,o=setTimeout(g,e),f?d(x):s}(l);if(h)return clearTimeout(o),o=setTimeout(g,e),d(l)}return void 0===o&&(o=setTimeout(g,e)),s}return e=vs(e)||0,$r(r)&&(f=!!r.leading,i=(h="maxWait"in r)?Zl(vs(r.maxWait)||0,e):i,c="trailing"in r?!!r.trailing:c),T.cancel=function b(){void 0!==o&&clearTimeout(o),u=0,a=l=n=o=void 0},T.flush=function w(){return void 0===o?s:m(oi())},T},ui=ie?ie.performance:null,ds=ui&&ui.now?function(){return ui.now()}:function(){return Date.now()},jl=function(){if(ie){if(ie.requestAnimationFrame)return function(t){ie.requestAnimationFrame(t)};if(ie.mozRequestAnimationFrame)return function(t){ie.mozRequestAnimationFrame(t)};if(ie.webkitRequestAnimationFrame)return function(t){ie.webkitRequestAnimationFrame(t)};if(ie.msRequestAnimationFrame)return function(t){ie.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(ds())},1e3/60)}}(),dn=function(e){return jl(e)},xr=ds,ia=9261,gs=65599,Fa=5381,ps=function(e){for(var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ia;!(n=e.next()).done;)a=a*gs+n.value|0;return a},Ga=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:ia)*gs+e|0},za=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fa;return(r<<5)+r+e|0},Or=function(e){return 2097152*e[0]+e[1]},gn=function(e,r){return[Ga(e[0],r[0]),za(e[1],r[1])]},Yr=function(e,r){var a={value:0,done:!1},n=0,i=e.length;return ps({next:function(){return n=0&&(e[n]!==r||(e.splice(n,1),!a));n--);},hi=function(e){e.splice(0,e.length)},ir=function(e,r,a){return a&&(r=Ma(a,r)),e[r]},Ir=function(e,r,a,n){a&&(r=Ma(a,r)),e[r]=n},ff=function(){function t(){S(this,t),this._obj={}}return R(t,[{key:"set",value:function(r,a){return this._obj[r]=a,this}},{key:"delete",value:function(r){return this._obj[r]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(r){return void 0!==this._obj[r]}},{key:"get",value:function(r){return this._obj[r]}}]),t}(),dr=typeof Map<"u"?Map:ff,cf=function(){function t(e){if(S(this,t),this._obj=Object.create(null),this.size=0,null!=e){var r;r=null!=e.instanceString&&e.instanceString()===this.instanceString()?e.toArray():e;for(var a=0;a"u"?"undefined":P(Set))?Set:cf,yn=function(e,r){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==r&&pt(e)){var n=r.group;if(null==n&&(n=r.data&&null!=r.data.source&&null!=r.data.target?"edges":"nodes"),"nodes"===n||"edges"===n){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:void 0===r.selectable||!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:void 0===r.grabbable||!!r.grabbable,pannable:void 0===r.pannable?"edges"===n:!!r.pannable,active:!1,classes:new sa,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];X(r.classes)?u=r.classes:I(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,h=u.length;fm?1:0},f=function(g,m,b,w,T){var x;if(null==b&&(b=0),null==T&&(T=a),b<0)throw new Error("lo must be non-negative");for(null==w&&(w=g.length);bA;0<=A?C++:C--)D.push(C);return D}.apply(this).reverse()).length;wB;0<=B?++D:--D)M.push(s(g,b));return M},y=function(g,m,b,w){var T,x,E;for(null==w&&(w=a),T=g[b];b>m&&w(T,x=g[E=b-1>>1])<0;)g[b]=x,b=E;return g[b]=T},p=function(g,m,b){var w,T,x,E,D;for(null==b&&(b=a),T=g.length,D=m,x=g[m],w=2*m+1;w0;){var x=m.pop(),E=p(x),D=x.id();if(c[D]=E,E!==1/0)for(var C=x.neighborhood().intersect(v),A=0;A0)for(Z.unshift(W);h[oe];){var ae=h[oe];Z.unshift(ae.edge),Z.unshift(ae.node),oe=(re=ae.node).id()}return o.spawn(Z)}}}},pf={kruskal:function(e){e=e||function(b){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(w){for(var T=0;T0;){if(w=(b=v.pop()).id(),y.delete(w),E++,w===f){for(var D=[],C=i,A=f,B=g[A];D.unshift(C),null!=B&&D.unshift(B),null!=(C=p[A]);)B=g[A=C.id()];return{found:!0,distance:h[w],path:this.spawn(D),steps:E}}d[w]=!0;for(var M=b._private.edges,$=0;$B&&(v[A]=B,m[A]=C,b[A]=T),!i){var M=C*f+D;!i&&v[M]>B&&(v[M]=B,m[M]=D,b[M]=T)}}}for(var $=0;$1&&void 0!==arguments[1]?arguments[1]:s,at=[],et=b(ze);;){if(null==et)return r.spawn();var st=m(et),Te=st.edge,N=st.pred;if(at.unshift(et[0]),et.same(We)&&at.length>0)break;null!=Te&&at.unshift(Te),et=N}return l.spawn(at)},hasNegativeWeightCycle:y,negativeWeightCycles:p}}},Tf=Math.sqrt(2),Cf=function(e,r,a){0===a.length&&Et("Karger-Stein must be run on a connected (sub)graph");for(var n=a[e],o=r[n[1]],l=r[n[2]],u=a,f=u.length-1;f>=0;f--){var h=u[f],c=h[1],d=h[2];(r[c]===o&&r[d]===l||r[c]===l&&r[d]===o)&&u.splice(f,1)}for(var v=0;vn;){var i=Math.floor(Math.random()*r.length);r=Cf(i,e,r),a--}return r},Df={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(Z){return Z.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Tf);if(!(i<2)){for(var u=[],f=0;f0?1:e<0?-1:0},Hr=function(e,r){return Math.sqrt(Xr(e,r))},Xr=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},Mf=function(e){for(var r=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Ls=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},Ff=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},En=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},wn=function(e){var a,n,i,s,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===r.length)a=n=i=s=r[0];else if(2===r.length)a=i=r[0],s=n=r[1];else if(4===r.length){var o=F(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},As=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},di=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},la=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},Gf=function(e,r){return la(e,r.x,r.y)},Os=function(e,r){return la(e,r.x1,r.y1)&&la(e,r.x2,r.y2)},Ns=function(e,r,a,n,i,s,o){var v,q,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",u="auto"===l?qr(i,s):l,f=i/2,h=s/2,c=(u=Math.min(u,f,h))!==f,d=u!==h;if(c){var p=n-h-o;if((v=Mr(e,r,a,n,a-f+u-o,p,a+f-u+o,p,!1)).length>0)return v}if(d){var b=a+f+o;if((v=Mr(e,r,a,n,b,n-h+u-o,b,n+h-u+o,!1)).length>0)return v}if(c){var D=n+h+o;if((v=Mr(e,r,a,n,a-f+u-o,D,a+f-u+o,D,!1)).length>0)return v}if(d){var B=a-f-o;if((v=Mr(e,r,a,n,B,n-h+u-o,B,n+h-u+o,!1)).length>0)return v}var H=a-f+u,W=n-h+u;if((q=Ya(e,r,a,n,H,W,u+o)).length>0&&q[0]<=H&&q[1]<=W)return[q[0],q[1]];var Z=a+f-u,re=n-h+u;if((q=Ya(e,r,a,n,Z,re,u+o)).length>0&&q[0]>=Z&&q[1]<=re)return[q[0],q[1]];var oe=a+f-u,ae=n+h-u;if((q=Ya(e,r,a,n,oe,ae,u+o)).length>0&&q[0]>=oe&&q[1]>=ae)return[q[0],q[1]];var te=a-f+u,ge=n+h-u;return(q=Ya(e,r,a,n,te,ge,u+o)).length>0&&q[0]<=te&&q[1]>=ge?[q[0],q[1]]:[]},zf=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),h=Math.min(n,s),c=Math.max(n,s);return u-l<=e&&e<=f+l&&h-l<=r&&r<=c+l},Vf=function(e,r,a,n,i,s,o,l,u){var f_x1=Math.min(a,o,i)-u,f_x2=Math.max(a,o,i)+u,f_y1=Math.min(n,l,s)-u,f_y2=Math.max(n,l,s)+u;return!(ef_x2||rf_y2)},Yf=function(e,r,a,n,i,s,o,l){var d=[];!function(e,r,a,n,i){var o,l,u,f,h,c,d,v;0===e&&(e=1e-5),u=-27*(n/=e)+(r/=e)*(9*(a/=e)-r*r*2),o=(l=(3*a-r*r)/9)*l*l+(u/=54)*u,i[1]=0,d=r/3,o>0?(h=(h=u+Math.sqrt(o))<0?-Math.pow(-h,1/3):Math.pow(h,1/3),c=(c=u-Math.sqrt(o))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-d+h+c,i[4]=i[2]=-(d+=(h+c)/2),d=Math.sqrt(3)*(-c+h)/2,i[3]=d,i[5]=-d):(i[5]=i[3]=0,0===o?(v=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=2*v-d,i[4]=i[2]=-(v+d)):(f=(l=-l)*l*l,f=Math.acos(u/Math.sqrt(f)),v=2*Math.sqrt(l),i[0]=-d+v*Math.cos(f/3),i[2]=-d+v*Math.cos((f+2*Math.PI)/3),i[4]=-d+v*Math.cos((f+4*Math.PI)/3)))}(1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,d);for(var y=[],p=0;p<6;p+=2)Math.abs(d[p+1])<1e-7&&d[p]>=0&&d[p]<=1&&y.push(d[p]);y.push(1),y.push(0);for(var m,b,w,g=-1,T=0;T=0?wu?(e-i)*(e-i)+(r-s)*(r-s):f-c},Kt=function(e,r,a){for(var n,i,s,o,u=0,f=0;f=e&&e>=s||n<=e&&e<=s))continue;(e-n)/(s-n)*(o-i)+i>r&&u++}return u%2!=0},Tr=function(e,r,a,n,i,s,o,l,u){var h,y,f=new Array(a.length);null!=l[0]?(h=Math.atan(l[1]/l[0]),l[0]<0?h+=Math.PI/2:h=-h-Math.PI/2):h=l;for(var c=Math.cos(-h),d=Math.sin(-h),v=0;v0){var p=Tn(f,-u);y=xn(p)}else y=f;return Kt(e,r,y)},xn=function(e){for(var o,l,u,f,r=new Array(e.length/2),h=0;h=0&&p<=1&&m.push(p),g>=0&&g<=1&&m.push(g),0===m.length)return[];var b=m[0]*l[0]+e,w=m[0]*l[1]+r;return m.length>1?m[0]==m[1]?[b,w]:[b,w,m[1]*l[0]+e,m[1]*l[1]+r]:[b,w]},gi=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},Mr=function(e,r,a,n,i,s,o,l,u){var f=e-i,h=a-e,c=o-i,d=r-s,v=n-r,y=l-s,p=c*d-y*f,g=h*d-v*f,m=y*h-c*v;if(0!==m){var b=p/m,w=g/m,x=-.001;return x<=b&&b<=1.001&&x<=w&&w<=1.001||u?[e+b*h,r+b*v]:[]}return 0===p||0===g?gi(e,a,o)===o?[o,l]:gi(e,a,i)===i?[i,s]:gi(i,o,a)===a?[a,n]:[]:[]},Ha=function(e,r,a,n,i,s,o,l){var f,d,u=[],h=new Array(a.length),c=!0;if(null==s&&(c=!1),c){for(var v=0;v0){var y=Tn(h,-l);d=xn(y)}else d=h}else d=a;for(var m,b,w=0;wf&&(f=w)},get:function(b){return u[b]}},c=0;c0?q.edgesTo(k)[0]:k.edgesTo(q)[0];var W=n(H);k=k.id(),D[k]>D[M]+W&&(D[k]=D[M]+W,C.nodes.indexOf(k)<0?C.push(k):C.updateItem(k),E[k]=0,x[k]=[]),D[k]==D[M]+W&&(E[k]=E[k]+E[M],x[k].push(M))}else for(var Z=0;Z0;){for(var te=T.pop(),ge=0;ge0&&o.push(a[l]);0!==o.length&&i.push(n.collection(o))}return i}(f,l,r,n);return w=function(e){for(var r=0;r5&&void 0!==arguments[5]?arguments[5]:fh,o=n,f=0;f=2?Xa(e,r,a,0,zs,hh):Xa(e,r,a,0,Gs)},squaredEuclidean:function(e,r,a){return Xa(e,r,a,0,zs)},manhattan:function(e,r,a){return Xa(e,r,a,0,Gs)},max:function(e,r,a){return Xa(e,r,a,-1/0,ch)}};function Dn(t,e,r,a,n,i){var s;return s=Y(t)?t:ca[t]||ca.euclidean,0===e&&Y(t)?s(n,i):s(e,r,a,n,i)}ca["squared-euclidean"]=ca.squaredEuclidean,ca.squaredeuclidean=ca.squaredEuclidean;var vh=Ot({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Ei=function(e){return vh(e)},Sn=function(e,r,a,n,i){var o="kMedoids"!==i?function(h){return a[h]}:function(h){return n[h](a)};return Dn(e,n.length,o,function(c){return n[c](r)},a,r)},wi=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;ua)return!1;return!0},ph=function(e,r,a){for(var n=0;no&&(o=r[u][f],l=f);i[l].push(e[u])}for(var h=0;h=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,v=r[s],y=r[n[s]];p="dendrogram"===i.mode?{left:v,right:y,key:v.key}:{value:v.value.concat(y.value),key:v.key},e[v.index]=p,e.splice(y.index,1),r[v.key]=p;for(var g=0;ga[y.key][m.key]&&(l=a[y.key][m.key])):"max"===i.linkage?(l=a[v.key][m.key],a[v.key][m.key]o&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;f1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(a0&&e.splice(0,r)):e=e.slice(r,a);for(var o=0,l=e.length-1;l>=0;l--)s?isFinite(e[l])||(e[l]=-1/0,o++):e.splice(l,1);i&&e.sort(function(c,d){return c-d});var f=e.length,h=Math.floor(f/2);return f%2!=0?e[h+1+o]:(e[h-1+o]+e[h+o])/2}(e):"mean"===r?function(e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=0,i=0,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;s2&&void 0!==arguments[2]?arguments[2]:e.length,n=1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i2&&void 0!==arguments[2]?arguments[2]:e.length,n=-1/0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i=B?(M=B,B=k,$=q):k>M&&(M=k);for(var H=0;H0?1:0;E[C%n.minIterations*o+te]=ge,ae+=ge}if(ae>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var pe=0,xe=0;xe0&&n.push(i);return n}(o,h,c),ve=function(e,r,a){for(var n=qs(e,r,a),i=0;iu&&(l=f,u=h)}a[i]=s[l]}return qs(e,r,a)}(o,u,De),j={},he=0;he1||x>1)&&(o=!0),h[b]=[],m.outgoers().forEach(function(D){D.isEdge()&&h[b].push(D.id())})}else c[b]=[void 0,m.target().id()]}:function(m){var b=m.id();m.isNode()?(m.degree(!0)%2&&(l?u?o=!0:u=b:l=b),h[b]=[],m.connectedEdges().forEach(function(T){return h[b].push(T.id())})):c[b]=[m.source().id(),m.target().id()]});var d={found:!1,trail:void 0};if(o)return d;if(u&&l)if(i){if(f&&u!=f)return d;f=u}else{if(f&&u!=f&&l!=f)return d;f||(f=u)}else f||(f=s[0].id());var v=function(b){for(var x,E,D,w=b,T=[b];h[w].length;)x=h[w].shift(),E=c[x][0],w!=(D=c[x][1])?(h[D]=h[D].filter(function(C){return C!=x}),w=D):!i&&w!=E&&(h[E]=h[E].filter(function(C){return C!=x}),w=E),T.unshift(x),T.unshift(w);return T},y=[],p=[];for(p=v(f);1!=p.length;)0==h[p[0]].length?(y.unshift(s.getElementById(p.shift())),y.unshift(s.getElementById(p.shift()))):p=v(p.shift()).concat(p);for(var g in y.unshift(s.getElementById(p.shift())),h)if(h[g].length)return d;return d.found=!0,d.trail=this.spawn(y,!0),d}},An=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},u=function h(c,d,v){c===v&&(n+=1),r[d]={id:a,low:a++,cutVertex:!1};var p,g,m,b,y=e.getElementById(d).connectedEdges().intersection(e);0===y.size()?i.push(e.spawn(e.getElementById(d))):y.forEach(function(w){p=w.source().id(),g=w.target().id(),(m=p===d?g:p)!==v&&(b=w.id(),o[b]||(o[b]=!0,s.push({x:d,y:m,edge:w})),m in r?r[d].low=Math.min(r[d].low,r[m].id):(h(c,m,d),r[d].low=Math.min(r[d].low,r[m].low),r[d].id<=r[m].low&&(r[d].cutVertex=!0,function(c,d){for(var v=s.length-1,y=[],p=e.spawn();s[v].x!=c||s[v].y!=d;)y.push(s.pop().edge),v--;y.push(s.pop().edge),y.forEach(function(g){var m=g.connectedNodes().intersection(e);p.merge(g),m.forEach(function(b){var w=b.id(),T=b.connectedEdges().intersection(e);p.merge(b),p.merge(r[w].cutVertex?T.filter(function(x){return x.isLoop()}):T)})}),i.push(p)}(d,m))))})};e.forEach(function(h){if(h.isNode()){var c=h.id();c in r||(n=0,u(c,c),r[c].cutVertex=n>1)}});var f=Object.keys(r).filter(function(h){return r[h].cutVertex}).map(function(h){return e.getElementById(h)});return{cut:e.spawn(f),components:i}},On=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){if(i.push(u),r[u]={index:a,low:a++,explored:!1},e.getElementById(u).connectedEdges().intersection(e).forEach(function(y){var p=y.target().id();p!==u&&(p in r||l(p),r[p].explored||(r[u].low=Math.min(r[u].low,r[p].low)))}),r[u].index===r[u].low){for(var h=e.spawn();;){var c=i.pop();if(h.merge(e.getElementById(c)),r[c].low=r[u].index,r[c].explored=!0,c===u)break}var d=h.edgesWith(h),v=h.merge(d);n.push(v),s=s.difference(v)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},_s={};[Va,gf,pf,mf,Ef,xf,Df,Zf,fa,ha,bi,lh,xh,Ah,Ph,Fh,{hopcroftTarjanBiconnected:An,htbc:An,htb:An,hopcroftTarjanBiconnectedComponents:An},{tarjanStronglyConnected:On,tsc:On,tscc:On,tarjanStronglyConnectedComponents:On}].forEach(function(t){Ze(_s,t)});var Cr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};Cr.prototype={fulfill:function(e){return js(this,1,"fulfillValue",e)},reject:function(e){return js(this,2,"rejectReason",e)},then:function(e,r){var a=this,n=new Cr;return a.onFulfilled.push(ro(e,n,"fulfill")),a.onRejected.push(ro(r,n,"reject")),eo(a),n.proxy}};var js=function(e,r,a,n){return 0===e.state&&(e.state=r,e[a]=n,eo(e)),e},eo=function(e){1===e.state?to(e,"onFulfilled",e.fulfillValue):2===e.state&&to(e,"onRejected",e.rejectReason)},to=function(e,r,a){if(0!==e[r].length){var n=e[r];e[r]=[];var i=function(){for(var o=0;o0:void 0}},clearQueue:function(){return function(){var r=this,n=void 0!==r.length?r:[r];if(!(this._private.cy||this).styleEnabled())return this;for(var s=0;s-1},ga.prototype.set=function qc(t,e){var r=this.__data__,a=In(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this};var _c=ga,Qc=Ci(cn,"Map"),Mn=function rv(t,e){var r=t.__data__;return function ev(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?r["string"==typeof e?"string":"hash"]:r.map};function pa(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0&&this.spawn(n).updateStyle().emit("class"),r},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var r=this[0];return null!=r&&r._private.classes.has(e)},toggleClass:function(e,r){X(e)||(e=e.match(/\S+/g)||[]);for(var a=this,n=void 0===r,i=[],s=0,o=a.length;s0&&this.spawn(i).updateStyle().emit("class"),a},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,r){var a=this;if(null==r)r=250;else if(0===r)return a;return a.addClass(e),setTimeout(function(){a.removeClass(e)},r),a}};Rn.className=Rn.classNames=Rn.classes;var rt={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:xt,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};rt.variable="(?:[\\w-.]|(?:\\\\"+rt.metaChar+"))+",rt.className="(?:[\\w-]|(?:\\\\"+rt.metaChar+"))+",rt.value=rt.string+"|"+rt.number,rt.id=rt.variable,function(){var t,e,r;for(t=rt.comparatorOp.split("|"),r=0;r=0)&&"="!==e&&(rt.comparatorOp+="|\\!"+e)}();var Li=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(t,e){return function(e,r){return-1*ss(e,r)}(t.selector,e.selector)}),Jv=function(){for(var e,t={},r=0;r0&&f.edgeCount>0)return ot("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(f.edgeCount>1)return ot("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===f.edgeCount&&ot("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(f){return f??""},r=function(f){return I(f)?'"'+f+'"':e(f)},a=function(f){return" "+f+" "},i=function(f,h){return f.checks.reduce(function(c,d,v){return c+(h===f&&0===v?"$":"")+function(f,h){var d=f.value;switch(f.type){case 0:var v=e(d);return v.substring(0,v.length-1);case 3:return"["+f.field+a(e(f.operator))+r(d)+"]";case 5:var m=f.field;return"["+e(f.operator)+m+"]";case 4:return"["+f.field+"]";case 6:return"[["+f.field+a(e(f.operator))+r(d)+"]]";case 7:return d;case 8:return"#"+d;case 9:return"."+d;case 17:case 15:return i(f.parent,h)+a(">")+i(f.child,h);case 18:case 16:return i(f.ancestor,h)+" "+i(f.descendant,h);case 19:var x=i(f.left,h),E=i(f.subject,h),D=i(f.right,h);return x+(x.length>0?" ":"")+E+D;case 20:return""}}(d,h)},"")},s="",o=0;o1&&o=0&&(r=r.replace("!",""),h=!0),r.indexOf("@")>=0&&(r=r.replace("@",""),f=!0),(i||o||f)&&(l=i||s?""+e:"",u=""+a),f&&(e=l=l.toLowerCase(),a=u=u.toLowerCase()),r){case"*=":n=l.indexOf(u)>=0;break;case"$=":n=l.indexOf(u,l.length-u.length)>=0;break;case"^=":n=0===l.indexOf(u);break;case"=":n=e===a;break;case">":c=!0,n=e>a;break;case">=":c=!0,n=e>=a;break;case"<":c=!0,n=e0;){var f=n.shift();e(f),i.add(f.id()),o&&a(n,i,f)}return t}function yo(t,e,r){if(r.isParent())for(var a=r._private.children,n=0;n1&&void 0!==arguments[1])||arguments[1],yo)},ma.forEachUp=function(t){return Ni(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],mo)},ma.forEachUpAndDown=function(t){return Ni(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],cd)},ma.ancestors=ma.parents,qa=bo={data:ut.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:ut.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ut.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ut.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ut.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ut.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}},qa.attr=qa.data,qa.removeAttr=qa.removeData;var vd=bo,kn={};function Ii(t){return function(e){var r=this;if(void 0===e&&(e=!0),0===r.length);else if(r.isNode()&&!r.removed()){for(var a=0,n=r[0],i=n._private.edges,s=0;se}),minIndegree:ba("indegree",function(t,e){return te}),minOutdegree:ba("outdegree",function(t,e){return te})}),Ze(kn,{totalDegree:function(e){for(var r=0,a=this.nodes(),n=0;n0;p&&(y=y[0]);var m=p?y.position():{x:0,y:0};return i={x:v.x-m.x,y:v.y-m.y},void 0===e?i:i[e]}for(var l=0;l0;h&&(f=f[0]);var d=h?f.position():{x:0,y:0};void 0!==r?u.position(e,r+d[e]):void 0!==i&&u.position({x:i.x+d.x,y:i.y+d.y})}}else if(!s)return;return this}},sr.modelPosition=sr.point=sr.position,sr.modelPositions=sr.points=sr.positions,sr.renderedPoint=sr.renderedPosition,sr.relativePoint=sr.relativePosition;var Ea,Fr,dd=Eo;Ea=Fr={},Fr.renderedBoundingBox=function(t){var e=this.boundingBox(t),r=this.cy(),a=r.zoom(),n=r.pan(),i=e.x1*a+n.x,s=e.x2*a+n.x,o=e.y1*a+n.y,l=e.y2*a+n.y;return{x1:i,x2:s,y1:o,y2:l,w:s-i,h:l-o}},Fr.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp(function(r){if(r.isParent()){var a=r._private;a.compoundBoundsClean=!1,a.bbCache=null,t||r.emitAndNotify("bounds")}}),this):this},Fr.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function r(s){if(s.isParent()){var o=s._private,l=s.children(),u="include"===s.pstyle("compound-sizing-wrt-labels").value,f={width:{val:s.pstyle("min-width").pfValue,left:s.pstyle("min-width-bias-left"),right:s.pstyle("min-width-bias-right")},height:{val:s.pstyle("min-height").pfValue,top:s.pstyle("min-height-bias-top"),bottom:s.pstyle("min-height-bias-bottom")}},h=l.boundingBox({includeLabels:u,includeOverlays:!1,useCache:!1}),c=o.position;(0===h.w||0===h.h)&&((h={w:s.pstyle("width").pfValue,h:s.pstyle("height").pfValue}).x1=c.x-h.w/2,h.x2=c.x+h.w/2,h.y1=c.y-h.h/2,h.y2=c.y+h.h/2);var y=f.width.left.value;"px"===f.width.left.units&&f.width.val>0&&(y=100*y/f.width.val);var p=f.width.right.value;"px"===f.width.right.units&&f.width.val>0&&(p=100*p/f.width.val);var g=f.height.top.value;"px"===f.height.top.units&&f.height.val>0&&(g=100*g/f.height.val);var m=f.height.bottom.value;"px"===f.height.bottom.units&&f.height.val>0&&(m=100*m/f.height.val);var b=d(f.width.val-h.w,y,p),w=b.biasDiff,T=b.biasComplementDiff,x=d(f.height.val-h.h,g,m),E=x.biasDiff,D=x.biasComplementDiff;o.autoPadding=function v(C,A,B,M){if("%"!==B.units)return"px"===B.units?B.pfValue:0;switch(M){case"width":return C>0?B.pfValue*C:0;case"height":return A>0?B.pfValue*A:0;case"average":return C>0&&A>0?B.pfValue*(C+A)/2:0;case"min":return C>0&&A>0?C>A?B.pfValue*A:B.pfValue*C:0;case"max":return C>0&&A>0?C>A?B.pfValue*C:B.pfValue*A:0;default:return 0}}(h.w,h.h,s.pstyle("padding"),s.pstyle("padding-relative-to").value),o.autoWidth=Math.max(h.w,f.width.val),c.x=(-w+h.x1+h.x2+T)/2,o.autoHeight=Math.max(h.h,f.height.val),c.y=(-E+h.y1+h.y2+D)/2}function d(C,A,B){var M=0,$=0,k=A+B;return C>0&&k>0&&(M=A/k*C,$=B/k*C),{biasDiff:M,biasComplementDiff:$}}}for(var a=0;ae.x2?n:e.x2,e.y1=ae.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},_r=function(e,r){return null==r?e:or(e,r.x1,r.y1,r.x2,r.y2)},Ka=function(e,r,a){return ir(e,r,a)},Pn=function(e,r,a){if(!r.cy().headless()){var l,u,n=r._private,i=n.rstyle,s=i.arrowWidth/2;if("none"!==r.pstyle(a+"-arrow-shape").value){"source"===a?(l=i.srcX,u=i.srcY):"target"===a?(l=i.tgtX,u=i.tgtY):(l=i.midX,u=i.midY);var f=n.arrowBounds=n.arrowBounds||{},h=f[a]=f[a]||{};h.x1=l-s,h.y1=u-s,h.x2=l+s,h.y2=u+s,h.w=h.x2-h.x1,h.h=h.y2-h.y1,En(h,1),or(e,h.x1,h.y1,h.x2,h.y2)}}},Mi=function(e,r,a){if(!r.cy().headless()){var n,i=r._private,s=i.rstyle;if(r.pstyle((n=a?a+"-":"")+"label").strValue){var B,M,$,k,l=r.pstyle("text-halign"),u=r.pstyle("text-valign"),f=Ka(s,"labelWidth",a),h=Ka(s,"labelHeight",a),c=Ka(s,"labelX",a),d=Ka(s,"labelY",a),v=r.pstyle(n+"text-margin-x").pfValue,y=r.pstyle(n+"text-margin-y").pfValue,p=r.isEdge(),g=r.pstyle(n+"text-rotation"),m=r.pstyle("text-outline-width").pfValue,w=r.pstyle("text-border-width").pfValue/2,T=r.pstyle("text-background-padding").pfValue,E=h,D=f,C=D/2,A=E/2;if(p)B=c-C,M=c+C,$=d-A,k=d+A;else{switch(l.value){case"left":B=c-D,M=c;break;case"center":B=c-C,M=c+C;break;case"right":B=c,M=c+D}switch(u.value){case"top":$=d-E,k=d;break;case"center":$=d-A,k=d+A;break;case"bottom":$=d,k=d+E}}B+=v-Math.max(m,w)-T-2,M+=v+Math.max(m,w)+T+2,$+=y-Math.max(m,w)-T-2,k+=y+Math.max(m,w)+T+2;var q=a||"main",H=i.labelBounds,W=H[q]=H[q]||{};W.x1=B,W.y1=$,W.x2=M,W.y2=k,W.w=M-B,W.h=k-$;var Z=p&&"autorotate"===g.strValue;if(Z||null!=g.pfValue&&0!==g.pfValue){var oe=Z?Ka(i.rstyle,"labelAngle",a):g.pfValue,ae=Math.cos(oe),te=Math.sin(oe),ge=(B+M)/2,pe=($+k)/2;if(!p){switch(l.value){case"left":ge=M;break;case"right":ge=B}switch(u.value){case"top":pe=k;break;case"bottom":pe=$}}var xe=function(Ye,Se){return{x:(Ye-=ge)*ae-(Se-=pe)*te+ge,y:Ye*te+Se*ae+pe}},me=xe(B,$),De=xe(B,k),ve=xe(M,$),j=xe(M,k);B=Math.min(me.x,De.x,ve.x,j.x),M=Math.max(me.x,De.x,ve.x,j.x),$=Math.min(me.y,De.y,ve.y,j.y),k=Math.max(me.y,De.y,ve.y,j.y)}var he=q+"Rot",ye=H[he]=H[he]||{};ye.x1=B,ye.y1=$,ye.x2=M,ye.y2=k,ye.w=M-B,ye.h=k-$,or(e,B,$,M,k),or(i.labelBounds.all,B,$,M,k)}return e}},To=function(e){var r=0,a=function(s){return(s?1:0)<0&&n>0){var i=r.pstyle("outline-offset").value,s=r.pstyle("shape").value,o=n+i,l=(e.w+2*o)/e.w,u=(e.h+2*o)/e.h,h=0;["diamond","pentagon","round-triangle"].includes(s)?(l=(e.w+2.4*o)/e.w,h=-o/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?l=(e.w+2.4*o)/e.w:"star"===s?(l=(e.w+2.8*o)/e.w,u=(e.h+2.6*o)/e.h,h=-o/3.8):"triangle"===s?(l=(e.w+2.8*o)/e.w,u=(e.h+2.4*o)/e.h,h=-o/1.4):"vee"===s&&(l=(e.w+4.4*o)/e.w,u=(e.h+3.8*o)/e.h,h=.5*-o);var d=e.w*l-e.w;if(wn(e,[Math.ceil((e.h*u-e.h)/2),Math.ceil(d/2)]),0!==h){var v=function(e,r,a){return{x1:e.x1+0,x2:e.x2+0,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}}(e,0,h);Ls(e,v)}}}}(s,e)}else if(u&&r.includeEdges)if(n&&!i){var H=e.pstyle("curve-style").strValue;if(f=Math.min(p.srcX,p.midX,p.tgtX),h=Math.max(p.srcX,p.midX,p.tgtX),c=Math.min(p.srcY,p.midY,p.tgtY),d=Math.max(p.srcY,p.midY,p.tgtY),or(s,f-=A,c-=A,h+=A,d+=A),"haystack"===H){var W=p.haystackPts;if(W&&2===W.length){if((f=W[0].x)>(h=W[1].x)){var Z=f;f=h,h=Z}if((c=W[0].y)>(d=W[1].y)){var re=c;c=d,d=re}or(s,f-A,c-A,h+A,d+A)}}else if("bezier"===H||"unbundled-bezier"===H||H.endsWith("segments")||H.endsWith("taxi")){var oe;switch(H){case"bezier":case"unbundled-bezier":oe=p.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":oe=p.linePts}if(null!=oe)for(var ae=0;ae(h=me.x)){var De=f;f=h,h=De}if((c=pe.y)>(d=me.y)){var ve=c;c=d,d=ve}or(s,f-=A,c-=A,h+=A,d+=A)}if(n&&r.includeEdges&&u&&(Pn(s,e,"mid-source"),Pn(s,e,"mid-target"),Pn(s,e,"source"),Pn(s,e,"target")),n&&"yes"===e.pstyle("ghost").value){var he=e.pstyle("ghost-offset-x").pfValue,ye=e.pstyle("ghost-offset-y").pfValue;or(s,s.x1+he,s.y1+ye,s.x2+he,s.y2+ye)}var Oe=o.bodyBounds=o.bodyBounds||{};As(Oe,s),wn(Oe,g),En(Oe,1),n&&or(s,(f=s.x1)-D,(c=s.y1)-D,(h=s.x2)+D,(d=s.y2)+D);var Ye=o.overlayBounds=o.overlayBounds||{};As(Ye,s),wn(Ye,g),En(Ye,1);var Se=o.labelBounds=o.labelBounds||{};null!=Se.all?function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0}(Se.all):Se.all=qt(),n&&r.includeLabels&&(r.includeMainLabels&&Mi(s,e,null),u&&(r.includeSourceLabels&&Mi(s,e,"source"),r.includeTargetLabels&&Mi(s,e,"target")))}return s.x1=tr(s.x1),s.y1=tr(s.y1),s.x2=tr(s.x2),s.y2=tr(s.y2),s.w=tr(s.x2-s.x1),s.h=tr(s.y2-s.y1),s.w>0&&s.h>0&&b&&(wn(s,g),En(s,1)),s}(e,_a),a.bbCache=n,a.bbCachePosKey=l):n=a.bbCache,!o){var d=e.isNode();n=qt(),(r.includeNodes&&d||r.includeEdges&&!d)&&_r(n,r.includeOverlays?a.overlayBounds:a.bodyBounds),r.includeLabels&&(r.includeMainLabels&&(!i||r.includeSourceLabels&&r.includeTargetLabels)?_r(n,a.labelBounds.all):(r.includeMainLabels&&_r(n,a.labelBounds.mainRot),r.includeSourceLabels&&_r(n,a.labelBounds.sourceRot),r.includeTargetLabels&&_r(n,a.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},_a={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,includeOutlines:!0,useCache:!0},So=To(_a),Lo=Ot(_a);Fr.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=qt();var r=Lo(t=t||_a),a=this;if(a.cy().styleEnabled())for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:Id,e=arguments.length>1?arguments[1]:void 0,r=0;r=0;o--)s(o);return this},Gr.removeAllListeners=function(){return this.removeListener("*")},Gr.emit=Gr.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,X(e)||(e=[e]),function(e,r,a){if(function(e){return"event"===ke(e)}(a))r(e,a);else if(J(a))r(e,Po(e,a));else for(var n=X(a)?a:a.split(/\s+/),i=0;i1&&e!==this.length-1){var o=this.length-1,l=this[o],u=l._private.data.id;this[o]=void 0,this[e]=l,i.set(u,{ele:l,index:e})}return this.length--,this},unmergeOne:function(e){var i=this._private.map.get((e=e[0])._private.data.id);return i?(this.unmergeAt(i.index),this):this},unmerge:function(e){var r=this._private.cy;if(!e)return this;if(e&&I(e)){var a=e;e=r.mutableElements().filter(a)}for(var n=0;n=0;r--)e(this[r])&&this.unmergeAt(r);return this},map:function(e,r){for(var a=[],n=this,i=0;ia&&(a=l,n=o)}return{value:a,ele:n}},min:function(e,r){for(var n,a=1/0,i=this,s=0;s=0&&i"u"?"undefined":P(Symbol))!=e&&P(Symbol.iterator)!=e&&(zn[Symbol.iterator]=function(){var a=this,n={value:void 0,done:!1},i=0,s=this.length;return V({next:function(){return i1&&void 0!==arguments[1])||arguments[1],a=this[0],n=a.cy();if(n.styleEnabled()&&a)return this.cleanStyle(),a._private.style[e]??(r?n.style().getDefaultProperty(e):null)},numericStyle:function(e){var r=this[0];if(r.cy().styleEnabled()&&r){var a=r.pstyle(e);return void 0!==a.pfValue?a.pfValue:a.value}},numericStyleUnits:function(e){var r=this[0];if(r.cy().styleEnabled()&&r)return r.pstyle(e).units},renderedStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var a=this[0];return a?r.style().getRenderedStyle(a,e):void 0},style:function(e,r){var a=this.cy();if(!a.styleEnabled())return this;var i=a.style();if(J(e))i.applyBypass(this,e,!1),this.emitAndNotify("style");else if(I(e)){if(void 0===r){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,r,!1),this.emitAndNotify("style")}else if(void 0===e){var l=this[0];return l?i.getRawStyle(l):void 0}return this},removeStyle:function(e){var r=this.cy();if(!r.styleEnabled())return this;var n=r.style(),i=this;if(void 0===e)for(var s=0;s0&&e.push(f[0]),e.push(o[0])}return this.spawn(e,!0).filter(t)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),Bt.neighbourhood=Bt.neighborhood,Bt.closedNeighbourhood=Bt.closedNeighborhood,Bt.openNeighbourhood=Bt.openNeighborhood,Ze(Bt,{source:er(function(e){var a,r=this[0];return r&&(a=r._private.source||r.cy().collection()),a&&e?a.filter(e):a},"source"),target:er(function(e){var a,r=this[0];return r&&(a=r._private.target||r.cy().collection()),a&&e?a.filter(e):a},"target"),sources:Ho({attr:"source"}),targets:Ho({attr:"target"})}),Ze(Bt,{edgesWith:er(Xo(),"edgesWith"),edgesTo:er(Xo({thisIsSrc:!0}),"edgesTo")}),Ze(Bt,{connectedEdges:er(function(t){for(var e=[],a=0;a0);return s},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),Bt.componentsOf=Bt.components;var It=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new dr,s=!1;if(r){if(r.length>0&&J(r[0])&&!Qe(r[0])){s=!0;for(var o=[],l=new sa,u=0,f=r.length;u0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),n=a._private,i=[],s=[],l=0,u=r.length;l0){for(var re=o.length===r.length?r:new It(a,o),oe=0;oe0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=[],n={},i=r._private.cy;function l(k){var q=n[k.id()];e&&k.removed()||q||(n[k.id()]=!0,k.isNode()?(a.push(k),function s(k){for(var q=k._private.edges,H=0;H0&&(t?B.emitAndNotify("remove"):e&&B.emit("remove"));for(var M=0;M=i?function m(A,B){for(var M=0;M0?M=k:B=k}while(Math.abs($)>s&&++qf&&Math.abs(v.v)>f;);return c?function(y){return l[y*(l.length-1)|0]}:u}}(),gt=function(e,r,a,n){var i=$d(e,r,a,n);return function(s,o,l){return s+(o-s)*i(l)}},Yn={linear:function(e,r,a){return e+(r-e)*a},ease:gt(.25,.1,.25,1),"ease-in":gt(.42,0,1,1),"ease-out":gt(0,0,.58,1),"ease-in-out":gt(.42,0,.58,1),"ease-in-sine":gt(.47,0,.745,.715),"ease-out-sine":gt(.39,.575,.565,1),"ease-in-out-sine":gt(.445,.05,.55,.95),"ease-in-quad":gt(.55,.085,.68,.53),"ease-out-quad":gt(.25,.46,.45,.94),"ease-in-out-quad":gt(.455,.03,.515,.955),"ease-in-cubic":gt(.55,.055,.675,.19),"ease-out-cubic":gt(.215,.61,.355,1),"ease-in-out-cubic":gt(.645,.045,.355,1),"ease-in-quart":gt(.895,.03,.685,.22),"ease-out-quart":gt(.165,.84,.44,1),"ease-in-out-quart":gt(.77,0,.175,1),"ease-in-quint":gt(.755,.05,.855,.06),"ease-out-quint":gt(.23,1,.32,1),"ease-in-out-quint":gt(.86,0,.07,1),"ease-in-expo":gt(.95,.05,.795,.035),"ease-out-expo":gt(.19,1,.22,1),"ease-in-out-expo":gt(1,0,0,1),"ease-in-circ":gt(.6,.04,.98,.335),"ease-out-circ":gt(.075,.82,.165,1),"ease-in-out-circ":gt(.785,.135,.15,.86),spring:function(e,r,a){if(0===a)return Yn.linear;var n=Yd(e,r,a);return function(i,s,o){return i+(s-i)*n(o)}},"cubic-bezier":gt};function qo(t,e,r,a,n){if(1===a||e===r)return r;var i=n(e,r,a);return null==t||((t.roundValue||t.color)&&(i=Math.round(i)),void 0!==t.min&&(i=Math.max(i,t.min)),void 0!==t.max&&(i=Math.min(i,t.max))),i}function Ko(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Ta(t,e,r,a,n){var i=null!=n?n.type:null;r<0?r=0:r>1&&(r=1);var s=Ko(t,n),o=Ko(e,n);if(ee(s)&&ee(o))return qo(i,s,o,r,a);if(X(s)&&X(o)){for(var l=[],u=0;u0?("spring"===d&&v.push(s.duration),s.easingImpl=Yn[d].apply(null,v)):s.easingImpl=Yn[d]}var p,y=s.easingImpl;if(p=0===s.duration?1:(r-l)/s.duration,s.applying&&(p=s.progress),p<0?p=0:p>1&&(p=1),null==s.delay){var g=s.startPosition,m=s.position;if(m&&n&&!t.locked()){var b={};ja(g.x,m.x)&&(b.x=Ta(g.x,m.x,p,y)),ja(g.y,m.y)&&(b.y=Ta(g.y,m.y,p,y)),t.position(b)}var w=s.startPan,T=s.pan,x=i.pan,E=null!=T&&a;E&&(ja(w.x,T.x)&&(x.x=Ta(w.x,T.x,p,y)),ja(w.y,T.y)&&(x.y=Ta(w.y,T.y,p,y)),t.emit("pan"));var D=s.startZoom,C=s.zoom,A=null!=C&&a;A&&(ja(D,C)&&(i.zoom=$a(i.minZoom,Ta(D,C,p,y),i.maxZoom)),t.emit("zoom")),(E||A)&&t.emit("viewport");var B=s.style;if(B&&B.length>0&&n){for(var M=0;M=0;E--)(0,x[E])();x.splice(0,x.length)},m=d.length-1;m>=0;m--){var b=d[m],w=b._private;w.stopped?(d.splice(m,1),w.hooked=!1,w.playing=!1,w.started=!1,g(w.frames)):!w.playing&&!w.applying||(w.playing&&w.applying&&(w.applying=!1),w.started||Xd(0,b,t),Hd(f,b,t,h),w.applying&&(w.applying=!1),g(w.frames),null!=w.step&&w.step(t),b.completed()&&(d.splice(m,1),w.hooked=!1,w.playing=!1,w.started=!1,g(w.completes)),y=!0)}return!h&&0===d.length&&0===v.length&&a.push(f),y}for(var i=!1,s=0;s0?e.notify("draw",r):e.notify("draw")),r.unmerge(a),e.emit("step")}var Wd={animate:ut.animate(),animation:ut.animation(),animated:ut.animated(),clearQueue:ut.clearQueue(),delay:ut.delay(),delayAnimation:ut.delayAnimation(),stop:ut.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var a=e.renderer();a&&a.beforeRender?a.beforeRender(function(i,s){_o(s,e)},a.beforeRenderPriorities.animations):function r(){e._private.animationsRunning&&dn(function(i){_o(i,e),r()})}()}}},qd={qualifierCompare:function(e,r){return null==e||null==r?null==e&&null==r:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return null==n||e!==a.target&&Qe(a.target)&&n.matches(a.target)},addEventFields:function(e,r){r.cy=e,r.target=e},callbackContext:function(e,r,a){return null!=r.qualifier?a.target:e}},Hn=function(e){return I(e)?new kr(e):e},Zo={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Fn(qd,this)),this},emitter:function(){return this._private.emitter},on:function(e,r,a){return this.emitter().on(e,Hn(r),a),this},removeListener:function(e,r,a){return this.emitter().removeListener(e,Hn(r),a),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,r,a){return this.emitter().one(e,Hn(r),a),this},once:function(e,r,a){return this.emitter().one(e,Hn(r),a),this},emit:function(e,r){return this.emitter().emit(e,r),this},emitAndNotify:function(e,r){return this.emit(e),this.notify(e,r),this}};ut.eventAliasesOn(Zo);var Pi={png:function(e){return this._private.renderer.png(e=e||{})},jpg:function(e){var r=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",r.jpg(e)}};Pi.jpeg=Pi.jpg;var Xn={layout:function(e){var r=this;if(null!=e)if(null!=e.name){var i,a=e.name,n=r.extension("layout",a);if(null!=n)return i=I(e.eles)?r.$(e.eles):null!=e.eles?e.eles:r.$(),new n(Ze({},e,{cy:r,eles:i}));Et("No such layout `"+a+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Et("A `name` must be specified to make a layout");else Et("Layout options must be specified to make a layout")}};Xn.createLayout=Xn.makeLayout=Xn.layout;var Kd={notify:function(e,r){var a=this._private;if(this.batching()){a.batchNotifications=a.batchNotifications||{};var n=a.batchNotifications[e]=a.batchNotifications[e]||this.collection();null!=r&&n.merge(r)}else if(a.notificationsEnabled){var i=this.renderer();this.destroyed()||!i||i.notify(e,r)}},notifications:function(e){var r=this._private;return void 0===e?r.notificationsEnabled:(r.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var r=this.renderer();Object.keys(e.batchNotifications).forEach(function(a){var n=e.batchNotifications[a];n.empty()?r.notify(a):r.notify(a,n)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var r=this;return this.batch(function(){for(var a=Object.keys(e),n=0;n0;)r.removeChild(r.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(a){var n=a._private;n.rscratch={},n.rstyle={},n.animation.current=[],n.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Bi.invalidateDimensions=Bi.resize;var Wn={collection:function(e,r){return I(e)?this.$(e):$e(e)?e.collection():X(e)?(r||(r={}),new It(this,e,r.unique,r.removed)):new It(this)},nodes:function(e){var r=this.$(function(a){return a.isNode()});return e?r.filter(e):r},edges:function(e){var r=this.$(function(a){return a.isEdge()});return e?r.filter(e):r},$:function(e){var r=this._private.elements;return e?r.filter(e):r.spawnSelf()},mutableElements:function(){return this._private.elements}};Wn.elements=Wn.filter=Wn.$;var Ft={apply:function(t){for(var e=this,n=e._private.cy.collection(),i=0;i0;if(c||h&&d){var v=void 0;c&&d||c?v=u.properties:d&&(v=u.mappedProperties);for(var y=0;y1&&(w=1),o.color){var x=a.valueMin[0],D=a.valueMin[1],C=a.valueMax[1],A=a.valueMin[2],B=a.valueMax[2],M=null==a.valueMin[3]?1:a.valueMin[3],$=null==a.valueMax[3]?1:a.valueMax[3],k=[Math.round(x+(a.valueMax[0]-x)*w),Math.round(D+(C-D)*w),Math.round(A+(B-A)*w),Math.round(M+($-M)*w)];i={bypass:a.bypass,name:a.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!o.number)return!1;i=this.parse(a.name,a.valueMin+(a.valueMax-a.valueMin)*w,a.bypass,c)}if(!i)return y(),!1;i.mapping=a,a=i;break;case s.data:for(var H=a.field.split("."),W=h.data,Z=0;Z0&&i>0){for(var o={},l=!1,u=0;u0?t.delayAnimation(s).play().promise().then(b):b()}).then(function(){return t.animation({style:o,duration:i,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){r.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1})}else a.transitioning&&(this.removeBypasses(t,n),t.emitAndNotify("style"),a.transitioning=!1)},checkTrigger:function(t,e,r,a,n,i){var s=this.properties[e],o=n(s);null!=o&&o(r,a)&&i(s)},checkZOrderTrigger:function(t,e,r,a){var n=this;this.checkTrigger(t,e,r,a,function(i){return i.triggersZOrder},function(){n._private.cy.notify("zorder",t)})},checkBoundsTrigger:function(t,e,r,a){this.checkTrigger(t,e,r,a,function(n){return n.triggersBounds},function(n){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),n.triggersBoundsOfParallelBeziers&&"curve-style"===e&&("bezier"===r||"bezier"===a)&&t.parallelEdges().forEach(function(i){i.isBundledBezier()&&i.dirtyBoundingBoxCache()}),n.triggersBoundsOfConnectedEdges&&"display"===e&&("none"===r||"none"===a)&&t.connectedEdges().forEach(function(i){i.dirtyBoundingBoxCache()})})},checkTriggers:function(t,e,r,a){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,r,a),this.checkBoundsTrigger(t,e,r,a)}},tn={applyBypass:function(t,e,r,a){var i=[];if("*"===e||"**"===e){if(void 0!==r)for(var o=0;on.length?a.substr(n.length):""}function l(){i=i.length>s.length?i.substr(s.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var f=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!f){ot("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}n=f[0];var h=f[1];if("core"!==h&&new kr(h).invalid)ot("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),o();else{var d=f[2],v=!1;i=d;for(var y=[];!i.match(/^\s*$/);){var g=i.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){ot("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+d),v=!0;break}s=g[0];var m=g[1],b=g[2];this.properties[m]?r.parse(m,b)?(y.push({name:m,val:b}),l()):(ot("Skipping property: Invalid property definition in: "+s),l()):(ot("Skipping property: Invalid property name in: "+s),l())}if(v){o();break}r.selector(h);for(var x=0;x=7&&"d"===e[0]&&(f=new RegExp(o.data.regex).exec(e)))return!r&&{name:t,value:f,strValue:""+e,mapped:o.data,field:f[1],bypass:r};if(e.length>=10&&"m"===e[0]&&(h=new RegExp(o.mapData.regex).exec(e))){if(r||u.multiple)return!1;var d=o.mapData;if(!u.color&&!u.number)return!1;var v=this.parse(t,h[4]);if(!v||v.mapped)return!1;var y=this.parse(t,h[5]);if(!y||y.mapped)return!1;if(v.pfValue===y.pfValue||v.strValue===y.strValue)return ot("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+v.strValue+"`"),this.parse(t,v.strValue);if(u.color){var p=v.value,g=y.value;if(!(p[0]!==g[0]||p[1]!==g[1]||p[2]!==g[2]||p[3]!==g[3]&&(null!=p[3]&&1!==p[3]||null!=g[3]&&1!==g[3])))return!1}return{name:t,value:h,strValue:""+e,mapped:d,field:h[1],fieldMin:parseFloat(h[2]),fieldMax:parseFloat(h[3]),valueMin:v.value,valueMax:y.value,bypass:r}}}if(u.multiple&&"multiple"!==a){var b;if(b=l?e.split(/\s+/):X(e)?e:[e],u.evenMultiple&&b.length%2!=0)return null;for(var w=[],T=[],x=[],E="",D=!1,C=0;C0?" ":"")+A.strValue}return u.validate&&!u.validate(w,T)?null:u.singleEnum&&D?1===w.length&&I(w[0])?{name:t,value:w[0],strValue:w[0],bypass:r}:null:{name:t,value:w,pfValue:x,strValue:E,bypass:r,units:T}}var B=function(){for(var j=0;ju.max||u.strictMax&&e===u.max))return null;var H={name:t,value:e,strValue:""+e+(M||""),units:M,bypass:r};return H.pfValue=u.unitless||"px"!==M&&"em"!==M?e:"px"!==M&&M?this.getEmSizeInPixels()*e:e,("ms"===M||"s"===M)&&(H.pfValue="ms"===M?e:1e3*e),("deg"===M||"rad"===M)&&(H.pfValue="rad"===M?e:function(e){return Math.PI*e/180}(e)),"%"===M&&(H.pfValue=e/100),H}if(u.propList){var W=[],Z=""+e;if("none"!==Z){for(var re=Z.split(/\s*,\s*|\s+/),oe=0;oe255)return;r.push(Math.floor(s))}if((n[1]||n[2]||n[3])&&!(n[1]&&n[2]&&n[3]))return;var u=a[4];if(void 0!==u){if((u=parseFloat(u))<0||u>1)return;r.push(u)}}return r}(e)||function(e){var r,a,n,i,s,o,l,u;function f(v,y,p){return p<0&&(p+=1),p>1&&(p-=1),p<1/6?v+6*(y-v)*p:p<.5?y:p<2/3?v+(y-v)*(2/3-p)*6:v}var h=new RegExp("^"+nl+"$").exec(e);if(h){if((a=parseInt(h[1]))<0?a=(360- -1*a%360)%360:a>360&&(a%=360),a/=360,(n=parseFloat(h[2]))<0||n>100||(n/=100,(i=parseFloat(h[3]))<0||i>100)||(i/=100,void 0!==(s=h[4])&&((s=parseFloat(s))<0||s>1)))return;if(0===n)o=l=u=Math.round(255*i);else{var c=i<.5?i*(1+n):i+n-i*n,d=2*i-c;o=Math.round(255*f(d,c,a+1/3)),l=Math.round(255*f(d,c,a)),u=Math.round(255*f(d,c,a-1/3))}r=[o,l,u,s]}return r}(e)}(e);return te?{name:t,value:te,pfValue:te,strValue:"rgb("+te[0]+","+te[1]+","+te[2]+")",bypass:r}:null}if(u.regex||u.regexes){if(u.enums){var ge=B();if(ge)return ge}for(var pe=u.regexes?u.regexes:[u.regex],xe=0;xe0&&o>0&&!isNaN(a.w)&&!isNaN(a.h)&&a.w>0&&a.h>0)return{zoom:l=(l=(l=Math.min((s-2*r)/a.w,(o-2*r)/a.h))>this._private.maxZoom?this._private.maxZoom:l)=a.minZoom&&(a.maxZoom=r),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var i,s,r=this._private,a=r.pan,n=r.zoom,o=!1;return r.zoomingEnabled||(o=!0),ee(e)?s=e:J(e)&&(s=e.level,null!=e.position?i=mn(e.position,n,a):null!=e.renderedPosition&&(i=e.renderedPosition),null!=i&&!r.panningEnabled&&(o=!0)),s=(s=s>r.maxZoom?r.maxZoom:s)r.maxZoom||!r.zoomingEnabled?s=!0:(r.zoom=l,i.push("zoom"))}if(n&&(!s||!e.cancelOnFailedZoom)&&r.panningEnabled){var u=e.pan;ee(u.x)&&(r.pan.x=u.x,o=!1),ee(u.y)&&(r.pan.y=u.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var r=this.getCenterPan(e);return r&&(this._private.pan=r,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,r){if(this._private.panningEnabled){if(I(e)){var a=e;e=this.mutableElements().filter(a)}else $e(e)||(e=this.mutableElements());if(0!==e.length){var n=e.boundingBox(),i=this.width(),s=this.height();return{x:(i-(r=void 0===r?this._private.zoom:r)*(n.x1+n.x2))/2,y:(s-r*(n.y1+n.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var n,i,e=this._private,r=e.container;return e.sizeCache=e.sizeCache||(r?(n=this.window().getComputedStyle(r),{width:r.clientWidth-(i=function(o){return parseFloat(n.getPropertyValue(o))})("padding-left")-i("padding-right"),height:r.clientHeight-i("padding-top")-i("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,r=this._private.zoom,a=this.renderedExtent(),n={x1:(a.x1-e.x)/r,x2:(a.x2-e.x)/r,y1:(a.y1-e.y)/r,y2:(a.y2-e.y)/r};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n},renderedExtent:function(){var e=this.width(),r=this.height();return{x1:0,y1:0,x2:e,y2:r,w:e,h:r}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};Zr.centre=Zr.center,Zr.autolockNodes=Zr.autolock,Zr.autoungrabifyNodes=Zr.autoungrabify;var rn={data:ut.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ut.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ut.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ut.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};rn.attr=rn.data,rn.removeAttr=rn.removeData;var an=function(e){var r=this,a=(e=Ze({},e)).container;a&&!Me(a)&&Me(a[0])&&(a=a[0]);var n=a?a._cyreg:null;(n=n||{})&&n.cy&&(n.cy.destroy(),n={});var i=n.readies=n.readies||[];a&&(a._cyreg=n),n.cy=r;var s=void 0!==ie&&void 0!==a&&!e.headless,o=e;o.layout=Ze({name:s?"grid":"null"},o.layout),o.renderer=Ze({name:s?"canvas":"null"},o.renderer);var l=function(v,y,p){return void 0!==y?y:void 0!==p?p:v},u=this._private={container:a,ready:!1,options:o,elements:new It(this),listeners:[],aniEles:new It(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:l(!0,o.zoomingEnabled),userZoomingEnabled:l(!0,o.userZoomingEnabled),panningEnabled:l(!0,o.panningEnabled),userPanningEnabled:l(!0,o.userPanningEnabled),boxSelectionEnabled:l(!0,o.boxSelectionEnabled),autolock:l(!1,o.autolock,o.autolockNodes),autoungrabify:l(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:l(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?s:o.styleEnabled,zoom:ee(o.zoom)?o.zoom:1,pan:{x:J(o.pan)&&ee(o.pan.x)?o.pan.x:0,y:J(o.pan)&&ee(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:l(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),u.styleEnabled&&r.setStyle([]);var h=Ze({},o,o.renderer);r.initRenderer(h),function(v,y){if(v.some(bt))return va.all(v).then(y);y(v)}([o.style,o.elements],function(d){var v=d[0],y=d[1];u.styleEnabled&&r.style().append(v),function(v,y,p){r.notifications(!1);var g=r.mutableElements();g.length>0&&g.remove(),null!=v&&(J(v)||X(v))&&r.add(v),r.one("layoutready",function(b){r.notifications(!0),r.emit(b),r.one("load",y),r.emitAndNotify("load")}).one("layoutstop",function(){r.one("done",p),r.emit("done")});var m=Ze({},r._private.options.layout);m.eles=r.elements(),r.layout(m).run()}(y,function(){r.startAnimationLoop(),u.ready=!0,Y(o.ready)&&r.on("ready",o.ready);for(var p=0;p0,l=qt(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if($e(e.roots))u=e.roots;else if(X(e.roots)){for(var f=[],h=0;h0;){var q=B.shift(),H=A(q,M);if(H)q.outgoers().filter(function(Se){return Se.isNode()&&a.has(Se)}).forEach($);else if(null===H){ot("Detected double maximal shift for node `"+q.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}C();var W=0;if(e.avoidOverlap)for(var Z=0;Z0&&g[0].length<=3?et/2:0),N=2*Math.PI/g[He].length*ze;return 0===He&&1===g[0].length&&(Te=1),{x:ye_x+Te*Math.cos(N),y:ye_y+Te*Math.sin(N)}}return{x:ye_x+(ze+1-(We+1)/2)*lt,y:(He+1)*at}}),this};var tg={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function jo(t){this.options=Ze({},tg,t)}jo.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=a.nodes().not(":parent");e.sort&&(i=i.sort(e.sort));for(var f,s=qt(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/i.length:e.sweep)/Math.max(1,i.length-1),h=0,c=0;c1&&e.avoidOverlap){h*=1.75;var g=Math.cos(u)-Math.cos(0),m=Math.sin(u)-Math.sin(0),b=Math.sqrt(h*h/(g*g+m*m));f=Math.max(b,f)}return a.nodes().layoutPositions(this,e,function(x,E){var D=e.startAngle+E*u*(n?1:-1),C=f*Math.cos(D),A=f*Math.sin(D);return{x:o.x+C,y:o.y+A}}),this};var rg={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function eu(t){this.options=Ze({},rg,t)}eu.prototype.run=function(){for(var t=this.options,e=t,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=t.cy,n=e.eles,i=n.nodes().not(":parent"),s=qt(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:a.width(),h:a.height()}),o={x:s.x1+s.w/2,y:s.y1+s.h/2},l=[],u=0,f=0;f0&&Math.abs(m[0].value-w.value)>=p&&g.push(m=[]),m.push(w)}var x=u+e.minNodeSpacing;if(!e.avoidOverlap){var E=g.length>0&&g[0].length>1,D=Math.min(s.w,s.h)/2-x;x=Math.min(x,D/(g.length+E?1:0))}for(var A=0,B=0;B1&&e.avoidOverlap){var q=Math.cos(k)-Math.cos(0),H=Math.sin(k)-Math.sin(0),W=Math.sqrt(x*x/(q*q+H*H));A=Math.max(W,A)}M.r=A,A+=x}if(e.equidistant){for(var Z=0,re=0,oe=0;oe=t.numIter||(fg(a,t),a.temperature=a.temperature*t.coolingFactor,a.temperature=t.animationThreshold&&i(),dn(h)):(au(a,t),o())}();else{for(;u;)u=s(l),l++;au(a,t),o()}return this},Zn.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Zn.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ng=function(e,r,a){for(var n=a.eles.edges(),i=a.eles.nodes(),s=qt(a.boundingBox?a.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:n.size(),temperature:a.initialTemp,clientWidth:s.w,clientHeight:s.h,boundingBox:s},l=a.eles.components(),u={},f=0;f0)for(o.graphSet.push(D),f=0;fn.count?0:n.graph},sg=function t(e,r,a,n){var i=n.graphSet[a];if(-10)var d=(h=n.nodeOverlap*f)*o/(c=Math.sqrt(o*o+l*l)),v=h*l/c;else{var h,y=Qn(e,o,l),p=Qn(r,-1*o,-1*l),g=p.x-y.x,m=p.y-y.y,b=g*g+m*m,c=Math.sqrt(b);d=(h=(e.nodeRepulsion+r.nodeRepulsion)/b)*g/c,v=h*m/c}e.isLocked||(e.offsetX-=d,e.offsetY-=v),r.isLocked||(r.offsetX+=d,r.offsetY+=v)}},vg=function(e,r,a,n){if(a>0)var i=e.maxX-r.minX;else i=r.maxX-e.minX;if(n>0)var s=e.maxY-r.minY;else s=r.maxY-e.minY;return i>=0&&s>=0?Math.sqrt(i*i+s*s):0},Qn=function(e,r,a){var n=e.positionX,i=e.positionY,s=e.height||1,o=e.width||1,l=a/r,u=s/o,f={};return 0===r&&0a?(f.x=n,f.y=i+s/2,f):0r&&-1*u<=l&&l<=u?(f.x=n-o/2,f.y=i-o*a/2/r,f):0=u)?(f.x=n+s*r/2/a,f.y=i+s/2,f):(0>a&&(l<=-1*u||l>=u)&&(f.x=n-s*r/2/a,f.y=i-s/2),f)},dg=function(e,r){for(var a=0;a1){var g=r.gravity*v/y;c.offsetX+=r.gravity*d/y,c.offsetY+=g}}}}},pg=function(e,r){var a=[],n=0,i=-1;for(a.push.apply(a,e.graphSet[0]),i+=e.graphSet[0].length;n<=i;){var s=a[n++],l=e.layoutNodes[e.idToIndex[s]],u=l.children;if(0a)var i={x:a*e/n,y:a*r/n};else i={x:e,y:r};return i},bg=function t(e,r){var a=e.parentId;if(null!=a){var n=r.layoutNodes[r.idToIndex[a]],i=!1;if((null==n.maxX||e.maxX+n.padRight>n.maxX)&&(n.maxX=e.maxX+n.padRight,i=!0),(null==n.minX||e.minX-n.padLeftn.maxY)&&(n.maxY=e.maxY+n.padBottom,i=!0),(null==n.minY||e.minY-n.padTopg&&(v+=p+r.componentSpacing,d=0,y=0,p=0)}}},Eg={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,r){return!0},ready:void 0,stop:void 0,transform:function(e,r){return r}};function nu(t){this.options=Ze({},Eg,t)}nu.prototype.run=function(){var t=this.options,e=t,r=t.cy,a=e.eles,n=a.nodes().not(":parent");e.sort&&(n=n.sort(e.sort));var i=qt(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(0===i.h||0===i.w)a.nodes().layoutPositions(this,e,function(ge){return{x:i.x1,y:i.y1}});else{var s=n.size(),o=Math.sqrt(s*i.h/i.w),l=Math.round(o),u=Math.round(i.w/i.h*o),f=function(pe){if(null==pe)return Math.min(l,u);Math.min(l,u)==l?l=pe:u=pe},h=function(pe){if(null==pe)return Math.max(l,u);Math.max(l,u)==l?l=pe:u=pe},c=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=c&&null!=d)l=c,u=d;else if(null!=c&&null==d)l=c,u=Math.ceil(s/l);else if(null==c&&null!=d)u=d,l=Math.ceil(s/u);else if(u*l>s){var v=f(),y=h();(v-1)*y>=s?f(v-1):(y-1)*v>=s&&h(y-1)}else for(;u*l=s?h(g+1):f(p+1)}var m=i.w/u,b=i.h/l;if(e.condense&&(m=0,b=0),e.avoidOverlap)for(var w=0;w=u&&(q=0,k++)},W={},Z=0;Z(q=Hf(t,e,H[W],H[W+1],H[W+2],H[W+3])))return p(E,q),!0}else if("bezier"===C.edgeType||"multibezier"===C.edgeType||"self"===C.edgeType||"compound"===C.edgeType)for(H=C.allpts,W=0;W+5(q=Yf(t,e,H[W],H[W+1],H[W+2],H[W+3],H[W+4],H[W+5])))return p(E,q),!0;Z=Z||D.source,re=re||D.target;var oe=n.getArrowWidth(A,B),ae=[{name:"source",x:C.arrowStartX,y:C.arrowStartY,angle:C.srcArrowAngle},{name:"target",x:C.arrowEndX,y:C.arrowEndY,angle:C.tgtArrowAngle},{name:"mid-source",x:C.midX,y:C.midY,angle:C.midsrcArrowAngle},{name:"mid-target",x:C.midX,y:C.midY,angle:C.midtgtArrowAngle}];for(W=0;W0&&(g(Z),g(re))}function b(E,D,C){return ir(E,D,C)}function w(E,D){var B,C=E._private,A=c;B=D?D+"-":"",E.boundingBox();var M=C.labelBounds[D||"main"],$=E.pstyle(B+"label").value;if("yes"===E.pstyle("text-events").strValue&&$){var q=b(C.rscratch,"labelX",D),H=b(C.rscratch,"labelY",D),W=b(C.rscratch,"labelAngle",D),Z=E.pstyle(B+"text-margin-x").pfValue,re=E.pstyle(B+"text-margin-y").pfValue,oe=M.x1-A-Z,ae=M.x2+A-Z,te=M.y1-A-re,ge=M.y2+A-re;if(W){var pe=Math.cos(W),xe=Math.sin(W),me=function(Ye,Se){return{x:(Ye-=q)*pe-(Se-=H)*xe+q,y:Ye*xe+Se*pe+H}},De=me(oe,te),ve=me(oe,ge),j=me(ae,te),he=me(ae,ge);if(Kt(t,e,[De.x+Z,De.y+re,j.x+Z,j.y+re,he.x+Z,he.y+re,ve.x+Z,ve.y+re]))return p(E),!0}else if(la(M,t,e))return p(E),!0}}r&&(s=s.interactive);for(var T=s.length-1;T>=0;T--){var x=s[T];x.isNode()?g(x)||w(x):m(x)||w(x)||w(x,"source")||w(x,"target")}return o},getAllInBox:function(t,e,r,a){for(var n=this.getCachedZSortedEles().interactive,i=[],s=Math.min(t,r),o=Math.max(t,r),l=Math.min(e,a),u=Math.max(e,a),f=qt({x1:t=s,y1:e=l,x2:r=o,y2:a=u}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang}(rr,pr),gu(r,a,rr),hu=pr.nx*rr.nx-pr.ny*-rr.ny,Dr=Math.asin(Math.max(-1,Math.min(1,pr.nx*rr.ny-pr.ny*rr.nx))),Math.abs(Dr)<1e-6)return $i=r.x,Yi=r.y,void(ea=Da=0);Jr=1,jn=!1,hu<0?Dr<0?Dr=Math.PI+Dr:(Dr=Math.PI-Dr,Jr=-1,jn=!0):Dr>0&&(Jr=-1,jn=!0),Da=void 0!==r.radius?r.radius:n,jr=Dr/2,ei=Math.min(pr.len/2,rr.len/2),i?(yr=Math.abs(Math.cos(jr)*Da/Math.sin(jr)))>ei?(yr=ei,ea=Math.abs(yr*Math.sin(jr)/Math.cos(jr))):ea=Da:(yr=Math.min(ei,Da),ea=Math.abs(yr*Math.sin(jr)/Math.cos(jr))),$i=(Hi=r.x+rr.nx*yr)-rr.ny*ea*Jr,Yi=(Xi=r.y+rr.ny*yr)+rr.nx*ea*Jr,cu=r.x+pr.nx*yr,vu=r.y+pr.ny*yr,du=r};function pu(t,e){0===e.radius?t.lineTo(e.cx,e.cy):t.arc(e.cx,e.cy,e.radius,e.startAngle,e.endAngle,e.counterClockwise)}function Wi(t,e,r,a){return 0===a||0===e.radius?{cx:e.x,cy:e.y,radius:0,startX:e.x,startY:e.y,stopX:e.x,stopY:e.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(Sg(t,e,r,a,!(arguments.length>4&&void 0!==arguments[4])||arguments[4]),{cx:$i,cy:Yi,radius:ea,startX:cu,startY:vu,stopX:Hi,stopY:Xi,startAngle:pr.ang+Math.PI/2*Jr,endAngle:rr.ang-Math.PI/2*Jr,counterClockwise:jn})}var Vt={};function yu(t){var e=[];if(null!=t){for(var r=0;r0?Math.max(qe-Ke,0):Math.min(qe+Ke,0)},$=M(A,p?(h+d)/2:0),k=M(B,C),q=!1;"auto"===m?g=Math.abs($)>Math.abs(k)?n:a:m===l||m===o?(g=a,q=!0):(m===i||m===s)&&(g=n,q=!0);var ae,H=g===a,W=H?k:$,Z=H?B:A,re=Ss(Z),oe=!1;(!q||!w&&!x)&&(m===o&&Z<0||m===l&&Z>0||m===i&&Z>0||m===s&&Z<0)&&(W=(re*=-1)*Math.abs(W),oe=!0);var pe=function(qe){return Math.abs(qe)=Math.abs(W)},xe=pe(ae=w?(T<0?1+T:T)*W:(T<0?W:0)+T*re),me=pe(Math.abs(W)-Math.abs(ae));if(!xe&&!me||oe)if(H){var Te=f.y1+ae+(p?c/2*re:0);r.segpts=[f.x1,Te,f.x2,Te]}else{var we=f.x1+ae+(p?h/2*re:0);r.segpts=[we,f.y1,we,f.y2]}else if(H){var ve=Math.abs(Z)<=c/2,j=Math.abs(A)<=d/2;if(ve){var he=(f.x1+f.x2)/2;r.segpts=[he,f.y1,he,f.y2]}else if(j){var Ye=(f.y1+f.y2)/2;r.segpts=[f.x1,Ye,f.x2,Ye]}else r.segpts=[f.x1,f.y2]}else{var Fe=Math.abs(Z)<=h/2,He=Math.abs(B)<=v/2;if(Fe){var ze=(f.y1+f.y2)/2;r.segpts=[f.x1,ze,f.x2,ze]}else if(He){var at=(f.x1+f.x2)/2;r.segpts=[at,f.y1,at,f.y2]}else r.segpts=[f.x2,f.y1]}if(r.isRound){var Ae=t.pstyle("taxi-radius").value,de="arc-radius"===t.pstyle("radius-type").value[0];r.radii=new Array(r.segpts.length/2).fill(Ae),r.isArcRadius=new Array(r.segpts.length/2).fill(de)}},Vt.tryToCorrectInvalidPoints=function(t,e){var r=t._private.rscratch;if("bezier"===r.edgeType){var a=e.srcPos,n=e.tgtPos,i=e.srcW,s=e.srcH,o=e.tgtW,l=e.tgtH,u=e.srcShape,f=e.tgtShape,h=e.srcCornerRadius,c=e.tgtCornerRadius,d=e.srcRs,v=e.tgtRs,y=!ee(r.startX)||!ee(r.startY),p=!ee(r.arrowStartX)||!ee(r.arrowStartY),g=!ee(r.endX)||!ee(r.endY),m=!ee(r.arrowEndX)||!ee(r.arrowEndY),T=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,x=Hr({x:r.ctrlpts[0],y:r.ctrlpts[1]},{x:r.startX,y:r.startY}),E=xk.poolIndex()){var q=$;$=k,k=q}var H=C.srcPos=$.position(),W=C.tgtPos=k.position(),Z=C.srcW=$.outerWidth(),re=C.srcH=$.outerHeight(),oe=C.tgtW=k.outerWidth(),ae=C.tgtH=k.outerHeight(),te=C.srcShape=r.nodeShapes[e.getNodeShape($)],ge=C.tgtShape=r.nodeShapes[e.getNodeShape(k)],pe=C.srcCornerRadius="auto"===$.pstyle("corner-radius").value?"auto":$.pstyle("corner-radius").pfValue,xe=C.tgtCornerRadius="auto"===k.pstyle("corner-radius").value?"auto":k.pstyle("corner-radius").pfValue,me=C.tgtRs=k._private.rscratch,De=C.srcRs=$._private.rscratch;C.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var ve=0;ve0){var Oe=i,Ye=Xr(Oe,oa(r)),Se=Xr(Oe,oa(ye)),Re=Ye;Se2&&Xr(Oe,{x:ye[2],y:ye[3]})0){var fe=s,Ae=Xr(fe,oa(r)),de=Xr(fe,oa(ce)),Le=Ae;de2&&Xr(fe,{x:ce[2],y:ce[3]})=v||b===y.length-1&&T===w.segments.length-1){p={cp:w,segment:x};break}}if(p)break}var D=p.cp,C=p.segment,A=(v-g)/C.length,B=C.t1-C.t0,M=d?C.t0+B*A:C.t1-B*A;M=$a(0,M,1),e=ua(D.p0,D.p1,D.p2,M),c=function(e,r,a,n){var i=$a(0,n-.001,1),s=$a(0,n+.001,1),o=ua(e,r,a,i),l=ua(e,r,a,s);return bu(o,l)}(D.p0,D.p1,D.p2,M);break;case"straight":case"segments":case"haystack":for(var k,q,H,W,$=0,Z=a.allpts.length,re=0;re+3=v));re+=2);var ae=(v-q)/k;ae=$a(0,ae,1),e=function(e,r,a,n){var i_x=r.x-e.x,i_y=r.y-e.y,s=Hr(e,r);return a=a??0,{x:e.x+i_x/s*(n=n??a*s),y:e.y+i_y/s*n}}(H,W,ae),c=bu(H,W)}s("labelX",h,e.x),s("labelY",h,e.y),s("labelAutoAngle",h,c)}};u("source"),u("target"),this.applyLabelDimensions(t)}},mr.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},mr.applyPrefixedLabelDimensions=function(t,e){var r=t._private,a=this.getLabelText(t,e),n=this.calculateLabelDimensions(t,a),i=t.pstyle("line-height").pfValue,s=t.pstyle("text-wrap").strValue,o=ir(r.rscratch,"labelWrapCachedLines",e)||[],l="wrap"!==s?1:Math.max(o.length,1),u=n.height/l,f=u*i,h=n.width,c=n.height+(l-1)*(i-1)*u;Ir(r.rstyle,"labelWidth",e,h),Ir(r.rscratch,"labelWidth",e,h),Ir(r.rstyle,"labelHeight",e,c),Ir(r.rscratch,"labelHeight",e,c),Ir(r.rscratch,"labelLineHeight",e,f)},mr.getLabelText=function(t,e){var r=t._private,n=t.pstyle((e?e+"-":"")+"label").strValue,i=t.pstyle("text-transform").value,s=function(ge,pe){return pe?(Ir(r.rscratch,ge,e,pe),pe):ir(r.rscratch,ge,e)};if(!n)return"";"none"==i||("uppercase"==i?n=n.toUpperCase():"lowercase"==i&&(n=n.toLowerCase()));var o=t.pstyle("text-wrap").value;if("wrap"===o){var l=s("labelKey");if(null!=l&&s("labelWrapKey")===l)return s("labelWrapCachedText");for(var f=n.split("\n"),h=t.pstyle("text-max-width").pfValue,d="anywhere"===t.pstyle("text-overflow-wrap").value,v=[],y=/[\s\u200b]+|$/g,p=0;ph){var C,x="",E=0,D=Q(g.matchAll(y));try{for(D.s();!(C=D.n()).done;){var A=C.value,B=A[0],M=g.substring(E,A.index);E=A.index+B.length,this.calculateLabelDimensions(t,0===x.length?M:x+M+B).width<=h?x+=M+B:(x&&v.push(x),x=M+B)}}catch(te){D.e(te)}finally{D.f()}x.match(/^[\s\u200b]+$/)||v.push(x)}else v.push(g)}s("labelWrapCachedLines",v),n=s("labelWrapCachedText",v.join("\n")),s("labelWrapKey",l)}else if("ellipsis"===o){var H=t.pstyle("text-max-width").pfValue,W="",re=!1;if(this.calculateLabelDimensions(t,n).widthH);oe++)W+=n[oe],oe===n.length-1&&(re=!0);return re||(W+="\u2026"),W}return n},mr.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(r){case"left":return"right";case"right":return"left";default:return"center"}},mr.calculateLabelDimensions=function(t,e){var r=this,n=r.cy.window().document,i=Yr(e,t._private.labelDimsKey),s=r.labelDimCache||(r.labelDimCache=[]),o=s[i];if(null!=o)return o;var u=t.pstyle("font-style").strValue,f=t.pstyle("font-size").pfValue,h=t.pstyle("font-family").strValue,c=t.pstyle("font-weight").strValue,d=this.labelCalcCanvas,v=this.labelCalcCanvasContext;if(!d){d=this.labelCalcCanvas=n.createElement("canvas"),v=this.labelCalcCanvasContext=d.getContext("2d");var y=d.style;y.position="absolute",y.left="-9999px",y.top="-9999px",y.zIndex="-1",y.visibility="hidden",y.pointerEvents="none"}v.font="".concat(u," ").concat(c," ").concat(f,"px ").concat(h);for(var p=0,g=0,m=e.split("\n"),b=0;b1&&void 0!==arguments[1])||arguments[1];if(e.merge(s),o)for(var l=0;l"u")&&e instanceof HTMLElement}(t);if(null==e.supportsPassiveEvents){var n=!1;try{var i=Object.defineProperty({},"passive",{get:function(){return n=!0,!0}});r.addEventListener("test",null,i)}catch{}e.supportsPassiveEvents=n}var s=function(l,u,f){var h=Array.prototype.slice.call(arguments);return a&&e.supportsPassiveEvents&&(h[2]={capture:f??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:h}),(t.addEventListener||t.on).apply(t,h),this};return{on:s,addEventListener:s,addListener:s,bind:s}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()}};Sa.load=function(){var t=this,e=t.cy.window(),r=function(N){return N.selected()},a=function(N,ne,we,ce){null==N&&(N=t.cy);for(var fe=0;fe=t.desktopTapThreshold2}var Ht=n(N);ct&&(t.hoverData.tapholdCancelled=!0),we=!0,a(Ve,["mousemove","vmousemove","tapdrag"],N,{x:de[0],y:de[1]});var ar=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||ce.emit({originalEvent:N,type:"boxstart",position:{x:de[0],y:de[1]}}),Ke[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(ct){var Zt={originalEvent:N,type:"cxtdrag",position:{x:de[0],y:de[1]}};Ge?Ge.emit(Zt):ce.emit(Zt),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||Ve!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:de[0],y:de[1]}}),t.hoverData.cxtOver=Ve,Ve&&Ve.emit({originalEvent:N,type:"cxtdragover",position:{x:de[0],y:de[1]}}))}}else if(t.hoverData.dragging){if(we=!0,ce.panningEnabled()&&ce.userPanningEnabled()){var Er;if(t.hoverData.justStartedPan){var Ar=t.hoverData.mdownPos;Er={x:(de[0]-Ar[0])*fe,y:(de[1]-Ar[1])*fe},t.hoverData.justStartedPan=!1}else Er={x:Xe[0]*fe,y:Xe[1]*fe};ce.panBy(Er),ce.emit("dragpan"),t.hoverData.dragged=!0}de=t.projectIntoViewport(N.clientX,N.clientY)}else if(1!=Ke[4]||null!=Ge&&!Ge.pannable()){if(Ge&&Ge.pannable()&&Ge.active()&&Ge.unactivate(),(!Ge||!Ge.grabbed())&&Ve!=Je&&(Je&&a(Je,["mouseout","tapdragout"],N,{x:de[0],y:de[1]}),Ve&&a(Ve,["mouseover","tapdragover"],N,{x:de[0],y:de[1]}),t.hoverData.last=Ve),Ge)if(ct){if(ce.boxSelectionEnabled()&&Ht)Ge&&Ge.grabbed()&&(p(mt),Ge.emit("freeon"),mt.emit("free"),t.dragData.didDrag&&(Ge.emit("dragfreeon"),mt.emit("dragfree"))),ar();else if(Ge&&Ge.grabbed()&&t.nodeIsDraggable(Ge)){var St=!t.dragData.didDrag;St&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||v(mt,{inDragLayer:!0});var At={x:0,y:0};if(ee(Xe[0])&&ee(Xe[1])&&(At.x+=Xe[0],At.y+=Xe[1],St)){var Ut=t.hoverData.dragDelta;Ut&&ee(Ut[0])&&ee(Ut[1])&&(At.x+=Ut[0],At.y+=Ut[1])}t.hoverData.draggingEles=!0,mt.silentShift(At).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else 0===(wr=t.hoverData.dragDelta=t.hoverData.dragDelta||[]).length?(wr.push(Xe[0]),wr.push(Xe[1])):(wr[0]+=Xe[0],wr[1]+=Xe[1]);we=!0}else ct&&(t.hoverData.dragging||!ce.boxSelectionEnabled()||!Ht&&ce.panningEnabled()&&ce.userPanningEnabled()?!t.hoverData.selecting&&ce.panningEnabled()&&ce.userPanningEnabled()&&i(Ge,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,Ke[4]=0,t.data.bgActivePosistion=oa(Le),t.redrawHint("select",!0),t.redraw()):ar(),Ge&&Ge.pannable()&&Ge.active()&&Ge.unactivate());if(Ke[2]=de[0],Ke[3]=de[1],we)return N.stopPropagation&&N.stopPropagation(),N.preventDefault&&N.preventDefault(),!1}},!1),t.registerBinding(e,"mouseup",function(N){if((1!==t.hoverData.which||1===N.which||!t.hoverData.capture)&&t.hoverData.capture){t.hoverData.capture=!1;var we=t.cy,ce=t.projectIntoViewport(N.clientX,N.clientY),fe=t.selection,Ae=t.findNearestElement(ce[0],ce[1],!0,!1),de=t.dragData.possibleDragElements,Le=t.hoverData.down,qe=n(N);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,Le&&Le.unactivate(),3===t.hoverData.which){var Ke={originalEvent:N,type:"cxttapend",position:{x:ce[0],y:ce[1]}};if(Le?Le.emit(Ke):we.emit(Ke),!t.hoverData.cxtDragged){var Ve={originalEvent:N,type:"cxttap",position:{x:ce[0],y:ce[1]}};Le?Le.emit(Ve):we.emit(Ve)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(a(Ae,["mouseup","tapend","vmouseup"],N,{x:ce[0],y:ce[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(a(Le,["click","tap","vclick"],N,{x:ce[0],y:ce[1]}),B=!1,N.timeStamp-M<=we.multiClickDebounceTime()?(A&&clearTimeout(A),B=!0,M=null,a(Le,["dblclick","dbltap","vdblclick"],N,{x:ce[0],y:ce[1]})):(A=setTimeout(function(){B||a(Le,["oneclick","onetap","voneclick"],N,{x:ce[0],y:ce[1]})},we.multiClickDebounceTime()),M=N.timeStamp)),null==Le&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!n(N)&&(we.$(r).unselect(["tapunselect"]),de.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=de=we.collection()),Ae==Le&&!t.dragData.didDrag&&!t.hoverData.selecting&&null!=Ae&&Ae._private.selectable&&(t.hoverData.dragging||("additive"===we.selectionType()||qe?Ae.selected()?Ae.unselect(["tapunselect"]):Ae.select(["tapselect"]):qe||(we.$(r).unmerge(Ae).unselect(["tapunselect"]),Ae.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var Je=we.collection(t.getAllInBox(fe[0],fe[1],fe[2],fe[3]));t.redrawHint("select",!0),Je.length>0&&t.redrawHint("eles",!0),we.emit({type:"boxend",originalEvent:N,position:{x:ce[0],y:ce[1]}}),"additive"===we.selectionType()||qe||we.$(r).unmerge(Je).unselect(),Je.emit("box").stdFilter(function(ct){return ct.selectable()&&!ct.selected()}).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!fe[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var Xe=Le&&Le.grabbed();p(de),Xe&&(Le.emit("freeon"),de.emit("free"),t.dragData.didDrag&&(Le.emit("dragfreeon"),de.emit("dragfree")))}}fe[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null,t.hoverData.which=null}},!1);var $=function(N){if(!t.scrollingPage){var ne=t.cy,we=ne.zoom(),ce=ne.pan(),fe=t.projectIntoViewport(N.clientX,N.clientY),Ae=[fe[0]*we+ce.x,fe[1]*we+ce.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||0!==t.selection[4])return void N.preventDefault();if(ne.panningEnabled()&&ne.userPanningEnabled()&&ne.zoomingEnabled()&&ne.userZoomingEnabled()){var de;N.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout(function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()},150),de=null!=N.deltaY?N.deltaY/-250:null!=N.wheelDeltaY?N.wheelDeltaY/1e3:N.wheelDelta/1e3,de*=t.wheelSensitivity,1===N.deltaMode&&(de*=33);var qe=ne.zoom()*Math.pow(10,de);"gesturechange"===N.type&&(qe=t.gestureStartZoom*N.scale),ne.zoom({level:qe,renderedPosition:{x:Ae[0],y:Ae[1]}}),ne.emit("gesturechange"===N.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",$,!0),t.registerBinding(e,"scroll",function(N){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout(function(){t.scrollingPage=!1},250)},!0),t.registerBinding(t.container,"gesturestart",function(N){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||N.preventDefault()},!0),t.registerBinding(t.container,"gesturechange",function(Te){t.hasTouchStarted||$(Te)},!0),t.registerBinding(t.container,"mouseout",function(N){var ne=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseout",position:{x:ne[0],y:ne[1]}})},!1),t.registerBinding(t.container,"mouseover",function(N){var ne=t.projectIntoViewport(N.clientX,N.clientY);t.cy.emit({originalEvent:N,type:"mouseover",position:{x:ne[0],y:ne[1]}})},!1);var k,q,H,W,Z,re,oe,ae,te,ge,pe,xe,me,j,he,ye,Oe,Ye,Se,Re,De=function(N,ne,we,ce){return Math.sqrt((we-N)*(we-N)+(ce-ne)*(ce-ne))},ve=function(N,ne,we,ce){return(we-N)*(we-N)+(ce-ne)*(ce-ne)};if(t.registerBinding(t.container,"touchstart",j=function(N){if(t.hasTouchStarted=!0,C(N)){m(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var ne=t.cy,we=t.touchData.now,ce=t.touchData.earlier;if(N.touches[0]){var fe=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);we[0]=fe[0],we[1]=fe[1]}if(N.touches[1]&&(fe=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY),we[2]=fe[0],we[3]=fe[1]),N.touches[2]&&(fe=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY),we[4]=fe[0],we[5]=fe[1]),N.touches[1]){t.touchData.singleTouchMoved=!0,p(t.dragData.touchDragEles);var Ae=t.findContainerClientCoords();pe=Ae[2],xe=Ae[3],q=N.touches[0].clientY-(ge=Ae[1]),H=N.touches[1].clientX-(te=Ae[0]),W=N.touches[1].clientY-ge,me=0<=(k=N.touches[0].clientX-te)&&k<=pe&&0<=H&&H<=pe&&0<=q&&q<=xe&&0<=W&&W<=xe;var de=ne.pan(),Le=ne.zoom();if(Z=De(k,q,H,W),re=ve(k,q,H,W),ae=[((oe=[(k+H)/2,(q+W)/2])[0]-de.x)/Le,(oe[1]-de.y)/Le],re<4e4&&!N.touches[2]){var Ve=t.findNearestElement(we[0],we[1],!0,!0),Je=t.findNearestElement(we[2],we[3],!0,!0);return Ve&&Ve.isNode()?(Ve.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:we[0],y:we[1]}}),t.touchData.start=Ve):Je&&Je.isNode()?(Je.activate().emit({originalEvent:N,type:"cxttapstart",position:{x:we[0],y:we[1]}}),t.touchData.start=Je):ne.emit({originalEvent:N,type:"cxttapstart",position:{x:we[0],y:we[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(N.touches[2])ne.boxSelectionEnabled()&&N.preventDefault();else if(!N.touches[1]&&N.touches[0]){var Ge=t.findNearestElements(we[0],we[1],!0,!0),Xe=Ge[0];if(null!=Xe&&(Xe.activate(),t.touchData.start=Xe,t.touchData.starts=Ge,t.nodeIsGrabbable(Xe))){var mt=t.dragData.touchDragEles=ne.collection(),ct=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),Xe.selected()?(ct=ne.$(function(Pt){return Pt.selected()&&t.nodeIsGrabbable(Pt)}),v(ct,{addToList:mt})):y(Xe,{addToList:mt}),f(Xe);var Yt=function(Ht){return{originalEvent:N,type:Ht,position:{x:we[0],y:we[1]}}};Xe.emit(Yt("grabon")),ct?ct.forEach(function(Pt){Pt.emit(Yt("grab"))}):Xe.emit(Yt("grab"))}a(Xe,["touchstart","tapstart","vmousedown"],N,{x:we[0],y:we[1]}),null==Xe&&(t.data.bgActivePosistion={x:fe[0],y:fe[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout(function(){!1===t.touchData.singleTouchMoved&&!t.pinching&&!t.touchData.selecting&&a(t.touchData.start,["taphold"],N,{x:we[0],y:we[1]})},t.tapholdDuration)}if(N.touches.length>=1){for(var kt=t.touchData.startPosition=[null,null,null,null,null,null],Dt=0;Dt=t.touchTapThreshold2}if(ne&&t.touchData.cxt){N.preventDefault();var Ht=ve(kt=N.touches[0].clientX-te,Dt=N.touches[0].clientY-ge,_t=N.touches[1].clientX-te,Pt=N.touches[1].clientY-ge);if(Ht/re>=2.25||Ht>=22500){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var fr={originalEvent:N,type:"cxttapend",position:{x:fe[0],y:fe[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(fr),t.touchData.start=null):ce.emit(fr)}}if(ne&&t.touchData.cxt){fr={originalEvent:N,type:"cxtdrag",position:{x:fe[0],y:fe[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(fr):ce.emit(fr),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var St=t.findNearestElement(fe[0],fe[1],!0,!0);(!t.touchData.cxtOver||St!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:N,type:"cxtdragout",position:{x:fe[0],y:fe[1]}}),t.touchData.cxtOver=St,St&&St.emit({originalEvent:N,type:"cxtdragover",position:{x:fe[0],y:fe[1]}}))}else if(ne&&N.touches[2]&&ce.boxSelectionEnabled())N.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||ce.emit({originalEvent:N,type:"boxstart",position:{x:fe[0],y:fe[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,we[4]=1,we&&0!==we.length&&void 0!==we[0]?(we[2]=(fe[0]+fe[2]+fe[4])/3,we[3]=(fe[1]+fe[3]+fe[5])/3):(we[0]=(fe[0]+fe[2]+fe[4])/3,we[1]=(fe[1]+fe[3]+fe[5])/3,we[2]=(fe[0]+fe[2]+fe[4])/3+1,we[3]=(fe[1]+fe[3]+fe[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(ne&&N.touches[1]&&!t.touchData.didSelect&&ce.zoomingEnabled()&&ce.panningEnabled()&&ce.userZoomingEnabled()&&ce.userPanningEnabled()){if(N.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),At=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var Ut=0;Ut0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(e,"touchcancel",ye=function(N){var ne=t.touchData.start;t.touchData.capture=!1,ne&&ne.unactivate()}),t.registerBinding(e,"touchend",Oe=function(N){var ne=t.touchData.start;if(t.touchData.capture){0===N.touches.length&&(t.touchData.capture=!1),N.preventDefault();var ce=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var Ke,fe=t.cy,Ae=fe.zoom(),de=t.touchData.now,Le=t.touchData.earlier;if(N.touches[0]){var qe=t.projectIntoViewport(N.touches[0].clientX,N.touches[0].clientY);de[0]=qe[0],de[1]=qe[1]}if(N.touches[1]&&(qe=t.projectIntoViewport(N.touches[1].clientX,N.touches[1].clientY),de[2]=qe[0],de[3]=qe[1]),N.touches[2]&&(qe=t.projectIntoViewport(N.touches[2].clientX,N.touches[2].clientY),de[4]=qe[0],de[5]=qe[1]),ne&&ne.unactivate(),t.touchData.cxt){if(Ke={originalEvent:N,type:"cxttapend",position:{x:de[0],y:de[1]}},ne?ne.emit(Ke):fe.emit(Ke),!t.touchData.cxtDragged){var Ve={originalEvent:N,type:"cxttap",position:{x:de[0],y:de[1]}};ne?ne.emit(Ve):fe.emit(Ve)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!N.touches[2]&&fe.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var Je=fe.collection(t.getAllInBox(ce[0],ce[1],ce[2],ce[3]));ce[0]=void 0,ce[1]=void 0,ce[2]=void 0,ce[3]=void 0,ce[4]=0,t.redrawHint("select",!0),fe.emit({type:"boxend",originalEvent:N,position:{x:de[0],y:de[1]}}),Je.emit("box").stdFilter(function(Zt){return Zt.selectable()&&!Zt.selected()}).select().emit("boxselect"),Je.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(ne?.unactivate(),N.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!N.touches[1]&&!N.touches[0]&&!N.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var Xe=t.dragData.touchDragEles;if(null!=ne){var mt=ne._private.grabbed;p(Xe),t.redrawHint("drag",!0),t.redrawHint("eles",!0),mt&&(ne.emit("freeon"),Xe.emit("free"),t.dragData.didDrag&&(ne.emit("dragfreeon"),Xe.emit("dragfree"))),a(ne,["touchend","tapend","vmouseup","tapdragout"],N,{x:de[0],y:de[1]}),ne.unactivate(),t.touchData.start=null}else{var ct=t.findNearestElement(de[0],de[1],!0,!0);a(ct,["touchend","tapend","vmouseup","tapdragout"],N,{x:de[0],y:de[1]})}var Yt=t.touchData.startPosition[0]-de[0],Dt=t.touchData.startPosition[1]-de[1],Ht=(Yt*Yt+Dt*Dt)*Ae*Ae;t.touchData.singleTouchMoved||(ne||fe.$(":selected").unselect(["tapunselect"]),a(ne,["tap","vclick"],N,{x:de[0],y:de[1]}),Ye=!1,N.timeStamp-Re<=fe.multiClickDebounceTime()?(Se&&clearTimeout(Se),Ye=!0,Re=null,a(ne,["dbltap","vdblclick"],N,{x:de[0],y:de[1]})):(Se=setTimeout(function(){Ye||a(ne,["onetap","voneclick"],N,{x:de[0],y:de[1]})},fe.multiClickDebounceTime()),Re=N.timeStamp)),null!=ne&&!t.dragData.didDrag&&ne._private.selectable&&Ht"u"){var Fe=[],He=function(N){return{clientX:N.clientX,clientY:N.clientY,force:1,identifier:N.pointerId,pageX:N.pageX,pageY:N.pageY,radiusX:N.width/2,radiusY:N.height/2,screenX:N.screenX,screenY:N.screenY,target:N.target}},lt=function(N){for(var ne=0;ne2){for(var v=[f[0],f[1]],y=Math.pow(v[0]-e,2)+Math.pow(v[1]-r,2),p=1;p0)return te[0]}return null},v=Object.keys(c),y=0;y0?d:Ns(i,s,e,r,a,n,o,l)},checkPoint:function(e,r,a,n,i,s,o,l){var u=2*(l="auto"===l?qr(n,i):l);if(Tr(e,r,this.points,s,o,n,i-u,[0,-1],a)||Tr(e,r,this.points,s,o,n-u,i,[0,-1],a))return!0;var f=n/2+2*a,h=i/2+2*a;return!!(Kt(e,r,[s-f,o-h,s-f,o,s+f,o,s+f,o-h])||Wr(e,r,u,u,s+n/2-l,o+i/2-l,a)||Wr(e,r,u,u,s-n/2+l,o+i/2-l,a))}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",$t(3,0)),this.generateRoundPolygon("round-triangle",$t(3,0)),this.generatePolygon("rectangle",$t(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var r=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",r),this.generateRoundPolygon("round-diamond",r),this.generatePolygon("pentagon",$t(5,0)),this.generateRoundPolygon("round-pentagon",$t(5,0)),this.generatePolygon("hexagon",$t(6,0)),this.generateRoundPolygon("round-hexagon",$t(6,0)),this.generatePolygon("heptagon",$t(7,0)),this.generateRoundPolygon("round-heptagon",$t(7,0)),this.generatePolygon("octagon",$t(8,0)),this.generateRoundPolygon("round-octagon",$t(8,0));var a=new Array(20),n=pi(5,0),i=pi(5,Math.PI/5),s=.5*(3-Math.sqrt(5));s*=1.57;for(var o=0;o=e.deqFastCost*(Ki-(u?c:0)))break}else if(u){if(m>=e.deqCost*d||m>=e.deqAvgCost*c)break}else if(b>=e.deqNoDrawCost*Ki)break;var T=e.deq(a,p,y);if(!(T.length>0))break;for(var x=0;x0&&(e.onDeqd(a,v),!u&&e.shouldRedraw(a,v,p,y)&&i())},(e.priority||fi)(a))}}},Ng=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pn;S(this,t),this.idsByKey=new dr,this.keyForId=new dr,this.cachesByLvl=new dr,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=r}return R(t,[{key:"getIdsFor",value:function(r){null==r&&Et("Can not get id list for null key");var a=this.idsByKey,n=this.idsByKey.get(r);return n||(n=new sa,a.set(r,n)),n}},{key:"addIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).add(a)}},{key:"deleteIdForKey",value:function(r,a){null!=r&&this.getIdsFor(r).delete(a)}},{key:"getNumberOfIdsForKey",value:function(r){return null==r?0:this.getIdsFor(r).size}},{key:"updateKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a),i=this.getKey(r);this.deleteIdForKey(n,a),this.addIdForKey(i,a),this.keyForId.set(a,i)}},{key:"deleteKeyMappingFor",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteIdForKey(n,a),this.keyForId.delete(a)}},{key:"keyHasChangedFor",value:function(r){var a=r.id();return this.keyForId.get(a)!==this.getKey(r)}},{key:"isInvalid",value:function(r){return this.keyHasChangedFor(r)||this.doesEleInvalidateKey(r)}},{key:"getCachesAt",value:function(r){var a=this.cachesByLvl,n=this.lvls,i=a.get(r);return i||(i=new dr,a.set(r,i),n.push(r)),i}},{key:"getCache",value:function(r,a){return this.getCachesAt(a).get(r)}},{key:"get",value:function(r,a){var n=this.getKey(r),i=this.getCache(n,a);return null!=i&&this.updateKeyMappingFor(r),i}},{key:"getForCachedKey",value:function(r,a){var n=this.keyForId.get(r.id());return this.getCache(n,a)}},{key:"hasCache",value:function(r,a){return this.getCachesAt(a).has(r)}},{key:"has",value:function(r,a){var n=this.getKey(r);return this.hasCache(n,a)}},{key:"setCache",value:function(r,a,n){n.key=r,this.getCachesAt(a).set(r,n)}},{key:"set",value:function(r,a,n){var i=this.getKey(r);this.setCache(i,a,n),this.updateKeyMappingFor(r)}},{key:"deleteCache",value:function(r,a){this.getCachesAt(a).delete(r)}},{key:"delete",value:function(r,a){var n=this.getKey(r);this.deleteCache(n,a)}},{key:"invalidateKey",value:function(r){var a=this;this.lvls.forEach(function(n){return a.deleteCache(r,n)})}},{key:"invalidate",value:function(r){var a=r.id(),n=this.keyForId.get(a);this.deleteKeyMappingFor(r);var i=this.doesEleInvalidateKey(r);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),Aa={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Xg=Ot({getKey:null,doesEleInvalidateKey:pn,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:bs,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),on=function(e,r){var a=this;a.renderer=e,a.onDequeues=[];var n=Xg(r);Ze(a,n),a.lookup=new Ng(n.getKey,n.doesEleInvalidateKey),a.setupDequeueing()},Tt=on.prototype;Tt.reasons=Aa,Tt.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Tt.getRetiredTextureQueue=function(t){var r=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return r[t]=r[t]||[]},Tt.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new Ua(function(r,a){return a.reqs-r.reqs})},Tt.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},Tt.getElement=function(t,e,r,a,n){var i=this,s=this.renderer,o=s.cy.zoom(),l=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!i.allowEdgeTxrCaching&&t.isEdge()||!i.allowParentTxrCaching&&t.isParent())return null;if(null==a&&(a=Math.ceil(vi(o*r))),a<-4)a=-4;else if(o>=7.99||a>3)return null;var u=Math.pow(2,a),f=e.h*u,h=e.w*u,c=s.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,c))return null;var v,d=l.get(t,a);if(d&&d.invalidated&&(d.invalidated=!1,d.texture.invalidatedWidth-=d.width),d)return d;if(v=f<=25?25:f<=50?50:50*Math.ceil(f/50),f>1024||h>1024)return null;var y=i.getTextureQueue(v),p=y[y.length-2],g=function(){return i.recycleTexture(v,h)||i.addTexture(v,h)};p||(p=y[y.length-1]),p||(p=g()),p.width-p.usedWidtha;B--)C=i.getElement(t,e,r,B,Aa.downscale);A()}else{var M;if(!b&&!w&&!T)for(var $=a-1;$>=-4;$--){var k=l.get(t,$);if(k){M=k;break}}if(m(M))return i.queueElement(t,a),M;p.context.translate(p.usedWidth,0),p.context.scale(u,u),this.drawElement(p.context,t,e,c,!1),p.context.scale(1/u,1/u),p.context.translate(-p.usedWidth,0)}return d={x:p.usedWidth,texture:p,level:a,scale:u,width:h,height:f,scaledLabelShown:c},p.usedWidth+=Math.ceil(h+8),p.eleCaches.push(d),l.set(t,a,d),i.checkTextureFullness(p),d},Tt.invalidateElements=function(t){for(var e=0;e=.2*t.width&&this.retireTexture(t)},Tt.checkTextureFullness=function(t){var r=this.getTextureQueue(t.height);t.usedWidth/t.width>.8&&t.fullnessChecks>=10?Nr(r,t):t.fullnessChecks++},Tt.retireTexture=function(t){var r=t.height,a=this.getTextureQueue(r),n=this.lookup;Nr(a,t),t.retired=!0;for(var i=t.eleCaches,s=0;s=e)return s.retired=!1,s.usedWidth=0,s.invalidatedWidth=0,s.fullnessChecks=0,hi(s.eleCaches),s.context.setTransform(1,0,0,1,0,0),s.context.clearRect(0,0,s.width,s.height),Nr(n,s),a.push(s),s}},Tt.queueElement=function(t,e){var a=this.getElementQueue(),n=this.getElementKeyToQueue(),i=this.getKey(t),s=n[i];if(s)s.level=Math.max(s.level,e),s.eles.merge(t),s.reqs++,a.updateItem(s);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:i};a.push(o),n[i]=o}},Tt.dequeue=function(t){for(var e=this,r=e.getElementQueue(),a=e.getElementKeyToQueue(),n=[],i=e.lookup,s=0;s<1&&r.size()>0;s++){var o=r.pop(),l=o.key,u=o.eles[0],f=i.hasCache(u,o.level);if(a[l]=null,!f){n.push(o);var h=e.getBoundingBox(u);e.getElement(u,h,t,o.level,Aa.dequeue)}}return n},Tt.removeFromQueue=function(t){var r=this.getElementQueue(),a=this.getElementKeyToQueue(),n=this.getKey(t),i=a[n];null!=i&&(1===i.eles.length?(i.reqs=li,r.updateItem(i),r.pop(),a[n]=null):i.eles.unmerge(t))},Tt.onDequeue=function(t){this.onDequeues.push(t)},Tt.offDequeue=function(t){Nr(this.onDequeues,t)},Tt.setupDequeueing=Lu_setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,r,a){return e.dequeue(r,a)},onDeqd:function(e,r){for(var a=0;a=3.99||r>2)return null;a.validateLayersElesOrdering(r,t);var h,d,l=a.layersByLevel,u=Math.pow(2,r),f=l[r]=l[r]||[];if(a.levelIsComplete(r,t))return f;!function(){var A=function(q){if(a.validateLayersElesOrdering(q,t),a.levelIsComplete(q,t))return d=l[q],!0},B=function(q){if(!d)for(var H=r+q;-4<=H&&H<=2&&!A(H);H+=q);};B(1),B(-1);for(var M=f.length-1;M>=0;M--){var $=f[M];$.invalid&&Nr(f,$)}}();var p=function(A){var B=(A=A||{}).after;if(function(){if(!h){h=qt();for(var A=0;A16e6)return null;var $=a.makeLayer(h,r);if(null!=B){var k=f.indexOf(B)+1;f.splice(k,0,$)}else(void 0===A.insert||A.insert)&&f.unshift($);return $};if(a.skipping&&!o)return null;for(var g=null,m=t.length/1,b=!o,w=0;w=m||!Os(g.bb,T.boundingBox()))&&!(g=p({insert:!0,after:g})))return null;d||b?a.queueLayer(g,T):a.drawEleInLayer(g,T,r,e),g.eles.push(T),E[r]=g}}return d||(b?null:f)},Rt.getEleLevelForLayerLevel=function(t,e){return t},Rt.drawEleInLayer=function(t,e,r,a){var i=this.renderer,s=t.context,o=e.boundingBox();0===o.w||0===o.h||!e.visible()||(r=this.getEleLevelForLayerLevel(r,a),i.setImgSmoothing(s,!1),i.drawCachedElement(s,e,null,null,r,!0),i.setImgSmoothing(s,!0))},Rt.levelIsComplete=function(t,e){var a=this.layersByLevel[t];if(!a||0===a.length)return!1;for(var n=0,i=0;i0||s.invalid)return!1;n+=s.eles.length}return n===e.length},Rt.validateLayersElesOrdering=function(t,e){var r=this.layersByLevel[t];if(r)for(var a=0;a0){e=!0;break}}return e},Rt.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=xr(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,function(a,n,i){e.invalidateLayer(a)}))},Rt.invalidateLayer=function(t){if(this.lastInvalidationTime=xr(),!t.invalid){var e=t.level,r=t.eles;Nr(this.layersByLevel[e],t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var n=0;n3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,o=e._private.rscratch;if((!i||e.visible())&&!o.badLine&&null!=o.allpts&&!isNaN(o.allpts[0])){var l;r&&t.translate(-(l=r).x1,-l.y1);var u=i?e.pstyle("opacity").value:1,f=i?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,c=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,v=e.pstyle("line-cap").value,y=e.pstyle("line-outline-width").value,p=e.pstyle("line-outline-color").value,g=u*f,m=u*f,b=function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(s.eleStrokeStyle(t,e,q),s.drawEdgeTrianglePath(e,t,o.allpts)):(t.lineWidth=d,t.lineCap=v,s.eleStrokeStyle(t,e,q),s.drawEdgePath(e,t,o.allpts,c),t.lineCap="butt")},E=function(){s.drawArrowheads(t,e,arguments.length>0&&void 0!==arguments[0]?arguments[0]:m)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var A=e.pstyle("ghost-offset-x").pfValue,B=e.pstyle("ghost-offset-y").pfValue,M=e.pstyle("ghost-opacity").value,$=g*M;t.translate(A,B),b($),E($),t.translate(-A,-B)}else!function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;t.lineWidth=d+y,t.lineCap=v,y>0?(s.colorStrokeStyle(t,p[0],p[1],p[2],q),"straight-triangle"===h?s.drawEdgeTrianglePath(e,t,o.allpts):(s.drawEdgePath(e,t,o.allpts,c),t.lineCap="butt")):t.lineCap="butt"}();n&&s.drawEdgeUnderlay(t,e),b(),E(),n&&s.drawEdgeOverlay(t,e),s.drawElementText(t,e,null,a),r&&t.translate(l.x1,l.y1)}}},Pu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(r,a){if(a.visible()){var n=a.pstyle("".concat(e,"-opacity")).value;if(0!==n){var i=this,s=i.usePaths(),o=a._private.rscratch,u=2*a.pstyle("".concat(e,"-padding")).pfValue,f=a.pstyle("".concat(e,"-color")).value;r.lineWidth=u,r.lineCap="self"!==o.edgeType||s?"round":"butt",i.colorStrokeStyle(r,f[0],f[1],f[2],n),i.drawEdgePath(a,r,o.allpts,"solid")}}}};Lr.drawEdgeOverlay=Pu("overlay"),Lr.drawEdgeUnderlay=Pu("underlay"),Lr.drawEdgePath=function(t,e,r,a){var s,n=t._private.rscratch,i=e,o=!1,l=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,f=t.pstyle("line-dash-offset").pfValue;if(l){var h=r.join("$");n.pathCacheKey&&n.pathCacheKey===h?(s=e=n.pathCache,o=!0):(s=e=new Path2D,n.pathCacheKey=h,n.pathCache=s)}if(i.setLineDash)switch(a){case"dotted":i.setLineDash([1,1]);break;case"dashed":i.setLineDash(u),i.lineDashOffset=f;break;case"solid":i.setLineDash([])}if(!o&&!n.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(r[0],r[1]),n.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5,s=arguments.length>6?arguments[6]:void 0;t.beginPath(),t.moveTo(e+i,r),t.lineTo(e+a-i,r),t.quadraticCurveTo(e+a,r,e+a,r+i),t.lineTo(e+a,r+n-i),t.quadraticCurveTo(e+a,r+n,e+a-i,r+n),t.lineTo(e+i,r+n),t.quadraticCurveTo(e,r+n,e,r+n-i),t.lineTo(e,r+i),t.quadraticCurveTo(e,r,e+i,r),t.closePath(),s?t.stroke():t.fill()}ta.eleTextBiggerThanMin=function(t,e){if(!e){var r=t.cy().zoom(),a=this.getPixelRatio(),n=Math.ceil(vi(r*a));e=Math.pow(2,n)}return!(t.pstyle("font-size").pfValue*e5&&void 0!==arguments[5])||arguments[5],s=this;if(null==a){if(i&&!s.eleTextBiggerThanMin(e))return}else if(!1===a)return;if(e.isNode()){var o=e.pstyle("label");if(!o||!o.value)return;var l=s.getLabelJustification(e);t.textAlign=l,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,f=e.pstyle("label"),h=e.pstyle("source-label"),c=e.pstyle("target-label");if(u||(!f||!f.value)&&(!h||!h.value)&&(!c||!c.value))return;t.textAlign="center",t.textBaseline="bottom"}var v,d=!r;r&&t.translate(-(v=r).x1,-v.y1),null==n?(s.drawText(t,e,null,d,i),e.isEdge()&&(s.drawText(t,e,"source",d,i),s.drawText(t,e,"target",d,i))):s.drawText(t,e,n,d,i),r&&t.translate(v.x1,v.y1)},ta.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var r=0;r2&&void 0!==arguments[2])||arguments[2],a=e.pstyle("font-style").strValue,n=e.pstyle("font-size").pfValue+"px",i=e.pstyle("font-family").strValue,s=e.pstyle("font-weight").strValue,o=r?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,l=e.pstyle("text-outline-opacity").value*o,u=e.pstyle("color").value,f=e.pstyle("text-outline-color").value;t.font=a+" "+s+" "+n+" "+i,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],o),this.colorStrokeStyle(t,f[0],f[1],f[2],l)},ta.getTextAngle=function(t,e){var n=t._private.rscratch,s=t.pstyle((e?e+"-":"")+"text-rotation"),o=ir(n,"labelAngle",e);return"autorotate"===s.strValue?t.isEdge()?o:0:"none"===s.strValue?0:s.pfValue},ta.drawText=function(t,e,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=e._private.rscratch,o=n?e.effectiveOpacity():1;if(!n||0!==o&&0!==e.pstyle("text-opacity").value){"main"===r&&(r=null);var f,h,l=ir(s,"labelX",r),u=ir(s,"labelY",r),c=this.getLabelText(e,r);if(null!=c&&""!==c&&!isNaN(l)&&!isNaN(u)){this.setupTextStyle(t,e,n);var T,d=r?r+"-":"",v=ir(s,"labelWidth",r),y=ir(s,"labelHeight",r),p=e.pstyle(d+"text-margin-x").pfValue,g=e.pstyle(d+"text-margin-y").pfValue,m=e.isEdge(),b=e.pstyle("text-halign").value,w=e.pstyle("text-valign").value;switch(m&&(b="center",w="center"),l+=p,u+=g,0!==(T=a?this.getTextAngle(e,r):0)&&(t.translate(f=l,h=u),t.rotate(T),l=0,u=0),w){case"top":break;case"center":u+=y/2;break;case"bottom":u+=y}var x=e.pstyle("text-background-opacity").value,E=e.pstyle("text-border-opacity").value,D=e.pstyle("text-border-width").pfValue,C=e.pstyle("text-background-padding").pfValue,B=0===e.pstyle("text-background-shape").strValue.indexOf("round");if(x>0||D>0&&E>0){var $=l-C;switch(b){case"left":$-=v;break;case"center":$-=v/2}var k=u-y-C,q=v+2*C,H=y+2*C;if(x>0){var W=t.fillStyle,Z=e.pstyle("text-background-color").value;t.fillStyle="rgba("+Z[0]+","+Z[1]+","+Z[2]+","+x*o+")",B?Ji(t,$,k,q,H,2):t.fillRect($,k,q,H),t.fillStyle=W}if(D>0&&E>0){var re=t.strokeStyle,oe=t.lineWidth,ae=e.pstyle("text-border-color").value,te=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+ae[0]+","+ae[1]+","+ae[2]+","+E*o+")",t.lineWidth=D,t.setLineDash)switch(te){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=D/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(B?Ji(t,$,k,q,H,2,"stroke"):t.strokeRect($,k,q,H),"double"===te){var ge=D/2;B?Ji(t,$+ge,k+ge,q-2*ge,H-2*ge,2,"stroke"):t.strokeRect($+ge,k+ge,q-2*ge,H-2*ge)}t.setLineDash&&t.setLineDash([]),t.lineWidth=oe,t.strokeStyle=re}}var pe=2*e.pstyle("text-outline-width").pfValue;if(pe>0&&(t.lineWidth=pe),"wrap"===e.pstyle("text-wrap").value){var xe=ir(s,"labelWrapCachedLines",r),me=ir(s,"labelLineHeight",r),De=v/2,ve=this.getLabelJustification(e);switch("auto"===ve||("left"===b?"left"===ve?l+=-v:"center"===ve&&(l+=-De):"center"===b?"left"===ve?l+=-De:"right"===ve&&(l+=De):"right"===b&&("center"===ve?l+=De:"right"===ve&&(l+=v))),w){case"top":case"center":case"bottom":u-=(xe.length-1)*me}for(var j=0;j0&&t.strokeText(xe[j],l,u),t.fillText(xe[j],l,u),u+=me}else pe>0&&t.strokeText(c,l,u),t.fillText(c,l,u);0!==T&&(t.rotate(-T),t.translate(-f,-h))}}};var Oa={drawNode:function(t,e,r){var o,l,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=this,u=e._private,f=u.rscratch,h=e.position();if(ee(h.x)&&ee(h.y)&&(!i||e.visible())){var v,g,c=i?e.effectiveOpacity():1,d=s.usePaths(),y=!1,p=e.padding();o=e.width()+2*p,l=e.height()+2*p,r&&t.translate(-(g=r).x1,-g.y1);for(var b=e.pstyle("background-image").value,w=new Array(b.length),T=new Array(b.length),x=0,E=0;E0&&void 0!==arguments[0]?arguments[0]:$)},j=function(){s.colorStrokeStyle(t,k[0],k[1],k[2],arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae)},he=function(){s.colorStrokeStyle(t,ge[0],ge[1],ge[2],arguments.length>0&&void 0!==arguments[0]?arguments[0]:xe)},ye=function(Ae,de,Le,qe){var Ge,Ke=s.nodePathCache=s.nodePathCache||[],Ve=ys("polygon"===Le?Le+","+qe.join(","):Le,""+de,""+Ae,""+De),Je=Ke[Ve],Xe=!1;return null!=Je?(Xe=!0,f.pathCache=Ge=Je):(Ge=new Path2D,Ke[Ve]=f.pathCache=Ge),{path:Ge,cacheHit:Xe}},Oe=e.pstyle("shape").strValue,Ye=e.pstyle("shape-polygon-points").pfValue;if(d){t.translate(h.x,h.y);var Se=ye(o,l,Oe,Ye);v=Se.path,y=Se.cacheHit}var Re=function(){if(!y){var Ae=h;d&&(Ae={x:0,y:0}),s.nodeShapes[s.getNodeShape(e)].draw(v||t,Ae.x,Ae.y,o,l,De,f)}d?t.fill(v):t.fill()},Fe=function(){for(var Ae=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,de=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Le=u.backgrounding,qe=0,Ke=0;Ke0&&void 0!==arguments[0]&&arguments[0],de=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;s.hasPie(e)&&(s.drawPie(t,e,de),Ae&&(d||s.nodeShapes[s.getNodeShape(e)].draw(t,h.x,h.y,o,l,De,f)))},ze=function(){var Le=B>0?0:255;0!==B&&(s.colorFillStyle(t,Le,Le,Le,(B>0?B:-B)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c)),d?t.fill(v):t.fill())},We=function(){if(M>0){if(t.lineWidth=M,t.lineCap=W,t.lineJoin=H,t.setLineDash)switch(q){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash(re),t.lineDashOffset=oe;break;case"solid":case"double":t.setLineDash([])}if("center"!==Z){if(t.save(),t.lineWidth*=2,"inside"===Z)d?t.clip(v):t.clip();else{var Ae=new Path2D;Ae.rect(-o/2-M,-l/2-M,o+2*M,l+2*M),Ae.addPath(v),t.clip(Ae,"evenodd")}d?t.stroke(v):t.stroke(),t.restore()}else d?t.stroke(v):t.stroke();if("double"===q){t.lineWidth=M/3;var de=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",d?t.stroke(v):t.stroke(),t.globalCompositeOperation=de}t.setLineDash&&t.setLineDash([])}},lt=function(){if(te>0){if(t.lineWidth=te,t.lineCap="butt",t.setLineDash)switch(pe){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}var Ae=h;d&&(Ae={x:0,y:0});var de=s.getNodeShape(e),Le=M;"inside"===Z&&(Le=0),"outside"===Z&&(Le*=2);var Xe,qe=(o+Le+(te+me))/o,Ke=(l+Le+(te+me))/l,Ve=o*qe,Je=l*Ke,Ge=s.nodeShapes[de].points;if(d&&(Xe=ye(Ve,Je,de,Ge).path),"ellipse"===de)s.drawEllipsePath(Xe||t,Ae.x,Ae.y,Ve,Je);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(de)){var ct=0,Yt=0,kt=0;"round-diamond"===de?ct=1.4*(Le+me+te):"round-heptagon"===de?(ct=1.075*(Le+me+te),kt=-(Le/2+me+te)/35):"round-hexagon"===de?ct=1.12*(Le+me+te):"round-pentagon"===de?(ct=1.13*(Le+me+te),kt=-(Le/2+me+te)/15):"round-tag"===de?(ct=1.12*(Le+me+te),Yt=.07*(Le/2+te+me)):"round-triangle"===de&&(ct=(Le+me+te)*(Math.PI/2),kt=-(Le+me/2+te)/Math.PI),0!==ct&&(Ve=o*(qe=(o+ct)/o),["round-hexagon","round-tag"].includes(de)||(Je=l*(Ke=(l+ct)/l)));for(var Dt=Ve/2,_t=Je/2,Pt=(De="auto"===De?Ms(Ve,Je):De)+(Le+te+me)/2,Ht=new Array(Ge.length/2),lr=new Array(Ge.length/2),ar=0;ar0){if(n=n||a.position(),null==i||null==s){var d=a.padding();i=a.width()+2*d,s=a.height()+2*d}this.colorFillStyle(r,f[0],f[1],f[2],u),this.nodeShapes[h].draw(r,n.x,n.y,i+2*l,s+2*l,c),r.fill()}}}};Oa.drawNodeOverlay=Bu("overlay"),Oa.drawNodeUnderlay=Bu("underlay"),Oa.hasPie=function(t){return(t=t[0])._private.hasPie},Oa.drawPie=function(t,e,r,a){e=e[0],a=a||e.position();var n=e.cy().style(),i=e.pstyle("pie-size"),s=a.x,o=a.y,l=e.width(),u=e.height(),f=Math.min(l,u)/2,h=0;this.usePaths()&&(s=0,o=0),"%"===i.units?f*=i.pfValue:void 0!==i.pfValue&&(f=i.pfValue/2);for(var d=1;d<=n.pieBackgroundN;d++){var v=e.pstyle("pie-"+d+"-background-size").value,y=e.pstyle("pie-"+d+"-background-color").value,p=e.pstyle("pie-"+d+"-background-opacity").value*r,g=v/100;g+h>1&&(g=1-h);var m=1.5*Math.PI+2*Math.PI*h,w=m+2*Math.PI*g;0===v||h>=1||h+g>1||(t.beginPath(),t.moveTo(s,o),t.arc(s,o,f,m,w),t.closePath(),this.colorFillStyle(t,y[0],y[1],y[2],p),t.fill(),h+=g)}};for(var jt={getPixelRatio:function(){var t=this.data.contexts[0];return null!=this.forcedPixelRatio?this.forcedPixelRatio:(this.cy.window().devicePixelRatio||1)/(t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)},paintCache:function(t){for(var a,e=this.paintCaches=this.paintCaches||[],r=!0,n=0;ns.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!h&&(f[s.NODE]=!0,f[s.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),w=void 0!==n?n:b,T=l.pan(),x={x:T.x,y:T.y},E={zoom:b,pan:{x:T.x,y:T.y}},D=s.prevViewport;!(void 0===D||E.zoom!==D.zoom||E.pan.x!==D.pan.x||E.pan.y!==D.pan.y)&&!(y&&!v)&&(s.motionBlurPxRatio=1),i&&(x=i),w*=o,x.x*=o,x.y*=o;var A=s.getCachedZSortedEles();function B(Se,Re,Fe,He,ze){var We=Se.globalCompositeOperation;Se.globalCompositeOperation="destination-out",s.colorFillStyle(Se,255,255,255,s.motionBlurTransparency),Se.fillRect(Re,Fe,He,ze),Se.globalCompositeOperation=We}function M(Se,Re){var Fe,He,ze,We;s.clearingMotionBlur||Se!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&Se!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(Fe=x,He=w,ze=s.canvasWidth,We=s.canvasHeight):(Fe={x:T.x*d,y:T.y*d},He=b*d,ze=s.canvasWidth*d,We=s.canvasHeight*d),Se.setTransform(1,0,0,1,0,0),"motionBlur"===Re?B(Se,0,0,ze,We):!e&&(void 0===Re||Re)&&Se.clearRect(0,0,ze,We),r||(Se.translate(Fe.x,Fe.y),Se.scale(He,He)),i&&Se.translate(i.x,i.y),n&&Se.scale(n,n)}if(h||(s.textureDrawLastFrame=!1),h){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=l.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var $=s.data.bufferContexts[s.TEXTURE_BUFFER];$.setTransform(1,0,0,1,0,0),$.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:$,drawOnlyNodeLayer:!0,forcedPxRatio:o*s.textureMult}),(E=s.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-E.pan.x)/E.zoom,y:(0-E.pan.y)/E.zoom}}f[s.DRAG]=!1,f[s.NODE]=!1;var q=s.textureCache.texture;E=s.textureCache.viewport,(k=u.contexts[s.NODE]).setTransform(1,0,0,1,0,0),c?B(k,0,0,E.width,E.height):k.clearRect(0,0,E.width,E.height);var H=m.core("outside-texture-bg-color").value,W=m.core("outside-texture-bg-opacity").value;s.colorFillStyle(k,H[0],H[1],H[2],W),k.fillRect(0,0,E.width,E.height),b=l.zoom(),M(k,!1),k.clearRect(E.mpan.x,E.mpan.y,E.width/E.zoom/o,E.height/E.zoom/o),k.drawImage(q,E.mpan.x,E.mpan.y,E.width/E.zoom/o,E.height/E.zoom/o)}else s.textureOnViewport&&!e&&(s.textureCache=null);var Z=l.extent(),re=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles||s.cy.animated(),oe=s.hideEdgesOnViewport&&re,ae=[];if(ae[s.NODE]=!f[s.NODE]&&c&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,ae[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),ae[s.DRAG]=!f[s.DRAG]&&c&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,ae[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),f[s.NODE]||r||a||ae[s.NODE]){var te=c&&!ae[s.NODE]&&1!==d;M(k=e||(te?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),c&&!te?"motionBlur":void 0),oe?s.drawCachedNodes(k,A.nondrag,o,Z):s.drawLayeredElements(k,A.nondrag,o,Z),s.debug&&s.drawDebugPoints(k,A.nondrag),!r&&!c&&(f[s.NODE]=!1)}if(!a&&(f[s.DRAG]||r||ae[s.DRAG])&&(te=c&&!ae[s.DRAG]&&1!==d,M(k=e||(te?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),c&&!te?"motionBlur":void 0),oe?s.drawCachedNodes(k,A.drag,o,Z):s.drawCachedElements(k,A.drag,o,Z),s.debug&&s.drawDebugPoints(k,A.drag),!r&&!c&&(f[s.DRAG]=!1)),s.showFps||!a&&f[s.SELECT_BOX]&&!r){var k;if(M(k=e||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){b=s.cy.zoom();var pe=m.core("selection-box-border-width").value/b;k.lineWidth=pe,k.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",k.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),pe>0&&(k.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",k.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){b=s.cy.zoom();var xe=u.bgActivePosistion;k.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",k.beginPath(),k.arc(xe.x,xe.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),k.fill()}var me=s.lastRedrawTime;if(s.showFps&&me){me=Math.round(me);var De=Math.round(1e3/me);k.setTransform(1,0,0,1,0,0),k.fillStyle="rgba(255, 0, 0, 0.75)",k.strokeStyle="rgba(255, 0, 0, 0.75)",k.lineWidth=1,k.fillText("1 frame = "+me+" ms = "+De+" fps",0,20),k.strokeRect(0,30,250,20),k.fillRect(0,30,250*Math.min(De/60,1),20)}r||(f[s.SELECT_BOX]=!1)}if(c&&1!==d){var ye=u.contexts[s.DRAG],Oe=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],Ye=function(Re,Fe,He){Re.setTransform(1,0,0,1,0,0),He||!g?Re.clearRect(0,0,s.canvasWidth,s.canvasHeight):B(Re,0,0,s.canvasWidth,s.canvasHeight),Re.drawImage(Fe,0,0,s.canvasWidth*d,s.canvasHeight*d,0,0,s.canvasWidth,s.canvasHeight)};(f[s.NODE]||ae[s.NODE])&&(Ye(u.contexts[s.NODE],s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],ae[s.NODE]),f[s.NODE]=!1),(f[s.DRAG]||ae[s.DRAG])&&(Ye(ye,Oe,ae[s.DRAG]),f[s.DRAG]=!1)}s.prevViewport=E,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),c&&(s.motionBlurTimeout=setTimeout(function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!h,s.mbFrames=0,f[s.NODE]=!0,f[s.DRAG]=!0,s.redraw()},100)),e||l.emit("render")}},Vr={drawPolygonPath:function(t,e,r,a,n,i){var s=a/2,o=n/2;t.beginPath&&t.beginPath(),t.moveTo(e+s*i[0],r+o*i[1]);for(var l=1;l0&&s>0){d.clearRect(0,0,i,s),d.globalCompositeOperation="source-over";var v=this.getCachedZSortedEles();if(t.full)d.translate(-a.x1*u,-a.y1*u),d.scale(u,u),this.drawElements(d,v),d.scale(1/u,1/u),d.translate(a.x1*u,a.y1*u);else{var y=e.pan(),p={x:y.x*u,y:y.y*u};u*=e.zoom(),d.translate(p.x,p.y),d.scale(u,u),this.drawElements(d,v),d.scale(1/u,1/u),d.translate(-p.x,-p.y)}t.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=t.bg,d.rect(0,0,i,s),d.fill())}return c},ln.png=function(t){return Uu(t,this.bufferCanvasImage(t),"image/png")},ln.jpg=function(t){return Uu(t,this.bufferCanvasImage(t),"image/jpeg")};var gp=Yu,it=Yu.prototype;function Yu(t){var e=this,a=e.cy.window().document;e.data={canvases:new Array(it.CANVAS_LAYERS),contexts:new Array(it.CANVAS_LAYERS),canvasNeedsRedraw:new Array(it.CANVAS_LAYERS),bufferCanvases:new Array(it.BUFFER_COUNT),bufferContexts:new Array(it.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=a.createElement("div");var s=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,s.position="relative",s.zIndex="0",s.overflow="hidden";var o=t.cy.container();o.appendChild(e.data.canvasContainer),o.style[n]=i;var l={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Xt()&&(l["-ms-touch-action"]="none",l["touch-action"]="none");for(var u=0;u"u"?"undefined":P(OffscreenCanvas))?r=new OffscreenCanvas(t,e):((r=this.cy.window().document.createElement("canvas")).width=t,r.height=e),r},[Mu,br,Lr,Qi,ta,Oa,jt,Vr,ln,{nodeShapeImpl:function(t,e,r,a,n,i,s,o){switch(t){case"ellipse":return this.drawEllipsePath(e,r,a,n,i);case"polygon":return this.drawPolygonPath(e,r,a,n,i,s);case"round-polygon":return this.drawRoundPolygonPath(e,r,a,n,i,s,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,r,a,n,i,o);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,r,a,n,i,s,o);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,r,a,n,i,o);case"barrel":return this.drawBarrelPath(e,r,a,n,i)}}}].forEach(function(t){Ze(it,t)});var mp=[{type:"layout",extensions:Cg},{type:"renderer",extensions:[{name:"null",impl:ou},{name:"base",impl:Su},{name:"canvas",impl:gp}]}],Hu={},Xu={};function Wu(t,e,r){var a=r,n=function(D){ot("Can not register `"+e+"` for `"+t+"` since `"+D+"` already exists in the prototype and can not be overridden")};if("core"===t){if(an.prototype[e])return n(e);an.prototype[e]=r}else if("collection"===t){if(It.prototype[e])return n(e);It.prototype[e]=r}else if("layout"===t){for(var i=function(D){this.options=D,r.call(this,D),J(this._private)||(this._private={}),this._private.cy=D.cy,this._private.listeners=[],this.createEmitter()},s=i.prototype=Object.create(r.prototype),o=[],l=0;l"u"&&(Z.yylloc={});var ae=Z.yylloc;A.push(ae);var Se,te=Z.options&&Z.options.ranges;this.parseError="function"==typeof re.yy.parseError?re.yy.parseError:Object.getPrototypeOf(this).parseError;for(var pe,xe,me,De,j,he,Oe,ve={};;){if(this.defaultActions[xe=E[E.length-1]]?me=this.defaultActions[xe]:((null===pe||typeof pe>"u")&&(Se=void 0,"number"!=typeof(Se=D.pop()||Z.lex()||1)&&(Se instanceof Array&&(Se=(D=Se).pop()),Se=this.symbols_[Se]||Se),pe=Se),me=B[xe]&&B[xe][pe]),typeof me>"u"||!me.length||!me[0]){var Ye;for(j in Oe=[],B[xe])this.terminals_[j]&&j>2&&Oe.push("'"+this.terminals_[j]+"'");Ye=Z.showPosition?"Parse error on line "+($+1)+":\n"+Z.showPosition()+"\nExpecting "+Oe.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":"Parse error on line "+($+1)+": Unexpected "+(1==pe?"end of input":"'"+(this.terminals_[pe]||pe)+"'"),this.parseError(Ye,{text:Z.match,token:this.terminals_[pe]||pe,line:Z.yylineno,loc:ae,expected:Oe})}if(me[0]instanceof Array&&me.length>1)throw new Error("Parse Error: multiple actions possible at state: "+xe+", token: "+pe);switch(me[0]){case 1:E.push(pe),C.push(Z.yytext),A.push(Z.yylloc),E.push(me[1]),pe=null,k=Z.yyleng,M=Z.yytext,$=Z.yylineno,ae=Z.yylloc;break;case 2:if(ve.$=C[C.length-(he=this.productions_[me[1]][1])],ve._$={first_line:A[A.length-(he||1)].first_line,last_line:A[A.length-1].last_line,first_column:A[A.length-(he||1)].first_column,last_column:A[A.length-1].last_column},te&&(ve._$.range=[A[A.length-(he||1)].range[0],A[A.length-1].range[1]]),typeof(De=this.performAction.apply(ve,[M,k,$,re.yy,me[1],C,A].concat(W)))<"u")return De;he&&(E=E.slice(0,-1*he*2),C=C.slice(0,-1*he),A=A.slice(0,-1*he)),E.push(this.productions_[me[1]][0]),C.push(ve.$),A.push(ve._$),E.push(B[E[E.length-2]][E[E.length-1]]);break;case 3:return!0}}return!0}};function b(){this.yy={}}return g.lexer={EOF:1,parseError:function(x,E){if(!this.yy.parser)throw new Error(x);this.yy.parser.parseError(x,E)},setInput:function(T,x){return this.yy=x||this.yy||{},this._input=T,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},input:function(){var T=this._input[0];return this.yytext+=T,this.yyleng++,this.offset++,this.match+=T,this.matched+=T,T.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),T},unput:function(T){var x=T.length,E=T.split(/(?:\r\n?|\n)/g);this._input=T+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var D=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),E.length-1&&(this.yylineno-=E.length-1);var C=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:E?(E.length===D.length?this.yylloc.first_column:0)+D[D.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(T){this.unput(this.match.slice(T))},pastInput:function(){var T=this.matched.substr(0,this.matched.length-this.match.length);return(T.length>20?"...":"")+T.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var T=this.match;return T.length<20&&(T+=this._input.substr(0,20-T.length)),(T.substr(0,20)+(T.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var T=this.pastInput(),x=new Array(T.length+1).join("-");return T+this.upcomingInput()+"\n"+x+"^"},test_match:function(T,x){var E,D,C;if(this.options.backtrack_lexer&&(C={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&&(C.yylloc.range=this.yylloc.range.slice(0))),(D=T[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=D.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:D?D[D.length-1].length-D[D.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+T[0].length},this.yytext+=T[0],this.match+=T[0],this.matches=T,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(T[0].length),this.matched+=T[0],E=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var A in C)this[A]=C[A];return!1}return!1},next:function(){if(this.done)return this.EOF;var T,x,E,D;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),A=0;Ax[0].length)){if(x=E,D=A,this.options.backtrack_lexer){if(!1!==(T=this.test_match(E,C[A])))return T;if(this._backtrack){x=!1;continue}return!1}if(!this.options.flex)break}return x?!1!==(T=this.test_match(x,C[D]))&&T:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(x){return(x=this.conditionStack.length-1-Math.abs(x||0))>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(x,E,D,C){switch(D){case 0:return x.getLogger().trace("Found comment",E.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:x.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return x.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:x.getLogger().trace("end icon"),this.popState();break;case 10:return x.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return x.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return x.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return x.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:x.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return x.getLogger().trace("description:",E.yytext),"NODE_DESCR";case 27:return this.popState(),x.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),x.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),x.getLogger().trace("node end ...",E.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),x.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),x.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return x.getLogger().trace("Long description:",E.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},b.prototype=g,g.Parser=b,new b}());rs.parser=rs;const Ap=rs;let ur=[],_u=0,as={};const Ct={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Rp={clear:()=>{ur=[],_u=0,as={}},addNode:(t,e,r,a)=>{var n,i;z.l.info("addNode",t,e,r,a);const s=(0,z.c)();let o=(null==(n=s.mindmap)?void 0:n.padding)??z.B.mindmap.padding;switch(a){case Ct.ROUNDED_RECT:case Ct.RECT:case Ct.HEXAGON:o*=2}const l={id:_u++,nodeId:(0,z.d)(e,s),level:t,descr:(0,z.d)(r,s),type:a,children:[],width:(null==(i=s.mindmap)?void 0:i.maxNodeWidth)??z.B.mindmap.maxNodeWidth,padding:o},u=function(t){for(let e=ur.length-1;e>=0;e--)if(ur[e].levelur.length>0?ur[0]:null,nodeType:Ct,getType:(t,e)=>{switch(z.l.debug("In get type",t,e),t){case"[":return Ct.RECT;case"(":return")"===e?Ct.ROUNDED_RECT:Ct.CLOUD;case"((":return Ct.CIRCLE;case")":return Ct.CLOUD;case"))":return Ct.BANG;case"{{":return Ct.HEXAGON;default:return Ct.DEFAULT}},setElementForId:(t,e)=>{as[t]=e},decorateNode:t=>{if(!t)return;const e=(0,z.c)(),r=ur[ur.length-1];t.icon&&(r.icon=(0,z.d)(t.icon,e)),t.class&&(r.class=(0,z.d)(t.class,e))},type2Str:t=>{switch(t){case Ct.DEFAULT:return"no-border";case Ct.RECT:return"rect";case Ct.ROUNDED_RECT:return"rounded-rect";case Ct.CIRCLE:return"circle";case Ct.CLOUD:return"cloud";case Ct.BANG:return"bang";case Ct.HEXAGON:return"hexgon";default:return"no-border"}},getLogger:()=>z.l,getElementById:t=>as[t]},Yp=function(t,e,r,a,n){const i=n.htmlLabels,s=a%11,o=e.append("g");r.section=s;let l="section-"+s;s<0&&(l+=" section-root"),o.attr("class",(r.class?r.class+" ":"")+"mindmap-node "+l);const u=o.append("g"),f=o.append("g"),h=r.descr.replace(/()/g,"\n");(0,Cp.a)(f,h,{useHtmlLabels:i,width:r.width,classes:"mindmap-node-label"}),i||f.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const c=f.node().getBBox(),[d]=(0,z.D)(n.fontSize);if(r.height=c.height+1.1*d*.5+r.padding,r.width=c.width+2*r.padding,r.icon)if(r.type===t.nodeType.CIRCLE)r.height+=50,r.width+=50,o.append("foreignObject").attr("height","50px").attr("width",r.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+r.width/2+", "+(r.height/2-1.5*r.padding)+")");else{r.width+=50;const v=r.height;r.height=Math.max(v,60);const y=Math.abs(r.height-v);o.append("foreignObject").attr("width","60px").attr("height",r.height).attr("style","text-align: center;margin-top:"+y/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+r.icon),f.attr("transform","translate("+(25+r.width/2)+", "+(y/2+r.padding/2)+")")}else f.attr("transform",i?"translate("+(r.width-c.width)/2+", "+(r.height-c.height)/2+")":"translate("+r.width/2+", "+r.padding/2+")");switch(r.type){case t.nodeType.DEFAULT:!function(t,e,r,a){e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 ${r.height-5} v${10-r.height} q0,-5 5,-5 h${r.width-10} q5,0 5,5 v${r.height-5} H0 Z`),e.append("line").attr("class","node-line-"+a).attr("x1",0).attr("y1",r.height).attr("x2",r.width).attr("y2",r.height)}(t,u,r,s);break;case t.nodeType.ROUNDED_RECT:!function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("rx",r.padding).attr("ry",r.padding).attr("width",r.width)}(t,u,r);break;case t.nodeType.RECT:!function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("width",r.width)}(t,u,r);break;case t.nodeType.CIRCLE:u.attr("transform","translate("+r.width/2+", "+ +r.height/2+")"),function(t,e,r){e.append("circle").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("r",r.width/2)}(t,u,r);break;case t.nodeType.CLOUD:!function(t,e,r){const a=r.width,n=r.height,i=.15*a,s=.25*a,o=.35*a,l=.2*a;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${i},${i} 0 0,1 ${.25*a},${-1*a*.1}\n a${o},${o} 1 0,1 ${.4*a},${-1*a*.1}\n a${s},${s} 1 0,1 ${.35*a},${1*a*.2}\n\n a${i},${i} 1 0,1 ${.15*a},${1*n*.35}\n a${l},${l} 1 0,1 ${-1*a*.15},${1*n*.65}\n\n a${s},${i} 1 0,1 ${-1*a*.25},${.15*a}\n a${o},${o} 1 0,1 ${-1*a*.5},0\n a${i},${i} 1 0,1 ${-1*a*.25},${-1*a*.15}\n\n a${i},${i} 1 0,1 ${-1*a*.1},${-1*n*.35}\n a${l},${l} 1 0,1 ${.1*a},${-1*n*.65}\n\n H0 V0 Z`)}(t,u,r);break;case t.nodeType.BANG:!function(t,e,r){const a=r.width,n=r.height,i=.15*a;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${i},${i} 1 0,0 ${.25*a},${-1*n*.1}\n a${i},${i} 1 0,0 ${.25*a},0\n a${i},${i} 1 0,0 ${.25*a},0\n a${i},${i} 1 0,0 ${.25*a},${1*n*.1}\n\n a${i},${i} 1 0,0 ${.15*a},${1*n*.33}\n a${.8*i},${.8*i} 1 0,0 0,${1*n*.34}\n a${i},${i} 1 0,0 ${-1*a*.15},${1*n*.33}\n\n a${i},${i} 1 0,0 ${-1*a*.25},${.15*n}\n a${i},${i} 1 0,0 ${-1*a*.25},0\n a${i},${i} 1 0,0 ${-1*a*.25},0\n a${i},${i} 1 0,0 ${-1*a*.25},${-1*n*.15}\n\n a${i},${i} 1 0,0 ${-1*a*.1},${-1*n*.33}\n a${.8*i},${.8*i} 1 0,0 0,${-1*n*.34}\n a${i},${i} 1 0,0 ${.1*a},${-1*n*.33}\n\n H0 V0 Z`)}(t,u,r);break;case t.nodeType.HEXAGON:!function(t,e,r){const a=r.height,i=a/4,s=r.width-r.padding+2*i;!function Vp(t,e,r,a,n){t.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("transform","translate("+(n.width-e)/2+", "+r+")")}(e,s,a,[{x:i,y:0},{x:s-i,y:0},{x:s,y:-a/2},{x:s-i,y:-a},{x:i,y:-a},{x:0,y:-a/2}],r)}(0,u,r)}return t.setElementForId(r.id,o),r.height};function Zu(t,e,r,a,n){Yp(t,e,r,a,n),r.children&&r.children.forEach((i,s)=>{Zu(t,e,i,a<0?s:a,n)})}function Qu(t,e,r,a){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:a,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(n=>{Qu(n,e,r,a+1),e.add({group:"edges",data:{id:`${t.id}_${n.id}`,source:t.id,target:n.id,depth:a,section:n.section}})})}function Wp(t,e){return new Promise(r=>{const a=(0,Tp.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),n=Ur({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),Qu(t,n,e,0),n.nodes().forEach(function(i){i.layoutDimensions=()=>{const s=i.data();return{w:s.width,h:s.height}}}),n.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),n.ready(i=>{z.l.info("Ready",i),r(n)})})}Ur.use(xp);const Kp={draw:function(){var t=(0,be.Z)(function*(e,r,a,n){var i,s;z.l.debug("Rendering mindmap diagram\n"+e);const o=n.db,l=o.getMindmap();if(!l)return;const u=(0,z.c)();u.htmlLabels=!1;const f=(0,z.A)(r),h=f.append("g");h.attr("class","mindmap-edges");const c=f.append("g");c.attr("class","mindmap-nodes"),Zu(o,c,l,-1,u);const d=yield Wp(l,u);(function Xp(t,e){e.edges().map((r,a)=>{const n=r.data();if(r[0]._private.bodyBounds){const i=r[0]._private.rscratch;z.l.trace("Edge: ",a,n),t.insert("path").attr("d",`M ${i.startX},${i.startY} L ${i.midX},${i.midY} L${i.endX},${i.endY} `).attr("class","edge section-edge-"+n.section+" edge-depth-"+n.depth)}})})(h,d),function qp(t,e){e.nodes().map((r,a)=>{const n=r.data();n.x=r.position().x,n.y=r.position().y,function(t,e){t.getElementById(e.id).attr("transform","translate("+(e.x||0)+","+(e.y||0)+")")}(t,n);const i=t.getElementById(n.nodeId);z.l.info("Id:",a,"Position: (",r.position().x,", ",r.position().y,")",n),i.attr("transform",`translate(${r.position().x-n.width/2}, ${r.position().y-n.height/2})`),i.attr("attr",`apa-${a})`)})}(o,d),(0,z.o)(void 0,f,(null==(i=u.mindmap)?void 0:i.padding)??z.B.mindmap.padding,(null==(s=u.mindmap)?void 0:s.useMaxWidth)??z.B.mindmap.useMaxWidth)});return function(r,a,n,i){return t.apply(this,arguments)}}()},Zp={db:Rp,renderer:Kp,parser:Ap,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let r=0;r{_.r(E),_.d(E,{diagram:()=>M});var a=_(5609),s=_(4455),d=_(9037);_(8586),_(8814),_(1065),_(317),_(1764),_(6780),_(2735);const M={parser:a.p,db:a.f,renderer:s.f,styles:s.a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,(0,d.p)({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),s.f.setConf(r.flowchart),a.f.clear(),a.f.setGen("gen-2")}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/736.6667486e1f659685.js b/pkg/apiserver-impl/ui/736.6667486e1f659685.js deleted file mode 100644 index 22e792b65fa..00000000000 --- a/pkg/apiserver-impl/ui/736.6667486e1f659685.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[736],{2736:(Dt,nt,I)=>{I.r(nt),I.d(nt,{diagram:()=>jt});var kt=I(9111),it=I(6012),V=I(5703),E=I(855),Et=I(1775),wt=I(5847),St=I(1223),Mt=I(8674),Q=(I(6780),I(2735),I(1764),function(){var n=function(v,r,a,h){for(a=a||{},h=v.length;h--;a[v[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],c=[1,17],f=[1,18],d=[1,19],y=[1,23],m=[1,24],w=[1,27],b=[4,6,9,11,17,18,20,22,23,26,27,28],x={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,g,l,T){var _=l.length-1;switch(g){case 1:return l[_-1];case 3:case 7:case 8:this.$=[];break;case 4:l[_-1].push(l[_]),this.$=l[_-1];break;case 5:case 6:this.$=l[_];break;case 11:u.getCommonDb().setDiagramTitle(l[_].substr(6)),this.$=l[_].substr(6);break;case 12:this.$=l[_].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=l[_].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(l[_].substr(8)),this.$=l[_].substr(8);break;case 19:u.addTask(l[_],0,""),this.$=l[_];break;case 20:u.addEvent(l[_].substr(2)),this.$=l[_];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(l[_],"type_directive");break;case 23:l[_]=l[_].trim().replace(/'/g,'"'),u.parseDirective(l[_],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:c,22:f,23:d,24:20,25:21,26:y,27:m,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:c,22:f,23:d,24:20,25:21,26:y,27:m,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(b,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(b,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(!a.recoverable){var h=new Error(r);throw h.hash=a,h}this.trace(r)},parse:function(r){var h=[0],u=[],g=[null],l=[],T=this.table,_="",A=0,B=0,R=l.slice.call(arguments,1),p=Object.create(this.lexer),M={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(M.yy[N]=this.yy[N]);p.setInput(r,M.yy),M.yy.lexer=p,M.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var $=p.yylloc;l.push($);var O,H=p.options&&p.options.ranges;this.parseError="function"==typeof M.yy.parseError?M.yy.parseError:Object.getPrototypeOf(this).parseError;for(var k,z,P,tt,G,C,J,K={};;){if(this.defaultActions[z=h[h.length-1]]?P=this.defaultActions[z]:((null===k||typeof k>"u")&&(O=void 0,"number"!=typeof(O=u.pop()||p.lex()||1)&&(O instanceof Array&&(O=(u=O).pop()),O=this.symbols_[O]||O),k=O),P=T[z]&&T[z][k]),typeof P>"u"||!P.length||!P[0]){var et;for(G in J=[],T[z])this.terminals_[G]&&G>2&&J.push("'"+this.terminals_[G]+"'");et=p.showPosition?"Parse error on line "+(A+1)+":\n"+p.showPosition()+"\nExpecting "+J.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(A+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(et,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:$,expected:J})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+k);switch(P[0]){case 1:h.push(k),g.push(p.yytext),l.push(p.yylloc),h.push(P[1]),k=null,B=p.yyleng,_=p.yytext,A=p.yylineno,$=p.yylloc;break;case 2:if(K.$=g[g.length-(C=this.productions_[P[1]][1])],K._$={first_line:l[l.length-(C||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(C||1)].first_column,last_column:l[l.length-1].last_column},H&&(K._$.range=[l[l.length-(C||1)].range[0],l[l.length-1].range[1]]),typeof(tt=this.performAction.apply(K,[_,B,A,M.yy,P[1],g,l].concat(R)))<"u")return tt;C&&(h=h.slice(0,-1*C*2),g=g.slice(0,-1*C),l=l.slice(0,-1*C)),h.push(this.productions_[P[1]][0]),g.push(K.$),l.push(K._$),h.push(T[h[h.length-2]][h[h.length-1]]);break;case 3:return!0}}return!0}};function L(){this.yy={}}return x.lexer={EOF:1,parseError:function(a,h){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,h)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,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},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.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),r},unput:function(r){var a=r.length,h=r.split(/(?:\r\n?|\n)/g);this._input=r+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),h.length-1&&(this.yylineno-=h.length-1);var g=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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+a+"^"},test_match:function(r,a){var h,u,g;if(this.options.backtrack_lexer&&(g={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&&(g.yylloc.range=this.yylloc.range.slice(0))),(u=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var l in g)this[l]=g[l];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,a,h,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),l=0;la[0].length)){if(a=h,u=l,this.options.backtrack_lexer){if(!1!==(r=this.test_match(h,g[l])))return r;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(r=this.test_match(a,g[u]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,h,u,g){switch(u){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}},L.prototype=x,x.Parser=L,new L}());Q.parser=Q;const Tt=Q;let F="",st=0;const Y=[],D=[],U=[],rt=()=>it.c,at=(n,t,e)=>{(0,kt.p)(globalThis,n,t,e)},lt=function(){Y.length=0,D.length=0,F="",U.length=0,(0,it.f)()},ct=function(n){F=n,Y.push(n)},ot=function(){return Y},ht=function(){let n=yt(),e=0;for(;!n&&e<100;)n=yt(),e++;return D.push(...U),D},dt=function(n,t,e){const s={id:st++,section:F,type:F,task:n,score:t||0,events:e?[e]:[]};U.push(s)},ut=function(n){U.find(e=>e.id===st-1).events.push(n)},pt=function(n){D.push({section:F,type:F,description:n,task:n,classes:[]})},yt=function(){const n=function(e){return U[e].processed};let t=!0;for(const[e,s]of U.entries())n(e),t=t&&s.processed;return t},It=Object.freeze(Object.defineProperty({__proto__:null,addEvent:ut,addSection:ct,addTask:dt,addTaskOrg:pt,clear:lt,default:{clear:lt,getCommonDb:rt,addSection:ct,getSections:ot,getTasks:ht,addTask:dt,addTaskOrg:pt,addEvent:ut,parseDirective:at},getCommonDb:rt,getSections:ot,getTasks:ht,parseDirective:at},Symbol.toStringTag,{value:"Module"}));function mt(n,t){n.each(function(){var i,e=(0,V.Ys)(this),s=e.text().split(/(\s+|
)/).reverse(),o=[],f=e.attr("y"),d=parseFloat(e.attr("dy")),y=e.text(null).append("tspan").attr("x",0).attr("y",f).attr("dy",d+"em");for(let m=0;mt||"
"===i)&&(o.pop(),y.text(o.join(" ").trim()),o="
"===i?[""]:[i],y=e.append("tspan").attr("x",0).attr("y",f).attr("dy","1.1em").text(i))})}const W_drawNode=function(n,t,e,s){const i=e%12-1,o=n.append("g");t.section=i,o.attr("class",(t.class?t.class+" ":"")+"timeline-node section-"+i);const c=o.append("g"),f=o.append("g"),y=f.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(mt,t.width).node().getBBox(),m=s.fontSize&&s.fontSize.replace?s.fontSize.replace("px",""):s.fontSize;return t.height=y.height+1.1*m*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,f.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),function(n,t,e){n.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${10-t.height} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),n.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)}(c,t,i),t},W_getVirtualNodeHeight=function(n,t,e){const s=n.append("g"),o=s.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(mt,t.width).node().getBBox(),c=e.fontSize&&e.fontSize.replace?e.fontSize.replace("px",""):e.fontSize;return s.remove(),o.height+1.1*c*.5+t.padding},xt=function(n,t,e,s,i,o,c,f,d,y,m){var w;for(const b of t){const x={descr:b.task,section:e,number:e,width:150,padding:20,maxHeight:o};E.l.debug("taskNode",x);const S=n.append("g").attr("class","taskWrapper"),v=W_drawNode(S,x,e,c).height;if(E.l.debug("taskHeight after draw",v),S.attr("transform",`translate(${s}, ${i})`),o=Math.max(o,v),b.events){const r=n.append("g").attr("class","lineWrapper");let a=o;a+=Ft(n,b.events,e,s,i+=100,c),i-=100,r.append("line").attr("x1",s+95).attr("y1",i+o).attr("x2",s+95).attr("y2",i+o+(m?o:y)+d+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,m&&(null==(w=c.timeline)||!w.disableMulticolor)&&e++}i-=10},Ft=function(n,t,e,s,i,o){let c=0;const f=i;i+=100;for(const d of t){const y={descr:d,section:e,number:e,width:150,padding:20,maxHeight:50};E.l.debug("eventNode",y);const m=n.append("g").attr("class","eventWrapper"),b=W_drawNode(m,y,e,o).height;c+=b,m.attr("transform",`translate(${s}, ${i})`),i=i+10+b}return i=f,c},jt={db:It,renderer:{setConf:()=>{},draw:function(n,t,e,s){var i,o,c,f;const d=(0,E.g)(),y=d.leftMargin??50;null==(o=(i=s.db).clear)||o.call(i),s.parser.parse(n+"\n"),E.l.debug("timeline",s.db);const m=d.securityLevel;let w;"sandbox"===m&&(w=(0,V.Ys)("#i"+t));const x=(0,V.Ys)("sandbox"===m?w.nodes()[0].contentDocument.body:"body").select("#"+t);x.append("g");const S=s.db.getTasks(),L=s.db.getCommonDb().getDiagramTitle();E.l.debug("task",S),function(n){n.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}(x);const v=s.db.getSections();E.l.debug("sections",v);let r=0,a=0,h=0,u=0,g=50+y,l=50;u=50;let T=0,_=!0;v.forEach(function(R){const M=W_getVirtualNodeHeight(x,{number:T,descr:R,section:T,width:150,padding:20,maxHeight:r},d);E.l.debug("sectionHeight before draw",M),r=Math.max(r,M+20)});let A=0,B=0;E.l.debug("tasks.length",S.length);for(const[R,p]of S.entries()){const N=W_getVirtualNodeHeight(x,{number:R,descr:p,section:p.section,width:150,padding:20,maxHeight:a},d);E.l.debug("taskHeight before draw",N),a=Math.max(a,N+20),A=Math.max(A,p.events.length);let $=0;for(let H=0;H0?v.forEach(R=>{const p=S.filter(H=>H.section===R),M={number:T,descr:R,section:T,width:200*Math.max(p.length,1)-50,padding:20,maxHeight:r};E.l.debug("sectionNode",M);const N=x.append("g"),$=W_drawNode(N,M,T,d);E.l.debug("sectionNode output",$),N.attr("transform",`translate(${g}, 50)`),l+=r+50,p.length>0&&xt(x,p,T,g,l,a,d,0,B,r,!1),g+=200*Math.max(p.length,1),l=50,T++}):(_=!1,xt(x,S,T,g,l,a,d,0,B,r,!0));const j=x.node().getBBox();E.l.debug("bounds",j),L&&x.append("text").text(L).attr("x",j.width/2-y).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),h=_?r+a+150:a+100,x.append("g").attr("class","lineWrapper").append("line").attr("x1",y).attr("y1",h).attr("x2",j.width+3*y).attr("y2",h).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,Et.s)(void 0,x,(null==(c=d.timeline)?void 0:c.padding)??50,(null==(f=d.timeline)?void 0:f.useMaxWidth)??!1)}},parser:Tt,styles:n=>`\n .edge {\n stroke-width: 3;\n }\n ${(n=>{let t="";for(let e=0;e{Nt.r(Ct),Nt.d(Ct,{default:()=>u4});class u0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new u0(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class m0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new m0(t,u0.range(this,e))}}class M{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n,s,a="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var h=o.lexer.input;a+=(n=o.start)===h.length?" at end of input: ":" at position "+(n+1)+": ";var c=h.slice(n,s=o.end).replace(/[^]/g,"$&\u0332");a+=(n>15?"\u2026"+h.slice(n-15,n):h.slice(0,n))+c+(s+15":">","<":"<",'"':""","'":"'"},pa=/[&><"']/g,qt=function r(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?r(e.body[0]):e:"font"===e.type?r(e.body):e},q={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function va(r){return String(r).replace(pa,e=>fa[e])},hyphenate:function(e){return e.replace(ca,"-$1").toLowerCase()},getBaseElem:qt,isCharacterBox:function(e){var t=qt(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},me={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand ",cliProcessor:r=>"Infinity"===r?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function xa(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if("string"!=typeof t)return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Fe{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},me)if(me.hasOwnProperty(t)){var a=me[t];this[t]=void 0!==e[t]?a.processor?a.processor(e[t]):e[t]:xa(a)}}reportNonstrict(e,t,a){var n=this.strict;if("function"==typeof n&&(n=n(e,t,a)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",a);"warn"===n?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,a){var n=this.strict;if("function"==typeof n)try{n=n(e,t,a)}catch{n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),1)))}isTrusted(e){if(e.url&&!e.protocol){var t=q.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}var a="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(a)}}class q0{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return y0[wa[this.id]]}sub(){return y0[ka[this.id]]}fracNum(){return y0[Sa[this.id]]}fracDen(){return y0[Ma[this.id]]}cramp(){return y0[za[this.id]]}text(){return y0[Aa[this.id]]}isTight(){return this.size>=2}}var y0=[new q0(0,0,!1),new q0(1,0,!0),new q0(2,1,!1),new q0(3,1,!0),new q0(4,2,!1),new q0(5,2,!0),new q0(6,3,!1),new q0(7,3,!0)],wa=[4,5,4,5,6,7,6,7],ka=[5,5,5,5,7,7,7,7],Sa=[2,3,4,5,6,7,6,7],Ma=[3,3,5,5,7,7,7,7],za=[1,1,3,3,5,5,7,7],Aa=[0,1,2,3,2,3,2,3],E={DISPLAY:y0[0],TEXT:y0[2],SCRIPT:y0[4],SCRIPTSCRIPT:y0[6]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],de=[];function Et(r){for(var e=0;e=de[e]&&r<=de[e+1])return!0;return!1}Le.forEach(r=>r.blocks.forEach(e=>de.push(...e)));var Rt={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class ae{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return q.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;tt.toText()).join("")}}var x0={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},fe={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},It={\u00c5:"A",\u00d0:"D",\u00de:"o",\u00e5:"a",\u00f0:"d",\u00fe:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041a:"K",\u041b:"N",\u041c:"M",\u041d:"H",\u041e:"O",\u041f:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042a:"B",\u042b:"X",\u042c:"B",\u042d:"3",\u042e:"X",\u042f:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043a:"n",\u043b:"n",\u043c:"m",\u043d:"n",\u043e:"o",\u043f:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044a:"a",\u044b:"m",\u044c:"a",\u044d:"e",\u044e:"m",\u044f:"r"};function Pe(r,e,t){if(!x0[e])throw new Error("Font metrics not found for font: "+e+".");var a=r.charCodeAt(0),n=x0[e][a];if(!n&&r[0]in It&&(a=It[r[0]].charCodeAt(0),n=x0[e][a]),!n&&"text"===t&&Et(a)&&(n=x0[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Ge={},Pa=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ot=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ft=function(e,t){return t.size<2?e:Pa[e-1][t.size-1]};let Ga=(()=>{class r{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||r.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Ot[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var a={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n]);return new r(a)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ft(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Ot[t-1]})}havingBaseStyle(t){t=t||this.style.text();var a=Ft(r.BASESIZE,t);return this.size===a&&this.textSize===r.BASESIZE&&this.style===t?this:this.extend({style:t,size:a})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==r.BASESIZE?["sizing","reset-size"+this.size,"size"+r.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function La(r){var e;if(!Ge[e=r>=5?0:r>=3?1:2]){var t=Ge[e]={cssEmPerMu:fe.quad[e]/18};for(var a in fe)fe.hasOwnProperty(a)&&(t[a]=fe[a][e])}return Ge[e]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}return r.BASESIZE=6,r})();var Ve={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Va={ex:!0,em:!0,mu:!0},Ht=function(e){return"string"!=typeof e&&(e=e.unit),e in Ve||e in Va||"ex"===e},j=function(e,t){var a;if(e.unit in Ve)a=Ve[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)a=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)a=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new M("Invalid unit: '"+e.unit+"'");a=n.fontMetrics().quad}n!==t&&(a*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*a,t.maxSize)},A=function(e){return+e.toFixed(4)+"em"},E0=function(e){return e.filter(t=>t).join(" ")},Lt=function(e,t,a){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},Pt=function(e){var t=document.createElement(e);for(var a in t.className=E0(this.classes),this.style)this.style.hasOwnProperty(a)&&(t.style[a]=this.style[a]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var s=0;s"};class ne{constructor(e,t,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Lt.call(this,e,a,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return q.contains(this.classes,e)}toNode(){return Pt.call(this,"span")}toMarkup(){return Gt.call(this,"span")}}class Ue{constructor(e,t,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Lt.call(this,t,n),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return q.contains(this.classes,e)}toNode(){return Pt.call(this,"a")}toMarkup(){return Gt.call(this,"a")}}class Ua{constructor(e,t,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=a}hasClass(e){return q.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+q.escape(this.alt)+'"}}var Ya={\u00ee:"\u0131\u0302",\u00ef:"\u0131\u0308",\u00ed:"\u0131\u0301",\u00ec:"\u0131\u0300"};class d0{constructor(e,t,a,n,s,o,h,c){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=a||0,this.italic=n||0,this.skew=s||0,this.width=o||0,this.classes=h||[],this.style=c||{},this.maxFontSize=0;var p=function Ta(r){for(var e=0;e=n[0]&&r<=n[1])return t.name}return null}(this.text.charCodeAt(0));p&&this.classes.push(p+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Ya[this.text])}hasClass(e){return q.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var a in this.italic>0&&((t=document.createElement("span")).style.marginRight=A(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=E0(this.classes)),this.style)this.style.hasOwnProperty(a)&&((t=t||document.createElement("span")).style[a]=this.style[a]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(a+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(a+=q.hyphenate(n)+":"+this.style[n]+";");a&&(e=!0,t+=' style="'+q.escape(a)+'"');var s=q.escape(this.text);return e?(t+=">",t+=s,t+=""):s}}class z0{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"}}class R0{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d",this.alternate?this.alternate:Rt[this.pathName]),t}toMarkup(){return this.alternate?'':''}}class Ye{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var t=document.createElementNS("http://www.w3.org/2000/svg","line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);return t}toMarkup(){var e=""}}function Vt(r){if(r instanceof d0)return r;throw new Error("Expected symbolNode but got "+String(r)+".")}var $a={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Wa={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},$={math:{},text:{}};function i(r,e,t,a,n,s){$[r][n]={font:e,group:t,replace:a},s&&a&&($[r][a]=$[r][n])}var l="math",k="text",u="main",d="ams",W="accent-token",D="bin",a0="close",Z0="inner",R="mathord",_="op-token",h0="open",pe="punct",f="rel",A0="spacing",v="textord";i(l,u,f,"\u2261","\\equiv",!0),i(l,u,f,"\u227a","\\prec",!0),i(l,u,f,"\u227b","\\succ",!0),i(l,u,f,"\u223c","\\sim",!0),i(l,u,f,"\u22a5","\\perp"),i(l,u,f,"\u2aaf","\\preceq",!0),i(l,u,f,"\u2ab0","\\succeq",!0),i(l,u,f,"\u2243","\\simeq",!0),i(l,u,f,"\u2223","\\mid",!0),i(l,u,f,"\u226a","\\ll",!0),i(l,u,f,"\u226b","\\gg",!0),i(l,u,f,"\u224d","\\asymp",!0),i(l,u,f,"\u2225","\\parallel"),i(l,u,f,"\u22c8","\\bowtie",!0),i(l,u,f,"\u2323","\\smile",!0),i(l,u,f,"\u2291","\\sqsubseteq",!0),i(l,u,f,"\u2292","\\sqsupseteq",!0),i(l,u,f,"\u2250","\\doteq",!0),i(l,u,f,"\u2322","\\frown",!0),i(l,u,f,"\u220b","\\ni",!0),i(l,u,f,"\u221d","\\propto",!0),i(l,u,f,"\u22a2","\\vdash",!0),i(l,u,f,"\u22a3","\\dashv",!0),i(l,u,f,"\u220b","\\owns"),i(l,u,pe,".","\\ldotp"),i(l,u,pe,"\u22c5","\\cdotp"),i(l,u,v,"#","\\#"),i(k,u,v,"#","\\#"),i(l,u,v,"&","\\&"),i(k,u,v,"&","\\&"),i(l,u,v,"\u2135","\\aleph",!0),i(l,u,v,"\u2200","\\forall",!0),i(l,u,v,"\u210f","\\hbar",!0),i(l,u,v,"\u2203","\\exists",!0),i(l,u,v,"\u2207","\\nabla",!0),i(l,u,v,"\u266d","\\flat",!0),i(l,u,v,"\u2113","\\ell",!0),i(l,u,v,"\u266e","\\natural",!0),i(l,u,v,"\u2663","\\clubsuit",!0),i(l,u,v,"\u2118","\\wp",!0),i(l,u,v,"\u266f","\\sharp",!0),i(l,u,v,"\u2662","\\diamondsuit",!0),i(l,u,v,"\u211c","\\Re",!0),i(l,u,v,"\u2661","\\heartsuit",!0),i(l,u,v,"\u2111","\\Im",!0),i(l,u,v,"\u2660","\\spadesuit",!0),i(l,u,v,"\xa7","\\S",!0),i(k,u,v,"\xa7","\\S"),i(l,u,v,"\xb6","\\P",!0),i(k,u,v,"\xb6","\\P"),i(l,u,v,"\u2020","\\dag"),i(k,u,v,"\u2020","\\dag"),i(k,u,v,"\u2020","\\textdagger"),i(l,u,v,"\u2021","\\ddag"),i(k,u,v,"\u2021","\\ddag"),i(k,u,v,"\u2021","\\textdaggerdbl"),i(l,u,a0,"\u23b1","\\rmoustache",!0),i(l,u,h0,"\u23b0","\\lmoustache",!0),i(l,u,a0,"\u27ef","\\rgroup",!0),i(l,u,h0,"\u27ee","\\lgroup",!0),i(l,u,D,"\u2213","\\mp",!0),i(l,u,D,"\u2296","\\ominus",!0),i(l,u,D,"\u228e","\\uplus",!0),i(l,u,D,"\u2293","\\sqcap",!0),i(l,u,D,"\u2217","\\ast"),i(l,u,D,"\u2294","\\sqcup",!0),i(l,u,D,"\u25ef","\\bigcirc",!0),i(l,u,D,"\u2219","\\bullet",!0),i(l,u,D,"\u2021","\\ddagger"),i(l,u,D,"\u2240","\\wr",!0),i(l,u,D,"\u2a3f","\\amalg"),i(l,u,D,"&","\\And"),i(l,u,f,"\u27f5","\\longleftarrow",!0),i(l,u,f,"\u21d0","\\Leftarrow",!0),i(l,u,f,"\u27f8","\\Longleftarrow",!0),i(l,u,f,"\u27f6","\\longrightarrow",!0),i(l,u,f,"\u21d2","\\Rightarrow",!0),i(l,u,f,"\u27f9","\\Longrightarrow",!0),i(l,u,f,"\u2194","\\leftrightarrow",!0),i(l,u,f,"\u27f7","\\longleftrightarrow",!0),i(l,u,f,"\u21d4","\\Leftrightarrow",!0),i(l,u,f,"\u27fa","\\Longleftrightarrow",!0),i(l,u,f,"\u21a6","\\mapsto",!0),i(l,u,f,"\u27fc","\\longmapsto",!0),i(l,u,f,"\u2197","\\nearrow",!0),i(l,u,f,"\u21a9","\\hookleftarrow",!0),i(l,u,f,"\u21aa","\\hookrightarrow",!0),i(l,u,f,"\u2198","\\searrow",!0),i(l,u,f,"\u21bc","\\leftharpoonup",!0),i(l,u,f,"\u21c0","\\rightharpoonup",!0),i(l,u,f,"\u2199","\\swarrow",!0),i(l,u,f,"\u21bd","\\leftharpoondown",!0),i(l,u,f,"\u21c1","\\rightharpoondown",!0),i(l,u,f,"\u2196","\\nwarrow",!0),i(l,u,f,"\u21cc","\\rightleftharpoons",!0),i(l,d,f,"\u226e","\\nless",!0),i(l,d,f,"\ue010","\\@nleqslant"),i(l,d,f,"\ue011","\\@nleqq"),i(l,d,f,"\u2a87","\\lneq",!0),i(l,d,f,"\u2268","\\lneqq",!0),i(l,d,f,"\ue00c","\\@lvertneqq"),i(l,d,f,"\u22e6","\\lnsim",!0),i(l,d,f,"\u2a89","\\lnapprox",!0),i(l,d,f,"\u2280","\\nprec",!0),i(l,d,f,"\u22e0","\\npreceq",!0),i(l,d,f,"\u22e8","\\precnsim",!0),i(l,d,f,"\u2ab9","\\precnapprox",!0),i(l,d,f,"\u2241","\\nsim",!0),i(l,d,f,"\ue006","\\@nshortmid"),i(l,d,f,"\u2224","\\nmid",!0),i(l,d,f,"\u22ac","\\nvdash",!0),i(l,d,f,"\u22ad","\\nvDash",!0),i(l,d,f,"\u22ea","\\ntriangleleft"),i(l,d,f,"\u22ec","\\ntrianglelefteq",!0),i(l,d,f,"\u228a","\\subsetneq",!0),i(l,d,f,"\ue01a","\\@varsubsetneq"),i(l,d,f,"\u2acb","\\subsetneqq",!0),i(l,d,f,"\ue017","\\@varsubsetneqq"),i(l,d,f,"\u226f","\\ngtr",!0),i(l,d,f,"\ue00f","\\@ngeqslant"),i(l,d,f,"\ue00e","\\@ngeqq"),i(l,d,f,"\u2a88","\\gneq",!0),i(l,d,f,"\u2269","\\gneqq",!0),i(l,d,f,"\ue00d","\\@gvertneqq"),i(l,d,f,"\u22e7","\\gnsim",!0),i(l,d,f,"\u2a8a","\\gnapprox",!0),i(l,d,f,"\u2281","\\nsucc",!0),i(l,d,f,"\u22e1","\\nsucceq",!0),i(l,d,f,"\u22e9","\\succnsim",!0),i(l,d,f,"\u2aba","\\succnapprox",!0),i(l,d,f,"\u2246","\\ncong",!0),i(l,d,f,"\ue007","\\@nshortparallel"),i(l,d,f,"\u2226","\\nparallel",!0),i(l,d,f,"\u22af","\\nVDash",!0),i(l,d,f,"\u22eb","\\ntriangleright"),i(l,d,f,"\u22ed","\\ntrianglerighteq",!0),i(l,d,f,"\ue018","\\@nsupseteqq"),i(l,d,f,"\u228b","\\supsetneq",!0),i(l,d,f,"\ue01b","\\@varsupsetneq"),i(l,d,f,"\u2acc","\\supsetneqq",!0),i(l,d,f,"\ue019","\\@varsupsetneqq"),i(l,d,f,"\u22ae","\\nVdash",!0),i(l,d,f,"\u2ab5","\\precneqq",!0),i(l,d,f,"\u2ab6","\\succneqq",!0),i(l,d,f,"\ue016","\\@nsubseteqq"),i(l,d,D,"\u22b4","\\unlhd"),i(l,d,D,"\u22b5","\\unrhd"),i(l,d,f,"\u219a","\\nleftarrow",!0),i(l,d,f,"\u219b","\\nrightarrow",!0),i(l,d,f,"\u21cd","\\nLeftarrow",!0),i(l,d,f,"\u21cf","\\nRightarrow",!0),i(l,d,f,"\u21ae","\\nleftrightarrow",!0),i(l,d,f,"\u21ce","\\nLeftrightarrow",!0),i(l,d,f,"\u25b3","\\vartriangle"),i(l,d,v,"\u210f","\\hslash"),i(l,d,v,"\u25bd","\\triangledown"),i(l,d,v,"\u25ca","\\lozenge"),i(l,d,v,"\u24c8","\\circledS"),i(l,d,v,"\xae","\\circledR"),i(k,d,v,"\xae","\\circledR"),i(l,d,v,"\u2221","\\measuredangle",!0),i(l,d,v,"\u2204","\\nexists"),i(l,d,v,"\u2127","\\mho"),i(l,d,v,"\u2132","\\Finv",!0),i(l,d,v,"\u2141","\\Game",!0),i(l,d,v,"\u2035","\\backprime"),i(l,d,v,"\u25b2","\\blacktriangle"),i(l,d,v,"\u25bc","\\blacktriangledown"),i(l,d,v,"\u25a0","\\blacksquare"),i(l,d,v,"\u29eb","\\blacklozenge"),i(l,d,v,"\u2605","\\bigstar"),i(l,d,v,"\u2222","\\sphericalangle",!0),i(l,d,v,"\u2201","\\complement",!0),i(l,d,v,"\xf0","\\eth",!0),i(k,u,v,"\xf0","\xf0"),i(l,d,v,"\u2571","\\diagup"),i(l,d,v,"\u2572","\\diagdown"),i(l,d,v,"\u25a1","\\square"),i(l,d,v,"\u25a1","\\Box"),i(l,d,v,"\u25ca","\\Diamond"),i(l,d,v,"\xa5","\\yen",!0),i(k,d,v,"\xa5","\\yen",!0),i(l,d,v,"\u2713","\\checkmark",!0),i(k,d,v,"\u2713","\\checkmark"),i(l,d,v,"\u2136","\\beth",!0),i(l,d,v,"\u2138","\\daleth",!0),i(l,d,v,"\u2137","\\gimel",!0),i(l,d,v,"\u03dd","\\digamma",!0),i(l,d,v,"\u03f0","\\varkappa"),i(l,d,h0,"\u250c","\\@ulcorner",!0),i(l,d,a0,"\u2510","\\@urcorner",!0),i(l,d,h0,"\u2514","\\@llcorner",!0),i(l,d,a0,"\u2518","\\@lrcorner",!0),i(l,d,f,"\u2266","\\leqq",!0),i(l,d,f,"\u2a7d","\\leqslant",!0),i(l,d,f,"\u2a95","\\eqslantless",!0),i(l,d,f,"\u2272","\\lesssim",!0),i(l,d,f,"\u2a85","\\lessapprox",!0),i(l,d,f,"\u224a","\\approxeq",!0),i(l,d,D,"\u22d6","\\lessdot"),i(l,d,f,"\u22d8","\\lll",!0),i(l,d,f,"\u2276","\\lessgtr",!0),i(l,d,f,"\u22da","\\lesseqgtr",!0),i(l,d,f,"\u2a8b","\\lesseqqgtr",!0),i(l,d,f,"\u2251","\\doteqdot"),i(l,d,f,"\u2253","\\risingdotseq",!0),i(l,d,f,"\u2252","\\fallingdotseq",!0),i(l,d,f,"\u223d","\\backsim",!0),i(l,d,f,"\u22cd","\\backsimeq",!0),i(l,d,f,"\u2ac5","\\subseteqq",!0),i(l,d,f,"\u22d0","\\Subset",!0),i(l,d,f,"\u228f","\\sqsubset",!0),i(l,d,f,"\u227c","\\preccurlyeq",!0),i(l,d,f,"\u22de","\\curlyeqprec",!0),i(l,d,f,"\u227e","\\precsim",!0),i(l,d,f,"\u2ab7","\\precapprox",!0),i(l,d,f,"\u22b2","\\vartriangleleft"),i(l,d,f,"\u22b4","\\trianglelefteq"),i(l,d,f,"\u22a8","\\vDash",!0),i(l,d,f,"\u22aa","\\Vvdash",!0),i(l,d,f,"\u2323","\\smallsmile"),i(l,d,f,"\u2322","\\smallfrown"),i(l,d,f,"\u224f","\\bumpeq",!0),i(l,d,f,"\u224e","\\Bumpeq",!0),i(l,d,f,"\u2267","\\geqq",!0),i(l,d,f,"\u2a7e","\\geqslant",!0),i(l,d,f,"\u2a96","\\eqslantgtr",!0),i(l,d,f,"\u2273","\\gtrsim",!0),i(l,d,f,"\u2a86","\\gtrapprox",!0),i(l,d,D,"\u22d7","\\gtrdot"),i(l,d,f,"\u22d9","\\ggg",!0),i(l,d,f,"\u2277","\\gtrless",!0),i(l,d,f,"\u22db","\\gtreqless",!0),i(l,d,f,"\u2a8c","\\gtreqqless",!0),i(l,d,f,"\u2256","\\eqcirc",!0),i(l,d,f,"\u2257","\\circeq",!0),i(l,d,f,"\u225c","\\triangleq",!0),i(l,d,f,"\u223c","\\thicksim"),i(l,d,f,"\u2248","\\thickapprox"),i(l,d,f,"\u2ac6","\\supseteqq",!0),i(l,d,f,"\u22d1","\\Supset",!0),i(l,d,f,"\u2290","\\sqsupset",!0),i(l,d,f,"\u227d","\\succcurlyeq",!0),i(l,d,f,"\u22df","\\curlyeqsucc",!0),i(l,d,f,"\u227f","\\succsim",!0),i(l,d,f,"\u2ab8","\\succapprox",!0),i(l,d,f,"\u22b3","\\vartriangleright"),i(l,d,f,"\u22b5","\\trianglerighteq"),i(l,d,f,"\u22a9","\\Vdash",!0),i(l,d,f,"\u2223","\\shortmid"),i(l,d,f,"\u2225","\\shortparallel"),i(l,d,f,"\u226c","\\between",!0),i(l,d,f,"\u22d4","\\pitchfork",!0),i(l,d,f,"\u221d","\\varpropto"),i(l,d,f,"\u25c0","\\blacktriangleleft"),i(l,d,f,"\u2234","\\therefore",!0),i(l,d,f,"\u220d","\\backepsilon"),i(l,d,f,"\u25b6","\\blacktriangleright"),i(l,d,f,"\u2235","\\because",!0),i(l,d,f,"\u22d8","\\llless"),i(l,d,f,"\u22d9","\\gggtr"),i(l,d,D,"\u22b2","\\lhd"),i(l,d,D,"\u22b3","\\rhd"),i(l,d,f,"\u2242","\\eqsim",!0),i(l,u,f,"\u22c8","\\Join"),i(l,d,f,"\u2251","\\Doteq",!0),i(l,d,D,"\u2214","\\dotplus",!0),i(l,d,D,"\u2216","\\smallsetminus"),i(l,d,D,"\u22d2","\\Cap",!0),i(l,d,D,"\u22d3","\\Cup",!0),i(l,d,D,"\u2a5e","\\doublebarwedge",!0),i(l,d,D,"\u229f","\\boxminus",!0),i(l,d,D,"\u229e","\\boxplus",!0),i(l,d,D,"\u22c7","\\divideontimes",!0),i(l,d,D,"\u22c9","\\ltimes",!0),i(l,d,D,"\u22ca","\\rtimes",!0),i(l,d,D,"\u22cb","\\leftthreetimes",!0),i(l,d,D,"\u22cc","\\rightthreetimes",!0),i(l,d,D,"\u22cf","\\curlywedge",!0),i(l,d,D,"\u22ce","\\curlyvee",!0),i(l,d,D,"\u229d","\\circleddash",!0),i(l,d,D,"\u229b","\\circledast",!0),i(l,d,D,"\u22c5","\\centerdot"),i(l,d,D,"\u22ba","\\intercal",!0),i(l,d,D,"\u22d2","\\doublecap"),i(l,d,D,"\u22d3","\\doublecup"),i(l,d,D,"\u22a0","\\boxtimes",!0),i(l,d,f,"\u21e2","\\dashrightarrow",!0),i(l,d,f,"\u21e0","\\dashleftarrow",!0),i(l,d,f,"\u21c7","\\leftleftarrows",!0),i(l,d,f,"\u21c6","\\leftrightarrows",!0),i(l,d,f,"\u21da","\\Lleftarrow",!0),i(l,d,f,"\u219e","\\twoheadleftarrow",!0),i(l,d,f,"\u21a2","\\leftarrowtail",!0),i(l,d,f,"\u21ab","\\looparrowleft",!0),i(l,d,f,"\u21cb","\\leftrightharpoons",!0),i(l,d,f,"\u21b6","\\curvearrowleft",!0),i(l,d,f,"\u21ba","\\circlearrowleft",!0),i(l,d,f,"\u21b0","\\Lsh",!0),i(l,d,f,"\u21c8","\\upuparrows",!0),i(l,d,f,"\u21bf","\\upharpoonleft",!0),i(l,d,f,"\u21c3","\\downharpoonleft",!0),i(l,u,f,"\u22b6","\\origof",!0),i(l,u,f,"\u22b7","\\imageof",!0),i(l,d,f,"\u22b8","\\multimap",!0),i(l,d,f,"\u21ad","\\leftrightsquigarrow",!0),i(l,d,f,"\u21c9","\\rightrightarrows",!0),i(l,d,f,"\u21c4","\\rightleftarrows",!0),i(l,d,f,"\u21a0","\\twoheadrightarrow",!0),i(l,d,f,"\u21a3","\\rightarrowtail",!0),i(l,d,f,"\u21ac","\\looparrowright",!0),i(l,d,f,"\u21b7","\\curvearrowright",!0),i(l,d,f,"\u21bb","\\circlearrowright",!0),i(l,d,f,"\u21b1","\\Rsh",!0),i(l,d,f,"\u21ca","\\downdownarrows",!0),i(l,d,f,"\u21be","\\upharpoonright",!0),i(l,d,f,"\u21c2","\\downharpoonright",!0),i(l,d,f,"\u21dd","\\rightsquigarrow",!0),i(l,d,f,"\u21dd","\\leadsto"),i(l,d,f,"\u21db","\\Rrightarrow",!0),i(l,d,f,"\u21be","\\restriction"),i(l,u,v,"\u2018","`"),i(l,u,v,"$","\\$"),i(k,u,v,"$","\\$"),i(k,u,v,"$","\\textdollar"),i(l,u,v,"%","\\%"),i(k,u,v,"%","\\%"),i(l,u,v,"_","\\_"),i(k,u,v,"_","\\_"),i(k,u,v,"_","\\textunderscore"),i(l,u,v,"\u2220","\\angle",!0),i(l,u,v,"\u221e","\\infty",!0),i(l,u,v,"\u2032","\\prime"),i(l,u,v,"\u25b3","\\triangle"),i(l,u,v,"\u0393","\\Gamma",!0),i(l,u,v,"\u0394","\\Delta",!0),i(l,u,v,"\u0398","\\Theta",!0),i(l,u,v,"\u039b","\\Lambda",!0),i(l,u,v,"\u039e","\\Xi",!0),i(l,u,v,"\u03a0","\\Pi",!0),i(l,u,v,"\u03a3","\\Sigma",!0),i(l,u,v,"\u03a5","\\Upsilon",!0),i(l,u,v,"\u03a6","\\Phi",!0),i(l,u,v,"\u03a8","\\Psi",!0),i(l,u,v,"\u03a9","\\Omega",!0),i(l,u,v,"A","\u0391"),i(l,u,v,"B","\u0392"),i(l,u,v,"E","\u0395"),i(l,u,v,"Z","\u0396"),i(l,u,v,"H","\u0397"),i(l,u,v,"I","\u0399"),i(l,u,v,"K","\u039a"),i(l,u,v,"M","\u039c"),i(l,u,v,"N","\u039d"),i(l,u,v,"O","\u039f"),i(l,u,v,"P","\u03a1"),i(l,u,v,"T","\u03a4"),i(l,u,v,"X","\u03a7"),i(l,u,v,"\xac","\\neg",!0),i(l,u,v,"\xac","\\lnot"),i(l,u,v,"\u22a4","\\top"),i(l,u,v,"\u22a5","\\bot"),i(l,u,v,"\u2205","\\emptyset"),i(l,d,v,"\u2205","\\varnothing"),i(l,u,R,"\u03b1","\\alpha",!0),i(l,u,R,"\u03b2","\\beta",!0),i(l,u,R,"\u03b3","\\gamma",!0),i(l,u,R,"\u03b4","\\delta",!0),i(l,u,R,"\u03f5","\\epsilon",!0),i(l,u,R,"\u03b6","\\zeta",!0),i(l,u,R,"\u03b7","\\eta",!0),i(l,u,R,"\u03b8","\\theta",!0),i(l,u,R,"\u03b9","\\iota",!0),i(l,u,R,"\u03ba","\\kappa",!0),i(l,u,R,"\u03bb","\\lambda",!0),i(l,u,R,"\u03bc","\\mu",!0),i(l,u,R,"\u03bd","\\nu",!0),i(l,u,R,"\u03be","\\xi",!0),i(l,u,R,"\u03bf","\\omicron",!0),i(l,u,R,"\u03c0","\\pi",!0),i(l,u,R,"\u03c1","\\rho",!0),i(l,u,R,"\u03c3","\\sigma",!0),i(l,u,R,"\u03c4","\\tau",!0),i(l,u,R,"\u03c5","\\upsilon",!0),i(l,u,R,"\u03d5","\\phi",!0),i(l,u,R,"\u03c7","\\chi",!0),i(l,u,R,"\u03c8","\\psi",!0),i(l,u,R,"\u03c9","\\omega",!0),i(l,u,R,"\u03b5","\\varepsilon",!0),i(l,u,R,"\u03d1","\\vartheta",!0),i(l,u,R,"\u03d6","\\varpi",!0),i(l,u,R,"\u03f1","\\varrho",!0),i(l,u,R,"\u03c2","\\varsigma",!0),i(l,u,R,"\u03c6","\\varphi",!0),i(l,u,D,"\u2217","*",!0),i(l,u,D,"+","+"),i(l,u,D,"\u2212","-",!0),i(l,u,D,"\u22c5","\\cdot",!0),i(l,u,D,"\u2218","\\circ",!0),i(l,u,D,"\xf7","\\div",!0),i(l,u,D,"\xb1","\\pm",!0),i(l,u,D,"\xd7","\\times",!0),i(l,u,D,"\u2229","\\cap",!0),i(l,u,D,"\u222a","\\cup",!0),i(l,u,D,"\u2216","\\setminus",!0),i(l,u,D,"\u2227","\\land"),i(l,u,D,"\u2228","\\lor"),i(l,u,D,"\u2227","\\wedge",!0),i(l,u,D,"\u2228","\\vee",!0),i(l,u,v,"\u221a","\\surd"),i(l,u,h0,"\u27e8","\\langle",!0),i(l,u,h0,"\u2223","\\lvert"),i(l,u,h0,"\u2225","\\lVert"),i(l,u,a0,"?","?"),i(l,u,a0,"!","!"),i(l,u,a0,"\u27e9","\\rangle",!0),i(l,u,a0,"\u2223","\\rvert"),i(l,u,a0,"\u2225","\\rVert"),i(l,u,f,"=","="),i(l,u,f,":",":"),i(l,u,f,"\u2248","\\approx",!0),i(l,u,f,"\u2245","\\cong",!0),i(l,u,f,"\u2265","\\ge"),i(l,u,f,"\u2265","\\geq",!0),i(l,u,f,"\u2190","\\gets"),i(l,u,f,">","\\gt",!0),i(l,u,f,"\u2208","\\in",!0),i(l,u,f,"\ue020","\\@not"),i(l,u,f,"\u2282","\\subset",!0),i(l,u,f,"\u2283","\\supset",!0),i(l,u,f,"\u2286","\\subseteq",!0),i(l,u,f,"\u2287","\\supseteq",!0),i(l,d,f,"\u2288","\\nsubseteq",!0),i(l,d,f,"\u2289","\\nsupseteq",!0),i(l,u,f,"\u22a8","\\models"),i(l,u,f,"\u2190","\\leftarrow",!0),i(l,u,f,"\u2264","\\le"),i(l,u,f,"\u2264","\\leq",!0),i(l,u,f,"<","\\lt",!0),i(l,u,f,"\u2192","\\rightarrow",!0),i(l,u,f,"\u2192","\\to"),i(l,d,f,"\u2271","\\ngeq",!0),i(l,d,f,"\u2270","\\nleq",!0),i(l,u,A0,"\xa0","\\ "),i(l,u,A0,"\xa0","\\space"),i(l,u,A0,"\xa0","\\nobreakspace"),i(k,u,A0,"\xa0","\\ "),i(k,u,A0,"\xa0"," "),i(k,u,A0,"\xa0","\\space"),i(k,u,A0,"\xa0","\\nobreakspace"),i(l,u,A0,null,"\\nobreak"),i(l,u,A0,null,"\\allowbreak"),i(l,u,pe,",",","),i(l,u,pe,";",";"),i(l,d,D,"\u22bc","\\barwedge",!0),i(l,d,D,"\u22bb","\\veebar",!0),i(l,u,D,"\u2299","\\odot",!0),i(l,u,D,"\u2295","\\oplus",!0),i(l,u,D,"\u2297","\\otimes",!0),i(l,u,v,"\u2202","\\partial",!0),i(l,u,D,"\u2298","\\oslash",!0),i(l,d,D,"\u229a","\\circledcirc",!0),i(l,d,D,"\u22a1","\\boxdot",!0),i(l,u,D,"\u25b3","\\bigtriangleup"),i(l,u,D,"\u25bd","\\bigtriangledown"),i(l,u,D,"\u2020","\\dagger"),i(l,u,D,"\u22c4","\\diamond"),i(l,u,D,"\u22c6","\\star"),i(l,u,D,"\u25c3","\\triangleleft"),i(l,u,D,"\u25b9","\\triangleright"),i(l,u,h0,"{","\\{"),i(k,u,v,"{","\\{"),i(k,u,v,"{","\\textbraceleft"),i(l,u,a0,"}","\\}"),i(k,u,v,"}","\\}"),i(k,u,v,"}","\\textbraceright"),i(l,u,h0,"{","\\lbrace"),i(l,u,a0,"}","\\rbrace"),i(l,u,h0,"[","\\lbrack",!0),i(k,u,v,"[","\\lbrack",!0),i(l,u,a0,"]","\\rbrack",!0),i(k,u,v,"]","\\rbrack",!0),i(l,u,h0,"(","\\lparen",!0),i(l,u,a0,")","\\rparen",!0),i(k,u,v,"<","\\textless",!0),i(k,u,v,">","\\textgreater",!0),i(l,u,h0,"\u230a","\\lfloor",!0),i(l,u,a0,"\u230b","\\rfloor",!0),i(l,u,h0,"\u2308","\\lceil",!0),i(l,u,a0,"\u2309","\\rceil",!0),i(l,u,v,"\\","\\backslash"),i(l,u,v,"\u2223","|"),i(l,u,v,"\u2223","\\vert"),i(k,u,v,"|","\\textbar",!0),i(l,u,v,"\u2225","\\|"),i(l,u,v,"\u2225","\\Vert"),i(k,u,v,"\u2225","\\textbardbl"),i(k,u,v,"~","\\textasciitilde"),i(k,u,v,"\\","\\textbackslash"),i(k,u,v,"^","\\textasciicircum"),i(l,u,f,"\u2191","\\uparrow",!0),i(l,u,f,"\u21d1","\\Uparrow",!0),i(l,u,f,"\u2193","\\downarrow",!0),i(l,u,f,"\u21d3","\\Downarrow",!0),i(l,u,f,"\u2195","\\updownarrow",!0),i(l,u,f,"\u21d5","\\Updownarrow",!0),i(l,u,_,"\u2210","\\coprod"),i(l,u,_,"\u22c1","\\bigvee"),i(l,u,_,"\u22c0","\\bigwedge"),i(l,u,_,"\u2a04","\\biguplus"),i(l,u,_,"\u22c2","\\bigcap"),i(l,u,_,"\u22c3","\\bigcup"),i(l,u,_,"\u222b","\\int"),i(l,u,_,"\u222b","\\intop"),i(l,u,_,"\u222c","\\iint"),i(l,u,_,"\u222d","\\iiint"),i(l,u,_,"\u220f","\\prod"),i(l,u,_,"\u2211","\\sum"),i(l,u,_,"\u2a02","\\bigotimes"),i(l,u,_,"\u2a01","\\bigoplus"),i(l,u,_,"\u2a00","\\bigodot"),i(l,u,_,"\u222e","\\oint"),i(l,u,_,"\u222f","\\oiint"),i(l,u,_,"\u2230","\\oiiint"),i(l,u,_,"\u2a06","\\bigsqcup"),i(l,u,_,"\u222b","\\smallint"),i(k,u,Z0,"\u2026","\\textellipsis"),i(l,u,Z0,"\u2026","\\mathellipsis"),i(k,u,Z0,"\u2026","\\ldots",!0),i(l,u,Z0,"\u2026","\\ldots",!0),i(l,u,Z0,"\u22ef","\\@cdots",!0),i(l,u,Z0,"\u22f1","\\ddots",!0),i(l,u,v,"\u22ee","\\varvdots"),i(l,u,W,"\u02ca","\\acute"),i(l,u,W,"\u02cb","\\grave"),i(l,u,W,"\xa8","\\ddot"),i(l,u,W,"~","\\tilde"),i(l,u,W,"\u02c9","\\bar"),i(l,u,W,"\u02d8","\\breve"),i(l,u,W,"\u02c7","\\check"),i(l,u,W,"^","\\hat"),i(l,u,W,"\u20d7","\\vec"),i(l,u,W,"\u02d9","\\dot"),i(l,u,W,"\u02da","\\mathring"),i(l,u,R,"\ue131","\\@imath"),i(l,u,R,"\ue237","\\@jmath"),i(l,u,v,"\u0131","\u0131"),i(l,u,v,"\u0237","\u0237"),i(k,u,v,"\u0131","\\i",!0),i(k,u,v,"\u0237","\\j",!0),i(k,u,v,"\xdf","\\ss",!0),i(k,u,v,"\xe6","\\ae",!0),i(k,u,v,"\u0153","\\oe",!0),i(k,u,v,"\xf8","\\o",!0),i(k,u,v,"\xc6","\\AE",!0),i(k,u,v,"\u0152","\\OE",!0),i(k,u,v,"\xd8","\\O",!0),i(k,u,W,"\u02ca","\\'"),i(k,u,W,"\u02cb","\\`"),i(k,u,W,"\u02c6","\\^"),i(k,u,W,"\u02dc","\\~"),i(k,u,W,"\u02c9","\\="),i(k,u,W,"\u02d8","\\u"),i(k,u,W,"\u02d9","\\."),i(k,u,W,"\xb8","\\c"),i(k,u,W,"\u02da","\\r"),i(k,u,W,"\u02c7","\\v"),i(k,u,W,"\xa8",'\\"'),i(k,u,W,"\u02dd","\\H"),i(k,u,W,"\u25ef","\\textcircled");var Ut={"--":!0,"---":!0,"``":!0,"''":!0};i(k,u,v,"\u2013","--",!0),i(k,u,v,"\u2013","\\textendash"),i(k,u,v,"\u2014","---",!0),i(k,u,v,"\u2014","\\textemdash"),i(k,u,v,"\u2018","`",!0),i(k,u,v,"\u2018","\\textquoteleft"),i(k,u,v,"\u2019","'",!0),i(k,u,v,"\u2019","\\textquoteright"),i(k,u,v,"\u201c","``",!0),i(k,u,v,"\u201c","\\textquotedblleft"),i(k,u,v,"\u201d","''",!0),i(k,u,v,"\u201d","\\textquotedblright"),i(l,u,v,"\xb0","\\degree",!0),i(k,u,v,"\xb0","\\degree"),i(k,u,v,"\xb0","\\textdegree",!0),i(l,u,v,"\xa3","\\pounds"),i(l,u,v,"\xa3","\\mathsterling",!0),i(k,u,v,"\xa3","\\pounds"),i(k,u,v,"\xa3","\\textsterling",!0),i(l,d,v,"\u2720","\\maltese"),i(k,d,v,"\u2720","\\maltese");for(var Yt='0123456789/@."',Xe=0;Xe{if(E0(r.classes)!==E0(e.classes)||r.skew!==e.skew||r.maxFontSize!==e.maxFontSize)return!1;if(1===r.classes.length){var t=r.classes[0];if("mbin"===t||"mord"===t)return!1}for(var a in r.style)if(r.style.hasOwnProperty(a)&&r.style[a]!==e.style[a])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&r.style[n]!==e.style[n])return!1;return!0},Ke=function(e){for(var t=0,a=0,n=0,s=0;st&&(t=o.height),o.depth>a&&(a=o.depth),o.maxFontSize>n&&(n=o.maxFontSize)}e.height=t,e.depth=a,e.maxFontSize=n},s0=function(e,t,a,n){var s=new ne(e,t,a,n);return Ke(s),s},Zt=(r,e,t,a)=>new ne(r,e,t,a),Kt=function(e){var t=new ae(e);return Ke(t),t},we=function(e,t,a){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===a?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Jt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Qt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},b={fontMap:Jt,makeSymbol:g0,mathsym:function(e,t,a,n){return void 0===n&&(n=[]),"boldsymbol"===a.font&&xe(e,"Main-Bold",t).metrics?g0(e,"Main-Bold",t,a,n.concat(["mathbf"])):"\\"===e||"main"===$[t][e].font?g0(e,"Main-Regular",t,a,n):g0(e,"AMS-Regular",t,a,n.concat(["amsrm"]))},makeSpan:s0,makeSvgSpan:Zt,makeLineSpan:function(e,t,a){var n=s0([e],[],t);return n.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=A(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,a,n){var s=new Ue(e,t,a,n);return Ke(s),s},makeFragment:Kt,wrapFragment:function(e,t){return e instanceof ae?s0([],[e],t):e},makeVList:function(e,t){for(var{children:a,depth:n}=function(e){if("individualShift"===e.positionType){for(var t=e.children,a=[t[0]],n=-t[0].shift-t[0].elem.depth,s=n,o=1;o0)return g0(s,p,n,t,o.concat(g));if(c){var y,w;if("boldsymbol"===c){var x=function(e,t,a,n,s){return"textord"!==s&&xe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(s,n,0,0,a);y=x.fontName,w=[x.fontClass]}else h?(y=Jt[c].fontName,w=[c]):(y=we(c,t.fontWeight,t.fontShape),w=[c,t.fontWeight,t.fontShape]);if(xe(s,y,n).metrics)return g0(s,y,n,t,o.concat(w));if(Ut.hasOwnProperty(s)&&"Typewriter"===y.slice(0,10)){for(var z=[],T=0;T{var t=s0(["mspace"],[],e),a=j(r,e);return t.style.marginRight=A(a),t},staticSvg:function(e,t){var[a,n,s]=Qt[e],o=new R0(a),h=new z0([o],{width:A(n),height:A(s),style:"width:"+A(n),viewBox:"0 0 "+1e3*n+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),c=Zt(["overlay"],[h],t);return c.height=s,c.style.height=A(s),c.style.width=A(n),c},svgData:Qt,tryCombineChars:r=>{for(var e=0;e{var C=T.classes[0],N=z.classes[0];"mbin"===C&&q.contains(h1,N)?T.classes[0]="mord":"mbin"===N&&q.contains(u1,C)&&(z.classes[0]="mord")},{node:y},w,x),er(s,(z,T)=>{var C=Je(T),N=Je(z),O=C&&N?z.hasClass("mtight")?o1[C][N]:l1[C][N]:null;if(O)return b.makeGlue(O,p)},{node:y},w,x),s},er=function r(e,t,a,n,s){n&&e.push(n);for(var o=0;ow=>{e.splice(y+1,0,w),o++})(o)}}n&&e.pop()},tr=function(e){return e instanceof ae||e instanceof Ue||e instanceof ne&&e.hasClass("enclosing")?e:null},d1=function r(e,t){var a=tr(e);if(a){var n=a.children;if(n.length){if("right"===t)return r(n[n.length-1],"right");if("left"===t)return r(n[0],"left")}}return e},Je=function(e,t){return e?(t&&(e=d1(e,t)),c1[e.classes[0]]||null):null},ie=function(e,t){var a=["nulldelimiter"].concat(e.baseSizingClasses());return B0(t.concat(a))},P=function(e,t,a){if(!e)return B0();if(ke[e.type]){var n=ke[e.type](e,t);if(a&&t.size!==a.size){n=B0(t.sizingClasses(a),[n],t);var s=t.sizeMultiplier/a.sizeMultiplier;n.height*=s,n.depth*=s}return n}throw new M("Got group of unknown type: '"+e.type+"'")};function ze(r,e){var t=B0(["base"],r,e),a=B0(["strut"]);return a.style.height=A(t.height+t.depth),t.depth&&(a.style.verticalAlign=A(-t.depth)),t.children.unshift(a),t}function Qe(r,e){var t=null;1===r.length&&"tag"===r[0].type&&(t=r[0].tag,r=r[0].body);var n,p,a=e0(r,e,"root");2===a.length&&a[1].hasClass("tag")&&(n=a.pop());for(var s=[],o=[],h=0;h0&&(s.push(ze(o,e)),o=[]),s.push(a[h]));o.length>0&&s.push(ze(o,e)),t?((p=ze(e0(t,e,!0))).classes=["tag"],s.push(p)):n&&s.push(n);var g=B0(["katex-html"],s);if(g.setAttribute("aria-hidden","true"),p){var y=p.children[0];y.style.height=A(g.height+g.depth),g.depth&&(y.style.verticalAlign=A(-g.depth))}return g}function rr(r){return new ae(r)}class f0{constructor(e,t,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=a||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=E0(this.classes));for(var a=0;a0&&(e+=' class ="'+q.escape(E0(this.classes))+'"'),e+=">";for(var a=0;a"}toText(){return this.children.map(e=>e.toText()).join("")}}class se{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return q.escape(this.toText())}toText(){return this.text}}var S={MathNode:f0,TextNode:se,SpaceNode:class f1{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",A(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:rr},p0=function(e,t,a){return $[t][e]&&$[t][e].replace&&55349!==e.charCodeAt(0)&&!(Ut.hasOwnProperty(e)&&a&&(a.fontFamily&&"tt"===a.fontFamily.slice(4,6)||a.font&&"tt"===a.font.slice(4,6)))&&(e=$[t][e].replace),new S.TextNode(e)},_e=function(e){return 1===e.length?e[0]:new S.MathNode("mrow",e)},et=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var a=t.font;if(!a||"mathnormal"===a)return null;var n=e.mode;if("mathit"===a)return"italic";if("boldsymbol"===a)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===a)return"bold";if("mathbb"===a)return"double-struck";if("mathfrak"===a)return"fraktur";if("mathscr"===a||"mathcal"===a)return"script";if("mathsf"===a)return"sans-serif";if("mathtt"===a)return"monospace";var s=e.text;return q.contains(["\\imath","\\jmath"],s)?null:($[n][s]&&$[n][s].replace&&(s=$[n][s].replace),Pe(s,b.fontMap[a].fontName,n)?b.fontMap[a].variant:null)},l0=function(e,t,a){if(1===e.length){var n=X(e[0],t);return a&&n instanceof f0&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,s=[],h=0;h0&&(y.text=y.text.slice(0,1)+"\u0338"+y.text.slice(1),s.pop())}}}s.push(c),o=c}return s},O0=function(e,t,a){return _e(l0(e,t,a))},X=function(e,t){if(!e)return new S.MathNode("mrow");if(Se[e.type])return Se[e.type](e,t);throw new M("Got group of unknown type: '"+e.type+"'")};function ar(r,e,t,a,n){var o,s=l0(r,t);o=1===s.length&&s[0]instanceof f0&&q.contains(["mrow","mtable"],s[0].type)?s[0]:new S.MathNode("mrow",s);var h=new S.MathNode("annotation",[new S.TextNode(e)]);h.setAttribute("encoding","application/x-tex");var c=new S.MathNode("semantics",[o,h]),p=new S.MathNode("math",[c]);return p.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&p.setAttribute("display","block"),b.makeSpan([n?"katex":"katex-mathml"],[p])}var nr=function(e){return new Ga({style:e.displayMode?E.DISPLAY:E.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},ir=function(e,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),e=b.makeSpan(a,[e])}return e},g1={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},y1={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},D0_mathMLnode=function(e){var t=new S.MathNode("mo",[new S.TextNode(g1[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},D0_svgSpan=function(e,t){var{span:n,minWidth:s,height:o}=function a(){var h=4e5,c=e.label.slice(1);if(q.contains(["widehat","widecheck","widetilde","utilde"],c)){var y,w,x,g=function(e){return"ordgroup"===e.type?e.body.length:1}(e.base);if(g>5)"widehat"===c||"widecheck"===c?(y=420,h=2364,x=.42,w=c+"4"):(y=312,h=2340,x=.34,w="tilde4");else{var z=[1,1,2,2,3,3][g];"widehat"===c||"widecheck"===c?(h=[0,1062,2364,2364,2364][z],y=[0,239,300,360,420][z],x=[0,.24,.3,.3,.36,.42][z],w=c+z):(h=[0,600,1033,2339,2340][z],y=[0,260,286,306,312][z],x=[0,.26,.286,.3,.306,.34][z],w="tilde"+z)}var T=new R0(w),C=new z0([T],{width:"100%",height:A(x),viewBox:"0 0 "+h+" "+y,preserveAspectRatio:"none"});return{span:b.makeSvgSpan([],[C],t),minWidth:0,height:x}}var K,Y,N=[],O=y1[c],[F,V,L]=O,U=L/1e3,G=F.length;if(1===G)K=["hide-tail"],Y=[O[3]];else if(2===G)K=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else{if(3!==G)throw new Error("Correct katexImagesData or update code here to support\n "+G+" children.");K=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"]}for(var i0=0;i00&&(n.style.minWidth=A(s)),n};function H(r,e){if(!r||r.type!==e)throw new Error("Expected node of type "+e+", but got "+(r?"node of type "+r.type:String(r)));return r}function tt(r){var e=Ae(r);if(!e)throw new Error("Expected node of symbol group type, but got "+(r?"node of type "+r.type:String(r)));return e}function Ae(r){return r&&("atom"===r.type||Wa.hasOwnProperty(r.type))?r:null}var rt=(r,e)=>{var t,a,n;r&&"supsub"===r.type?(a=H(r.base,"accent"),r.base=t=a.base,n=function Xa(r){if(r instanceof ne)return r;throw new Error("Expected span but got "+String(r)+".")}(P(r,e)),r.base=a):t=(a=H(r,"accent")).base;var s=P(t,e.havingCrampedStyle()),h=0;if(a.isShifty&&q.isCharacterBox(t)){var c=q.getBaseElem(t);h=Vt(P(c,e.havingCrampedStyle())).skew}var w,g="\\c"===a.label,y=g?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight);if(a.isStretchy)w=D0_svgSpan(a,e),w=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:w,wrapperClasses:["svg-align"],wrapperStyle:h>0?{width:"calc(100% - "+A(2*h)+")",marginLeft:A(2*h)}:void 0}]},e);else{var x,z;"\\vec"===a.label?(x=b.staticSvg("vec",e),z=b.svgData.vec[1]):((x=Vt(x=b.makeOrd({mode:a.mode,text:a.label},e,"textord"))).italic=0,z=x.width,g&&(y+=x.depth)),w=b.makeSpan(["accent-body"],[x]);var T="\\textcircled"===a.label;T&&(w.classes.push("accent-full"),y=s.height);var C=h;T||(C-=z/2),w.style.left=A(C),"\\textcircled"===a.label&&(w.style.top=".2em"),w=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-y},{type:"elem",elem:w}]},e)}var N=b.makeSpan(["mord","accent"],[w],e);return n?(n.children[0]=N,n.height=Math.max(N.height,n.height),n.classes[0]="mord",n):N},sr=(r,e)=>{var t=r.isStretchy?D0_mathMLnode(r.label):new S.MathNode("mo",[p0(r.label,r.mode)]),a=new S.MathNode("mover",[X(r.base,e),t]);return a.setAttribute("accent","true"),a},S1=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(r=>"\\"+r).join("|"));B({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(r,e)=>{var t=Me(e[0]),a=!S1.test(r.funcName);return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:a,isShifty:!a||"\\widehat"===r.funcName||"\\widetilde"===r.funcName||"\\widecheck"===r.funcName,base:t}},htmlBuilder:rt,mathmlBuilder:sr}),B({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(r,e)=>{var t=e[0],a=r.parser.mode;return"math"===a&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:r.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:rt,mathmlBuilder:sr}),B({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(r,e)=>{var{parser:t,funcName:a}=r;return{type:"accentUnder",mode:t.mode,label:a,base:e[0]}},htmlBuilder:(r,e)=>{var t=P(r.base,e),a=D0_svgSpan(r,e),s=b.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:"\\utilde"===r.label?.12:0},{type:"elem",elem:t}]},e);return b.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(r,e)=>{var t=D0_mathMLnode(r.label),a=new S.MathNode("munder",[X(r.base,e),t]);return a.setAttribute("accentunder","true"),a}});var Te=r=>{var e=new S.MathNode("mpadded",r?[r]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};B({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(r,e,t){var{parser:a,funcName:n}=r;return{type:"xArrow",mode:a.mode,label:n,body:e[0],below:t[0]}},htmlBuilder(r,e){var o,t=e.style,a=e.havingStyle(t.sup()),n=b.wrapFragment(P(r.body,a,e),e),s="\\x"===r.label.slice(0,2)?"x":"cd";n.classes.push(s+"-arrow-pad"),r.below&&(a=e.havingStyle(t.sub()),(o=b.wrapFragment(P(r.below,a,e),e)).classes.push(s+"-arrow-pad"));var g,h=D0_svgSpan(r,e),c=-e.fontMetrics().axisHeight+.5*h.height,p=-e.fontMetrics().axisHeight-.5*h.height-.111;if((n.depth>.25||"\\xleftequilibrium"===r.label)&&(p-=n.depth),o){var y=-e.fontMetrics().axisHeight+o.height+.5*h.height+.111;g=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p},{type:"elem",elem:h,shift:c},{type:"elem",elem:o,shift:y}]},e)}else g=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p},{type:"elem",elem:h,shift:c}]},e);return g.children[0].children[0].children[1].classes.push("svg-align"),b.makeSpan(["mrel","x-arrow"],[g],e)},mathmlBuilder(r,e){var a,t=D0_mathMLnode(r.label);if(t.setAttribute("minsize","x"===r.label.charAt(0)?"1.75em":"3.0em"),r.body){var n=Te(X(r.body,e));if(r.below){var s=Te(X(r.below,e));a=new S.MathNode("munderover",[t,s,n])}else a=new S.MathNode("mover",[t,n])}else if(r.below){var o=Te(X(r.below,e));a=new S.MathNode("munder",[t,o])}else a=Te(),a=new S.MathNode("mover",[t,a]);return a}});var M1=b.makeSpan;function lr(r,e){var t=e0(r.body,e,!0);return M1([r.mclass],t,e)}function or(r,e){var t,a=l0(r.body,e);return"minner"===r.mclass?t=new S.MathNode("mpadded",a):"mord"===r.mclass?r.isCharacterBox?(t=a[0]).type="mi":t=new S.MathNode("mi",a):(r.isCharacterBox?(t=a[0]).type="mo":t=new S.MathNode("mo",a),"mbin"===r.mclass?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):"mpunct"===r.mclass?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):"mopen"===r.mclass||"mclose"===r.mclass?(t.attributes.lspace="0em",t.attributes.rspace="0em"):"minner"===r.mclass&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}B({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(r,e){var{parser:t,funcName:a}=r,n=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:Q(n),isCharacterBox:q.isCharacterBox(n)}},htmlBuilder:lr,mathmlBuilder:or});var Be=r=>{var e="ordgroup"===r.type&&r.body.length?r.body[0]:r;return"atom"!==e.type||"bin"!==e.family&&"rel"!==e.family?"mord":"m"+e.family};B({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(r,e){var{parser:t}=r;return{type:"mclass",mode:t.mode,mclass:Be(e[0]),body:Q(e[1]),isCharacterBox:q.isCharacterBox(e[1])}}}),B({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(r,e){var o,{parser:t,funcName:a}=r,n=e[1],s=e[0];o="\\stackrel"!==a?Be(n):"mrel";var h={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==a,body:Q(n)},c={type:"supsub",mode:s.mode,base:h,sup:"\\underset"===a?null:s,sub:"\\underset"===a?s:null};return{type:"mclass",mode:t.mode,mclass:o,body:[c],isCharacterBox:q.isCharacterBox(c)}},htmlBuilder:lr,mathmlBuilder:or}),B({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"pmb",mode:t.mode,mclass:Be(e[0]),body:Q(e[0])}},htmlBuilder(r,e){var t=e0(r.body,e,!0),a=b.makeSpan([r.mclass],t,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(r,e){var t=l0(r.body,e),a=new S.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var z1={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},hr=r=>"textord"===r.type&&"@"===r.text,A1=(r,e)=>("mathord"===r.type||"atom"===r.type)&&r.text===e;function T1(r,e,t){var a=z1[r];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":var n=t.callFunction("\\\\cdleft",[e[0]],[]),o=t.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),h=t.callFunction("\\\\cdright",[e[1]],[]);return t.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,o,h]}],[]);case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return t.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}B({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:a}=r;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:e[0]}},htmlBuilder(r,e){var t=e.havingStyle(e.style.sup()),a=b.wrapFragment(P(r.label,t,e),e);return a.classes.push("cd-label-"+r.side),a.style.bottom=A(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(r,e){var t=new S.MathNode("mrow",[X(r.label,e)]);return(t=new S.MathNode("mpadded",[t])).setAttribute("width","0"),"left"===r.side&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),(t=new S.MathNode("mstyle",[t])).setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),B({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(r,e){var{parser:t}=r;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(r,e){var t=b.wrapFragment(P(r.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder:(r,e)=>new S.MathNode("mrow",[X(r.fragment,e)])}),B({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(r,e){for(var{parser:t}=r,n=H(e[0],"ordgroup").body,s="",o=0;o=1114111)throw new M("\\@char with invalid code point "+s);return c<=65535?p=String.fromCharCode(c):(c-=65536,p=String.fromCharCode(55296+(c>>10),56320+(1023&c))),{type:"textord",mode:t.mode,text:p}}});var mr=(r,e)=>{var t=e0(r.body,e.withColor(r.color),!1);return b.makeFragment(t)},cr=(r,e)=>{var t=l0(r.body,e.withColor(r.color)),a=new S.MathNode("mstyle",t);return a.setAttribute("mathcolor",r.color),a};B({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(r,e){var{parser:t}=r,a=H(e[0],"color-token").color;return{type:"color",mode:t.mode,color:a,body:Q(e[1])}},htmlBuilder:mr,mathmlBuilder:cr}),B({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(r,e){var{parser:t,breakOnTokenText:a}=r,n=H(e[0],"color-token").color;t.gullet.macros.set("\\current@color",n);var s=t.parseExpression(!0,a);return{type:"color",mode:t.mode,color:n,body:s}},htmlBuilder:mr,mathmlBuilder:cr}),B({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(r,e,t){var{parser:a}=r,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,s=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:s,size:n&&H(n,"size").value}},htmlBuilder(r,e){var t=b.makeSpan(["mspace"],[],e);return r.newLine&&(t.classes.push("newline"),r.size&&(t.style.marginTop=A(j(r.size,e)))),t},mathmlBuilder(r,e){var t=new S.MathNode("mspace");return r.newLine&&(t.setAttribute("linebreak","newline"),r.size&&t.setAttribute("height",A(j(r.size,e)))),t}});var at={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},dr=r=>{var e=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new M("Expected a control sequence",r);return e},fr=(r,e,t,a)=>{var n=r.gullet.macros.get(t.text);null==n&&(t.noexpand=!0,n={tokens:[t],numArgs:0,unexpandable:!r.gullet.isExpandable(t.text)}),r.gullet.macros.set(e,n,a)};B({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(r){var{parser:e,funcName:t}=r;e.consumeSpaces();var a=e.fetch();if(at[a.text])return("\\global"===t||"\\\\globallong"===t)&&(a.text=at[a.text]),H(e.parseFunction(),"internal");throw new M("Invalid token after macro prefix",a)}}),B({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,a=e.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new M("Expected a control sequence",a);for(var o,s=0,h=[[]];"{"!==e.gullet.future().text;)if("#"===(a=e.gullet.popToken()).text){if("{"===e.gullet.future().text){o=e.gullet.future(),h[s].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new M('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new M('Argument number "'+a.text+'" out of order');s++,h.push([])}else{if("EOF"===a.text)throw new M("Expected a macro definition");h[s].push(a.text)}var{tokens:c}=e.gullet.consumeArg();return o&&c.unshift(o),("\\edef"===t||"\\xdef"===t)&&(c=e.gullet.expandTokens(c)).reverse(),e.gullet.macros.set(n,{tokens:c,numArgs:s,delimiters:h},t===at[t]),{type:"internal",mode:e.mode}}}),B({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,a=dr(e.gullet.popToken());e.gullet.consumeSpaces();var n=(r=>{var e=r.gullet.popToken();return"="===e.text&&" "===(e=r.gullet.popToken()).text&&(e=r.gullet.popToken()),e})(e);return fr(e,a,n,"\\\\globallet"===t),{type:"internal",mode:e.mode}}}),B({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,a=dr(e.gullet.popToken()),n=e.gullet.popToken(),s=e.gullet.popToken();return fr(e,a,s,"\\\\globalfuture"===t),e.gullet.pushToken(s),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var le=function(e,t,a){var s=Pe($.math[e]&&$.math[e].replace||e,t,a);if(!s)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return s},nt=function(e,t,a,n){var s=a.havingBaseStyle(t),o=b.makeSpan(n.concat(s.sizingClasses(a)),[e],a),h=s.sizeMultiplier/a.sizeMultiplier;return o.height*=h,o.depth*=h,o.maxFontSize=s.sizeMultiplier,o},pr=function(e,t,a){var n=t.havingBaseStyle(a),s=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=A(s),e.height-=s,e.depth+=s},vr=function(e,t,a,n,s,o){var h=function(e,t,a,n){return b.makeSymbol(e,"Size"+t+"-Regular",a,n)}(e,t,s,n),c=nt(b.makeSpan(["delimsizing","size"+t],[h],n),E.TEXT,n,o);return a&&pr(c,n,E.TEXT),c},it=function(e,t,a){return{type:"elem",elem:b.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[b.makeSpan([],[b.makeSymbol(e,t,a)])])}},st=function(e,t,a){var n=x0["Size4-Regular"][e.charCodeAt(0)]?x0["Size4-Regular"][e.charCodeAt(0)][4]:x0["Size1-Regular"][e.charCodeAt(0)][4],s=new R0("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),o=new z0([s],{width:A(n),height:A(t),style:"width:"+A(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),h=b.makeSvgSpan([],[o],a);return h.height=t,h.style.height=A(t),h.style.width=A(n),{type:"elem",elem:h}},De={type:"kern",size:-.008},q1=["|","\\lvert","\\rvert","\\vert"],E1=["\\|","\\lVert","\\rVert","\\Vert"],gr=function(e,t,a,n,s,o){var h,c,p,g,y="",w=0;h=p=g=e,c=null;var x="Size1-Regular";"\\uparrow"===e?p=g="\u23d0":"\\Uparrow"===e?p=g="\u2016":"\\downarrow"===e?h=p="\u23d0":"\\Downarrow"===e?h=p="\u2016":"\\updownarrow"===e?(h="\\uparrow",p="\u23d0",g="\\downarrow"):"\\Updownarrow"===e?(h="\\Uparrow",p="\u2016",g="\\Downarrow"):q.contains(q1,e)?(p="\u2223",y="vert",w=333):q.contains(E1,e)?(p="\u2225",y="doublevert",w=556):"["===e||"\\lbrack"===e?(h="\u23a1",p="\u23a2",g="\u23a3",x="Size4-Regular",y="lbrack",w=667):"]"===e||"\\rbrack"===e?(h="\u23a4",p="\u23a5",g="\u23a6",x="Size4-Regular",y="rbrack",w=667):"\\lfloor"===e||"\u230a"===e?(p=h="\u23a2",g="\u23a3",x="Size4-Regular",y="lfloor",w=667):"\\lceil"===e||"\u2308"===e?(h="\u23a1",p=g="\u23a2",x="Size4-Regular",y="lceil",w=667):"\\rfloor"===e||"\u230b"===e?(p=h="\u23a5",g="\u23a6",x="Size4-Regular",y="rfloor",w=667):"\\rceil"===e||"\u2309"===e?(h="\u23a4",p=g="\u23a5",x="Size4-Regular",y="rceil",w=667):"("===e||"\\lparen"===e?(h="\u239b",p="\u239c",g="\u239d",x="Size4-Regular",y="lparen",w=875):")"===e||"\\rparen"===e?(h="\u239e",p="\u239f",g="\u23a0",x="Size4-Regular",y="rparen",w=875):"\\{"===e||"\\lbrace"===e?(h="\u23a7",c="\u23a8",g="\u23a9",p="\u23aa",x="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(h="\u23ab",c="\u23ac",g="\u23ad",p="\u23aa",x="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(h="\u23a7",g="\u23a9",p="\u23aa",x="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(h="\u23ab",g="\u23ad",p="\u23aa",x="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(h="\u23a7",g="\u23ad",p="\u23aa",x="Size4-Regular"):("\\rmoustache"===e||"\u23b1"===e)&&(h="\u23ab",g="\u23a9",p="\u23aa",x="Size4-Regular");var z=le(h,x,s),T=z.height+z.depth,C=le(p,x,s),N=C.height+C.depth,O=le(g,x,s),F=O.height+O.depth,V=0,L=1;if(null!==c){var U=le(c,x,s);V=U.height+U.depth,L=2}var G=T+F+V,Y=G+Math.max(0,Math.ceil((t-G)/(L*N)))*L*N,N0=n.fontMetrics().axisHeight;a&&(N0*=n.sizeMultiplier);var i0=Y/2-N0,t0=[];if(y.length>0){var X0=Y-T-F,o0=Math.round(1e3*Y),b0=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(y,Math.round(1e3*X0)),L0=new R0(y,b0),J0=(w/1e3).toFixed(3)+"em",Q0=(o0/1e3).toFixed(3)+"em",At=new z0([L0],{width:J0,height:Q0,viewBox:"0 0 "+w+" "+o0}),P0=b.makeSvgSpan([],[At],n);P0.height=o0/1e3,P0.style.width=J0,P0.style.height=Q0,t0.push({type:"elem",elem:P0})}else{if(t0.push(it(g,x,s)),t0.push(De),null===c)t0.push(st(p,Y-T-F+.016,n));else{var v0=(Y-T-F-V)/2+.016;t0.push(st(p,v0,n)),t0.push(De),t0.push(it(c,x,s)),t0.push(De),t0.push(st(p,v0,n))}t0.push(De),t0.push(it(h,x,s))}var he=n.havingBaseStyle(E.TEXT),Tt=b.makeVList({positionType:"bottom",positionData:i0,children:t0},he);return nt(b.makeSpan(["delimsizing","mult"],[Tt],he),E.TEXT,n,o)},ht=function(e,t,a,n,s){var o=function(e,t,a){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e,t){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":n=function(e,t){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":n=function(e,t){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":n=function(e,t){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":n=function(e,t){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":n=function(e,t,a){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(a-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,a)}return n}(e,n,a),h=new R0(e,o),c=new z0([h],{width:"400em",height:A(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return b.makeSvgSpan(["hide-tail"],[c],s)},br=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],I1=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],yr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],oe=[0,1.2,1.8,2.4,3],F1=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],H1=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"stack"}],xr=[{type:"small",style:E.SCRIPTSCRIPT},{type:"small",style:E.SCRIPT},{type:"small",style:E.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],L1=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},wr=function(e,t,a,n){for(var o=Math.min(2,3-n.style.size);ot)return a[o]}return a[a.length-1]},kr=function(e,t,a,n,s,o){var h;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27e9"===e)&&(e="\\rangle"),h=q.contains(yr,e)?F1:q.contains(br,e)?xr:H1;var c=wr(e,t,h,n);return"small"===c.type?function(e,t,a,n,s,o){var h=b.makeSymbol(e,"Main-Regular",s,n),c=nt(h,t,n,o);return a&&pr(c,n,t),c}(e,c.style,a,n,s,o):"large"===c.type?vr(e,c.size,a,n,s,o):gr(e,t,a,n,s,o)},C0={sqrtImage:function(e,t){var h,y,a=t.havingBaseSizing(),n=wr("\\surd",e*a.sizeMultiplier,xr,a),s=a.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),c=0,p=0,g=0;return"small"===n.type?(e<1?s=1:e<1.4&&(s=.7),p=(1+o)/s,(h=ht("sqrtMain",c=(1+o+.08)/s,g=1e3+1e3*o+80,o,t)).style.minWidth="0.853em",y=.833/s):"large"===n.type?(p=(oe[n.size]+o)/s,(h=ht("sqrtSize"+n.size,c=(oe[n.size]+o+.08)/s,g=1080*oe[n.size],o,t)).style.minWidth="1.02em",y=1/s):(c=e+o+.08,p=e+o,g=Math.floor(1e3*e+o)+80,(h=ht("sqrtTall",c,g,o,t)).style.minWidth="0.742em",y=1.056),h.height=p,h.style.height=A(c),{span:h,advanceWidth:y,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*s}},sizedDelim:function(e,t,a,n,s){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":(">"===e||"\\gt"===e||"\u27e9"===e)&&(e="\\rangle"),q.contains(br,e)||q.contains(yr,e))return vr(e,t,!1,a,n,s);if(q.contains(I1,e))return gr(e,oe[t],!1,a,n,s);throw new M("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:oe,customSizedDelim:kr,leftRightDelim:function(e,t,a,n,s,o){var h=n.fontMetrics().axisHeight*n.sizeMultiplier,p=5/n.fontMetrics().ptPerEm,g=Math.max(t-h,a+h),y=Math.max(g/500*901,2*g-p);return kr(e,y,!0,n,s,o)}},Sr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},G1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ce(r,e){var t=Ae(r);if(t&&q.contains(G1,t.text))return t;throw new M(t?"Invalid delimiter '"+t.text+"' after '"+e.funcName+"'":"Invalid delimiter type '"+r.type+"'",r)}function Mr(r){if(!r.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}B({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(r,e)=>{var t=Ce(e[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Sr[r.funcName].size,mclass:Sr[r.funcName].mclass,delim:t.text}},htmlBuilder:(r,e)=>"."===r.delim?b.makeSpan([r.mclass]):C0.sizedDelim(r.delim,r.size,e,r.mode,[r.mclass]),mathmlBuilder:r=>{var e=[];"."!==r.delim&&e.push(p0(r.delim,r.mode));var t=new S.MathNode("mo",e);t.setAttribute("fence","mopen"===r.mclass||"mclose"===r.mclass?"true":"false"),t.setAttribute("stretchy","true");var a=A(C0.sizeToMaxHeight[r.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}}),B({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=r.parser.gullet.macros.get("\\current@color");if(t&&"string"!=typeof t)throw new M("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Ce(e[0],r).text,color:t}}}),B({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=Ce(e[0],r),a=r.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var s=H(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:t.text,right:s.delim,rightColor:s.color}},htmlBuilder:(r,e)=>{Mr(r);for(var t=e0(r.body,e,!0,["mopen","mclose"]),a=0,n=0,s=!1,o=0;o{Mr(r);var t=l0(r.body,e);if("."!==r.left){var a=new S.MathNode("mo",[p0(r.left,r.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if("."!==r.right){var n=new S.MathNode("mo",[p0(r.right,r.mode)]);n.setAttribute("fence","true"),r.rightColor&&n.setAttribute("mathcolor",r.rightColor),t.push(n)}return _e(t)}}),B({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=Ce(e[0],r);if(!r.parser.leftrightDepth)throw new M("\\middle without preceding \\left",t);return{type:"middle",mode:r.parser.mode,delim:t.text}},htmlBuilder:(r,e)=>{var t;return"."===r.delim?t=ie(e,[]):(t=C0.sizedDelim(r.delim,1,e,r.mode,[])).isMiddle={delim:r.delim,options:e},t},mathmlBuilder:(r,e)=>{var t="\\vert"===r.delim||"|"===r.delim?p0("|","text"):p0(r.delim,r.mode),a=new S.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var mt=(r,e)=>{var s,O,t=b.wrapFragment(P(r.body,e),e),a=r.label.slice(1),n=e.sizeMultiplier,o=0,h=q.isCharacterBox(r.body);if("sout"===a)(s=b.makeSpan(["stretchy","sout"])).height=e.fontMetrics().defaultRuleThickness/n,o=-.5*e.fontMetrics().xHeight;else if("phase"===a){var c=j({number:.6,unit:"pt"},e),p=j({number:.35,unit:"ex"},e);n/=e.havingBaseSizing().sizeMultiplier;var y=t.height+t.depth+c+p;t.style.paddingLeft=A(y/2+c);var w=Math.floor(1e3*y*n),x=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(w),z=new z0([new R0("phase",x)],{width:"400em",height:A(w/1e3),viewBox:"0 0 400000 "+w,preserveAspectRatio:"xMinYMin slice"});(s=b.makeSvgSpan(["hide-tail"],[z],e)).style.height=A(y),o=t.depth+c+p}else{/cancel/.test(a)?h||t.classes.push("cancel-pad"):t.classes.push("angl"===a?"anglpad":"boxpad");var T=0,C=0,N=0;/box/.test(a)?(N=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),C=T=e.fontMetrics().fboxsep+("colorbox"===a?0:N)):"angl"===a?(T=4*(N=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness)),C=Math.max(0,.25-t.depth)):C=T=h?.2:0,s=function(e,t,a,n,s){var o,h=e.height+e.depth+a+n;if(/fbox|color|angl/.test(t)){if(o=b.makeSpan(["stretchy",t],[],s),"fbox"===t){var c=s.color&&s.getColor();c&&(o.style.borderColor=c)}}else{var p=[];/^[bx]cancel$/.test(t)&&p.push(new Ye({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&p.push(new Ye({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new z0(p,{width:"100%",height:A(h)});o=b.makeSvgSpan([],[g],s)}return o.height=h,o.style.height=A(h),o}(t,a,T,C,e),/fbox|boxed|fcolorbox/.test(a)?(s.style.borderStyle="solid",s.style.borderWidth=A(N)):"angl"===a&&.049!==N&&(s.style.borderTopWidth=A(N),s.style.borderRightWidth=A(N)),o=t.depth+C,r.backgroundColor&&(s.style.backgroundColor=r.backgroundColor,r.borderColor&&(s.style.borderColor=r.borderColor))}if(r.backgroundColor)O=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:t,shift:0}]},e);else{var F=/cancel|phase/.test(a)?["svg-align"]:[];O=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:F}]},e)}return/cancel/.test(a)&&(O.height=t.height,O.depth=t.depth),/cancel/.test(a)&&!h?b.makeSpan(["mord","cancel-lap"],[O],e):b.makeSpan(["mord"],[O],e)},ct=(r,e)=>{var t=0,a=new S.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[X(r.body,e)]);switch(r.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*t+"pt"),a.setAttribute("height","+"+2*t+"pt"),a.setAttribute("lspace",t+"pt"),a.setAttribute("voffset",t+"pt"),"\\fcolorbox"===r.label){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(r.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return r.backgroundColor&&a.setAttribute("mathbackground",r.backgroundColor),a};B({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(r,e,t){var{parser:a,funcName:n}=r,s=H(e[0],"color-token").color;return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,body:e[1]}},htmlBuilder:mt,mathmlBuilder:ct}),B({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(r,e,t){var{parser:a,funcName:n}=r,s=H(e[0],"color-token").color,o=H(e[1],"color-token").color;return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:s,body:e[2]}},htmlBuilder:mt,mathmlBuilder:ct}),B({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}}),B({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:a}=r;return{type:"enclose",mode:t.mode,label:a,body:e[0]}},htmlBuilder:mt,mathmlBuilder:ct}),B({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(r,e){var{parser:t}=r;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var zr={};function w0(r){for(var{type:e,names:t,props:a,handler:n,htmlBuilder:s,mathmlBuilder:o}=r,h={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},c=0;c{if(!r.parser.settings.displayMode)throw new M("{"+r.envName+"} can be used only in display mode.")};function dt(r){if(-1===r.indexOf("ed"))return-1===r.indexOf("*")}function F0(r,e,t){var{hskipBeforeAndAfter:a,addJot:n,cols:s,arraystretch:o,colSeparationType:h,autoTag:c,singleRow:p,emptySingleRow:g,maxNumCols:y,leqno:w}=e;if(r.gullet.beginGroup(),p||r.gullet.macros.set("\\cr","\\\\\\relax"),!o){var x=r.gullet.expandMacroAsText("\\arraystretch");if(null==x)o=1;else if(!(o=parseFloat(x))||o<0)throw new M("Invalid \\arraystretch: "+x)}r.gullet.beginGroup();var z=[],T=[z],C=[],N=[],O=null!=c?[]:void 0;function F(){c&&r.gullet.macros.set("\\@eqnsw","1",!0)}function V(){O&&(r.gullet.macros.get("\\df@tag")?(O.push(r.subparse([new m0("\\df@tag")])),r.gullet.macros.set("\\df@tag",void 0,!0)):O.push(Boolean(c)&&"1"===r.gullet.macros.get("\\@eqnsw")))}for(F(),N.push(Tr(r));;){var L=r.parseExpression(!1,p?"\\end":"\\\\");r.gullet.endGroup(),r.gullet.beginGroup(),L={type:"ordgroup",mode:r.mode,body:L},t&&(L={type:"styling",mode:r.mode,style:t,body:[L]}),z.push(L);var U=r.fetch().text;if("&"===U){if(y&&z.length===y){if(p||h)throw new M("Too many tab characters: &",r.nextToken);r.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}r.consume()}else{if("\\end"===U){V(),1===z.length&&"styling"===L.type&&0===L.body[0].body.length&&(T.length>1||!g)&&T.pop(),N.length0&&(F+=.25),p.push({pos:F,isDashed:Ie[Oe]})}for(V(o[0]),a=0;a0&&(G<(i0+=O)&&(G=i0),i0=0),e.addJot&&(G+=T),K.height=U,K.depth=G,K.pos=F+=U,F+=G+i0,c[a]=K,V(o[a+1])}var b0,L0,t0=F/2+t.fontMetrics().axisHeight,X0=e.cols||[],o0=[],J0=[];if(e.tags&&e.tags.some(Ie=>Ie))for(a=0;a=h)){var ee=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(ee=q.deflt(v0.pregap,w))&&((b0=b.makeSpan(["arraycolsep"],[])).style.width=A(ee),o0.push(b0));var te=[];for(a=0;a0){for(var m4=b.makeLineSpan("hline",t,g),c4=b.makeLineSpan("hdashline",t,g),Bt=[{type:"elem",elem:c,shift:0}];p.length>0;){var oa=p.pop(),ua=oa.pos-t0;Bt.push(oa.isDashed?{type:"elem",elem:c4,shift:ua}:{type:"elem",elem:m4,shift:ua})}c=b.makeVList({positionType:"individualShift",children:Bt},t)}if(0===J0.length)return b.makeSpan(["mord"],[c],t);var Dt=b.makeVList({positionType:"individualShift",children:J0},t);return Dt=b.makeSpan(["tag"],[Dt],t),b.makeFragment([c,Dt])},V1={c:"center ",l:"left ",r:"right "},S0=function(e,t){for(var a=[],n=new S.MathNode("mtd",[],["mtr-glue"]),s=new S.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var z=e.cols,T="",C=!1,N=0,O=z.length;"separator"===z[0].type&&(w+="top ",N=1),"separator"===z[z.length-1].type&&(w+="bottom ",O-=1);for(var F=N;F0?"left ":"",w+=K[K.length-1].length>0?"right ":"";for(var Y=1;Y-1?"alignat":"align",s="split"===e.envName,o=F0(e.parser,{cols:a,addJot:!0,autoTag:s?void 0:dt(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),c=0,p={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var g="",y=0;y0&&x&&(C=1),a[z]={type:"align",align:T,pregap:C,postgap:0}}return o.colSeparationType=x?"align":"alignat",o};w0({type:"array",names:["array","darray"],props:{numArgs:1},handler(r,e){var n=(Ae(e[0])?[e[0]]:H(e[0],"ordgroup").body).map(function(o){var c=tt(o).text;if(-1!=="lcr".indexOf(c))return{type:"align",align:c};if("|"===c)return{type:"separator",separator:"|"};if(":"===c)return{type:"separator",separator:":"};throw new M("Unknown column alignment: "+c,o)});return F0(r.parser,{cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length},ft(r.envName))},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(r){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],t="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if("*"===r.envName.charAt(r.envName.length-1)){var n=r.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),t=n.fetch().text,-1==="lcr".indexOf(t))throw new M("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:t}]}}var s=F0(r.parser,a,ft(r.envName)),o=Math.max(0,...s.body.map(h=>h.length));return s.cols=new Array(o).fill({type:"align",align:t}),e?{type:"leftright",mode:r.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(r){var t=F0(r.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["subarray"],props:{numArgs:1},handler(r,e){var n=(Ae(e[0])?[e[0]]:H(e[0],"ordgroup").body).map(function(o){var c=tt(o).text;if(-1!=="lc".indexOf(c))return{type:"align",align:c};throw new M("Unknown column alignment: "+c,o)});if(n.length>1)throw new M("{subarray} can contain only one column");var s={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((s=F0(r.parser,s,"script")).body.length>0&&s.body[0].length>1)throw new M("{subarray} can contain only one column");return s},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(r){var t=F0(r.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ft(r.envName));return{type:"leftright",mode:r.mode,body:[t],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Br,htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(r){q.contains(["gather","gather*"],r.envName)&&Ne(r);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:dt(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return F0(r.parser,e,"display")},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Br,htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(r){Ne(r);var e={autoTag:dt(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return F0(r.parser,e,"display")},htmlBuilder:k0,mathmlBuilder:S0}),w0({type:"array",names:["CD"],props:{numArgs:0},handler:r=>(Ne(r),function B1(r){var e=[];for(r.gullet.beginGroup(),r.gullet.macros.set("\\cr","\\\\\\relax"),r.gullet.beginGroup();;){e.push(r.parseExpression(!1,"\\\\")),r.gullet.endGroup(),r.gullet.beginGroup();var t=r.fetch().text;if("&"!==t&&"\\\\"!==t){if("\\end"===t){0===e[e.length-1].length&&e.pop();break}throw new M("Expected \\\\ or \\cr or \\end",r.nextToken)}r.consume()}for(var a=[],n=[a],s=0;s-1)){if(!("<>AV".indexOf(p)>-1))throw new M('Expected one of "<>AV=|." after @',o[c]);for(var y=0;y<2;y++){for(var w=!0,x=c+1;x{var a=e.withFont(r.font);return P(r.body,a)},Nr=(r,e)=>{var a=e.withFont(r.font);return X(r.body,a)},qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};B({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(r,e)=>{var{parser:t,funcName:a}=r,n=Me(e[0]),s=a;return s in qr&&(s=qr[s]),{type:"font",mode:t.mode,font:s.slice(1),body:n}},htmlBuilder:Cr,mathmlBuilder:Nr}),B({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(r,e)=>{var{parser:t}=r,a=e[0],n=q.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:Be(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),B({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:a,breakOnTokenText:n}=r,{mode:s}=t,o=t.parseExpression(!0,n);return{type:"font",mode:s,font:"math"+a.slice(1),body:{type:"ordgroup",mode:t.mode,body:o}}},htmlBuilder:Cr,mathmlBuilder:Nr});var Er=(r,e)=>{var t=e;return"display"===r?t=t.id>=E.SCRIPT.id?t.text():E.DISPLAY:"text"===r&&t.size===E.DISPLAY.size?t=E.TEXT:"script"===r?t=E.SCRIPT:"scriptscript"===r&&(t=E.SCRIPTSCRIPT),t},pt=(r,e)=>{var s,t=Er(r.size,e.style),a=t.fracNum(),n=t.fracDen();s=e.havingStyle(a);var o=P(r.numer,s,e);if(r.continued){var h=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;o.height=o.height0?3*w:7*w,T=e.fontMetrics().denom1):(y>0?(x=e.fontMetrics().num2,z=w):(x=e.fontMetrics().num3,z=3*w),T=e.fontMetrics().denom2),g){var O=e.fontMetrics().axisHeight;x-o.depth-(O+.5*y){var t=new S.MathNode("mfrac",[X(r.numer,e),X(r.denom,e)]);if(r.hasBarLine){if(r.barSize){var a=j(r.barSize,e);t.setAttribute("linethickness",A(a))}}else t.setAttribute("linethickness","0px");var n=Er(r.size,e.style);if(n.size!==e.style.size&&((t=new S.MathNode("mstyle",[t])).setAttribute("displaystyle",n.size===E.DISPLAY.size?"true":"false"),t.setAttribute("scriptlevel","0")),null!=r.leftDelim||null!=r.rightDelim){var o=[];if(null!=r.leftDelim){var h=new S.MathNode("mo",[new S.TextNode(r.leftDelim.replace("\\",""))]);h.setAttribute("fence","true"),o.push(h)}if(o.push(t),null!=r.rightDelim){var c=new S.MathNode("mo",[new S.TextNode(r.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}return _e(o)}return t};B({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(r,e)=>{var o,{parser:t,funcName:a}=r,n=e[0],s=e[1],h=null,c=null,p="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,h="(",c=")";break;case"\\\\bracefrac":o=!1,h="\\{",c="\\}";break;case"\\\\brackfrac":o=!1,h="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":p="display";break;case"\\tfrac":case"\\tbinom":p="text"}return{type:"genfrac",mode:t.mode,continued:!1,numer:n,denom:s,hasBarLine:o,leftDelim:h,rightDelim:c,size:p,barSize:null}},htmlBuilder:pt,mathmlBuilder:vt}),B({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(r,e)=>{var{parser:t}=r;return{type:"genfrac",mode:t.mode,continued:!0,numer:e[0],denom:e[1],hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),B({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(r){var n,{parser:e,funcName:t,token:a}=r;switch(t){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:a}}});var Rr=["display","text","script","scriptscript"],Ir=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};B({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(r,e){var g,{parser:t}=r,a=e[4],n=e[5],s=Me(e[0]),o="atom"===s.type&&"open"===s.family?Ir(s.text):null,h=Me(e[1]),c="atom"===h.type&&"close"===h.family?Ir(h.text):null,p=H(e[2],"size"),y=null;g=!!p.isBlank||(y=p.value).number>0;var w="auto",x=e[3];if("ordgroup"===x.type){if(x.body.length>0){var z=H(x.body[0],"textord");w=Rr[Number(z.text)]}}else x=H(x,"textord"),w=Rr[Number(x.text)];return{type:"genfrac",mode:t.mode,numer:a,denom:n,continued:!1,hasBarLine:g,barSize:y,leftDelim:o,rightDelim:c,size:w}},htmlBuilder:pt,mathmlBuilder:vt}),B({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(r,e){var{parser:t,token:n}=r;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:H(e[0],"size").value,token:n}}}),B({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(r,e)=>{var{parser:t}=r,n=e[0],s=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(H(e[1],"infix").size);return{type:"genfrac",mode:t.mode,numer:n,denom:e[2],continued:!1,hasBarLine:s.number>0,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:pt,mathmlBuilder:vt});var Or=(r,e)=>{var a,n,t=e.style;"supsub"===r.type?(a=r.sup?P(r.sup,e.havingStyle(t.sup()),e):P(r.sub,e.havingStyle(t.sub()),e),n=H(r.base,"horizBrace")):n=H(r,"horizBrace");var h,s=P(n.base,e.havingBaseStyle(E.DISPLAY)),o=D0_svgSpan(n,e);if(n.isOver?(h=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e)).children[0].children[0].children[1].classes.push("svg-align"):(h=b.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e)).children[0].children[0].children[0].classes.push("svg-align"),a){var c=b.makeSpan(["mord",n.isOver?"mover":"munder"],[h],e);h=b.makeVList(n.isOver?{positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]}:{positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]},e)}return b.makeSpan(["mord",n.isOver?"mover":"munder"],[h],e)};B({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:a}=r;return{type:"horizBrace",mode:t.mode,label:a,isOver:/^\\over/.test(a),base:e[0]}},htmlBuilder:Or,mathmlBuilder:(r,e)=>{var t=D0_mathMLnode(r.label);return new S.MathNode(r.isOver?"mover":"munder",[X(r.base,e),t])}}),B({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,a=e[1],n=H(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:t.mode,href:n,body:Q(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(r,e)=>{var t=e0(r.body,e,!1);return b.makeAnchor(r.href,[],t,e)},mathmlBuilder:(r,e)=>{var t=O0(r.body,e);return t instanceof f0||(t=new f0("mrow",[t])),t.setAttribute("href",r.href),t}}),B({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,a=H(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var n=[],s=0;snew S.MathNode("mrow",l0(r.body,e))}),B({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:a}=r,s=H(e[0],"raw").string,o=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h,c={};switch(a){case"\\htmlClass":c.class=s,h={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,h={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,h={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var p=s.split(","),g=0;g{var t=e0(r.body,e,!1),a=["enclosing"];r.attributes.class&&a.push(...r.attributes.class.trim().split(/\s+/));var n=b.makeSpan(a,t,e);for(var s in r.attributes)"class"!==s&&r.attributes.hasOwnProperty(s)&&n.setAttribute(s,r.attributes[s]);return n},mathmlBuilder:(r,e)=>O0(r.body,e)}),B({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"htmlmathml",mode:t.mode,html:Q(e[0]),mathml:Q(e[1])}},htmlBuilder:(r,e)=>{var t=e0(r.html,e,!1);return b.makeFragment(t)},mathmlBuilder:(r,e)=>O0(r.mathml,e)});var gt=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new M("Invalid size: '"+e+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!Ht(a))throw new M("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};B({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(r,e,t)=>{var{parser:a}=r,n={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},h="";if(t[0])for(var p=H(t[0],"raw").string.split(","),g=0;g{var t=j(r.height,e),a=0;r.totalheight.number>0&&(a=j(r.totalheight,e)-t);var n=0;r.width.number>0&&(n=j(r.width,e));var s={height:A(t+a)};n>0&&(s.width=A(n)),a>0&&(s.verticalAlign=A(-a));var o=new Ua(r.src,r.alt,s);return o.height=t,o.depth=a,o},mathmlBuilder:(r,e)=>{var t=new S.MathNode("mglyph",[]);t.setAttribute("alt",r.alt);var a=j(r.height,e),n=0;if(r.totalheight.number>0&&(n=j(r.totalheight,e)-a,t.setAttribute("valign",A(-n))),t.setAttribute("height",A(a+n)),r.width.number>0){var s=j(r.width,e);t.setAttribute("width",A(s))}return t.setAttribute("src",r.src),t}}),B({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(r,e){var{parser:t,funcName:a}=r,n=H(e[0],"size");if(t.settings.strict){var o="mu"===n.value.unit;"m"===a[1]?(o||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==t.mode&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:n.value}},htmlBuilder:(r,e)=>b.makeGlue(r.dimension,e),mathmlBuilder(r,e){var t=j(r.dimension,e);return new S.SpaceNode(t)}}),B({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:a}=r,n=e[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:n}},htmlBuilder:(r,e)=>{var t;"clap"===r.alignment?(t=b.makeSpan([],[P(r.body,e)]),t=b.makeSpan(["inner"],[t],e)):t=b.makeSpan(["inner"],[P(r.body,e)]);var a=b.makeSpan(["fix"],[]),n=b.makeSpan([r.alignment],[t,a],e),s=b.makeSpan(["strut"]);return s.style.height=A(n.height+n.depth),n.depth&&(s.style.verticalAlign=A(-n.depth)),n.children.unshift(s),n=b.makeSpan(["thinbox"],[n],e),b.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(r,e)=>{var t=new S.MathNode("mpadded",[X(r.body,e)]);return"rlap"!==r.alignment&&t.setAttribute("lspace",("llap"===r.alignment?"-1":"-0.5")+"width"),t.setAttribute("width","0px"),t}}),B({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(r,e){var{funcName:t,parser:a}=r,n=a.mode;a.switchMode("math");var s="\\("===t?"\\)":"$",o=a.parseExpression(!1,s);return a.expect(s),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),B({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(r,e){throw new M("Mismatched "+r.funcName)}});var Fr=(r,e)=>{switch(e.style.size){case E.DISPLAY.size:return r.display;case E.TEXT.size:return r.text;case E.SCRIPT.size:return r.script;case E.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};B({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"mathchoice",mode:t.mode,display:Q(e[0]),text:Q(e[1]),script:Q(e[2]),scriptscript:Q(e[3])}},htmlBuilder:(r,e)=>{var t=Fr(r,e),a=e0(t,e,!1);return b.makeFragment(a)},mathmlBuilder:(r,e)=>{var t=Fr(r,e);return O0(t,e)}});var Hr=(r,e,t,a,n,s,o)=>{r=b.makeSpan([],[r]);var c,p,w,h=t&&q.isCharacterBox(t);if(e){var g=P(e,a.havingStyle(n.sup()),a);p={elem:g,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-g.depth)}}if(t){var y=P(t,a.havingStyle(n.sub()),a);c={elem:y,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-y.height)}}if(p&&c){var x=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+r.depth+o;w=b.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:A(-s)},{type:"kern",size:c.kern},{type:"elem",elem:r},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:A(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(c)w=b.makeVList({positionType:"top",positionData:r.height-o,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:A(-s)},{type:"kern",size:c.kern},{type:"elem",elem:r}]},a);else{if(!p)return r;w=b.makeVList({positionType:"bottom",positionData:r.depth+o,children:[{type:"elem",elem:r},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:A(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var C=[w];if(c&&0!==s&&!h){var N=b.makeSpan(["mspace"],[],a);N.style.marginRight=A(s),C.unshift(N)}return b.makeSpan(["mop","op-limits"],C,a)},Lr=["\\smallint"],K0=(r,e)=>{var t,a,s,n=!1;"supsub"===r.type?(t=r.sup,a=r.sub,s=H(r.base,"op"),n=!0):s=H(r,"op");var c,o=e.style,h=!1;if(o.size===E.DISPLAY.size&&s.symbol&&!q.contains(Lr,s.name)&&(h=!0),s.symbol){var p=h?"Size2-Regular":"Size1-Regular",g="";if(("\\oiint"===s.name||"\\oiiint"===s.name)&&(g=s.name.slice(1),s.name="oiint"===g?"\\iint":"\\iiint"),c=b.makeSymbol(s.name,p,"math",e,["mop","op-symbol",h?"large-op":"small-op"]),g.length>0){var y=c.italic,w=b.staticSvg(g+"Size"+(h?"2":"1"),e);c=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:w,shift:h?.08:0}]},e),s.name="\\"+g,c.classes.unshift("mop"),c.italic=y}}else if(s.body){var x=e0(s.body,e,!0);1===x.length&&x[0]instanceof d0?(c=x[0]).classes[0]="mop":c=b.makeSpan(["mop"],x,e)}else{for(var z=[],T=1;T{var t;if(r.symbol)t=new f0("mo",[p0(r.name,r.mode)]),q.contains(Lr,r.name)&&t.setAttribute("largeop","false");else if(r.body)t=new f0("mo",l0(r.body,e));else{t=new f0("mi",[new se(r.name.slice(1))]);var a=new f0("mo",[p0("\u2061","text")]);t=r.parentIsSupSub?new f0("mrow",[t,a]):rr([t,a])}return t},Y1={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};B({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(r,e)=>{var{parser:t,funcName:a}=r,n=a;return 1===n.length&&(n=Y1[n]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:K0,mathmlBuilder:ue}),B({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Q(e[0])}},htmlBuilder:K0,mathmlBuilder:ue});var X1={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};B({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(r){var{parser:e,funcName:t}=r;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:K0,mathmlBuilder:ue}),B({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(r){var{parser:e,funcName:t}=r;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:K0,mathmlBuilder:ue}),B({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(r){var{parser:e,funcName:t}=r,a=t;return 1===a.length&&(a=X1[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:K0,mathmlBuilder:ue});var Pr=(r,e)=>{var t,a,s,o,n=!1;if("supsub"===r.type?(t=r.sup,a=r.sub,s=H(r.base,"operatorname"),n=!0):s=H(r,"operatorname"),s.body.length>0){for(var h=s.body.map(y=>{var w=y.text;return"string"==typeof w?{type:"textord",mode:y.mode,text:w}:y}),c=e0(h,e.withFont("mathrm"),!0),p=0;p{var{parser:t,funcName:a}=r;return{type:"operatorname",mode:t.mode,body:Q(e[0]),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:Pr,mathmlBuilder:(r,e)=>{for(var t=l0(r.body,e.withFont("mathrm")),a=!0,n=0;ng.toText()).join("");t=[new S.TextNode(h)]}var c=new S.MathNode("mi",t);c.setAttribute("mathvariant","normal");var p=new S.MathNode("mo",[p0("\u2061","text")]);return r.parentIsSupSub?new S.MathNode("mrow",[c,p]):S.newDocumentFragment([c,p])}}),m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Y0({type:"ordgroup",htmlBuilder:(r,e)=>r.semisimple?b.makeFragment(e0(r.body,e,!1)):b.makeSpan(["mord"],e0(r.body,e,!0),e),mathmlBuilder:(r,e)=>O0(r.body,e,!0)}),B({type:"overline",names:["\\overline"],props:{numArgs:1},handler(r,e){var{parser:t}=r;return{type:"overline",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=P(r.body,e.havingCrampedStyle()),a=b.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,s=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},e);return b.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(r,e){var t=new S.MathNode("mo",[new S.TextNode("\u203e")]);t.setAttribute("stretchy","true");var a=new S.MathNode("mover",[X(r.body,e),t]);return a.setAttribute("accent","true"),a}}),B({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"phantom",mode:t.mode,body:Q(e[0])}},htmlBuilder:(r,e)=>{var t=e0(r.body,e.withPhantom(),!1);return b.makeFragment(t)},mathmlBuilder:(r,e)=>{var t=l0(r.body,e);return new S.MathNode("mphantom",t)}}),B({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"hphantom",mode:t.mode,body:e[0]}},htmlBuilder:(r,e)=>{var t=b.makeSpan([],[P(r.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=l0(Q(r.body),e),a=new S.MathNode("mphantom",t),n=new S.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),B({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"vphantom",mode:t.mode,body:e[0]}},htmlBuilder:(r,e)=>{var t=b.makeSpan(["inner"],[P(r.body,e.withPhantom())]),a=b.makeSpan(["fix"],[]);return b.makeSpan(["mord","rlap"],[t,a],e)},mathmlBuilder:(r,e)=>{var t=l0(Q(r.body),e),a=new S.MathNode("mphantom",t),n=new S.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),B({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(r,e){var{parser:t}=r,a=H(e[0],"size").value;return{type:"raisebox",mode:t.mode,dy:a,body:e[1]}},htmlBuilder(r,e){var t=P(r.body,e),a=j(r.dy,e);return b.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(r,e){var t=new S.MathNode("mpadded",[X(r.body,e)]);return t.setAttribute("voffset",r.dy.number+r.dy.unit),t}}),B({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(r){var{parser:e}=r;return{type:"internal",mode:e.mode}}}),B({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(r,e,t){var{parser:a}=r,n=t[0],s=H(e[0],"size"),o=H(e[1],"size");return{type:"rule",mode:a.mode,shift:n&&H(n,"size").value,width:s.value,height:o.value}},htmlBuilder(r,e){var t=b.makeSpan(["mord","rule"],[],e),a=j(r.width,e),n=j(r.height,e),s=r.shift?j(r.shift,e):0;return t.style.borderRightWidth=A(a),t.style.borderTopWidth=A(n),t.style.bottom=A(s),t.width=a,t.height=n+s,t.depth=-s,t.maxFontSize=1.125*n*e.sizeMultiplier,t},mathmlBuilder(r,e){var t=j(r.width,e),a=j(r.height,e),n=r.shift?j(r.shift,e):0,s=e.color&&e.getColor()||"black",o=new S.MathNode("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",A(t)),o.setAttribute("height",A(a));var h=new S.MathNode("mpadded",[o]);return n>=0?h.setAttribute("height",A(n)):(h.setAttribute("height",A(n)),h.setAttribute("depth",A(-n))),h.setAttribute("voffset",A(n)),h}});var Vr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];B({type:"sizing",names:Vr,props:{numArgs:0,allowedInText:!0},handler:(r,e)=>{var{breakOnTokenText:t,funcName:a,parser:n}=r,s=n.parseExpression(!1,t);return{type:"sizing",mode:n.mode,size:Vr.indexOf(a)+1,body:s}},htmlBuilder:(r,e)=>{var t=e.havingSize(r.size);return Gr(r.body,t,e)},mathmlBuilder:(r,e)=>{var t=e.havingSize(r.size),a=l0(r.body,t),n=new S.MathNode("mstyle",a);return n.setAttribute("mathsize",A(t.sizeMultiplier)),n}}),B({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(r,e,t)=>{var{parser:a}=r,n=!1,s=!1,o=t[0]&&H(t[0],"ordgroup");if(o)for(var h="",c=0;c{var t=b.makeSpan([],[P(r.body,e)]);if(!r.smashHeight&&!r.smashDepth)return t;if(r.smashHeight&&(t.height=0,t.children))for(var a=0;a{var t=new S.MathNode("mpadded",[X(r.body,e)]);return r.smashHeight&&t.setAttribute("height","0px"),r.smashDepth&&t.setAttribute("depth","0px"),t}}),B({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(r,e,t){var{parser:a}=r;return{type:"sqrt",mode:a.mode,body:e[0],index:t[0]}},htmlBuilder(r,e){var t=P(r.body,e.havingCrampedStyle());0===t.height&&(t.height=e.fontMetrics().xHeight),t=b.wrapFragment(t,e);var n=e.fontMetrics().defaultRuleThickness,s=n;e.style.idt.height+t.depth+o&&(o=(o+y-t.height-t.depth)/2);var w=c.height-t.height-o-p;t.style.paddingLeft=A(g);var x=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+w)},{type:"elem",elem:c},{type:"kern",size:p}]},e);if(r.index){var z=e.havingStyle(E.SCRIPTSCRIPT),T=P(r.index,z,e),N=b.makeVList({positionType:"shift",positionData:-.6*(x.height-x.depth),children:[{type:"elem",elem:T}]},e),O=b.makeSpan(["root"],[N]);return b.makeSpan(["mord","sqrt"],[O,x],e)}return b.makeSpan(["mord","sqrt"],[x],e)},mathmlBuilder(r,e){var{body:t,index:a}=r;return a?new S.MathNode("mroot",[X(t,e),X(a,e)]):new S.MathNode("msqrt",[X(t,e)])}});var Ur={display:E.DISPLAY,text:E.TEXT,script:E.SCRIPT,scriptscript:E.SCRIPTSCRIPT};B({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r,e){var{breakOnTokenText:t,funcName:a,parser:n}=r,s=n.parseExpression(!0,t),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:s}},htmlBuilder(r,e){var a=e.havingStyle(Ur[r.style]).withFont("");return Gr(r.body,a,e)},mathmlBuilder(r,e){var a=e.havingStyle(Ur[r.style]),n=l0(r.body,a),s=new S.MathNode("mstyle",n),h={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[r.style];return s.setAttribute("scriptlevel",h[0]),s.setAttribute("displaystyle",h[1]),s}}),Y0({type:"supsub",htmlBuilder(r,e){var t=function(e,t){var a=e.base;return a?"op"===a.type?a.limits&&(t.style.size===E.DISPLAY.size||a.alwaysHandleSupSub)?K0:null:"operatorname"===a.type?a.alwaysHandleSupSub&&(t.style.size===E.DISPLAY.size||a.limits)?Pr:null:"accent"===a.type?q.isCharacterBox(a.base)?rt:null:"horizBrace"===a.type&&!e.sub===a.isOver?Or:null:null}(r,e);if(t)return t(r,e);var h,c,T,{base:a,sup:n,sub:s}=r,o=P(a,e),p=e.fontMetrics(),g=0,y=0,w=a&&q.isCharacterBox(a);if(n){var x=e.havingStyle(e.style.sup());h=P(n,x,e),w||(g=o.height-x.fontMetrics().supDrop*x.sizeMultiplier/e.sizeMultiplier)}if(s){var z=e.havingStyle(e.style.sub());c=P(s,z,e),w||(y=o.depth+z.fontMetrics().subDrop*z.sizeMultiplier/e.sizeMultiplier)}T=e.style===E.DISPLAY?p.sup1:e.style.cramped?p.sup3:p.sup2;var V,N=A(.5/p.ptPerEm/e.sizeMultiplier),O=null;if(c&&(o instanceof d0||r.base&&"op"===r.base.type&&r.base.name&&("\\oiint"===r.base.name||"\\oiiint"===r.base.name))&&(O=A(-o.italic)),h&&c){g=Math.max(g,T,h.depth+.25*p.xHeight),y=Math.max(y,p.sub2);var U=4*p.defaultRuleThickness;if(g-h.depth-(c.height-y)0&&(g+=G,y-=G)}V=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:y,marginRight:N,marginLeft:O},{type:"elem",elem:h,shift:-g,marginRight:N}]},e)}else if(c)y=Math.max(y,p.sub1,c.height-.8*p.xHeight),V=b.makeVList({positionType:"shift",positionData:y,children:[{type:"elem",elem:c,marginLeft:O,marginRight:N}]},e);else{if(!h)throw new Error("supsub must have either sup or sub.");g=Math.max(g,T,h.depth+.25*p.xHeight),V=b.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h,marginRight:N}]},e)}var N0=Je(o,"right")||"mord";return b.makeSpan([N0],[o,b.makeSpan(["msupsub"],[V])],e)},mathmlBuilder(r,e){var a,t=!1;r.base&&"horizBrace"===r.base.type&&!!r.sup===r.base.isOver&&(t=!0,a=r.base.isOver),r.base&&("op"===r.base.type||"operatorname"===r.base.type)&&(r.base.parentIsSupSub=!0);var o,s=[X(r.base,e)];if(r.sub&&s.push(X(r.sub,e)),r.sup&&s.push(X(r.sup,e)),t)o=a?"mover":"munder";else if(r.sub)if(r.sup){var p=r.base;o=p&&"op"===p.type&&p.limits&&e.style===E.DISPLAY||p&&"operatorname"===p.type&&p.alwaysHandleSupSub&&(e.style===E.DISPLAY||p.limits)?"munderover":"msubsup"}else{var c=r.base;o=c&&"op"===c.type&&c.limits&&(e.style===E.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||e.style===E.DISPLAY)?"munder":"msub"}else{var h=r.base;o=h&&"op"===h.type&&h.limits&&(e.style===E.DISPLAY||h.alwaysHandleSupSub)||h&&"operatorname"===h.type&&h.alwaysHandleSupSub&&(h.limits||e.style===E.DISPLAY)?"mover":"msup"}return new S.MathNode(o,s)}}),Y0({type:"atom",htmlBuilder:(r,e)=>b.mathsym(r.text,r.mode,e,["m"+r.family]),mathmlBuilder(r,e){var t=new S.MathNode("mo",[p0(r.text,r.mode)]);if("bin"===r.family){var a=et(r,e);"bold-italic"===a&&t.setAttribute("mathvariant",a)}else"punct"===r.family?t.setAttribute("separator","true"):("open"===r.family||"close"===r.family)&&t.setAttribute("stretchy","false");return t}});var Yr={mi:"italic",mn:"normal",mtext:"normal"};Y0({type:"mathord",htmlBuilder:(r,e)=>b.makeOrd(r,e,"mathord"),mathmlBuilder(r,e){var t=new S.MathNode("mi",[p0(r.text,r.mode,e)]),a=et(r,e)||"italic";return a!==Yr[t.type]&&t.setAttribute("mathvariant",a),t}}),Y0({type:"textord",htmlBuilder:(r,e)=>b.makeOrd(r,e,"textord"),mathmlBuilder(r,e){var n,t=p0(r.text,r.mode,e),a=et(r,e)||"normal";return n="text"===r.mode?new S.MathNode("mtext",[t]):/[0-9]/.test(r.text)?new S.MathNode("mn",[t]):new S.MathNode("\\prime"===r.text?"mo":"mi",[t]),a!==Yr[n.type]&&n.setAttribute("mathvariant",a),n}});var bt={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},yt={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Y0({type:"spacing",htmlBuilder(r,e){if(yt.hasOwnProperty(r.text)){var t=yt[r.text].className||"";if("text"===r.mode){var a=b.makeOrd(r,e,"textord");return a.classes.push(t),a}return b.makeSpan(["mspace",t],[b.mathsym(r.text,r.mode,e)],e)}if(bt.hasOwnProperty(r.text))return b.makeSpan(["mspace",bt[r.text]],[],e);throw new M('Unknown type of space "'+r.text+'"')},mathmlBuilder(r,e){if(!yt.hasOwnProperty(r.text)){if(bt.hasOwnProperty(r.text))return new S.MathNode("mspace");throw new M('Unknown type of space "'+r.text+'"')}return new S.MathNode("mtext",[new S.TextNode("\xa0")])}});var Xr=()=>{var r=new S.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};Y0({type:"tag",mathmlBuilder(r,e){var t=new S.MathNode("mtable",[new S.MathNode("mtr",[Xr(),new S.MathNode("mtd",[O0(r.body,e)]),Xr(),new S.MathNode("mtd",[O0(r.tag,e)])])]);return t.setAttribute("width","100%"),t}});var $r={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Wr={"\\textbf":"textbf","\\textmd":"textmd"},Z1={"\\textit":"textit","\\textup":"textup"},jr=(r,e)=>{var t=r.font;return t?$r[t]?e.withTextFontFamily($r[t]):Wr[t]?e.withTextFontWeight(Wr[t]):e.withTextFontShape("\\emph"===t?"textit"===e.fontShape?"textup":"textit":Z1[t]):e};B({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(r,e){var{parser:t,funcName:a}=r;return{type:"text",mode:t.mode,body:Q(e[0]),font:a}},htmlBuilder(r,e){var t=jr(r,e),a=e0(r.body,t,!0);return b.makeSpan(["mord","text"],a,t)},mathmlBuilder(r,e){var t=jr(r,e);return O0(r.body,t)}}),B({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=P(r.body,e),a=b.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,s=b.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:t}]},e);return b.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(r,e){var t=new S.MathNode("mo",[new S.TextNode("\u203e")]);t.setAttribute("stretchy","true");var a=new S.MathNode("munder",[X(r.body,e),t]);return a.setAttribute("accentunder","true"),a}}),B({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(r,e){var{parser:t}=r;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=P(r.body,e),a=e.fontMetrics().axisHeight;return b.makeVList({positionType:"shift",positionData:.5*(t.height-a-(t.depth+a)),children:[{type:"elem",elem:t}]},e)},mathmlBuilder:(r,e)=>new S.MathNode("mpadded",[X(r.body,e)],["vcenter"])}),B({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(r,e,t){throw new M("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(r,e){for(var t=Zr(r),a=[],n=e.havingStyle(e.style.text()),s=0;sr.body.replace(/ /g,r.star?"\u2423":"\xa0"),H0=_t,e4=new RegExp("[\u0300-\u036f]+$");class Jr{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp("([ \r\n\t]+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|(\\\\[a-zA-Z@]+)[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new m0("EOF",new u0(this,t,t));var a=this.tokenRegex.exec(e);if(null===a||a.index!==t)throw new M("Unexpected character: '"+e[t]+"'",new m0(e[t],new u0(this,t,t+1)));var n=a[6]||a[3]||(a[2]?"\\ ":" ");if(14===this.catcodes[n]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new m0(n,new u0(this,t,this.tokenRegex.lastIndex))}}class r4{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new M("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,a){if(void 0===a&&(a=!1),a){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var a4=Ar;m("\\noexpand",function(r){var e=r.popToken();return r.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),m("\\expandafter",function(r){var e=r.popToken();return r.expandOnce(!0),{tokens:[e],numArgs:0}}),m("\\@firstoftwo",function(r){return{tokens:r.consumeArgs(2)[0],numArgs:0}}),m("\\@secondoftwo",function(r){return{tokens:r.consumeArgs(2)[1],numArgs:0}}),m("\\@ifnextchar",function(r){var e=r.consumeArgs(3);r.consumeSpaces();var t=r.future();return 1===e[0].length&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),m("\\TextOrMath",function(r){var e=r.consumeArgs(2);return"text"===r.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var Qr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};m("\\char",function(r){var t,e=r.popToken(),a="";if("'"===e.text)t=8,e=r.popToken();else if('"'===e.text)t=16,e=r.popToken();else if("`"===e.text)if("\\"===(e=r.popToken()).text[0])a=e.text.charCodeAt(1);else{if("EOF"===e.text)throw new M("\\char` missing argument");a=e.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Qr[e.text])||a>=t)throw new M("Invalid base-"+t+" digit "+e.text);for(var n;null!=(n=Qr[r.future().text])&&n{var a=r.consumeArg().tokens;if(1!==a.length)throw new M("\\newcommand's first argument must be a macro name");var n=a[0].text,s=r.isDefined(n);if(s&&!e)throw new M("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!s&&!t)throw new M("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var o=0;if(1===(a=r.consumeArg().tokens).length&&"["===a[0].text){for(var h="",c=r.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)h+=c.text,c=r.expandNextToken();if(!h.match(/^\s*[0-9]+\s*$/))throw new M("Invalid number of arguments: "+h);o=parseInt(h),a=r.consumeArg().tokens}return r.macros.set(n,{tokens:a,numArgs:o}),""};m("\\newcommand",r=>wt(r,!1,!0)),m("\\renewcommand",r=>wt(r,!0,!1)),m("\\providecommand",r=>wt(r,!0,!0)),m("\\message",r=>{var e=r.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""}),m("\\errmessage",r=>{var e=r.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""}),m("\\show",r=>{var e=r.popToken(),t=e.text;return console.log(e,r.macros.get(t),H0[t],$.math[t],$.text[t]),""}),m("\\bgroup","{"),m("\\egroup","}"),m("~","\\nobreakspace"),m("\\lq","`"),m("\\rq","'"),m("\\aa","\\r a"),m("\\AA","\\r A"),m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),m("\u212c","\\mathscr{B}"),m("\u2130","\\mathscr{E}"),m("\u2131","\\mathscr{F}"),m("\u210b","\\mathscr{H}"),m("\u2110","\\mathscr{I}"),m("\u2112","\\mathscr{L}"),m("\u2133","\\mathscr{M}"),m("\u211b","\\mathscr{R}"),m("\u212d","\\mathfrak{C}"),m("\u210c","\\mathfrak{H}"),m("\u2128","\\mathfrak{Z}"),m("\\Bbbk","\\Bbb{k}"),m("\xb7","\\cdotp"),m("\\llap","\\mathllap{\\textrm{#1}}"),m("\\rlap","\\mathrlap{\\textrm{#1}}"),m("\\clap","\\mathclap{\\textrm{#1}}"),m("\\mathstrut","\\vphantom{(}"),m("\\underbar","\\underline{\\text{#1}}"),m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),m("\\ne","\\neq"),m("\u2260","\\neq"),m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),m("\u2209","\\notin"),m("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),m("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),m("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),m("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),m("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),m("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),m("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),m("\u27c2","\\perp"),m("\u203c","\\mathclose{!\\mkern-0.8mu!}"),m("\u220c","\\notni"),m("\u231c","\\ulcorner"),m("\u231d","\\urcorner"),m("\u231e","\\llcorner"),m("\u231f","\\lrcorner"),m("\xa9","\\copyright"),m("\xae","\\textregistered"),m("\ufe0f","\\textregistered"),m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),m("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),m("\u22ee","\\vdots"),m("\\varGamma","\\mathit{\\Gamma}"),m("\\varDelta","\\mathit{\\Delta}"),m("\\varTheta","\\mathit{\\Theta}"),m("\\varLambda","\\mathit{\\Lambda}"),m("\\varXi","\\mathit{\\Xi}"),m("\\varPi","\\mathit{\\Pi}"),m("\\varSigma","\\mathit{\\Sigma}"),m("\\varUpsilon","\\mathit{\\Upsilon}"),m("\\varPhi","\\mathit{\\Phi}"),m("\\varPsi","\\mathit{\\Psi}"),m("\\varOmega","\\mathit{\\Omega}"),m("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),m("\\boxed","\\fbox{$\\displaystyle{#1}$}"),m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),m("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var _r={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};m("\\dots",function(r){var e="\\dotso",t=r.expandAfterFuture().text;return t in _r?e=_r[t]:("\\not"===t.slice(0,4)||t in $.math&&q.contains(["bin","rel"],$.math[t].group))&&(e="\\dotsb"),e});var kt={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};m("\\dotso",function(r){return r.future().text in kt?"\\ldots\\,":"\\ldots"}),m("\\dotsc",function(r){var e=r.future().text;return e in kt&&","!==e?"\\ldots\\,":"\\ldots"}),m("\\cdots",function(r){return r.future().text in kt?"\\@cdots\\,":"\\@cdots"}),m("\\dotsb","\\cdots"),m("\\dotsm","\\cdots"),m("\\dotsi","\\!\\cdots"),m("\\dotsx","\\ldots\\,"),m("\\DOTSI","\\relax"),m("\\DOTSB","\\relax"),m("\\DOTSX","\\relax"),m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),m("\\,","\\tmspace+{3mu}{.1667em}"),m("\\thinspace","\\,"),m("\\>","\\mskip{4mu}"),m("\\:","\\tmspace+{4mu}{.2222em}"),m("\\medspace","\\:"),m("\\;","\\tmspace+{5mu}{.2777em}"),m("\\thickspace","\\;"),m("\\!","\\tmspace-{3mu}{.1667em}"),m("\\negthinspace","\\!"),m("\\negmedspace","\\tmspace-{4mu}{.2222em}"),m("\\negthickspace","\\tmspace-{5mu}{.277em}"),m("\\enspace","\\kern.5em "),m("\\enskip","\\hskip.5em\\relax"),m("\\quad","\\hskip1em\\relax"),m("\\qquad","\\hskip2em\\relax"),m("\\tag","\\@ifstar\\tag@literal\\tag@paren"),m("\\tag@paren","\\tag@literal{({#1})}"),m("\\tag@literal",r=>{if(r.macros.get("\\df@tag"))throw new M("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),m("\\newline","\\\\\\relax"),m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ea=A(x0["Main-Regular"]["T".charCodeAt(0)][1]-.7*x0["Main-Regular"]["A".charCodeAt(0)][1]);m("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+ea+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),m("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+ea+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),m("\\hspace","\\@ifstar\\@hspacer\\@hspace"),m("\\@hspace","\\hskip #1\\relax"),m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),m("\\ordinarycolon",":"),m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),m("\u2237","\\dblcolon"),m("\u2239","\\eqcolon"),m("\u2254","\\coloneqq"),m("\u2255","\\eqqcolon"),m("\u2a74","\\Coloneqq"),m("\\ratio","\\vcentcolon"),m("\\coloncolon","\\dblcolon"),m("\\colonequals","\\coloneqq"),m("\\coloncolonequals","\\Coloneqq"),m("\\equalscolon","\\eqqcolon"),m("\\equalscoloncolon","\\Eqqcolon"),m("\\colonminus","\\coloneq"),m("\\coloncolonminus","\\Coloneq"),m("\\minuscolon","\\eqcolon"),m("\\minuscoloncolon","\\Eqcolon"),m("\\coloncolonapprox","\\Colonapprox"),m("\\coloncolonsim","\\Colonsim"),m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),m("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),m("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),m("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),m("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),m("\\imath","\\html@mathml{\\@imath}{\u0131}"),m("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),m("\u27e6","\\llbracket"),m("\u27e7","\\rrbracket"),m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),m("\u2983","\\lBrace"),m("\u2984","\\rBrace"),m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),m("\u29b5","\\minuso"),m("\\darr","\\downarrow"),m("\\dArr","\\Downarrow"),m("\\Darr","\\Downarrow"),m("\\lang","\\langle"),m("\\rang","\\rangle"),m("\\uarr","\\uparrow"),m("\\uArr","\\Uparrow"),m("\\Uarr","\\Uparrow"),m("\\N","\\mathbb{N}"),m("\\R","\\mathbb{R}"),m("\\Z","\\mathbb{Z}"),m("\\alef","\\aleph"),m("\\alefsym","\\aleph"),m("\\Alpha","\\mathrm{A}"),m("\\Beta","\\mathrm{B}"),m("\\bull","\\bullet"),m("\\Chi","\\mathrm{X}"),m("\\clubs","\\clubsuit"),m("\\cnums","\\mathbb{C}"),m("\\Complex","\\mathbb{C}"),m("\\Dagger","\\ddagger"),m("\\diamonds","\\diamondsuit"),m("\\empty","\\emptyset"),m("\\Epsilon","\\mathrm{E}"),m("\\Eta","\\mathrm{H}"),m("\\exist","\\exists"),m("\\harr","\\leftrightarrow"),m("\\hArr","\\Leftrightarrow"),m("\\Harr","\\Leftrightarrow"),m("\\hearts","\\heartsuit"),m("\\image","\\Im"),m("\\infin","\\infty"),m("\\Iota","\\mathrm{I}"),m("\\isin","\\in"),m("\\Kappa","\\mathrm{K}"),m("\\larr","\\leftarrow"),m("\\lArr","\\Leftarrow"),m("\\Larr","\\Leftarrow"),m("\\lrarr","\\leftrightarrow"),m("\\lrArr","\\Leftrightarrow"),m("\\Lrarr","\\Leftrightarrow"),m("\\Mu","\\mathrm{M}"),m("\\natnums","\\mathbb{N}"),m("\\Nu","\\mathrm{N}"),m("\\Omicron","\\mathrm{O}"),m("\\plusmn","\\pm"),m("\\rarr","\\rightarrow"),m("\\rArr","\\Rightarrow"),m("\\Rarr","\\Rightarrow"),m("\\real","\\Re"),m("\\reals","\\mathbb{R}"),m("\\Reals","\\mathbb{R}"),m("\\Rho","\\mathrm{P}"),m("\\sdot","\\cdot"),m("\\sect","\\S"),m("\\spades","\\spadesuit"),m("\\sub","\\subset"),m("\\sube","\\subseteq"),m("\\supe","\\supseteq"),m("\\Tau","\\mathrm{T}"),m("\\thetasym","\\vartheta"),m("\\weierp","\\wp"),m("\\Zeta","\\mathrm{Z}"),m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),m("\\bra","\\mathinner{\\langle{#1}|}"),m("\\ket","\\mathinner{|{#1}\\rangle}"),m("\\braket","\\mathinner{\\langle{#1}\\rangle}"),m("\\Bra","\\left\\langle#1\\right|"),m("\\Ket","\\left|#1\\right\\rangle");var ta=r=>e=>{var t=e.consumeArg().tokens,a=e.consumeArg().tokens,n=e.consumeArg().tokens,s=e.consumeArg().tokens,o=e.macros.get("|"),h=e.macros.get("\\|");e.macros.beginGroup();var c=y=>w=>{r&&(w.macros.set("|",o),n.length&&w.macros.set("\\|",h));var x=y;return!y&&n.length&&"|"===w.future().text&&(w.popToken(),x=!0),{tokens:x?n:a,numArgs:0}};e.macros.set("|",c(!1)),n.length&&e.macros.set("\\|",c(!0));var p=e.consumeArg().tokens,g=e.expandTokens([...s,...p,...t]);return e.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};m("\\bra@ket",ta(!1)),m("\\bra@set",ta(!0)),m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),m("\\angln","{\\angl n}"),m("\\blue","\\textcolor{##6495ed}{#1}"),m("\\orange","\\textcolor{##ffa500}{#1}"),m("\\pink","\\textcolor{##ff00af}{#1}"),m("\\red","\\textcolor{##df0030}{#1}"),m("\\green","\\textcolor{##28ae7b}{#1}"),m("\\gray","\\textcolor{gray}{#1}"),m("\\purple","\\textcolor{##9d38bd}{#1}"),m("\\blueA","\\textcolor{##ccfaff}{#1}"),m("\\blueB","\\textcolor{##80f6ff}{#1}"),m("\\blueC","\\textcolor{##63d9ea}{#1}"),m("\\blueD","\\textcolor{##11accd}{#1}"),m("\\blueE","\\textcolor{##0c7f99}{#1}"),m("\\tealA","\\textcolor{##94fff5}{#1}"),m("\\tealB","\\textcolor{##26edd5}{#1}"),m("\\tealC","\\textcolor{##01d1c1}{#1}"),m("\\tealD","\\textcolor{##01a995}{#1}"),m("\\tealE","\\textcolor{##208170}{#1}"),m("\\greenA","\\textcolor{##b6ffb0}{#1}"),m("\\greenB","\\textcolor{##8af281}{#1}"),m("\\greenC","\\textcolor{##74cf70}{#1}"),m("\\greenD","\\textcolor{##1fab54}{#1}"),m("\\greenE","\\textcolor{##0d923f}{#1}"),m("\\goldA","\\textcolor{##ffd0a9}{#1}"),m("\\goldB","\\textcolor{##ffbb71}{#1}"),m("\\goldC","\\textcolor{##ff9c39}{#1}"),m("\\goldD","\\textcolor{##e07d10}{#1}"),m("\\goldE","\\textcolor{##a75a05}{#1}"),m("\\redA","\\textcolor{##fca9a9}{#1}"),m("\\redB","\\textcolor{##ff8482}{#1}"),m("\\redC","\\textcolor{##f9685d}{#1}"),m("\\redD","\\textcolor{##e84d39}{#1}"),m("\\redE","\\textcolor{##bc2612}{#1}"),m("\\maroonA","\\textcolor{##ffbde0}{#1}"),m("\\maroonB","\\textcolor{##ff92c6}{#1}"),m("\\maroonC","\\textcolor{##ed5fa6}{#1}"),m("\\maroonD","\\textcolor{##ca337c}{#1}"),m("\\maroonE","\\textcolor{##9e034e}{#1}"),m("\\purpleA","\\textcolor{##ddd7ff}{#1}"),m("\\purpleB","\\textcolor{##c6b9fc}{#1}"),m("\\purpleC","\\textcolor{##aa87ff}{#1}"),m("\\purpleD","\\textcolor{##7854ab}{#1}"),m("\\purpleE","\\textcolor{##543b78}{#1}"),m("\\mintA","\\textcolor{##f5f9e8}{#1}"),m("\\mintB","\\textcolor{##edf2df}{#1}"),m("\\mintC","\\textcolor{##e0e5cc}{#1}"),m("\\grayA","\\textcolor{##f6f7f7}{#1}"),m("\\grayB","\\textcolor{##f0f1f2}{#1}"),m("\\grayC","\\textcolor{##e3e5e6}{#1}"),m("\\grayD","\\textcolor{##d6d8da}{#1}"),m("\\grayE","\\textcolor{##babec2}{#1}"),m("\\grayF","\\textcolor{##888d93}{#1}"),m("\\grayG","\\textcolor{##626569}{#1}"),m("\\grayH","\\textcolor{##3b3e40}{#1}"),m("\\grayI","\\textcolor{##21242c}{#1}"),m("\\kaBlue","\\textcolor{##314453}{#1}"),m("\\kaGreen","\\textcolor{##71B307}{#1}");var ra={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class n4{constructor(e,t,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new r4(a4,t.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new Jr(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,a,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:n,end:a}=this.consumeArg(["]"]))}else({tokens:n,start:t,end:a}=this.consumeArg());return this.pushToken(new m0("EOF",a.loc)),this.pushTokens(n),t.range(a,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],a=e&&e.length>0;a||this.consumeSpaces();var s,n=this.future(),o=0,h=0;do{if(s=this.popToken(),t.push(s),"{"===s.text)++o;else if("}"===s.text){if(-1==--o)throw new M("Extra }",s)}else if("EOF"===s.text)throw new M("Unexpected end of input in a macro argument, expected '"+(e&&a?e[h]:"}")+"'",s);if(e&&a)if((0===o||1===o&&"{"===e[h])&&s.text===e[h]){if(++h===e.length){t.splice(-h,h);break}}else h=0}while(0!==o||a);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:s}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new M("The length of delimiters doesn't match the number of args!");for(var a=t[0],n=0;nthis.settings.maxExpand)throw new M("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),a=t.text,n=t.noexpand?null:this._getExpansion(a);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===a[0]&&!this.isDefined(a))throw new M("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var s=n.tokens,o=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var h=(s=s.slice()).length-1;h>=0;--h){var c=s[h];if("#"===c.text){if(0===h)throw new M("Incomplete placeholder at end of macro body",c);if("#"===(c=s[--h]).text)s.splice(h+1,1);else{if(!/^[1-9]$/.test(c.text))throw new M("Not a valid argument number",c);s.splice(h,2,...o[+c.text-1])}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new m0(e)]):void 0}expandTokens(e){var t=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(a=>a.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var a=this.lexer.catcodes[e];if(null!=a&&13!==a)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var s=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(s+1));)++s;for(var h=new Jr(n,this.settings),c=[],p=h.lex();"EOF"!==p.text;)c.push(p),p=h.lex();return c.reverse(),{tokens:c,numArgs:s}}return n}isDefined(e){return this.macros.has(e)||H0.hasOwnProperty(e)||$.math.hasOwnProperty(e)||$.text.hasOwnProperty(e)||ra.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:H0.hasOwnProperty(e)&&!H0[e].primitive}}var aa=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,qe=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9",\u2090:"a",\u2091:"e",\u2095:"h",\u1d62:"i",\u2c7c:"j",\u2096:"k",\u2097:"l",\u2098:"m",\u2099:"n",\u2092:"o",\u209a:"p",\u1d63:"r",\u209b:"s",\u209c:"t",\u1d64:"u",\u1d65:"v",\u2093:"x",\u1d66:"\u03b2",\u1d67:"\u03b3",\u1d68:"\u03c1",\u1d69:"\u03d5",\u1d6a:"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9",\u1d2c:"A",\u1d2e:"B",\u1d30:"D",\u1d31:"E",\u1d33:"G",\u1d34:"H",\u1d35:"I",\u1d36:"J",\u1d37:"K",\u1d38:"L",\u1d39:"M",\u1d3a:"N",\u1d3c:"O",\u1d3e:"P",\u1d3f:"R",\u1d40:"T",\u1d41:"U",\u2c7d:"V",\u1d42:"W",\u1d43:"a",\u1d47:"b",\u1d9c:"c",\u1d48:"d",\u1d49:"e",\u1da0:"f",\u1d4d:"g",\u02b0:"h",\u2071:"i",\u02b2:"j",\u1d4f:"k",\u02e1:"l",\u1d50:"m",\u207f:"n",\u1d52:"o",\u1d56:"p",\u02b3:"r",\u02e2:"s",\u1d57:"t",\u1d58:"u",\u1d5b:"v",\u02b7:"w",\u02e3:"x",\u02b8:"y",\u1dbb:"z",\u1d5d:"\u03b2",\u1d5e:"\u03b3",\u1d5f:"\u03b4",\u1d60:"\u03d5",\u1d61:"\u03c7",\u1dbf:"\u03b8"}),St={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},na={\u00e1:"a\u0301",\u00e0:"a\u0300",\u00e4:"a\u0308",\u01df:"a\u0308\u0304",\u00e3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1eaf:"a\u0306\u0301",\u1eb1:"a\u0306\u0300",\u1eb5:"a\u0306\u0303",\u01ce:"a\u030c",\u00e2:"a\u0302",\u1ea5:"a\u0302\u0301",\u1ea7:"a\u0302\u0300",\u1eab:"a\u0302\u0303",\u0227:"a\u0307",\u01e1:"a\u0307\u0304",\u00e5:"a\u030a",\u01fb:"a\u030a\u0301",\u1e03:"b\u0307",\u0107:"c\u0301",\u1e09:"c\u0327\u0301",\u010d:"c\u030c",\u0109:"c\u0302",\u010b:"c\u0307",\u00e7:"c\u0327",\u010f:"d\u030c",\u1e0b:"d\u0307",\u1e11:"d\u0327",\u00e9:"e\u0301",\u00e8:"e\u0300",\u00eb:"e\u0308",\u1ebd:"e\u0303",\u0113:"e\u0304",\u1e17:"e\u0304\u0301",\u1e15:"e\u0304\u0300",\u0115:"e\u0306",\u1e1d:"e\u0327\u0306",\u011b:"e\u030c",\u00ea:"e\u0302",\u1ebf:"e\u0302\u0301",\u1ec1:"e\u0302\u0300",\u1ec5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1e1f:"f\u0307",\u01f5:"g\u0301",\u1e21:"g\u0304",\u011f:"g\u0306",\u01e7:"g\u030c",\u011d:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1e27:"h\u0308",\u021f:"h\u030c",\u0125:"h\u0302",\u1e23:"h\u0307",\u1e29:"h\u0327",\u00ed:"i\u0301",\u00ec:"i\u0300",\u00ef:"i\u0308",\u1e2f:"i\u0308\u0301",\u0129:"i\u0303",\u012b:"i\u0304",\u012d:"i\u0306",\u01d0:"i\u030c",\u00ee:"i\u0302",\u01f0:"j\u030c",\u0135:"j\u0302",\u1e31:"k\u0301",\u01e9:"k\u030c",\u0137:"k\u0327",\u013a:"l\u0301",\u013e:"l\u030c",\u013c:"l\u0327",\u1e3f:"m\u0301",\u1e41:"m\u0307",\u0144:"n\u0301",\u01f9:"n\u0300",\u00f1:"n\u0303",\u0148:"n\u030c",\u1e45:"n\u0307",\u0146:"n\u0327",\u00f3:"o\u0301",\u00f2:"o\u0300",\u00f6:"o\u0308",\u022b:"o\u0308\u0304",\u00f5:"o\u0303",\u1e4d:"o\u0303\u0301",\u1e4f:"o\u0303\u0308",\u022d:"o\u0303\u0304",\u014d:"o\u0304",\u1e53:"o\u0304\u0301",\u1e51:"o\u0304\u0300",\u014f:"o\u0306",\u01d2:"o\u030c",\u00f4:"o\u0302",\u1ed1:"o\u0302\u0301",\u1ed3:"o\u0302\u0300",\u1ed7:"o\u0302\u0303",\u022f:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030b",\u1e55:"p\u0301",\u1e57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030c",\u1e59:"r\u0307",\u0157:"r\u0327",\u015b:"s\u0301",\u1e65:"s\u0301\u0307",\u0161:"s\u030c",\u1e67:"s\u030c\u0307",\u015d:"s\u0302",\u1e61:"s\u0307",\u015f:"s\u0327",\u1e97:"t\u0308",\u0165:"t\u030c",\u1e6b:"t\u0307",\u0163:"t\u0327",\u00fa:"u\u0301",\u00f9:"u\u0300",\u00fc:"u\u0308",\u01d8:"u\u0308\u0301",\u01dc:"u\u0308\u0300",\u01d6:"u\u0308\u0304",\u01da:"u\u0308\u030c",\u0169:"u\u0303",\u1e79:"u\u0303\u0301",\u016b:"u\u0304",\u1e7b:"u\u0304\u0308",\u016d:"u\u0306",\u01d4:"u\u030c",\u00fb:"u\u0302",\u016f:"u\u030a",\u0171:"u\u030b",\u1e7d:"v\u0303",\u1e83:"w\u0301",\u1e81:"w\u0300",\u1e85:"w\u0308",\u0175:"w\u0302",\u1e87:"w\u0307",\u1e98:"w\u030a",\u1e8d:"x\u0308",\u1e8b:"x\u0307",\u00fd:"y\u0301",\u1ef3:"y\u0300",\u00ff:"y\u0308",\u1ef9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1e8f:"y\u0307",\u1e99:"y\u030a",\u017a:"z\u0301",\u017e:"z\u030c",\u1e91:"z\u0302",\u017c:"z\u0307",\u00c1:"A\u0301",\u00c0:"A\u0300",\u00c4:"A\u0308",\u01de:"A\u0308\u0304",\u00c3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1eae:"A\u0306\u0301",\u1eb0:"A\u0306\u0300",\u1eb4:"A\u0306\u0303",\u01cd:"A\u030c",\u00c2:"A\u0302",\u1ea4:"A\u0302\u0301",\u1ea6:"A\u0302\u0300",\u1eaa:"A\u0302\u0303",\u0226:"A\u0307",\u01e0:"A\u0307\u0304",\u00c5:"A\u030a",\u01fa:"A\u030a\u0301",\u1e02:"B\u0307",\u0106:"C\u0301",\u1e08:"C\u0327\u0301",\u010c:"C\u030c",\u0108:"C\u0302",\u010a:"C\u0307",\u00c7:"C\u0327",\u010e:"D\u030c",\u1e0a:"D\u0307",\u1e10:"D\u0327",\u00c9:"E\u0301",\u00c8:"E\u0300",\u00cb:"E\u0308",\u1ebc:"E\u0303",\u0112:"E\u0304",\u1e16:"E\u0304\u0301",\u1e14:"E\u0304\u0300",\u0114:"E\u0306",\u1e1c:"E\u0327\u0306",\u011a:"E\u030c",\u00ca:"E\u0302",\u1ebe:"E\u0302\u0301",\u1ec0:"E\u0302\u0300",\u1ec4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1e1e:"F\u0307",\u01f4:"G\u0301",\u1e20:"G\u0304",\u011e:"G\u0306",\u01e6:"G\u030c",\u011c:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1e26:"H\u0308",\u021e:"H\u030c",\u0124:"H\u0302",\u1e22:"H\u0307",\u1e28:"H\u0327",\u00cd:"I\u0301",\u00cc:"I\u0300",\u00cf:"I\u0308",\u1e2e:"I\u0308\u0301",\u0128:"I\u0303",\u012a:"I\u0304",\u012c:"I\u0306",\u01cf:"I\u030c",\u00ce:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1e30:"K\u0301",\u01e8:"K\u030c",\u0136:"K\u0327",\u0139:"L\u0301",\u013d:"L\u030c",\u013b:"L\u0327",\u1e3e:"M\u0301",\u1e40:"M\u0307",\u0143:"N\u0301",\u01f8:"N\u0300",\u00d1:"N\u0303",\u0147:"N\u030c",\u1e44:"N\u0307",\u0145:"N\u0327",\u00d3:"O\u0301",\u00d2:"O\u0300",\u00d6:"O\u0308",\u022a:"O\u0308\u0304",\u00d5:"O\u0303",\u1e4c:"O\u0303\u0301",\u1e4e:"O\u0303\u0308",\u022c:"O\u0303\u0304",\u014c:"O\u0304",\u1e52:"O\u0304\u0301",\u1e50:"O\u0304\u0300",\u014e:"O\u0306",\u01d1:"O\u030c",\u00d4:"O\u0302",\u1ed0:"O\u0302\u0301",\u1ed2:"O\u0302\u0300",\u1ed6:"O\u0302\u0303",\u022e:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030b",\u1e54:"P\u0301",\u1e56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030c",\u1e58:"R\u0307",\u0156:"R\u0327",\u015a:"S\u0301",\u1e64:"S\u0301\u0307",\u0160:"S\u030c",\u1e66:"S\u030c\u0307",\u015c:"S\u0302",\u1e60:"S\u0307",\u015e:"S\u0327",\u0164:"T\u030c",\u1e6a:"T\u0307",\u0162:"T\u0327",\u00da:"U\u0301",\u00d9:"U\u0300",\u00dc:"U\u0308",\u01d7:"U\u0308\u0301",\u01db:"U\u0308\u0300",\u01d5:"U\u0308\u0304",\u01d9:"U\u0308\u030c",\u0168:"U\u0303",\u1e78:"U\u0303\u0301",\u016a:"U\u0304",\u1e7a:"U\u0304\u0308",\u016c:"U\u0306",\u01d3:"U\u030c",\u00db:"U\u0302",\u016e:"U\u030a",\u0170:"U\u030b",\u1e7c:"V\u0303",\u1e82:"W\u0301",\u1e80:"W\u0300",\u1e84:"W\u0308",\u0174:"W\u0302",\u1e86:"W\u0307",\u1e8c:"X\u0308",\u1e8a:"X\u0307",\u00dd:"Y\u0301",\u1ef2:"Y\u0300",\u0178:"Y\u0308",\u1ef8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1e8e:"Y\u0307",\u0179:"Z\u0301",\u017d:"Z\u030c",\u1e90:"Z\u0302",\u017b:"Z\u0307",\u03ac:"\u03b1\u0301",\u1f70:"\u03b1\u0300",\u1fb1:"\u03b1\u0304",\u1fb0:"\u03b1\u0306",\u03ad:"\u03b5\u0301",\u1f72:"\u03b5\u0300",\u03ae:"\u03b7\u0301",\u1f74:"\u03b7\u0300",\u03af:"\u03b9\u0301",\u1f76:"\u03b9\u0300",\u03ca:"\u03b9\u0308",\u0390:"\u03b9\u0308\u0301",\u1fd2:"\u03b9\u0308\u0300",\u1fd1:"\u03b9\u0304",\u1fd0:"\u03b9\u0306",\u03cc:"\u03bf\u0301",\u1f78:"\u03bf\u0300",\u03cd:"\u03c5\u0301",\u1f7a:"\u03c5\u0300",\u03cb:"\u03c5\u0308",\u03b0:"\u03c5\u0308\u0301",\u1fe2:"\u03c5\u0308\u0300",\u1fe1:"\u03c5\u0304",\u1fe0:"\u03c5\u0306",\u03ce:"\u03c9\u0301",\u1f7c:"\u03c9\u0300",\u038e:"\u03a5\u0301",\u1fea:"\u03a5\u0300",\u03ab:"\u03a5\u0308",\u1fe9:"\u03a5\u0304",\u1fe8:"\u03a5\u0306",\u038f:"\u03a9\u0301",\u1ffa:"\u03a9\u0300"};let i4=(()=>{class r{constructor(t,a){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new n4(t,a,this.mode),this.settings=a,this.leftrightDepth=0}expect(t,a){if(void 0===a&&(a=!0),this.fetch().text!==t)throw new M("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());a&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var a=this.nextToken;this.consume(),this.gullet.pushToken(new m0("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=a,n}parseExpression(t,a){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var s=this.fetch();if(-1!==r.endOfExpression.indexOf(s.text)||a&&s.text===a||t&&H0[s.text]&&H0[s.text].infix)break;var o=this.parseAtom(a);if(!o)break;"internal"!==o.type&&n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var n,a=-1,s=0;s=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+a[0]+'" used in math mode',t);var c=$[this.mode][a].group,p=u0.range(t);h=$a.hasOwnProperty(c)?{type:"atom",mode:this.mode,family:c,loc:p,text:a}:{type:c,mode:this.mode,loc:p,text:a}}else{if(!(a.charCodeAt(0)>=128))return null;this.settings.strict&&(Et(a.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+a[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+a[0]+'" ('+a.charCodeAt(0)+")",t)),h={type:"textord",mode:"text",loc:u0.range(t),text:a}}if(this.consume(),o)for(var w=0;w{P.r(st),P.d(st,{diagram:()=>Ht});var g=P(9037),pt=P(8814),G=P(8586),_t=P(1065);const T=[];for(let t=0;t<256;++t)T.push((t+256).toString(16).slice(1));const Et=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,xt=function kt(t){if(!function mt(t){return"string"==typeof t&&Et.test(t)}(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function Tt(t,e,r,u){switch(t){case 0:return e&r^~e&u;case 1:case 3:return e^r^u;case 2:return e&r^e&u^r&u}}function $(t,e){return t<>>32-e}const Mt=function Nt(t,e,r){function u(l,p,f,o){var h;if("string"==typeof l&&(l=function Rt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>0;R=k,k=m,m=$(_,30)>>>0,_=h,h=I}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+R>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});P(1764),P(6780),P(2735);var tt=function(){var t=function(w,a,n,c){for(n=n||{},c=w.length;c--;n[w[c]]=a);return n},e=[6,8,10,20,22,24,26,27,28],r=[1,10],u=[1,11],l=[1,12],p=[1,13],f=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],k=[1,24],R=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],A=[1,34],I=[27,28,46,47],U=[41,42,43,44,45],H=[17,34],Y=[1,54],M=[1,53],v=[17,34,36,38],O={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(a,n,c,d,E,i,Q){var s=i.length-1;switch(E){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:i[s-1].push(i[s]),this.$=i[s-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=i[s];break;case 8:d.addEntity(i[s-4]),d.addEntity(i[s-2]),d.addRelationship(i[s-4],i[s],i[s-2],i[s-3]);break;case 9:d.addEntity(i[s-3]),d.addAttributes(i[s-3],i[s-1]);break;case 10:d.addEntity(i[s-2]);break;case 11:d.addEntity(i[s]);break;case 12:d.addEntity(i[s-6],i[s-4]),d.addAttributes(i[s-6],i[s-1]);break;case 13:d.addEntity(i[s-5],i[s-3]);break;case 14:d.addEntity(i[s-3],i[s-1]);break;case 15:case 16:this.$=i[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=i[s].trim(),d.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=i[s].replace(/"/g,"");break;case 21:case 29:this.$=[i[s]];break;case 22:i[s].push(i[s-1]),this.$=i[s];break;case 23:this.$={attributeType:i[s-1],attributeName:i[s]};break;case 24:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeKeyTypeList:i[s]};break;case 25:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeComment:i[s]};break;case 26:this.$={attributeType:i[s-3],attributeName:i[s-2],attributeKeyTypeList:i[s-1],attributeComment:i[s]};break;case 30:i[s-2].push(i[s]),this.$=i[s-2];break;case 33:this.$={cardA:i[s],relType:i[s-1],cardB:i[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:u,24:l,26:p,27:f,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:u,24:l,26:p,27:f,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:k,45:R}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:f,28:o},{16:30,17:[1,31],29:32,30:33,34:A},{11:35,27:f,28:o},{40:36,46:[1,37],47:[1,38]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(I,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:A},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:k,45:R},t(U,[2,39]),t(U,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(H,[2,23],{32:50,33:51,35:52,37:Y,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(H,[2,24],{33:56,36:[1,57],38:M}),t(H,[2,25]),t(v,[2,29]),t(H,[2,32]),t(v,[2,31]),{16:58,17:[1,59],29:32,30:33,34:A},t(H,[2,26]),{35:60,37:Y},{17:[1,61]},t(e,[2,13]),t(v,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(a,n){if(!n.recoverable){var c=new Error(a);throw c.hash=n,c}this.trace(a)},parse:function(a){var c=[0],d=[],E=[null],i=[],Q=this.table,s="",j=0,ut=0,Vt=i.slice.call(arguments,1),N=Object.create(this.lexer),K={yy:{}};for(var rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rt)&&(K.yy[rt]=this.yy[rt]);N.setInput(a,K.yy),K.yy.lexer=N,K.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var it=N.yylloc;i.push(it);var F,zt=N.options&&N.options.ranges;this.parseError="function"==typeof K.yy.parseError?K.yy.parseError:Object.getPrototypeOf(this).parseError;for(var S,V,D,at,J,Z,q,z={};;){if(this.defaultActions[V=c[c.length-1]]?D=this.defaultActions[V]:((null===S||typeof S>"u")&&(F=void 0,"number"!=typeof(F=d.pop()||N.lex()||1)&&(F instanceof Array&&(F=(d=F).pop()),F=this.symbols_[F]||F),S=F),D=Q[V]&&Q[V][S]),typeof D>"u"||!D.length||!D[0]){var nt;for(J in q=[],Q[V])this.terminals_[J]&&J>2&&q.push("'"+this.terminals_[J]+"'");nt=N.showPosition?"Parse error on line "+(j+1)+":\n"+N.showPosition()+"\nExpecting "+q.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(nt,{text:N.match,token:this.terminals_[S]||S,line:N.yylineno,loc:it,expected:q})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+S);switch(D[0]){case 1:c.push(S),E.push(N.yytext),i.push(N.yylloc),c.push(D[1]),S=null,ut=N.yyleng,s=N.yytext,j=N.yylineno,it=N.yylloc;break;case 2:if(z.$=E[E.length-(Z=this.productions_[D[1]][1])],z._$={first_line:i[i.length-(Z||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Z||1)].first_column,last_column:i[i.length-1].last_column},zt&&(z._$.range=[i[i.length-(Z||1)].range[0],i[i.length-1].range[1]]),typeof(at=this.performAction.apply(z,[s,ut,j,K.yy,D[1],E,i].concat(Vt)))<"u")return at;Z&&(c=c.slice(0,-1*Z*2),E=E.slice(0,-1*Z),i=i.slice(0,-1*Z)),c.push(this.productions_[D[1]][0]),E.push(z.$),i.push(z._$),c.push(Q[c[c.length-2]][c[c.length-1]]);break;case 3:return!0}}return!0}};function C(){this.yy={}}return O.lexer={EOF:1,parseError:function(n,c){if(!this.yy.parser)throw new Error(n);this.yy.parser.parseError(n,c)},setInput:function(a,n){return this.yy=n||this.yy||{},this._input=a,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},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.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),a},unput:function(a){var n=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=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 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:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),n=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+n+"^"},test_match:function(a,n){var c,d,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))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var i in E)this[i]=E[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var a,n,c,d;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),i=0;in[0].length)){if(n=c,d=i,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,E[i])))return a;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(a=this.test_match(n,E[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return(n=this.conditionStack.length-1-Math.abs(n||0))>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,c,d,E){switch(d){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return c.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}},C.prototype=O,O.Parser=C,new C}();tt.parser=tt;const vt=tt;let W={},et=[];const lt=function(t,e){return void 0===W[t]?(W[t]={attributes:[],alias:e},g.l.info("Added new entity :",t)):W[t]&&!W[t].alias&&e&&(W[t].alias=e,g.l.info(`Add alias '${e}' to entity '${t}'`)),W[t]},It={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,g.c)().er,addEntity:lt,addAttributes:function(t,e){let u,r=lt(t);for(u=e.length-1;u>=0;u--)r.attributes.push(e[u]),g.l.debug("Added attribute ",e[u].attributeName)},getEntities:()=>W,addRelationship:function(t,e,r,u){let l={entityA:t,roleA:e,entityB:r,relSpec:u};et.push(l),g.l.debug("Added new relationship :",l)},getRelationships:()=>et,clear:function(){W={},et=[],(0,g.v)()},setAccTitle:g.s,getAccTitle:g.g,setAccDescription:g.b,getAccDescription:g.a,setDiagramTitle:g.q,getDiagramTitle:g.t},L={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},B_ERMarkers=L,Dt=/[^\dA-Za-z](\W)*/g;let x={},X=new Map;const ct=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let ht=0;const Wt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function dt(t=""){return t.length>0?`${t}-`:""}const Ht={parser:vt,db:It,renderer:{setConf:function(t){const e=Object.keys(t);for(const r of e)x[r]=t[r]},draw:function(t,e,r,u){x=(0,g.c)().er,g.l.info("Drawing ER diagram");const l=(0,g.c)().securityLevel;let p;"sandbox"===l&&(p=(0,G.Ys)("#i"+e));const o=(0,G.Ys)("sandbox"===l?p.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);let h;(function(t,e){let r;t.append("defs").append("marker").attr("id",L.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",L.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",L.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",L.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",L.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",L.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",L.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(o,x),h=new pt.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:x.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=function(t,e,r){let l;return Object.keys(e).forEach(function(p){const f=function Ut(t="",e=""){const r=t.replace(Dt,"");return`${dt(e)}${dt(r)}${Mt(t,Wt)}`}(p,"entity");X.set(p,f);const o=t.append("g").attr("id",f);l=void 0===l?f:l;const h="text-"+f,_=o.append("text").classed("er entityLabel",!0).attr("id",h).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,g.c)().fontFamily).style("font-size",x.fontSize+"px").text(e[p].alias??p),{width:m,height:k}=((t,e,r)=>{const u=x.entityPadding/3,l=x.entityPadding/3,p=.85*x.fontSize,f=e.node().getBBox(),o=[];let h=!1,_=!1,m=0,k=0,R=0,y=0,A=f.height+2*u,I=1;r.forEach(M=>{void 0!==M.attributeKeyTypeList&&M.attributeKeyTypeList.length>0&&(h=!0),void 0!==M.attributeComment&&(_=!0)}),r.forEach(M=>{const v=`${e.node().id}-attr-${I}`;let O=0;const b=(0,g.x)(M.attributeType),C=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,g.c)().fontFamily).style("font-size",p+"px").text(b),w=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,g.c)().fontFamily).style("font-size",p+"px").text(M.attributeName),a={};a.tn=C,a.nn=w;const n=C.node().getBBox(),c=w.node().getBBox();if(m=Math.max(m,n.width),k=Math.max(k,c.width),O=Math.max(n.height,c.height),h){const d=void 0!==M.attributeKeyTypeList?M.attributeKeyTypeList.join(","):"",E=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,g.c)().fontFamily).style("font-size",p+"px").text(d);a.kn=E;const i=E.node().getBBox();R=Math.max(R,i.width),O=Math.max(O,i.height)}if(_){const d=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,g.c)().fontFamily).style("font-size",p+"px").text(M.attributeComment||"");a.cn=d;const E=d.node().getBBox();y=Math.max(y,E.width),O=Math.max(O,E.height)}a.height=O,o.push(a),A+=O+2*u,I+=1});let U=4;h&&(U+=2),_&&(U+=2);const H=m+k+R+y,Y={width:Math.max(x.minEntityWidth,Math.max(f.width+2*x.entityPadding,H+l*U)),height:r.length>0?A:Math.max(x.minEntityHeight,f.height+2*x.entityPadding)};if(r.length>0){const M=Math.max(0,(Y.width-H-l*U)/(U/2));e.attr("transform","translate("+Y.width/2+","+(u+f.height/2)+")");let v=f.height+2*u,O="attributeBoxOdd";o.forEach(b=>{const C=v+u+b.height/2;b.tn.attr("transform","translate("+l+","+C+")");const w=t.insert("rect","#"+b.tn.node().id).classed(`er ${O}`,!0).attr("x",0).attr("y",v).attr("width",m+2*l+M).attr("height",b.height+2*u),a=parseFloat(w.attr("x"))+parseFloat(w.attr("width"));b.nn.attr("transform","translate("+(a+l)+","+C+")");const n=t.insert("rect","#"+b.nn.node().id).classed(`er ${O}`,!0).attr("x",a).attr("y",v).attr("width",k+2*l+M).attr("height",b.height+2*u);let c=parseFloat(n.attr("x"))+parseFloat(n.attr("width"));if(h){b.kn.attr("transform","translate("+(c+l)+","+C+")");const d=t.insert("rect","#"+b.kn.node().id).classed(`er ${O}`,!0).attr("x",c).attr("y",v).attr("width",R+2*l+M).attr("height",b.height+2*u);c=parseFloat(d.attr("x"))+parseFloat(d.attr("width"))}_&&(b.cn.attr("transform","translate("+(c+l)+","+C+")"),t.insert("rect","#"+b.cn.node().id).classed(`er ${O}`,"true").attr("x",c).attr("y",v).attr("width",y+2*l+M).attr("height",b.height+2*u)),v+=b.height+2*u,O="attributeBoxOdd"===O?"attributeBoxEven":"attributeBoxOdd"})}else Y.height=Math.max(x.minEntityHeight,A),e.attr("transform","translate("+Y.width/2+","+Y.height/2+")");return Y})(o,_,e[p].attributes),y=o.insert("rect","#"+h).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",m).attr("height",k).node().getBBox();r.setNode(f,{width:y.width,height:y.height,shape:"rect",id:f})}),l}(o,u.db.getEntities(),h),m=function(t,e){return t.forEach(function(r){e.setEdge(X.get(r.entityA),X.get(r.entityB),{relationship:r},ct(r))}),t}(u.db.getRelationships(),h);(0,_t.bK)(h),function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})}(o,h),m.forEach(function(I){!function(t,e,r,u,l){ht++;const p=r.edge(X.get(e.entityA),X.get(e.entityB),ct(e)),f=(0,G.jvg)().x(function(A){return A.x}).y(function(A){return A.y}).curve(G.$0Z),o=t.insert("path","#"+u).classed("er relationshipLine",!0).attr("d",f(p.points)).style("stroke",x.stroke).style("fill","none");e.relSpec.relType===l.db.Identification.NON_IDENTIFYING&&o.attr("stroke-dasharray","8,8");let h="";switch(x.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-end","url("+h+"#"+B_ERMarkers.ZERO_OR_ONE_END+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-end","url("+h+"#"+B_ERMarkers.ZERO_OR_MORE_END+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-end","url("+h+"#"+B_ERMarkers.ONE_OR_MORE_END+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-end","url("+h+"#"+B_ERMarkers.ONLY_ONE_END+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-end","url("+h+"#"+B_ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case l.db.Cardinality.ZERO_OR_ONE:o.attr("marker-start","url("+h+"#"+B_ERMarkers.ZERO_OR_ONE_START+")");break;case l.db.Cardinality.ZERO_OR_MORE:o.attr("marker-start","url("+h+"#"+B_ERMarkers.ZERO_OR_MORE_START+")");break;case l.db.Cardinality.ONE_OR_MORE:o.attr("marker-start","url("+h+"#"+B_ERMarkers.ONE_OR_MORE_START+")");break;case l.db.Cardinality.ONLY_ONE:o.attr("marker-start","url("+h+"#"+B_ERMarkers.ONLY_ONE_START+")");break;case l.db.Cardinality.MD_PARENT:o.attr("marker-start","url("+h+"#"+B_ERMarkers.MD_PARENT_START+")")}const _=o.node().getTotalLength(),m=o.node().getPointAtLength(.5*_),k="rel"+ht,y=t.append("text").classed("er relationshipLabel",!0).attr("id",k).attr("x",m.x).attr("y",m.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,g.c)().fontFamily).style("font-size",x.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+k).classed("er relationshipLabelBox",!0).attr("x",m.x-y.width/2).attr("y",m.y-y.height/2).attr("width",y.width).attr("height",y.height)}(o,I,h,_,u)});const k=x.diagramPadding;g.u.insertTitle(o,"entityTitleText",x.titleTopMargin,u.db.getDiagramTitle());const R=o.node().getBBox(),y=R.width+2*k,A=R.height+2*k;(0,g.i)(o,A,y,x.useMaxWidth),o.attr("viewBox",`${R.x-k} ${R.y-k} ${y} ${A}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js b/pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js deleted file mode 100644 index 5efd8fcecd0..00000000000 --- a/pkg/apiserver-impl/ui/784.f79a6e5c423dd7d1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[784],{7784:(Yt,it,P)=>{P.r(it),P.d(it,{diagram:()=>Bt});var ft=P(4169),A=P(855),C=P(6012),F=P(5703),pt=P(1775),X=(P(6780),P(2735),P(1764),function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],p=[4,6,9,11,17,18,20,22,23,24,26],d={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,f,m,c,Y){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:case 7:case 8:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 11:f.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),f.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),f.setAccDescription(this.$);break;case 15:f.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:f.addTask(c[k-1],c[k]),this.$="task";break;case 18:f.parseDirective("%%{","open_directive");break;case 19:f.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),f.parseDirective(c[k],"arg_directive");break;case 21:f.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(p,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(p,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(!a.recoverable){var h=new Error(n);throw h.hash=a,h}this.trace(n)},parse:function(n){var h=[0],f=[],m=[null],c=[],Y=this.table,k="",K=0,ut=0,Nt=c.slice.call(arguments,1),b=Object.create(this.lexer),L={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(L.yy[Q]=this.yy[Q]);b.setInput(n,L.yy),L.yy.lexer=b,L.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;c.push(q);var I,jt=b.options&&b.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var w,R,T,tt,D,$,G,B={};;){if(this.defaultActions[R=h[h.length-1]]?T=this.defaultActions[R]:((null===w||typeof w>"u")&&(I=void 0,"number"!=typeof(I=f.pop()||b.lex()||1)&&(I instanceof Array&&(I=(f=I).pop()),I=this.symbols_[I]||I),w=I),T=Y[R]&&Y[R][w]),typeof T>"u"||!T.length||!T[0]){var et;for(D in G=[],Y[R])this.terminals_[D]&&D>2&&G.push("'"+this.terminals_[D]+"'");et=b.showPosition?"Parse error on line "+(K+1)+":\n"+b.showPosition()+"\nExpecting "+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(K+1)+": Unexpected "+(1==w?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(et,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:q,expected:G})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+w);switch(T[0]){case 1:h.push(w),m.push(b.yytext),c.push(b.yylloc),h.push(T[1]),w=null,ut=b.yyleng,k=b.yytext,K=b.yylineno,q=b.yylloc;break;case 2:if(B.$=m[m.length-($=this.productions_[T[1]][1])],B._$={first_line:c[c.length-($||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-($||1)].first_column,last_column:c[c.length-1].last_column},jt&&(B._$.range=[c[c.length-($||1)].range[0],c[c.length-1].range[1]]),typeof(tt=this.performAction.apply(B,[k,ut,K,L.yy,T[1],m,c].concat(Nt)))<"u")return tt;$&&(h=h.slice(0,-1*$*2),m=m.slice(0,-1*$),c=c.slice(0,-1*$)),h.push(this.productions_[T[1]][0]),m.push(B.$),c.push(B._$),h.push(Y[h[h.length-2]][h[h.length-1]]);break;case 3:return!0}}return!0}};function v(){this.yy={}}return d.lexer={EOF:1,parseError:function(a,h){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,h)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.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),n},unput:function(n){var a=n.length,h=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var f=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),h.length-1&&(this.yylineno-=h.length-1);var m=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:h?(h.length===f.length?this.yylloc.first_column:0)+f[f.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+a+"^"},test_match:function(n,a){var h,f,m;if(this.options.backtrack_lexer&&(m={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&&(m.yylloc.range=this.yylloc.range.slice(0))),(f=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var c in m)this[c]=m[c];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,a,h,f;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),c=0;ca[0].length)){if(a=h,f=c,this.options.backtrack_lexer){if(!1!==(n=this.test_match(h,m[c])))return n;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(n=this.test_match(a,m[f]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,h,f,m){switch(f){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}},v.prototype=d,d.Parser=v,new v}());X.parser=X;const gt=X;let O="";const H=[],N=[],j=[],st=function(){const e=function(i){return j[i].processed};let t=!0;for(const[i,r]of j.entries())e(i),t=t&&r.processed;return t},rt={parseDirective:function(e,t,i){ft.m.parseDirective(this,e,t,i)},getConfig:()=>(0,A.g)().journey,clear:function(){H.length=0,N.length=0,O="",j.length=0,(0,C.f)()},setDiagramTitle:C.d,getDiagramTitle:C.e,setAccTitle:C.s,getAccTitle:C.g,setAccDescription:C.b,getAccDescription:C.a,addSection:function(e){O=e,H.push(e)},getSections:function(){return H},getTasks:function(){let e=st(),i=0;for(;!e&&i<100;)e=st(),i++;return N.push(...j),N},addTask:function(e,t){const i=t.substr(1).split(":");let r=0,s=[];1===i.length?(r=Number(i[0]),s=[]):(r=Number(i[0]),s=i[1].split(","));const o=s.map(y=>y.trim());j.push({section:O,type:O,people:o,task:e,score:r})},addTaskOrg:function(e){N.push({section:O,type:O,description:e,task:e,classes:[]})},getActors:function(){return function(){const e=[];return N.forEach(i=>{i.people&&e.push(...i.people)}),[...new Set(e)].sort()}()}},U=function(e,t){const i=e.append("rect");return i.attr("x",t.x),i.attr("y",t.y),i.attr("fill",t.fill),i.attr("stroke",t.stroke),i.attr("width",t.width),i.attr("height",t.height),i.attr("rx",t.rx),i.attr("ry",t.ry),void 0!==t.class&&i.attr("class",t.class),i},nt=function(e,t){const i=e.append("circle");return i.attr("cx",t.cx),i.attr("cy",t.cy),i.attr("class","actor-"+t.pos),i.attr("fill",t.fill),i.attr("stroke",t.stroke),i.attr("r",t.r),void 0!==i.class&&i.attr("class",i.class),void 0!==t.title&&i.append("title").text(t.title),i},at=function(e,t){const i=t.text.replace(//gi," "),r=e.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),void 0!==t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+2*t.textMargin),s.text(i),r};let lt=-1;const ct=function(){function e(s,o,l,y,u,x,g,p){r(o.append("text").attr("x",l+u/2).attr("y",y+x/2+5).style("font-color",p).style("text-anchor","middle").text(s),g)}function t(s,o,l,y,u,x,g,p,d){const{taskFontSize:E,taskFontFamily:v}=p,_=s.split(//gi);for(let n=0;n<_.length;n++){const a=n*E-E*(_.length-1)/2,h=o.append("text").attr("x",l+u/2).attr("y",y).attr("fill",d).style("text-anchor","middle").style("font-size",E).style("font-family",v);h.append("tspan").attr("x",l+u/2).attr("dy",a).text(_[n]),h.attr("y",y+x/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(h,g)}}function i(s,o,l,y,u,x,g,p){const d=o.append("switch"),v=d.append("foreignObject").attr("x",l).attr("y",y).attr("width",u).attr("height",x).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");v.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(s),t(s,d,l,y,u,x,g,p),r(v,g)}function r(s,o){for(const l in o)l in o&&s.attr(l,o[l])}return function(s){return"fo"===s.textPlacement?i:"old"===s.textPlacement?e:t}}(),W_drawCircle=nt,W_drawSection=function(e,t,i){const r=e.append("g"),s={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};s.x=t.x,s.y=t.y,s.fill=t.fill,s.width=i.width*t.taskCount+i.diagramMarginX*(t.taskCount-1),s.height=i.height,s.class="journey-section section-type-"+t.num,s.rx=3,s.ry=3,U(r,s),ct(i)(t.text,r,s.x,s.y,s.width,s.height,{class:"journey-section section-type-"+t.num},i,t.colour)},W_drawText=at,W_drawTask=function(e,t,i){const r=t.x+i.width/2,s=e.append("g");lt++,s.append("line").attr("id","task"+lt).attr("x1",r).attr("y1",t.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(e,t){e.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible");const s=e.append("g");s.append("circle").attr("cx",t.cx-5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),s.append("circle").attr("cx",t.cx+5).attr("cy",t.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),t.score>3?function o(u){const x=(0,F.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}(s):t.score<3?function l(u){const x=(0,F.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);u.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}(s):function y(u){u.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(s)}(s,{cx:r,cy:300+30*(5-t.score),score:t.score});const l={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};l.x=t.x,l.y=t.y,l.fill=t.fill,l.width=i.width,l.height=i.height,l.class="task task-type-"+t.num,l.rx=3,l.ry=3,U(s,l);let y=t.x+14;t.people.forEach(u=>{nt(s,{cx:y,cy:t.y,r:7,fill:t.actors[u].color,stroke:"#000",title:u,pos:t.actors[u].position}),y+=10}),ct(i)(t.task,s,l.x,l.y,l.width,l.height,{class:"task"},i,t.colour)},W_initGraphics=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},S={},z=(0,A.g)().journey,V=z.leftMargin,M={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(e,t,i,r){e[t]=void 0===e[t]?i:r(i,e[t])},updateBounds:function(e,t,i,r){const s=(0,A.g)().journey,o=this;let l=0;this.sequenceItems.forEach(function y(u){return function(g){l++;const p=o.sequenceItems.length-l+1;o.updateVal(g,"starty",t-p*s.boxMargin,Math.min),o.updateVal(g,"stopy",r+p*s.boxMargin,Math.max),o.updateVal(M.data,"startx",e-p*s.boxMargin,Math.min),o.updateVal(M.data,"stopx",i+p*s.boxMargin,Math.max),"activation"!==u&&(o.updateVal(g,"startx",e-p*s.boxMargin,Math.min),o.updateVal(g,"stopx",i+p*s.boxMargin,Math.max),o.updateVal(M.data,"starty",t-p*s.boxMargin,Math.min),o.updateVal(M.data,"stopy",r+p*s.boxMargin,Math.max))}}())},insert:function(e,t,i,r){const s=Math.min(e,i),o=Math.max(e,i),l=Math.min(t,r),y=Math.max(t,r);this.updateVal(M.data,"startx",s,Math.min),this.updateVal(M.data,"starty",l,Math.min),this.updateVal(M.data,"stopx",o,Math.max),this.updateVal(M.data,"stopy",y,Math.max),this.updateBounds(s,l,o,y)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},J=z.sectionFills,ot=z.sectionColours,ht={setConf:function(e){Object.keys(e).forEach(function(i){z[i]=e[i]})},draw:function(e,t,i,r){const s=(0,A.g)().journey;r.db.clear(),r.parser.parse(e+"\n");const o=(0,A.g)().securityLevel;let l;"sandbox"===o&&(l=(0,F.Ys)("#i"+t));const y=(0,F.Ys)("sandbox"===o?l.nodes()[0].contentDocument.body:"body");M.init();const u=y.select("#"+t);W_initGraphics(u);const x=r.db.getTasks(),g=r.db.getDiagramTitle(),p=r.db.getActors();for(const a in S)delete S[a];let d=0;p.forEach(a=>{S[a]={color:s.actorColours[d%s.actorColours.length],position:d},d++}),function Lt(e){const t=(0,A.g)().journey;let i=60;Object.keys(S).forEach(r=>{W_drawCircle(e,{cx:20,cy:i,r:7,fill:S[r].color,stroke:"#000",pos:S[r].position}),W_drawText(e,{x:40,y:i+7,fill:"#666",text:r,textMargin:5|t.boxTextMargin}),i+=20})}(u),M.insert(0,0,V,50*Object.keys(S).length),function(e,t,i){const r=(0,A.g)().journey;let s="";const l=i+(2*r.height+r.diagramMarginY);let y=0,u="#CCC",x="black",g=0;for(const[p,d]of t.entries()){if(s!==d.section){u=J[y%J.length],g=y%J.length,x=ot[y%ot.length];let v=0;const _=d.section;for(let a=p;a(S[_]&&(v[_]=S[_]),v),{});d.x=p*r.taskMargin+p*r.width+V,d.y=l,d.width=r.diagramMarginX,d.height=r.diagramMarginY,d.colour=x,d.fill=u,d.num=g,d.actors=E,W_drawTask(e,d,r),M.insert(d.x,d.y,d.x+d.width+r.taskMargin,450)}}(u,x,0);const E=M.getBounds();g&&u.append("text").text(g).attr("x",V).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const v=E.stopy-E.starty+2*s.diagramMarginY,_=V+E.stopx+2*s.diagramMarginX;(0,pt.c)(u,v,_,s.useMaxWidth),u.append("line").attr("x1",V).attr("y1",4*s.height).attr("x2",_-V-4).attr("y2",4*s.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const n=g?70:0;u.attr("viewBox",`${E.startx} -25 ${_} ${v+n}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",v+n+25)}},Bt={parser:gt,db:rt,renderer:ht,styles:e=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${e.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${e.textColor}\n }\n\n .legend {\n fill: ${e.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${e.textColor}\n }\n\n .face {\n ${e.faceColor?`fill: ${e.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${e.fillType0?`fill: ${e.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${e.fillType0?`fill: ${e.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${e.fillType0?`fill: ${e.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${e.fillType0?`fill: ${e.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${e.fillType0?`fill: ${e.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${e.fillType0?`fill: ${e.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${e.fillType0?`fill: ${e.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${e.fillType0?`fill: ${e.fillType7}`:""};\n }\n\n .actor-0 {\n ${e.actor0?`fill: ${e.actor0}`:""};\n }\n .actor-1 {\n ${e.actor1?`fill: ${e.actor1}`:""};\n }\n .actor-2 {\n ${e.actor2?`fill: ${e.actor2}`:""};\n }\n .actor-3 {\n ${e.actor3?`fill: ${e.actor3}`:""};\n }\n .actor-4 {\n ${e.actor4?`fill: ${e.actor4}`:""};\n }\n .actor-5 {\n ${e.actor5?`fill: ${e.actor5}`:""};\n }\n`,init:e=>{ht.setConf(e.journey),rt.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js b/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js deleted file mode 100644 index 980798e7358..00000000000 --- a/pkg/apiserver-impl/ui/806.c6ff18a1f12536c9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[806],{5806:(ht,v,l)=>{l.r(v),l.d(v,{diagram:()=>At});var d=l(2911),J=l(8814),P=l(5703),i=l(855),Q=l(5963),X=l(1775),Z=l(9111);l(2735),l(1764),l(9006),l(7416),l(6780);const C="rect",R="rectWithTitle",T="statediagram",ot=`${T}-state`,$="transition",ct=`${$} note-edge`,it=`${T}-note`,lt=`${T}-cluster`,rt=`${T}-cluster-alt`,B="parent",G="note",dt="state",O="----",_t=`${O}${G}`,N=`${O}${B}`,U="fill:none",W="fill: #333",K="text",H="normal";let p={},E=0;function M(t="",n=0,s="",c=O){return`${dt}-${t}${null!==s&&s.length>0?`${c}${s}`:""}-${n}`}const f=(t,n,s,c,r,_)=>{const e=s.id,h=function St(t){return null==t?"":t.classes?t.classes.join(" "):""}(c[e]);if("root"!==e){let A=C;!0===s.start&&(A="start"),!1===s.start&&(A="end"),s.type!==d.a&&(A=s.type),p[e]||(p[e]={id:e,shape:A,description:i.d.sanitizeText(e,(0,i.g)()),classes:`${h} ${ot}`});const o=p[e];s.description&&(Array.isArray(o.description)?(o.shape=R,o.description.push(s.description)):o.description.length>0?(o.shape=R,o.description=o.description===e?[s.description]:[o.description,s.description]):(o.shape=C,o.description=s.description),o.description=i.d.sanitizeTextOrArray(o.description,(0,i.g)())),1===o.description.length&&o.shape===R&&(o.shape=C),!o.type&&s.doc&&(i.l.info("Setting cluster for ",e,x(s)),o.type="group",o.dir=x(s),o.shape=s.type===d.b?"divider":"roundedWithTitle",o.classes=o.classes+" "+lt+" "+(_?rt:""));const u={labelStyle:"",shape:o.shape,labelText:o.description,classes:o.classes,style:"",id:e,dir:o.dir,domId:M(e,E),type:o.type,padding:15};if(s.note){const S={labelStyle:"",shape:"note",labelText:s.note.text,classes:it,style:"",id:e+_t+"-"+E,domId:M(e,E,G),type:o.type,padding:15},y={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:o.classes,style:"",id:e+N,domId:M(e,E,B),type:"group",padding:0};E++;const a=e+N;t.setNode(a,y),t.setNode(S.id,S),t.setNode(e,u),t.setParent(e,a),t.setParent(S.id,a);let g=e,D=S.id;"left of"===s.note.position&&(g=S.id,D=e),t.setEdge(g,D,{arrowhead:"none",arrowType:"",style:U,labelStyle:"",classes:ct,arrowheadStyle:W,labelpos:"c",labelType:K,thickness:H})}else t.setNode(e,u)}n&&"root"!==n.id&&(i.l.trace("Setting node ",e," to be child of its parent ",n.id),t.setParent(e,n.id)),s.doc&&(i.l.trace("Adding nodes children "),Dt(t,s,s.doc,c,r,!_))},Dt=(t,n,s,c,r,_)=>{i.l.trace("items",s),s.forEach(e=>{switch(e.stmt){case d.c:case d.a:f(t,n,e,c,r,_);break;case d.S:{f(t,n,e.state1,c,r,_),f(t,n,e.state2,c,r,_);const h={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:U,labelStyle:"",label:i.d.sanitizeText(e.description,(0,i.g)()),arrowheadStyle:W,labelpos:"c",labelType:K,thickness:H,classes:$};t.setEdge(e.state1.id,e.state2.id,h,E),E++}}})},x=(t,n=d.e)=>{let s=n;if(t.doc)for(let c=0;c{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,d.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js b/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js deleted file mode 100644 index 1e529bccba0..00000000000 --- a/pkg/apiserver-impl/ui/807.04e2b45e478bfa14.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[807],{3057:(Q2,h2,o1)=>{o1.d(h2,{a:()=>s2});var x1=o1(6257);function s2(R1,a2){var l1=R1.append("foreignObject").attr("width","100000"),s1=l1.append("xhtml:div");s1.attr("xmlns","http://www.w3.org/1999/xhtml");var q1=a2.label;switch(typeof q1){case"function":s1.insert(q1);break;case"object":s1.insert(function(){return q1});break;default:s1.html(q1)}x1.bg(s1,a2.labelStyle),s1.style("display","inline-block"),s1.style("white-space","nowrap");var c2=s1.node().getBoundingClientRect();return l1.attr("width",c2.width).attr("height",c2.height),l1}},6257:(Q2,h2,o1)=>{o1.d(h2,{$p:()=>c2,O1:()=>a2,WR:()=>b2,bF:()=>R1,bg:()=>q1});var x1=o1(2031),s2=o1(2089);function R1(Z,j){return!!Z.children(j).length}function a2(Z){return s1(Z.v)+":"+s1(Z.w)+":"+s1(Z.name)}var l1=/:/g;function s1(Z){return Z?String(Z).replace(l1,"\\:"):""}function q1(Z,j){j&&Z.attr("style",j)}function c2(Z,j,A1){j&&Z.attr("class",j).attr("class",A1+" "+Z.attr("class"))}function b2(Z,j){var A1=j.graph();if(x1.Z(A1)){var I1=A1.transition;if(s2.Z(I1))return I1(Z)}return Z}},4976:(Q2,h2,o1)=>{o1.d(h2,{d:()=>Ke,f:()=>Te,p:()=>q1});var x1=o1(5703),s2=o1(9111),R1=o1(855),a2=o1(4169),l1=o1(6012),s1=function(){var e=function(t2,a,o,B){for(o=o||{},B=t2.length;B--;o[t2[B]]=a);return o},u=[1,9],r=[1,7],n=[1,6],c=[1,8],Y=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],F=[2,10],r1=[1,20],z=[1,21],u1=[1,22],_1=[1,23],$1=[1,30],u2=[1,32],r2=[1,33],d2=[1,34],J=[1,62],h1=[1,48],N1=[1,52],v2=[1,36],T2=[1,37],S2=[1,38],m2=[1,39],y2=[1,40],P1=[1,56],w1=[1,63],U1=[1,51],M1=[1,53],G1=[1,55],K1=[1,59],W1=[1,60],V2=[1,41],L2=[1,42],R2=[1,43],x2=[1,44],j1=[1,61],Y1=[1,50],H1=[1,54],z1=[1,57],Q1=[1,58],X1=[1,49],Se=[1,66],p2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],b1=[1,75],D1=[1,74],g1=[1,76],I2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],f=[1,108],n1=[1,101],A=[1,106],d=[1,109],a1=[1,102],p=[1,114],E=[1,113],_=[1,103],b=[1,105],D=[1,110],g=[1,111],k=[1,112],C=[1,115],U2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],q=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],H=[20,21,23],me=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],M2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],E2=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],T=[1,149],S=[1,157],m=[1,158],y=[1,159],V=[1,160],L=[1,144],R=[1,145],$=[1,141],x=[1,152],I=[1,153],O=[1,154],N=[1,155],P=[1,156],w=[1,161],U=[1,162],M=[1,147],G=[1,150],K=[1,146],W=[1,143],G2=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],ye=[1,165],o2=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],v=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Ve=[12,21,22,24],Le=[22,106],k1=[1,250],C1=[1,245],F1=[1,246],B1=[1,254],v1=[1,251],T1=[1,248],S1=[1,247],m1=[1,249],y1=[1,252],V1=[1,253],L1=[1,255],e2=[1,273],Re=[20,21,23,106],f1=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],K2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(a,o,B,i,X,t,_2){var s=t.length-1;switch(X){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),i.parseDirective(t[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=t[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 41:this.$=i.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=i.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=i.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),i.setAccDescription(this.$);break;case 51:i.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:i.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:case 123:case 125:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],i.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],i.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],i.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],i.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],i.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],i.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 79:var p1=i.destructLink(t[s],t[s-2]);this.$={type:p1.type,stroke:p1.stroke,length:p1.length,text:t[s-1]};break;case 80:p1=i.destructLink(t[s]),this.$={type:p1.type,stroke:p1.stroke,length:p1.length};break;case 81:this.$=t[s-1];break;case 83:case 97:case 153:case 151:this.$=t[s-1]+""+t[s];break;case 98:case 99:this.$=t[s-4],i.addClass(t[s-2],t[s]);break;case 100:this.$=t[s-4],i.setClass(t[s-2],t[s]);break;case 101:case 109:this.$=t[s-1],i.setClickEvent(t[s-1],t[s]);break;case 102:case 110:this.$=t[s-3],i.setClickEvent(t[s-3],t[s-2]),i.setTooltip(t[s-3],t[s]);break;case 103:this.$=t[s-2],i.setClickEvent(t[s-2],t[s-1],t[s]);break;case 104:this.$=t[s-4],i.setClickEvent(t[s-4],t[s-3],t[s-2]),i.setTooltip(t[s-4],t[s]);break;case 105:case 111:this.$=t[s-1],i.setLink(t[s-1],t[s]);break;case 106:case 112:this.$=t[s-3],i.setLink(t[s-3],t[s-2]),i.setTooltip(t[s-3],t[s]);break;case 107:case 113:this.$=t[s-3],i.setLink(t[s-3],t[s-2],t[s]);break;case 108:case 114:this.$=t[s-5],i.setLink(t[s-5],t[s-4],t[s]),i.setTooltip(t[s-5],t[s-2]);break;case 115:this.$=t[s-4],i.addVertex(t[s-2],void 0,void 0,t[s]);break;case 116:case 118:this.$=t[s-4],i.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-4],i.updateLink([t[s-2]],t[s]);break;case 119:this.$=t[s-8],i.updateLinkInterpolate([t[s-6]],t[s-2]),i.updateLink([t[s-6]],t[s]);break;case 120:this.$=t[s-8],i.updateLinkInterpolate(t[s-6],t[s-2]),i.updateLink(t[s-6],t[s]);break;case 121:this.$=t[s-6],i.updateLinkInterpolate([t[s-4]],t[s]);break;case 122:this.$=t[s-6],i.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:t[s-2].push(t[s]),this.$=t[s-2];break;case 128:this.$=t[s-1]+t[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:r,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:r,22:n,24:c},e(Y,F,{17:11}),{7:12,13:[1,13]},{16:14,21:r,22:n,24:c},{16:15,21:r,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{8:64,10:[1,65],15:Se},e([10,15],[2,6]),e(Y,[2,17]),e(Y,[2,18]),e(Y,[2,19]),{20:[1,68],21:[1,69],22:p2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:b1,21:D1,23:g1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:b1,21:D1,23:g1},{9:81,20:b1,21:D1,23:g1},{9:82,20:b1,21:D1,23:g1},{9:83,20:b1,21:D1,23:g1},{9:84,20:b1,21:D1,23:g1},{9:86,20:b1,21:D1,22:[1,85],23:g1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(I2,[2,54],{30:89,22:p2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:f,84:[1,97],91:n1,97:96,98:[1,94],100:[1,95],105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(Q,[2,158]),e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(U2,[2,55],{53:[1,116]}),e(t1,[2,74],{116:129,40:[1,117],52:J,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:h1,67:N1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1}),e(q,[2,150]),e(q,[2,175]),e(q,[2,176]),e(q,[2,177]),e(q,[2,178]),e(q,[2,179]),e(q,[2,180]),e(q,[2,181]),e(q,[2,182]),e(q,[2,183]),e(q,[2,184]),e(q,[2,185]),e(q,[2,186]),e(q,[2,187]),e(q,[2,188]),e(q,[2,189]),e(q,[2,190]),{9:130,20:b1,21:D1,23:g1},{11:131,14:[1,132]},e(H,[2,8]),e(Y,[2,20]),e(Y,[2,26]),e(Y,[2,27]),{21:[1,133]},e(me,[2,34],{30:134,22:p2}),e(Q,[2,35]),{50:135,51:45,52:J,54:46,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},e(M2,[2,48]),e(M2,[2,49]),e(M2,[2,50]),e(E2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:T,24:S,26:m,38:y,39:139,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:T,24:S,26:m,38:y,39:163,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(G2,F,{17:164}),e(Q,[2,45]),e(Q,[2,46]),e(I2,[2,53],{52:ye}),{26:i1,52:l,66:h,67:f,91:n1,97:166,102:[1,167],105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{95:[1,168],103:169,105:[1,170]},{26:i1,52:l,66:h,67:f,91:n1,95:[1,171],97:172,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{26:i1,52:l,66:h,67:f,91:n1,97:173,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,101],{22:[1,174],99:[1,175]}),e(H,[2,105],{22:[1,176]}),e(H,[2,109],{115:100,117:178,22:[1,177],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,111],{22:[1,179]}),e(o2,[2,152]),e(o2,[2,154]),e(o2,[2,155]),e(o2,[2,156]),e(o2,[2,157]),e(v,[2,162]),e(v,[2,163]),e(v,[2,164]),e(v,[2,165]),e(v,[2,166]),e(v,[2,167]),e(v,[2,168]),e(v,[2,169]),e(v,[2,170]),e(v,[2,171]),e(v,[2,172]),e(v,[2,173]),e(v,[2,174]),{52:J,54:180,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:T,24:S,26:m,38:y,39:181,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:182,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:184,42:V,52:l,57:[1,183],66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:185,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:186,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:187,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{66:[1,188]},{22:T,24:S,26:m,38:y,39:189,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:190,42:V,52:l,66:h,67:f,71:[1,191],73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:192,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:193,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:194,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(q,[2,151]),e(Ve,[2,3]),{8:195,15:Se},{15:[2,7]},e(Y,[2,28]),e(me,[2,33]),e(I2,[2,51],{30:196,22:p2}),e(E2,[2,75],{22:[1,197]}),{22:[1,198]},{22:T,24:S,26:m,38:y,39:199,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,81:R,82:[1,200],83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(v,[2,82]),e(v,[2,84]),e(v,[2,140]),e(v,[2,141]),e(v,[2,142]),e(v,[2,143]),e(v,[2,144]),e(v,[2,145]),e(v,[2,146]),e(v,[2,147]),e(v,[2,148]),e(v,[2,149]),e(v,[2,85]),e(v,[2,86]),e(v,[2,87]),e(v,[2,88]),e(v,[2,89]),e(v,[2,90]),e(v,[2,91]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),{9:203,20:b1,21:D1,22:T,23:g1,24:S,26:m,38:y,40:[1,202],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,204],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:p2,30:205},{22:[1,206],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},e(Le,[2,123]),{22:[1,211]},{22:[1,212],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{22:[1,213],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,115:100,117:178,122:_,123:b,124:D,125:g,126:k,127:C},{84:[1,214]},e(H,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},e(o2,[2,153]),{84:[1,219],101:[1,220]},e(U2,[2,57],{116:129,52:J,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1}),{22:T,24:S,26:m,38:y,41:[1,221],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,56:[1,222],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:223,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,58:[1,224],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,60:[1,225],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,62:[1,226],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,64:[1,227],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{67:[1,228]},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,70:[1,229],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,72:[1,230],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,39:231,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,41:[1,232],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,75:[1,233],77:[1,234],81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,73:L,75:[1,236],77:[1,235],81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{9:237,20:b1,21:D1,23:g1},e(I2,[2,52],{52:ye}),e(E2,[2,77]),e(E2,[2,76]),{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,68:[1,238],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(E2,[2,79]),e(v,[2,83]),{22:T,24:S,26:m,38:y,39:239,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(G2,F,{17:240}),e(Q,[2,43]),{51:241,52:J,54:46,66:h1,67:N1,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:k1,66:C1,67:F1,86:B1,96:242,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:256,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:257,102:v1,104:[1,258],105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:259,102:v1,104:[1,260],105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{105:[1,261]},{22:k1,66:C1,67:F1,86:B1,96:262,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:263,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{26:i1,52:l,66:h,67:f,91:n1,97:264,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,102]),{84:[1,265]},e(H,[2,106],{22:[1,266]}),e(H,[2,107]),e(H,[2,110]),e(H,[2,112],{22:[1,267]}),e(H,[2,113]),e(t1,[2,58]),e(t1,[2,59]),{22:T,24:S,26:m,38:y,42:V,52:l,58:[1,268],66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,269]},e(t1,[2,65]),e(t1,[2,67]),{22:T,24:S,26:m,38:y,42:V,52:l,66:h,67:f,72:[1,270],73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(Ve,[2,4]),e([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:T,24:S,26:m,38:y,41:[1,271],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,272],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},e(U2,[2,56]),e(H,[2,115],{106:e2}),e(Re,[2,125],{108:274,22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,109:S1,110:m1,111:y1,112:V1,113:L1}),e(f1,[2,127]),e(f1,[2,129]),e(f1,[2,130]),e(f1,[2,131]),e(f1,[2,132]),e(f1,[2,133]),e(f1,[2,134]),e(f1,[2,135]),e(f1,[2,136]),e(f1,[2,137]),e(f1,[2,138]),e(f1,[2,139]),e(H,[2,116],{106:e2}),e(H,[2,117],{106:e2}),{22:[1,275]},e(H,[2,118],{106:e2}),{22:[1,276]},e(Le,[2,124]),e(H,[2,98],{106:e2}),e(H,[2,99],{106:e2}),e(H,[2,100],{115:100,117:178,26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:b1,21:D1,23:g1},e(Q,[2,42]),{22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,107:283,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},e(f1,[2,128]),{26:i1,52:l,66:h,67:f,91:n1,97:284,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},{26:i1,52:l,66:h,67:f,91:n1,97:285,105:A,106:d,109:a1,111:p,112:E,115:100,117:98,122:_,123:b,124:D,125:g,126:k,127:C},e(H,[2,108]),e(H,[2,114]),e(t1,[2,60]),{22:T,24:S,26:m,38:y,39:286,42:V,52:l,66:h,67:f,73:L,81:R,83:140,84:$,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},e(t1,[2,68]),e(G2,F,{17:287}),e(Re,[2,126],{108:274,22:k1,66:C1,67:F1,86:B1,102:v1,105:T1,109:S1,110:m1,111:y1,112:V1,113:L1}),e(H,[2,121],{115:100,117:178,22:[1,288],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),e(H,[2,122],{115:100,117:178,22:[1,289],26:i1,52:l,66:h,67:f,91:n1,105:A,106:d,109:a1,111:p,112:E,122:_,123:b,124:D,125:g,126:k,127:C}),{22:T,24:S,26:m,38:y,41:[1,290],42:V,52:l,66:h,67:f,73:L,81:R,83:201,85:151,86:x,87:I,88:O,89:N,90:P,91:w,92:U,94:142,95:M,105:A,106:d,109:G,111:p,112:E,113:K,114:W,115:148,122:_,123:b,124:D,125:g,126:k,127:C},{18:18,19:19,20:r1,21:z,22:u1,23:_1,32:24,33:25,34:26,35:27,36:28,37:29,38:$1,42:[1,291],43:31,44:u2,46:r2,48:d2,50:35,51:45,52:J,54:46,66:h1,67:N1,86:v2,87:T2,88:S2,89:m2,90:y2,91:P1,95:w1,105:U1,106:M1,109:G1,111:K1,112:W1,116:47,118:V2,119:L2,120:R2,121:x2,122:j1,123:Y1,124:H1,125:z1,126:Q1,127:X1},{22:k1,66:C1,67:F1,86:B1,96:292,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},{22:k1,66:C1,67:F1,86:B1,96:293,102:v1,105:T1,107:243,108:244,109:S1,110:m1,111:y1,112:V1,113:L1},e(t1,[2,64]),e(Q,[2,41]),e(H,[2,119],{106:e2}),e(H,[2,120],{106:e2})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(!o.recoverable){var B=new Error(a);throw B.hash=o,B}this.trace(a)},parse:function(a){var B=[0],i=[],X=[null],t=[],_2=this.table,s="",p1=0,xe=0,Ye=t.slice.call(arguments,1),e1=Object.create(this.lexer),i2={yy:{}};for(var j2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j2)&&(i2.yy[j2]=this.yy[j2]);e1.setInput(a,i2.yy),i2.yy.lexer=e1,i2.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var Y2=e1.yylloc;t.push(Y2);var J1,He=e1.options&&e1.options.ranges;this.parseError="function"==typeof i2.yy.parseError?i2.yy.parseError:Object.getPrototypeOf(this).parseError;for(var c1,n2,E1,H2,O2,Z1,N2,l2={};;){if(this.defaultActions[n2=B[B.length-1]]?E1=this.defaultActions[n2]:((null===c1||typeof c1>"u")&&(J1=void 0,"number"!=typeof(J1=i.pop()||e1.lex()||1)&&(J1 instanceof Array&&(J1=(i=J1).pop()),J1=this.symbols_[J1]||J1),c1=J1),E1=_2[n2]&&_2[n2][c1]),typeof E1>"u"||!E1.length||!E1[0]){var z2;for(O2 in N2=[],_2[n2])this.terminals_[O2]&&O2>2&&N2.push("'"+this.terminals_[O2]+"'");z2=e1.showPosition?"Parse error on line "+(p1+1)+":\n"+e1.showPosition()+"\nExpecting "+N2.join(", ")+", got '"+(this.terminals_[c1]||c1)+"'":"Parse error on line "+(p1+1)+": Unexpected "+(1==c1?"end of input":"'"+(this.terminals_[c1]||c1)+"'"),this.parseError(z2,{text:e1.match,token:this.terminals_[c1]||c1,line:e1.yylineno,loc:Y2,expected:N2})}if(E1[0]instanceof Array&&E1.length>1)throw new Error("Parse Error: multiple actions possible at state: "+n2+", token: "+c1);switch(E1[0]){case 1:B.push(c1),X.push(e1.yytext),t.push(e1.yylloc),B.push(E1[1]),c1=null,xe=e1.yyleng,s=e1.yytext,p1=e1.yylineno,Y2=e1.yylloc;break;case 2:if(l2.$=X[X.length-(Z1=this.productions_[E1[1]][1])],l2._$={first_line:t[t.length-(Z1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(Z1||1)].first_column,last_column:t[t.length-1].last_column},He&&(l2._$.range=[t[t.length-(Z1||1)].range[0],t[t.length-1].range[1]]),typeof(H2=this.performAction.apply(l2,[s,xe,p1,i2.yy,E1[1],X,t].concat(Ye)))<"u")return H2;Z1&&(B=B.slice(0,-1*Z1*2),X=X.slice(0,-1*Z1),t=t.slice(0,-1*Z1)),B.push(this.productions_[E1[1]][0]),X.push(l2.$),t.push(l2._$),B.push(_2[B[B.length-2]][B[B.length-1]]);break;case 3:return!0}}return!0}};function W2(){this.yy={}}return K2.lexer={EOF:1,parseError:function(o,B){if(!this.yy.parser)throw new Error(o);this.yy.parser.parseError(o,B)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,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},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.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),a},unput:function(a){var o=a.length,B=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var i=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),B.length-1&&(this.yylineno-=B.length-1);var X=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:B?(B.length===i.length?this.yylloc.first_column:0)+i[i.length-B.length].length-B[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[X[0],X[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+o+"^"},test_match:function(a,o){var B,i,X;if(this.options.backtrack_lexer&&(X={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&&(X.yylloc.range=this.yylloc.range.slice(0))),(i=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],B=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),B)return B;if(this._backtrack){for(var t in X)this[t]=X[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var a,o,B,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var X=this._currentRules(),t=0;to[0].length)){if(o=B,i=t,this.options.backtrack_lexer){if(!1!==(a=this.test_match(B,X[t])))return a;if(this._backtrack){o=!1;continue}return!1}if(!this.options.flex)break}return o?!1!==(a=this.test_match(o,X[i]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return(o=this.conditionStack.length-1-Math.abs(o||0))>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,B,i,X){switch(i){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return o.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:case 70:return 82;case 71:case 72:case 73:return 81;case 74:return 59;case 75:return 60;case 76:return 61;case 77:return 62;case 78:return 63;case 79:return 64;case 80:return 65;case 81:return 69;case 82:return 70;case 83:return 55;case 84:return 56;case 85:return 109;case 86:return 112;case 87:return 127;case 88:return 124;case 89:return 113;case 90:case 91:return 125;case 92:return 114;case 93:return 73;case 94:return 92;case 95:return"SEP";case 96:return 91;case 97:return 66;case 98:return 75;case 99:return 74;case 100:return 77;case 101:return 76;case 102:return 122;case 103:return 123;case 104:return 68;case 105:return 57;case 106:return 58;case 107:return 40;case 108:return 41;case 109:return 71;case 110:return 72;case 111:return 133;case 112:return 21;case 113:return 22;case 114:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],inclusive:!0}}},W2.prototype=K2,K2.Parser=W2,new W2}();s1.parser=s1;const q1=s1;let d1,k2,b2=0,Z=(0,R1.g)(),j={},A1=[],I1={},O1=[],D2={},P2={},g2=0,w2=!0,C2=[];const F2=e=>R1.d.sanitizeText(e,Z),X2=function(e,u,r){a2.m.parseDirective(this,e,u,r)},f2=function(e){const u=Object.keys(j);for(const r of u)if(j[r].id===e)return j[r].domId;return e},Z2=function(e,u,r,n,c,Y,F={}){let r1,z=e;void 0!==z&&0!==z.trim().length&&(void 0===j[z]&&(j[z]={id:z,domId:"flowchart-"+z+"-"+b2,styles:[],classes:[]}),b2++,void 0!==u?(Z=(0,R1.g)(),r1=F2(u.trim()),'"'===r1[0]&&'"'===r1[r1.length-1]&&(r1=r1.substring(1,r1.length-1)),j[z].text=r1):void 0===j[z].text&&(j[z].text=e),void 0!==r&&(j[z].type=r),n?.forEach(function(u1){j[z].styles.push(u1)}),c?.forEach(function(u1){j[z].classes.push(u1)}),void 0!==Y&&(j[z].dir=Y),void 0===j[z].props?j[z].props=F:void 0!==F&&Object.assign(j[z].props,F))},J2=function(e,u,r,n){const F={start:e,end:u,type:void 0,text:""};void 0!==(n=r.text)&&(F.text=F2(n.trim()),'"'===F.text[0]&&'"'===F.text[F.text.length-1]&&(F.text=F.text.substring(1,F.text.length-1))),void 0!==r&&(F.type=r.type,F.stroke=r.stroke,F.length=r.length),A1.push(F)},q2=function(e,u,r,n){let c,Y;for(c=0;c/)&&(d1="LR"),d1.match(/.*v/)&&(d1="TB"),"TD"===d1&&(d1="TB")},B2=function(e,u){e.split(",").forEach(function(r){let n=r;void 0!==j[n]&&j[n].classes.push(u),void 0!==D2[n]&&D2[n].classes.push(u)})},ue=function(e,u,r){e.split(",").forEach(function(n){void 0!==j[n]&&(j[n].link=s2.u.formatUrl(u,Z),j[n].linkTarget=r)}),B2(e,"clickable")},re=function(e){return P2[e]},ie=function(e,u,r){e.split(",").forEach(function(n){!function(e,u,r){let n=f2(e);if("loose"!==(0,R1.g)().securityLevel||void 0===u)return;let c=[];if("string"==typeof r){c=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let Y=0;Y")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),(0,x1.Ys)(this).classed("hover",!1)})};C2.push(he);const fe=function(e="gen-1"){j={},I1={},A1=[],C2=[he],O1=[],D2={},g2=0,P2=[],w2=!0,k2=e,(0,l1.f)()},Ae=e=>{k2=e||"gen-2"},de=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},pe=function(e,u,r){let n=e.trim(),c=r;e===r&&r.match(/\s/)&&(n=void 0);let F=[];const{nodeList:r1,dir:z}=function Y(_1){const $1={boolean:{},number:{},string:{}},u2=[];let r2;return{nodeList:_1.filter(function(J){const h1=typeof J;return J.stmt&&"dir"===J.stmt?(r2=J.value,!1):""!==J.trim()&&(h1 in $1?!$1[h1].hasOwnProperty(J)&&($1[h1][J]=!0):!u2.includes(J)&&u2.push(J))}),dir:r2}}(F.concat.apply(F,u));if(F=r1,"gen-1"===k2)for(let _1=0;_12e3)return;if(Ee[A2]=u,O1[u].id===e)return{result:!0,count:0};let n=0,c=1;for(;n=0){const F=_e(e,Y);if(F.result)return{result:!0,count:c+F.count};c+=F.count}n+=1}return{result:!1,count:c}},be=function(e){return Ee[e]},De=function(){A2=-1,O1.length>0&&_e("none",O1.length-1)},ge=function(){return O1},ke=()=>!!w2&&(w2=!1,!0),Ce=(e,u)=>{const r=(e=>{const u=e.trim();let r=u.slice(0,-1),n="arrow_open";switch(u.slice(-1)){case"x":n="arrow_cross","x"===u[0]&&(n="double_"+n,r=r.slice(1));break;case">":n="arrow_point","<"===u[0]&&(n="double_"+n,r=r.slice(1));break;case"o":n="arrow_circle","o"===u[0]&&(n="double_"+n,r=r.slice(1))}let c="normal",Y=r.length-1;"="===r[0]&&(c="thick"),"~"===r[0]&&(c="invisible");let F=((e,u)=>{const r=u.length;let n=0;for(let c=0;c{let u=e.trim(),r="arrow_open";switch(u[0]){case"<":r="arrow_point",u=u.slice(1);break;case"x":r="arrow_cross",u=u.slice(1);break;case"o":r="arrow_circle",u=u.slice(1)}let n="normal";return u.includes("=")&&(n="thick"),u.includes(".")&&(n="dotted"),{type:r,stroke:n}})(u),n.stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=r.type;else{if(n.type!==r.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n.length=r.length,n}return r},Fe=(e,u)=>{let r=!1;return e.forEach(n=>{n.nodes.indexOf(u)>=0&&(r=!0)}),r},Be=(e,u)=>{const r=[];return e.nodes.forEach((n,c)=>{Fe(u,n)||r.push(e.nodes[c])}),{nodes:r}},ve={firstGraph:ke},Te={parseDirective:X2,defaultConfig:()=>R1.i.flowchart,setAccTitle:l1.s,getAccTitle:l1.g,getAccDescription:l1.a,setAccDescription:l1.b,addVertex:Z2,lookUpDomId:f2,addLink:q2,updateLinkInterpolate:$2,updateLink:ee,addClass:te,setDirection:se,setClass:B2,setTooltip:function(e,u){e.split(",").forEach(function(r){void 0!==u&&(P2["gen-1"===k2?f2(r):r]=F2(u))})},getTooltip:re,setClickEvent:ie,setLink:ue,bindFunctions:ne,getDirection:ae,getVertices:ce,getEdges:oe,getClasses:le,clear:fe,setGen:Ae,defaultStyle:de,addSubGraph:pe,getDepthFirstPos:be,indexNodes:De,getSubGraphs:ge,destructLink:Ce,lex:ve,exists:Fe,makeUniq:Be,setDiagramTitle:l1.d,getDiagramTitle:l1.e},Ke=Object.freeze(Object.defineProperty({__proto__:null,addClass:te,addLink:q2,addSingleLink:J2,addSubGraph:pe,addVertex:Z2,bindFunctions:ne,clear:fe,default:Te,defaultStyle:de,destructLink:Ce,firstGraph:ke,getClasses:le,getDepthFirstPos:be,getDirection:ae,getEdges:oe,getSubGraphs:ge,getTooltip:re,getVertices:ce,indexNodes:De,lex:ve,lookUpDomId:f2,parseDirective:X2,setClass:B2,setClickEvent:ie,setDirection:se,setGen:Ae,setLink:ue,updateLink:ee,updateLinkInterpolate:$2},Symbol.toStringTag,{value:"Module"}))}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/820.9423629b523fc453.js b/pkg/apiserver-impl/ui/820.9423629b523fc453.js new file mode 100644 index 00000000000..8f1561250b4 --- /dev/null +++ b/pkg/apiserver-impl/ui/820.9423629b523fc453.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[820],{6881:(Vt,q,P)=>{P.r(q),P.d(q,{diagram:()=>Pt});var k=P(9037),L=P(8586),R=P(3118),z=(P(1764),P(6780),P(2735),function(){var t=function(p,s,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=s);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],o=[1,10],n=[1,11],h=[1,12],c=[1,13],d=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey: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,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",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",18:"taskName",19:"taskData"},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,2]],performAction:function(s,r,a,u,f,l,E){var _=l.length-1;switch(f){case 1:return l[_-1];case 2:case 6:case 7:this.$=[];break;case 3:l[_-1].push(l[_]),this.$=l[_-1];break;case 4:case 5:this.$=l[_];break;case 8:u.setDiagramTitle(l[_].substr(6)),this.$=l[_].substr(6);break;case 9:this.$=l[_].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=l[_].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(l[_].substr(8)),this.$=l[_].substr(8);break;case 13:u.addTask(l[_-1],l[_]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:o,14:n,16:h,17:c,18:d},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:o,14:n,16:h,17:c,18:d},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(s,r){if(!r.recoverable){var a=new Error(s);throw a.hash=r,a}this.trace(s)},parse:function(s){var a=[0],u=[],f=[null],l=[],E=this.table,_="",j=0,at=0,Ct=l.slice.call(arguments,1),x=Object.create(this.lexer),C={yy:{}};for(var G in this.yy)Object.prototype.hasOwnProperty.call(this.yy,G)&&(C.yy[G]=this.yy[G]);x.setInput(s,C.yy),C.yy.lexer=x,C.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var X=x.yylloc;l.push(X);var $,It=x.options&&x.options.ranges;this.parseError="function"==typeof C.yy.parseError?C.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,I,w,H,Y,T,W,V={};;){if(this.defaultActions[I=a[a.length-1]]?w=this.defaultActions[I]:((null===b||typeof b>"u")&&($=void 0,"number"!=typeof($=u.pop()||x.lex()||1)&&($ instanceof Array&&($=(u=$).pop()),$=this.symbols_[$]||$),b=$),w=E[I]&&E[I][b]),typeof w>"u"||!w.length||!w[0]){var Z;for(Y in W=[],E[I])this.terminals_[Y]&&Y>2&&W.push("'"+this.terminals_[Y]+"'");Z=x.showPosition?"Parse error on line "+(j+1)+":\n"+x.showPosition()+"\nExpecting "+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Z,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:X,expected:W})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(w[0]){case 1:a.push(b),f.push(x.yytext),l.push(x.yylloc),a.push(w[1]),b=null,at=x.yyleng,_=x.yytext,j=x.yylineno,X=x.yylloc;break;case 2:if(V.$=f[f.length-(T=this.productions_[w[1]][1])],V._$={first_line:l[l.length-(T||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(T||1)].first_column,last_column:l[l.length-1].last_column},It&&(V._$.range=[l[l.length-(T||1)].range[0],l[l.length-1].range[1]]),typeof(H=this.performAction.apply(V,[_,at,j,C.yy,w[1],f,l].concat(Ct)))<"u")return H;T&&(a=a.slice(0,-1*T*2),f=f.slice(0,-1*T),l=l.slice(0,-1*T)),a.push(this.productions_[w[1]][0]),f.push(V.$),l.push(V._$),a.push(E[a[a.length-2]][a[a.length-1]]);break;case 3:return!0}}return!0}};function g(){this.yy={}}return y.lexer={EOF:1,parseError:function(r,a){if(!this.yy.parser)throw new Error(r);this.yy.parser.parseError(r,a)},setInput:function(s,r){return this.yy=r||this.yy||{},this._input=s,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},input:function(){var s=this._input[0];return this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s,s.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),s},unput:function(s){var r=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;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),a.length-1&&(this.yylineno-=a.length-1);var f=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:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),r=new Array(s.length+1).join("-");return s+this.upcomingInput()+"\n"+r+"^"},test_match:function(s,r){var a,u,f;if(this.options.backtrack_lexer&&(f={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&&(f.yylloc.range=this.yylloc.range.slice(0))),(u=s[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var l in f)this[l]=f[l];return!1}return!1},next:function(){if(this.done)return this.EOF;var s,r,a,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),l=0;lr[0].length)){if(r=a,u=l,this.options.backtrack_lexer){if(!1!==(s=this.test_match(a,f[l])))return s;if(this._backtrack){r=!1;continue}return!1}if(!this.options.flex)break}return r?!1!==(s=this.test_match(r,f[u]))&&s:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(r){this.conditionStack.push(r)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(r){return(r=this.conditionStack.length-1-Math.abs(r||0))>=0?this.conditionStack[r]:"INITIAL"},pushState:function(r){this.begin(r)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(r,a,u,f){switch(u){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},g.prototype=y,y.Parser=g,new g}());z.parser=z;const ct=z;let A="";const U=[],F=[],O=[],J=function(){const t=function(i){return O[i].processed};let e=!0;for(const[i,o]of O.entries())t(i),e=e&&o.processed;return e},Q={getConfig:()=>(0,k.c)().journey,clear:function(){U.length=0,F.length=0,A="",O.length=0,(0,k.v)()},setDiagramTitle:k.q,getDiagramTitle:k.t,setAccTitle:k.s,getAccTitle:k.g,setAccDescription:k.b,getAccDescription:k.a,addSection:function(t){A=t,U.push(t)},getSections:function(){return U},getTasks:function(){let t=J(),i=0;for(;!t&&i<100;)t=J(),i++;return F.push(...O),F},addTask:function(t,e){const i=e.substr(1).split(":");let o=0,n=[];1===i.length?(o=Number(i[0]),n=[]):(o=Number(i[0]),n=i[1].split(","));const h=n.map(d=>d.trim());O.push({section:A,type:A,people:h,task:t,score:o})},addTaskOrg:function(t){F.push({section:A,type:A,description:t,task:t,classes:[]})},getActors:function(){return function(){const t=[];return F.forEach(i=>{i.people&&t.push(...i.people)}),[...new Set(t)].sort()}()}},D=function(t,e){return(0,R.d)(t,e)},tt=function(t,e){const i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},et=function(t,e){return(0,R.f)(t,e)};let st=-1;const nt=function(){function t(n,h,c,d,y,m,g,p){o(h.append("text").attr("x",c+y/2).attr("y",d+m/2+5).style("font-color",p).style("text-anchor","middle").text(n),g)}function e(n,h,c,d,y,m,g,p,s){const{taskFontSize:r,taskFontFamily:a}=p,u=n.split(//gi);for(let f=0;f3?function h(y){const m=(0,L.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function c(y){const m=(0,L.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);y.append("path").attr("class","mouth").attr("d",m).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):function d(y){y.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(n)}(n,{cx:o,cy:300+30*(5-e.score),score:e.score});const c=(0,R.g)();c.x=e.x,c.y=e.y,c.fill=e.fill,c.width=i.width,c.height=i.height,c.class="task task-type-"+e.num,c.rx=3,c.ry=3,D(n,c);let d=e.x+14;e.people.forEach(y=>{tt(n,{cx:d,cy:e.y,r:7,fill:e.actors[y].color,stroke:"#000",title:y,pos:e.actors[y].position}),d+=10}),nt(i)(e.task,n,c.x,c.y,c.width,c.height,{class:"task"},i,e.colour)},B_initGraphics=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},M={},N=(0,k.c)().journey,S=N.leftMargin,v={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,o){t[e]=void 0===t[e]?i:o(i,t[e])},updateBounds:function(t,e,i,o){const n=(0,k.c)().journey,h=this;let c=0;this.sequenceItems.forEach(function d(y){return function(g){c++;const p=h.sequenceItems.length-c+1;h.updateVal(g,"starty",e-p*n.boxMargin,Math.min),h.updateVal(g,"stopy",o+p*n.boxMargin,Math.max),h.updateVal(v.data,"startx",t-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopx",i+p*n.boxMargin,Math.max),"activation"!==y&&(h.updateVal(g,"startx",t-p*n.boxMargin,Math.min),h.updateVal(g,"stopx",i+p*n.boxMargin,Math.max),h.updateVal(v.data,"starty",e-p*n.boxMargin,Math.min),h.updateVal(v.data,"stopy",o+p*n.boxMargin,Math.max))}}())},insert:function(t,e,i,o){const n=Math.min(t,i),h=Math.max(t,i),c=Math.min(e,o),d=Math.max(e,o);this.updateVal(v.data,"startx",n,Math.min),this.updateVal(v.data,"starty",c,Math.min),this.updateVal(v.data,"stopx",h,Math.max),this.updateVal(v.data,"stopy",d,Math.max),this.updateBounds(n,c,h,d)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},K=N.sectionFills,it=N.sectionColours,rt={setConf:function(t){Object.keys(t).forEach(function(i){N[i]=t[i]})},draw:function(t,e,i,o){const n=(0,k.c)().journey,h=(0,k.c)().securityLevel;let c;"sandbox"===h&&(c=(0,L.Ys)("#i"+e));const d=(0,L.Ys)("sandbox"===h?c.nodes()[0].contentDocument.body:"body");v.init();const y=d.select("#"+e);B_initGraphics(y);const m=o.db.getTasks(),g=o.db.getDiagramTitle(),p=o.db.getActors();for(const l in M)delete M[l];let s=0;p.forEach(l=>{M[l]={color:n.actorColours[s%n.actorColours.length],position:s},s++}),function Et(t){const e=(0,k.c)().journey;let i=60;Object.keys(M).forEach(o=>{B_drawCircle(t,{cx:20,cy:i,r:7,fill:M[o].color,stroke:"#000",pos:M[o].position}),B_drawText(t,{x:40,y:i+7,fill:"#666",text:o,textMargin:5|e.boxTextMargin}),i+=20})}(y),v.insert(0,0,S,50*Object.keys(M).length),function(t,e,i){const o=(0,k.c)().journey;let n="";const c=i+(2*o.height+o.diagramMarginY);let d=0,y="#CCC",m="black",g=0;for(const[p,s]of e.entries()){if(n!==s.section){y=K[d%K.length],g=d%K.length,m=it[d%it.length];let a=0;const u=s.section;for(let l=p;l(M[u]&&(a[u]=M[u]),a),{});s.x=p*o.taskMargin+p*o.width+S,s.y=c,s.width=o.diagramMarginX,s.height=o.diagramMarginY,s.colour=m,s.fill=y,s.num=g,s.actors=r,B_drawTask(t,s,o),v.insert(s.x,s.y,s.x+s.width+o.taskMargin,450)}}(y,m,0);const r=v.getBounds();g&&y.append("text").text(g).attr("x",S).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const a=r.stopy-r.starty+2*n.diagramMarginY,u=S+r.stopx+2*n.diagramMarginX;(0,k.i)(y,a,u,n.useMaxWidth),y.append("line").attr("x1",S).attr("y1",4*n.height).attr("x2",u-S-4).attr("y2",4*n.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const f=g?70:0;y.attr("viewBox",`${r.startx} -25 ${u} ${a+f}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",a+f+25)}},Pt={parser:ct,db:Q,renderer:rt,styles:t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,init:t=>{rt.setConf(t.journey),Q.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/831.4ab3ba9ca26fa0f5.js b/pkg/apiserver-impl/ui/831.4ab3ba9ca26fa0f5.js new file mode 100644 index 00000000000..932e5d39453 --- /dev/null +++ b/pkg/apiserver-impl/ui/831.4ab3ba9ca26fa0f5.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[831],{1861:function(_t){_t.exports=function(){"use strict";return function(J,O){var at=O.prototype,x=at.format;at.format=function(X){var E=this,ut=this.$locale();if(!this.isValid())return x.bind(this)(X);var h=this.$utils(),m=(X||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(V){switch(V){case"Q":return Math.ceil((E.$M+1)/3);case"Do":return ut.ordinal(E.$D);case"gggg":return E.weekYear();case"GGGG":return E.isoWeekYear();case"wo":return ut.ordinal(E.week(),"W");case"w":case"ww":return h.s(E.week(),"w"===V?1:2,"0");case"W":case"WW":return h.s(E.isoWeek(),"W"===V?1:2,"0");case"k":case"kk":return h.s(String(0===E.$H?24:E.$H),"k"===V?1:2,"0");case"X":return Math.floor(E.$d.getTime()/1e3);case"x":return E.$d.getTime();case"z":return"["+E.offsetName()+"]";case"zzz":return"["+E.offsetName("long")+"]";default:return V}});return x.bind(this)(m)}}}()},274:function(_t){_t.exports=function(){"use strict";var J={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},O=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,at=/\d\d/,x=/\d\d?/,X=/\d*[^-_:/,()\s\d]+/,E={},ut=function(y){return(y=+y)+(y>68?1900:2e3)},h=function(y){return function(_){this[y]=+_}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(_){if(!_||"Z"===_)return 0;var I=_.match(/([+-]|\d\d)/g),A=60*I[1]+(+I[2]||0);return 0===A?0:"+"===I[0]?-A:A}(y)}],V=function(y){var _=E[y];return _&&(_.indexOf?_:_.s.concat(_.f))},H=function(y,_){var I,A=E.meridiem;if(A){for(var z=1;z<=24;z+=1)if(y.indexOf(A(z,0,_))>-1){I=z>12;break}}else I=y===(_?"pm":"PM");return I},vt={A:[X,function(y){this.afternoon=H(y,!1)}],a:[X,function(y){this.afternoon=H(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[at,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[x,h("seconds")],ss:[x,h("seconds")],m:[x,h("minutes")],mm:[x,h("minutes")],H:[x,h("hours")],h:[x,h("hours")],HH:[x,h("hours")],hh:[x,h("hours")],D:[x,h("day")],DD:[at,h("day")],Do:[X,function(y){var _=E.ordinal,I=y.match(/\d+/);if(this.day=I[0],_)for(var A=1;A<=31;A+=1)_(A).replace(/\[|\]/g,"")===y&&(this.day=A)}],M:[x,h("month")],MM:[at,h("month")],MMM:[X,function(y){var _=V("months"),I=(V("monthsShort")||_.map(function(A){return A.slice(0,3)})).indexOf(y)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[X,function(y){var _=V("months").indexOf(y)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,h("year")],YY:[at,function(y){this.year=ut(y)}],YYYY:[/\d{4}/,h("year")],Z:m,ZZ:m};return function(y,_,I){I.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(ut=y.parseTwoDigitYear);var A=_.prototype,z=A.parse;A.parse=function(G){var dt=G.date,$=G.utc,B=G.args;this.$u=$;var K=B[1];if("string"==typeof K){var lt=!0===B[2],tt=!0===B[3],R=lt||tt,N=B[2];tt&&(N=B[2]),E=this.$locale(),!lt&&N&&(E=I.Ls[N]),this.$d=function(wt,pt,ht){try{if(["x","X"].indexOf(pt)>-1)return new Date(("X"===pt?1e3:1)*wt);var Q=function Z(y){var I;I=E&&E.formats;for(var A=(y=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(lt,tt,R){var N=R&&R.toUpperCase();return tt||I[R]||J[R]||I[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(et,st,ft){return st||ft.slice(1)})})).match(O),z=A.length,G=0;G0?Dt-1:Mt.getMonth());var It=Jt||0,Yt=$t||0,Ot=te||0,Wt=ee||0;return Vt?new Date(Date.UTC(At,Et,Lt,It,Yt,Ot,Wt+60*Vt.offset*1e3)):ht?new Date(Date.UTC(At,Et,Lt,It,Yt,Ot,Wt)):new Date(At,Et,Lt,It,Yt,Ot,Wt)}catch{return new Date("")}}(dt,K,$),this.init(),N&&!0!==N&&(this.$L=this.locale(N).$L),R&&dt!=this.format(K)&&(this.$d=new Date("")),E={}}else if(K instanceof Array)for(var et=K.length,st=1;st<=et;st+=1){B[1]=K[st-1];var ft=I.apply(this,B);if(ft.isValid()){this.$d=ft.$d,this.$L=ft.$L,this.init();break}st===et&&(this.$d=new Date(""))}else z.call(this,G)}}}()},7517:function(_t){_t.exports=function(){"use strict";var J="day";return function(O,at,x){var X=function(h){return h.add(4-h.isoWeekday(),J)},E=at.prototype;E.isoWeekYear=function(){return X(this).year()},E.isoWeek=function(h){if(!this.$utils().u(h))return this.add(7*(h-this.isoWeek()),J);var m,H,vt,Z=X(this),y=(m=this.isoWeekYear(),vt=4-(H=(this.$u?x.utc:x)().year(m).startOf("year")).isoWeekday(),H.isoWeekday()>4&&(vt+=7),H.add(vt,J));return Z.diff(y,"week")+1},E.isoWeekday=function(h){return this.$utils().u(h)?this.day()||7:this.day(this.day()%7?h:h-7)};var ut=E.startOf;E.startOf=function(h,m){var V=this.$utils(),H=!!V.u(m)||m;return"isoweek"===V.p(h)?H?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):ut.bind(this)(h,m)}}}()},6831:(_t,J,O)=>{"use strict";O.r(J),O.d(J,{diagram:()=>Ye});var at=O(6780),x=O(1764),X=O(7517),E=O(274),ut=O(1861),h=O(9037),m=O(8586),H=(O(2735),function(){var t=function(v,n,u,d){for(u=u||{},d=v.length;d--;u[v[d]]=n);return u},s=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],i=[1,25],r=[1,26],a=[1,27],k=[1,28],f=[1,29],q=[1,30],ct=[1,31],ot=[1,9],W=[1,10],U=[1,11],mt=[1,12],nt=[1,13],it=[1,14],S=[1,15],zt=[1,16],Nt=[1,18],Ut=[1,19],Zt=[1,20],jt=[1,21],Xt=[1,22],Ht=[1,24],Gt=[1,32],g={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(n,u,d,c,p,e,P){var l=e.length-1;switch(p){case 1:return e[l-1];case 2:case 6:case 7:this.$=[];break;case 3:e[l-1].push(e[l]),this.$=e[l-1];break;case 4:case 5:this.$=e[l];break;case 8:c.setWeekday("monday");break;case 9:c.setWeekday("tuesday");break;case 10:c.setWeekday("wednesday");break;case 11:c.setWeekday("thursday");break;case 12:c.setWeekday("friday");break;case 13:c.setWeekday("saturday");break;case 14:c.setWeekday("sunday");break;case 15:c.setDateFormat(e[l].substr(11)),this.$=e[l].substr(11);break;case 16:c.enableInclusiveEndDates(),this.$=e[l].substr(18);break;case 17:c.TopAxis(),this.$=e[l].substr(8);break;case 18:c.setAxisFormat(e[l].substr(11)),this.$=e[l].substr(11);break;case 19:c.setTickInterval(e[l].substr(13)),this.$=e[l].substr(13);break;case 20:c.setExcludes(e[l].substr(9)),this.$=e[l].substr(9);break;case 21:c.setIncludes(e[l].substr(9)),this.$=e[l].substr(9);break;case 22:c.setTodayMarker(e[l].substr(12)),this.$=e[l].substr(12);break;case 24:c.setDiagramTitle(e[l].substr(6)),this.$=e[l].substr(6);break;case 25:this.$=e[l].trim(),c.setAccTitle(this.$);break;case 26:case 27:this.$=e[l].trim(),c.setAccDescription(this.$);break;case 28:c.addSection(e[l].substr(8)),this.$=e[l].substr(8);break;case 30:c.addTask(e[l-1],e[l]),this.$="task";break;case 31:this.$=e[l-1],c.setClickEvent(e[l-1],e[l],null);break;case 32:this.$=e[l-2],c.setClickEvent(e[l-2],e[l-1],e[l]);break;case 33:this.$=e[l-2],c.setClickEvent(e[l-2],e[l-1],null),c.setLink(e[l-2],e[l]);break;case 34:this.$=e[l-3],c.setClickEvent(e[l-3],e[l-2],e[l-1]),c.setLink(e[l-3],e[l]);break;case 35:this.$=e[l-2],c.setClickEvent(e[l-2],e[l],null),c.setLink(e[l-2],e[l-1]);break;case 36:this.$=e[l-3],c.setClickEvent(e[l-3],e[l-1],e[l]),c.setLink(e[l-3],e[l-2]);break;case 37:this.$=e[l-1],c.setLink(e[l-1],e[l]);break;case 38:case 44:this.$=e[l-1]+" "+e[l];break;case 39:case 40:case 42:this.$=e[l-2]+" "+e[l-1]+" "+e[l];break;case 41:case 43:this.$=e[l-3]+" "+e[l-2]+" "+e[l-1]+" "+e[l]}},table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:r,14:a,15:k,16:f,17:q,18:ct,19:ot,20:W,21:U,22:mt,23:nt,24:it,25:S,26:zt,27:Nt,28:Ut,30:Zt,32:jt,33:Xt,34:23,35:Ht,37:Gt},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:33,11:17,12:i,13:r,14:a,15:k,16:f,17:q,18:ct,19:ot,20:W,21:U,22:mt,23:nt,24:it,25:S,26:zt,27:Nt,28:Ut,30:Zt,32:jt,33:Xt,34:23,35:Ht,37:Gt},t(s,[2,5]),t(s,[2,6]),t(s,[2,15]),t(s,[2,16]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),{29:[1,34]},{31:[1,35]},t(s,[2,27]),t(s,[2,28]),t(s,[2,29]),{36:[1,36]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),{38:[1,37],40:[1,38]},t(s,[2,4]),t(s,[2,25]),t(s,[2,26]),t(s,[2,30]),t(s,[2,31],{39:[1,39],40:[1,40]}),t(s,[2,37],{38:[1,41]}),t(s,[2,32],{40:[1,42]}),t(s,[2,33]),t(s,[2,35],{39:[1,43]}),t(s,[2,34]),t(s,[2,36])],defaultActions:{},parseError:function(n,u){if(!u.recoverable){var d=new Error(n);throw d.hash=u,d}this.trace(n)},parse:function(n){var d=[0],c=[],p=[null],e=[],P=this.table,l="",o=0,T=0,M=e.slice.call(arguments,1),D=Object.create(this.lexer),L={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(L.yy[Ft]=this.yy[Ft]);D.setInput(n,L.yy),L.yy.lexer=D,L.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var gt,Oe=D.options&&D.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var j,xt,rt,ie,Kt,yt,Qt,St={};;){if(this.defaultActions[xt=d[d.length-1]]?rt=this.defaultActions[xt]:((null===j||typeof j>"u")&&(gt=void 0,"number"!=typeof(gt=c.pop()||D.lex()||1)&&(gt instanceof Array&&(gt=(c=gt).pop()),gt=this.symbols_[gt]||gt),j=gt),rt=P[xt]&&P[xt][j]),typeof rt>"u"||!rt.length||!rt[0]){var re;for(Kt in Qt=[],P[xt])this.terminals_[Kt]&&Kt>2&&Qt.push("'"+this.terminals_[Kt]+"'");re=D.showPosition?"Parse error on line "+(o+1)+":\n"+D.showPosition()+"\nExpecting "+Qt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==j?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(re,{text:D.match,token:this.terminals_[j]||j,line:D.yylineno,loc:Pt,expected:Qt})}if(rt[0]instanceof Array&&rt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+xt+", token: "+j);switch(rt[0]){case 1:d.push(j),p.push(D.yytext),e.push(D.yylloc),d.push(rt[1]),j=null,T=D.yyleng,l=D.yytext,o=D.yylineno,Pt=D.yylloc;break;case 2:if(St.$=p[p.length-(yt=this.productions_[rt[1]][1])],St._$={first_line:e[e.length-(yt||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(yt||1)].first_column,last_column:e[e.length-1].last_column},Oe&&(St._$.range=[e[e.length-(yt||1)].range[0],e[e.length-1].range[1]]),typeof(ie=this.performAction.apply(St,[l,T,o,L.yy,rt[1],p,e].concat(M)))<"u")return ie;yt&&(d=d.slice(0,-1*yt*2),p=p.slice(0,-1*yt),e=e.slice(0,-1*yt)),d.push(this.productions_[rt[1]][0]),p.push(St.$),e.push(St._$),d.push(P[d[d.length-2]][d[d.length-1]]);break;case 3:return!0}}return!0}};function b(){this.yy={}}return g.lexer={EOF:1,parseError:function(u,d){if(!this.yy.parser)throw new Error(u);this.yy.parser.parseError(u,d)},setInput:function(n,u){return this.yy=u||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.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),n},unput:function(n){var u=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var c=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),d.length-1&&(this.yylineno-=d.length-1);var p=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:d?(d.length===c.length?this.yylloc.first_column:0)+c[c.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),u=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+u+"^"},test_match:function(n,u){var d,c,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),(c=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],d=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),d)return d;if(this._backtrack){for(var e in p)this[e]=p[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,u,d,c;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),e=0;eu[0].length)){if(u=d,c=e,this.options.backtrack_lexer){if(!1!==(n=this.test_match(d,p[e])))return n;if(this._backtrack){u=!1;continue}return!1}if(!this.options.flex)break}return u?!1!==(n=this.test_match(u,p[c]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return(u=this.conditionStack.length-1-Math.abs(u||0))>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,d,c,p){switch(c){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 40;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 22:return 39;case 23:this.begin("click");break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}},b.prototype=g,g.Parser=b,new b}());H.parser=H;const vt=H;x.extend(X),x.extend(E),x.extend(ut);let _,Z="",y="",I="",A=[],z=[],G={},dt=[],$=[],B="",K="";const lt=["active","done","crit","milestone"];let tt=[],R=!1,N=!1,et="sunday",st=0;const ce=function(t,s,i,r){return!r.includes(t.format(s.trim()))&&(!!(t.isoWeekday()>=6&&i.includes("weekends")||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(s.trim())))},oe=function(t,s,i,r){if(!i.length||t.manualEndTime)return;let a,k;a=t.startTime instanceof Date?x(t.startTime):x(t.startTime,s,!0),a=a.add(1,"d"),k=t.endTime instanceof Date?x(t.endTime):x(t.endTime,s,!0);const[f,q]=be(a,k,s,i,r);t.endTime=f.toDate(),t.renderEndTime=q},be=function(t,s,i,r,a){let k=!1,f=null;for(;t<=s;)k||(f=s.toDate()),k=ce(t,i,r,a),k&&(s=s.add(1,"d")),t=t.add(1,"d");return[s,f]},se=function(t,s,i){i=i.trim();const a=/^after\s+(?[\d\w- ]+)/.exec(i);if(null!==a){let f=null;for(const ct of a.groups.ids.split(" ")){let ot=bt(ct);void 0!==ot&&(!f||ot.endTime>f.endTime)&&(f=ot)}if(f)return f.endTime;const q=new Date;return q.setHours(0,0,0,0),q}let k=x(i,s.trim(),!0);if(k.isValid())return k.toDate();{h.l.debug("Invalid date:"+i),h.l.debug("With date format:"+s.trim());const f=new Date(i);if(void 0===f||isNaN(f.getTime())||f.getFullYear()<-1e4||f.getFullYear()>1e4)throw new Error("Invalid date:"+i);return f}},le=function(t){const s=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==s?[Number.parseFloat(s[1]),s[2]]:[NaN,"ms"]},ue=function(t,s,i,r=!1){i=i.trim();const k=/^until\s+(?[\d\w- ]+)/.exec(i);if(null!==k){let W=null;for(const mt of k.groups.ids.split(" ")){let nt=bt(mt);void 0!==nt&&(!W||nt.startTime{let i=[...t].map(()=>-1/0),r=[...t].sort((k,f)=>k.startTime-f.startTime||k.order-f.order),a=0;for(const k of r)for(let f=0;f=i[f]){i[f]=k.endTime,k.order=f+s,f>a&&(a=f);break}return a};let kt;const Ye={parser:vt,db:{getConfig:()=>(0,h.c)().gantt,clear:function(){dt=[],$=[],B="",tt=[],Bt=0,ne=void 0,Rt=void 0,F=[],Z="",y="",K="",_=void 0,I="",A=[],z=[],R=!1,N=!1,st=0,G={},(0,h.v)(),et="sunday"},setDateFormat:function(t){Z=t},getDateFormat:function(){return Z},enableInclusiveEndDates:function(){R=!0},endDatesAreInclusive:function(){return R},enableTopAxis:function(){N=!0},topAxisEnabled:function(){return N},setAxisFormat:function(t){y=t},getAxisFormat:function(){return y},setTickInterval:function(t){_=t},getTickInterval:function(){return _},setTodayMarker:function(t){I=t},getTodayMarker:function(){return I},setAccTitle:h.s,getAccTitle:h.g,setDiagramTitle:h.q,getDiagramTitle:h.t,setDisplayMode:function(t){K=t},getDisplayMode:function(){return K},setAccDescription:h.b,getAccDescription:h.a,addSection:function(t){B=t,dt.push(t)},getSections:function(){return dt},getTasks:function(){let t=fe(),i=0;for(;!t&&i<10;)t=fe(),i++;return $=F,$},addTask:function(t,s){const i={section:B,type:B,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:s},task:t,classes:[]},r=function(t,s){let i;i=":"===s.substr(0,1)?s.substr(1,s.length):s;const r=i.split(","),a={};me(r,a,lt);for(let k=0;k{h.u.runFunc(s,...r)})}(r,s,i)}),he(t,"clickable")},setLink:function(t,s){let i=s;"loose"!==(0,h.c)().securityLevel&&(i=(0,at.N)(s)),t.split(",").forEach(function(r){void 0!==bt(r)&&(ke(r,()=>{window.open(i,"_self")}),G[r]=i)}),he(t,"clickable")},getLinks:function(){return G},bindFunctions:function(t){tt.forEach(function(s){s(t)})},parseDuration:le,isInvalidDate:ce,setWeekday:function(t){et=t},getWeekday:function(){return et}},renderer:{setConf:function(){h.l.debug("Something is calling, setConf, remove the call")},draw:function(t,s,i,r){const a=(0,h.c)().gantt,k=(0,h.c)().securityLevel;let f;"sandbox"===k&&(f=(0,m.Ys)("#i"+s));const q=(0,m.Ys)("sandbox"===k?f.nodes()[0].contentDocument.body:"body"),ct="sandbox"===k?f.nodes()[0].contentDocument:document,ot=ct.getElementById(s);kt=ot.parentElement.offsetWidth,void 0===kt&&(kt=1200),void 0!==a.useWidth&&(kt=a.useWidth);const W=r.db.getTasks();let U=[];for(const g of W)U.push(g.type);U=function Gt(g){const w={},b=[];for(let v=0,n=g.length;vw.type===g).length}ot.setAttribute("viewBox","0 0 "+kt+" "+nt);const it=q.select(`[id="${s}"]`),S=(0,m.Xf)().domain([(0,m.VV$)(W,function(g){return g.startTime}),(0,m.Fp7)(W,function(g){return g.endTime})]).rangeRound([0,kt-a.leftPadding-a.rightPadding]);W.sort(function zt(g,w){const b=g.startTime,v=w.startTime;let n=0;return b>v?n=1:be)&&(e=M);if(!p||!e)return;if(x(e).diff(x(p),"year")>5)return void h.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const P=r.db.getDateFormat(),l=[];let o=null,T=x(p);for(;T.valueOf()<=e;)r.db.isInvalidDate(T,P,d,c)?o?o.end=T:o={start:T,end:T}:o&&(l.push(o),o=null),T=T.add(1,"d");it.append("g").selectAll("rect").data(l).enter().append("rect").attr("id",function(C){return"exclude-"+C.start.format("YYYY-MM-DD")}).attr("x",function(C){return S(C.start)+b}).attr("y",a.gridLineStartPadding).attr("width",function(C){const M=C.end.add(1,"day");return S(M)-S(C.start)}).attr("height",n-w-a.gridLineStartPadding).attr("transform-origin",function(C,M){return(S(C.start)+b+.5*(S(C.end)-S(C.start))).toString()+"px "+(M*g+.5*n).toString()+"px"}).attr("class","exclude-range")}(n,u,d,0,b,g,r.db.getExcludes(),r.db.getIncludes()),function jt(g,w,b,v){let n=(0,m.LLu)(S).tickSize(-v+w+a.gridLineStartPadding).tickFormat((0,m.i$Z)(r.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));const d=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||a.tickInterval);if(null!==d){const c=d[1],p=d[2],e=r.db.getWeekday()||a.weekday;switch(p){case"millisecond":n.ticks(m.U8T.every(c));break;case"second":n.ticks(m.S1K.every(c));break;case"minute":n.ticks(m.Z_i.every(c));break;case"hour":n.ticks(m.WQD.every(c));break;case"day":n.ticks(m.rr1.every(c));break;case"week":n.ticks(ye[e].every(c));break;case"month":n.ticks(m.F0B.every(c))}}if(it.append("g").attr("class","grid").attr("transform","translate("+g+", "+(v-50)+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||a.topAxis){let c=(0,m.F5q)(S).tickSize(-v+w+a.gridLineStartPadding).tickFormat((0,m.i$Z)(r.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==d){const p=d[1],e=d[2],P=r.db.getWeekday()||a.weekday;switch(e){case"millisecond":c.ticks(m.U8T.every(p));break;case"second":c.ticks(m.S1K.every(p));break;case"minute":c.ticks(m.Z_i.every(p));break;case"hour":c.ticks(m.WQD.every(p));break;case"day":c.ticks(m.rr1.every(p));break;case"week":c.ticks(ye[P].every(p));break;case"month":c.ticks(m.F0B.every(p))}}it.append("g").attr("class","grid").attr("transform","translate("+g+", "+w+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(d,u,0,b),function Ut(g,w,b,v,n,u,d){const p=[...new Set(g.map(o=>o.order))].map(o=>g.find(T=>T.order===o));it.append("g").selectAll("rect").data(p).enter().append("rect").attr("x",0).attr("y",function(o,T){return o.order*w+b-2}).attr("width",function(){return d-a.rightPadding/2}).attr("height",w).attr("class",function(o){for(const[T,Y]of U.entries())if(o.type===Y)return"section section"+T%a.numberSectionStyles;return"section section0"});const e=it.append("g").selectAll("rect").data(g).enter(),P=r.db.getLinks();if(e.append("rect").attr("id",function(o){return o.id}).attr("rx",3).attr("ry",3).attr("x",function(o){return o.milestone?S(o.startTime)+v+.5*(S(o.endTime)-S(o.startTime))-.5*n:S(o.startTime)+v}).attr("y",function(o,T){return o.order*w+b}).attr("width",function(o){return o.milestone?n:S(o.renderEndTime||o.endTime)-S(o.startTime)}).attr("height",n).attr("transform-origin",function(o,T){return T=o.order,(S(o.startTime)+v+.5*(S(o.endTime)-S(o.startTime))).toString()+"px "+(T*w+b+.5*n).toString()+"px"}).attr("class",function(o){let Y="";o.classes.length>0&&(Y=o.classes.join(" "));let C=0;for(const[D,L]of U.entries())o.type===L&&(C=D%a.numberSectionStyles);let M="";return o.active?o.crit?M+=" activeCrit":M=" active":o.done?M=o.crit?" doneCrit":" done":o.crit&&(M+=" crit"),0===M.length&&(M=" task"),o.milestone&&(M=" milestone "+M),M+=C,M+=" "+Y,"task"+M}),e.append("text").attr("id",function(o){return o.id+"-text"}).text(function(o){return o.task}).attr("font-size",a.fontSize).attr("x",function(o){let T=S(o.startTime),Y=S(o.renderEndTime||o.endTime);o.milestone&&(T+=.5*(S(o.endTime)-S(o.startTime))-.5*n),o.milestone&&(Y=T+n);const C=this.getBBox().width;return C>Y-T?Y+C+1.5*a.leftPadding>d?T+v-5:Y+v+5:(Y-T)/2+T+v}).attr("y",function(o,T){return o.order*w+a.barHeight/2+(a.fontSize/2-2)+b}).attr("text-height",n).attr("class",function(o){const T=S(o.startTime);let Y=S(o.endTime);o.milestone&&(Y=T+n);const C=this.getBBox().width;let M="";o.classes.length>0&&(M=o.classes.join(" "));let D=0;for(const[Ft,Pt]of U.entries())o.type===Pt&&(D=Ft%a.numberSectionStyles);let L="";return o.active&&(L=o.crit?"activeCritText"+D:"activeText"+D),o.done?L=o.crit?L+" doneCritText"+D:L+" doneText"+D:o.crit&&(L=L+" critText"+D),o.milestone&&(L+=" milestoneText"),C>Y-T?Y+C+1.5*a.leftPadding>d?M+" taskTextOutsideLeft taskTextOutside"+D+" "+L:M+" taskTextOutsideRight taskTextOutside"+D+" "+L+" width-"+C:M+" taskText taskText"+D+" "+L+" width-"+C}),"sandbox"===(0,h.c)().securityLevel){let o;o=(0,m.Ys)("#i"+s);const T=o.nodes()[0].contentDocument;e.filter(function(Y){return void 0!==P[Y.id]}).each(function(Y){var C=T.querySelector("#"+Y.id),M=T.querySelector("#"+Y.id+"-text");const D=C.parentNode;var L=T.createElement("a");L.setAttribute("xlink:href",P[Y.id]),L.setAttribute("target","_top"),D.appendChild(L),L.appendChild(C),L.appendChild(M)})}}(g,n,u,d,v,0,w),function Xt(g,w){let b=0;const v=Object.keys(mt).map(n=>[n,mt[n]]);it.append("g").selectAll("text").data(v).enter().append(function(n){const u=n[0].split(h.e.lineBreakRegex),d=-(u.length-1)/2,c=ct.createElementNS("http://www.w3.org/2000/svg","text");c.setAttribute("dy",d+"em");for(const[p,e]of u.entries()){const P=ct.createElementNS("http://www.w3.org/2000/svg","tspan");P.setAttribute("alignment-baseline","central"),P.setAttribute("x","10"),p>0&&P.setAttribute("dy","1em"),P.textContent=e,c.appendChild(P)}return c}).attr("x",10).attr("y",function(n,u){if(!(u>0))return n[1]*g/2+w;for(let d=0;d`\n .mermaid-main-font {\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n }\n\n .grid .tick text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n }\n\n\n /* Special case clickable */\n\n .task.clickable {\n cursor: pointer;\n }\n\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.titleColor||t.textColor};\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/839.51b43950610b1cc5.js b/pkg/apiserver-impl/ui/839.51b43950610b1cc5.js new file mode 100644 index 00000000000..8b0051414d3 --- /dev/null +++ b/pkg/apiserver-impl/ui/839.51b43950610b1cc5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[839],{839:(Se,Yt,xt)=>{xt.d(Yt,{D:()=>G,S:()=>ut,a:()=>Dt,b:()=>Y,c:()=>Ut,d:()=>ue,p:()=>Gt,s:()=>fe});var u=xt(9037),ht=function(){var t=function(C,r,n,i){for(n=n||{},i=C.length;i--;n[C[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],d=[2,4],y=[1,9],p=[1,11],E=[1,15],f=[1,16],b=[1,17],k=[1,18],$=[1,30],H=[1,19],K=[1,20],W=[1,21],X=[1,22],J=[1,23],q=[1,25],Q=[1,26],Z=[1,27],tt=[1,28],et=[1,29],st=[1,32],it=[1,33],rt=[1,34],nt=[1,35],P=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],at=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Ft=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],gt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"--\x3e":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",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",30:"NOTE_TEXT",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:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"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,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],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,S,e,F){var l=e.length-1;switch(S){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:"nl"!=e[l]&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:case 11:this.$=e[l];break;case 8:this.$="nl";break;case 12:const V=e[l-1];V.description=o.trimColon(e[l]),this.$=V;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const mt=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:mt};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var A=e[l],O=e[l-2].trim();if(e[l].match(":")){var lt=e[l].split(":");A=lt[0],O=[O,lt[1]]}this.$={stmt:"state",id:A,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""}}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:E,16:f,18:b,21:k,23:$,24:H,25:K,26:W,27:X,28:J,31:24,32:q,34:Q,36:Z,37:tt,41:et,44:st,45:it,46:rt,47:nt,50:P},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:E,16:f,18:b,21:k,23:$,24:H,25:K,26:W,27:X,28:J,31:24,32:q,34:Q,36:Z,37:tt,41:et,44:st,45:it,46:rt,47:nt,50:P},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(at,[2,40],{51:[1,51]}),t(at,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:$,50:P},t(c,[2,16]),t(Ft,d,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:E,16:f,18:b,20:[1,64],21:k,23:$,24:H,25:K,26:W,27:X,28:J,31:24,32:q,34:Q,36:Z,37:tt,41:et,44:st,45:it,46:rt,47:nt,50:P},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(at,[2,42]),t(at,[2,43]),t(c,[2,14]),t(c,[2,18]),t(Ft,d,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:y,5:p,8:8,9:10,10:12,11:13,12:14,15:E,16:f,18:b,20:[1,69],21:k,23:$,24:H,25:K,26:W,27:X,28:J,31:24,32:q,34:Q,36:Z,37:tt,41:et,44:st,45:it,46:rt,47:nt,50:P},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(!n.recoverable){var i=new Error(r);throw i.hash=n,i}this.trace(r)},parse:function(r){var i=[0],o=[],S=[null],e=[],F=this.table,l="",A=0,O=0,mt=e.slice.call(arguments,1),g=Object.create(this.lexer),L={yy:{}};for(var Tt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Tt)&&(L.yy[Tt]=this.yy[Tt]);g.setInput(r,L.yy),L.yy.lexer=g,L.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var kt=g.yylloc;e.push(kt);var D,ye=g.options&&g.options.ranges;this.parseError="function"==typeof L.yy.parseError?L.yy.parseError:Object.getPrototypeOf(this).parseError;for(var m,I,T,Et,ct,x,ot,N={};;){if(this.defaultActions[I=i[i.length-1]]?T=this.defaultActions[I]:((null===m||typeof m>"u")&&(D=void 0,"number"!=typeof(D=o.pop()||g.lex()||1)&&(D instanceof Array&&(D=(o=D).pop()),D=this.symbols_[D]||D),m=D),T=F[I]&&F[I][m]),typeof T>"u"||!T.length||!T[0]){var bt;for(ct in ot=[],F[I])this.terminals_[ct]&&ct>2&&ot.push("'"+this.terminals_[ct]+"'");bt=g.showPosition?"Parse error on line "+(A+1)+":\n"+g.showPosition()+"\nExpecting "+ot.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(A+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(bt,{text:g.match,token:this.terminals_[m]||m,line:g.yylineno,loc:kt,expected:ot})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+m);switch(T[0]){case 1:i.push(m),S.push(g.yytext),e.push(g.yylloc),i.push(T[1]),m=null,O=g.yyleng,l=g.yytext,A=g.yylineno,kt=g.yylloc;break;case 2:if(N.$=S[S.length-(x=this.productions_[T[1]][1])],N._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},ye&&(N._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),typeof(Et=this.performAction.apply(N,[l,O,A,L.yy,T[1],S,e].concat(mt)))<"u")return Et;x&&(i=i.slice(0,-1*x*2),S=S.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[T[1]][0]),S.push(N.$),e.push(N._$),i.push(F[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function _t(){this.yy={}}return gt.lexer={EOF:1,parseError:function(n,i){if(!this.yy.parser)throw new Error(n);this.yy.parser.parseError(n,i)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,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},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.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),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=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),i.length-1&&(this.yylineno-=i.length-1);var S=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:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+n+"^"},test_match:function(r,n){var i,o,S;if(this.options.backtrack_lexer&&(S={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&&(S.yylloc.range=this.yylloc.range.slice(0))),(o=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in S)this[e]=S[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,n,i,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),e=0;en[0].length)){if(n=i,o=e,this.options.backtrack_lexer){if(!1!==(r=this.test_match(i,S[e])))return r;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(r=this.test_match(n,S[o]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(n){return(n=this.conditionStack.length-1-Math.abs(n||0))>=0?this.conditionStack[n]:"INITIAL"},pushState:function(n){this.begin(n)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(n,i,o,S){switch(o){case 0:return 40;case 1:case 39:return 44;case 2:case 40:return 45;case 3:case 41:return 46;case 4:case 42:return 47;case 5:case 6:case 8:case 9:case 10:case 11:case 51:case 53:case 59:break;case 7:case 74:return 5;case 12:case 29:return this.pushState("SCALE"),16;case 13:case 30:return 17;case 14:case 20:case 31:case 46:case 49:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;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"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 32:this.pushState("STATE");break;case 33:case 36:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),24;case 34:case 37:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 35:case 38:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),26;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:case 61:return this.popState(),"ID";case 47:return"STATE_DESCR";case 48:return 18;case 50:return this.popState(),this.pushState("struct"),19;case 52:return this.popState(),20;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 60:return"NOTE_TEXT";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),i.yytext=i.yytext.substr(2).trim(),30;case 64:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),30;case 65:case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return i.yytext=i.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 75:return"INVALID"}},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,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/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,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],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,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],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,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}},_t.prototype=gt,gt.Parser=_t,new _t}();ht.parser=ht;const Gt=ht,Ut="TB",Y="state",ut="relation",G="default",Dt="divider",ft="[*]",Ct="start",vt=ft;let Nt="LR",j=[],R={},U={root:{relations:[],states:{},documents:{}}},_=U.root,w=0,wt=0;const M=t=>JSON.parse(JSON.stringify(t)),z=(t,s,a)=>{if(s.stmt===ut)z(t,s.state1,!0),z(t,s.state2,!1);else if(s.stmt===Y&&("[*]"===s.id?(s.id=a?t.id+"_start":t.id+"_end",s.start=a):s.id=s.id.trim()),s.doc){const h=[];let y,d=[];for(y=0;y0&&d.length>0){const p={stmt:Y,id:(0,u.I)(),type:"divider",doc:M(d)};h.push(M(p)),s.doc=h}s.doc.forEach(p=>z(s,p,!0))}},v=function(t,s=G,a=null,h=null,d=null,y=null,p=null,E=null){const f=t?.trim();void 0===_.states[f]?(u.l.info("Adding state ",f,h),_.states[f]={id:f,descriptions:[],type:s,doc:a,note:d,classes:[],styles:[],textStyles:[]}):(_.states[f].doc||(_.states[f].doc=a),_.states[f].type||(_.states[f].type=s)),h&&(u.l.info("Setting state description",f,h),"string"==typeof h&&pt(f,h.trim()),"object"==typeof h&&h.forEach(b=>pt(f,b.trim()))),d&&(_.states[f].note=d,_.states[f].note.text=u.e.sanitizeText(_.states[f].note.text,(0,u.c)())),y&&(u.l.info("Setting state classes",f,y),("string"==typeof y?[y]:y).forEach(k=>St(f,k.trim()))),p&&(u.l.info("Setting state styles",f,p),("string"==typeof p?[p]:p).forEach(k=>oe(f,k.trim()))),E&&(u.l.info("Setting state styles",f,p),("string"==typeof E?[E]:E).forEach(k=>he(f,k.trim())))},Bt=function(t){U={root:{relations:[],states:{},documents:{}}},_=U.root,w=0,R={},t||(0,u.v)()},B=function(t){return _.states[t]};function dt(t=""){let s=t;return t===ft&&(w++,s=`${Ct}${w}`),s}function yt(t="",s=G){return t===ft?Ct:s}const $t=function(t,s,a){if("object"==typeof t)!function ne(t,s,a){let h=dt(t.id.trim()),d=yt(t.id.trim(),t.type),y=dt(s.id.trim()),p=yt(s.id.trim(),s.type);v(h,d,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),v(y,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),_.relations.push({id1:h,id2:y,relationTitle:u.e.sanitizeText(a,(0,u.c)())})}(t,s,a);else{const h=dt(t.trim()),d=yt(t),y=function ie(t=""){let s=t;return t===vt&&(w++,s=`end${w}`),s}(s.trim()),p=function re(t="",s=G){return t===vt?"end":s}(s);v(h,d),v(y,p),_.relations.push({id1:h,id2:y,title:u.e.sanitizeText(a,(0,u.c)())})}},pt=function(t,s){const a=_.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;a.descriptions.push(u.e.sanitizeText(h,(0,u.c)()))},Pt=function(t,s=""){void 0===R[t]&&(R[t]={id:t,styles:[],textStyles:[]});const a=R[t];s?.split(",").forEach(h=>{const d=h.replace(/([^;]*);/,"$1").trim();if(h.match("color")){const p=d.replace("fill","bgFill").replace("color","fill");a.textStyles.push(p)}a.styles.push(d)})},St=function(t,s){t.split(",").forEach(function(a){let h=B(a);if(void 0===h){const d=a.trim();v(d),h=B(d)}h.classes.push(s)})},oe=function(t,s){const a=B(t);void 0!==a&&a.textStyles.push(s)},he=function(t,s){const a=B(t);void 0!==a&&a.textStyles.push(s)},ue={getConfig:()=>(0,u.c)().state,addState:v,clear:Bt,getState:B,getStates:function(){return _.states},getRelations:function(){return _.relations},getClasses:function(){return R},getDirection:()=>Nt,addRelation:$t,getDividerId:()=>(wt++,"divider-id-"+wt),setDirection:t=>{Nt=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){u.l.info("Documents = ",U)},getRootDoc:()=>j,setRootDoc:t=>{u.l.info("Setting root doc",t),j=t},getRootDocV2:()=>(z({id:"root"},{id:"root",doc:j},!0),{id:"root",doc:j}),extract:t=>{let s;s=t.doc?t.doc:t,u.l.info(s),Bt(!0),u.l.info("Extract",s),s.forEach(a=>{switch(a.stmt){case Y:v(a.id.trim(),a.type,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles);break;case ut:$t(a.state1,a.state2,a.description);break;case"classDef":Pt(a.id.trim(),a.classes);break;case"applyClass":St(a.id.trim(),a.styleClass)}})},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:u.g,setAccTitle:u.s,getAccDescription:u.a,setAccDescription:u.b,addStyleClass:Pt,setCssClass:St,addDescription:pt,setDiagramTitle:u.q,getDiagramTitle:u.t},fe=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 .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}\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`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/880.7a4356d9d7293fda.js b/pkg/apiserver-impl/ui/880.7a4356d9d7293fda.js new file mode 100644 index 00000000000..c79c33ad04c --- /dev/null +++ b/pkg/apiserver-impl/ui/880.7a4356d9d7293fda.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[880],{880:(xt,Ze,fe)=>{fe.d(Ze,{d:()=>Dt,p:()=>$e,s:()=>Bt});var w=fe(8586),A=fe(9037),pe=function(){var e=function(O,u,a,h){for(a=a||{},h=O.length;h--;a[O[h]]=u);return a},i=[1,17],r=[1,18],c=[1,19],o=[1,39],p=[1,40],g=[1,25],_=[1,23],D=[1,24],B=[1,31],me=[1,32],be=[1,33],ke=[1,34],ge=[1,35],Te=[1,36],Fe=[1,26],ye=[1,27],_e=[1,28],De=[1,29],E=[1,43],Be=[1,30],C=[1,42],m=[1,44],b=[1,41],T=[1,45],Se=[1,9],l=[1,8,9],Q=[1,56],X=[1,57],W=[1,58],H=[1,59],q=[1,60],Ne=[1,61],Le=[1,62],J=[1,8,9,39],Qe=[1,74],G=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],Z=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],$=[13,74,80,95,97,98],U=[13,64,65,74,80,95,97,98],Xe=[13,59,60,61,62,63,74,80,95,97,98],ve=[1,93],ee=[1,110],te=[1,108],se=[1,102],ie=[1,103],ne=[1,104],ue=[1,105],re=[1,106],ae=[1,107],ce=[1,109],Oe=[1,8,9,37,39,42],le=[1,8,9,21],We=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],xe={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,h,n,d,t,Y){var s=t.length-1;switch(d){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:case 89:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:case 43:case 86:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:case 47:case 48:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 87:t[s-2].push(t[s]),this.$=t[s-2]}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:p,45:g,47:_,48:D,50:B,52:me,53:be,54:ke,55:ge,56:Te,66:Fe,67:ye,69:_e,73:De,74:E,76:Be,80:C,95:m,97:b,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Se,[2,5],{8:[1,46]}),{8:[1,47]},e(l,[2,16],{21:[1,48]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),e(l,[2,21]),e(l,[2,22]),e(l,[2,23]),e(l,[2,24]),e(l,[2,25]),e(l,[2,26]),{32:[1,49]},{34:[1,50]},e(l,[2,29]),e(l,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Q,60:X,61:W,62:H,63:q,64:Ne,65:Le}),{37:[1,63]},e(J,[2,36],{37:[1,65],42:[1,64]}),e(l,[2,47]),e(l,[2,48]),{16:66,74:E,80:C,95:m,97:b},{16:37,17:67,18:38,74:E,80:C,95:m,97:b,98:T},{16:37,17:68,18:38,74:E,80:C,95:m,97:b,98:T},{16:37,17:69,18:38,74:E,80:C,95:m,97:b,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:E,80:C,95:m,97:b,98:T},{13:Qe,51:73},e(l,[2,55]),e(l,[2,56]),e(l,[2,57]),e(l,[2,58]),e(G,[2,11],{16:37,18:38,17:75,19:[1,76],74:E,80:C,95:m,97:b,98:T}),e(G,[2,12],{19:[1,77]}),{15:78,16:79,74:E,80:C,95:m,97:b},{16:37,17:80,18:38,74:E,80:C,95:m,97:b,98:T},e(Z,[2,112]),e(Z,[2,113]),e(Z,[2,114]),e(Z,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Se,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:c,40:o,44:p,45:g,47:_,48:D,50:B,52:me,53:be,54:ke,55:ge,56:Te,66:Fe,67:ye,69:_e,73:De,74:E,76:Be,80:C,95:m,97:b,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:p,45:g,47:_,48:D,50:B,52:me,53:be,54:ke,55:ge,56:Te,66:Fe,67:ye,69:_e,73:De,74:E,76:Be,80:C,95:m,97:b,98:T},e(l,[2,17]),e(l,[2,27]),e(l,[2,28]),{13:[1,84],16:37,17:83,18:38,74:E,80:C,95:m,97:b,98:T},{49:85,57:54,58:55,59:Q,60:X,61:W,62:H,63:q,64:Ne,65:Le},e(l,[2,46]),{58:86,64:Ne,65:Le},e($,[2,62],{57:87,59:Q,60:X,61:W,62:H,63:q}),e(U,[2,63]),e(U,[2,64]),e(U,[2,65]),e(U,[2,66]),e(U,[2,67]),e(Xe,[2,68]),e(Xe,[2,69]),{8:[1,89],23:90,38:88,41:22,44:p},{16:91,74:E,80:C,95:m,97:b},{43:92,47:ve},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:ee,73:te,74:se,75:99,77:100,79:101,80:ie,81:ne,82:ue,83:re,84:ae,85:ce},{74:[1,111]},{13:Qe,51:112},e(l,[2,54]),e(l,[2,117]),e(G,[2,13]),e(G,[2,14]),e(G,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:E,80:C,95:m,97:b},e(Oe,[2,40],{11:114,12:[1,115]}),e(Se,[2,7]),{9:[1,116]},e(le,[2,49]),{16:37,17:117,18:38,74:E,80:C,95:m,97:b,98:T},{13:[1,119],16:37,17:118,18:38,74:E,80:C,95:m,97:b,98:T},e($,[2,61],{57:120,59:Q,60:X,61:W,62:H,63:q}),e($,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:p},{8:[1,123],39:[2,33]},e(J,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:ve},{16:37,17:127,18:38,74:E,80:C,95:m,97:b,98:T},e(l,[2,70],{13:[1,128]}),e(l,[2,72],{13:[1,130],68:[1,129]}),e(l,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(l,[2,84],{78:[1,134]}),e(We,[2,86],{79:135,21:ee,73:te,74:se,80:ie,81:ne,82:ue,83:re,84:ae,85:ce}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(l,[2,85]),e(l,[2,53]),{37:[2,10]},e(Oe,[2,41]),{13:[1,136]},{1:[2,4]},e(le,[2,51]),e(le,[2,50]),{16:37,17:137,18:38,74:E,80:C,95:m,97:b,98:T},e($,[2,59]),e(l,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:p},{43:140,47:ve},e(J,[2,38]),{39:[2,44]},e(l,[2,42]),e(l,[2,71]),e(l,[2,73]),e(l,[2,74],{68:[1,141]}),e(l,[2,77]),e(l,[2,78],{13:[1,142]}),e(l,[2,80],{13:[1,144],68:[1,143]}),{21:ee,73:te,74:se,77:145,79:101,80:ie,81:ne,82:ue,83:re,84:ae,85:ce},e(S,[2,89]),{14:[1,146]},e(le,[2,52]),e(l,[2,31]),{39:[2,35]},{39:[1,147]},e(l,[2,75]),e(l,[2,79]),e(l,[2,81]),e(l,[2,82],{68:[1,148]}),e(We,[2,87],{79:135,21:ee,73:te,74:se,80:ie,81:ne,82:ue,83:re,84:ae,85:ce}),e(Oe,[2,8]),e(J,[2,39]),e(l,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(!a.recoverable){var h=new Error(u);throw h.hash=a,h}this.trace(u)},parse:function(u){var h=[0],n=[],d=[null],t=[],Y=this.table,s="",oe=0,He=0,Lt=t.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(R.yy[Re]=this.yy[Re]);k.setInput(u,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Ve=k.yylloc;t.push(Ve);var L,vt=k.options&&k.options.ranges;this.parseError="function"==typeof R.yy.parseError?R.yy.parseError:Object.getPrototypeOf(this).parseError;for(var F,V,y,Pe,he,N,Ae,P={};;){if(this.defaultActions[V=h[h.length-1]]?y=this.defaultActions[V]:((null===F||typeof F>"u")&&(L=void 0,"number"!=typeof(L=n.pop()||k.lex()||1)&&(L instanceof Array&&(L=(n=L).pop()),L=this.symbols_[L]||L),F=L),y=Y[V]&&Y[V][F]),typeof y>"u"||!y.length||!y[0]){var we;for(he in Ae=[],Y[V])this.terminals_[he]&&he>2&&Ae.push("'"+this.terminals_[he]+"'");we=k.showPosition?"Parse error on line "+(oe+1)+":\n"+k.showPosition()+"\nExpecting "+Ae.join(", ")+", got '"+(this.terminals_[F]||F)+"'":"Parse error on line "+(oe+1)+": Unexpected "+(1==F?"end of input":"'"+(this.terminals_[F]||F)+"'"),this.parseError(we,{text:k.match,token:this.terminals_[F]||F,line:k.yylineno,loc:Ve,expected:Ae})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+F);switch(y[0]){case 1:h.push(F),d.push(k.yytext),t.push(k.yylloc),h.push(y[1]),F=null,He=k.yyleng,s=k.yytext,oe=k.yylineno,Ve=k.yylloc;break;case 2:if(P.$=d[d.length-(N=this.productions_[y[1]][1])],P._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},vt&&(P._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),typeof(Pe=this.performAction.apply(P,[s,He,oe,R.yy,y[1],d,t].concat(Lt)))<"u")return Pe;N&&(h=h.slice(0,-1*N*2),d=d.slice(0,-1*N),t=t.slice(0,-1*N)),h.push(this.productions_[y[1]][0]),d.push(P.$),t.push(P._$),h.push(Y[h[h.length-2]][h[h.length-1]]);break;case 3:return!0}}return!0}};function Ie(){this.yy={}}return xe.lexer={EOF:1,parseError:function(a,h){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,h)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,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},input:function(){var u=this._input[0];return this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u,u.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),u},unput:function(u){var a=u.length,h=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=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),h.length-1&&(this.yylineno-=h.length-1);var d=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:h?(h.length===n.length?this.yylloc.first_column:0)+n[n.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+"\n"+a+"^"},test_match:function(u,a){var h,n,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),(n=u[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,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(u[0].length),this.matched+=u[0],h=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var t in d)this[t]=d[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var u,a,h,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),t=0;ta[0].length)){if(a=h,n=t,this.options.backtrack_lexer){if(!1!==(u=this.test_match(h,d[t])))return u;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(u=this.test_match(a,d[n]))&&u:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(a,h,n,d){switch(n){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:case 5:case 14:case 30:case 35:case 39:case 46:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 57:case 60:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 34:return 8;case 15:case 16:return 7;case 17:case 36:case 44:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 23:return 71;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:case 38:return this.popState(),8;case 31:return this.begin("namespace-body"),37;case 32:case 42:return this.popState(),39;case 33:case 43:return"EOF_IN_STRUCT";case 37:return this.begin("class"),44;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 45:return"OPEN_IN_STRUCT";case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:case 64:case 65:case 66:return 68;case 67:case 68:return 60;case 69:case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:case 84:return 84;case 85:return 85;case 86:case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}},Ie.prototype=xe,xe.Parser=Ie,new Ie}();pe.parser=pe;const $e=pe,Me=["#","+","~","-",""];class Ge{constructor(i,r){this.memberType=r,this.visibility="",this.classifier="";const c=(0,A.d)(i,(0,A.c)());this.parseMember(c)}getDisplayDetails(){let i=this.visibility+(0,A.x)(this.id);return"method"===this.memberType&&(i+=`(${(0,A.x)(this.parameters.trim())})`,this.returnType&&(i+=" : "+(0,A.x)(this.returnType))),i=i.trim(),{displayText:i,cssStyle:this.parseClassifier()}}parseMember(i){let r="";if("method"===this.memberType){const o=i.match(/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/);if(o){const p=o[1]?o[1].trim():"";if(Me.includes(p)&&(this.visibility=p),this.id=o[2].trim(),this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",""===r){const g=this.returnType.substring(this.returnType.length-1);g.match(/[$*]/)&&(r=g,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const c=i.length,o=i.substring(0,1),p=i.substring(c-1);Me.includes(o)&&(this.visibility=o),p.match(/[$*]/)&&(r=p),this.id=i.substring(""===this.visibility?0:1,""===r?c:c-1)}this.classifier=r}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const z="classId-";let de=[],f={},K=[],Ue=0,v={},Ee=0,M=[];const x=e=>A.e.sanitizeText(e,(0,A.c)()),I=function(e){const i=A.e.sanitizeText(e,(0,A.c)());let r="",c=i;if(i.indexOf("~")>0){const o=i.split("~");c=x(o[0]),r=x(o[1])}return{className:c,type:r}},j=function(e){const i=A.e.sanitizeText(e,(0,A.c)()),{className:r,type:c}=I(i);if(Object.hasOwn(f,r))return;const o=A.e.sanitizeText(r,(0,A.c)());f[o]={id:o,type:c,label:o,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:z+o+"-"+Ue},Ue++},Ye=function(e){const i=A.e.sanitizeText(e,(0,A.c)());if(i in f)return f[i].domId;throw new Error("Class not found: "+i)},ze=function(e,i){j(e);const r=I(e).className,c=f[r];if("string"==typeof i){const o=i.trim();o.startsWith("<<")&&o.endsWith(">>")?c.annotations.push(x(o.substring(2,o.length-2))):o.indexOf(")")>0?c.methods.push(new Ge(o,"method")):o&&c.members.push(new Ge(o,"attribute"))}},Ce=function(e,i){e.split(",").forEach(function(r){let c=r;r[0].match(/\d/)&&(c=z+c),void 0!==f[c]&&f[c].cssClasses.push(i)})},Ke=function(e){let i=(0,w.Ys)(".mermaidTooltip");null===(i._groups||i)[0][0]&&(i=(0,w.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,w.Ys)(e).select("svg").selectAll("g.node").on("mouseover",function(){const o=(0,w.Ys)(this);if(null===o.attr("title"))return;const g=this.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(o.attr("title")).style("left",window.scrollX+g.left+(g.right-g.left)/2+"px").style("top",window.scrollY+g.top-14+document.body.scrollTop+"px"),i.html(i.html().replace(/<br\/>/g,"
")),o.classed("hover",!0)}).on("mouseout",function(){i.transition().duration(500).style("opacity",0),(0,w.Ys)(this).classed("hover",!1)})};M.push(Ke);let je="TB";const Dt={setAccTitle:A.s,getAccTitle:A.g,getAccDescription:A.a,setAccDescription:A.b,getConfig:()=>(0,A.c)().class,addClass:j,bindFunctions:function(e){M.forEach(function(i){i(e)})},clear:function(){de=[],f={},K=[],M=[],M.push(Ke),v={},Ee=0,(0,A.v)()},getClass:function(e){return f[e]},getClasses:function(){return f},getNotes:function(){return K},addAnnotation:function(e,i){const r=I(e).className;f[r].annotations.push(i)},addNote:function(e,i){K.push({id:`note${K.length}`,class:i,text:e})},getRelations:function(){return de},addRelation:function(e){A.l.debug("Adding relation: "+JSON.stringify(e)),j(e.id1),j(e.id2),e.id1=I(e.id1).className,e.id2=I(e.id2).className,e.relationTitle1=A.e.sanitizeText(e.relationTitle1.trim(),(0,A.c)()),e.relationTitle2=A.e.sanitizeText(e.relationTitle2.trim(),(0,A.c)()),de.push(e)},getDirection:()=>je,setDirection:e=>{je=e},addMember:ze,addMembers:function(e,i){Array.isArray(i)&&(i.reverse(),i.forEach(r=>ze(e,r)))},cleanupLabel:function(e){return e.startsWith(":")&&(e=e.substring(1)),x(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(e,i,r){e.split(",").forEach(function(c){(function(e,i,r){const c=A.e.sanitizeText(e,(0,A.c)());if("loose"===(0,A.c)().securityLevel&&void 0!==i&&void 0!==f[c]){const g=Ye(c);let _=[];if("string"==typeof r){_=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let D=0;D<_.length;D++){let B=_[D].trim();'"'===B.charAt(0)&&'"'===B.charAt(B.length-1)&&(B=B.substr(1,B.length-2)),_[D]=B}}0===_.length&&_.push(g),M.push(function(){const D=document.querySelector(`[id="${g}"]`);null!==D&&D.addEventListener("click",function(){A.u.runFunc(i,..._)},!1)})}})(c,i,r),f[c].haveCallback=!0}),Ce(e,"clickable")},setCssClass:Ce,setLink:function(e,i,r){const c=(0,A.c)();e.split(",").forEach(function(o){let p=o;o[0].match(/\d/)&&(p=z+p),void 0!==f[p]&&(f[p].link=A.u.formatUrl(i,c),f[p].linkTarget="sandbox"===c.securityLevel?"_top":"string"==typeof r?x(r):"_blank")}),Ce(e,"clickable")},getTooltip:function(e,i){return i?v[i].classes[e].tooltip:f[e].tooltip},setTooltip:function(e,i){e.split(",").forEach(function(r){void 0!==i&&(f[r].tooltip=x(i))})},lookUpDomId:Ye,setDiagramTitle:A.q,getDiagramTitle:A.t,setClassLabel:function(e,i){const r=A.e.sanitizeText(e,(0,A.c)());i&&(i=x(i));const{className:c}=I(r);f[c].label=i},addNamespace:function(e){void 0===v[e]&&(v[e]={id:e,classes:{},children:{},domId:z+e+"-"+Ee},Ee++)},addClassesToNamespace:function(e,i){if(void 0!==v[e])for(const r of i){const{className:c}=I(r);f[c].parent=e,v[e].classes[c]=f[c]}},getNamespace:function(e){return v[e]},getNamespaces:function(){return v},setCssStyle:function(e,i){const r=f[e];if(i&&r)for(const c of i)c.includes(",")?r.styles.push(...c.split(",")):r.styles.push(c)}},Bt=e=>`g.classGroup text {\n fill: ${e.nodeBorder||e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js b/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js deleted file mode 100644 index 682ab8cfbae..00000000000 --- a/pkg/apiserver-impl/ui/883.8dbb7430ed8af2ea.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[883],{1861:function(vt){vt.exports=function(){"use strict";return function($,A){var nt=A.prototype,D=nt.format;nt.format=function(U){var E=this,ct=this.$locale();if(!this.isValid())return D.bind(this)(U);var m=this.$utils(),j=(U||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(O){switch(O){case"Q":return Math.ceil((E.$M+1)/3);case"Do":return ct.ordinal(E.$D);case"gggg":return E.weekYear();case"GGGG":return E.isoWeekYear();case"wo":return ct.ordinal(E.week(),"W");case"w":case"ww":return m.s(E.week(),"w"===O?1:2,"0");case"W":case"WW":return m.s(E.isoWeek(),"W"===O?1:2,"0");case"k":case"kk":return m.s(String(0===E.$H?24:E.$H),"k"===O?1:2,"0");case"X":return Math.floor(E.$d.getTime()/1e3);case"x":return E.$d.getTime();case"z":return"["+E.offsetName()+"]";case"zzz":return"["+E.offsetName("long")+"]";default:return O}});return D.bind(this)(j)}}}()},274:function(vt){vt.exports=function(){"use strict";var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},A=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,nt=/\d\d/,D=/\d\d?/,U=/\d*[^-_:/,()\s\d]+/,E={},ct=function(g){return(g=+g)+(g>68?1900:2e3)},m=function(g){return function(T){this[g]=+T}},j=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(T){if(!T||"Z"===T)return 0;var I=T.match(/([+-]|\d\d)/g),x=60*I[1]+(+I[2]||0);return 0===x?0:"+"===I[0]?-x:x}(g)}],O=function(g){var T=E[g];return T&&(T.indexOf?T:T.s.concat(T.f))},P=function(g,T){var I,x=E.meridiem;if(x){for(var G=1;G<=24;G+=1)if(g.indexOf(x(G,0,T))>-1){I=G>12;break}}else I=g===(T?"pm":"PM");return I},C={A:[U,function(g){this.afternoon=P(g,!1)}],a:[U,function(g){this.afternoon=P(g,!0)}],S:[/\d/,function(g){this.milliseconds=100*+g}],SS:[nt,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[D,m("seconds")],ss:[D,m("seconds")],m:[D,m("minutes")],mm:[D,m("minutes")],H:[D,m("hours")],h:[D,m("hours")],HH:[D,m("hours")],hh:[D,m("hours")],D:[D,m("day")],DD:[nt,m("day")],Do:[U,function(g){var T=E.ordinal,I=g.match(/\d+/);if(this.day=I[0],T)for(var x=1;x<=31;x+=1)T(x).replace(/\[|\]/g,"")===g&&(this.day=x)}],M:[D,m("month")],MM:[nt,m("month")],MMM:[U,function(g){var T=O("months"),I=(O("monthsShort")||T.map(function(x){return x.slice(0,3)})).indexOf(g)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[U,function(g){var T=O("months").indexOf(g)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,m("year")],YY:[nt,function(g){this.year=ct(g)}],YYYY:[/\d{4}/,m("year")],Z:j,ZZ:j};return function(g,T,I){I.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(ct=g.parseTwoDigitYear);var x=T.prototype,G=x.parse;x.parse=function(K){var ot=K.date,Z=K.utc,B=K.args;this.$u=Z;var X=B[1];if("string"==typeof X){var st=!0===B[2],H=!0===B[3],F=st||H,V=B[2];H&&(V=B[2]),E=this.$locale(),!st&&V&&(E=I.Ls[V]),this.$d=function(mt,kt,lt){try{if(["x","X"].indexOf(kt)>-1)return new Date(("X"===kt?1e3:1)*mt);var Q=function wt(g){var I;I=E&&E.formats;for(var x=(g=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(st,H,F){var V=F&&F.toUpperCase();return H||I[F]||$[F]||I[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(tt,R,rt){return R||rt.slice(1)})})).match(A),G=x.length,K=0;K0?Tt-1:Ct.getMonth());var At=Ht||0,Lt=Qt||0,It=Jt||0,Yt=qt||0;return Wt?new Date(Date.UTC(Mt,xt,St,At,Lt,It,Yt+60*Wt.offset*1e3)):lt?new Date(Date.UTC(Mt,xt,St,At,Lt,It,Yt)):new Date(Mt,xt,St,At,Lt,It,Yt)}catch{return new Date("")}}(ot,X,Z),this.init(),V&&!0!==V&&(this.$L=this.locale(V).$L),F&&ot!=this.format(X)&&(this.$d=new Date("")),E={}}else if(X instanceof Array)for(var tt=X.length,R=1;R<=tt;R+=1){B[1]=X[R-1];var rt=I.apply(this,B);if(rt.isValid()){this.$d=rt.$d,this.$L=rt.$L,this.init();break}R===tt&&(this.$d=new Date(""))}else G.call(this,K)}}}()},7517:function(vt){vt.exports=function(){"use strict";var $="day";return function(A,nt,D){var U=function(m){return m.add(4-m.isoWeekday(),$)},E=nt.prototype;E.isoWeekYear=function(){return U(this).year()},E.isoWeek=function(m){if(!this.$utils().u(m))return this.add(7*(m-this.isoWeek()),$);var j,P,C,wt=U(this),g=(j=this.isoWeekYear(),C=4-(P=(this.$u?D.utc:D)().year(j).startOf("year")).isoWeekday(),P.isoWeekday()>4&&(C+=7),P.add(C,$));return wt.diff(g,"week")+1},E.isoWeekday=function(m){return this.$utils().u(m)?this.day()||7:this.day(this.day()%7?m:m-7)};var ct=E.startOf;E.startOf=function(m,j){var O=this.$utils(),P=!!O.u(j)||j;return"isoweek"===O.p(m)?P?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):ct.bind(this)(m,j)}}}()},5883:(vt,$,A)=>{"use strict";A.r($),A.d($,{diagram:()=>Me});var nt=A(6780),D=A(1764),U=A(7517),E=A(274),ct=A(1861),m=A(855),j=A(9111),O=A(4169),P=A(6012),C=A(5703),wt=A(1775),T=(A(2735),function(){var t=function(at,f,a,l){for(a=a||{},l=at.length;l--;a[at[l]]=f);return a},u=[1,3],s=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],k=[1,16],y=[1,17],J=[1,18],N=[1,19],Ot=[1,20],ft=[1,21],Dt=[1,22],et=[1,23],M=[1,24],q=[1,25],Vt=[1,26],Rt=[1,27],Nt=[1,29],Ut=[1,31],jt=[1,34],Gt=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],Pt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(f,a,l,c,d,e,w){var n=e.length-1;switch(d){case 2:return e[n-1];case 3:case 7:case 8:this.$=[];break;case 4:e[n-1].push(e[n]),this.$=e[n-1];break;case 5:case 6:this.$=e[n];break;case 9:c.setDateFormat(e[n].substr(11)),this.$=e[n].substr(11);break;case 10:c.enableInclusiveEndDates(),this.$=e[n].substr(18);break;case 11:c.TopAxis(),this.$=e[n].substr(8);break;case 12:c.setAxisFormat(e[n].substr(11)),this.$=e[n].substr(11);break;case 13:c.setTickInterval(e[n].substr(13)),this.$=e[n].substr(13);break;case 14:c.setExcludes(e[n].substr(9)),this.$=e[n].substr(9);break;case 15:c.setIncludes(e[n].substr(9)),this.$=e[n].substr(9);break;case 16:c.setTodayMarker(e[n].substr(12)),this.$=e[n].substr(12);break;case 17:c.setDiagramTitle(e[n].substr(6)),this.$=e[n].substr(6);break;case 18:this.$=e[n].trim(),c.setAccTitle(this.$);break;case 19:case 20:this.$=e[n].trim(),c.setAccDescription(this.$);break;case 21:c.addSection(e[n].substr(8)),this.$=e[n].substr(8);break;case 23:c.addTask(e[n-1],e[n]),this.$="task";break;case 27:this.$=e[n-1],c.setClickEvent(e[n-1],e[n],null);break;case 28:this.$=e[n-2],c.setClickEvent(e[n-2],e[n-1],e[n]);break;case 29:this.$=e[n-2],c.setClickEvent(e[n-2],e[n-1],null),c.setLink(e[n-2],e[n]);break;case 30:this.$=e[n-3],c.setClickEvent(e[n-3],e[n-2],e[n-1]),c.setLink(e[n-3],e[n]);break;case 31:this.$=e[n-2],c.setClickEvent(e[n-2],e[n],null),c.setLink(e[n-2],e[n-1]);break;case 32:this.$=e[n-3],c.setClickEvent(e[n-3],e[n-1],e[n]),c.setLink(e[n-3],e[n-2]);break;case 33:this.$=e[n-1],c.setLink(e[n-1],e[n]);break;case 34:case 40:this.$=e[n-1]+" "+e[n];break;case 35:case 36:case 38:this.$=e[n-2]+" "+e[n-1]+" "+e[n];break;case 37:case 39:this.$=e[n-3]+" "+e[n-2]+" "+e[n-1]+" "+e[n];break;case 41:c.parseDirective("%%{","open_directive");break;case 42:c.parseDirective(e[n],"type_directive");break;case 43:e[n]=e[n].trim().replace(/'/g,'"'),c.parseDirective(e[n],"arg_directive");break;case 44:c.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:u,30:4,40:s},{1:[3]},{3:6,4:2,5:u,30:4,40:s},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:k,14:y,15:J,16:N,17:Ot,18:ft,19:Dt,20:et,21:M,23:q,25:Vt,26:Rt,27:28,28:Nt,30:4,35:Ut,40:s},{32:32,33:[1,33],43:jt},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:k,14:y,15:J,16:N,17:Ot,18:ft,19:Dt,20:et,21:M,23:q,25:Vt,26:Rt,27:28,28:Nt,30:4,35:Ut,40:s},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(Gt,[2,25]),{32:47,43:jt},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(Gt,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(f,a){if(!a.recoverable){var l=new Error(f);throw l.hash=a,l}this.trace(f)},parse:function(f){var l=[0],c=[],d=[null],e=[],w=this.table,n="",b=0,W=0,p=e.slice.call(arguments,1),h=Object.create(this.lexer),S={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(S.yy[L]=this.yy[L]);h.setInput(f,S.yy),S.yy.lexer=h,S.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var v=h.yylloc;e.push(v);var ht,_=h.options&&h.options.ranges;this.parseError="function"==typeof S.yy.parseError?S.yy.parseError:Object.getPrototypeOf(this).parseError;for(var z,pt,it,ne,Kt,dt,Zt,Et={};;){if(this.defaultActions[pt=l[l.length-1]]?it=this.defaultActions[pt]:((null===z||typeof z>"u")&&(ht=void 0,"number"!=typeof(ht=c.pop()||h.lex()||1)&&(ht instanceof Array&&(ht=(c=ht).pop()),ht=this.symbols_[ht]||ht),z=ht),it=w[pt]&&w[pt][z]),typeof it>"u"||!it.length||!it[0]){var se;for(Kt in Zt=[],w[pt])this.terminals_[Kt]&&Kt>2&&Zt.push("'"+this.terminals_[Kt]+"'");se=h.showPosition?"Parse error on line "+(b+1)+":\n"+h.showPosition()+"\nExpecting "+Zt.join(", ")+", got '"+(this.terminals_[z]||z)+"'":"Parse error on line "+(b+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(se,{text:h.match,token:this.terminals_[z]||z,line:h.yylineno,loc:v,expected:Zt})}if(it[0]instanceof Array&&it.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pt+", token: "+z);switch(it[0]){case 1:l.push(z),d.push(h.yytext),e.push(h.yylloc),l.push(it[1]),z=null,W=h.yyleng,n=h.yytext,b=h.yylineno,v=h.yylloc;break;case 2:if(Et.$=d[d.length-(dt=this.productions_[it[1]][1])],Et._$={first_line:e[e.length-(dt||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(dt||1)].first_column,last_column:e[e.length-1].last_column},_&&(Et._$.range=[e[e.length-(dt||1)].range[0],e[e.length-1].range[1]]),typeof(ne=this.performAction.apply(Et,[n,W,b,S.yy,it[1],d,e].concat(p)))<"u")return ne;dt&&(l=l.slice(0,-1*dt*2),d=d.slice(0,-1*dt),e=e.slice(0,-1*dt)),l.push(this.productions_[it[1]][0]),d.push(Et.$),e.push(Et._$),l.push(w[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0}};function Ft(){this.yy={}}return Pt.lexer={EOF:1,parseError:function(a,l){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,l)},setInput:function(f,a){return this.yy=a||this.yy||{},this._input=f,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},input:function(){var f=this._input[0];return this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f,f.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),f},unput:function(f){var a=f.length,l=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var c=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),l.length-1&&(this.yylineno-=l.length-1);var d=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:l?(l.length===c.length?this.yylloc.first_column:0)+c[c.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),a=new Array(f.length+1).join("-");return f+this.upcomingInput()+"\n"+a+"^"},test_match:function(f,a){var l,c,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),(c=f[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,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(f[0].length),this.matched+=f[0],l=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var e in d)this[e]=d[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var f,a,l,c;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),e=0;ea[0].length)){if(a=l,c=e,this.options.backtrack_lexer){if(!1!==(f=this.test_match(l,d[e])))return f;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(f=this.test_match(a,d[c]))&&f:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,l,c,d){switch(c){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}},Ft.prototype=Pt,Pt.Parser=Ft,new Ft}());T.parser=T;const I=T;D.extend(U),D.extend(E),D.extend(ct);let K,x="",G="",ot="",Z=[],B=[],X={},st=[],H=[],F="";const V=["active","done","crit","milestone"];let tt=[],R=!1,rt=!1,mt=0;const ae=function(t,u,s,i){return!i.includes(t.format(u.trim()))&&(!!(t.isoWeekday()>=6&&s.includes("weekends")||s.includes(t.format("dddd").toLowerCase()))||s.includes(t.format(u.trim())))},ce=function(t,u,s,i){if(!s.length||t.manualEndTime)return;let r,k;r=t.startTime instanceof Date?D(t.startTime):D(t.startTime,u,!0),r=r.add(1,"d"),k=t.endTime instanceof Date?D(t.endTime):D(t.endTime,u,!0);const[y,J]=pe(r,k,u,s,i);t.endTime=y.toDate(),t.renderEndTime=J},pe=function(t,u,s,i,r){let k=!1,y=null;for(;t<=u;)k||(y=u.toDate()),k=ae(t,s,i,r),k&&(u=u.add(1,"d")),t=t.add(1,"d");return[u,y]},$t=function(t,u,s){s=s.trim();const r=/^after\s+([\d\w- ]+)/.exec(s.trim());if(null!==r){let y=null;if(r[1].split(" ").forEach(function(J){let N=_t(J);void 0!==N&&(y?N.endTime>y.endTime&&(y=N):y=N)}),y)return y.endTime;{const J=new Date;return J.setHours(0,0,0,0),J}}let k=D(s,u.trim(),!0);if(k.isValid())return k.toDate();{m.l.debug("Invalid date:"+s),m.l.debug("With date format:"+u.trim());const y=new Date(s);if(void 0===y||isNaN(y.getTime()))throw new Error("Invalid date:"+s);return y}},oe=function(t){const u=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==u?[Number.parseFloat(u[1]),u[2]]:[NaN,"ms"]},le=function(t,u,s,i=!1){s=s.trim();let r=D(s,u.trim(),!0);if(r.isValid())return i&&(r=r.add(1,"d")),r.toDate();let k=D(t);const[y,J]=oe(s);if(!Number.isNaN(y)){const N=k.add(y,J);N.isValid()&&(k=N)}return k.toDate()};let zt=0;const bt=function(t){return void 0===t?(zt+=1,"task"+zt):t};let te,Bt,Y=[];const ue={},_t=function(t){return Y[ue[t]]},fe=function(){const t=function(s){const i=Y[s];let r="";switch(Y[s].raw.startTime.type){case"prevTaskEnd":{const k=_t(i.prevTaskId);i.startTime=k.endTime;break}case"getStartDate":r=$t(0,x,Y[s].raw.startTime.startData),r&&(Y[s].startTime=r)}return Y[s].startTime&&(Y[s].endTime=le(Y[s].startTime,x,Y[s].raw.endTime.data,R),Y[s].endTime&&(Y[s].processed=!0,Y[s].manualEndTime=D(Y[s].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),ce(Y[s],x,B,Z))),Y[s].processed};let u=!0;for(const[s,i]of Y.entries())t(s),u=u&&i.processed;return u},de=function(t,u){t.split(",").forEach(function(s){let i=_t(s);void 0!==i&&i.classes.push(u)})},he=function(t,u){tt.push(function(){const s=document.querySelector(`[id="${t}"]`);null!==s&&s.addEventListener("click",function(){u()})},function(){const s=document.querySelector(`[id="${t}-text"]`);null!==s&&s.addEventListener("click",function(){u()})})};function me(t,u,s){let i=!0;for(;i;)i=!1,s.forEach(function(r){const y=new RegExp("^\\s*"+r+"\\s*$");t[0].match(y)&&(u[r]=!0,t.shift(1),i=!0)})}let ut;const Me={parser:I,db:{parseDirective:function(t,u,s){O.m.parseDirective(this,t,u,s)},getConfig:()=>(0,m.g)().gantt,clear:function(){st=[],H=[],F="",tt=[],zt=0,te=void 0,Bt=void 0,Y=[],x="",G="",K=void 0,ot="",Z=[],B=[],R=!1,rt=!1,mt=0,X={},(0,P.f)()},setDateFormat:function(t){x=t},getDateFormat:function(){return x},enableInclusiveEndDates:function(){R=!0},endDatesAreInclusive:function(){return R},enableTopAxis:function(){rt=!0},topAxisEnabled:function(){return rt},setAxisFormat:function(t){G=t},getAxisFormat:function(){return G},setTickInterval:function(t){K=t},getTickInterval:function(){return K},setTodayMarker:function(t){ot=t},getTodayMarker:function(){return ot},setAccTitle:P.s,getAccTitle:P.g,setDiagramTitle:P.d,getDiagramTitle:P.e,setAccDescription:P.b,getAccDescription:P.a,addSection:function(t){F=t,st.push(t)},getSections:function(){return st},getTasks:function(){let t=fe(),s=0;for(;!t&&s<10;)t=fe(),s++;return H=Y,H},addTask:function(t,u){const s={section:F,type:F,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:u},task:t,classes:[]},i=function(t,u){let s;s=":"===u.substr(0,1)?u.substr(1,u.length):u;const i=s.split(","),r={};me(i,r,V);for(let k=0;k{j.u.runFunc(u,...i)})}(i,u,s)}),de(t,"clickable")},setLink:function(t,u){let s=u;"loose"!==(0,m.g)().securityLevel&&(s=(0,nt.N)(u)),t.split(",").forEach(function(i){void 0!==_t(i)&&(he(i,()=>{window.open(s,"_self")}),X[i]=s)}),de(t,"clickable")},getLinks:function(){return X},bindFunctions:function(t){tt.forEach(function(u){u(t)})},parseDuration:oe,isInvalidDate:ae},renderer:{setConf:function(){m.l.debug("Something is calling, setConf, remove the call")},draw:function(t,u,s,i){const r=(0,m.g)().gantt,k=(0,m.g)().securityLevel;let y;"sandbox"===k&&(y=(0,C.Ys)("#i"+u));const J=(0,C.Ys)("sandbox"===k?y.nodes()[0].contentDocument.body:"body"),N="sandbox"===k?y.nodes()[0].contentDocument:document,Ot=N.getElementById(u);ut=Ot.parentElement.offsetWidth,void 0===ut&&(ut=1200),void 0!==r.useWidth&&(ut=r.useWidth);const ft=i.db.getTasks(),Dt=ft.length*(r.barHeight+r.barGap)+2*r.topPadding;Ot.setAttribute("viewBox","0 0 "+ut+" "+Dt);const et=J.select(`[id="${u}"]`),M=(0,C.Xf)().domain([(0,C.VV$)(ft,function(a){return a.startTime}),(0,C.Fp7)(ft,function(a){return a.endTime})]).rangeRound([0,ut-r.leftPadding-r.rightPadding]);let q=[];for(const a of ft)q.push(a.type);const Vt=q;function f(a,l){return function at(a){let l=a.length;const c={};for(;l;)c[a[--l]]=(c[a[l]]||0)+1;return c}(l)[a]||0}q=function Ft(a){const l={},c=[];for(let d=0,e=a.length;dd?e=1:cv?Math.min(v,_):_,0),yt=w.reduce((v,{endTime:_})=>v?Math.max(v,_):_,0),o=i.db.getDateFormat();if(!W||!yt)return;const p=[];let h=null,S=D(W);for(;S.valueOf()<=yt;)i.db.isInvalidDate(S,o,n,b)?h?h.end=S:h={start:S,end:S}:h&&(p.push(h),h=null),S=S.add(1,"d");et.append("g").selectAll("rect").data(p).enter().append("rect").attr("id",function(v){return"exclude-"+v.start.format("YYYY-MM-DD")}).attr("x",function(v){return M(v.start)+c}).attr("y",r.gridLineStartPadding).attr("width",function(v){const _=v.end.add(1,"day");return M(_)-M(v.start)}).attr("height",e-l-r.gridLineStartPadding).attr("transform-origin",function(v,_){return(M(v.start)+c+.5*(M(v.end)-M(v.start))).toString()+"px "+(_*a+.5*e).toString()+"px"}).attr("class","exclude-range")}(e,w,n,0,c,a,i.db.getExcludes(),i.db.getIncludes()),function Gt(a,l,c,d){let e=(0,C.LLu)(M).tickSize(-d+l+r.gridLineStartPadding).tickFormat((0,C.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const n=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==n){const b=n[1];switch(n[2]){case"minute":e.ticks(C.Z_i.every(b));break;case"hour":e.ticks(C.WQD.every(b));break;case"day":e.ticks(C.rr1.every(b));break;case"week":e.ticks(C.NGh.every(b));break;case"month":e.ticks(C.F0B.every(b))}}if(et.append("g").attr("class","grid").attr("transform","translate("+a+", "+(d-50)+")").call(e).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let b=(0,C.F5q)(M).tickSize(-d+l+r.gridLineStartPadding).tickFormat((0,C.i$Z)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==n){const W=n[1];switch(n[2]){case"minute":b.ticks(C.Z_i.every(W));break;case"hour":b.ticks(C.WQD.every(W));break;case"day":b.ticks(C.rr1.every(W));break;case"week":b.ticks(C.NGh.every(W));break;case"month":b.ticks(C.F0B.every(W))}}et.append("g").attr("class","grid").attr("transform","translate("+a+", "+l+")").call(b).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(n,w,0,c),function Ut(a,l,c,d,e,w,n){et.append("g").selectAll("rect").data(a).enter().append("rect").attr("x",0).attr("y",function(o,p){return o.order*l+c-2}).attr("width",function(){return n-r.rightPadding/2}).attr("height",l).attr("class",function(o){for(const[p,h]of q.entries())if(o.type===h)return"section section"+p%r.numberSectionStyles;return"section section0"});const b=et.append("g").selectAll("rect").data(a).enter(),W=i.db.getLinks();if(b.append("rect").attr("id",function(o){return o.id}).attr("rx",3).attr("ry",3).attr("x",function(o){return o.milestone?M(o.startTime)+d+.5*(M(o.endTime)-M(o.startTime))-.5*e:M(o.startTime)+d}).attr("y",function(o,p){return o.order*l+c}).attr("width",function(o){return o.milestone?e:M(o.renderEndTime||o.endTime)-M(o.startTime)}).attr("height",e).attr("transform-origin",function(o,p){return p=o.order,(M(o.startTime)+d+.5*(M(o.endTime)-M(o.startTime))).toString()+"px "+(p*l+c+.5*e).toString()+"px"}).attr("class",function(o){let h="";o.classes.length>0&&(h=o.classes.join(" "));let S=0;for(const[v,_]of q.entries())o.type===_&&(S=v%r.numberSectionStyles);let L="";return o.active?o.crit?L+=" activeCrit":L=" active":o.done?L=o.crit?" doneCrit":" done":o.crit&&(L+=" crit"),0===L.length&&(L=" task"),o.milestone&&(L=" milestone "+L),L+=S,L+=" "+h,"task"+L}),b.append("text").attr("id",function(o){return o.id+"-text"}).text(function(o){return o.task}).attr("font-size",r.fontSize).attr("x",function(o){let p=M(o.startTime),h=M(o.renderEndTime||o.endTime);o.milestone&&(p+=.5*(M(o.endTime)-M(o.startTime))-.5*e),o.milestone&&(h=p+e);const S=this.getBBox().width;return S>h-p?h+S+1.5*r.leftPadding>n?p+d-5:h+d+5:(h-p)/2+p+d}).attr("y",function(o,p){return o.order*l+r.barHeight/2+(r.fontSize/2-2)+c}).attr("text-height",e).attr("class",function(o){const p=M(o.startTime);let h=M(o.endTime);o.milestone&&(h=p+e);const S=this.getBBox().width;let L="";o.classes.length>0&&(L=o.classes.join(" "));let v=0;for(const[ie,z]of q.entries())o.type===z&&(v=ie%r.numberSectionStyles);let _="";return o.active&&(_=o.crit?"activeCritText"+v:"activeText"+v),o.done?_=o.crit?_+" doneCritText"+v:_+" doneText"+v:o.crit&&(_=_+" critText"+v),o.milestone&&(_+=" milestoneText"),S>h-p?h+S+1.5*r.leftPadding>n?L+" taskTextOutsideLeft taskTextOutside"+v+" "+_:L+" taskTextOutsideRight taskTextOutside"+v+" "+_+" width-"+S:L+" taskText taskText"+v+" "+_+" width-"+S}),"sandbox"===(0,m.g)().securityLevel){let o;o=(0,C.Ys)("#i"+u);const p=o.nodes()[0].contentDocument;b.filter(function(h){return void 0!==W[h.id]}).each(function(h){var S=p.querySelector("#"+h.id),L=p.querySelector("#"+h.id+"-text");const v=S.parentNode;var _=p.createElement("a");_.setAttribute("xlink:href",W[h.id]),_.setAttribute("target","_top"),v.appendChild(_),_.appendChild(S),_.appendChild(L)})}}(a,e,w,n,d,0,l),function Pt(a,l){const c=[];let d=0;for(const[e,w]of q.entries())c[e]=[w,f(w,Vt)];et.append("g").selectAll("text").data(c).enter().append(function(e){const w=e[0].split(m.d.lineBreakRegex),n=-(w.length-1)/2,b=N.createElementNS("http://www.w3.org/2000/svg","text");b.setAttribute("dy",n+"em");for(const[W,yt]of w.entries()){const o=N.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttribute("alignment-baseline","central"),o.setAttribute("x","10"),W>0&&o.setAttribute("dy","1em"),o.textContent=yt,b.appendChild(o)}return b}).attr("x",10).attr("y",function(e,w){if(!(w>0))return e[1]*a/2+l;for(let n=0;n`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/903.c29428aa95c26108.js b/pkg/apiserver-impl/ui/903.c29428aa95c26108.js new file mode 100644 index 00000000000..8b3ab98397f --- /dev/null +++ b/pkg/apiserver-impl/ui/903.c29428aa95c26108.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[903],{5609:(Pe,_e,nt)=>{nt.d(_e,{d:()=>Le,f:()=>Xt,p:()=>Ce});var R1=nt(8586),C=nt(9037),rt=function(){var e=function(p1,a,o,f){for(o=o||{},f=p1.length;f--;o[p1[f]]=a);return o},u=[1,4],i=[1,3],r=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],M=[1,14],F=[1,15],w=[1,16],H=[1,23],l1=[1,25],A1=[1,26],d1=[1,27],S=[1,49],k=[1,48],h1=[1,29],W1=[1,30],H1=[1,31],Q1=[1,32],q1=[1,33],x=[1,44],m=[1,46],y=[1,42],v=[1,47],V=[1,43],L=[1,50],I=[1,45],R=[1,51],N=[1,52],Z1=[1,34],J1=[1,35],$1=[1,36],tt=[1,37],w1=[1,57],b=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Z=[1,61],J=[1,60],$=[1,62],et=[8,9,11,73,75],D1=[1,88],F1=[1,93],T1=[1,92],_1=[1,89],C1=[1,85],S1=[1,91],B1=[1,87],x1=[1,94],m1=[1,90],y1=[1,95],v1=[1,86],st=[8,9,10,11,73,75],O=[8,9,10,11,44,73,75],K=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Wt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],P1=[42,58,86,99,102,103,106,108,111,112,113],Ht=[1,121],Qt=[1,120],qt=[1,128],Zt=[1,142],Jt=[1,143],$t=[1,144],te=[1,145],ee=[1,130],se=[1,132],ue=[1,136],ie=[1,137],ne=[1,138],re=[1,139],ae=[1,140],ce=[1,141],oe=[1,146],le=[1,147],he=[1,126],fe=[1,127],pe=[1,134],Ae=[1,129],de=[1,133],Ee=[1,131],ct=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],ke=[1,149],T=[8,9,11],Y=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],P=[1,165],U=[1,166],A=[1,170],d=[1,167],E=[1,168],V1=[75,113,116],g=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],be=[10,103],f1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],t1=[1,235],e1=[1,233],s1=[1,237],u1=[1,231],i1=[1,232],n1=[1,234],r1=[1,236],a1=[1,238],L1=[1,255],ge=[8,9,11,103],Q=[8,9,10,11,58,81,102,103,106,107,108,109],ot={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,n,_,t,U1){var s=t.length-1;switch(_){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:case 49:case 71:case 174:this.$=t[s];break;case 11:n.setDirection("TB"),this.$="TB";break;case 12:n.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 33:this.$=n.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=n.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=n.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 43:n.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:n.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:case 121:case 123:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 50:this.$=t[s-2],n.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],n.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],n.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 72:var z=n.destructLink(t[s],t[s-2]);this.$={type:z.type,stroke:z.stroke,length:z.length,text:t[s-1]};break;case 73:case 79:case 94:case 96:this.$={text:t[s],type:"text"};break;case 74:case 80:case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:case 81:this.$={text:t[s],type:"string"};break;case 76:case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 77:z=n.destructLink(t[s]),this.$={type:z.type,stroke:z.stroke,length:z.length};break;case 78:this.$=t[s-1];break;case 98:this.$=t[s-4],n.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],n.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],n.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],n.setClickEvent(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],n.setClickEvent(t[s-4],t[s-3],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],n.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],n.setLink(t[s-4],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],n.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],n.setLink(t[s-6],t[s-4],t[s]),n.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],n.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],n.setLink(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],n.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],n.setLink(t[s-5],t[s-4],t[s]),n.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],n.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],n.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],n.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],n.updateLinkInterpolate([t[s-6]],t[s-2]),n.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],n.updateLinkInterpolate(t[s-6],t[s-2]),n.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],n.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],n.updateLinkInterpolate(t[s-4],t[s]);break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 175:case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,9:u,10:i,12:r},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:r},{4:8,9:u,10:i,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:M,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:H,33:24,34:l1,36:A1,38:d1,40:28,41:38,42:S,43:39,45:40,58:k,81:h1,82:W1,83:H1,84:Q1,85:q1,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Z1,119:J1,120:$1,121:tt},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:w1,15:53,18:56},e(b,[2,3]),e(b,[2,4]),e(b,[2,5]),e(b,[2,6]),e(b,[2,7]),e(b,[2,8]),{8:Z,9:J,11:$,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:Z,9:J,11:$,21:66},{8:Z,9:J,11:$,21:67},{8:Z,9:J,11:$,21:68},{8:Z,9:J,11:$,21:69},{8:Z,9:J,11:$,21:70},{8:Z,9:J,10:[1,71],11:$,21:72},e(b,[2,36]),{35:[1,73]},{37:[1,74]},e(b,[2,39]),e(et,[2,46],{18:75,10:w1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:D1,42:F1,58:T1,77:[1,83],86:_1,92:[1,80],94:[1,81],98:82,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1,117:84},e(b,[2,178]),e(b,[2,179]),e(b,[2,180]),e(b,[2,181]),e(st,[2,47]),e(st,[2,49],{44:[1,96]}),e(O,[2,67],{110:109,29:[1,97],42:S,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:k,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:x,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(K,[2,174]),e(K,[2,135]),e(K,[2,136]),e(K,[2,137]),e(K,[2,138]),e(K,[2,139]),e(K,[2,140]),e(K,[2,141]),e(K,[2,142]),e(K,[2,143]),e(K,[2,144]),e(K,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(Wt,[2,26],{18:111,10:w1}),e(b,[2,27]),{40:112,41:38,42:S,43:39,45:40,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(b,[2,40]),e(b,[2,41]),e(b,[2,42]),e(P1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:Ht,116:Qt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(b,[2,28]),e(b,[2,29]),e(b,[2,30]),e(b,[2,31]),e(b,[2,32]),{10:qt,12:Zt,14:Jt,27:$t,28:122,32:te,42:ee,58:se,73:ue,77:[1,124],78:[1,125],80:135,81:ie,82:ne,83:re,84:ae,85:ce,86:oe,87:le,88:123,102:he,106:fe,108:pe,111:Ae,112:de,113:Ee},e(ct,l,{5:148}),e(b,[2,37]),e(b,[2,38]),e(et,[2,45],{42:ke}),{42:S,45:150,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{99:[1,151],100:152,102:[1,153]},{42:S,45:154,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{42:S,45:155,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(T,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(T,[2,108],{117:160,10:[1,159],14:D1,42:F1,58:T1,86:_1,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1}),e(T,[2,110],{10:[1,161]}),e(Y,[2,176]),e(Y,[2,163]),e(Y,[2,164]),e(Y,[2,165]),e(Y,[2,166]),e(Y,[2,167]),e(Y,[2,168]),e(Y,[2,169]),e(Y,[2,170]),e(Y,[2,171]),e(Y,[2,172]),e(Y,[2,173]),{42:S,45:162,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{30:163,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:171,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:174,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:175,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:176,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:181,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:182,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:183,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(K,[2,175]),e(c,[2,20]),e(Wt,[2,25]),e(et,[2,43],{18:184,10:w1}),e(P1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:Ht,116:Qt},e(V1,[2,73]),e(V1,[2,75]),e(V1,[2,76]),e(V1,[2,161]),e(V1,[2,162]),{8:Z,9:J,10:qt,11:$,12:Zt,14:Jt,21:191,27:$t,29:[1,190],32:te,42:ee,58:se,73:ue,80:135,81:ie,82:ne,83:re,84:ae,85:ce,86:oe,87:le,88:192,102:he,106:fe,108:pe,111:Ae,112:de,113:Ee},e(g,[2,94]),e(g,[2,96]),e(g,[2,97]),e(g,[2,150]),e(g,[2,151]),e(g,[2,152]),e(g,[2,153]),e(g,[2,154]),e(g,[2,155]),e(g,[2,156]),e(g,[2,157]),e(g,[2,158]),e(g,[2,159]),e(g,[2,160]),e(g,[2,83]),e(g,[2,84]),e(g,[2,85]),e(g,[2,86]),e(g,[2,87]),e(g,[2,88]),e(g,[2,89]),e(g,[2,90]),e(g,[2,91]),e(g,[2,92]),e(g,[2,93]),{6:11,7:12,8:h,9:M,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,193],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:S,43:39,45:40,58:k,81:h1,82:W1,83:H1,84:Q1,85:q1,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Z1,119:J1,120:$1,121:tt},{10:w1,18:194},{10:[1,195],42:S,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,196]},{10:[1,197],103:[1,198]},e(be,[2,121]),{10:[1,199],42:S,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,200],42:S,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{77:[1,201]},e(T,[2,102],{10:[1,202]}),e(T,[2,104],{10:[1,203]}),{77:[1,204]},e(Y,[2,177]),{77:[1,205],95:[1,206]},e(st,[2,50],{110:109,42:S,58:k,86:x,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(f1,[2,79]),e(f1,[2,81]),e(f1,[2,82]),e(f1,[2,146]),e(f1,[2,147]),e(f1,[2,148]),e(f1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(et,[2,44],{42:ke}),e(P1,[2,70]),e(P1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(P1,[2,72]),e(V1,[2,74]),{30:225,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(ct,l,{5:226}),e(g,[2,95]),e(b,[2,35]),{41:227,42:S,43:39,45:40,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{10:t1,58:e1,81:s1,89:228,102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},{10:t1,58:e1,81:s1,89:239,101:[1,240],102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},{10:t1,58:e1,81:s1,89:241,101:[1,242],102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},{102:[1,243]},{10:t1,58:e1,81:s1,89:244,102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},{42:S,45:245,58:k,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(T,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(T,[2,109]),e(T,[2,111],{10:[1,249]}),e(T,[2,112]),e(O,[2,51]),e(f1,[2,80]),e(O,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(O,[2,59]),e(O,[2,54]),e(O,[2,55]),e(O,[2,56]),{106:[1,251]},e(O,[2,58]),e(O,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(O,[2,62]),e(O,[2,63]),e(O,[2,65]),e(O,[2,64]),e(O,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:M,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,254],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:S,43:39,45:40,58:k,81:h1,82:W1,83:H1,84:Q1,85:q1,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Z1,119:J1,120:$1,121:tt},e(st,[2,48]),e(T,[2,114],{103:L1}),e(ge,[2,123],{105:256,10:t1,58:e1,81:s1,102:u1,106:i1,107:n1,108:r1,109:a1}),e(Q,[2,125]),e(Q,[2,127]),e(Q,[2,128]),e(Q,[2,129]),e(Q,[2,130]),e(Q,[2,131]),e(Q,[2,132]),e(Q,[2,133]),e(Q,[2,134]),e(T,[2,115],{103:L1}),{10:[1,257]},e(T,[2,116],{103:L1}),{10:[1,258]},e(be,[2,122]),e(T,[2,98],{103:L1}),e(T,[2,99],{110:109,42:S,58:k,86:x,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(T,[2,103]),e(T,[2,105],{10:[1,259]}),e(T,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:Z,9:J,11:$,21:264},e(b,[2,34]),{10:t1,58:e1,81:s1,102:u1,104:265,105:230,106:i1,107:n1,108:r1,109:a1},e(Q,[2,126]),{14:D1,42:F1,58:T1,86:_1,98:266,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1,117:84},{14:D1,42:F1,58:T1,86:_1,98:267,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1,117:84},{95:[1,268]},e(T,[2,113]),e(O,[2,53]),{30:269,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(O,[2,61]),e(ct,l,{5:270}),e(ge,[2,124],{105:256,10:t1,58:e1,81:s1,102:u1,106:i1,107:n1,108:r1,109:a1}),e(T,[2,119],{117:160,10:[1,271],14:D1,42:F1,58:T1,86:_1,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1}),e(T,[2,120],{117:160,10:[1,272],14:D1,42:F1,58:T1,86:_1,102:C1,103:S1,106:B1,108:x1,111:m1,112:y1,113:v1}),e(T,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:M,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,274],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:S,43:39,45:40,58:k,81:h1,82:W1,83:H1,84:Q1,85:q1,86:x,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Z1,119:J1,120:$1,121:tt},{10:t1,58:e1,81:s1,89:275,102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},{10:t1,58:e1,81:s1,89:276,102:u1,104:229,105:230,106:i1,107:n1,108:r1,109:a1},e(O,[2,57]),e(b,[2,33]),e(T,[2,117],{103:L1}),e(T,[2,118],{103:L1})],defaultActions:{},parseError:function(a,o){if(!o.recoverable){var f=new Error(a);throw f.hash=o,f}this.trace(a)},parse:function(a){var f=[0],n=[],_=[null],t=[],U1=this.table,s="",z=0,De=0,Ne=t.slice.call(arguments,1),B=Object.create(this.lexer),E1={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(E1.yy[ht]=this.yy[ht]);B.setInput(a,E1.yy),E1.yy.lexer=B,E1.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var ft=B.yylloc;t.push(ft);var o1,Oe=B.options&&B.options.ranges;this.parseError="function"==typeof E1.yy.parseError?E1.yy.parseError:Object.getPrototypeOf(this).parseError;for(var G,k1,X,pt,ut,c1,it,I1={};;){if(this.defaultActions[k1=f[f.length-1]]?X=this.defaultActions[k1]:((null===G||typeof G>"u")&&(o1=void 0,"number"!=typeof(o1=n.pop()||B.lex()||1)&&(o1 instanceof Array&&(o1=(n=o1).pop()),o1=this.symbols_[o1]||o1),G=o1),X=U1[k1]&&U1[k1][G]),typeof X>"u"||!X.length||!X[0]){var At;for(ut in it=[],U1[k1])this.terminals_[ut]&&ut>2&&it.push("'"+this.terminals_[ut]+"'");At=B.showPosition?"Parse error on line "+(z+1)+":\n"+B.showPosition()+"\nExpecting "+it.join(", ")+", got '"+(this.terminals_[G]||G)+"'":"Parse error on line "+(z+1)+": Unexpected "+(1==G?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(At,{text:B.match,token:this.terminals_[G]||G,line:B.yylineno,loc:ft,expected:it})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k1+", token: "+G);switch(X[0]){case 1:f.push(G),_.push(B.yytext),t.push(B.yylloc),f.push(X[1]),G=null,De=B.yyleng,s=B.yytext,z=B.yylineno,ft=B.yylloc;break;case 2:if(I1.$=_[_.length-(c1=this.productions_[X[1]][1])],I1._$={first_line:t[t.length-(c1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(c1||1)].first_column,last_column:t[t.length-1].last_column},Oe&&(I1._$.range=[t[t.length-(c1||1)].range[0],t[t.length-1].range[1]]),typeof(pt=this.performAction.apply(I1,[s,De,z,E1.yy,X[1],_,t].concat(Ne)))<"u")return pt;c1&&(f=f.slice(0,-1*c1*2),_=_.slice(0,-1*c1),t=t.slice(0,-1*c1)),f.push(this.productions_[X[1]][0]),_.push(I1.$),t.push(I1._$),f.push(U1[f[f.length-2]][f[f.length-1]]);break;case 3:return!0}}return!0}};function lt(){this.yy={}}return ot.lexer={EOF:1,parseError:function(o,f){if(!this.yy.parser)throw new Error(o);this.yy.parser.parseError(o,f)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,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},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.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),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var n=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),f.length-1&&(this.yylineno-=f.length-1);var _=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:f?(f.length===n.length?this.yylloc.first_column:0)+n[n.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+o+"^"},test_match:function(a,o){var f,n,_;if(this.options.backtrack_lexer&&(_={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&&(_.yylloc.range=this.yylloc.range.slice(0))),(n=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],f=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var t in _)this[t]=_[t];return!1}return!1},next:function(){if(this.done)return this.EOF;var a,o,f,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),t=0;t<_.length;t++)if((f=this._input.match(this.rules[_[t]]))&&(!o||f[0].length>o[0].length)){if(o=f,n=t,this.options.backtrack_lexer){if(!1!==(a=this.test_match(f,_[t])))return a;if(this._backtrack){o=!1;continue}return!1}if(!this.options.flex)break}return o?!1!==(a=this.test_match(o,_[n]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return(o=this.conditionStack.length-1-Math.abs(o||0))>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,f,n,_){switch(n){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 8:case 11:case 14:case 17:case 27:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 12:return 93;case 13:return"MD_STR";case 15:this.begin("md_string");break;case 16:return"STR";case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 28:return 85;case 29:case 30:case 31:return o.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:case 35:case 36:case 37:return 95;case 38:return this.popState(),13;case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:case 95:return 108;case 55:return 44;case 56:return 58;case 57:case 96:return 42;case 58:return 8;case 59:return 103;case 60:case 94:return 112;case 61:case 64:case 67:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:case 66:case 69:return 116;case 65:return this.pushState("thickEdgeText"),73;case 68:return this.pushState("dottedEdgeText"),73;case 70:return 75;case 71:return this.popState(),51;case 72:case 108:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}},lt.prototype=ot,ot.Parser=lt,new lt}();rt.parser=rt;const Ce=rt;let j,Y1,dt=0,b1=(0,C.c)(),D={},W=[],g1={},q=[],M1={},G1={},K1=0,at=!0,j1=[];const z1=e=>C.e.sanitizeText(e,b1),N1=function(e){const u=Object.keys(D);for(const i of u)if(D[i].id===e)return D[i].domId;return e},Et=function(e,u,i,r,c,l,h={}){let M,F=e;void 0!==F&&0!==F.trim().length&&(void 0===D[F]&&(D[F]={id:F,labelType:"text",domId:"flowchart-"+F+"-"+dt,styles:[],classes:[]}),dt++,void 0!==u?(b1=(0,C.c)(),M=z1(u.text.trim()),D[F].labelType=u.type,'"'===M[0]&&'"'===M[M.length-1]&&(M=M.substring(1,M.length-1)),D[F].text=M):void 0===D[F].text&&(D[F].text=e),void 0!==i&&(D[F].type=i),r?.forEach(function(w){D[F].styles.push(w)}),c?.forEach(function(w){D[F].classes.push(w)}),void 0!==l&&(D[F].dir=l),void 0===D[F].props?D[F].props=h:void 0!==h&&Object.assign(D[F].props,h))},kt=function(e,u,i){const l={start:e,end:u,type:void 0,text:"",labelType:"text"};C.l.info("abc78 Got edge...",l);const h=i.text;if(void 0!==h&&(l.text=z1(h.text.trim()),'"'===l.text[0]&&'"'===l.text[l.text.length-1]&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),void 0!==i&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),l?.length>10&&(l.length=10),!(W.length<(b1.maxEdges??500)))throw new Error(`Edge limit exceeded. ${W.length} edges found, but the limit is ${b1.maxEdges}.\n\nInitialize mermaid with maxEdges set to a higher number to allow more edges.\nYou cannot set this config via configuration inside the diagram as it is a secure config.\nYou have to call mermaid.initialize.`);C.l.info("abc78 pushing edge..."),W.push(l)},bt=function(e,u,i){let r,c;for(C.l.info("addLink (abc78)",e,u,i),r=0;r=W.length)throw new Error(`The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${W.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===i?W.defaultStyle=u:(-1===C.u.isSubstringInArray("fill",u)&&u.push("fill:none"),W[i].style=u)})},Ft=function(e,u){e.split(",").forEach(function(i){void 0===g1[i]&&(g1[i]={id:i,styles:[],textStyles:[]}),u?.forEach(function(r){if(r.match("color")){const c=r.replace("fill","bgFill").replace("color","fill");g1[i].textStyles.push(c)}g1[i].styles.push(r)})})},Tt=function(e){j=e,j.match(/.*/)&&(j="LR"),j.match(/.*v/)&&(j="TB"),"TD"===j&&(j="TB")},X1=function(e,u){e.split(",").forEach(function(i){let r=i;void 0!==D[r]&&D[r].classes.push(u),void 0!==M1[r]&&M1[r].classes.push(u)})},_t=function(e,u,i){e.split(",").forEach(function(r){void 0!==D[r]&&(D[r].link=C.u.formatUrl(u,b1),D[r].linkTarget=i)}),X1(e,"clickable")},Ct=function(e){if(G1.hasOwnProperty(e))return G1[e]},St=function(e,u,i){e.split(",").forEach(function(r){!function(e,u,i){let r=N1(e);if("loose"!==(0,C.c)().securityLevel||void 0===u)return;let c=[];if("string"==typeof i){c=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),(0,R1.Ys)(this).classed("hover",!1)})};j1.push(Vt);const Lt=function(e="gen-1"){D={},g1={},W=[],j1=[Vt],q=[],M1={},K1=0,G1={},at=!0,Y1=e,b1=(0,C.c)(),(0,C.v)()},It=e=>{Y1=e||"gen-2"},Rt=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},Nt=function(e,u,i){let r=e.text.trim(),c=i.text;e===i&&i.text.match(/\s/)&&(r=void 0);let h=[];const{nodeList:M,dir:F}=function l(H){const l1={boolean:{},number:{},string:{}},A1=[];let d1;return{nodeList:H.filter(function(k){const h1=typeof k;return k.stmt&&"dir"===k.stmt?(d1=k.value,!1):""!==k.trim()&&(h1 in l1?!l1[h1].hasOwnProperty(k)&&(l1[h1][k]=!0):!A1.includes(k)&&A1.push(k))}),dir:d1}}(h.concat.apply(h,u));if(h=M,"gen-1"===Y1)for(let H=0;H2e3)return;if(Ot[O1]=u,q[u].id===e)return{result:!0,count:0};let r=0,c=1;for(;r=0){const h=wt(e,l);if(h.result)return{result:!0,count:c+h.count};c+=h.count}r+=1}return{result:!1,count:c}},Pt=function(e){return Ot[e]},Ut=function(){O1=-1,q.length>0&&wt("none",q.length-1)},Mt=function(){return q},Gt=()=>!!at&&(at=!1,!0),Kt=(e,u)=>{const i=(e=>{const u=e.trim();let i=u.slice(0,-1),r="arrow_open";switch(u.slice(-1)){case"x":r="arrow_cross","x"===u[0]&&(r="double_"+r,i=i.slice(1));break;case">":r="arrow_point","<"===u[0]&&(r="double_"+r,i=i.slice(1));break;case"o":r="arrow_circle","o"===u[0]&&(r="double_"+r,i=i.slice(1))}let c="normal",l=i.length-1;"="===i[0]&&(c="thick"),"~"===i[0]&&(c="invisible");let h=((e,u)=>{const i=u.length;let r=0;for(let c=0;c{let u=e.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1)}let r="normal";return u.includes("=")&&(r="thick"),u.includes(".")&&(r="dotted"),{type:i,stroke:r}})(u),r.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===r.type)r.type=i.type;else{if(r.type!==i.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return"double_arrow"===r.type&&(r.type="double_arrow_point"),r.length=i.length,r}return i},Yt=(e,u)=>{let i=!1;return e.forEach(r=>{r.nodes.indexOf(u)>=0&&(i=!0)}),i},jt=(e,u)=>{const i=[];return e.nodes.forEach((r,c)=>{Yt(u,r)||i.push(e.nodes[c])}),{nodes:i}},zt={firstGraph:Gt},Xt={defaultConfig:()=>C.K.flowchart,setAccTitle:C.s,getAccTitle:C.g,getAccDescription:C.a,setAccDescription:C.b,addVertex:Et,lookUpDomId:N1,addLink:bt,updateLinkInterpolate:gt,updateLink:Dt,addClass:Ft,setDirection:Tt,setClass:X1,setTooltip:function(e,u){e.split(",").forEach(function(i){void 0!==u&&(G1["gen-1"===Y1?N1(i):i]=z1(u))})},getTooltip:Ct,setClickEvent:St,setLink:_t,bindFunctions:Bt,getDirection:xt,getVertices:mt,getEdges:yt,getClasses:vt,clear:Lt,setGen:It,defaultStyle:Rt,addSubGraph:Nt,getDepthFirstPos:Pt,indexNodes:Ut,getSubGraphs:Mt,destructLink:Kt,lex:zt,exists:Yt,makeUniq:jt,setDiagramTitle:C.q,getDiagramTitle:C.t},Le=Object.freeze(Object.defineProperty({__proto__:null,addClass:Ft,addLink:bt,addSingleLink:kt,addSubGraph:Nt,addVertex:Et,bindFunctions:Bt,clear:Lt,default:Xt,defaultStyle:Rt,destructLink:Kt,firstGraph:Gt,getClasses:vt,getDepthFirstPos:Pt,getDirection:xt,getEdges:yt,getSubGraphs:Mt,getTooltip:Ct,getVertices:mt,indexNodes:Ut,lex:zt,lookUpDomId:N1,setClass:X1,setClickEvent:St,setDirection:Tt,setGen:It,setLink:_t,updateLink:Dt,updateLinkInterpolate:gt},Symbol.toStringTag,{value:"Module"}))}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js b/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js deleted file mode 100644 index bb1753c0213..00000000000 --- a/pkg/apiserver-impl/ui/905.32f9d8e99950acca.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[905],{1905:(xt,it,d)=>{d.r(it),d.d(it,{diagram:()=>dt});var y=d(855),at=d(4169),T=d(6012),$=d(5703),lt=d(1775),J=(d(2735),d(1764),d(6780),function(){var s=function(_,e,t,i){for(t=t||{},i=_.length;i--;t[_[i]]=e);return t},p=[1,4],A=[1,5],g=[1,6],V=[1,7],u=[1,9],E=[1,11,13,15,17,19,20,26,27,28,29],F=[2,5],S=[1,6,11,13,15,17,19,20,26,27,28,29],h=[26,27,28],W=[2,8],U=[1,18],D=[1,19],K=[1,20],z=[1,21],L=[1,22],N=[1,23],R=[1,28],b=[6,26,27,28,29],w={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(e,t,i,r,a,n,P){var c=n.length-1;switch(a){case 4:r.setShowData(!0);break;case 7:this.$=n[c-1];break;case 9:r.addSection(n[c-1],r.cleanupValue(n[c]));break;case 10:this.$=n[c].trim(),r.setDiagramTitle(this.$);break;case 11:this.$=n[c].trim(),r.setAccTitle(this.$);break;case 12:case 13:this.$=n[c].trim(),r.setAccDescription(this.$);break;case 14:r.addSection(n[c].substr(8)),this.$=n[c].substr(8);break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(n[c],"type_directive");break;case 23:n[c]=n[c].trim().replace(/'/g,'"'),r.parseDirective(n[c],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},{1:[3]},{3:10,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},{3:11,4:2,5:3,6:p,21:8,26:A,27:g,28:V,29:u},s(E,F,{7:12,8:[1,13]}),s(S,[2,18]),s(S,[2,19]),s(S,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},s(h,W,{21:8,9:16,10:17,5:24,1:[2,3],11:U,13:D,15:K,17:z,19:L,20:N,29:u}),s(E,F,{7:25}),{23:26,24:[1,27],32:R},s([24,32],[2,22]),s(E,[2,6]),{4:29,26:A,27:g,28:V},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},s(h,[2,13]),s(h,[2,14]),s(h,[2,15]),s(h,W,{21:8,9:16,10:17,5:24,1:[2,4],11:U,13:D,15:K,17:z,19:L,20:N,29:u}),s(b,[2,16]),{25:34,31:[1,35]},s(b,[2,24]),s(E,[2,7]),s(h,[2,9]),s(h,[2,10]),s(h,[2,11]),s(h,[2,12]),{23:36,32:R},{32:[2,23]},s(b,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var i=[0],r=[],a=[null],n=[],P=this.table,c="",Y=0,st=0,mt=n.slice.call(arguments,1),l=Object.create(this.lexer),I={yy:{}};for(var Z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Z)&&(I.yy[Z]=this.yy[Z]);l.setInput(e,I.yy),I.yy.lexer=l,I.yy.parser=this,typeof l.yylloc>"u"&&(l.yylloc={});var q=l.yylloc;n.push(q);var k,vt=l.options&&l.options.ranges;this.parseError="function"==typeof I.yy.parseError?I.yy.parseError:Object.getPrototypeOf(this).parseError;for(var o,O,f,tt,G,x,H,M={};;){if(this.defaultActions[O=i[i.length-1]]?f=this.defaultActions[O]:((null===o||typeof o>"u")&&(k=void 0,"number"!=typeof(k=r.pop()||l.lex()||1)&&(k instanceof Array&&(k=(r=k).pop()),k=this.symbols_[k]||k),o=k),f=P[O]&&P[O][o]),typeof f>"u"||!f.length||!f[0]){var et;for(G in H=[],P[O])this.terminals_[G]&&G>2&&H.push("'"+this.terminals_[G]+"'");et=l.showPosition?"Parse error on line "+(Y+1)+":\n"+l.showPosition()+"\nExpecting "+H.join(", ")+", got '"+(this.terminals_[o]||o)+"'":"Parse error on line "+(Y+1)+": Unexpected "+(1==o?"end of input":"'"+(this.terminals_[o]||o)+"'"),this.parseError(et,{text:l.match,token:this.terminals_[o]||o,line:l.yylineno,loc:q,expected:H})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+o);switch(f[0]){case 1:i.push(o),a.push(l.yytext),n.push(l.yylloc),i.push(f[1]),o=null,st=l.yyleng,c=l.yytext,Y=l.yylineno,q=l.yylloc;break;case 2:if(M.$=a[a.length-(x=this.productions_[f[1]][1])],M._$={first_line:n[n.length-(x||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(x||1)].first_column,last_column:n[n.length-1].last_column},vt&&(M._$.range=[n[n.length-(x||1)].range[0],n[n.length-1].range[1]]),typeof(tt=this.performAction.apply(M,[c,st,Y,I.yy,f[1],a,n].concat(mt)))<"u")return tt;x&&(i=i.slice(0,-1*x*2),a=a.slice(0,-1*x),n=n.slice(0,-1*x)),i.push(this.productions_[f[1]][0]),a.push(M.$),n.push(M._$),i.push(P[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function j(){this.yy={}}return w.lexer={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,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},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),i.length-1&&(this.yylineno-=i.length-1);var a=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;nt[0].length)){if(t=i,r=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,a[n])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,a[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,r,a){switch(r){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}},j.prototype=w,w.Parser=j,new j}());J.parser=J;const ct=J;let B={},Q=!1;const pt={parseDirective:function(s,p,A){at.m.parseDirective(this,s,p,A)},getConfig:()=>(0,y.g)().pie,addSection:function(s,p){s=y.d.sanitizeText(s,(0,y.g)()),void 0===B[s]&&(B[s]=p,y.l.debug("Added new section :",s))},getSections:()=>B,cleanupValue:function(s){return":"===s.substring(0,1)&&(s=s.substring(1).trim()),Number(s.trim())},clear:function(){B={},Q=!1,(0,T.f)()},setAccTitle:T.s,getAccTitle:T.g,setDiagramTitle:T.d,getDiagramTitle:T.e,setShowData:function(s){Q=s},getShowData:function(){return Q},getAccDescription:T.a,setAccDescription:T.b};let v,m=(0,y.g)();const dt={parser:ct,db:pt,renderer:{draw:(s,p,A,g)=>{try{m=(0,y.g)(),y.l.debug("Rendering info diagram\n"+s);const b=(0,y.g)().securityLevel;let w;"sandbox"===b&&(w=(0,$.Ys)("#i"+p));const X=(0,$.Ys)("sandbox"===b?w.nodes()[0].contentDocument.body:"body"),j="sandbox"===b?w.nodes()[0].contentDocument:document;g.db.clear(),g.parser.parse(s),y.l.debug("Parsed info diagram");const _=j.getElementById(p);v=_.parentElement.offsetWidth,void 0===v&&(v=1200),void 0!==m.useWidth&&(v=m.useWidth),void 0!==m.pie.useWidth&&(v=m.pie.useWidth);const e=X.select("#"+p);(0,lt.c)(e,450,v,m.pie.useMaxWidth),_.setAttribute("viewBox","0 0 "+v+" 450");var F=Math.min(v,450)/2-40,S=e.append("g").attr("transform","translate("+v/2+",225)"),h=g.db.getSections(),W=0;Object.keys(h).forEach(function(i){W+=h[i]});const t=m.themeVariables;var U=[t.pie1,t.pie2,t.pie3,t.pie4,t.pie5,t.pie6,t.pie7,t.pie8,t.pie9,t.pie10,t.pie11,t.pie12],D=(0,$.PKp)().range(U),K=Object.entries(h).map(function(i,r){return{order:r,name:i[0],value:i[1]}}),L=(0,$.ve8)().value(function(i){return i.value}).sort(function(i,r){return i.order-r.order})(K),N=(0,$.Nb1)().innerRadius(0).outerRadius(F);S.selectAll("mySlices").data(L).enter().append("path").attr("d",N).attr("fill",function(i){return D(i.data.name)}).attr("class","pieCircle"),S.selectAll("mySlices").data(L).enter().append("text").text(function(i){return(i.data.value/W*100).toFixed(0)+"%"}).attr("transform",function(i){return"translate("+N.centroid(i)+")"}).style("text-anchor","middle").attr("class","slice"),S.append("text").text(g.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var R=S.selectAll(".legend").data(D.domain()).enter().append("g").attr("class","legend").attr("transform",function(i,r){return"translate(216,"+(22*r-22*D.domain().length/2)+")"});R.append("rect").attr("width",18).attr("height",18).style("fill",D).style("stroke",D),R.data(L).append("text").attr("x",22).attr("y",14).text(function(i){return g.db.getShowData()||m.showData||m.pie.showData?i.data.name+" ["+i.data.value+"]":i.data.name})}catch(b){y.l.error("Error while rendering info diagram"),y.l.error(b)}}},styles:s=>`\n .pieCircle{\n stroke: ${s.pieStrokeColor};\n stroke-width : ${s.pieStrokeWidth};\n opacity : ${s.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${s.pieTitleTextSize};\n fill: ${s.pieTitleTextColor};\n font-family: ${s.fontFamily};\n }\n .slice {\n font-family: ${s.fontFamily};\n fill: ${s.pieSectionTextColor};\n font-size:${s.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${s.pieLegendTextColor};\n font-family: ${s.fontFamily};\n font-size: ${s.pieLegendTextSize};\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/911.f351650d584d08a4.js b/pkg/apiserver-impl/ui/911.f351650d584d08a4.js deleted file mode 100644 index a07660fecac..00000000000 --- a/pkg/apiserver-impl/ui/911.f351650d584d08a4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[911],{2911:(be,zt,w)=>{w.d(zt,{D:()=>At,S:()=>pt,a:()=>j,b:()=>Lt,c:()=>M,d:()=>ge,e:()=>Xt,p:()=>Ht,s:()=>me});var _=w(855),Kt=w(9111),Wt=w(4169),C=w(6012),ft=function(){var t=function(x,r,a,i){for(a=a||{},i=x.length;i--;a[x[i]]=r);return a},s=[1,2],n=[1,3],h=[1,5],u=[1,7],f=[2,5],p=[1,15],D=[1,17],d=[1,21],E=[1,22],k=[1,23],H=[1,24],$=[1,37],X=[1,25],J=[1,26],Q=[1,27],Z=[1,28],q=[1,29],tt=[1,32],et=[1,33],st=[1,34],it=[1,35],rt=[1,36],nt=[1,39],at=[1,40],ct=[1,41],lt=[1,42],F=[1,38],Mt=[1,45],o=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ot=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Tt=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],jt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],kt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement: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,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"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:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(r,a,i,l,y,e,Y){var c=e.length-1;switch(y){case 4:return l.setRootDoc(e[c]),e[c];case 5:this.$=[];break;case 6:"nl"!=e[c]&&(e[c-1].push(e[c]),this.$=e[c-1]);break;case 7:case 8:case 12:this.$=e[c];break;case 9:this.$="nl";break;case 13:const G=e[c-1];G.description=l.trimColon(e[c]),this.$=G;break;case 14:this.$={stmt:"relation",state1:e[c-2],state2:e[c]};break;case 15:const bt=l.trimColon(e[c]);this.$={stmt:"relation",state1:e[c-3],state2:e[c-1],description:bt};break;case 19:this.$={stmt:"state",id:e[c-3],type:"default",description:"",doc:e[c-1]};break;case 20:var L=e[c],R=e[c-2].trim();if(e[c].match(":")){var ht=e[c].split(":");L=ht[0],R=[R,ht[1]]}this.$={stmt:"state",id:L,type:"default",description:R};break;case 21:this.$={stmt:"state",id:e[c-3],type:"default",description:e[c-5],doc:e[c-1]};break;case 22:this.$={stmt:"state",id:e[c],type:"fork"};break;case 23:this.$={stmt:"state",id:e[c],type:"join"};break;case 24:this.$={stmt:"state",id:e[c],type:"choice"};break;case 25:this.$={stmt:"state",id:l.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:e[c-1].trim(),note:{position:e[c-2].trim(),text:e[c].trim()}};break;case 30:this.$=e[c].trim(),l.setAccTitle(this.$);break;case 31:case 32:this.$=e[c].trim(),l.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:e[c-1].trim(),classes:e[c].trim()};break;case 35:this.$={stmt:"applyClass",id:e[c-1].trim(),styleClass:e[c].trim()};break;case 38:l.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:l.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:l.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:l.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:e[c].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 50:l.parseDirective("%%{","open_directive");break;case 51:l.parseDirective(e[c],"type_directive");break;case 52:e[c]=e[c].trim().replace(/'/g,'"'),l.parseDirective(e[c],"arg_directive");break;case 53:l.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:s,5:n,6:4,7:h,45:6,60:u},{1:[3]},{3:8,4:s,5:n,6:4,7:h,45:6,60:u},{3:9,4:s,5:n,6:4,7:h,45:6,60:u},{3:10,4:s,5:n,6:4,7:h,45:6,60:u},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],f,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},{47:43,48:[1,44],63:Mt},t([48,63],[2,51]),t(o,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:d,17:E,19:k,22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,8]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12],{14:[1,47],15:[1,48]}),t(o,[2,16]),{18:[1,49]},t(o,[2,18],{20:[1,50]}),{23:[1,51]},t(o,[2,22]),t(o,[2,23]),t(o,[2,24]),t(o,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(o,[2,28]),t(o,[2,29]),{34:[1,56]},{36:[1,57]},t(o,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(ot,[2,44],{57:[1,61]}),t(ot,[2,45],{57:[1,62]}),t(o,[2,38]),t(o,[2,39]),t(o,[2,40]),t(o,[2,41]),t(Tt,[2,36]),{49:63,62:[1,64]},t(Tt,[2,53]),t(o,[2,7]),t(o,[2,13]),{13:65,24:$,56:F},t(o,[2,17]),t(jt,f,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(o,[2,30]),t(o,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:Mt},{63:[2,52]},t(o,[2,14],{14:[1,76]}),{4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,21:[1,77],22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(o,[2,33]),t(o,[2,34]),t(o,[2,35]),t(ot,[2,46]),t(ot,[2,47]),t(Tt,[2,37]),t(o,[2,15]),t(o,[2,19]),t(jt,f,{8:81}),t(o,[2,26]),t(o,[2,27]),{4:p,5:D,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:E,19:k,21:[1,82],22:H,24:$,25:X,26:J,27:Q,28:Z,29:q,32:31,33:tt,35:et,37:st,38:it,42:rt,45:6,50:nt,51:at,52:ct,53:lt,56:F,60:u},t(o,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(r,a){if(!a.recoverable){var i=new Error(r);throw i.hash=a,i}this.trace(r)},parse:function(r){var i=[0],l=[],y=[null],e=[],Y=this.table,c="",L=0,R=0,bt=e.slice.call(arguments,1),S=Object.create(this.lexer),I={yy:{}};for(var vt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,vt)&&(I.yy[vt]=this.yy[vt]);S.setInput(r,I.yy),I.yy.lexer=S,I.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Dt=S.yylloc;e.push(Dt);var v,ke=S.options&&S.options.ranges;this.parseError="function"==typeof I.yy.parseError?I.yy.parseError:Object.getPrototypeOf(this).parseError;for(var m,O,T,xt,ut,b,dt,N={};;){if(this.defaultActions[O=i[i.length-1]]?T=this.defaultActions[O]:((null===m||typeof m>"u")&&(v=void 0,"number"!=typeof(v=l.pop()||S.lex()||1)&&(v instanceof Array&&(v=(l=v).pop()),v=this.symbols_[v]||v),m=v),T=Y[O]&&Y[O][m]),typeof T>"u"||!T.length||!T[0]){var Ct;for(ut in dt=[],Y[O])this.terminals_[ut]&&ut>2&&dt.push("'"+this.terminals_[ut]+"'");Ct=S.showPosition?"Parse error on line "+(L+1)+":\n"+S.showPosition()+"\nExpecting "+dt.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(L+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Ct,{text:S.match,token:this.terminals_[m]||m,line:S.yylineno,loc:Dt,expected:dt})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+m);switch(T[0]){case 1:i.push(m),y.push(S.yytext),e.push(S.yylloc),i.push(T[1]),m=null,R=S.yyleng,c=S.yytext,L=S.yylineno,Dt=S.yylloc;break;case 2:if(N.$=y[y.length-(b=this.productions_[T[1]][1])],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},ke&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),typeof(xt=this.performAction.apply(N,[c,R,L,I.yy,T[1],y,e].concat(bt)))<"u")return xt;b&&(i=i.slice(0,-1*b*2),y=y.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[T[1]][0]),y.push(N.$),e.push(N._$),i.push(Y[i[i.length-2]][i[i.length-1]]);break;case 3:return!0}}return!0}};function Et(){this.yy={}}return kt.lexer={EOF:1,parseError:function(a,i){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,i)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,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},input:function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.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),r},unput:function(r){var a=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var l=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),i.length-1&&(this.yylineno-=i.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:i?(i.length===l.length?this.yylloc.first_column:0)+l[l.length-i.length].length-i[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},more:function(){return this._more=!0,this},reject: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})},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+"\n"+a+"^"},test_match:function(r,a){var i,l,y;if(this.options.backtrack_lexer&&(y={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&&(y.yylloc.range=this.yylloc.range.slice(0))),(l=r[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,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(r[0].length),this.matched+=r[0],i=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var e in y)this[e]=y[e];return!1}return!1},next:function(){if(this.done)return this.EOF;var r,a,i,l;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),e=0;ea[0].length)){if(a=i,l=e,this.options.backtrack_lexer){if(!1!==(r=this.test_match(i,y[e])))return r;if(this._backtrack){a=!1;continue}return!1}if(!this.options.flex)break}return a?!1!==(r=this.test_match(a,y[l]))&&r:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,i,l,y){switch(l){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),i.yytext=i.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),i.yytext=i.yytext.substr(2).trim(),31;case 69:return this.popState(),i.yytext=i.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return i.yytext=i.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/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:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}},Et.prototype=kt,kt.Parser=Et,new Et}();ft.parser=ft;const Ht=ft,At="LR",Xt="TB",M="state",pt="relation",j="default",Lt="divider",yt="[*]",It="start",Ot=yt;let Pt=At,U=[],B={},z={root:{relations:[],states:{},documents:{}}},g=z.root,P=0,$t=0;const K=t=>JSON.parse(JSON.stringify(t)),W=(t,s,n)=>{if(s.stmt===pt)W(t,s.state1,!0),W(t,s.state2,!1);else if(s.stmt===M&&("[*]"===s.id?(s.id=n?t.id+"_start":t.id+"_end",s.start=n):s.id=s.id.trim()),s.doc){const h=[];let f,u=[];for(f=0;f0&&u.length>0){const p={stmt:M,id:(0,Kt.v)(),type:"divider",doc:K(u)};h.push(K(p)),s.doc=h}s.doc.forEach(p=>W(s,p,!0))}},A=function(t,s=j,n=null,h=null,u=null,f=null,p=null,D=null){const d=t?.trim();void 0===g.states[d]?(_.l.info("Adding state ",d,h),g.states[d]={id:d,descriptions:[],type:s,doc:n,note:u,classes:[],styles:[],textStyles:[]}):(g.states[d].doc||(g.states[d].doc=n),g.states[d].type||(g.states[d].type=s)),h&&(_.l.info("Setting state description",d,h),"string"==typeof h&>(d,h.trim()),"object"==typeof h&&h.forEach(E=>gt(d,E.trim()))),u&&(g.states[d].note=u,g.states[d].note.text=_.d.sanitizeText(g.states[d].note.text,(0,_.g)())),f&&(_.l.info("Setting state classes",d,f),("string"==typeof f?[f]:f).forEach(k=>mt(d,k.trim()))),p&&(_.l.info("Setting state styles",d,p),("string"==typeof p?[p]:p).forEach(k=>_e(d,k.trim()))),D&&(_.l.info("Setting state styles",d,p),("string"==typeof D?[D]:D).forEach(k=>Se(d,k.trim())))},Ft=function(t){z={root:{relations:[],states:{},documents:{}}},g=z.root,P=0,B={},t||(0,C.f)()},V=function(t){return g.states[t]};function _t(t=""){let s=t;return t===yt&&(P++,s=`${It}${P}`),s}function St(t="",s=j){return t===yt?It:s}const Yt=function(t,s,n){if("object"==typeof t)!function de(t,s,n){let h=_t(t.id.trim()),u=St(t.id.trim(),t.type),f=_t(s.id.trim()),p=St(s.id.trim(),s.type);A(h,u,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),A(f,p,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),g.relations.push({id1:h,id2:f,relationTitle:_.d.sanitizeText(n,(0,_.g)())})}(t,s,n);else{const h=_t(t.trim()),u=St(t),f=function he(t=""){let s=t;return t===Ot&&(P++,s=`end${P}`),s}(s.trim()),p=function ue(t="",s=j){return t===Ot?"end":s}(s);A(h,u),A(f,p),g.relations.push({id1:h,id2:f,title:_.d.sanitizeText(n,(0,_.g)())})}},gt=function(t,s){const n=g.states[t],h=s.startsWith(":")?s.replace(":","").trim():s;n.descriptions.push(_.d.sanitizeText(h,(0,_.g)()))},Gt=function(t,s=""){void 0===B[t]&&(B[t]={id:t,styles:[],textStyles:[]});const n=B[t];s?.split(",").forEach(h=>{const u=h.replace(/([^;]*);/,"$1").trim();if(h.match("color")){const p=u.replace("fill","bgFill").replace("color","fill");n.textStyles.push(p)}n.styles.push(u)})},mt=function(t,s){t.split(",").forEach(function(n){let h=V(n);if(void 0===h){const u=n.trim();A(u),h=V(u)}h.classes.push(s)})},_e=function(t,s){const n=V(t);void 0!==n&&n.textStyles.push(s)},Se=function(t,s){const n=V(t);void 0!==n&&n.textStyles.push(s)},ge={parseDirective:function(t,s,n){Wt.m.parseDirective(this,t,s,n)},getConfig:()=>(0,_.g)().state,addState:A,clear:Ft,getState:V,getStates:function(){return g.states},getRelations:function(){return g.relations},getClasses:function(){return B},getDirection:()=>Pt,addRelation:Yt,getDividerId:()=>($t++,"divider-id-"+$t),setDirection:t=>{Pt=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){_.l.info("Documents = ",z)},getRootDoc:()=>U,setRootDoc:t=>{_.l.info("Setting root doc",t),U=t},getRootDocV2:()=>(W({id:"root"},{id:"root",doc:U},!0),{id:"root",doc:U}),extract:t=>{let s;s=t.doc?t.doc:t,_.l.info(s),Ft(!0),_.l.info("Extract",s),s.forEach(n=>{switch(n.stmt){case M:A(n.id.trim(),n.type,n.doc,n.description,n.note,n.classes,n.styles,n.textStyles);break;case pt:Yt(n.state1,n.state2,n.description);break;case"classDef":Gt(n.id.trim(),n.classes);break;case"applyClass":mt(n.id.trim(),n.styleClass)}})},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:C.g,setAccTitle:C.s,getAccDescription:C.a,setAccDescription:C.b,addStyleClass:Gt,setCssClass:mt,addDescription:gt,setDiagramTitle:C.d,getDiagramTitle:C.e},me=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 .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}\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`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/917.1b3eb8f93ae99c79.js b/pkg/apiserver-impl/ui/917.1b3eb8f93ae99c79.js new file mode 100644 index 00000000000..5a782f3f47a --- /dev/null +++ b/pkg/apiserver-impl/ui/917.1b3eb8f93ae99c79.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[917],{7917:(Jt,at,j)=>{j.r(at),j.d(at,{diagram:()=>Zt});var M=j(9037),V=j(8586);function ct(t,n){let i;if(void 0===n)for(const l of t)null!=l&&(i>l||void 0===i&&l>=l)&&(i=l);else{let l=-1;for(let a of t)null!=(a=n(a,++l,t))&&(i>a||void 0===i&&a>=a)&&(i=a)}return i}function _t(t){return t.target.depth}function ut(t,n){return t.sourceLinks.length?t.depth:n-1}function q(t,n){let i=0;if(void 0===n)for(let l of t)(l=+l)&&(i+=l);else{let l=-1;for(let a of t)(a=+n(a,++l,t))&&(i+=a)}return i}function ht(t,n){let i;if(void 0===n)for(const l of t)null!=l&&(i=l)&&(i=l);else{let l=-1;for(let a of t)null!=(a=n(a,++l,t))&&(i=a)&&(i=a)}return i}function H(t){return function(){return t}}function ft(t,n){return X(t.source,n.source)||t.index-n.index}function yt(t,n){return X(t.target,n.target)||t.index-n.index}function X(t,n){return t.y0-n.y0}function tt(t){return t.value}function St(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function dt(t,n){const i=t.get(n);if(!i)throw new Error("missing: "+n);return i}function gt({nodes:t}){for(const n of t){let i=n.y0,l=i;for(const a of n.sourceLinks)a.y0=i+a.width/2,i+=a.width;for(const a of n.targetLinks)a.y1=l+a.width/2,l+=a.width}}var et=Math.PI,nt=2*et,D=1e-6,Tt=nt-D;function it(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new it}it.prototype=pt.prototype={constructor:it,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,i,l){this._+="Q"+ +t+","+ +n+","+(this._x1=+i)+","+(this._y1=+l)},bezierCurveTo:function(t,n,i,l,a,m){this._+="C"+ +t+","+ +n+","+ +i+","+ +l+","+(this._x1=+a)+","+(this._y1=+m)},arcTo:function(t,n,i,l,a){var m=this._x1,y=this._y1,p=(i=+i)-(t=+t),s=(l=+l)-(n=+n),o=m-t,u=y-n,k=o*o+u*u;if((a=+a)<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(k>D)if(Math.abs(u*p-s*o)>D&&a){var b=i-m,d=l-y,_=p*p+s*s,E=b*b+d*d,L=Math.sqrt(_),A=Math.sqrt(k),C=a*Math.tan((et-Math.acos((_+k-E)/(2*L*A)))/2),P=C/A,R=C/L;Math.abs(P-1)>D&&(this._+="L"+(t+P*o)+","+(n+P*u)),this._+="A"+a+","+a+",0,0,"+ +(u*b>o*d)+","+(this._x1=t+R*p)+","+(this._y1=n+R*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,i,l,a,m){t=+t,n=+n,m=!!m;var y=(i=+i)*Math.cos(l),p=i*Math.sin(l),s=t+y,o=n+p,u=1^m,k=m?l-a:a-l;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+s+","+o:(Math.abs(this._x1-s)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+s+","+o),i&&(k<0&&(k=k%nt+nt),k>Tt?this._+="A"+i+","+i+",0,1,"+u+","+(t-y)+","+(n-p)+"A"+i+","+i+",0,1,"+u+","+(this._x1=s)+","+(this._y1=o):k>D&&(this._+="A"+i+","+i+",0,"+ +(k>=et)+","+u+","+(this._x1=t+i*Math.cos(a))+","+(this._y1=n+i*Math.sin(a))))},rect:function(t,n,i,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +i+"v"+ +l+"h"+-i+"Z"},toString:function(){return this._}};const Mt=pt;var Nt=Array.prototype.slice;function mt(t){return function(){return t}}function Ct(t){return t[0]}function Pt(t){return t[1]}function It(t){return t.source}function Ot(t){return t.target}function zt(t,n,i,l,a){t.moveTo(n,i),t.bezierCurveTo(n=(n+l)/2,i,n,a,l,a)}function Rt(t){return[t.source.x1,t.y0]}function Bt(t){return[t.target.x0,t.y1]}function Vt(){return function Dt(){return function st(t){var n=It,i=Ot,l=Ct,a=Pt,m=null;function y(){var p,s=Nt.call(arguments),o=n.apply(this,s),u=i.apply(this,s);if(m||(m=p=Mt()),t(m,+l.apply(this,(s[0]=o,s)),+a.apply(this,s),+l.apply(this,(s[0]=u,s)),+a.apply(this,s)),p)return m=null,p+""||null}return y.source=function(p){return arguments.length?(n=p,y):n},y.target=function(p){return arguments.length?(i=p,y):i},y.x=function(p){return arguments.length?(l="function"==typeof p?p:mt(+p),y):l},y.y=function(p){return arguments.length?(a="function"==typeof p?p:mt(+p),y):a},y.context=function(p){return arguments.length?(m=p??null,y):m},y}(zt)}().source(Rt).target(Bt)}j(1764),j(6780),j(2735);var rt=function(){var t=function(p,s,o,u){for(o=o||{},u=p.length;u--;o[p[u]]=s);return o},n=[1,9],i=[1,10],l=[1,5,10,12],a={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(s,o,u,k,b,d,_){var E=d.length-1;switch(b){case 7:const L=k.findOrCreateNode(d[E-4].trim().replaceAll('""','"')),A=k.findOrCreateNode(d[E-2].trim().replaceAll('""','"')),C=parseFloat(d[E].trim());k.addLink(L,A,C);break;case 8:case 9:case 11:this.$=d[E];break;case 10:this.$=d[E-1]}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:i},{15:18,16:7,17:8,18:n,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:n,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(s,o){if(!o.recoverable){var u=new Error(s);throw u.hash=o,u}this.trace(s)},parse:function(s){var u=[0],k=[],b=[null],d=[],_=this.table,E="",L=0,A=0,R=d.slice.call(arguments,1),S=Object.create(this.lexer),N={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(N.yy[$]=this.yy[$]);S.setInput(s,N.yy),N.yy.lexer=S,N.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var I=S.yylloc;d.push(I);var v,O=S.options&&S.options.ranges;this.parseError="function"==typeof N.yy.parseError?N.yy.parseError:Object.getPrototypeOf(this).parseError;for(var w,z,T,Y,f,c,r,e={};;){if(this.defaultActions[z=u[u.length-1]]?T=this.defaultActions[z]:((null===w||typeof w>"u")&&(v=void 0,"number"!=typeof(v=k.pop()||S.lex()||1)&&(v instanceof Array&&(v=(k=v).pop()),v=this.symbols_[v]||v),w=v),T=_[z]&&_[z][w]),typeof T>"u"||!T.length||!T[0]){var x;for(f in r=[],_[z])this.terminals_[f]&&f>2&&r.push("'"+this.terminals_[f]+"'");x=S.showPosition?"Parse error on line "+(L+1)+":\n"+S.showPosition()+"\nExpecting "+r.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(L+1)+": Unexpected "+(1==w?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(x,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:I,expected:r})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+w);switch(T[0]){case 1:u.push(w),b.push(S.yytext),d.push(S.yylloc),u.push(T[1]),w=null,A=S.yyleng,E=S.yytext,L=S.yylineno,I=S.yylloc;break;case 2:if(e.$=b[b.length-(c=this.productions_[T[1]][1])],e._$={first_line:d[d.length-(c||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(c||1)].first_column,last_column:d[d.length-1].last_column},O&&(e._$.range=[d[d.length-(c||1)].range[0],d[d.length-1].range[1]]),typeof(Y=this.performAction.apply(e,[E,A,L,N.yy,T[1],b,d].concat(R)))<"u")return Y;c&&(u=u.slice(0,-1*c*2),b=b.slice(0,-1*c),d=d.slice(0,-1*c)),u.push(this.productions_[T[1]][0]),b.push(e.$),d.push(e._$),u.push(_[u[u.length-2]][u[u.length-1]]);break;case 3:return!0}}return!0}};function y(){this.yy={}}return a.lexer={EOF:1,parseError:function(o,u){if(!this.yy.parser)throw new Error(o);this.yy.parser.parseError(o,u)},setInput:function(s,o){return this.yy=o||this.yy||{},this._input=s,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},input:function(){var s=this._input[0];return this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s,s.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),s},unput:function(s){var o=s.length,u=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var k=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),u.length-1&&(this.yylineno-=u.length-1);var b=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:u?(u.length===k.length?this.yylloc.first_column:0)+k[k.length-u.length].length-u[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+"\n"+o+"^"},test_match:function(s,o){var u,k,b;if(this.options.backtrack_lexer&&(b={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&&(b.yylloc.range=this.yylloc.range.slice(0))),(k=s[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=k.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],u=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack){for(var d in b)this[d]=b[d];return!1}return!1},next:function(){if(this.done)return this.EOF;var s,o,u,k;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),d=0;do[0].length)){if(o=u,k=d,this.options.backtrack_lexer){if(!1!==(s=this.test_match(u,b[d])))return s;if(this._backtrack){o=!1;continue}return!1}if(!this.options.flex)break}return o?!1!==(s=this.test_match(o,b[k]))&&s:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return(o=this.conditionStack.length-1-Math.abs(o||0))>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(o,u,k,b){switch(k){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}},y.prototype=a,a.Parser=y,new y}();rt.parser=rt;const Q=rt;let Z=[],J=[],U={};class Yt{constructor(n,i,l=0){this.source=n,this.target=i,this.value=l}}class Wt{constructor(n){this.ID=n}}const Gt={nodesMap:U,getConfig:()=>(0,M.c)().sankey,getNodes:()=>J,getLinks:()=>Z,getGraph:()=>({nodes:J.map(t=>({id:t.ID})),links:Z.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),addLink:(t,n,i)=>{Z.push(new Yt(t,n,i))},findOrCreateNode:t=>(t=M.e.sanitizeText(t,(0,M.c)()),U[t]||(U[t]=new Wt(t),J.push(U[t])),U[t]),getAccTitle:M.g,setAccTitle:M.s,getAccDescription:M.a,setAccDescription:M.b,getDiagramTitle:M.t,setDiagramTitle:M.q,clear:()=>{Z=[],J=[],U={},(0,M.v)()}},kt=class lt{static next(n){return new lt(n+ ++lt.count)}constructor(n){this.id=n,this.href=`#${n}`}toString(){return"url("+this.href+")"}};kt.count=0;let xt=kt;const Kt={left:function vt(t){return t.depth},right:function bt(t,n){return n-1-t.height},center:function wt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?ct(t.sourceLinks,_t)-1:0},justify:ut},Ht={draw:function(t,n,i,l){const{securityLevel:a,sankey:m}=(0,M.c)(),y=M.K.sankey;let p;"sandbox"===a&&(p=(0,V.Ys)("#i"+n));const s=(0,V.Ys)("sandbox"===a?p.nodes()[0].contentDocument.body:"body"),o="sandbox"===a?s.select(`[id="${n}"]`):(0,V.Ys)(`[id="${n}"]`),u=m?.width??y.width,k=m?.height??y.width,b=m?.useMaxWidth??y.useMaxWidth,d=m?.nodeAlignment??y.nodeAlignment,_=m?.prefix??y.prefix,E=m?.suffix??y.suffix,L=m?.showValues??y.showValues,A=l.db.getGraph(),C=Kt[d];(function At(){let y,o,u,t=0,n=0,i=1,l=1,a=24,m=8,p=St,s=ut,k=Lt,b=Et,d=6;function _(){const e={nodes:k.apply(null,arguments),links:b.apply(null,arguments)};return function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const c=new Map(e.map((h,r)=>[p(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:x,target:v}=r;"object"!=typeof x&&(x=r.source=dt(c,x)),"object"!=typeof v&&(v=r.target=dt(c,v)),x.sourceLinks.push(r),v.targetLinks.push(r)}if(null!=u)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(u),r.sort(u)}(e),function L({nodes:e}){for(const f of e)f.value=void 0===f.fixedValue?Math.max(q(f.sourceLinks,tt),q(f.targetLinks,tt)):f.fixedValue}(e),function A({nodes:e}){const f=e.length;let c=new Set(e),h=new Set,r=0;for(;c.size;){for(const x of c){x.depth=r;for(const{target:v}of x.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");c=h,h=new Set}}(e),function C({nodes:e}){const f=e.length;let c=new Set(e),h=new Set,r=0;for(;c.size;){for(const x of c){x.height=r;for(const{source:v}of x.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");c=h,h=new Set}}(e),function S(e){const f=function P({nodes:e}){const f=ht(e,r=>r.depth)+1,c=(i-t-a)/(f-1),h=new Array(f);for(const r of e){const x=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=x,r.x0=t+x*c,r.x1=r.x0+a,h[x]?h[x].push(r):h[x]=[r]}if(o)for(const r of h)r.sort(o);return h}(e);y=Math.min(m,(l-n)/(ht(f,c=>c.length)-1)),function R(e){const f=ct(e,c=>(l-n-(c.length-1)*y)/q(c,tt));for(const c of e){let h=n;for(const r of c){r.y0=h,r.y1=h+r.value*f,h=r.y1+y;for(const x of r.sourceLinks)x.width=x.value*f}h=(l-h+y)/(c.length+1);for(let r=0;r0))continue;let W=(F/B-v.y0)*f;v.y0+=W,v.y1+=W,w(v)}void 0===o&&x.sort(X),I(x,c)}}function $(e,f,c){for(let r=e.length-2;r>=0;--r){const x=e[r];for(const v of x){let F=0,B=0;for(const{target:G,value:ot}of v.sourceLinks){let K=ot*(G.layer-v.layer);F+=Y(v,G)*K,B+=K}if(!(B>0))continue;let W=(F/B-v.y0)*f;v.y0+=W,v.y1+=W,w(v)}void 0===o&&x.sort(X),I(x,c)}}function I(e,f){const c=e.length>>1,h=e[c];g(e,h.y0-y,c-1,f),O(e,h.y1+y,c+1,f),g(e,l,e.length-1,f),O(e,n,0,f)}function O(e,f,c,h){for(;c1e-6&&(r.y0+=x,r.y1+=x),f=r.y1+y}}function g(e,f,c,h){for(;c>=0;--c){const r=e[c],x=(r.y1-f)*h;x>1e-6&&(r.y0-=x,r.y1-=x),f=r.y0-y}}function w({sourceLinks:e,targetLinks:f}){if(void 0===u){for(const{source:{sourceLinks:c}}of f)c.sort(yt);for(const{target:{targetLinks:c}}of e)c.sort(ft)}}function z(e){if(void 0===u)for(const{sourceLinks:f,targetLinks:c}of e)f.sort(yt),c.sort(ft)}function T(e,f){let c=e.y0-(e.sourceLinks.length-1)*y/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;c+=r+y}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;c-=r}return c}function Y(e,f){let c=f.y0-(f.targetLinks.length-1)*y/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;c+=r+y}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;c-=r}return c}return _.update=function(e){return gt(e),e},_.nodeId=function(e){return arguments.length?(p="function"==typeof e?e:H(e),_):p},_.nodeAlign=function(e){return arguments.length?(s="function"==typeof e?e:H(e),_):s},_.nodeSort=function(e){return arguments.length?(o=e,_):o},_.nodeWidth=function(e){return arguments.length?(a=+e,_):a},_.nodePadding=function(e){return arguments.length?(m=y=+e,_):m},_.nodes=function(e){return arguments.length?(k="function"==typeof e?e:H(e),_):k},_.links=function(e){return arguments.length?(b="function"==typeof e?e:H(e),_):b},_.linkSort=function(e){return arguments.length?(u=e,_):u},_.size=function(e){return arguments.length?(t=n=0,i=+e[0],l=+e[1],_):[i-t,l-n]},_.extent=function(e){return arguments.length?(t=+e[0][0],i=+e[1][0],n=+e[0][1],l=+e[1][1],_):[[t,n],[i,l]]},_.iterations=function(e){return arguments.length?(d=+e,_):d},_})().nodeId(g=>g.id).nodeWidth(10).nodePadding(10+(L?15:0)).nodeAlign(C).extent([[0,0],[u,k]])(A);const S=(0,V.PKp)(V.K2I);o.append("g").attr("class","nodes").selectAll(".node").data(A.nodes).join("g").attr("class","node").attr("id",g=>(g.uid=xt.next("node-")).id).attr("transform",function(g){return"translate("+g.x0+","+g.y0+")"}).attr("x",g=>g.x0).attr("y",g=>g.y0).append("rect").attr("height",g=>g.y1-g.y0).attr("width",g=>g.x1-g.x0).attr("fill",g=>S(g.id)),o.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(A.nodes).join("text").attr("x",g=>g.x0(g.y1+g.y0)/2).attr("dy",(L?"0":"0.35")+"em").attr("text-anchor",g=>g.x0L?`${g}\n${_}${Math.round(100*w)/100}${E}`:g);const $=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(A.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),I=m?.linkColor||"gradient";if("gradient"===I){const g=$.append("linearGradient").attr("id",w=>(w.uid=xt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",w=>w.source.x1).attr("x2",w=>w.target.x0);g.append("stop").attr("offset","0%").attr("stop-color",w=>S(w.source.id)),g.append("stop").attr("offset","100%").attr("stop-color",w=>S(w.target.id))}let O;switch(I){case"gradient":O=g=>g.uid;break;case"source":O=g=>S(g.source.id);break;case"target":O=g=>S(g.target.id);break;default:O=I}$.append("path").attr("d",Vt()).attr("stroke",O).attr("stroke-width",g=>Math.max(1,g.width)),(0,M.o)(void 0,o,0,b)}},Qt=Q.parse.bind(Q);Q.parse=t=>Qt((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim())(t));const Zt={parser:Q,db:Gt,renderer:Ht}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/919.c655383a313f29b4.js b/pkg/apiserver-impl/ui/919.c655383a313f29b4.js new file mode 100644 index 00000000000..34a31a453a9 --- /dev/null +++ b/pkg/apiserver-impl/ui/919.c655383a313f29b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[919],{6919:(W,D,f)=>{f.r(D),f.d(D,{diagram:()=>C});var S=f(9037),O=(f(1764),f(6780),f(8586),f(2735),function(){var a=function(u,t,e,n){for(e=e||{},n=u.length;n--;e[u[n]]=t);return e},p=[6,9,10],m={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(r){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},a(p,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},a(p,[2,3]),a(p,[2,4]),a(p,[2,5]),a(p,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var n=[0],s=[],r=[null],i=[],k=this.table,R="",b=0,$=0,B=i.slice.call(arguments,1),o=Object.create(this.lexer),g={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(g.yy[A]=this.yy[A]);o.setInput(t,g.yy),g.yy.lexer=o,g.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var P=o.yylloc;i.push(P);var y,z=o.options&&o.options.ranges;this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var l,_,h,L,E,c,I,d={};;){if(this.defaultActions[_=n[n.length-1]]?h=this.defaultActions[_]:((null===l||typeof l>"u")&&(y=void 0,"number"!=typeof(y=s.pop()||o.lex()||1)&&(y instanceof Array&&(y=(s=y).pop()),y=this.symbols_[y]||y),l=y),h=k[_]&&k[_][l]),typeof h>"u"||!h.length||!h[0]){var T;for(E in I=[],k[_])this.terminals_[E]&&E>2&&I.push("'"+this.terminals_[E]+"'");T=o.showPosition?"Parse error on line "+(b+1)+":\n"+o.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[l]||l)+"'":"Parse error on line "+(b+1)+": Unexpected "+(1==l?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(T,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:P,expected:I})}if(h[0]instanceof Array&&h.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+l);switch(h[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(h[1]),l=null,$=o.yyleng,R=o.yytext,b=o.yylineno,P=o.yylloc;break;case 2:if(d.$=r[r.length-(c=this.productions_[h[1]][1])],d._$={first_line:i[i.length-(c||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(c||1)].first_column,last_column:i[i.length-1].last_column},z&&(d._$.range=[i[i.length-(c||1)].range[0],i[i.length-1].range[1]]),typeof(L=this.performAction.apply(d,[R,$,b,g.yy,h[1],r,i].concat(B)))<"u")return L;c&&(n=n.slice(0,-1*c*2),r=r.slice(0,-1*c),i=i.slice(0,-1*c)),n.push(this.productions_[h[1]][0]),r.push(d.$),i.push(d._$),n.push(k[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function x(){this.yy={}}return m.lexer={EOF:1,parseError:function(e,n){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,n)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=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 r=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===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,s,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in r)this[i]=r[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),i=0;ie[0].length)){if(e=n,s=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,n,s,r){switch(s){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},x.prototype=m,m.Parser=x,new x}());O.parser=O;let w=false;const C={parser:O,db:{clear:()=>{w=false},setInfo:a=>{w=a},getInfo:()=>w},renderer:{draw:(a,p,m)=>{S.l.debug("rendering info diagram\n"+a);const v=(0,S.A)(p);(0,S.i)(v,100,400,!0),v.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${m}`)}}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js b/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js deleted file mode 100644 index a307ad63b26..00000000000 --- a/pkg/apiserver-impl/ui/963.b8dda41c64c45e9f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[963],{7416:(p,P,E)=>{E.d(P,{c:()=>b});var O=E(9948),N=E(4258);const T=function i(u){return(0,N.Z)(u,4)};var S=E(2957);function b(u){var g={options:{directed:u.isDirected(),multigraph:u.isMultigraph(),compound:u.isCompound()},nodes:B(u),edges:R(u)};return O.Z(u.graph())||(g.value=T(u.graph())),g}function B(u){return S.Z(u.nodes(),function(g){var v=u.node(g),y=u.parent(g),D={v:g};return O.Z(v)||(D.value=v),O.Z(y)||(D.parent=y),D})}function R(u){return S.Z(u.edges(),function(g){var v=u.edge(g),y={v:g.v,w:g.w};return O.Z(g.name)||(y.name=g.name),O.Z(v)||(y.value=v),y})}E(1595)},5963:(p,P,E)=>{E.d(P,{r:()=>G});var O=E(9006),N=E(7416),w=E(3330),i=E(855),T=E(8814),S=E(5703);let o={},b={},B={};const X=(n,t)=>(i.l.trace("In isDecendant",t," ",n," = ",b[t].includes(n)),!!b[t].includes(n)),g=(n,t,e,r)=>{i.l.warn("Copying children of ",n,"root",r,"data",t.node(n),r);const s=t.children(n)||[];n!==r&&s.push(n),i.l.warn("Copying (nodes) clusterId",n,"nodes",s),s.forEach(l=>{if(t.children(l).length>0)g(l,t,e,r);else{const f=t.node(l);i.l.info("cp ",l," to ",r," with parent ",n),e.setNode(l,f),r!==t.parent(l)&&(i.l.warn("Setting parent",l,t.parent(l)),e.setParent(l,t.parent(l))),n!==r&&l!==n?(i.l.debug("Setting parent",l,n),e.setParent(l,n)):(i.l.info("In copy ",n,"root",r,"data",t.node(n),r),i.l.debug("Not Setting parent for node=",l,"cluster!==rootId",n!==r,"node!==clusterId",l!==n));const d=t.edges(l);i.l.debug("Copying Edges",d),d.forEach(h=>{i.l.info("Edge",h);const x=t.edge(h.v,h.w,h.name);i.l.info("Edge data",x,r);try{((n,t)=>(i.l.info("Decendants of ",t," is ",b[t]),i.l.info("Edge is ",n),n.v!==t&&n.w!==t&&(b[t]?b[t].includes(n.v)||X(n.v,t)||X(n.w,t)||b[t].includes(n.w):(i.l.debug("Tilt, ",t,",not in decendants"),!1))))(h,r)?(i.l.info("Copying as ",h.v,h.w,x,h.name),e.setEdge(h.v,h.w,x,h.name),i.l.info("newGraph edges ",e.edges(),e.edge(e.edges()[0]))):i.l.info("Skipping copy of edge ",h.v,"--\x3e",h.w," rootId: ",r," clusterId:",n)}catch(m){i.l.error(m)}})}i.l.debug("Removing node",l),t.removeNode(l)})},v=(n,t)=>{const e=t.children(n);let r=[...e];for(const s of e)B[s]=n,r=[...r,...v(s,t)];return r},y=(n,t)=>{i.l.trace("Searching",n);const e=t.children(n);if(i.l.trace("Searching children of id ",n,e),e.length<1)return i.l.trace("This is a valid node",n),n;for(const r of e){const s=y(r,t);if(s)return i.l.trace("Found replacement for",n," => ",s),s}},D=n=>o[n]&&o[n].externalConnections&&o[n]?o[n].id:n,J=(n,t)=>{if(i.l.warn("extractor - ",t,N.c(n),n.children("D")),t>10)return void i.l.error("Bailing out");let e=n.nodes(),r=!1;for(const s of e){const l=n.children(s);r=r||l.length>0}if(r){i.l.debug("Nodes = ",e,t);for(const s of e)if(i.l.debug("Extracting node",s,o,o[s]&&!o[s].externalConnections,!n.parent(s),n.node(s),n.children("D")," Depth ",t),o[s])if(!o[s].externalConnections&&n.children(s)&&n.children(s).length>0){i.l.warn("Cluster without external connections, without a parent and with children",s,t);let f="TB"===n.graph().rankdir?"LR":"TB";o[s]&&o[s].clusterData&&o[s].clusterData.dir&&(f=o[s].clusterData.dir,i.l.warn("Fixing dir",o[s].clusterData.dir,f));const d=new T.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.l.warn("Old graph before copy",N.c(n)),g(s,n,d,s),n.setNode(s,{clusterNode:!0,id:s,clusterData:o[s].clusterData,labelText:o[s].labelText,graph:d}),i.l.warn("New graph after copy node: (",s,")",N.c(d)),i.l.debug("Old graph after copy",N.c(n))}else i.l.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!o[s].externalConnections," no parent: ",!n.parent(s)," children ",n.children(s)&&n.children(s).length>0,n.children("D"),t),i.l.debug(o);else i.l.debug("Not a cluster",s,t);e=n.nodes(),i.l.warn("New list of nodes",e);for(const s of e){const l=n.node(s);i.l.warn(" Now next level",s,l),l.clusterNode&&J(l.graph,t+1)}}else i.l.debug("Done, no node has children",n.nodes())},M=(n,t)=>{if(0===t.length)return[];let e=Object.assign(t);return t.forEach(r=>{const s=n.children(r),l=M(n,s);e=[...e,...l]}),e},Z={rect:(n,t)=>{i.l.trace("Creating subgraph rect for ",t.id,t);const e=n.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=e.insert("rect",":first-child"),s=e.insert("g").attr("class","cluster-label"),l=s.node().appendChild((0,w.c)(t.labelText,t.labelStyle,void 0,!0));let f=l.getBBox();if((0,i.j)((0,i.g)().flowchart.htmlLabels)){const c=l.children[0],a=(0,S.Ys)(l);f=c.getBoundingClientRect(),a.attr("width",f.width),a.attr("height",f.height)}const d=0*t.padding,h=d/2,x=t.width<=f.width+d?f.width+d:t.width;t.diff=t.width<=f.width+d?(f.width-t.width)/2-t.padding/2:-t.padding/2,i.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-h).attr("width",x).attr("height",t.height+d),s.attr("transform","translate("+(t.x-f.width/2)+", "+(t.y-t.height/2)+")");const m=r.node().getBBox();return t.width=m.width,t.height=m.height,t.intersect=function(c){return(0,w.i)(t,c)},e},roundedWithTitle:(n,t)=>{const e=n.insert("g").attr("class",t.classes).attr("id",t.id),r=e.insert("rect",":first-child"),s=e.insert("g").attr("class","cluster-label"),l=e.append("rect"),f=s.node().appendChild((0,w.c)(t.labelText,t.labelStyle,void 0,!0));let d=f.getBBox();if((0,i.j)((0,i.g)().flowchart.htmlLabels)){const a=f.children[0],C=(0,S.Ys)(f);d=a.getBoundingClientRect(),C.attr("width",d.width),C.attr("height",d.height)}d=f.getBBox();const h=0*t.padding,x=h/2,m=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.diff=t.width<=d.width+t.padding?(d.width+0*t.padding-t.width)/2:-t.padding/2,r.attr("class","outer").attr("x",t.x-m/2-x).attr("y",t.y-t.height/2-x).attr("width",m+h).attr("height",t.height+h),l.attr("class","inner").attr("x",t.x-m/2-x).attr("y",t.y-t.height/2-x+d.height-1).attr("width",m+h).attr("height",t.height+h-d.height-3),s.attr("transform","translate("+(t.x-d.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,i.j)((0,i.g)().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(a){return(0,w.i)(t,a)},e},noteGroup:(n,t)=>{const e=n.insert("g").attr("class","note-cluster").attr("id",t.id),r=e.insert("rect",":first-child"),s=0*t.padding,l=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-l).attr("y",t.y-t.height/2-l).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.intersect=function(d){return(0,w.i)(t,d)},e},divider:(n,t)=>{const e=n.insert("g").attr("class",t.classes).attr("id",t.id),r=e.insert("rect",":first-child"),s=0*t.padding,l=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-l).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.diff=-t.padding/2,t.intersect=function(d){return(0,w.i)(t,d)},e}};let j={};const A=(n,t,e,r)=>{i.l.info("Graph in recursive render: XXX",N.c(t),r);const s=t.graph().rankdir;i.l.trace("Dir in recursive render - dir:",s);const l=n.insert("g").attr("class","root");t.nodes()?i.l.info("Recursive render XXX",t.nodes()):i.l.info("No nodes found for",t),t.edges().length>0&&i.l.trace("Recursive edges",t.edge(t.edges()[0]));const f=l.insert("g").attr("class","clusters"),d=l.insert("g").attr("class","edgePaths"),h=l.insert("g").attr("class","edgeLabels"),x=l.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const a=t.node(c);if(void 0!==r){const C=JSON.parse(JSON.stringify(r.clusterData));i.l.info("Setting data for cluster XXX (",c,") ",C,r),t.setNode(r.id,C),t.parent(c)||(i.l.trace("Setting parent",c,r.id),t.setParent(c,r.id,C))}if(i.l.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),a&&a.clusterNode){i.l.info("Cluster identified",c,a.width,t.node(c));const C=A(x,a.graph,e,t.node(c)),L=C.elem;(0,w.u)(a,L),a.diff=C.diff||0,i.l.info("Node bounds (abc123)",c,a,a.width,a.x,a.y),(0,w.s)(L,a),i.l.warn("Recursive render complete ",L,a)}else t.children(c).length>0?(i.l.info("Cluster - the non recursive path XXX",c,a.id,a,t),i.l.info(y(a.id,t)),o[a.id]={id:y(a.id,t),node:a}):(i.l.info("Node - the non recursive path",c,a.id,a),(0,w.e)(x,t.node(c),s))}),t.edges().forEach(function(c){const a=t.edge(c.v,c.w,c.name);i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.l.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.l.info("Fix",o,"ids:",c.v,c.w,"Translateing: ",o[c.v],o[c.w]),(0,w.f)(h,a)}),t.edges().forEach(function(c){i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.l.info("#############################################"),i.l.info("### Layout ###"),i.l.info("#############################################"),i.l.info(t),(0,O.bK)(t),i.l.info("Graph after layout:",N.c(t));let m=0;return(n=>M(n,n.children()))(t).forEach(function(c){const a=t.node(c);i.l.info("Position "+c+": "+JSON.stringify(t.node(c))),i.l.info("Position "+c+": ("+a.x,","+a.y,") width: ",a.width," height: ",a.height),a&&a.clusterNode?(0,w.p)(a):t.children(c).length>0?(((n,t)=>{i.l.trace("Inserting cluster"),j[t.id]=Z[t.shape||"rect"](n,t)})(f,a),o[a.id].node=a):(0,w.p)(a)}),t.edges().forEach(function(c){const a=t.edge(c);i.l.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(a),a);const C=(0,w.g)(d,c,a,o,e,t);(0,w.h)(a,C)}),t.nodes().forEach(function(c){const a=t.node(c);i.l.info(c,a.type,a.diff),"group"===a.type&&(m=a.diff)}),{elem:l,diff:m}},G=(n,t,e,r,s)=>{(0,w.a)(n,e,r,s),(0,w.b)(),(0,w.d)(),j={},b={},B={},o={},i.l.warn("Graph at first:",N.c(t)),((n,t)=>{n?(i.l.debug("Opting in, graph "),n.nodes().forEach(function(e){n.children(e).length>0&&(i.l.warn("Cluster identified",e," Replacement id in edges: ",y(e,n)),b[e]=v(e,n),o[e]={id:y(e,n),clusterData:n.node(e)})}),n.nodes().forEach(function(e){const r=n.children(e),s=n.edges();r.length>0?(i.l.debug("Cluster identified",e,b),s.forEach(l=>{l.v!==e&&l.w!==e&&X(l.v,e)^X(l.w,e)&&(i.l.warn("Edge: ",l," leaves cluster ",e),i.l.warn("Decendants of XXX ",e,": ",b[e]),o[e].externalConnections=!0)})):i.l.debug("Not a cluster ",e,b)}),n.edges().forEach(function(e){const r=n.edge(e);i.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),i.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(n.edge(e)));let s=e.v,l=e.w;if(i.l.warn("Fix XXX",o,"ids:",e.v,e.w,"Translating: ",o[e.v]," --- ",o[e.w]),o[e.v]&&o[e.w]&&o[e.v]===o[e.w]){i.l.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),i.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),s=D(e.v),l=D(e.w),n.removeEdge(e.v,e.w,e.name);const f=e.w+"---"+e.v;n.setNode(f,{domId:f,id:f,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const d=JSON.parse(JSON.stringify(r)),h=JSON.parse(JSON.stringify(r));d.label="",d.arrowTypeEnd="none",h.label="",d.fromCluster=e.v,h.toCluster=e.v,n.setEdge(s,f,d,e.name+"-cyclic-special"),n.setEdge(f,l,h,e.name+"-cyclic-special")}else(o[e.v]||o[e.w])&&(i.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),s=D(e.v),l=D(e.w),n.removeEdge(e.v,e.w,e.name),s!==e.v&&(r.fromCluster=e.v),l!==e.w&&(r.toCluster=e.w),i.l.warn("Fix Replacing with XXX",s,l,e.name),n.setEdge(s,l,r,e.name))}),i.l.warn("Adjusted Graph",N.c(n)),J(n,0),i.l.trace(o)):i.l.debug("Opting out, no graph ")})(t),i.l.warn("Graph after:",N.c(t)),A(n,t,r)}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js b/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js deleted file mode 100644 index b5a88331ba8..00000000000 --- a/pkg/apiserver-impl/ui/964.301dc27cc2e0e79c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[964],{3964:(v0,Ut,j)=>{j.r(Ut),j.d(Ut,{diagram:()=>T0});var Kt=j(4169),I=j(855),rt=j(6012),yt=j(5703),D=j(9111),vt=j(6780),xe=j(1775),Mt=(j(2735),j(1764),function(){var t=function(lt,m,_,w){for(_=_||{},w=lt.length;w--;_[lt[w]]=m);return _},e=[1,2],s=[1,3],i=[1,5],n=[1,7],a=[2,5],o=[1,15],l=[1,17],p=[1,19],h=[1,21],T=[1,22],y=[1,23],u=[1,29],x=[1,30],b=[1,31],k=[1,32],A=[1,33],R=[1,34],P=[1,35],Y=[1,36],V=[1,37],q=[1,38],G=[1,39],F=[1,40],C=[1,42],X=[1,43],H=[1,45],W=[1,46],U=[1,47],J=[1,48],Q=[1,49],E=[1,50],L=[1,53],v=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],K=[4,5,21,54,56],N=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],ce=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],le=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],he=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],ct=[71,72,73],nt=[1,125],de=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Yt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(m,_,w,g,S,c,_t){var d=c.length-1;switch(S){case 4:return g.apply(c[d]),c[d];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:c[d-1].push(c[d]),this.$=c[d-1];break;case 7:case 8:case 12:case 13:case 63:this.$=c[d];break;case 18:c[d-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[d-2])}),c[d-1].push({type:"boxEnd",boxText:c[d-2]}),this.$=c[d-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-2]),sequenceIndexStep:Number(c[d-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]};break;case 25:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-1]};break;case 31:g.setDiagramTitle(c[d].substring(6)),this.$=c[d].substring(6);break;case 32:g.setDiagramTitle(c[d].substring(7)),this.$=c[d].substring(7);break;case 33:this.$=c[d].trim(),g.setAccTitle(this.$);break;case 34:case 35:this.$=c[d].trim(),g.setAccDescription(this.$);break;case 36:c[d-1].unshift({type:"loopStart",loopText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.LOOP_START}),c[d-1].push({type:"loopEnd",loopText:c[d-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[d-1];break;case 37:c[d-1].unshift({type:"rectStart",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_START}),c[d-1].push({type:"rectEnd",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[d-1];break;case 38:c[d-1].unshift({type:"optStart",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_START}),c[d-1].push({type:"optEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[d-1];break;case 39:c[d-1].unshift({type:"altStart",altText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.ALT_START}),c[d-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[d-1];break;case 40:c[d-1].unshift({type:"parStart",parText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.PAR_START}),c[d-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[d-1];break;case 41:c[d-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.CRITICAL_START}),c[d-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[d-1];break;case 42:c[d-1].unshift({type:"breakStart",breakText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_START}),c[d-1].push({type:"breakEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[d-1];break;case 45:this.$=c[d-3].concat([{type:"option",optionText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[d]]);break;case 47:this.$=c[d-3].concat([{type:"and",parText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.PAR_AND},c[d]]);break;case 49:this.$=c[d-3].concat([{type:"else",altText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.ALT_ELSE},c[d]]);break;case 50:c[d-3].type="addParticipant",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 51:c[d-1].type="addParticipant",this.$=c[d-1];break;case 52:c[d-3].type="addActor",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 53:c[d-1].type="addActor",this.$=c[d-1];break;case 54:this.$=[c[d-1],{type:"addNote",placement:c[d-2],actor:c[d-1].actor,text:c[d]}];break;case 55:c[d-2]=[].concat(c[d-1],c[d-1]).slice(0,2),c[d-2][0]=c[d-2][0].actor,c[d-2][1]=c[d-2][1].actor,this.$=[c[d-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[d-2].slice(0,2),text:c[d]}];break;case 56:this.$=[c[d-1],{type:"addLinks",actor:c[d-1].actor,text:c[d]}];break;case 57:this.$=[c[d-1],{type:"addALink",actor:c[d-1].actor,text:c[d]}];break;case 58:this.$=[c[d-1],{type:"addProperties",actor:c[d-1].actor,text:c[d]}];break;case 59:this.$=[c[d-1],{type:"addDetails",actor:c[d-1].actor,text:c[d]}];break;case 62:this.$=[c[d-2],c[d]];break;case 64:this.$=g.PLACEMENT.LEFTOF;break;case 65:this.$=g.PLACEMENT.RIGHTOF;break;case 66:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]}];break;case 67:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-4]}];break;case 68:this.$=[c[d-3],c[d-1],{type:"addMessage",from:c[d-3].actor,to:c[d-1].actor,signalType:c[d-2],msg:c[d]}];break;case 69:this.$={type:"addParticipant",actor:c[d]};break;case 70:this.$=g.LINETYPE.SOLID_OPEN;break;case 71:this.$=g.LINETYPE.DOTTED_OPEN;break;case 72:this.$=g.LINETYPE.SOLID;break;case 73:this.$=g.LINETYPE.DOTTED;break;case 74:this.$=g.LINETYPE.SOLID_CROSS;break;case 75:this.$=g.LINETYPE.DOTTED_CROSS;break;case 76:this.$=g.LINETYPE.SOLID_POINT;break;case 77:this.$=g.LINETYPE.DOTTED_POINT;break;case 78:this.$=g.parseMessage(c[d].trim().substring(1));break;case 79:g.parseDirective("%%{","open_directive");break;case 80:g.parseDirective(c[d],"type_directive");break;case 81:c[d]=c[d].trim().replace(/'/g,'"'),g.parseDirective(c[d],"arg_directive");break;case 82:g.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:s,6:4,7:i,14:6,83:n},{1:[3]},{3:8,4:e,5:s,6:4,7:i,14:6,83:n},{3:9,4:e,5:s,6:4,7:i,14:6,83:n},{3:10,4:e,5:s,6:4,7:i,14:6,83:n},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(v,[2,6]),{6:41,10:54,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},t(v,[2,8]),t(v,[2,9]),t(v,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:E},{27:61,73:E},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(v,[2,31]),t(v,[2,32]),{37:[1,67]},{39:[1,68]},t(v,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(v,[2,43]),{27:76,73:E},{27:77,73:E},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:E},{27:92,73:E},{27:93,73:E},{27:94,73:E},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(v,[2,7]),t(K,[2,10],{11:98}),t(v,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(v,[2,23]),{5:[1,102]},{5:[1,103]},t(v,[2,26]),t(v,[2,27]),t(v,[2,28]),t(v,[2,29]),t(v,[2,30]),t(v,[2,33]),t(v,[2,34]),t(N,a,{8:104}),t(N,a,{8:105}),t(N,a,{8:106}),t(ce,a,{45:107,8:108}),t(le,a,{47:109,8:110}),t(he,a,{49:111,8:112}),t(N,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:E},t(ct,[2,70]),t(ct,[2,71]),t(ct,[2,72]),t(ct,[2,73]),t(ct,[2,74]),t(ct,[2,75]),t(ct,[2,76]),t(ct,[2,77]),{27:121,73:E},{27:123,61:122,73:E},{73:[2,64]},{73:[2,65]},{59:124,82:nt},{59:126,82:nt},{59:127,82:nt},{59:128,82:nt},t(de,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:C,56:X},{5:[1,135]},t(v,[2,21]),t(v,[2,22]),t(v,[2,24]),t(v,[2,25]),{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,136],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,137],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,138],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,139]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,48],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,53:[1,140],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,141]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,46],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,52:[1,142],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{21:[1,143]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,44],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,51:[1,144],54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,145],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:A,41:R,42:P,43:Y,44:V,46:q,48:G,50:F,54:C,56:X,57:H,62:W,63:U,64:J,65:Q,73:E,83:n},{20:[1,146]},t(v,[2,51]),{20:[1,147]},t(v,[2,53]),{27:148,73:E},{27:149,73:E},{59:150,82:nt},{59:151,82:nt},{59:152,82:nt},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(v,[2,18]),t(K,[2,11]),{13:155,54:C,56:X},t(K,[2,13]),t(K,[2,14]),t(v,[2,20]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:[1,156]},t(v,[2,40]),{20:[1,157]},t(v,[2,41]),{20:[1,158]},t(v,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:nt},{59:162,82:nt},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:E},t(de,[2,16]),t(K,[2,12]),t(ce,a,{8:108,45:164}),t(le,a,{8:110,47:165}),t(he,a,{8:112,49:166}),t(v,[2,50]),t(v,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(m,_){if(!_.recoverable){var w=new Error(m);throw w.hash=_,w}this.trace(m)},parse:function(m){var w=[0],g=[],S=[null],c=[],_t=this.table,d="",It=0,pe=0,m0=c.slice.call(arguments,1),B=Object.create(this.lexer),pt={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(pt.yy[Wt]=this.yy[Wt]);B.setInput(m,pt.yy),pt.yy.lexer=B,pt.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var zt=B.yylloc;c.push(zt);var at,b0=B.options&&B.options.ranges;this.parseError="function"==typeof pt.yy.parseError?pt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var z,ut,Z,qt,Nt,st,At,Tt={};;){if(this.defaultActions[ut=w[w.length-1]]?Z=this.defaultActions[ut]:((null===z||typeof z>"u")&&(at=void 0,"number"!=typeof(at=g.pop()||B.lex()||1)&&(at instanceof Array&&(at=(g=at).pop()),at=this.symbols_[at]||at),z=at),Z=_t[ut]&&_t[ut][z]),typeof Z>"u"||!Z.length||!Z[0]){var Ht;for(Nt in At=[],_t[ut])this.terminals_[Nt]&&Nt>2&&At.push("'"+this.terminals_[Nt]+"'");Ht=B.showPosition?"Parse error on line "+(It+1)+":\n"+B.showPosition()+"\nExpecting "+At.join(", ")+", got '"+(this.terminals_[z]||z)+"'":"Parse error on line "+(It+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(Ht,{text:B.match,token:this.terminals_[z]||z,line:B.yylineno,loc:zt,expected:At})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ut+", token: "+z);switch(Z[0]){case 1:w.push(z),S.push(B.yytext),c.push(B.yylloc),w.push(Z[1]),z=null,pe=B.yyleng,d=B.yytext,It=B.yylineno,zt=B.yylloc;break;case 2:if(Tt.$=S[S.length-(st=this.productions_[Z[1]][1])],Tt._$={first_line:c[c.length-(st||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(st||1)].first_column,last_column:c[c.length-1].last_column},b0&&(Tt._$.range=[c[c.length-(st||1)].range[0],c[c.length-1].range[1]]),typeof(qt=this.performAction.apply(Tt,[d,pe,It,pt.yy,Z[1],S,c].concat(m0)))<"u")return qt;st&&(w=w.slice(0,-1*st*2),S=S.slice(0,-1*st),c=c.slice(0,-1*st)),w.push(this.productions_[Z[1]][0]),S.push(Tt.$),c.push(Tt._$),w.push(_t[w[w.length-2]][w[w.length-1]]);break;case 3:return!0}}return!0}};function Ft(){this.yy={}}return Yt.lexer={EOF:1,parseError:function(_,w){if(!this.yy.parser)throw new Error(_);this.yy.parser.parseError(_,w)},setInput:function(m,_){return this.yy=_||this.yy||{},this._input=m,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},input:function(){var m=this._input[0];return this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m,m.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),m},unput:function(m){var _=m.length,w=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-_),this.offset-=_;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),w.length-1&&(this.yylineno-=w.length-1);var S=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:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-_},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-_]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),_=new Array(m.length+1).join("-");return m+this.upcomingInput()+"\n"+_+"^"},test_match:function(m,_){var w,g,S;if(this.options.backtrack_lexer&&(S={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&&(S.yylloc.range=this.yylloc.range.slice(0))),(g=m[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+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,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(m[0].length),this.matched+=m[0],w=this.performAction.call(this,this.yy,this,_,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),w)return w;if(this._backtrack){for(var c in S)this[c]=S[c];return!1}return!1},next:function(){if(this.done)return this.EOF;var m,_,w,g;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),c=0;c_[0].length)){if(_=w,g=c,this.options.backtrack_lexer){if(!1!==(m=this.test_match(w,S[c])))return m;if(this._backtrack){_=!1;continue}return!1}if(!this.options.flex)break}return _?!1!==(m=this.test_match(_,S[g]))&&m:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(_){this.conditionStack.push(_)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(_){return(_=this.conditionStack.length-1-Math.abs(_||0))>=0?this.conditionStack[_]:"INITIAL"},pushState:function(_){this.begin(_)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(_,w,g,S){switch(g){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return w.yytext=w.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return w.yytext=w.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}},Ft.prototype=Yt,Yt.Parser=Ft,new Ft}());Mt.parser=Mt;const ge=Mt;let Et,St,it,ot={},ft=[],$=[],wt=!1;const Rt=function(t,e,s,i){let n=it;const a=ot[t];if(a){if(it&&a.box&&it!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+it.name+"' at the same time.");if(n=a.box?a.box:it,a.box=n,a&&e===a.name&&null==s)return}(null==s||null==s.text)&&(s={text:e,wrap:null,type:i}),(null==i||null==s.text)&&(s={text:e,wrap:null,type:i}),ot[t]={box:n,name:e,description:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,prevActor:Et,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},Et&&ot[Et]&&(ot[Et].nextActor=t),it&&it.actorKeys.push(t),Et=t},O=function(t,e,s={text:void 0,wrap:void 0},i){if(i===bt.ACTIVE_END&&(t=>{let e,s=0;for(e=0;e<$.length;e++)$[e].type===bt.ACTIVE_START&&$[e].from.actor===t&&s++,$[e].type===bt.ACTIVE_END&&$[e].from.actor===t&&s--;return s})(t.actor)<1){let a=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw a.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},a}return $.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,type:i}),!0},mt=function(t){return ot[t]},ht=()=>void 0!==St?St:(0,I.g)().sequence.wrap,bt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},Gt=function(t,e,s){void 0===s.wrap&&ht();const i=[].concat(t,t);$.push({from:i[0],to:i[1],message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,type:bt.NOTE,placement:e})},Xt=function(t,e){const s=mt(t);try{let i=(0,I.b)(e.text,(0,I.g)());i=i.replace(/&/g,"&"),i=i.replace(/=/g,"="),Dt(s,JSON.parse(i))}catch(i){I.l.error("error while parsing actor link text",i)}};function Dt(t,e){if(null==t.links)t.links=e;else for(let s in e)t.links[s]=e[s]}const Jt=function(t,e){const s=mt(t);try{let i=(0,I.b)(e.text,(0,I.g)());Qt(s,JSON.parse(i))}catch(i){I.l.error("error while parsing actor properties text",i)}};function Qt(t,e){if(null==t.properties)t.properties=e;else for(let s in e)t.properties[s]=e[s]}const Zt=function(t,e){const s=mt(t),i=document.getElementById(e.text);try{const a=JSON.parse(i.innerHTML);a.properties&&Qt(s,a.properties),a.links&&Dt(s,a.links)}catch(n){I.l.error("error while parsing actor details text",n)}},jt=function(t){if(Array.isArray(t))t.forEach(function(e){jt(e)});else switch(t.type){case"sequenceIndex":$.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":Rt(t.actor,t.actor,t.description,"participant");break;case"addActor":Rt(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":O(t.actor,void 0,void 0,t.signalType);break;case"addNote":Gt(t.actor,t.placement,t.text);break;case"addLinks":Xt(t.actor,t.text);break;case"addALink":!function(t,e){const s=mt(t);try{const o={};let l=(0,I.b)(e.text,(0,I.g)());var i=l.indexOf("@");l=l.replace(/&/g,"&"),l=l.replace(/=/g,"=");var n=l.slice(0,i-1).trim(),a=l.slice(i+1).trim();o[n]=a,Dt(s,o)}catch(o){I.l.error("error while parsing actor link text",o)}}(t.actor,t.text);break;case"addProperties":Jt(t.actor,t.text);break;case"addDetails":Zt(t.actor,t.text);break;case"addMessage":O(t.from,t.to,t.msg,t.signalType);break;case"boxStart":!function(t){ft.push({name:t.text,wrap:void 0===t.wrap&&ht()||!!t.wrap,fill:t.color,actorKeys:[]}),it=ft.slice(-1)[0]}(t.boxData);break;case"boxEnd":!function Ve(){it=void 0}();break;case"loopStart":O(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":O(void 0,void 0,void 0,t.signalType);break;case"rectStart":O(void 0,void 0,t.color,t.signalType);break;case"optStart":O(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":O(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,rt.s)(t.text);break;case"parStart":case"and":O(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":O(void 0,void 0,t.criticalText,t.signalType);break;case"option":O(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":O(void 0,void 0,t.breakText,t.signalType)}},Ye={addActor:Rt,addMessage:function(t,e,s,i){$.push({from:t,to:e,message:s.text,wrap:void 0===s.wrap&&ht()||!!s.wrap,answer:i})},addSignal:O,addLinks:Xt,addDetails:Zt,addProperties:Jt,autoWrap:ht,setWrap:function(t){St=t},enableSequenceNumbers:function(){wt=!0},disableSequenceNumbers:function(){wt=!1},showSequenceNumbers:()=>wt,getMessages:function(){return $},getActors:function(){return ot},getActor:mt,getActorKeys:function(){return Object.keys(ot)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:rt.g,getBoxes:function(){return ft},getDiagramTitle:rt.e,setDiagramTitle:rt.d,parseDirective:function(t,e,s){Kt.m.parseDirective(this,t,e,s)},getConfig:()=>(0,I.g)().sequence,clear:function(){ot={},ft=[],$=[],wt=!1,(0,rt.f)()},parseMessage:function(t){const e=t.trim(),s={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return I.l.debug("parseMessage:",s),s},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let s=null!=e&&e[1]?e[1].trim():"transparent",i=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",s)||(s="transparent",i=t.trim());else{const a=(new Option).style;a.color=s,a.color!==s&&(s="transparent",i=t.trim())}return{color:s,text:void 0!==i?(0,I.b)(i.replace(/^:?(?:no)?wrap:/,""),(0,I.g)()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:bt,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Gt,setAccTitle:rt.s,apply:jt,setAccDescription:rt.b,getAccDescription:rt.a,hasAtLeastOneBox:function(){return ft.length>0},hasAtLeastOneBoxWithTitle:function(){return ft.some(t=>t.name)}},kt=function(t,e){const s=t.append("rect");return s.attr("x",e.x),s.attr("y",e.y),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("width",e.width),s.attr("height",e.height),s.attr("rx",e.rx),s.attr("ry",e.ry),void 0!==e.class&&s.attr("class",e.class),s},$t=(t,e)=>{(0,Kt.a)(()=>{const s=document.querySelectorAll(t);0!==s.length&&(s[0].addEventListener("mouseover",function(){He("actor"+e+"_popup")}),s[0].addEventListener("mouseout",function(){Ue("actor"+e+"_popup")}))})},te=function(t,e,s,i){const n=t.append("image");n.attr("x",e),n.attr("y",s);var a=(0,vt.N)(i);n.attr("xlink:href",a)},ee=function(t,e,s,i){const n=t.append("use");n.attr("x",e),n.attr("y",s);var a=(0,vt.N)(i);n.attr("xlink:href","#"+a)},He=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},Ue=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},xt=function(t,e){let s=0,i=0;const n=e.text.split(I.d.lineBreakRegex),[a,o]=(0,D.t)(e.fontSize);let l=[],p=0,h=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":h=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":h=()=>Math.round(e.y+(s+i+e.textMargin)/2);break;case"bottom":case"end":h=()=>Math.round(e.y+(s+i+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[T,y]of n.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==a&&(p=T*a);const u=t.append("text");if(u.attr("x",e.x),u.attr("y",h()),void 0!==e.anchor&&u.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&u.style("font-family",e.fontFamily),void 0!==o&&u.style("font-size",o),void 0!==e.fontWeight&&u.style("font-weight",e.fontWeight),void 0!==e.fill&&u.attr("fill",e.fill),void 0!==e.class&&u.attr("class",e.class),void 0!==e.dy?u.attr("dy",e.dy):0!==p&&u.attr("dy",p),e.tspan){const x=u.append("tspan");x.attr("x",e.x),void 0!==e.fill&&x.attr("fill",e.fill),x.text(y)}else u.text(y);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(u._groups||u)[0][0].getBBox().height,s=i),l.push(u)}return l},ie=function(t,e){const i=t.append("polygon");return i.attr("points",function s(n,a,o,l,p){return n+","+a+" "+(n+o)+","+a+" "+(n+o)+","+(a+l-p)+" "+(n+o-1.2*p)+","+(a+l)+" "+n+","+(a+l)}(e.x,e.y,e.width,e.height,7)),i.attr("class","labelBox"),e.y=e.y+e.height/2,xt(t,e),i};let tt=-1;const ne=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},se=function(t,e){kt(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},Ot=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Lt=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},Ct=function(){function t(n,a,o,l,p,h,T){i(a.append("text").attr("x",o+p/2).attr("y",l+h/2+5).style("text-anchor","middle").text(n),T)}function e(n,a,o,l,p,h,T,y){const{actorFontSize:u,actorFontFamily:x,actorFontWeight:b}=y,[k,A]=(0,D.t)(u),R=n.split(I.d.lineBreakRegex);for(let P=0;Ps?l.width:s;const u=h.append("rect");if(u.attr("class","actorPopupMenuPanel"+T),u.attr("x",l.x),u.attr("y",l.height),u.attr("fill",l.fill),u.attr("stroke",l.stroke),u.attr("width",y),u.attr("height",l.height),u.attr("rx",l.rx),u.attr("ry",l.ry),null!=a){var x=20;for(let A in a){var b=h.append("a"),k=(0,vt.N)(a[A]);b.attr("xlink:href",k),b.attr("target","_blank"),r0(i)(A,b,l.x+10,l.height+x,y,20,{class:"actor"},i),x+=30}}return u.attr("height",x),{height:l.height+x,width:y}},M_anchorElement=function(t){return t.append("g")},M_drawActivation=function(t,e,s,i,n){const a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+n%3,a.width=e.stopx-e.startx,a.height=s-e.starty,kt(o,a)},M_drawLoop=function(t,e,s,i){const{boxMargin:n,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:l,messageFontFamily:p,messageFontSize:h,messageFontWeight:T}=i,y=t.append("g"),u=function(k,A,R,P){return y.append("line").attr("x1",k).attr("y1",A).attr("x2",R).attr("y2",P).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(k){u(e.startx,k.y,e.stopx,k.y).style("stroke-dasharray","3, 3")});let x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0};x.text=s,x.x=e.startx,x.y=e.starty,x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=o||20,x.textMargin=a,x.class="labelText",ie(y,x),x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+a,x.anchor="middle",x.valign="middle",x.textMargin=a,x.class="loopText",x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.wrap=!0;let b=xt(y,x);return void 0!==e.sectionTitles&&e.sectionTitles.forEach(function(k,A){if(k.message){x.text=k.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[A].y+n+a,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=p,x.fontSize=h,x.fontWeight=T,x.wrap=e.wrap,b=xt(y,x);let R=Math.round(b.map(P=>(P._groups||P)[0][0].getBBox().height).reduce((P,Y)=>P+Y));e.sections[A].height+=R-(n+a)}}),e.height=Math.round(e.stopy-e.starty),y},M_drawBackgroundRect=se,M_insertArrowHead=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},M_insertArrowFilledHead=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},M_insertSequenceNumber=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},M_insertArrowCrossHead=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},M_insertDatabaseIcon=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},M_insertComputerIcon=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},M_insertClockIcon=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},M_getTextObj=Ot,M_getNoteRect=Lt;let r={};const f={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,re((0,I.g)())},updateVal:function(t,e,s,i){t[e]=void 0===t[e]?s:i(s,t[e])},updateBounds:function(t,e,s,i){const n=this;let a=0;function o(l){return function(h){a++;const T=n.sequenceItems.length-a+1;n.updateVal(h,"starty",e-T*r.boxMargin,Math.min),n.updateVal(h,"stopy",i+T*r.boxMargin,Math.max),n.updateVal(f.data,"startx",t-T*r.boxMargin,Math.min),n.updateVal(f.data,"stopx",s+T*r.boxMargin,Math.max),"activation"!==l&&(n.updateVal(h,"startx",t-T*r.boxMargin,Math.min),n.updateVal(h,"stopx",s+T*r.boxMargin,Math.max),n.updateVal(f.data,"starty",e-T*r.boxMargin,Math.min),n.updateVal(f.data,"stopy",i+T*r.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,s,i){const n=Math.min(t,s),a=Math.max(t,s),o=Math.min(e,i),l=Math.max(e,i);this.updateVal(f.data,"startx",n,Math.min),this.updateVal(f.data,"starty",o,Math.min),this.updateVal(f.data,"stopx",a,Math.max),this.updateVal(f.data,"stopy",l,Math.max),this.updateBounds(n,o,a,l)},newActivation:function(t,e,s){const i=s[t.from.actor],n=Pt(t.from.actor).length||0,a=i.x+i.width/2+(n-1)*r.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+r.activationWidth,stopy:void 0,actor:t.from.actor,anchored:M_anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(s){return s.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:f.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},dt=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),gt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Vt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),Bt=function(t,e,s,i,n,a,o){if(!0===n.hideUnusedParticipants){const y=new Set;a.forEach(u=>{y.add(u.from),y.add(u.to)}),s=s.filter(u=>y.has(u))}let T,l=0,p=0,h=0;for(const y of s){const u=e[y],x=u.box;T&&T!=x&&(o||f.models.addBox(T),p+=r.boxMargin+T.margin),x&&x!=T&&(o||(x.x=l+p,x.y=i),p+=x.margin),u.width=u.width||r.width,u.height=Math.max(u.height||r.height,r.height),u.margin=u.margin||r.actorMargin,u.x=l+p,u.y=f.getVerticalPos();const b=M_drawActor(t,u,r,o);h=Math.max(h,b),f.insert(u.x,i,u.x+u.width,u.height),l+=u.width+p,u.box&&(u.box.width=l+x.margin-u.box.x),p=u.margin,T=u.box,f.models.addActor(u)}T&&!o&&f.models.addBox(T),f.bumpVerticalPos(h)},ae=function(t,e,s,i){let n=0,a=0;for(const o of s){const l=e[o],p=p0(l),h=M_drawPopup(t,l,p,r,r.forceMenus,i);h.height>n&&(n=h.height),h.width+l.x>a&&(a=h.width+l.x)}return{maxHeight:n,maxWidth:a}},re=function(t){(0,I.c)(r,t),t.fontFamily&&(r.actorFontFamily=r.noteFontFamily=r.messageFontFamily=t.fontFamily),t.fontSize&&(r.actorFontSize=r.noteFontSize=r.messageFontSize=t.fontSize),t.fontWeight&&(r.actorFontWeight=r.noteFontWeight=r.messageFontWeight=t.fontWeight)},Pt=function(t){return f.activations.filter(function(e){return e.actor===t})},oe=function(t,e){const s=e[t],i=Pt(t);return[i.reduce(function(o,l){return Math.min(o,l.startx)},s.x+s.width/2),i.reduce(function(o,l){return Math.max(o,l.stopx)},s.x+s.width/2)]};function et(t,e,s,i,n){f.bumpVerticalPos(s);let a=i;if(e.id&&e.message&&t[e.id]){const o=t[e.id].width,l=dt(r);e.message=D.u.wrapLabel(`[${e.message}]`,o-2*r.wrapPadding,l),e.width=o,e.wrap=!0;const p=D.u.calculateTextDimensions(e.message,l),h=Math.max(p.height,r.labelBoxHeight);a=i+h,I.l.debug(`${h} - ${e.message}`)}n(e),f.bumpVerticalPos(a)}const p0=function(t){let e=0;const s=Vt(r);for(const i in t.links){const a=D.u.calculateTextDimensions(i,s).width+2*r.wrapPadding+2*r.boxMargin;e{const o=t[a];o.wrap&&(o.description=D.u.wrapLabel(o.description,r.width-2*r.wrapPadding,Vt(r)));const l=D.u.calculateTextDimensions(o.description,Vt(r));o.width=o.wrap?r.width:Math.max(r.width,l.width+2*r.wrapPadding),o.height=o.wrap?Math.max(l.height,r.height):r.height,i=Math.max(i,o.height)});for(const a in e){const o=t[a];if(!o)continue;const l=t[o.nextActor];l?o.margin=Math.max(e[a]+r.actorMargin-o.width/2-l.width/2,r.actorMargin):o.margin=Math.max(e[a]+r.actorMargin-o.width/2,r.actorMargin)}let n=0;return s.forEach(a=>{const o=dt(r);let l=a.actorKeys.reduce((T,y)=>T+(t[y].width+(t[y].margin||0)),0);l-=2*r.boxTextMargin,a.wrap&&(a.name=D.u.wrapLabel(a.name,l-2*r.wrapPadding,o));const p=D.u.calculateTextDimensions(a.name,o);n=Math.max(p.height,n);const h=Math.max(l,p.width+2*r.wrapPadding);a.margin=r.boxTextMargin,la.textMaxHeight=n),Math.max(i,r.height)}(T,R,y),M_insertComputerIcon(h),M_insertDatabaseIcon(h),M_insertClockIcon(h),k&&(f.bumpVerticalPos(r.boxMargin),A&&f.bumpVerticalPos(y[0].textMaxHeight)),Bt(h,T,u,0,r,x,!1);const P=function(t,e,s,i){const n={},a=[];let o,l,p;return t.forEach(function(h){switch(h.id=D.u.random({length:10}),h.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:a.push({id:h.id,msg:h.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:h.message&&(o=a.pop(),n[o.id]=o,n[h.id]=o,a.push(o));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:o=a.pop(),n[o.id]=o;break;case i.db.LINETYPE.ACTIVE_START:{const y=e[h.from?h.from.actor:h.to.actor],u=Pt(h.from?h.from.actor:h.to.actor).length,x=y.x+y.width/2+(u-1)*r.activationWidth/2;f.activations.push({startx:x,stopx:x+r.activationWidth,actor:h.from.actor,enabled:!0})}break;case i.db.LINETYPE.ACTIVE_END:{const y=f.activations.map(u=>u.actor).lastIndexOf(h.from.actor);delete f.activations.splice(y,1)[0]}}void 0!==h.placement?(l=function(t,e,s){const i=e[t.from].x,n=e[t.to].x,a=t.wrap&&t.message;let o=D.u.calculateTextDimensions(a?D.u.wrapLabel(t.message,r.width,gt(r)):t.message,gt(r));const l={width:a?r.width:Math.max(r.width,o.width+2*r.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===s.db.PLACEMENT.RIGHTOF?(l.width=a?Math.max(r.width,o.width):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*r.noteMargin),l.startx=i+(e[t.from].width+r.actorMargin)/2):t.placement===s.db.PLACEMENT.LEFTOF?(l.width=Math.max(a?r.width:e[t.from].width/2+e[t.to].width/2,o.width+2*r.noteMargin),l.startx=i-l.width+(e[t.from].width-r.actorMargin)/2):t.to===t.from?(o=D.u.calculateTextDimensions(a?D.u.wrapLabel(t.message,Math.max(r.width,e[t.from].width),gt(r)):t.message,gt(r)),l.width=a?Math.max(r.width,e[t.from].width):Math.max(e[t.from].width,r.width,o.width+2*r.noteMargin),l.startx=i+(e[t.from].width-l.width)/2):(l.width=Math.abs(i+e[t.from].width/2-(n+e[t.to].width/2))+r.actorMargin,l.startx=i{o=y,o.from=Math.min(o.from,l.startx),o.to=Math.max(o.to,l.startx+l.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-r.labelBoxWidth})):(p=function(t,e,s){let i=!1;if([s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(i=!0),!i)return{};const n=oe(t.from,e),a=oe(t.to,e),o=n[0]<=a[0]?1:0,l=n[0]0&&a.forEach(y=>{if(o=y,p.startx===p.stopx){const u=e[h.from],x=e[h.to];o.from=Math.min(u.x-p.width/2,u.x-u.width/2,o.from),o.to=Math.max(x.x+p.width/2,x.x+u.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-r.labelBoxWidth}else o.from=Math.min(p.startx,o.from),o.to=Math.max(p.stopx,o.to),o.width=Math.max(o.width,p.width)-r.labelBoxWidth}))}),f.activations=[],I.l.debug("Loop type widths:",n),n}(x,T,0,i);M_insertArrowHead(h),M_insertArrowCrossHead(h),M_insertArrowFilledHead(h),M_insertSequenceNumber(h);let V=1,q=1;const G=[];x.forEach(function(E){let L,v,K;switch(E.type){case i.db.LINETYPE.NOTE:v=E.noteModel,function(t,e){f.bumpVerticalPos(r.boxMargin),e.height=r.boxMargin,e.starty=f.getVerticalPos();const s=M_getNoteRect();s.x=e.startx,s.y=e.starty,s.width=e.width||r.width,s.class="note";const i=t.append("g"),n=M_drawRect(i,s),a=M_getTextObj();a.x=e.startx,a.y=e.starty,a.width=s.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=r.noteFontFamily,a.fontSize=r.noteFontSize,a.fontWeight=r.noteFontWeight,a.anchor=r.noteAlign,a.textMargin=r.noteMargin,a.valign="center";const o=xt(i,a),l=Math.round(o.map(p=>(p._groups||p)[0][0].getBBox().height).reduce((p,h)=>p+h));n.attr("height",l+2*r.noteMargin),e.height+=l+2*r.noteMargin,f.bumpVerticalPos(l+2*r.noteMargin),e.stopy=e.starty+l+2*r.noteMargin,e.stopx=e.startx+s.width,f.insert(e.startx,e.starty,e.stopx,e.stopy),f.models.addNote(e)}(h,v);break;case i.db.LINETYPE.ACTIVE_START:f.newActivation(E,h,T);break;case i.db.LINETYPE.ACTIVE_END:!function Y(E,L){const v=f.endActivation(E);v.starty+18>L&&(v.starty=L-6,L+=12),M_drawActivation(h,v,L,r,Pt(E.from.actor).length),f.insert(v.startx,L-10,v.stopx,L)}(E,f.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.LOOP_END:L=f.endLoop(),M_drawLoop(h,L,"loop",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.RECT_START:et(P,E,r.boxMargin,r.boxMargin,N=>f.newLoop(void 0,N.message));break;case i.db.LINETYPE.RECT_END:L=f.endLoop(),M_drawBackgroundRect(h,L),f.models.addLoop(L),f.bumpVerticalPos(L.stopy-f.getVerticalPos());break;case i.db.LINETYPE.OPT_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.OPT_END:L=f.endLoop(),M_drawLoop(h,L,"opt",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.ALT_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.ALT_ELSE:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.ALT_END:L=f.endLoop(),M_drawLoop(h,L,"alt",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.PAR_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.PAR_AND:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.PAR_END:L=f.endLoop(),M_drawLoop(h,L,"par",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.AUTONUMBER:V=E.message.start||V,q=E.message.step||q,E.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.CRITICAL_OPTION:et(P,E,r.boxMargin+r.boxTextMargin,r.boxMargin,N=>f.addSectionToLoop(N));break;case i.db.LINETYPE.CRITICAL_END:L=f.endLoop(),M_drawLoop(h,L,"critical",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;case i.db.LINETYPE.BREAK_START:et(P,E,r.boxMargin,r.boxMargin+r.boxTextMargin,N=>f.newLoop(N));break;case i.db.LINETYPE.BREAK_END:L=f.endLoop(),M_drawLoop(h,L,"break",r),f.bumpVerticalPos(L.stopy-f.getVerticalPos()),f.models.addLoop(L);break;default:try{K=E.msgModel,K.starty=f.getVerticalPos(),K.sequenceIndex=V,K.sequenceVisible=i.db.showSequenceNumbers();const N=function c0(t,e){f.bumpVerticalPos(10);const{startx:s,stopx:i,message:n}=e,a=I.d.splitBreaks(n).length,o=D.u.calculateTextDimensions(n,dt(r)),l=o.height/a;e.height+=l,f.bumpVerticalPos(l);let p,h=o.height-10;const T=o.width;if(s===i){p=f.getVerticalPos()+h,r.rightAngles||(h+=r.boxMargin,p=f.getVerticalPos()+h),h+=30;const y=Math.max(T/2,r.width/2);f.insert(s-y,f.getVerticalPos()-10+h,i+y,f.getVerticalPos()+30+h)}else h+=r.boxMargin,p=f.getVerticalPos()+h,f.insert(s,p-10,i,p);return f.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,f.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),p}(0,K);G.push({messageModel:K,lineStartY:N}),f.models.addMessage(K)}catch(N){I.l.error("error while drawing message",N)}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(E.type)&&(V+=q)}),G.forEach(E=>function(t,e,s,i){const{startx:n,stopx:a,starty:o,message:l,type:p,sequenceIndex:h,sequenceVisible:T}=e,y=D.u.calculateTextDimensions(l,dt(r)),u=M_getTextObj();u.x=n,u.y=o+10,u.width=a-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=r.messageFontFamily,u.fontSize=r.messageFontSize,u.fontWeight=r.messageFontWeight,u.anchor=r.messageAlign,u.valign="center",u.textMargin=r.wrapPadding,u.tspan=!1,xt(t,u);const x=y.width;let b;n===a?b=r.rightAngles?t.append("path").attr("d",`M ${n},${s} H ${n+Math.max(r.width/2,x/2)} V ${s+25} H ${n}`):t.append("path").attr("d","M "+n+","+s+" C "+(n+60)+","+(s-10)+" "+(n+60)+","+(s+30)+" "+n+","+(s+20)):(b=t.append("line"),b.attr("x1",n),b.attr("y1",s),b.attr("x2",a),b.attr("y2",s)),p===i.db.LINETYPE.DOTTED||p===i.db.LINETYPE.DOTTED_CROSS||p===i.db.LINETYPE.DOTTED_POINT||p===i.db.LINETYPE.DOTTED_OPEN?(b.style("stroke-dasharray","3, 3"),b.attr("class","messageLine1")):b.attr("class","messageLine0");let k="";r.arrowMarkerAbsolute&&(k=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\(/g,"\\("),k=k.replace(/\)/g,"\\)")),b.attr("stroke-width",2),b.attr("stroke","none"),b.style("fill","none"),(p===i.db.LINETYPE.SOLID||p===i.db.LINETYPE.DOTTED)&&b.attr("marker-end","url("+k+"#arrowhead)"),(p===i.db.LINETYPE.SOLID_POINT||p===i.db.LINETYPE.DOTTED_POINT)&&b.attr("marker-end","url("+k+"#filled-head)"),(p===i.db.LINETYPE.SOLID_CROSS||p===i.db.LINETYPE.DOTTED_CROSS)&&b.attr("marker-end","url("+k+"#crosshead)"),(T||r.showSequenceNumbers)&&(b.attr("marker-start","url("+k+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",s+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))}(h,E.messageModel,E.lineStartY,i)),r.mirrorActors&&(f.bumpVerticalPos(2*r.boxMargin),Bt(h,T,u,f.getVerticalPos(),r,x,!0),f.bumpVerticalPos(r.boxMargin),ne(h,f.getVerticalPos())),f.models.boxes.forEach(function(E){E.height=f.getVerticalPos()-E.y,f.insert(E.x,E.y,E.x+E.width,E.height),E.startx=E.x,E.starty=E.y,E.stopx=E.startx+E.width,E.stopy=E.starty+E.height,E.stroke="rgb(0,0,0, 0.5)",M_drawBox(h,E,r)}),k&&f.bumpVerticalPos(r.boxMargin);const F=ae(h,T,u,p),{bounds:C}=f.getBounds();I.l.debug("For line height fix Querying: #"+e+" .actor-line"),(0,yt.td_)("#"+e+" .actor-line").attr("y2",C.stopy);let H=C.stopy-C.starty;H`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js b/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js deleted file mode 100644 index a7c9261a75a..00000000000 --- a/pkg/apiserver-impl/ui/97.24bb8167eebd4975.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[97],{3097:(re,ht,S)=>{S.r(ht),S.d(ht,{diagram:()=>Jt});var I=S(855),Et=S(4169),z=S(6012),xt=S(8814),j=S(5703),Ot=S(9006),kt=S(9111),bt=S(1775);const R=[];for(let t=0;t<256;++t)R.push((t+256).toString(16).slice(1));const Rt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,At=function Tt(t){if(!function Nt(t){return"string"==typeof t&&Rt.test(t)}(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=255&r,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=255&r,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=255&r,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=255&r,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=255&r,e};function Dt(t,r,e,a){switch(t){case 0:return r&e^~r&a;case 1:case 3:return r^e^a;case 2:return r&e^r&a^e&a}}function it(t,r){return t<>>32-r}const Lt=function St(t,r,e){function a(c,p,f,l){var h;if("string"==typeof c&&(c=function Mt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>0;k=E,E=g,g=it(_,30)>>>0,_=h,h=Z}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+k>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]});S(2735),S(1764),S(6780);var nt=function(){var t=function(A,n,s,d){for(s=s||{},d=A.length;d--;s[A[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],k=[1,31],y=[1,32],M=[1,33],Z=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],K=[1,45],H=[30,31,48,49],F=[4,6,9,11,23,25,27,29,30,31,51],N=[44,45,46,47],v=[22,37],T=[1,65],O=[1,64],B=[22,37,39,41],P={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,q){var o=i.length-1;switch(m){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=i[o];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:k,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(Z,[2,20]),t(Z,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:K},{43:46,48:[1,47],49:[1,48]},t(H,[2,35]),t(H,[2,36]),t(H,[2,37]),t(H,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(F,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:K},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:k,46:y,47:M},t(N,[2,39]),t(N,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(v,[2,24],{35:61,36:62,38:63,40:T,41:O}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(F,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(v,[2,25],{36:66,39:[1,67],41:O}),t(v,[2,26]),t(B,[2,30]),t(v,[2,33]),t(B,[2,32]),t(v,[2,27]),{38:68,40:T},t(B,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(!s.recoverable){var d=new Error(n);throw d.hash=s,d}this.trace(n)},parse:function(n){var d=[0],u=[],m=[null],i=[],q=this.table,o="",tt=0,_t=0,qt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(G.yy[st]=this.yy[st]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var ot=b.yylloc;i.push(ot);var V,te=b.options&&b.options.ranges;this.parseError="function"==typeof G.yy.parseError?G.yy.parseError:Object.getPrototypeOf(this).parseError;for(var w,X,D,ct,et,U,rt,Q={};;){if(this.defaultActions[X=d[d.length-1]]?D=this.defaultActions[X]:((null===w||typeof w>"u")&&(V=void 0,"number"!=typeof(V=u.pop()||b.lex()||1)&&(V instanceof Array&&(V=(u=V).pop()),V=this.symbols_[V]||V),w=V),D=q[X]&&q[X][w]),typeof D>"u"||!D.length||!D[0]){var lt;for(et in rt=[],q[X])this.terminals_[et]&&et>2&&rt.push("'"+this.terminals_[et]+"'");lt=b.showPosition?"Parse error on line "+(tt+1)+":\n"+b.showPosition()+"\nExpecting "+rt.join(", ")+", got '"+(this.terminals_[w]||w)+"'":"Parse error on line "+(tt+1)+": Unexpected "+(1==w?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(lt,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:ot,expected:rt})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+w);switch(D[0]){case 1:d.push(w),m.push(b.yytext),i.push(b.yylloc),d.push(D[1]),w=null,_t=b.yyleng,o=b.yytext,tt=b.yylineno,ot=b.yylloc;break;case 2:if(Q.$=m[m.length-(U=this.productions_[D[1]][1])],Q._$={first_line:i[i.length-(U||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(U||1)].first_column,last_column:i[i.length-1].last_column},te&&(Q._$.range=[i[i.length-(U||1)].range[0],i[i.length-1].range[1]]),typeof(ct=this.performAction.apply(Q,[o,_t,tt,G.yy,D[1],m,i].concat(qt)))<"u")return ct;U&&(d=d.slice(0,-1*U*2),m=m.slice(0,-1*U),i=i.slice(0,-1*U)),d.push(this.productions_[D[1]][0]),m.push(Q.$),i.push(Q._$),d.push(q[d[d.length-2]][d[d.length-1]]);break;case 3:return!0}}return!0}};function W(){this.yy={}}return P.lexer={EOF:1,parseError:function(s,d){if(!this.yy.parser)throw new Error(s);this.yy.parser.parseError(s,d)},setInput:function(n,s){return this.yy=s||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.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),n},unput:function(n){var s=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;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),d.length-1&&(this.yylineno-=d.length-1);var m=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:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),s=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+s+"^"},test_match:function(n,s){var d,u,m;if(this.options.backtrack_lexer&&(m={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&&(m.yylloc.range=this.yylloc.range.slice(0))),(u=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],d=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),d)return d;if(this._backtrack){for(var i in m)this[i]=m[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var n,s,d,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),i=0;is[0].length)){if(s=d,u=i,this.options.backtrack_lexer){if(!1!==(n=this.test_match(d,m[i])))return n;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(n=this.test_match(s,m[u]))&&n:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(s){return(s=this.conditionStack.length-1-Math.abs(s||0))>=0?this.conditionStack[s]:"INITIAL"},pushState:function(s){this.begin(s)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(s,d,u,m){switch(u){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:case 28:case 29:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 30:return this.popState(),22;case 31:case 60:return d.yytext[0];case 32:case 36:case 37:case 50:return 44;case 33:case 34:case 35:case 43:case 45:case 52:return 46;case 38:case 39:case 40:case 41:case 42:case 44:case 51:return 45;case 46:case 47:case 48:case 49:return 47;case 53:case 56:case 57:case 58:return 48;case 54:case 55:return 49;case 59:return 30;case 61:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29,30,31],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61],inclusive:!0}}},W.prototype=P,P.Parser=W,new W}();nt.parser=nt;const Ct=nt;let J={},at=[];const ut=function(t){return void 0===J[t]&&(J[t]={attributes:[]},I.l.info("Added new entity :",t)),J[t]},Pt={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,r,e){Et.m.parseDirective(this,t,r,e)},getConfig:()=>(0,I.g)().er,addEntity:ut,addAttributes:function(t,r){let a,e=ut(t);for(a=r.length-1;a>=0;a--)e.attributes.push(r[a]),I.l.debug("Added attribute ",r[a].attributeName)},getEntities:()=>J,addRelationship:function(t,r,e,a){let c={entityA:t,roleA:r,entityB:e,relSpec:a};at.push(c),I.l.debug("Added new relationship :",c)},getRelationships:()=>at,clear:function(){J={},at=[],(0,z.f)()},setAccTitle:z.s,getAccTitle:z.g,setAccDescription:z.b,getAccDescription:z.a,setDiagramTitle:z.d,getDiagramTitle:z.e},C={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},Y_ERMarkers=C,Wt=/[^\dA-Za-z](\W)*/g;let x={},$=new Map;const ft=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let yt=0;const Qt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function pt(t=""){return t.length>0?`${t}-`:""}const Jt={parser:Ct,db:Pt,renderer:{setConf:function(t){const r=Object.keys(t);for(const e of r)x[e]=t[e]},draw:function(t,r,e,a){x=(0,I.g)().er,I.l.info("Drawing ER diagram");const c=(0,I.g)().securityLevel;let p;"sandbox"===c&&(p=(0,j.Ys)("#i"+r));const l=(0,j.Ys)("sandbox"===c?p.nodes()[0].contentDocument.body:"body").select(`[id='${r}']`);let h;(function(t,r){let e;t.append("defs").append("marker").attr("id",C.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",C.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M9,0 L9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",C.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",C.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),e=t.append("defs").append("marker").attr("id",C.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),e.append("circle").attr("stroke",r.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),e.append("path").attr("stroke",r.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(l,x),h=new xt.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:x.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const _=function(t,r,e){let c;return Object.keys(r).forEach(function(p){const f=function jt(t="",r=""){const e=t.replace(Wt,"");return`${pt(r)}${pt(e)}${Lt(t,Qt)}`}(p,"entity");$.set(p,f);const l=t.append("g").attr("id",f);c=void 0===c?f:c;const h="text-"+f,_=l.append("text").classed("er entityLabel",!0).attr("id",h).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,I.g)().fontFamily).style("font-size",x.fontSize+"px").text(p),{width:g,height:E}=((t,r,e)=>{const a=x.entityPadding/3,c=x.entityPadding/3,p=.85*x.fontSize,f=r.node().getBBox(),l=[];let h=!1,_=!1,g=0,E=0,k=0,y=0,M=f.height+2*a,Z=1;e.forEach(N=>{void 0!==N.attributeKeyTypeList&&N.attributeKeyTypeList.length>0&&(h=!0),void 0!==N.attributeComment&&(_=!0)}),e.forEach(N=>{const v=`${r.node().id}-attr-${Z}`;let T=0;const O=(0,I.p)(N.attributeType),B=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(O),P=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(N.attributeName),L={};L.tn=B,L.nn=P;const W=B.node().getBBox(),A=P.node().getBBox();if(g=Math.max(g,W.width),E=Math.max(E,A.width),T=Math.max(W.height,A.height),h){const n=void 0!==N.attributeKeyTypeList?N.attributeKeyTypeList.join(","):"",s=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(n);L.kn=s;const d=s.node().getBBox();k=Math.max(k,d.width),T=Math.max(T,d.height)}if(_){const n=t.append("text").classed("er entityLabel",!0).attr("id",`${v}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,I.g)().fontFamily).style("font-size",p+"px").text(N.attributeComment||"");L.cn=n;const s=n.node().getBBox();y=Math.max(y,s.width),T=Math.max(T,s.height)}L.height=T,l.push(L),M+=T+2*a,Z+=1});let K=4;h&&(K+=2),_&&(K+=2);const H=g+E+k+y,F={width:Math.max(x.minEntityWidth,Math.max(f.width+2*x.entityPadding,H+c*K)),height:e.length>0?M:Math.max(x.minEntityHeight,f.height+2*x.entityPadding)};if(e.length>0){const N=Math.max(0,(F.width-H-c*K)/(K/2));r.attr("transform","translate("+F.width/2+","+(a+f.height/2)+")");let v=f.height+2*a,T="attributeBoxOdd";l.forEach(O=>{const B=v+a+O.height/2;O.tn.attr("transform","translate("+c+","+B+")");const P=t.insert("rect","#"+O.tn.node().id).classed(`er ${T}`,!0).attr("x",0).attr("y",v).attr("width",g+2*c+N).attr("height",O.height+2*a),L=parseFloat(P.attr("x"))+parseFloat(P.attr("width"));O.nn.attr("transform","translate("+(L+c)+","+B+")");const W=t.insert("rect","#"+O.nn.node().id).classed(`er ${T}`,!0).attr("x",L).attr("y",v).attr("width",E+2*c+N).attr("height",O.height+2*a);let A=parseFloat(W.attr("x"))+parseFloat(W.attr("width"));if(h){O.kn.attr("transform","translate("+(A+c)+","+B+")");const n=t.insert("rect","#"+O.kn.node().id).classed(`er ${T}`,!0).attr("x",A).attr("y",v).attr("width",k+2*c+N).attr("height",O.height+2*a);A=parseFloat(n.attr("x"))+parseFloat(n.attr("width"))}_&&(O.cn.attr("transform","translate("+(A+c)+","+B+")"),t.insert("rect","#"+O.cn.node().id).classed(`er ${T}`,"true").attr("x",A).attr("y",v).attr("width",y+2*c+N).attr("height",O.height+2*a)),v+=O.height+2*a,T="attributeBoxOdd"===T?"attributeBoxEven":"attributeBoxOdd"})}else F.height=Math.max(x.minEntityHeight,M),r.attr("transform","translate("+F.width/2+","+F.height/2+")");return F})(l,_,r[p].attributes),y=l.insert("rect","#"+h).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",g).attr("height",E).node().getBBox();e.setNode(f,{width:y.width,height:y.height,shape:"rect",id:f})}),c}(l,a.db.getEntities(),h),g=function(t,r){return t.forEach(function(e){r.setEdge($.get(e.entityA),$.get(e.entityB),{relationship:e},ft(e))}),t}(a.db.getRelationships(),h);(0,Ot.bK)(h),function(t,r){r.nodes().forEach(function(e){void 0!==e&&void 0!==r.node(e)&&t.select("#"+e).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )")})}(l,h),g.forEach(function(Z){!function(t,r,e,a,c){yt++;const p=e.edge($.get(r.entityA),$.get(r.entityB),ft(r)),f=(0,j.jvg)().x(function(M){return M.x}).y(function(M){return M.y}).curve(j.$0Z),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",f(p.points)).style("stroke",x.stroke).style("fill","none");r.relSpec.relType===c.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(x.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),r.relSpec.cardA){case c.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ZERO_OR_ONE_END+")");break;case c.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ZERO_OR_MORE_END+")");break;case c.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ONE_OR_MORE_END+")");break;case c.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+Y_ERMarkers.ONLY_ONE_END+")")}switch(r.relSpec.cardB){case c.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ZERO_OR_ONE_START+")");break;case c.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ZERO_OR_MORE_START+")");break;case c.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ONE_OR_MORE_START+")");break;case c.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+Y_ERMarkers.ONLY_ONE_START+")")}const _=l.node().getTotalLength(),g=l.node().getPointAtLength(.5*_),E="rel"+yt,y=t.append("text").classed("er relationshipLabel",!0).attr("id",E).attr("x",g.x).attr("y",g.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,I.g)().fontFamily).style("font-size",x.fontSize+"px").text(r.roleA).node().getBBox();t.insert("rect","#"+E).classed("er relationshipLabelBox",!0).attr("x",g.x-y.width/2).attr("y",g.y-y.height/2).attr("width",y.width).attr("height",y.height)}(l,Z,h,_,a)});const E=x.diagramPadding;kt.u.insertTitle(l,"entityTitleText",x.titleTopMargin,a.db.getDiagramTitle());const k=l.node().getBBox(),y=k.width+2*E,M=k.height+2*E;(0,bt.c)(l,M,y,x.useMaxWidth),l.attr("viewBox",`${k.x-E} ${k.y-E} ${y} ${M}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n`}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js b/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js deleted file mode 100644 index 6dd10304529..00000000000 --- a/pkg/apiserver-impl/ui/973.fabe6d6ee4bc5e5a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[973],{6973:(nt,O,_)=>{_.r(O),_.d(O,{diagram:()=>it});var m=_(2911),S=_(5703),W=_(9006),T=_(8814),t=_(855),v=_(9111),z=_(1775);_(2735),_(1764),_(6780);const k={},Y=(e,i,r)=>{const o=(0,t.g)().state.padding,s=2*(0,t.g)().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,d=e.append("text").attr("x",0).attr("y",(0,t.g)().state.titleShift).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.id),x=d.node().getBBox().width+s;let g,c=Math.max(x,p);c===p&&(c+=s);const E=e.node().getBBox();g=a-o,x>p&&(g=(p-c)/2+o),Math.abs(a-E.x)p&&(g=a-(x-p)/2);const f=1-(0,t.g)().state.textHeight;return e.insert("rect",":first-child").attr("x",g).attr("y",f).attr("class",r?"alt-composit":"composit").attr("width",c).attr("height",E.height+(0,t.g)().state.textHeight+(0,t.g)().state.titleShift+1).attr("rx","0"),d.attr("x",g+o),x<=p&&d.attr("x",a+(c-s)/2-x/2+o),e.insert("rect",":first-child").attr("x",g).attr("y",(0,t.g)().state.titleShift-(0,t.g)().state.textHeight-(0,t.g)().state.padding).attr("width",c).attr("height",3*(0,t.g)().state.textHeight).attr("rx",(0,t.g)().state.radius),e.insert("rect",":first-child").attr("x",g).attr("y",(0,t.g)().state.titleShift-(0,t.g)().state.textHeight-(0,t.g)().state.padding).attr("width",c).attr("height",E.height+3+2*(0,t.g)().state.textHeight).attr("rx",(0,t.g)().state.radius),e},C=function(e,i){const r=i.id,o={id:r,label:i.id,width:0,height:0},s=e.append("g").attr("id",r).attr("class","stateGroup");"start"===i.type&&(e=>{e.append("circle").attr("class","start-state").attr("r",(0,t.g)().state.sizeUnit).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit)})(s),"end"===i.type&&(e=>{e.append("circle").attr("class","end-state-outer").attr("r",(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+(0,t.g)().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",(0,t.g)().state.sizeUnit).attr("cx",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+2).attr("cy",(0,t.g)().state.padding+(0,t.g)().state.sizeUnit+2)})(s),("fork"===i.type||"join"===i.type)&&((e,i)=>{let r=(0,t.g)().state.forkWidth,o=(0,t.g)().state.forkHeight;if(i.parentId){let s=r;r=o,o=s}e.append("rect").style("stroke","black").style("fill","black").attr("width",r).attr("height",o).attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding)})(s,i),"note"===i.type&&((e,i)=>{i.attr("class","state-note");const r=i.append("rect").attr("x",0).attr("y",(0,t.g)().state.padding),o=i.append("g"),{textWidth:s,textHeight:l}=((e,i,r,o)=>{let s=0;const l=o.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(t.d.lineBreakRegex);let d=1.25*(0,t.g)().state.noteMargin;for(const B of a){const x=B.trim();if(x.length>0){const c=l.append("tspan");c.text(x),0===d&&(d+=c.node().getBBox().height),s+=d,c.attr("x",0+(0,t.g)().state.noteMargin),c.attr("y",0+s+1.25*(0,t.g)().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:s}})(e,0,0,o);r.attr("height",l+2*(0,t.g)().state.noteMargin),r.attr("width",s+2*(0,t.g)().state.noteMargin)})(i.note.text,s),"divider"===i.type&&(e=>{e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,t.g)().state.textHeight).attr("class","divider").attr("x2",2*(0,t.g)().state.textHeight).attr("y1",0).attr("y2",0)})(s),"default"===i.type&&0===i.descriptions.length&&((e,i)=>{const o=e.append("text").attr("x",2*(0,t.g)().state.padding).attr("y",(0,t.g)().state.textHeight+2*(0,t.g)().state.padding).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.id).node().getBBox();e.insert("rect",":first-child").attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding).attr("width",o.width+2*(0,t.g)().state.padding).attr("height",o.height+2*(0,t.g)().state.padding).attr("rx",(0,t.g)().state.radius)})(s,i),"default"===i.type&&i.descriptions.length>0&&((e,i)=>{const s=e.append("text").attr("x",2*(0,t.g)().state.padding).attr("y",(0,t.g)().state.textHeight+1.3*(0,t.g)().state.padding).attr("font-size",(0,t.g)().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=s.height,p=e.append("text").attr("x",(0,t.g)().state.padding).attr("y",l+.4*(0,t.g)().state.padding+(0,t.g)().state.dividerMargin+(0,t.g)().state.textHeight).attr("class","state-description");let a=!0,d=!0;i.descriptions.forEach(function(g){a||(function(g,E,f){const b=g.append("tspan").attr("x",2*(0,t.g)().state.padding).text(E);f||b.attr("dy",(0,t.g)().state.textHeight)}(p,g,d),d=!1),a=!1});const B=e.append("line").attr("x1",(0,t.g)().state.padding).attr("y1",(0,t.g)().state.padding+l+(0,t.g)().state.dividerMargin/2).attr("y2",(0,t.g)().state.padding+l+(0,t.g)().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,s.width);B.attr("x2",c+3*(0,t.g)().state.padding),e.insert("rect",":first-child").attr("x",(0,t.g)().state.padding).attr("y",(0,t.g)().state.padding).attr("width",c+2*(0,t.g)().state.padding).attr("height",x.height+l+2*(0,t.g)().state.padding).attr("rx",(0,t.g)().state.radius)})(s,i);const l=s.node().getBBox();return o.width=l.width+2*(0,t.g)().state.padding,o.height=l.height+2*(0,t.g)().state.padding,((e,i)=>{k[e]=i})(r,o),o};let w,H=0;const N={},et=e=>e?e.length*w.fontSizeFactor:1,R=(e,i,r,o,s,l,p)=>{const a=new T.k({compound:!0,multigraph:!0});let d,B=!0;for(d=0;d{const y=h.parentElement;let M=0,L=0;y&&(y.parentElement&&(M=y.parentElement.getBBox().width),L=parseInt(y.getAttribute("data-x-shift"),10),Number.isNaN(L)&&(L=0)),h.setAttribute("x1",0-L+8),h.setAttribute("x2",M-L-8)})):t.l.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let b=f.getBBox();a.edges().forEach(function(n){void 0!==n&&void 0!==a.edge(n)&&(t.l.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),function(e,i,r){i.points=i.points.filter(d=>!Number.isNaN(d.y));const s=i.points,l=(0,S.jvg)().x(function(d){return d.x}).y(function(d){return d.y}).curve(S.$0Z),p=e.append("path").attr("d",l(s)).attr("id","edge"+H).attr("class","transition");let a="";if((0,t.g)().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+function(d){switch(d){case m.d.relationType.AGGREGATION:return"aggregation";case m.d.relationType.EXTENSION:return"extension";case m.d.relationType.COMPOSITION:return"composition";case m.d.relationType.DEPENDENCY:return"dependency"}}(m.d.relationType.DEPENDENCY)+"End)"),void 0!==r.title){const d=e.append("g").attr("class","stateLabel"),{x:B,y:x}=v.u.calcLabelPosition(i.points),c=t.d.getRows(r.title);let g=0;const E=[];let f=0,b=0;for(let u=0;u<=c.length;u++){const h=d.append("text").attr("text-anchor","middle").text(c[u]).attr("x",B).attr("y",x+g),y=h.node().getBBox();f=Math.max(f,y.width),b=Math.min(b,y.x),t.l.info(y.x,B,x+g),0===g&&(g=h.node().getBBox().height,t.l.info("Title height",g,x)),E.push(h)}let P=g*c.length;if(c.length>1){const u=(c.length-1)*g*.5;E.forEach((h,y)=>h.attr("y",x+y*g-u)),P=g*c.length}const n=d.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",B-f/2-(0,t.g)().state.padding/2).attr("y",x-P/2-(0,t.g)().state.padding/2-3.5).attr("width",f+(0,t.g)().state.padding).attr("height",P+(0,t.g)().state.padding),t.l.info(n)}H++}(i,a.edge(n),a.edge(n).relation))}),b=f.getBBox();const P={id:r||"root",label:r||"root",width:0,height:0};return P.width=b.width+2*w.padding,P.height=b.height+2*w.padding,t.l.debug("Doc rendered",P,a),P},it={parser:m.p,db:m.d,renderer:{setConf:function(){},draw:function(e,i,r,o){w=(0,t.g)().state;const s=(0,t.g)().securityLevel;let l;"sandbox"===s&&(l=(0,S.Ys)("#i"+i));const p=(0,S.Ys)("sandbox"===s?l.nodes()[0].contentDocument.body:"body"),a="sandbox"===s?l.nodes()[0].contentDocument:document;t.l.debug("Rendering diagram "+e);const d=p.select(`[id='${i}']`);(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")})(d),new T.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const x=o.db.getRootDoc();R(x,d,void 0,!1,p,a,o);const c=w.padding,g=d.node().getBBox(),E=g.width+2*c,f=g.height+2*c;(0,z.c)(d,f,1.75*E,w.useMaxWidth),d.attr("viewBox",`${g.x-w.padding} ${g.y-w.padding} `+E+" "+f)}},styles:m.s,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,m.d.clear()}}}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/common.5c8a2e23d554c074.js b/pkg/apiserver-impl/ui/common.5c8a2e23d554c074.js new file mode 100644 index 00000000000..68c0794663a --- /dev/null +++ b/pkg/apiserver-impl/ui/common.5c8a2e23d554c074.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[592],{3057:(K,B,c)=>{c.d(B,{a:()=>A});var v=c(6257);function A(g,l){var S=g.append("foreignObject").attr("width","100000"),b=S.append("xhtml:div");b.attr("xmlns","http://www.w3.org/1999/xhtml");var P=l.label;switch(typeof P){case"function":b.insert(P);break;case"object":b.insert(function(){return P});break;default:b.html(P)}v.bg(b,l.labelStyle),b.style("display","inline-block"),b.style("white-space","nowrap");var I=b.node().getBoundingClientRect();return S.attr("width",I.width).attr("height",I.height),S}},6257:(K,B,c)=>{c.d(B,{$p:()=>I,O1:()=>l,WR:()=>D,bF:()=>g,bg:()=>P});var v=c(2031),A=c(2089);function g(n,e){return!!n.children(e).length}function l(n){return b(n.v)+":"+b(n.w)+":"+b(n.name)}var S=/:/g;function b(n){return n?String(n).replace(S,"\\:"):""}function P(n,e){e&&n.attr("style",e)}function I(n,e,o){e&&n.attr("class",e).attr("class",o+" "+n.attr("class"))}function D(n,e){var o=e.graph();if(v.Z(o)){var p=o.transition;if(A.Z(p))return p(n)}return n}},3987:(K,B,c)=>{c.d(B,{Z:()=>l});var v=c(8267),A=c(486);const l=(S,b)=>v.Z.lang.round(A.Z.parse(S)[b])},4455:(K,B,c)=>{c.d(B,{a:()=>Y,f:()=>U});var v=c(5861),A=c(8814),g=c(8586),l=c(9037),S=c(9547),b=c(3057),P=c(3987),I=c(3396);const D={},e=function(){var r=(0,v.Z)(function*(f,_,$,h,u,x){const k=h.select(`[id="${$}"]`),i=Object.keys(f);for(const y of i){const a=f[y];let L="default";a.classes.length>0&&(L=a.classes.join(" ")),L+=" flowchart-label";const E=(0,l.k)(a.styles);let d,t=void 0!==a.text?a.text:a.id;if(l.l.info("vertex",a,a.labelType),"markdown"===a.labelType)l.l.info("vertex",a,a.labelType);else if((0,l.m)((0,l.c)().flowchart.htmlLabels))d=(0,b.a)(k,{label:t}).node(),d.parentNode.removeChild(d);else{const M=u.createElementNS("http://www.w3.org/2000/svg","text");M.setAttribute("style",E.labelStyle.replace("color:","fill:"));const j=t.split(l.e.lineBreakRegex);for(const z of j){const N=u.createElementNS("http://www.w3.org/2000/svg","tspan");N.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),N.setAttribute("dy","1em"),N.setAttribute("x","1"),N.textContent=z,M.appendChild(N)}d=M}let w=0,s="";switch(a.type){case"round":w=5,s="rect";break;case"square":case"group":default:s="rect";break;case"diamond":s="question";break;case"hexagon":s="hexagon";break;case"odd":case"odd_right":s="rect_left_inv_arrow";break;case"lean_right":s="lean_right";break;case"lean_left":s="lean_left";break;case"trapezoid":s="trapezoid";break;case"inv_trapezoid":s="inv_trapezoid";break;case"circle":s="circle";break;case"ellipse":s="ellipse";break;case"stadium":s="stadium";break;case"subroutine":s="subroutine";break;case"cylinder":s="cylinder";break;case"doublecircle":s="doublecircle"}const W=yield(0,l.r)(t,(0,l.c)());_.setNode(a.id,{labelStyle:E.labelStyle,shape:s,labelText:W,labelType:a.labelType,rx:w,ry:w,class:L,style:E.style,id:a.id,link:a.link,linkTarget:a.linkTarget,tooltip:x.db.getTooltip(a.id)||"",domId:x.db.lookUpDomId(a.id),haveCallback:a.haveCallback,width:"group"===a.type?500:void 0,dir:a.dir,type:a.type,props:a.props,padding:(0,l.c)().flowchart.padding}),l.l.info("setNode",{labelStyle:E.labelStyle,labelType:a.labelType,shape:s,labelText:W,rx:w,ry:w,class:L,style:E.style,id:a.id,domId:x.db.lookUpDomId(a.id),width:"group"===a.type?500:void 0,type:a.type,dir:a.dir,props:a.props,padding:(0,l.c)().flowchart.padding})}});return function(_,$,h,u,x,k){return r.apply(this,arguments)}}(),o=function(){var r=(0,v.Z)(function*(f,_,$){l.l.info("abc78 edges = ",f);let x,k,h=0,u={};if(void 0!==f.defaultStyle){const i=(0,l.k)(f.defaultStyle);x=i.style,k=i.labelStyle}for(const i of f){h++;const y="L-"+i.start+"-"+i.end;void 0===u[y]?(u[y]=0,l.l.info("abc78 new entry",y,u[y])):(u[y]++,l.l.info("abc78 new entry",y,u[y]));let a=y+"-"+u[y];l.l.info("abc78 new link id to be used is",y,a,u[y]);const L="LS-"+i.start,E="LE-"+i.end,t={style:"",labelStyle:""};switch(t.minlen=i.length||1,t.arrowhead="arrow_open"===i.type?"none":"normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",i.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle"}let d="",w="";switch(i.stroke){case"normal":d="fill:none;",void 0!==x&&(d=x),void 0!==k&&(w=k),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;"}if(void 0!==i.style){const s=(0,l.k)(i.style);d=s.style,w=s.labelStyle}t.style=t.style+=d,t.labelStyle=t.labelStyle+=w,t.curve=(0,l.n)(void 0!==i.interpolate?i.interpolate:void 0!==f.defaultInterpolate?f.defaultInterpolate:D.curve,g.c_6),void 0===i.text?void 0!==i.style&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=i.labelType,t.label=yield(0,l.r)(i.text.replace(l.e.lineBreakRegex,"\n"),(0,l.c)()),void 0===i.style&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=a,t.classes="flowchart-link "+L+" "+E,_.setEdge(i.start,i.end,t,h)}});return function(_,$,h){return r.apply(this,arguments)}}(),U={setConf:function(r){const f=Object.keys(r);for(const _ of f)D[_]=r[_]},addVertices:e,addEdges:o,getClasses:function(r,f){return f.db.getClasses()},draw:function(){var r=(0,v.Z)(function*(f,_,$,h){l.l.info("Drawing flowchart");let u=h.db.getDirection();void 0===u&&(u="TD");const{securityLevel:x,flowchart:k}=(0,l.c)(),i=k.nodeSpacing||50,y=k.rankSpacing||50;let a;"sandbox"===x&&(a=(0,g.Ys)("#i"+_));const L=(0,g.Ys)("sandbox"===x?a.nodes()[0].contentDocument.body:"body"),E="sandbox"===x?a.nodes()[0].contentDocument:document,t=new A.k({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:i,ranksep:y,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let d;const w=h.db.getSubGraphs();l.l.info("Subgraphs - ",w);for(let m=w.length-1;m>=0;m--)d=w[m],l.l.info("Subgraph - ",d),h.db.addVertex(d.id,{text:d.title,type:d.labelType},"group",void 0,d.classes,d.dir);const s=h.db.getVertices(),W=h.db.getEdges();l.l.info("Edges",W);let M=0;for(M=w.length-1;M>=0;M--){d=w[M],(0,g.td_)("cluster").append("text");for(let m=0;m`.label {\n font-family: ${r.fontFamily};\n color: ${r.nodeTextColor||r.textColor};\n }\n .cluster-label text {\n fill: ${r.titleColor};\n }\n .cluster-label span,p {\n color: ${r.titleColor};\n }\n\n .label text,span,p {\n fill: ${r.nodeTextColor||r.textColor};\n color: ${r.nodeTextColor||r.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${r.mainBkg};\n stroke: ${r.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${r.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${r.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${r.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${r.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${r.edgeLabelBackground};\n fill: ${r.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((r,f)=>{const _=P.Z,$=_(r,"r"),h=_(r,"g"),u=_(r,"b");return I.Z($,h,u,.5)})(r.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${r.clusterBkg};\n stroke: ${r.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${r.titleColor};\n }\n\n .cluster span,p {\n color: ${r.titleColor};\n }\n /* .cluster div {\n color: ${r.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${r.fontFamily};\n font-size: 12px;\n background: ${r.tertiaryColor};\n border: 1px solid ${r.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${r.textColor};\n }\n`},3118:(K,B,c)=>{c.d(B,{a:()=>l,b:()=>P,c:()=>b,d:()=>g,e:()=>D,f:()=>S,g:()=>I});var v=c(6780),A=c(9037);const g=(n,e)=>{const o=n.append("rect");if(o.attr("x",e.x),o.attr("y",e.y),o.attr("fill",e.fill),o.attr("stroke",e.stroke),o.attr("width",e.width),o.attr("height",e.height),e.name&&o.attr("name",e.name),void 0!==e.rx&&o.attr("rx",e.rx),void 0!==e.ry&&o.attr("ry",e.ry),void 0!==e.attrs)for(const p in e.attrs)o.attr(p,e.attrs[p]);return void 0!==e.class&&o.attr("class",e.class),o},l=(n,e)=>{g(n,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},S=(n,e)=>{const o=e.text.replace(A.J," "),p=n.append("text");p.attr("x",e.x),p.attr("y",e.y),p.attr("class","legend"),p.style("text-anchor",e.anchor),void 0!==e.class&&p.attr("class",e.class);const C=p.append("tspan");return C.attr("x",e.x+2*e.textMargin),C.text(o),p},b=(n,e,o,p)=>{const C=n.append("image");C.attr("x",e),C.attr("y",o);const U=(0,v.N)(p);C.attr("xlink:href",U)},P=(n,e,o,p)=>{const C=n.append("use");C.attr("x",e),C.attr("y",o);const U=(0,v.N)(p);C.attr("xlink:href",`#${U}`)},I=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),D=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js b/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js deleted file mode 100644 index 71ee7458f91..00000000000 --- a/pkg/apiserver-impl/ui/common.a64b1ed6000c8d46.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[592],{5847:(G,B,b)=>{b.d(B,{Z:()=>M});var D=b(8267),y=b(486);const M=m=>!(m=>(m=>{const{r:N,g:L,b:$}=y.Z.parse(m),U=.2126*D.Z.channel.toLinear(N)+.7152*D.Z.channel.toLinear(L)+.0722*D.Z.channel.toLinear($);return D.Z.lang.round(U)})(m)>=.5)(m)},4724:(G,B,b)=>{b.d(B,{a:()=>Z,f:()=>O});var D=b(8814),y=b(5703),I=b(4976),s=b(855),v=b(9111),P=b(5963),R=b(3057),M=b(1775);const m={},L=function(t,n,E,i,f,u){const h=i.select(`[id="${E}"]`);Object.keys(t).forEach(function(c){const l=t[c];let k="default";l.classes.length>0&&(k=l.classes.join(" "));const w=(0,v.m)(l.styles);let o,e=void 0!==l.text?l.text:l.id;if((0,s.j)((0,s.g)().flowchart.htmlLabels)){const S={label:e.replace(/fa[blrs]?:fa-[\w-]+/g,g=>``)};o=(0,R.a)(h,S).node(),o.parentNode.removeChild(o)}else{const S=f.createElementNS("http://www.w3.org/2000/svg","text");S.setAttribute("style",w.labelStyle.replace("color:","fill:"));const g=e.split(s.d.lineBreakRegex);for(const A of g){const C=f.createElementNS("http://www.w3.org/2000/svg","tspan");C.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),C.setAttribute("dy","1em"),C.setAttribute("x","1"),C.textContent=A,S.appendChild(C)}o=S}let d=0,r="";switch(l.type){case"round":d=5,r="rect";break;case"square":case"group":default:r="rect";break;case"diamond":r="question";break;case"hexagon":r="hexagon";break;case"odd":case"odd_right":r="rect_left_inv_arrow";break;case"lean_right":r="lean_right";break;case"lean_left":r="lean_left";break;case"trapezoid":r="trapezoid";break;case"inv_trapezoid":r="inv_trapezoid";break;case"circle":r="circle";break;case"ellipse":r="ellipse";break;case"stadium":r="stadium";break;case"subroutine":r="subroutine";break;case"cylinder":r="cylinder";break;case"doublecircle":r="doublecircle"}n.setNode(l.id,{labelStyle:w.labelStyle,shape:r,labelText:e,rx:d,ry:d,class:k,style:w.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:u.db.getTooltip(l.id)||"",domId:u.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:"group"===l.type?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:(0,s.g)().flowchart.padding}),s.l.info("setNode",{labelStyle:w.labelStyle,shape:r,labelText:e,rx:d,ry:d,class:k,style:w.style,id:l.id,domId:u.db.lookUpDomId(l.id),width:"group"===l.type?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:(0,s.g)().flowchart.padding})})},$=function(t,n,E){s.l.info("abc78 edges = ",t);let u,h,i=0,f={};if(void 0!==t.defaultStyle){const a=(0,v.m)(t.defaultStyle);u=a.style,h=a.labelStyle}t.forEach(function(a){i++;var c="L-"+a.start+"-"+a.end;void 0===f[c]?(f[c]=0,s.l.info("abc78 new entry",c,f[c])):(f[c]++,s.l.info("abc78 new entry",c,f[c]));let l=c+"-"+f[c];s.l.info("abc78 new link id to be used is",c,l,f[c]);var k="LS-"+a.start,w="LE-"+a.end;const e={style:"",labelStyle:""};switch(e.minlen=a.length||1,e.arrowhead="arrow_open"===a.type?"none":"normal",e.arrowTypeStart="arrow_open",e.arrowTypeEnd="arrow_open",a.type){case"double_arrow_cross":e.arrowTypeStart="arrow_cross";case"arrow_cross":e.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":e.arrowTypeStart="arrow_point";case"arrow_point":e.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":e.arrowTypeStart="arrow_circle";case"arrow_circle":e.arrowTypeEnd="arrow_circle"}let o="",d="";switch(a.stroke){case"normal":o="fill:none;",void 0!==u&&(o=u),void 0!==h&&(d=h),e.thickness="normal",e.pattern="solid";break;case"dotted":e.thickness="normal",e.pattern="dotted",e.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":e.thickness="thick",e.pattern="solid",e.style="stroke-width: 3.5px;fill:none;";break;case"invisible":e.thickness="invisible",e.pattern="solid",e.style="stroke-width: 0;fill:none;"}if(void 0!==a.style){const r=(0,v.m)(a.style);o=r.style,d=r.labelStyle}e.style=e.style+=o,e.labelStyle=e.labelStyle+=d,e.curve=(0,v.n)(void 0!==a.interpolate?a.interpolate:void 0!==t.defaultInterpolate?t.defaultInterpolate:m.curve,y.c_6),void 0===a.text?void 0!==a.style&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c"),e.labelType="text",e.label=a.text.replace(s.d.lineBreakRegex,"\n"),void 0===a.style&&(e.style=e.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),e.labelStyle=e.labelStyle.replace("color:","fill:"),e.id=l,e.classes="flowchart-link "+k+" "+w,n.setEdge(a.start,a.end,e,i)})},O={setConf:function(t){const n=Object.keys(t);for(const E of n)m[E]=t[E]},addVertices:L,addEdges:$,getClasses:function(t,n){s.l.info("Extracting classes"),n.db.clear();try{return n.parse(t),n.db.getClasses()}catch{return}},draw:function(t,n,E,i){s.l.info("Drawing flowchart"),i.db.clear(),I.f.setGen("gen-2"),i.parser.parse(t);let f=i.db.getDirection();void 0===f&&(f="TD");const{securityLevel:u,flowchart:h}=(0,s.g)(),a=h.nodeSpacing||50,c=h.rankSpacing||50;let l;"sandbox"===u&&(l=(0,y.Ys)("#i"+n));const k=(0,y.Ys)("sandbox"===u?l.nodes()[0].contentDocument.body:"body"),w="sandbox"===u?l.nodes()[0].contentDocument:document,e=new D.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:a,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let o;const d=i.db.getSubGraphs();s.l.info("Subgraphs - ",d);for(let p=d.length-1;p>=0;p--)o=d[p],s.l.info("Subgraph - ",o),i.db.addVertex(o.id,o.title,"group",void 0,o.classes,o.dir);const r=i.db.getVertices(),S=i.db.getEdges();s.l.info("Edges",S);let g=0;for(g=d.length-1;g>=0;g--){o=d[g],(0,y.td_)("cluster").append("text");for(let p=0;p`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/index.html b/pkg/apiserver-impl/ui/index.html index 9a48204375a..67e3d6ca6f6 100644 --- a/pkg/apiserver-impl/ui/index.html +++ b/pkg/apiserver-impl/ui/index.html @@ -11,6 +11,6 @@
Loading, please wait...
- + \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/main.98d110f57059b473.js b/pkg/apiserver-impl/ui/main.98d110f57059b473.js new file mode 100644 index 00000000000..dd32c08ce4c --- /dev/null +++ b/pkg/apiserver-impl/ui/main.98d110f57059b473.js @@ -0,0 +1 @@ +(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[179],{6780:(rt,de)=>{"use strict";de.N=void 0;var j=/^([^\w]*)(javascript|data|vbscript)/im,J=/&#(\w+)(^\w|;)?/g,re=/&(newline|tab);/gi,q=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,z=/^.+(:|:)/gim,ae=[".","/"];de.N=function X(S){var oe=function _e(S){return S.replace(J,function(oe,Oe){return String.fromCharCode(Oe)})}(S||"").replace(re,"").replace(q,"").trim();if(!oe)return"about:blank";if(function me(S){return ae.indexOf(S[0])>-1}(oe))return oe;var Oe=oe.match(z);return Oe&&j.test(Oe[0])?"about:blank":oe}},300:(rt,de,M)=>{"use strict";function j(n){return"function"==typeof n}function J(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const re=J(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function q(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class z{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(j(i))try{i()}catch(o){t=o instanceof re?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{_e(o)}catch(a){t=t??[],a instanceof re?t=[...t,...a.errors]:t.push(a)}}if(t)throw new re(t)}}add(t){var e;if(t&&t!==this)if(this.closed)_e(t);else{if(t instanceof z){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&q(e,t)}remove(t){const{_finalizers:e}=this;e&&q(e,t),t instanceof z&&t._removeParent(this)}}z.EMPTY=(()=>{const n=new z;return n.closed=!0,n})();const ae=z.EMPTY;function me(n){return n instanceof z||n&&"closed"in n&&j(n.remove)&&j(n.add)&&j(n.unsubscribe)}function _e(n){j(n)?n():n.unsubscribe()}const X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},S={setTimeout(n,t,...e){const{delegate:i}=S;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=S;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function oe(n){S.setTimeout(()=>{const{onUnhandledError:t}=X;if(!t)throw n;t(n)})}function Oe(){}const Ne=pe("C",void 0,void 0);function pe(n,t,e){return{kind:n,value:t,error:e}}let he=null;function Ue(n){if(X.useDeprecatedSynchronousErrorHandling){const t=!he;if(t&&(he={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=he;if(he=null,e)throw i}}else n()}class pt extends z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,me(t)&&t.add(this)):this.destination=De}static create(t,e,i){return new dn(t,e,i)}next(t){this.isStopped?We(function Y(n){return pe("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?We(function be(n){return pe("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?We(Ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Tt=Function.prototype.bind;function cn(n,t){return Tt.call(n,t)}class Fe{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Qn(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Qn(i)}else Qn(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Qn(e)}}}class dn extends pt{constructor(t,e,i){let r;if(super(),j(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&X.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&cn(t.next,o),error:t.error&&cn(t.error,o),complete:t.complete&&cn(t.complete,o)}):r=t}this.destination=new Fe(r)}}function Qn(n){X.useDeprecatedSynchronousErrorHandling?function Xe(n){X.useDeprecatedSynchronousErrorHandling&&he&&(he.errorThrown=!0,he.error=n)}(n):oe(n)}function We(n,t){const{onStoppedNotification:e}=X;e&&S.setTimeout(()=>e(n,t))}const De={closed:!0,next:Oe,error:function Et(n){throw n},complete:Oe},xt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ge(n){return n}let at=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function Ut(n){return n&&n instanceof pt||function It(n){return n&&j(n.next)&&j(n.error)&&j(n.complete)}(n)&&me(n)}(e)?e:new dn(e,i,r);return Ue(()=>{const{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Pn(i))((r,o)=>{const a=new dn({next:c=>{try{e(c)}catch(u){o(u),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[xt](){return this}pipe(...e){return function zt(n){return 0===n.length?Ge:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Pn(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function Pn(n){var t;return null!==(t=n??X.Promise)&&void 0!==t?t:Promise}const yn=J(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ae=(()=>{class n extends at{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Jn(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new yn}next(e){Ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Ue(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?ae:(this.currentObservers=null,o.push(e),new z(()=>{this.currentObservers=null,q(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new at;return e.source=this,e}}return n.create=(t,e)=>new Jn(t,e),n})();class Jn extends Ae{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:ae}}function it(n){return t=>{if(function ut(n){return j(n?.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function lt(n,t,e,i,r){return new Cn(n,t,e,i,r)}class Cn extends pt{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(c){try{e(c)}catch(u){t.error(u)}}:super._next,this._error=r?function(c){try{r(c)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Vn(n,t){return it((e,i)=>{let r=0;e.subscribe(lt(i,o=>{i.next(n.call(t,o,r++))}))})}function Ii(n){return this instanceof Ii?(this.v=n,this):new Ii(n)}function Jo(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function kr(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(c,u){!function r(o,a,c,u){Promise.resolve(u).then(function(m){o({value:m,done:c})},a)}(c,u,(a=n[o](a)).done,a.value)})}}}const Aa=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ul(n){return j(n?.then)}function bd(n){return j(n[xt])}function hl(n){return Symbol.asyncIterator&&j(n?.[Symbol.asyncIterator])}function ml(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ta=function ur(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ia(n){return j(n?.[ta])}function Fa(n){return function xs(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(F){i[F]&&(r[F]=function(O){return new Promise(function(V,U){o.push([F,O,V,U])>1||c(F,O)})})}function c(F,O){try{!function u(F){F.value instanceof Ii?Promise.resolve(F.value.v).then(m,g):C(o[0][2],F)}(i[F](O))}catch(V){C(o[0][3],V)}}function m(F){c("next",F)}function g(F){c("throw",F)}function C(F,O){F(O),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield Ii(e.read());if(r)return yield Ii(void 0);yield yield Ii(i)}}finally{e.releaseLock()}})}function fl(n){return j(n?.getReader)}function ii(n){if(n instanceof at)return n;if(null!=n){if(bd(n))return function Lt(n){return new at(t=>{const e=n[xt]();if(j(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Aa(n))return function pl(n){return new at(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,oe)})}(n);if(hl(n))return Di(n);if(Ia(n))return function ws(n){return new at(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(fl(n))return function yd(n){return Di(Fa(n))}(n)}throw ml(n)}function Di(n){return new at(t=>{(function Fi(n,t){var e,i,r,o;return function _n(n,t,e,i){return new(e||(e=Promise))(function(o,a){function c(g){try{m(i.next(g))}catch(C){a(C)}}function u(g){try{m(i.throw(g))}catch(C){a(C)}}function m(g){g.done?o(g.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(g.value).then(c,u)}m((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Jo(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function lo(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function ir(n,t,e=1/0){return j(t)?ir((i,r)=>Vn((o,a)=>t(i,o,r,a))(ii(n(i,r))),e):("number"==typeof t&&(e=t),it((i,r)=>function di(n,t,e,i,r,o,a,c){const u=[];let m=0,g=0,C=!1;const F=()=>{C&&!u.length&&!m&&t.complete()},O=U=>m{o&&t.next(U),m++;let ie=!1;ii(e(U,g++)).subscribe(lt(t,ue=>{r?.(ue),o?O(ue):t.next(ue)},()=>{ie=!0},void 0,()=>{if(ie)try{for(m--;u.length&&mV(ue)):V(ue)}F()}catch(ue){t.error(ue)}}))};return n.subscribe(lt(t,O,()=>{C=!0,F()})),()=>{c?.()}}(i,r,n,e)))}function gl(n=1/0){return ir(Ge,n)}const na=new at(n=>n.complete());function _l(n){return n&&j(n.schedule)}function Fo(n){return n[n.length-1]}function ia(n){return j(Fo(n))?n.pop():void 0}function co(n){return _l(Fo(n))?n.pop():void 0}function bl(n,t=0){return it((e,i)=>{e.subscribe(lt(i,r=>lo(i,n,()=>i.next(r),t),()=>lo(i,n,()=>i.complete(),t),r=>lo(i,n,()=>i.error(r),t)))})}function Oo(n,t=0){return it((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function xl(n,t){if(!n)throw new Error("Iterable cannot be null");return new at(e=>{lo(e,t,()=>{const i=n[Symbol.asyncIterator]();lo(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function hr(n,t){return t?function ra(n,t){if(null!=n){if(bd(n))return function yl(n,t){return ii(n).pipe(Oo(t),bl(t))}(n,t);if(Aa(n))return function hc(n,t){return new at(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(ul(n))return function vl(n,t){return ii(n).pipe(Oo(t),bl(t))}(n,t);if(hl(n))return xl(n,t);if(Ia(n))return function Cl(n,t){return new at(e=>{let i;return lo(e,t,()=>{i=n[ta](),lo(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>j(i?.return)&&i.return()})}(n,t);if(fl(n))return function mc(n,t){return xl(Fa(n),t)}(n,t)}throw ml(n)}(n,t):ii(n)}function on(...n){const t=co(n),e=function uc(n,t){return"number"==typeof Fo(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?ii(i[0]):gl(e)(hr(i,t)):na}function Ds(n={}){const{connector:t=(()=>new Ae),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,c,u,m=0,g=!1,C=!1;const F=()=>{c?.unsubscribe(),c=void 0},O=()=>{F(),a=u=void 0,g=C=!1},V=()=>{const U=a;O(),U?.unsubscribe()};return it((U,ie)=>{m++,!C&&!g&&F();const ue=u=u??t();ie.add(()=>{m--,0===m&&!C&&!g&&(c=Ts(V,r))}),ue.subscribe(ie),!a&&m>0&&(a=new dn({next:Le=>ue.next(Le),error:Le=>{C=!0,F(),c=Ts(O,e,Le),ue.error(Le)},complete:()=>{g=!0,F(),c=Ts(O,i),ue.complete()}}),ii(U).subscribe(a))})(o)}}function Ts(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new dn({next:()=>{i.unsubscribe(),n()}});return ii(t(...e)).subscribe(i)}function Hn(n){for(let t in n)if(n[t]===Hn)return t;throw Error("Could not find renamed property on target object.")}function Oa(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Un(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Un).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function es(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Oi=Hn({__forward_ref__:Hn});function Wt(n){return n.__forward_ref__=Wt,n.toString=function(){return Un(this())},n}function Pt(n){return Po(n)?n():n}function Po(n){return"function"==typeof n&&n.hasOwnProperty(Oi)&&n.__forward_ref__===Wt}function Pa(n){return n&&!!n.\u0275providers}const Ti="https://g.co/ng/security#xss";class Ce extends Error{constructor(t,e){super(Ra(t,e)),this.code=t}}function Ra(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function _t(n){return"string"==typeof n?n:null==n?"":String(n)}function ks(n,t){throw new Ce(-201,!1)}function Sr(n,t){null==n&&function kn(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function B(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Se(n){return{providers:n.providers||[],imports:n.imports||[]}}function An(n){return yi(n,pi)||yi(n,gr)}function yi(n,t){return n.hasOwnProperty(t)?n[t]:null}function Lo(n){return n&&(n.hasOwnProperty(pr)||n.hasOwnProperty(Qf))?n[pr]:null}const pi=Hn({\u0275prov:Hn}),pr=Hn({\u0275inj:Hn}),gr=Hn({ngInjectableDef:Hn}),Qf=Hn({ngInjectorDef:Hn});var Kt=(()=>((Kt=Kt||{})[Kt.Default=0]="Default",Kt[Kt.Host=1]="Host",Kt[Kt.Self=2]="Self",Kt[Kt.SkipSelf=4]="SkipSelf",Kt[Kt.Optional=8]="Optional",Kt))();let Ou;function Wr(n){const t=Ou;return Ou=n,t}function wd(n,t,e){const i=An(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Kt.Optional?null:void 0!==t?t:void ks(Un(n))}const Fn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),bc={},Td="__NG_DI_FLAG__",Ed="ngTempTokenPath",Md="ngTokenPath",Pu=/\n/gm,sa="\u0275",Dl="__source";let Ss;function uo(n){const t=Ss;return Ss=n,t}function ns(n,t=Kt.Default){if(void 0===Ss)throw new Ce(-203,!1);return null===Ss?wd(n,void 0,t):Ss.get(n,t&Kt.Optional?null:void 0,t)}function te(n,t=Kt.Default){return(function No(){return Ou}()||ns)(Pt(n),t)}function qn(n,t=Kt.Default){return te(n,rr(t))}function rr(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Tl(n){const t=[];for(let e=0;e((Li=Li||{})[Li.OnPush=0]="OnPush",Li[Li.Default=1]="Default",Li))(),ho=(()=>{return(n=ho||(ho={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",ho;var n})();const is={},Sn=[],kd=Hn({\u0275cmp:Hn}),vc=Hn({\u0275dir:Hn}),Is=Hn({\u0275pipe:Hn}),Sd=Hn({\u0275mod:Hn}),mo=Hn({\u0275fac:Hn}),Cc=Hn({__NG_ELEMENT_ID__:Hn});let Ru=0;function et(n){return As(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Li.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Sn,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||ho.Emulated,id:"c"+Ru++,styles:n.styles||Sn,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,a=n.features;return r.inputs=la(n.inputs,i),r.outputs=la(n.outputs),a&&a.forEach(c=>c(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Lu).filter(fm):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(_r).filter(fm):null,r})}function Lu(n){return Wn(n)||li(n)}function fm(n){return null!==n}function sn(n){return As(()=>({type:n.type,bootstrap:n.bootstrap||Sn,declarations:n.declarations||Sn,imports:n.imports||Sn,exports:n.exports||Sn,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function la(n,t){if(null==n)return is;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const xe=et;function Gr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Wn(n){return n[kd]||null}function li(n){return n[vc]||null}function _r(n){return n[Is]||null}const Os=0,gt=1,un=2,ri=3,Bo=4,Ml=5,Ir=6,kl=7,ei=8,Sl=9,Ad=10,vn=11,pm=12,ca=13,Nu=14,xc=15,br=16,Na=17,Al=18,Ps=19,wc=20,Bu=21,ui=22,gm=1,_m=2,Dc=7,Vu=8,Tc=9,qr=10;function Yr(n){return Array.isArray(n)&&"object"==typeof n[gm]}function rs(n){return Array.isArray(n)&&!0===n[gm]}function bm(n){return 0!=(4&n.flags)}function Id(n){return n.componentOffset>-1}function Fd(n){return 1==(1&n.flags)}function Co(n){return null!==n.template}function C_(n){return 0!=(256&n[un])}function Il(n,t){return n.hasOwnProperty(mo)?n[mo]:null}class E_{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ci(){return Hu}function Hu(n){return n.type.prototype.ngOnChanges&&(n.setInput=k_),M_}function M_(){const n=vm(this),t=n?.current;if(t){const e=n.previous;if(e===is)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function k_(n,t,e,i){const r=this.declaredInputs[e],o=vm(n)||function lp(n,t){return n[ap]=t}(n,{previous:is,current:null}),a=o.current||(o.current={}),c=o.previous,u=c[r];a[r]=new E_(u&&u.currentValue,t,c===is),n[i]=t}ci.ngInherit=!0;const ap="__ngSimpleChanges__";function vm(n){return n[ap]||null}const fo=function(n,t,e){},po="svg";function Zi(n){for(;Array.isArray(n);)n=n[Os];return n}function Ec(n,t){return Zi(t[n])}function Kr(n,t){return Zi(t[n.index])}function Od(n,t){return n.data[t]}function Ba(n,t){return n[t]}function Xr(n,t){const e=t[n];return Yr(e)?e:e[Os]}function Va(n){return 64==(64&n[un])}function Qr(n,t){return null==t?null:n[t]}function Pd(n){n[Al]=0}function Vi(n,t){n[Ml]+=t;let e=n,i=n[ri];for(;null!==i&&(1===t&&1===e[Ml]||-1===t&&0===e[Ml]);)i[Ml]+=t,e=i,i=i[ri]}const kt={lFrame:A_(null),bindingsEnabled:!0};function Vo(){return kt.bindingsEnabled}function Te(){return kt.lFrame.lView}function Tn(){return kt.lFrame.tView}function He(n){return kt.lFrame.contextLView=n,n[ei]}function je(n){return kt.lFrame.contextLView=null,n}function yr(){let n=Gu();for(;null!==n&&64===n.type;)n=n.parent;return n}function Gu(){return kt.lFrame.currentTNode}function Ls(n,t){const e=kt.lFrame;e.currentTNode=n,e.isParent=t}function wm(){return kt.lFrame.isParent}function Zu(){kt.lFrame.isParent=!1}function Fr(){const n=kt.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Nd(){return kt.lFrame.bindingIndex++}function $a(n){const t=kt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function S_(n,t){const e=kt.lFrame;e.bindingIndex=e.bindingRootIndex=n,Qu(t)}function Qu(n){kt.lFrame.currentDirectiveIndex=n}function Bd(n){const t=kt.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Vd(){return kt.lFrame.currentQueryIndex}function Ju(n){kt.lFrame.currentQueryIndex=n}function Sc(n){const t=n[gt];return 2===t.type?t.declTNode:1===t.type?n[Ir]:null}function Dm(n,t,e){if(e&Kt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&Kt.Host||(r=Sc(o),null===r||(o=o[xc],10&r.type))););if(null===r)return!1;t=r,n=o}const i=kt.lFrame=Hd();return i.currentTNode=t,i.lView=n,!0}function eh(n){const t=Hd(),e=n[gt];kt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Hd(){const n=kt.lFrame,t=null===n?null:n.child;return null===t?A_(n):t}function A_(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function up(){const n=kt.lFrame;return kt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Ho=up;function Ac(){const n=up();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function qi(){return kt.lFrame.selectedIndex}function da(n){kt.lFrame.selectedIndex=n}function gi(){const n=kt.lFrame;return Od(n.tView,n.selectedIndex)}function ua(){kt.lFrame.currentNamespace=po}function $d(){!function Tm(){kt.lFrame.currentNamespace=null}()}function jd(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[u]<0&&(n[Al]+=65536),(c>11>16&&(3&n[un])===t){n[un]+=2048,fo(4,c,o);try{o.call(c)}finally{fo(5,c,o)}}}else{fo(4,c,o);try{o.call(c)}finally{fo(5,c,o)}}}const Ua=-1;class Fl{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Oc(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[xc],e--;return i}let rh=!0;function Nc(n){const t=rh;return rh=n,t}const Sm=255,_p=5;let I_=0;const as={};function Bc(n,t){const e=Am(n,t);if(-1!==e)return e;const i=t[gt];i.firstCreatePass&&(n.injectorIndex=t.length,oh(i.data,n),oh(t,null),oh(i.blueprint,null));const r=sh(n,t),o=n.injectorIndex;if(Rc(r)){const a=Zd(r),c=Lc(r,t),u=c[gt].data;for(let m=0;m<8;m++)t[o+m]=c[a+m]|u[a+m]}return t[o+8]=r,o}function oh(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Am(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function sh(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=hh(r),null===i)return Ua;if(e++,r=r[xc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Ua}function ah(n,t,e){!function F_(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Cc)&&(i=e[Cc]),null==i&&(i=e[Cc]=I_++);const r=i&Sm;t.data[n+(r>>_p)]|=1<=0?t&Sm:Rm:t}(e);if("function"==typeof o){if(!Dm(t,n,i))return i&Kt.Host?Im(r,0,i):Fm(t,e,i,r);try{const a=o(i);if(null!=a||i&Kt.Optional)return a;ks()}finally{Ho()}}else if("number"==typeof o){let a=null,c=Am(n,t),u=Ua,m=i&Kt.Host?t[br][Ir]:null;for((-1===c||i&Kt.SkipSelf)&&(u=-1===c?sh(n,t):t[c+8],u!==Ua&&dh(i,!1)?(a=t[gt],c=Zd(u),t=Lc(u,t)):c=-1);-1!==c;){const g=t[gt];if(Pm(o,c,g.data)){const C=Ol(c,t,e,a,i,m);if(C!==as)return C}u=t[c+8],u!==Ua&&dh(i,t[gt].data[c+8]===m)&&Pm(o,c,t)?(a=g,c=Zd(u),t=Lc(u,t)):c=-1}}return r}function Ol(n,t,e,i,r,o){const a=t[gt],c=a.data[n+8],g=Pl(c,a,e,null==i?Id(c)&&rh:i!=a&&0!=(3&c.type),r&Kt.Host&&o===c);return null!==g?Ga(t,a,g,c):as}function Pl(n,t,e,i,r){const o=n.providerIndexes,a=t.data,c=1048575&o,u=n.directiveStart,g=o>>20,F=r?c+g:n.directiveEnd;for(let O=i?c:c+g;O=u&&V.type===e)return O}if(r){const O=a[u];if(O&&Co(O)&&O.type===e)return u}return null}function Ga(n,t,e,i){let r=n[e];const o=t.data;if(function Em(n){return n instanceof Fl}(r)){const a=r;a.resolving&&function Es(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new Ce(-200,`Circular dependency in DI detected for ${n}${e}`)}(function wn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():_t(n)}(o[e]));const c=Nc(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Wr(a.injectImpl):null;Dm(n,i,Kt.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function mp(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=Hu(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,a)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==u&&Wr(u),Nc(c),a.resolving=!1,Ho()}}return r}function Pm(n,t,e){return!!(e[t+(n>>_p)]&1<{const t=n.prototype.constructor,e=t[mo]||Ll(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[mo]||Ll(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ll(n){return Po(n)?()=>{const t=Ll(Pt(n));return t&&t()}:Il(n)}function hh(n){const t=n[gt],e=t.type;return 2===e?t.declTNode:1===e?n[Ir]:null}function go(n){return function lh(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function mh(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return c.annotation=a,c;function c(u,m,g){const C=u.hasOwnProperty(Za)?u[Za]:Object.defineProperty(u,Za,{value:[]})[Za];for(;C.length<=g;)C.push(null);return(C[g]=C[g]||[]).push(a),u}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class ye{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=B({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Or(n,t){n.forEach(e=>Array.isArray(e)?Or(e,t):t(e))}function ls(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Vl(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Hl(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function qd(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Yd(n,t){const e=wo(n,t);if(e>=0)return n[1|e]}function wo(n,t){return function zc(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),ds=yc(qa("Optional"),8),zl=yc(qa("SkipSelf"),4);var Jr=(()=>((Jr=Jr||{})[Jr.Important=1]="Important",Jr[Jr.DashCase=2]="DashCase",Jr))();const Ya=new Map;let Np=0;const xh="__ngContext__";function or(n,t){Yr(t)?(n[xh]=t[wc],function Ki(n){Ya.set(n[wc],n)}(t)):n[xh]=t}let Th;function Zc(n,t){return Th(n,t)}function $o(n){const t=n[ri];return rs(t)?t[ri]:t}function eu(n){return Eh(n[ca])}function tu(n){return Eh(n[Bo])}function Eh(n){for(;null!==n&&!rs(n);)n=n[Bo];return n}function Wl(n,t,e,i,r){if(null!=i){let o,a=!1;rs(i)?o=i:Yr(i)&&(a=!0,i=i[Os]);const c=Zi(i);0===n&&null!==e?null==r?Qe(t,e,c):Ee(t,e,c,r||null,!0):1===n&&null!==e?Ee(t,e,c,r||null,!0):2===n?function ru(n,t,e){const i=qt(n,t);i&&function Q(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,c,a):3===n&&t.destroyNode(c),null!=o&&function Qm(n,t,e,i,r){const o=e[Dc];o!==Zi(e)&&Wl(t,n,i,o,r);for(let c=qr;c0&&(n[e-1][Bo]=i[Bo]);const o=Vl(n,qr+t);!function kh(n,t){qc(n,t,t[vn],2,null,null),t[Os]=null,t[Ir]=null}(i[gt],i);const a=o[Ps];null!==a&&a.detachView(o[gt]),i[ri]=null,i[Bo]=null,i[un]&=-65}return i}function x(n,t){if(!(128&t[un])){const e=t[vn];e.destroyNode&&qc(n,t,e,3,null,null),function Km(n){let t=n[ca];if(!t)return k(n[gt],n);for(;t;){let e=null;if(Yr(t))e=t[ca];else{const i=t[qr];i&&(e=i)}if(!e){for(;t&&!t[Bo]&&t!==n;)Yr(t)&&k(t[gt],t),t=t[ri];null===t&&(t=n),Yr(t)&&k(t[gt],t),e=t&&t[Bo]}t=e}}(t)}}function k(n,t){if(!(128&t[un])){t[un]&=-65,t[un]|=128,function H(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=a]():i[r=-a].unsubscribe(),o+=2}else{const a=i[r=e[o+1]];e[o].call(a)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===ho.None||o===ho.Emulated)return null}return Kr(i,e)}}(n,t.parent,e)}function Ee(n,t,e,i,r){n.insertBefore(t,e,i,r)}function Qe(n,t,e){n.appendChild(t,e)}function Me(n,t,e,i,r){null!==i?Ee(n,t,e,i,r):Qe(n,t,e)}function qt(n,t){return n.parentNode(t)}function pn(n,t,e){return St(n,t,e)}let Pr,ql,Gp,ef,St=function an(n,t,e){return 40&n.type?Kr(n,e):null};function Ei(n,t,e,i){const r=ne(n,i,t),o=t[vn],c=pn(i.parent||t[Ir],i,t);if(null!=r)if(Array.isArray(e))for(let u=0;un,createScript:n=>n,createScriptURL:n=>n})}catch{}return ql}()?.createHTML(n)||n}function Zp(n){return function Mi(){if(void 0===ef&&(ef=null,Fn.trustedTypes))try{ef=Fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return ef}()?.createHTML(n)||n}class Yc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ti})`}}class qp extends Yc{getTypeName(){return"HTML"}}class ya extends Yc{getTypeName(){return"Style"}}class au extends Yc{getTypeName(){return"Script"}}class to extends Yc{getTypeName(){return"URL"}}class Ih extends Yc{getTypeName(){return"ResourceURL"}}function no(n){return n instanceof Yc?n.changingThisBreaksApplicationSecurity:n}function Uo(n,t){const e=function Av(n){return n instanceof Yc&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Ti})`)}return e===t}class Fv{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(su(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class tf{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=su(t),e}}const Iw=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Fh(n){return(n=String(n)).match(Iw)?n:"unsafe:"+n}function Xa(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Oh(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const U_=Xa("area,br,col,hr,img,wbr"),W_=Xa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),G_=Xa("rp,rt"),Z_=Oh(U_,Oh(W_,Xa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Oh(G_,Xa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Oh(G_,W_)),nf=Xa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),q_=Oh(nf,Xa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Lv=Xa("script,style,template");class Nv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Z_.hasOwnProperty(e))return this.sanitizedSomething=!0,!Lv.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Z_.hasOwnProperty(e)&&!U_.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Y_(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Bv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vv=/([^\#-~ |!])/g;function Y_(n){return n.replace(/&/g,"&").replace(Bv,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Vv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let js;function Ph(n,t){let e=null;try{js=js||function Xp(n){const t=new tf(n);return function Ov(){try{return!!(new window.DOMParser).parseFromString(su(""),"text/html")}catch{return!1}}()?new Fv(t):t}(n);let i=t?String(t):"";e=js.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=js.getInertBodyElement(i)}while(i!==o);return su((new Nv).sanitizeChildren(lu(e)||e))}finally{if(e){const i=lu(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function lu(n){return"content"in n&&function Hv(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var zn=(()=>((zn=zn||{})[zn.NONE=0]="NONE",zn[zn.HTML=1]="HTML",zn[zn.STYLE=2]="STYLE",zn[zn.SCRIPT=3]="SCRIPT",zn[zn.URL=4]="URL",zn[zn.RESOURCE_URL=5]="RESOURCE_URL",zn))();function K_(n){const t=Xc();return t?Zp(t.sanitize(zn.HTML,n)||""):Uo(n,"HTML")?Zp(no(n)):Ph(function $_(){return void 0!==Gp?Gp:typeof document<"u"?document:void 0}(),_t(n))}function Jp(n){const t=Xc();return t?t.sanitize(zn.URL,n)||"":Uo(n,"URL")?no(n):Fh(_t(n))}function Xc(){const n=Te();return n&&n[pm]}const J_=new ye("ENVIRONMENT_INITIALIZER"),rf=new ye("INJECTOR",-1),eb=new ye("INJECTOR_DEF_TYPES");class sf{get(t,e=bc){if(e===bc){const i=new Error(`NullInjectorError: No provider for ${Un(t)}!`);throw i.name="NullInjectorError",i}return e}}function ng(...n){return{\u0275providers:ig(0,n),\u0275fromNgModule:!0}}function ig(n,...t){const e=[],i=new Set;let r;return Or(t,o=>{const a=o;af(a,e,[],i)&&(r||(r=[]),r.push(a))}),void 0!==r&&tb(r,e),e}function tb(n,t){for(let e=0;e{t.push(o)})}}function af(n,t,e,i){if(!(n=Pt(n)))return!1;let r=null,o=Lo(n);const a=!o&&Wn(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const u=n.ngModule;if(o=Lo(u),!o)return!1;r=u}const c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){const u="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const m of u)af(m,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let m;i.add(r);try{Or(o.imports,g=>{af(g,t,e,i)&&(m||(m=[]),m.push(g))})}finally{}void 0!==m&&tb(m,t)}if(!c){const m=Il(r)||(()=>new r);t.push({provide:r,useFactory:m,deps:Sn},{provide:eb,useValue:r,multi:!0},{provide:J_,useValue:()=>te(r),multi:!0})}const u=o.providers;null==u||c||lf(u,g=>{t.push(g)})}}return r!==n&&void 0!==n.providers}function lf(n,t){for(let e of n)Pa(e)&&(e=e.\u0275providers),Array.isArray(e)?lf(e,t):t(e)}const Wv=Hn({provide:String,useValue:Hn});function cf(n){return null!==n&&"object"==typeof n&&Wv in n}function Kl(n){return"function"==typeof n}const Rh=new ye("Set Injector scope."),Qc={},rb={};let df;function uf(){return void 0===df&&(df=new sf),df}class Jc{}class og extends Jc{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sg(t,a=>this.processProvider(a)),this.records.set(rf,cu(void 0,this)),r.has("environment")&&this.records.set(Jc,cu(void 0,this));const o=this.records.get(Rh);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(eb.multi,Sn,Kt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=uo(this),i=Wr(void 0);try{return t()}finally{uo(e),Wr(i)}}get(t,e=bc,i=Kt.Default){this.assertNotDestroyed(),i=rr(i);const r=uo(this),o=Wr(void 0);try{if(!(i&Kt.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function qv(n){return"function"==typeof n||"object"==typeof n&&n instanceof ye}(t)&&An(t);c=u&&this.injectableDefInScope(u)?cu(hf(t),Qc):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&Kt.Self?uf():this.parent).get(t,e=i&Kt.Optional&&e===bc?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[Ed]=a[Ed]||[]).unshift(Un(t)),r)throw a;return function ep(n,t,e,i){const r=n[Ed];throw t[Dl]&&r.unshift(t[Dl]),n.message=function hm(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==sa?n.slice(2):n;let r=Un(t);if(Array.isArray(t))r=t.map(Un).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+("string"==typeof c?JSON.stringify(c):Un(c)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(Pu,"\n ")}`}("\n"+n.message,r,e,i),n[Md]=r,n[Ed]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{Wr(o),uo(r)}}resolveInjectorInitializers(){const t=uo(this),e=Wr(void 0);try{const i=this.get(J_.multi,Sn,Kt.Self);for(const r of i)r()}finally{uo(t),Wr(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(Un(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ce(205,!1)}processProvider(t){let e=Kl(t=Pt(t))?t:Pt(t&&t.provide);const i=function mf(n){return cf(n)?cu(void 0,n.useValue):cu(ob(n),Qc)}(t);if(Kl(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=cu(void 0,Qc,!0),r.factory=()=>Tl(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Qc&&(e.value=rb,e.value=e.factory()),"object"==typeof e.value&&e.value&&function du(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Pt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function hf(n){const t=An(n),e=null!==t?t.factory:Il(n);if(null!==e)return e;if(n instanceof ye)throw new Ce(204,!1);if(n instanceof Function)return function Gv(n){const t=n.length;if(t>0)throw Hl(t,"?"),new Ce(204,!1);const e=function Ri(n){const t=n&&(n[pi]||n[gr]);return t?(function Ar(n){if(n.hasOwnProperty("name"))return n.name;(""+n).match(/^function\s*([^\s(]+)/)}(n),t):null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new Ce(204,!1)}function ob(n,t,e){let i;if(Kl(n)){const r=Pt(n);return Il(r)||hf(r)}if(cf(n))i=()=>Pt(n.useValue);else if(function rg(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Tl(n.deps||[]));else if(function nb(n){return!(!n||!n.useExisting)}(n))i=()=>te(Pt(n.useExisting));else{const r=Pt(n&&(n.useClass||n.provide));if(!function Zv(n){return!!n.deps}(n))return Il(r)||hf(r);i=()=>new r(...Tl(n.deps))}return i}function cu(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function sg(n,t){for(const e of n)Array.isArray(e)?sg(e,t):e&&Pa(e)?sg(e.\u0275providers,t):t(e)}class Yv{}class sb{}class Kv{resolveComponentFactory(t){throw function ab(n){const t=Error(`No component factory found for ${Un(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let uu=(()=>{class n{}return n.NULL=new Kv,n})();function s(){return d(yr(),Te())}function d(n,t){return new h(Kr(n,t))}let h=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=s,n})();function p(n){return n instanceof h?n.nativeElement:n}class b{}let w=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function D(){const n=Te(),e=Xr(yr().index,n);return(Yr(e)?e:n)[vn]}(),n})(),I=(()=>{class n{}return n.\u0275prov=B({token:n,providedIn:"root",factory:()=>null}),n})();class P{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const R=new P("15.2.2"),$={},ee="ngOriginalError";function le(n){return n[ee]}class ze{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&le(t);for(;e&&le(e);)e=le(e);return e||null}}function G(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Ke="ng-template";function ve(n,t,e){let i=0;for(;io?"":r[C+1].toLowerCase();const O=8&i?F:null;if(O&&-1!==G(O,m,0)||2&i&&m!==F){if(ht(i))return!1;a=!0}}}}else{if(!a&&!ht(i)&&!ht(u))return!1;if(a&&ht(u))continue;a=!1,i=u|1&i}}return ht(i)||a}function ht(n){return 0==(1&n)}function $t(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+c+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!ht(a)&&(t+=Ln(o,r),r=""),i=a,o=o||!ht(i);e++}return""!==r&&(t+=Ln(o,r)),t}const qe={};function T(n){ki(Tn(),Te(),qi()+n,!1)}function ki(n,t,e,i){if(!i)if(3==(3&t[un])){const o=n.preOrderCheckHooks;null!==o&&ja(t,o,e)}else{const o=n.preOrderHooks;null!==o&&th(t,o,0,e)}da(e)}function Bw(n,t=null,e=null,i){const r=Vw(n,t,e,i);return r.resolveInjectorInitializers(),r}function Vw(n,t=null,e=null,i,r=new Set){const o=[e||Sn,ng(n)];return i=i||("object"==typeof n?void 0:Un(n)),new og(o,t||uf(),i||null,r)}let Wo=(()=>{class n{static create(e,i){if(Array.isArray(e))return Bw({name:""},i,e,"");{const r=e.name??"";return Bw({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=bc,n.NULL=new sf,n.\u0275prov=B({token:n,providedIn:"any",factory:()=>te(rf)}),n.__NG_ELEMENT_ID__=-1,n})();function E(n,t=Kt.Default){const e=Te();return null===e?te(n,t):Om(yr(),e,Pt(n),t)}function ag(){throw new Error("invalid")}function Gw(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;iui&&ki(n,t,ui,!1),fo(a?2:0,r),e(i,r)}finally{da(o),fo(a?3:1,r)}}function r0(n,t,e){if(bm(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=c&&a.push(c),a.push(e,i,o)}}(n,t,i,lg(n,e,r.hostVars,qe),r)}function Ql(n,t,e,i,r,o){const a=Kr(n,t);!function d0(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const c=null==a?_t(o):a(o,i||"",r);n.setAttribute(t,r,c,e)}}(t[vn],a,o,n.value,e,i,r)}function _F(n,t,e,i,r,o){const a=o[t];if(null!==a){const c=i.setInput;for(let u=0;u0&&u0(e)}}function u0(n){for(let i=eu(n);null!==i;i=tu(i))for(let r=qr;r0&&u0(o)}const e=n[gt].components;if(null!==e)for(let i=0;i0&&u0(r)}}function xF(n,t){const e=Xr(t,n),i=e[gt];(function wF(n,t){for(let e=t.length;e-1&&(_(t,i),Vl(e,i))}this._attachedToViewContainer=!1}x(this._lView[gt],this._lView)}onDestroy(t){Yw(this._lView[gt],this._lView,null,t)}markForCheck(){h0(this._cdRefInjectingView||this._lView)}detach(){this._lView[un]&=-65}reattach(){this._lView[un]|=64}detectChanges(){mb(this._lView[gt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ce(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Wp(n,t){qc(n,t,t[vn],2,null,null)}(this._lView[gt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ce(902,!1);this._appRef=t}}class DF extends cg{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;mb(t[gt],t,t[ei],!1)}checkNoChanges(){}get context(){return null}}class a1 extends uu{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Wn(t);return new dg(e,this.ngModule)}}function l1(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class EF{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=rr(i);const r=this.injector.get(t,$,i);return r!==$||e===$?r:this.parentInjector.get(t,e,i)}}class dg extends sb{get inputs(){return l1(this.componentDef.inputs)}get outputs(){return l1(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function ot(n){return n.map(ji).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Jc?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new EF(t,o):t,c=a.get(b,null);if(null===c)throw new Ce(407,!1);const u=a.get(I,null),m=c.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",C=i?function nF(n,t,e){return n.selectRootElement(t,e===ho.ShadowDom)}(m,i,this.componentDef.encapsulation):Gl(m,g,function TF(n){const t=n.toLowerCase();return"svg"===t?po:"math"===t?"math":null}(g)),F=this.componentDef.onPush?288:272,O=a0(0,null,null,1,0,null,null,null,null,null),V=db(null,O,null,F,null,null,c,m,u,a,null);let U,ie;eh(V);try{const ue=this.componentDef;let Le,ge=null;ue.findHostDirectiveDefs?(Le=[],ge=new Map,ue.findHostDirectiveDefs(ue,Le,ge),Le.push(ue)):Le=[ue];const ft=function kF(n,t){const e=n[gt],i=ui;return n[i]=t,pf(e,i,2,"#host",null)}(V,C),jn=function SF(n,t,e,i,r,o,a,c){const u=r[gt];!function AF(n,t,e,i){for(const r of n)t.mergedAttrs=Wa(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(fb(t,t.mergedAttrs,!0),null!==e&&Jm(i,e,t))}(i,n,t,a);const m=o.createRenderer(t,e),g=db(r,qw(e),null,e.onPush?32:16,r[n.index],n,o,m,c||null,null,null);return u.firstCreatePass&&c0(u,n,i.length-1),hb(r,g),r[n.index]=g}(ft,C,ue,Le,V,c,m);ie=Od(O,ui),C&&function FF(n,t,e,i){if(i)Oc(n,e,["ng-version",R.full]);else{const{attrs:r,classes:o}=function ln(n){const t=[],e=[];let i=1,r=2;for(;i0&&ba(n,e,o.join(" "))}}(m,ue,C,i),void 0!==e&&function OF(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Wa(r.hostAttrs,e=Wa(e,r.hostAttrs))}}(i)}function p0(n){return n===is?{}:n===Sn?[]:n}function LF(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function NF(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function BF(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function gb(n){return!!g0(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function g0(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Jl(n,t,e){return n[t]=e}function To(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Lh(n,t,e,i){const r=To(n,t,e);return To(n,t+1,i)||r}function bt(n,t,e,i){const r=Te();return To(r,Nd(),t)&&(Tn(),Ql(gi(),r,n,t,e,i)),bt}function _f(n,t,e,i){return To(n,Nd(),e)?t+_t(e)+i:qe}function bf(n,t,e,i,r,o){const c=Lh(n,function os(){return kt.lFrame.bindingIndex}(),e,r);return $a(2),c?t+_t(e)+i+_t(r)+o:qe}function K(n,t,e,i,r,o,a,c){const u=Te(),m=Tn(),g=n+ui,C=m.firstCreatePass?function qF(n,t,e,i,r,o,a,c,u){const m=t.consts,g=pf(t,n,4,a||null,Qr(m,c));l0(t,e,g,Qr(m,u)),jd(t,g);const C=g.tView=a0(2,g,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m);return null!==t.queries&&(t.queries.template(t,g),C.queries=t.queries.embeddedTView(g)),g}(g,m,u,t,e,i,r,o,a):m.data[g];Ls(C,!1);const F=u[vn].createComment("");Ei(m,u,F,C),or(F,u),hb(u,u[g]=t1(F,u,F,C)),Fd(C)&&o0(m,u,C),null!=a&&s0(u,C,c)}function Go(n){return Ba(function vv(){return kt.lFrame.contextLView}(),ui+n)}function N(n,t,e){const i=Te();return To(i,Nd(),t)&&Us(Tn(),gi(),i,n,t,i[vn],e,!1),N}function _0(n,t,e,i,r){const a=r?"class":"style";f0(n,e,t.inputs[a],a,i)}function y(n,t,e,i){const r=Te(),o=Tn(),a=ui+n,c=r[vn],u=o.firstCreatePass?function KF(n,t,e,i,r,o){const a=t.consts,u=pf(t,n,2,i,Qr(a,r));return l0(t,e,u,Qr(a,o)),null!==u.attrs&&fb(u,u.attrs,!1),null!==u.mergedAttrs&&fb(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(a,o,r,t,e,i):o.data[a],m=r[a]=Gl(c,t,function hp(){return kt.lFrame.currentNamespace}()),g=Fd(u);return Ls(u,!0),Jm(c,m,u),32!=(32&u.flags)&&Ei(o,r,m,u),0===function Rd(){return kt.lFrame.elementDepthCount}()&&or(m,r),function Ld(){kt.lFrame.elementDepthCount++}(),g&&(o0(o,r,u),r0(o,u,r)),null!==i&&s0(r,u),y}function v(){let n=yr();wm()?Zu():(n=n.parent,Ls(n,!1));const t=n;!function cp(){kt.lFrame.elementDepthCount--}();const e=Tn();return e.firstCreatePass&&(jd(e,n),bm(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function ih(n){return 0!=(8&n.flags)}(t)&&_0(e,t,Te(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Wd(n){return 0!=(16&n.flags)}(t)&&_0(e,t,Te(),t.stylesWithoutHost,!1),v}function Pe(n,t,e,i){return y(n,t,e,i),v(),Pe}function io(n,t,e){const i=Te(),r=Tn(),o=n+ui,a=r.firstCreatePass?function XF(n,t,e,i,r){const o=t.consts,a=Qr(o,i),c=pf(t,n,8,"ng-container",a);return null!==a&&fb(c,a,!0),l0(t,e,c,Qr(o,r)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,r,i,t,e):r.data[o];Ls(a,!0);const c=i[o]=i[vn].createComment("");return Ei(r,i,c,a),or(c,i),Fd(a)&&(o0(r,i,a),r0(r,a,i)),null!=e&&s0(i,a),io}function ro(){let n=yr();const t=Tn();return wm()?Zu():(n=n.parent,Ls(n,!1)),t.firstCreatePass&&(jd(t,n),bm(n)&&t.queries.elementEnd(n)),ro}function Nt(){return Te()}function bb(n){return!!n&&"function"==typeof n.then}function w1(n){return!!n&&"function"==typeof n.subscribe}const D1=w1;function ce(n,t,e,i){const r=Te(),o=Tn(),a=yr();return T1(o,r,r[vn],a,n,t,i),ce}function b0(n,t){const e=yr(),i=Te(),r=Tn();return T1(r,i,o1(Bd(r.data),e,i),e,n,t),b0}function T1(n,t,e,i,r,o,a){const c=Fd(i),m=n.firstCreatePass&&r1(n),g=t[ei],C=n1(t);let F=!0;if(3&i.type||a){const U=Kr(i,t),ie=a?a(U):U,ue=C.length,Le=a?ft=>a(Zi(ft[i.index])):i.index;let ge=null;if(!a&&c&&(ge=function QF(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ou?c[u]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==ge)(ge.__ngLastListenerFn__||ge).__ngNextListenerFn__=o,ge.__ngLastListenerFn__=o,F=!1;else{o=M1(i,t,g,o,!1);const ft=e.listen(ie,r,o);C.push(o,ft),m&&m.push(r,Le,ue,ue+1)}}else o=M1(i,t,g,o,!1);const O=i.outputs;let V;if(F&&null!==O&&(V=O[r])){const U=V.length;if(U)for(let ie=0;ie-1?Xr(n.index,t):t);let u=E1(t,e,i,a),m=o.__ngNextListenerFn__;for(;m;)u=E1(t,e,m,a)&&u,m=m.__ngNextListenerFn__;return r&&!1===u&&(a.preventDefault(),a.returnValue=!1),u}}function Z(n=1){return function zd(n){return(kt.lFrame.contextLView=function Ic(n,t){for(;n>0;)t=t[xc],n--;return t}(n,kt.lFrame.contextLView))[ei]}(n)}function JF(n,t){let e=null;const i=function Xi(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function v0(n){return 2|n}function Nh(n){return(131068&n)>>2}function C0(n,t){return-131069&n|t<<2}function x0(n){return 1|n}function L1(n,t,e,i,r){const o=n[e+1],a=null===t;let c=i?mu(o):Nh(o),u=!1;for(;0!==c&&(!1===u||a);){const g=n[c+1];oO(n[c],t)&&(u=!0,n[c+1]=i?x0(g):v0(g)),c=i?mu(g):Nh(g)}u&&(n[e+1]=i?v0(o):x0(o))}function oO(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&wo(n,t)>=0}const Lr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function N1(n){return n.substring(Lr.key,Lr.keyEnd)}function B1(n,t){const e=Lr.textEnd;return e===t?-1:(t=Lr.keyEnd=function cO(n,t,e){for(;t32;)t++;return t}(n,Lr.key=t,e),Tf(n,t,e))}function Tf(n,t,e){for(;t=0;e=B1(t,e))Ni(n,N1(t),!0)}function Qa(n,t,e,i){const r=Te(),o=Tn(),a=$a(2);o.firstUpdatePass&&U1(o,n,a,i),t!==qe&&To(r,a,t)&&G1(o,o.data[qi()],r,r[vn],n,r[a+1]=function vO(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=Un(no(n)))),n}(t,e),i,a)}function j1(n,t){return t>=n.expandoStartIndex}function U1(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[qi()],a=j1(n,e);q1(o,i)&&null===t&&!a&&(t=!1),t=function fO(n,t,e,i){const r=Bd(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=fg(e=w0(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=w0(r,n,t,e,i),null===o){let u=function pO(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Nh(i))return n[mu(i)]}(n,t,i);void 0!==u&&Array.isArray(u)&&(u=w0(null,n,t,u[1],i),u=fg(u,t.attrs,i),function gO(n,t,e,i){n[mu(e?t.classBindings:t.styleBindings)]=i}(n,t,i,u))}else o=function _O(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(m=!0)):g=e,r)if(0!==u){const F=mu(n[c+1]);n[i+1]=yb(F,c),0!==F&&(n[F+1]=C0(n[F+1],i)),n[c+1]=function tO(n,t){return 131071&n|t<<17}(n[c+1],i)}else n[i+1]=yb(c,0),0!==c&&(n[c+1]=C0(n[c+1],i)),c=i;else n[i+1]=yb(u,0),0===c?c=i:n[u+1]=C0(n[u+1],i),u=i;m&&(n[i+1]=v0(n[i+1])),L1(n,g,i,!0),L1(n,g,i,!1),function rO(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&wo(o,t)>=0&&(e[i+1]=x0(e[i+1]))}(t,g,n,i,o),a=yb(c,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function w0(n,t,e,i,r){let o=null;const a=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c0;){const u=n[r],m=Array.isArray(u),g=m?u[1]:u,C=null===g;let F=e[r+1];F===qe&&(F=C?Sn:void 0);let O=C?Yd(F,i):g===i?F:void 0;if(m&&!vb(O)&&(O=Yd(u,i)),vb(O)&&(c=O,a))return c;const V=n[r+1];r=a?mu(V):Nh(V)}if(null!==t){let u=o?t.residualClasses:t.residualStyles;null!=u&&(c=Yd(u,i))}return c}function vb(n){return void 0!==n}function q1(n,t){return 0!=(n.flags&(t?8:16))}function A(n,t=""){const e=Te(),i=Tn(),r=n+ui,o=i.firstCreatePass?pf(i,r,1,t,null):i.data[r],a=e[r]=function Mh(n,t){return n.createText(t)}(e[vn],t);Ei(i,e,a,o),Ls(o,!1)}function Rt(n){return hi("",n,""),Rt}function hi(n,t,e){const i=Te(),r=_f(i,n,t,e);return r!==qe&&ed(i,qi(),r),hi}function pg(n,t,e,i,r){const o=Te(),a=bf(o,n,t,e,i,r);return a!==qe&&ed(o,qi(),a),pg}function nD(n,t,e){!function Ja(n,t,e,i){const r=Tn(),o=$a(2);r.firstUpdatePass&&U1(r,null,o,i);const a=Te();if(e!==qe&&To(a,o,e)){const c=r.data[qi()];if(q1(c,i)&&!j1(r,o)){let u=i?c.classesWithoutHost:c.stylesWithoutHost;null!==u&&(e=es(u,e||"")),_0(r,c,a,e,i)}else!function yO(n,t,e,i,r,o,a,c){r===qe&&(r=Sn);let u=0,m=0,g=0>20;if(Kl(n)||!n.multi){const O=new Fl(u,r,E),V=S0(c,t,r?g:g+F,C);-1===V?(ah(Bc(m,a),o,c),k0(o,n,t.length),t.push(c),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),e.push(O),a.push(O)):(e[V]=O,a[V]=O)}else{const O=S0(c,t,g+F,C),V=S0(c,t,g,g+F),ie=V>=0&&e[V];if(r&&!ie||!r&&!(O>=0&&e[O])){ah(Bc(m,a),o,c);const ue=function NP(n,t,e,i,r){const o=new Fl(n,e,E);return o.multi=[],o.index=t,o.componentProviders=0,VD(o,r,i&&!e),o}(r?LP:RP,e.length,r,i,u);!r&&ie&&(e[V].providerFactory=ue),k0(o,n,t.length,0),t.push(c),m.directiveStart++,m.directiveEnd++,r&&(m.providerIndexes+=1048576),e.push(ue),a.push(ue)}else k0(o,n,O>-1?O:V,VD(e[r?V:O],u,!r&&i));!r&&i&&ie&&e[V].componentProviders++}}}function k0(n,t,e,i){const r=Kl(t),o=function ib(n){return!!n.useClass}(t);if(r||o){const u=(o?Pt(t.useClass):t).prototype.ngOnDestroy;if(u){const m=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const g=m.indexOf(e);-1===g?m.push(e,[i,u]):m[g+1].push(i,u)}else m.push(e,u)}}}function VD(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function S0(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function PP(n,t,e){const i=Tn();if(i.firstCreatePass){const r=Co(n);M0(e,i.data,i.blueprint,r,!0),M0(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class kf{}class BP{}class HD extends kf{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new a1(this);const i=function Zr(n,t){const e=n[Sd]||null;if(!e&&!0===t)throw new Error(`Type ${Un(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Bt(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=Vw(t,e,[{provide:kf,useValue:this},{provide:uu,useValue:this.componentFactoryResolver}],Un(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class I0 extends BP{constructor(t){super(),this.moduleType=t}create(t){return new HD(this.moduleType,t)}}class HP extends kf{constructor(t,e,i){super(),this.componentFactoryResolver=new a1(this),this.instance=null;const r=new og([...t,{provide:kf,useValue:this},{provide:uu,useValue:this.componentFactoryResolver}],e||uf(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let zP=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=ig(0,e.type),r=i.length>0?function zD(n,t,e=null){return new HP(n,t,e).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=B({token:n,providedIn:"environment",factory:()=>new n(te(Jc))}),n})();function $D(n){n.getStandaloneInjector=t=>t.get(zP).getOrCreateStandaloneInjector(n)}function el(n,t,e){const i=Fr()+n,r=Te();return r[i]===qe?Jl(r,i,e?t.call(e):t()):function ug(n,t){return n[t]}(r,i)}function KD(n,t,e,i,r){return function QD(n,t,e,i,r,o,a){const c=t+e;return Lh(n,c,r,o)?Jl(n,c+2,a?i.call(a,r,o):i(r,o)):Cg(n,c+2)}(Te(),Fr(),n,t,e,i,r)}function Cg(n,t){const e=n[t];return e===qe?void 0:e}function XD(n,t,e,i,r,o){const a=t+e;return To(n,a,r)?Jl(n,a+1,o?i.call(o,r):i(r)):Cg(n,a+1)}function xg(n,t){const e=Tn();let i;const r=n+ui;e.firstCreatePass?(i=function iR(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Il(i.type)),a=Wr(E);try{const c=Nc(!1),u=o();return Nc(c),function YF(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,Te(),r,u),u}finally{Wr(a)}}function wg(n,t,e){const i=n+ui,r=Te(),o=Ba(r,i);return function Dg(n,t){return n[gt].data[t].pure}(r,i)?XD(r,Fr(),t,o.transform,e,o):o.transform(e)}function O0(n){return t=>{setTimeout(n,void 0,t)}}const Ve=class lR extends Ae{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const u=t;r=u.next?.bind(u),o=u.error?.bind(u),a=u.complete?.bind(u)}this.__isAsync&&(o=O0(o),r&&(r=O0(r)),a&&(a=O0(a)));const c=super.subscribe({next:r,error:o,complete:a});return t instanceof z&&t.add(c),c}};function cR(){return this._results[Symbol.iterator]()}class fu{get changes(){return this._changes||(this._changes=new Ve)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=fu.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=cR)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function _i(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ns(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=hR,n})();const dR=Cr,uR=class extends dR{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tView,r=db(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[Na]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Ps];return null!==a&&(r[Ps]=a.createEmbeddedView(i)),n0(i,r,t),new cg(r)}};function hR(){return Tb(yr(),Te())}function Tb(n,t){return 4&n.type?new uR(t,n,d(n,t)):null}let xr=(()=>{class n{}return n.__NG_ELEMENT_ID__=mR,n})();function mR(){return rT(yr(),Te())}const fR=xr,nT=class extends fR{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return d(this._hostTNode,this._hostLView)}get injector(){return new Rl(this._hostTNode,this._hostLView)}get parentInjector(){const t=sh(this._hostTNode,this._hostLView);if(Rc(t)){const e=Lc(t,this._hostLView),i=Zd(t);return new Rl(e[gt].data[i+8],e)}return new Rl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=iT(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-qr}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedView(e||{},o);return this.insert(a,r),a}createComponent(t,e,i,r,o){const a=t&&!function Bl(n){return"function"==typeof n}(t);let c;if(a)c=e;else{const C=e||{};c=C.index,i=C.injector,r=C.projectableNodes,o=C.environmentInjector||C.ngModuleRef}const u=a?t:new dg(Wn(t)),m=i||this.parentInjector;if(!o&&null==u.ngModule){const F=(a?m:this.parentInjector).get(Jc,null);F&&(o=F)}const g=u.create(m,r,void 0,o);return this.insert(g.hostView,c),g}insert(t,e){const i=t._lView,r=i[gt];if(function Ha(n){return rs(n[ri])}(i)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const C=i[ri],F=new nT(C,C[Ir],C[ri]);F.detach(F.indexOf(t))}}const o=this._adjustIndex(e),a=this._lContainer;!function Do(n,t,e,i){const r=qr+i,o=e.length;i>0&&(e[r-1][Bo]=t),i0)i.push(a[c/2]);else{const m=o[c+1],g=t[-u];for(let C=qr;C{class n{constructor(e){this.appInits=e,this.resolve=kb,this.reject=kb,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:c,error:u})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(te(kT,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const If=new ye("AppId",{providedIn:"root",factory:function ST(){return`${U0()}${U0()}${U0()}`}});function U0(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const AT=new ye("Platform Initializer"),Eg=new ye("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Nr=new ye("AnimationModuleType"),nc=new ye("LocaleId",{providedIn:"root",factory:()=>qn(nc,Kt.Optional|Kt.SkipSelf)||function HR(){return typeof $localize<"u"&&$localize.locale||Mf}()}),WR=(()=>Promise.resolve(0))();function W0(n){typeof Zone>"u"?WR.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Ht{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ve(!1),this.onMicrotaskEmpty=new Ve(!1),this.onStable=new Ve(!1),this.onError=new Ve(!1),typeof Zone>"u")throw new Ce(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function GR(){let n=Fn.requestAnimationFrame,t=Fn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function YR(n){const t=()=>{!function qR(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Fn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Z0(n),n.isCheckStableRunning=!0,G0(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Z0(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,c)=>{try{return OT(n),e.invokeTask(r,o,a,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),PT(n)}},onInvoke:(e,i,r,o,a,c,u)=>{try{return OT(n),e.invoke(r,o,a,c,u)}finally{n.shouldCoalesceRunChangeDetection&&t(),PT(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Z0(n),G0(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ht.isInAngularZone())throw new Ce(909,!1)}static assertNotInAngularZone(){if(Ht.isInAngularZone())throw new Ce(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,ZR,kb,kb);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const ZR={};function G0(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Z0(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function OT(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function PT(n){n._nesting--,G0(n)}class KR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ve,this.onMicrotaskEmpty=new Ve,this.onStable=new Ve,this.onError=new Ve}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const RT=new ye(""),Ab=new ye("");let K0,q0=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,K0||(function XR(n){K0=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ht.assertNotInAngularZone(),W0(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())W0(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(te(Ht),te(Y0),te(Ab))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})(),Y0=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return K0?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const td=!1;let pu=null;const LT=new ye("AllowMultipleToken"),X0=new ye("PlatformDestroyListeners"),QR=new ye("appBootstrapListener");function BT(n,t,e=[]){const i=`Platform: ${t}`,r=new ye(i);return(o=[])=>{let a=Q0();if(!a||a.injector.get(LT,!1)){const c=[...e,...o,{provide:r,useValue:!0}];n?n(c):function tL(n){if(pu&&!pu.get(LT,!1))throw new Ce(400,!1);pu=n;const t=n.get(HT);(function NT(n){const t=n.get(AT,null);t&&t.forEach(e=>e())})(n)}(function VT(n=[],t){return Wo.create({name:t,providers:[{provide:Rh,useValue:"platform"},{provide:X0,useValue:new Set([()=>pu=null])},...n]})}(c,i))}return function iL(n){const t=Q0();if(!t)throw new Ce(401,!1);return t}()}}function Q0(){return pu?.get(HT)??null}let HT=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function $T(n,t){let e;return e="noop"===n?new KR:("zone.js"===n?void 0:n)||new Ht(t),e}(i?.ngZone,function zT(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Ht,useValue:r}];return r.run(()=>{const a=Wo.create({providers:o,parent:this.injector,name:e.moduleType.name}),c=e.create(a),u=c.injector.get(ze,null);if(!u)throw new Ce(402,!1);return r.runOutsideAngular(()=>{const m=r.onError.subscribe({next:g=>{u.handleError(g)}});c.onDestroy(()=>{Ib(this._modules,c),m.unsubscribe()})}),function jT(n,t,e){try{const i=e();return bb(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(u,r,()=>{const m=c.injector.get(Sb);return m.runInitializers(),m.donePromise.then(()=>(function pD(n){Sr(n,"Expected localeId to be defined"),"string"==typeof n&&(fD=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(nc,Mf)||Mf),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,i=[]){const r=UT({},i);return function JR(n,t,e){const i=new I0(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Mg);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Ce(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ce(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(X0,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(te(Wo))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function UT(n,t){return Array.isArray(t)?t.reduce(UT,n):{...n,...t}}let Mg=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new at(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),a=new at(c=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{Ht.assertNotInAngularZone(),W0(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{Ht.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),m.unsubscribe()}});this.isStable=on(o,a.pipe(Ds()))}bootstrap(e,i){const r=e instanceof sb;if(!this._injector.get(Sb).done){!r&&function Fs(n){const t=Wn(n)||li(n)||_r(n);return null!==t&&t.standalone}(e);throw new Ce(405,td)}let a;a=r?e:this._injector.get(uu).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const c=function eL(n){return n.isBoundToModule}(a)?void 0:this._injector.get(kf),m=a.create(Wo.NULL,[],i||a.selector,c),g=m.location.nativeElement,C=m.injector.get(RT,null);return C?.registerApplication(g),m.onDestroy(()=>{this.detachView(m.hostView),Ib(this.components,m),C?.unregisterApplication(g)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new Ce(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Ib(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(QR,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ib(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Ce(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(te(Ht),te(Jc),te(ze))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ib(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let ti=(()=>{class n{}return n.__NG_ELEMENT_ID__=oL,n})();function oL(n){return function sL(n,t,e){if(Id(n)&&!e){const i=Xr(n.index,t);return new cg(i,i)}return 47&n.type?new cg(t[br],t):null}(yr(),Te(),16==(16&n))}class YT{constructor(){}supports(t){return gb(t)}create(t){return new hL(t)}}const uL=(n,t)=>t;class hL{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||uL}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,c,a,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new mL(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new KT),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new KT),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mL{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class fL{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class KT{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new fL,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function XT(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new gL(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class gL{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function JT(){return new Pb([new YT])}let Pb=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||JT()),deps:[[n,new zl,new ds]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new Ce(901,!1)}}return n.\u0275prov=B({token:n,providedIn:"root",factory:JT}),n})();function eE(){return new kg([new QT])}let kg=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||eE()),deps:[[n,new zl,new ds]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new Ce(901,!1)}}return n.\u0275prov=B({token:n,providedIn:"root",factory:eE}),n})();const yL=BT(null,"core",[]);let vL=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(te(Mg))},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();let rC=null;function nd(){return rC}class wL{}const en=new ye("DocumentToken");let tE=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:function(){return function DL(){return te(nE)}()},providedIn:"platform"}),n})(),nE=(()=>{class n extends tE{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nd().getBaseHref(this._doc)}onPopState(e){const i=nd().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=nd().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){iE()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){iE()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:function(){return function TL(){return new nE(te(en))}()},providedIn:"platform"}),n})();function iE(){return!!window.history.pushState}function rE(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function oE(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Hh(n){return n&&"?"!==n[0]?"?"+n:n}let oC=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:function(){return qn(ML)},providedIn:"root"}),n})();const EL=new ye("appBaseHref");let ML=(()=>{class n extends oC{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??qn(en).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return rE(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Hh(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+Hh(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+Hh(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(te(tE),te(EL,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),sE=(()=>{class n{constructor(e){this._subject=new Ve,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function AL(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(oE(aE(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Hh(i))}normalize(e){return n.stripTrailingSlash(function SL(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,aE(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hh(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hh(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Hh,n.joinWithSlash=rE,n.stripTrailingSlash=oE,n.\u0275fac=function(e){return new(e||n)(te(oC))},n.\u0275prov=B({token:n,factory:function(){return function kL(){return new sE(te(oC))}()},providedIn:"root"}),n})();function aE(n){return n.replace(/\/index.html$/,"")}function gE(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const pC=/\s+/,_E=[];let Ff=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=_E,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(pC):_E}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(pC):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(pC).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(E(Pb),E(kg),E(h),E(w))},n.\u0275dir=xe({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class p2{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let fs=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new p2(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const c=i.get(o);i.move(c,a),vE(c,r)}});for(let r=0,o=i.length;r{vE(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(E(xr),E(Cr),E(Pb))},n.\u0275dir=xe({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function vE(n,t){n.context.$implicit=t.item}let Si=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new _2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){CE("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){CE("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(E(xr),E(Cr))},n.\u0275dir=xe({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class _2{constructor(){this.$implicit=null,this.ngIf=null}}function CE(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Un(t)}'.`)}class gC{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Of=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),Ub=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new gC(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(E(xr),E(Cr),E(Of,9))},n.\u0275dir=xe({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),xE=(()=>{class n{constructor(e,i,r){r._addDefault(new gC(e,i))}}return n.\u0275fac=function(e){return new(e||n)(E(xr),E(Cr),E(Of,9))},n.\u0275dir=xe({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),DE=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(E(xr))},n.\u0275dir=xe({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ci]}),n})();class v2{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class C2{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const x2=new C2,w2=new v2;let _C=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(bb(e))return x2;if(w1(e))return w2;throw function il(n,t){return new Ce(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(E(ti,16))},n.\u0275pipe=Gr({name:"async",type:n,pure:!1,standalone:!0}),n})(),TE=(()=>{class n{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=EE}transform(e,i=EE){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(a=>{this.keyValues.push(function L2(n,t){return{key:n,value:t}}(a.key,a.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}}return n.\u0275fac=function(e){return new(e||n)(E(kg,16))},n.\u0275pipe=Gr({name:"keyvalue",type:n,pure:!1,standalone:!0}),n})();function EE(n,t){const e=n.key,i=t.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();const ME="browser";function kE(n){return n===ME}class AE{}class gN extends wL{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class xC extends gN{static makeCurrent(){!function xL(n){rC||(rC=n)}(new xC)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function _N(){return Fg=Fg||document.querySelector("base"),Fg?Fg.getAttribute("href"):null}();return null==e?null:function bN(n){Zb=Zb||document.createElement("a"),Zb.setAttribute("href",n);const t=Zb.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Fg=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return gE(document.cookie,t)}}let Zb,Fg=null;const RE=new ye("TRANSITION_ID"),vN=[{provide:kT,useFactory:function yN(n,t,e){return()=>{e.get(Sb).donePromise.then(()=>{const i=nd(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const qb=new ye("EventManagerPlugins");let Yb=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})(),Og=(()=>{class n extends NE{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const wC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},DC=/%COMP%/g,HE=new ye("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function zE(n,t){return t.flat(100).map(e=>e.replace(DC,n))}function $E(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let Kb=(()=>{class n{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new TC(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof WE?r.applyToHost(e):r instanceof EC&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestory;switch(i.encapsulation){case ho.Emulated:o=new WE(a,c,i,this.appId,u);break;case ho.ShadowDom:return new SN(a,c,e,i);default:o=new EC(a,c,i,u)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(te(Yb),te(Og),te(If),te(HE))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();class TC{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(wC[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(UE(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(UE(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=wC[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=wC[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Jr.DashCase|Jr.Important)?t.style.setProperty(e,i,r&Jr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Jr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,$E(i)):this.eventManager.addEventListener(t,e,$E(i))}}function UE(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class SN extends TC{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=zE(r.id,r.styles);for(const a of o){const c=document.createElement("style");c.textContent=a,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class EC extends TC{constructor(t,e,i,r,o=i.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=zE(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class WE extends EC{constructor(t,e,i,r,o){const a=r+"-"+i.id;super(t,e,i,o,a),this.contentAttr=function EN(n){return"_ngcontent-%COMP%".replace(DC,n)}(a),this.hostAttr=function MN(n){return"_nghost-%COMP%".replace(DC,n)}(a)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let AN=(()=>{class n extends LE{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const GE=["alt","control","meta","shift"],IN={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},FN={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let ON=(()=>{class n extends LE{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nd().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),GE.forEach(m=>{const g=i.indexOf(m);g>-1&&(i.splice(g,1),a+=m+".")}),a+=o,0!=i.length||0===o.length)return null;const u={};return u.domEventName=r,u.fullKey=a,u}static matchEventFullKeyCode(e,i){let r=IN[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),GE.forEach(a=>{a!==r&&(0,FN[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const NN=BT(yL,"browser",[{provide:Eg,useValue:ME},{provide:AT,useValue:function PN(){xC.makeCurrent()},multi:!0},{provide:en,useFactory:function LN(){return function Sv(n){Gp=n}(document),document},deps:[]}]),YE=new ye(""),KE=[{provide:Ab,useClass:class CN{addToWindow(t){Fn.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Fn.getAllAngularTestabilities=()=>t.getAllTestabilities(),Fn.getAllAngularRootElements=()=>t.getAllRootElements(),Fn.frameworkStabilizers||(Fn.frameworkStabilizers=[]),Fn.frameworkStabilizers.push(i=>{const r=Fn.getAllAngularTestabilities();let o=r.length,a=!1;const c=function(u){a=a||u,o--,0==o&&i(a)};r.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?nd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:RT,useClass:q0,deps:[Ht,Y0,Ab]},{provide:q0,useClass:q0,deps:[Ht,Y0,Ab]}],XE=[{provide:Rh,useValue:"root"},{provide:ze,useFactory:function RN(){return new ze},deps:[]},{provide:qb,useClass:AN,multi:!0,deps:[en,Ht,Eg]},{provide:qb,useClass:ON,multi:!0,deps:[en]},{provide:Kb,useClass:Kb,deps:[Yb,Og,If,HE]},{provide:b,useExisting:Kb},{provide:NE,useExisting:Og},{provide:Og,useClass:Og,deps:[en]},{provide:Yb,useClass:Yb,deps:[qb,Ht]},{provide:AE,useClass:xN,deps:[]},[]];let QE=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:If,useValue:e.appId},{provide:RE,useExisting:If},vN]}}}return n.\u0275fac=function(e){return new(e||n)(te(YE,12))},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[...XE,...KE],imports:[wa,vL]}),n})();typeof window<"u"&&window;let Xb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:function(e){let i=null;return i=e?new(e||n):te(tM),i},providedIn:"root"}),n})(),tM=(()=>{class n extends Xb{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case zn.NONE:return i;case zn.HTML:return Uo(i,"HTML")?no(i):Ph(this._doc,String(i)).toString();case zn.STYLE:return Uo(i,"Style")?no(i):i;case zn.SCRIPT:if(Uo(i,"Script"))return no(i);throw new Error("unsafe value used in a script context");case zn.URL:return Uo(i,"URL")?no(i):Fh(String(i));case zn.RESOURCE_URL:if(Uo(i,"ResourceURL"))return no(i);throw new Error(`unsafe value used in a resource URL context (see ${Ti})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Ti})`)}}bypassSecurityTrustHtml(e){return function j_(n){return new qp(n)}(e)}bypassSecurityTrustStyle(e){return function Yp(n){return new ya(n)}(e)}bypassSecurityTrustScript(e){return function Kp(n){return new au(n)}(e)}bypassSecurityTrustUrl(e){return function Kc(n){return new to(n)}(e)}bypassSecurityTrustResourceUrl(e){return function Iv(n){return new Ih(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:function(e){let i=null;return i=e?new e:function UN(n){return new tM(n.get(en))}(te(Wo)),i},providedIn:"root"}),n})();class nM{}class WN{}const rd="*";function od(n,t){return{type:7,name:n,definitions:t,options:{}}}function Eo(n,t=null){return{type:4,styles:t,timings:n}}function GN(n,t=null){return{type:3,steps:n,options:t}}function iM(n,t=null){return{type:2,steps:n,options:t}}function xi(n){return{type:6,styles:n,offset:null}}function Da(n,t,e){return{type:0,name:n,styles:t,options:e}}function Mo(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function ZN(n=null){return{type:9,options:n}}function qN(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function rM(n){Promise.resolve().then(n)}class Pg{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){rM(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class oM{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?rM(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,c)=>Math.max(a,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const SC="!";function sM(n){return new Ce(3e3,!1)}function SB(){return typeof window<"u"&&typeof window.document<"u"}function AC(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function _u(n){switch(n.length){case 0:return new Pg;case 1:return n[0];default:return new oM(n)}}function aM(n,t,e,i,r=new Map,o=new Map){const a=[],c=[];let u=-1,m=null;if(i.forEach(g=>{const C=g.get("offset"),F=C==u,O=F&&m||new Map;g.forEach((V,U)=>{let ie=U,ue=V;if("offset"!==U)switch(ie=t.normalizePropertyName(ie,a),ue){case SC:ue=r.get(U);break;case rd:ue=o.get(U);break;default:ue=t.normalizeStyleValue(U,ie,ue,a)}O.set(ie,ue)}),F||c.push(O),m=O,u=C}),a.length)throw function _B(n){return new Ce(3502,!1)}();return c}function IC(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&FC(e,"start",n)));break;case"done":n.onDone(()=>i(e&&FC(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&FC(e,"destroy",n)))}}function FC(n,t,e){const o=OC(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function OC(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Gs(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function lM(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let PC=(n,t)=>!1,cM=(n,t,e)=>[],dM=null;function RC(n){const t=n.parentNode||n.host;return t===dM?null:t}(AC()||typeof Element<"u")&&(SB()?(dM=(()=>document.documentElement)(),PC=(n,t)=>{for(;t;){if(t===n)return!0;t=RC(t)}return!1}):PC=(n,t)=>n.contains(t),cM=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let zh=null,uM=!1;const hM=PC,mM=cM;let fM=(()=>{class n{validateStyleProperty(e){return function IB(n){zh||(zh=function FB(){return typeof document<"u"?document.body:null}()||{},uM=!!zh.style&&"WebkitAppearance"in zh.style);let t=!0;return zh.style&&!function AB(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in zh.style,!t&&uM&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in zh.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return hM(e,i)}getParentElement(e){return RC(e)}query(e,i,r){return mM(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,c=[],u){return new Pg(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})(),LC=(()=>{class n{}return n.NOOP=new fM,n})();const OB=1e3,NC="ng-enter",Qb="ng-leave",Jb="ng-trigger",ey=".ng-trigger",gM="ng-animating",BC=".ng-animating";function sd(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:VC(parseFloat(t[1]),t[2])}function VC(n,t){return"s"===t?n*OB:n}function ty(n,t,e){return n.hasOwnProperty("duration")?n:function RB(n,t,e){let r,o=0,a="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(sM()),{duration:0,delay:0,easing:""};r=VC(parseFloat(c[1]),c[2]);const u=c[3];null!=u&&(o=VC(parseFloat(u),c[4]));const m=c[5];m&&(a=m)}else r=n;if(!e){let c=!1,u=t.length;r<0&&(t.push(function YN(){return new Ce(3100,!1)}()),c=!0),o<0&&(t.push(function KN(){return new Ce(3101,!1)}()),c=!0),c&&t.splice(u,0,sM())}return{duration:r,delay:o,easing:a}}(n,t,e)}function Rg(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function _M(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function bu(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function yM(n,t,e){return e?t+":"+e+";":""}function vM(n){let t="";for(let e=0;e{const o=zC(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),AC()&&vM(n))}function $h(n,t){n.style&&(t.forEach((e,i)=>{const r=zC(i);n.style[r]=""}),AC()&&vM(n))}function Lg(n){return Array.isArray(n)?1==n.length?n[0]:iM(n):n}const HC=new RegExp("{{\\s*(.+?)\\s*}}","g");function CM(n){let t=[];if("string"==typeof n){let e;for(;e=HC.exec(n);)t.push(e[1]);HC.lastIndex=0}return t}function Ng(n,t,e){const i=n.toString(),r=i.replace(HC,(o,a)=>{let c=t[a];return null==c&&(e.push(function QN(n){return new Ce(3003,!1)}()),c=""),c.toString()});return r==i?n:r}function ny(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const BB=/-+([a-z0-9])/g;function zC(n){return n.replace(BB,(...t)=>t[1].toUpperCase())}function VB(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Zs(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function JN(n){return new Ce(3004,!1)}()}}function xM(n,t){return window.getComputedStyle(n)[t]}const oy="*";function WB(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function GB(n,t,e){if(":"==n[0]){const u=function ZB(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof u)return void t.push(u);n=u}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function hB(n){return new Ce(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(wM(r,a));"<"==o[0]&&!(r==oy&&a==oy)&&t.push(wM(a,r))}(i,e,t)):e.push(n),e}const sy=new Set(["true","1"]),ay=new Set(["false","0"]);function wM(n,t){const e=sy.has(n)||ay.has(n),i=sy.has(t)||ay.has(t);return(r,o)=>{let a=n==oy||n==r,c=t==oy||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?sy.has(n):ay.has(n)),!c&&i&&"boolean"==typeof o&&(c=o?sy.has(t):ay.has(t)),a&&c}}const qB=new RegExp("s*:selfs*,?","g");function $C(n,t,e,i){return new YB(n).build(t,e,i)}class YB{constructor(t){this._driver=t}build(t,e,i){const r=new QB(e);return this._resetContextStyleTimingState(r),Zs(this,Lg(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function tB(){return new Ce(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const u=c,m=u.name;m.toString().split(/\s*,\s*/).forEach(g=>{u.name=g,o.push(this.visitState(u,e))}),u.name=m}else if(1==c.type){const u=this.visitTransition(c,e);i+=u.queryCount,r+=u.depCount,a.push(u)}else e.errors.push(function nB(){return new Ce(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(u=>{CM(u).forEach(m=>{a.hasOwnProperty(m)||o.add(m)})})}),o.size&&(ny(o.values()),e.errors.push(function iB(n,t){return new Ce(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Zs(this,Lg(t.animation),e);return{type:1,matchers:WB(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:jh(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Zs(this,i,e)),options:jh(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const c=Zs(this,a,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:o,options:jh(t.options)}}visitAnimate(t,e){const i=function e3(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return jC(ty(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=jC(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=ty(e,t);return jC(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:xi({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,c=!1;if(!a){c=!0;const m={};i.easing&&(m.easing=i.easing),a=xi(m)}e.currentTime+=i.duration+i.delay;const u=this.visitStyle(a,e);u.isEmptyStep=c,r=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===rd?i.push(c):e.errors.push(new Ce(3002,!1)):i.push(_M(c));let o=!1,a=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(a=c.get("easing"),c.delete("easing")),!o))for(let u of c.values())if(u.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((c,u)=>{const m=e.collectedStyles.get(e.currentQuerySelector),g=m.get(u);let C=!0;g&&(o!=r&&o>=g.startTime&&r<=g.endTime&&(e.errors.push(function oB(n,t,e,i,r){return new Ce(3010,!1)}()),C=!1),o=g.startTime),C&&m.set(u,{startTime:o,endTime:r}),e.options&&function NB(n,t,e){const i=t.params||{},r=CM(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function XN(n){return new Ce(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function sB(){return new Ce(3011,!1)}()),i;let o=0;const a=[];let c=!1,u=!1,m=0;const g=t.steps.map(ue=>{const Le=this._makeStyleAst(ue,e);let ge=null!=Le.offset?Le.offset:function JB(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(Le.styles),ft=0;return null!=ge&&(o++,ft=Le.offset=ge),u=u||ft<0||ft>1,c=c||ft0&&o{const ge=F>0?Le==O?1:F*Le:a[Le],ft=ge*ie;e.currentTime=V+U.delay+ft,U.duration=ft,this._validateStyleAst(ue,e),ue.offset=ge,i.styles.push(ue)}),i}visitReference(t,e){return{type:8,animation:Zs(this,Lg(t.animation),e),options:jh(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:jh(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:jh(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function KB(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(qB,"")),n=n.replace(/@\*/g,ey).replace(/@\w+/g,e=>ey+"-"+e.slice(1)).replace(/:animating/g,BC),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Gs(e.collectedStyles,e.currentQuerySelector,new Map);const c=Zs(this,Lg(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:c,originalSelector:t.selector,options:jh(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function dB(){return new Ce(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:ty(t.timings,e.errors,!0);return{type:12,animation:Zs(this,Lg(t.animation),e),timings:i,options:null}}}class QB{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function jh(n){return n?(n=Rg(n)).params&&(n.params=function XB(n){return n?Rg(n):null}(n.params)):n={},n}function jC(n,t,e){return{duration:n,delay:t,easing:e}}function UC(n,t,e,i,r,o,a=null,c=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:c}}class ly{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const r3=new RegExp(":enter","g"),s3=new RegExp(":leave","g");function WC(n,t,e,i,r,o=new Map,a=new Map,c,u,m=[]){return(new a3).buildKeyframes(n,t,e,i,r,o,a,c,u,m)}class a3{buildKeyframes(t,e,i,r,o,a,c,u,m,g=[]){m=m||new ly;const C=new GC(t,e,m,r,o,g,[]);C.options=u;const F=u.delay?sd(u.delay):0;C.currentTimeline.delayNextStep(F),C.currentTimeline.setStyles([a],null,C.errors,u),Zs(this,i,C);const O=C.timelines.filter(V=>V.containsAnimation());if(O.length&&c.size){let V;for(let U=O.length-1;U>=0;U--){const ie=O[U];if(ie.element===e){V=ie;break}}V&&!V.allowOnlyTimelineStyles()&&V.setStyles([c],null,C.errors,u)}return O.length?O.map(V=>V.buildKeyframes()):[UC(e,[],[],[],0,F,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:sd(Ng(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?sd(i.duration):null,c=null!=i.delay?sd(i.delay):null;return 0!==a&&t.forEach(u=>{const m=e.appendInstructionToTimeline(u,a,c);o=Math.max(o,m.duration+m.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Zs(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=cy);const a=sd(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Zs(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?sd(t.options.delay):0;t.steps.forEach(a=>{const c=e.createSubContext(t.options);o&&c.delayNextStep(o),Zs(this,a,c),r=Math.max(r,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return ty(e.params?Ng(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*o),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?sd(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=cy);let a=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((m,g)=>{e.currentQueryIndex=g;const C=e.createSubContext(t.options,m);o&&C.delayNextStep(o),m===e.element&&(u=C.currentTimeline),Zs(this,t.animation,C),C.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,C.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),c=a*(e.currentQueryTotal-1);let u=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const g=e.currentTimeline;u&&g.delayNextStep(u);const C=g.currentTime;Zs(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-C+(r.startTime-i.currentTimeline.startTime)}}const cy={};class GC{constructor(t,e,i,r,o,a,c,u){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new dy(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=sd(i.duration)),null!=i.delay&&(r.delay=sd(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(c=>{(!e||!a.hasOwnProperty(c))&&(a[c]=Ng(o[c],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new GC(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=cy,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new l3(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(r3,"."+this._enterClassName)).replace(s3,"."+this._leaveClassName);let m=this._driver.query(this.element,t,1!=i);0!==i&&(m=i<0?m.slice(m.length+i,m.length):m.slice(0,i)),c.push(...m)}return!o&&0==c.length&&a.push(function uB(n){return new Ce(3014,!1)}()),c}}class dy{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new dy(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||rd),this._currentKeyframe.set(e,rd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function c3(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,rd)}else bu(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of a){const m=Ng(u,o,i);this._pendingStyles.set(c,m),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??rd),this._updateStyle(c,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,u)=>{const m=bu(c,new Map,this._backFill);m.forEach((g,C)=>{g===SC?t.add(C):g===rd&&e.add(C)}),i||m.set("offset",u/this.duration),r.push(m)});const o=t.size?ny(t.values()):[],a=e.size?ny(e.values()):[];if(i){const c=r[0],u=new Map(c);c.set("offset",0),u.set("offset",1),r=[c,u]}return UC(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class l3 extends dy{constructor(t,e,i,r,o,a,c=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=c,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,c=e/a,u=bu(t[0]);u.set("offset",0),o.push(u);const m=bu(t[0]);m.set("offset",EM(c)),o.push(m);const g=t.length-1;for(let C=1;C<=g;C++){let F=bu(t[C]);const O=F.get("offset");F.set("offset",EM((e+O*i)/a)),o.push(F)}i=a,e=0,r="",t=o}return UC(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function EM(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class ZC{}const d3=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class u3 extends ZC{normalizePropertyName(t,e){return zC(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(d3.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function eB(n,t){return new Ce(3005,!1)}())}return a+o}}function MM(n,t,e,i,r,o,a,c,u,m,g,C,F){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:c,queriedElements:u,preStyleProps:m,postStyleProps:g,totalTime:C,errors:F}}const qC={};class kM{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function h3(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,c,u,m,g){const C=[],F=this.ast.options&&this.ast.options.params||qC,V=this.buildStyles(i,c&&c.params||qC,C),U=u&&u.params||qC,ie=this.buildStyles(r,U,C),ue=new Set,Le=new Map,ge=new Map,ft="void"===r,jn={params:m3(U,F),delay:this.ast.options?.delay},Xn=g?[]:WC(t,e,this.ast.animation,o,a,V,ie,jn,m,C);let ko=0;if(Xn.forEach(md=>{ko=Math.max(md.duration+md.delay,ko)}),C.length)return MM(e,this._triggerName,i,r,ft,V,ie,[],[],Le,ge,ko,C);Xn.forEach(md=>{const fd=md.element,PI=Gs(Le,fd,new Set);md.preStyleProps.forEach(rm=>PI.add(rm));const b_=Gs(ge,fd,new Set);md.postStyleProps.forEach(rm=>b_.add(rm)),fd!==e&&ue.add(fd)});const hd=ny(ue.values());return MM(e,this._triggerName,i,r,ft,V,ie,Xn,hd,Le,ge,ko)}}function m3(n,t){const e=Rg(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class f3{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Rg(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,c)=>{a&&(a=Ng(a,r,e));const u=this.normalizer.normalizePropertyName(c,e);a=this.normalizer.normalizeStyleValue(c,u,a,e),i.set(c,a)})}),i}}class g3{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new f3(r.style,r.options&&r.options.params||{},i))}),SM(this.states,"true","1"),SM(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new kM(t,r,this.states))}),this.fallbackTransition=function _3(n,t,e){return new kM(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function SM(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const b3=new ly;class y3{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=[],o=$C(this._driver,e,i,r);if(i.length)throw function bB(n){return new Ce(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=aM(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const c=new Map;if(o?(a=WC(this._driver,e,o,NC,Qb,new Map,new Map,i,b3,r),a.forEach(g=>{const C=Gs(c,g.element,new Map);g.postStyleProps.forEach(F=>C.set(F,null))})):(r.push(function yB(){return new Ce(3300,!1)}()),a=[]),r.length)throw function vB(n){return new Ce(3504,!1)}();c.forEach((g,C)=>{g.forEach((F,O)=>{g.set(O,this._driver.computeStyle(C,O,rd))})});const m=_u(a.map(g=>{const C=c.get(g.element);return this._buildPlayer(g,new Map,C)}));return this._playersById.set(t,m),m.onDestroy(()=>this.destroy(t)),this.players.push(m),m}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function CB(n){return new Ce(3301,!1)}();return e}listen(t,e,i,r){const o=OC(e,"","","");return IC(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const AM="ng-animate-queued",YC="ng-animate-disabled",D3=[],IM={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},T3={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ta="__ng_removed";class KC{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function S3(n){return n??null}(i?t.value:t),i){const o=Rg(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Bg="void",XC=new KC(Bg);class E3{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ea(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function xB(n,t){return new Ce(3302,!1)}();if(null==i||0==i.length)throw function wB(n){return new Ce(3303,!1)}();if(!function A3(n){return"start"==n||"done"==n}(i))throw function DB(n,t){return new Ce(3400,!1)}();const o=Gs(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const c=Gs(this._engine.statesByElement,t,new Map);return c.has(e)||(Ea(t,Jb),Ea(t,Jb+"-"+e),c.set(e,XC)),()=>{this._engine.afterFlush(()=>{const u=o.indexOf(a);u>=0&&o.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function TB(n){return new Ce(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new QC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(Ea(t,Jb),Ea(t,Jb+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const m=new KC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&m.absorbOptions(u.options),c.set(e,m),u||(u=XC),m.value!==Bg&&u.value===m.value){if(!function O3(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{$h(t,ie),ic(t,ue)})}return}const F=Gs(this._engine.playersByElement,t,[]);F.forEach(U=>{U.namespaceId==this.id&&U.triggerName==e&&U.queued&&U.destroy()});let O=o.matchTransition(u.value,m.value,t,m.params),V=!1;if(!O){if(!r)return;O=o.fallbackTransition,V=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:O,fromState:u,toState:m,player:a,isFallbackTransition:V}),V||(Ea(t,AM),a.onStart(()=>{Pf(t,AM)})),a.onDone(()=>{let U=this.players.indexOf(a);U>=0&&this.players.splice(U,1);const ie=this._engine.playersByElement.get(t);if(ie){let ue=ie.indexOf(a);ue>=0&&ie.splice(ue,1)}}),this.players.push(a),F.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,ey,!0);i.forEach(r=>{if(r[Ta])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const c=[];if(o.forEach((u,m)=>{if(a.set(m,u.value),this._triggers.has(m)){const g=this.trigger(t,m,Bg,r);g&&c.push(g)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&_u(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const u=this._triggers.get(a).fallbackTransition,m=i.get(a)||XC,g=new KC(Bg),C=new QC(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:u,fromState:m,toState:g,player:C,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Ta];(!o||o===IM)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Ea(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(c=>{if(c.name==i.triggerName){const u=OC(o,i.triggerName,i.fromState.value,i.toState.value);u._data=t,IC(i.player,c.phase,u,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class M3{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new E3(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,c=this.driver.getParentElement(e);for(;c;){const u=r.get(c);if(u){const m=i.indexOf(u);i.splice(m+1,0,t),a=!0;break}c=this.driver.getParentElement(c)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(uy(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!uy(e))return;const o=e[Ta];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ea(t,YC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Pf(t,YC))}removeNode(t,e,i,r){if(uy(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Ta]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return uy(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,ey,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,BC,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return _u(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Ta];if(e&&e.setForRemoval){if(t[Ta]=IM,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(YC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?_u(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function EB(n){return new Ce(3402,!1)}()}_flushAnimations(t,e){const i=new ly,r=[],o=new Map,a=[],c=new Map,u=new Map,m=new Map,g=new Set;this.disabledNodes.forEach(Ot=>{g.add(Ot);const Zt=this.driver.query(Ot,".ng-animate-queued",!0);for(let nn=0;nn{const nn=NC+U++;V.set(Zt,nn),Ot.forEach(Zn=>Ea(Zn,nn))});const ie=[],ue=new Set,Le=new Set;for(let Ot=0;Otue.add(Zn)):Le.add(Zt))}const ge=new Map,ft=PM(F,Array.from(ue));ft.forEach((Ot,Zt)=>{const nn=Qb+U++;ge.set(Zt,nn),Ot.forEach(Zn=>Ea(Zn,nn))}),t.push(()=>{O.forEach((Ot,Zt)=>{const nn=V.get(Zt);Ot.forEach(Zn=>Pf(Zn,nn))}),ft.forEach((Ot,Zt)=>{const nn=ge.get(Zt);Ot.forEach(Zn=>Pf(Zn,nn))}),ie.forEach(Ot=>{this.processLeaveNode(Ot)})});const jn=[],Xn=[];for(let Ot=this._namespaceList.length-1;Ot>=0;Ot--)this._namespaceList[Ot].drainQueuedTransitions(e).forEach(nn=>{const Zn=nn.player,ao=nn.element;if(jn.push(Zn),this.collectedEnterElements.length){const So=ao[Ta];if(So&&So.setForMove){if(So.previousTriggersValues&&So.previousTriggersValues.has(nn.triggerName)){const om=So.previousTriggersValues.get(nn.triggerName),Sa=this.statesByElement.get(nn.element);if(Sa&&Sa.has(nn.triggerName)){const cv=Sa.get(nn.triggerName);cv.value=om,Sa.set(nn.triggerName,cv)}}return void Zn.destroy()}}const lc=!C||!this.driver.containsElement(C,ao),Js=ge.get(ao),Su=V.get(ao),Gi=this._buildInstruction(nn,i,Su,Js,lc);if(Gi.errors&&Gi.errors.length)return void Xn.push(Gi);if(lc)return Zn.onStart(()=>$h(ao,Gi.fromStyles)),Zn.onDestroy(()=>ic(ao,Gi.toStyles)),void r.push(Zn);if(nn.isFallbackTransition)return Zn.onStart(()=>$h(ao,Gi.fromStyles)),Zn.onDestroy(()=>ic(ao,Gi.toStyles)),void r.push(Zn);const NI=[];Gi.timelines.forEach(So=>{So.stretchStartingKeyframe=!0,this.disabledNodes.has(So.element)||NI.push(So)}),Gi.timelines=NI,i.append(ao,Gi.timelines),a.push({instruction:Gi,player:Zn,element:ao}),Gi.queriedElements.forEach(So=>Gs(c,So,[]).push(Zn)),Gi.preStyleProps.forEach((So,om)=>{if(So.size){let Sa=u.get(om);Sa||u.set(om,Sa=new Set),So.forEach((cv,Sw)=>Sa.add(Sw))}}),Gi.postStyleProps.forEach((So,om)=>{let Sa=m.get(om);Sa||m.set(om,Sa=new Set),So.forEach((cv,Sw)=>Sa.add(Sw))})});if(Xn.length){const Ot=[];Xn.forEach(Zt=>{Ot.push(function MB(n,t){return new Ce(3505,!1)}())}),jn.forEach(Zt=>Zt.destroy()),this.reportError(Ot)}const ko=new Map,hd=new Map;a.forEach(Ot=>{const Zt=Ot.element;i.has(Zt)&&(hd.set(Zt,Zt),this._beforeAnimationBuild(Ot.player.namespaceId,Ot.instruction,ko))}),r.forEach(Ot=>{const Zt=Ot.element;this._getPreviousPlayers(Zt,!1,Ot.namespaceId,Ot.triggerName,null).forEach(Zn=>{Gs(ko,Zt,[]).push(Zn),Zn.destroy()})});const md=ie.filter(Ot=>LM(Ot,u,m)),fd=new Map;OM(fd,this.driver,Le,m,rd).forEach(Ot=>{LM(Ot,u,m)&&md.push(Ot)});const b_=new Map;O.forEach((Ot,Zt)=>{OM(b_,this.driver,new Set(Ot),u,SC)}),md.forEach(Ot=>{const Zt=fd.get(Ot),nn=b_.get(Ot);fd.set(Ot,new Map([...Array.from(Zt?.entries()??[]),...Array.from(nn?.entries()??[])]))});const rm=[],RI=[],LI={};a.forEach(Ot=>{const{element:Zt,player:nn,instruction:Zn}=Ot;if(i.has(Zt)){if(g.has(Zt))return nn.onDestroy(()=>ic(Zt,Zn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(Zn.totalTime),void r.push(nn);let ao=LI;if(hd.size>1){let Js=Zt;const Su=[];for(;Js=Js.parentNode;){const Gi=hd.get(Js);if(Gi){ao=Gi;break}Su.push(Js)}Su.forEach(Gi=>hd.set(Gi,ao))}const lc=this._buildAnimation(nn.namespaceId,Zn,ko,o,b_,fd);if(nn.setRealPlayer(lc),ao===LI)rm.push(nn);else{const Js=this.playersByElement.get(ao);Js&&Js.length&&(nn.parentPlayer=_u(Js)),r.push(nn)}}else $h(Zt,Zn.fromStyles),nn.onDestroy(()=>ic(Zt,Zn.toStyles)),RI.push(nn),g.has(Zt)&&r.push(nn)}),RI.forEach(Ot=>{const Zt=o.get(Ot.element);if(Zt&&Zt.length){const nn=_u(Zt);Ot.setRealPlayer(nn)}}),r.forEach(Ot=>{Ot.parentPlayer?Ot.syncPlayerEvents(Ot.parentPlayer):Ot.destroy()});for(let Ot=0;Ot!lc.destroyed);ao.length?I3(this,Zt,ao):this.processLeaveNode(Zt)}return ie.length=0,rm.forEach(Ot=>{this.players.push(Ot),Ot.onDone(()=>{Ot.destroy();const Zt=this.players.indexOf(Ot);this.players.splice(Zt,1)}),Ot.play()}),rm}elementContainsData(t,e){let i=!1;const r=e[Ta];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(a=c)}else{const c=this.playersByElement.get(t);if(c){const u=!o||o==Bg;c.forEach(m=>{m.queued||!u&&m.triggerName!=r||a.push(m)})}}return(i||r)&&(a=a.filter(c=>!(i&&i!=c.namespaceId||r&&r!=c.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const m=u.element,g=m!==o,C=Gs(i,m,[]);this._getPreviousPlayers(m,g,a,c,e.toState).forEach(O=>{const V=O.getRealPlayer();V.beforeDestroy&&V.beforeDestroy(),O.destroy(),C.push(O)})}$h(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const c=e.triggerName,u=e.element,m=[],g=new Set,C=new Set,F=e.timelines.map(V=>{const U=V.element;g.add(U);const ie=U[Ta];if(ie&&ie.removedBeforeQueried)return new Pg(V.duration,V.delay);const ue=U!==u,Le=function F3(n){const t=[];return RM(n,t),t}((i.get(U)||D3).map(ko=>ko.getRealPlayer())).filter(ko=>!!ko.element&&ko.element===U),ge=o.get(U),ft=a.get(U),jn=aM(0,this._normalizer,0,V.keyframes,ge,ft),Xn=this._buildPlayer(V,jn,Le);if(V.subTimeline&&r&&C.add(U),ue){const ko=new QC(t,c,U);ko.setRealPlayer(Xn),m.push(ko)}return Xn});m.forEach(V=>{Gs(this.playersByQueriedElement,V.element,[]).push(V),V.onDone(()=>function k3(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,V.element,V))}),g.forEach(V=>Ea(V,gM));const O=_u(F);return O.onDestroy(()=>{g.forEach(V=>Pf(V,gM)),ic(u,e.toStyles)}),C.forEach(V=>{Gs(r,V,[]).push(O)}),O}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Pg(t.duration,t.delay)}}class QC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Pg,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>IC(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Gs(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function uy(n){return n&&1===n.nodeType}function FM(n,t){const e=n.style.display;return n.style.display=t??"none",e}function OM(n,t,e,i,r){const o=[];e.forEach(u=>o.push(FM(u)));const a=[];i.forEach((u,m)=>{const g=new Map;u.forEach(C=>{const F=t.computeStyle(m,C,r);g.set(C,F),(!F||0==F.length)&&(m[Ta]=T3,a.push(m))}),n.set(m,g)});let c=0;return e.forEach(u=>FM(u,o[c++])),a}function PM(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const i=1,r=new Set(t),o=new Map;function a(c){if(!c)return i;let u=o.get(c);if(u)return u;const m=c.parentNode;return u=e.has(m)?m:r.has(m)?i:a(m),o.set(c,u),u}return t.forEach(c=>{const u=a(c);u!==i&&e.get(u).push(c)}),e}function Ea(n,t){n.classList?.add(t)}function Pf(n,t){n.classList?.remove(t)}function I3(n,t,e){_u(e).onDone(()=>n.processLeaveNode(t))}function RM(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class hy{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new M3(t,e,i),this._timelineEngine=new y3(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let c=this._triggerCache[a];if(!c){const u=[],m=[],g=$C(this._driver,o,u,m);if(u.length)throw function gB(n,t){return new Ce(3404,!1)}();c=function p3(n,t,e){return new g3(n,t,e)}(r,g,this._normalizer),this._triggerCache[a]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=lM(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,c]=lM(i);return this._timelineEngine.listen(a,e,c,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let R3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ic(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ic(this._element,this._initialStyles),this._endStyles&&(ic(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&($h(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($h(this._element,this._endStyles),this._endStyles=null),ic(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function JC(n){let t=null;return n.forEach((e,i)=>{(function L3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class NM{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:xM(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class N3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return hM(t,e)}getParentElement(t){return RC(t)}query(t,e,i){return mM(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const u={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(u.easing=o);const m=new Map,g=a.filter(O=>O instanceof NM);(function HB(n,t){return 0===n||0===t})(i,r)&&g.forEach(O=>{O.currentSnapshot.forEach((V,U)=>m.set(U,V))});let C=function LB(n){return n.length?n[0]instanceof Map?n:n.map(t=>_M(t)):[]}(e).map(O=>bu(O));C=function zB(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(c,xM(n,c)))}}return t}(t,C,m);const F=function P3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=JC(t[0]),t.length>1&&(i=JC(t[t.length-1]))):t instanceof Map&&(e=JC(t)),e||i?new R3(n,e,i):null}(t,C);return new NM(t,C,u,F)}}let B3=(()=>{class n extends nM{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ho.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?iM(e):e;return BM(this._renderer,null,i,"register",[r]),new V3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(te(b),te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();class V3 extends WN{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new H3(this._id,t,e||{},this._renderer)}}class H3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return BM(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function BM(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const VM="@.disabled";let z3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const c=a?.parentNode(o);c&&a.removeChild(c,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let g=this._rendererCache.get(o);return g||(g=new HM("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,g)),g}const a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const u=g=>{Array.isArray(g)?g.forEach(u):this.engine.registerTrigger(a,c,e,g.name,g)};return i.data.animation.forEach(u),new $3(this,c,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,c]=o;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(te(b),te(hy),te(Ht))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();class HM{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==VM?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class $3 extends HM{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==VM?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function j3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function U3(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}const zM=[{provide:nM,useClass:B3},{provide:ZC,useFactory:function G3(){return new u3}},{provide:hy,useClass:(()=>{class n extends hy{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(LC),te(ZC),te(Mg))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})()},{provide:b,useFactory:function Z3(n,t,e){return new z3(n,t,e)},deps:[Kb,hy,Ht]}],ex=[{provide:LC,useFactory:()=>new N3},{provide:Nr,useValue:"BrowserAnimations"},...zM],$M=[{provide:LC,useClass:fM},{provide:Nr,useValue:"NoopAnimations"},...zM];let q3=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?$M:ex}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:ex,imports:[QE]}),n})();const{isArray:Y3}=Array,{getPrototypeOf:K3,prototype:X3,keys:Q3}=Object;function jM(n){if(1===n.length){const t=n[0];if(Y3(t))return{args:t,keys:null};if(function J3(n){return n&&"object"==typeof n&&K3(n)===X3}(t)){const e=Q3(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:e5}=Array;function tx(n){return Vn(t=>function t5(n,t){return e5(t)?n(...t):n(t)}(n,t))}function UM(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function WM(...n){const t=ia(n),{args:e,keys:i}=jM(n),r=new at(o=>{const{length:a}=e;if(!a)return void o.complete();const c=new Array(a);let u=a,m=a;for(let g=0;g{C||(C=!0,m--),c[g]=F},()=>u--,void 0,()=>{(!u||!C)&&(m||o.next(i?UM(i,c):c),o.complete())}))}});return t?r.pipe(tx(t)):r}let GM=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(E(w),E(h))},n.\u0275dir=xe({type:n}),n})(),Uh=(()=>{class n extends GM{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,features:[nt]}),n})();const Tr=new ye("NgValueAccessor"),r5={provide:Tr,useExisting:Wt(()=>yo),multi:!0},s5=new ye("CompositionEventMode");let yo=(()=>{class n extends GM{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function o5(){const n=nd()?nd().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(E(w),E(h),E(s5,8))},n.\u0275dir=xe({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&ce("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Vt([r5]),nt]}),n})();const a5=!1;function yu(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function qM(n){return null!=n&&"number"==typeof n.length}const Wi=new ye("NgValidators"),vu=new ye("NgAsyncValidators"),l5=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class bn{static min(t){return function YM(n){return t=>{if(yu(t.value)||yu(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(yu(t.value)||yu(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function XM(n){return yu(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function QM(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function JM(n){return yu(n.value)||l5.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function ek(n){return t=>yu(t.value)||!qM(t.value)?null:t.value.lengthqM(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function nk(n){if(!n)return fy;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(yu(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return lk(t)}static composeAsync(t){return ck(t)}}function fy(n){return null}function ik(n){return null!=n}function rk(n){const t=bb(n)?hr(n):n;if(a5&&!D1(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new Ce(-1101,e)}return t}function ok(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function sk(n,t){return t.map(e=>e(n))}function ak(n){return n.map(t=>function c5(n){return!n.validate}(t)?t:e=>t.validate(e))}function lk(n){if(!n)return null;const t=n.filter(ik);return 0==t.length?null:function(e){return ok(sk(e,t))}}function nx(n){return null!=n?lk(ak(n)):null}function ck(n){if(!n)return null;const t=n.filter(ik);return 0==t.length?null:function(e){return WM(sk(e,t).map(rk)).pipe(Vn(ok))}}function ix(n){return null!=n?ck(ak(n)):null}function dk(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function uk(n){return n._rawValidators}function hk(n){return n._rawAsyncValidators}function rx(n){return n?Array.isArray(n)?n:[n]:[]}function py(n,t){return Array.isArray(n)?n.includes(t):n===t}function mk(n,t){const e=rx(t);return rx(n).forEach(r=>{py(e,r)||e.push(r)}),e}function fk(n,t){return rx(t).filter(e=>!py(n,e))}class pk{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=nx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=ix(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class Yo extends pk{get formDirective(){return null}get path(){return null}}class rl extends pk{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gk{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let oo=(()=>{class n extends gk{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(E(rl,2))},n.\u0275dir=xe({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Jt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[nt]}),n})(),qs=(()=>{class n extends gk{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(E(Yo,10))},n.\u0275dir=xe({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Jt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[nt]}),n})();function _k(n,t){return n?`with name: '${t}'`:`at index: ${t}`}const ax=!1,Vg="VALID",_y="INVALID",Rf="PENDING",Hg="DISABLED";function lx(n){return(by(n)?n.validators:n)||null}function cx(n,t){return(by(t)?t.asyncValidators:n)||null}function by(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function bk(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new Ce(1e3,ax?function m5(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!i[e])throw new Ce(1001,ax?function f5(n,t){return`Cannot find form control ${_k(n,t)}`}(t,e):"")}function yk(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new Ce(1002,ax?function p5(n,t){return`Must supply a value for form control ${_k(n,t)}`}(t,r):"")})}class dx{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Vg}get invalid(){return this.status===_y}get pending(){return this.status==Rf}get disabled(){return this.status===Hg}get enabled(){return this.status!==Hg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(mk(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(mk(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(fk(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(fk(t,this._rawAsyncValidators))}hasValidator(t){return py(this._rawValidators,t)}hasAsyncValidator(t){return py(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Rf,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Hg,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Vg,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vg||this.status===Rf)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Hg:Vg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Rf,this._hasOwnPendingAsyncValidator=!0;const e=rk(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ve,this.statusChanges=new Ve}_calculateStatus(){return this._allControlsDisabled()?Hg:this.errors?_y:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rf)?Rf:this._anyControlsHaveStatus(_y)?_y:Vg}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){by(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function g5(n){return Array.isArray(n)?nx(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function _5(n){return Array.isArray(n)?ix(n):n||null}(this._rawAsyncValidators)}}class Ko extends dx{constructor(t,e,i){super(lx(e),cx(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){yk(this,!0,t),Object.keys(t).forEach(i=>{bk(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Wh=new ye("CallSetDisabledState",{providedIn:"root",factory:()=>zg}),zg="always";function yy(n,t){return[...t.path,n]}function $g(n,t,e=zg){ux(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function v5(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&vk(n,t)})}(n,t),function x5(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function C5(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&vk(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function y5(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function vy(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),xy(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Cy(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ux(n,t){const e=uk(n);null!==t.validator?n.setValidators(dk(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=hk(n);null!==t.asyncValidator?n.setAsyncValidators(dk(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Cy(t._rawValidators,r),Cy(t._rawAsyncValidators,r)}function xy(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=uk(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=hk(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Cy(t._rawValidators,i),Cy(t._rawAsyncValidators,i),e}function vk(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ck(n,t){ux(n,t)}function mx(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function xk(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function fx(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===yo?e=o:function T5(n){return Object.getPrototypeOf(n.constructor)===Uh}(o)?i=o:r=o}),r||i||e||null}const M5={provide:Yo,useExisting:Wt(()=>Lf)},jg=(()=>Promise.resolve())();let Lf=(()=>{class n extends Yo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ve,this.form=new Ko({},nx(e),ix(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jg.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),$g(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jg.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jg.then(()=>{const i=this._findContainer(e.path),r=new Ko({});Ck(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jg.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){jg.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,xk(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(E(Wi,10),E(vu,10),E(Wh,8))},n.\u0275dir=xe({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ce("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vt([M5]),nt]}),n})();function wk(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function Dk(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const dt=class extends dx{constructor(t=null,e,i){super(lx(e),cx(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),by(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=Dk(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){wk(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){wk(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){Dk(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},A5={provide:rl,useExisting:Wt(()=>px)},Mk=(()=>Promise.resolve())();let px=(()=>{class n extends rl{constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new dt,this._registered=!1,this.update=new Ve,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=fx(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mx(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){$g(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Mk.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function iC(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);Mk.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?yy(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(E(Yo,9),E(Wi,10),E(vu,10),E(Tr,10),E(ti,8),E(Wh,8))},n.\u0275dir=xe({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Vt([A5]),nt,ci]}),n})(),rc=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const I5={provide:Tr,useExisting:Wt(()=>gx),multi:!0};let gx=(()=>{class n extends Uh{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ce("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[Vt([I5]),nt]}),n})(),kk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();const _x=new ye("NgModelWithFormControlWarning"),R5={provide:rl,useExisting:Wt(()=>Nf)};let Nf=(()=>{class n extends rl{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new Ve,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=fx(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&vy(i,this,!1),$g(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mx(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&vy(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(E(Wi,10),E(vu,10),E(Tr,10),E(_x,8),E(Wh,8))},n.\u0275dir=xe({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Vt([R5]),nt,ci]}),n})();const L5={provide:Yo,useExisting:Wt(()=>so)};let so=(()=>{class n extends Yo{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ve,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return $g(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){vy(e.control||null,e,!1),function E5(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,xk(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(vy(i||null,e),(n=>n instanceof dt)(r)&&($g(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);Ck(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function w5(n,t){return xy(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ux(this.form,this),this._oldForm&&xy(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(E(Wi,10),E(vu,10),E(Wh,8))},n.\u0275dir=xe({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ce("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vt([L5]),nt,ci]}),n})();const V5={provide:rl,useExisting:Wt(()=>ps)};let ps=(()=>{class n extends rl{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new Ve,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=fx(0,o)}ngOnChanges(e){this._added||this._setUpControl(),mx(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return yy(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(E(Yo,13),E(Wi,10),E(vu,10),E(Tr,10),E(_x,8))},n.\u0275dir=xe({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Vt([V5]),nt,ci]}),n})(),$k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[kk]}),n})();class Bf extends dx{constructor(t,e,i){super(lx(e),cx(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){yk(this,!1,t),t.forEach((i,r)=>{bk(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}let e4=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Wh,useValue:e.callSetDisabledState??zg}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$k]}),n})(),t4=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:_x,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Wh,useValue:e.callSetDisabledState??zg}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$k]}),n})();function gs(...n){return hr(n,co(n))}function _s(n,t){return it((e,i)=>{let r=0;e.subscribe(lt(i,o=>n.call(t,o,r++)&&i.next(o)))})}class wy{}class Dx{}class ad{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof ad?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new ad;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ad?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(c=>-1===o.indexOf(c)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class r4{encodeKey(t){return jk(t)}encodeValue(t){return jk(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const s4=/%(\d[a-f0-9])/gi,a4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function jk(n){return encodeURIComponent(n).replace(s4,(t,e)=>a4[e]??t)}function Dy(n){return`${n}`}class Cu{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new r4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function o4(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,c]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],u=e.get(a)||[];u.push(c),e.set(a,u)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(Dy):[Dy(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Cu({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Dy(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(Dy(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class l4{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Uk(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Wk(n){return typeof Blob<"u"&&n instanceof Blob}function Gk(n){return typeof FormData<"u"&&n instanceof FormData}class Ug{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function c4(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new ad),this.context||(this.context=new l4),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":cC.set(F,t.setHeaders[F]),u)),t.setParams&&(m=Object.keys(t.setParams).reduce((C,F)=>C.set(F,t.setParams[F]),m)),new Ug(e,i,o,{params:m,headers:u,context:g,reportProgress:c,responseType:r,withCredentials:a})}}var Er=(()=>((Er=Er||{})[Er.Sent=0]="Sent",Er[Er.UploadProgress=1]="UploadProgress",Er[Er.ResponseHeader=2]="ResponseHeader",Er[Er.DownloadProgress=3]="DownloadProgress",Er[Er.Response=4]="Response",Er[Er.User=5]="User",Er))();class Tx{constructor(t,e=200,i="OK"){this.headers=t.headers||new ad,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ex extends Tx{constructor(t={}){super(t),this.type=Er.ResponseHeader}clone(t={}){return new Ex({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Ty extends Tx{constructor(t={}){super(t),this.type=Er.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ty({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Zk extends Tx{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Mx(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Wg=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Ug)o=e;else{let u,m;u=r.headers instanceof ad?r.headers:new ad(r.headers),r.params&&(m=r.params instanceof Cu?r.params:new Cu({fromObject:r.params})),o=new Ug(e,i,void 0!==r.body?r.body:null,{headers:u,context:r.context,params:m,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=gs(o).pipe(function n4(n,t){return j(t)?ir(n,t,1):ir(n,1)}(u=>this.handler.handle(u)));if(e instanceof Ug||"events"===r.observe)return a;const c=a.pipe(_s(u=>u instanceof Ty));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Vn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(Vn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(Vn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return c.pipe(Vn(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Cu).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Mx(r,i))}post(e,i,r={}){return this.request("POST",e,Mx(r,i))}put(e,i,r={}){return this.request("PUT",e,Mx(r,i))}}return n.\u0275fac=function(e){return new(e||n)(te(wy))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();function qk(n,t){return t(n)}function u4(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const m4=new ye("HTTP_INTERCEPTORS"),Gg=new ye("HTTP_INTERCEPTOR_FNS");function f4(){let n=null;return(t,e)=>(null===n&&(n=(qn(m4,{optional:!0})??[]).reduceRight(u4,qk)),n(t,e))}let Yk=(()=>{class n extends wy{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(Gg)));this.chain=i.reduceRight((r,o)=>function h4(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),qk)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(te(Dx),te(Jc))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const b4=/^\)\]\}',?\n/;let Xk=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new at(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((O,V)=>r.setRequestHeader(O,V.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const O=e.detectContentTypeHeader();null!==O&&r.setRequestHeader("Content-Type",O)}if(e.responseType){const O=e.responseType.toLowerCase();r.responseType="json"!==O?O:"text"}const o=e.serializeBody();let a=null;const c=()=>{if(null!==a)return a;const O=r.statusText||"OK",V=new ad(r.getAllResponseHeaders()),U=function y4(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new Ex({headers:V,status:r.status,statusText:O,url:U}),a},u=()=>{let{headers:O,status:V,statusText:U,url:ie}=c(),ue=null;204!==V&&(ue=typeof r.response>"u"?r.responseText:r.response),0===V&&(V=ue?200:0);let Le=V>=200&&V<300;if("json"===e.responseType&&"string"==typeof ue){const ge=ue;ue=ue.replace(b4,"");try{ue=""!==ue?JSON.parse(ue):null}catch(ft){ue=ge,Le&&(Le=!1,ue={error:ft,text:ue})}}Le?(i.next(new Ty({body:ue,headers:O,status:V,statusText:U,url:ie||void 0})),i.complete()):i.error(new Zk({error:ue,headers:O,status:V,statusText:U,url:ie||void 0}))},m=O=>{const{url:V}=c(),U=new Zk({error:O,status:r.status||0,statusText:r.statusText||"Unknown Error",url:V||void 0});i.error(U)};let g=!1;const C=O=>{g||(i.next(c()),g=!0);let V={type:Er.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(V.total=O.total),"text"===e.responseType&&r.responseText&&(V.partialText=r.responseText),i.next(V)},F=O=>{let V={type:Er.UploadProgress,loaded:O.loaded};O.lengthComputable&&(V.total=O.total),i.next(V)};return r.addEventListener("load",u),r.addEventListener("error",m),r.addEventListener("timeout",m),r.addEventListener("abort",m),e.reportProgress&&(r.addEventListener("progress",C),null!==o&&r.upload&&r.upload.addEventListener("progress",F)),r.send(o),i.next({type:Er.Sent}),()=>{r.removeEventListener("error",m),r.removeEventListener("abort",m),r.removeEventListener("load",u),r.removeEventListener("timeout",m),e.reportProgress&&(r.removeEventListener("progress",C),null!==o&&r.upload&&r.upload.removeEventListener("progress",F)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(te(AE))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();const kx=new ye("XSRF_ENABLED"),Qk=new ye("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Jk=new ye("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class eS{}let x4=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=gE(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(Eg),te(Qk))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})();function w4(n,t){const e=n.url.toLowerCase();if(!qn(kx)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=qn(eS).getToken(),r=qn(Jk);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var cr=(()=>((cr=cr||{})[cr.Interceptors=0]="Interceptors",cr[cr.LegacyInterceptors=1]="LegacyInterceptors",cr[cr.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",cr[cr.NoXsrfProtection=3]="NoXsrfProtection",cr[cr.JsonpSupport=4]="JsonpSupport",cr[cr.RequestsMadeViaParent=5]="RequestsMadeViaParent",cr))();function Vf(n,t){return{\u0275kind:n,\u0275providers:t}}function D4(...n){const t=[Wg,Xk,Yk,{provide:wy,useExisting:Yk},{provide:Dx,useExisting:Xk},{provide:Gg,useValue:w4,multi:!0},{provide:kx,useValue:!0},{provide:eS,useClass:x4}];for(const e of n)t.push(...e.\u0275providers);return function Uv(n){return{\u0275providers:n}}(t)}const tS=new ye("LEGACY_INTERCEPTOR_FN");let E4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[D4(Vf(cr.LegacyInterceptors,[{provide:tS,useFactory:f4},{provide:Gg,useExisting:tS,multi:!0}]))]}),n})();function Ct(n){return null!=n&&"false"!=`${n}`}function oc(n,t=0){return function M4(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function Zg(n){return Array.isArray(n)?n:[n]}function Mr(n){return null==n?"":"string"==typeof n?n:`${n}px`}function er(n){return n instanceof h?n.nativeElement:n}const S4=["addListener","removeListener"],A4=["addEventListener","removeEventListener"],I4=["on","off"];function sc(n,t,e,i){if(j(e)&&(i=e,e=void 0),i)return sc(n,t,e).pipe(tx(i));const[r,o]=function P4(n){return j(n.addEventListener)&&j(n.removeEventListener)}(n)?A4.map(a=>c=>n[a](t,c,e)):function F4(n){return j(n.addListener)&&j(n.removeListener)}(n)?S4.map(nS(n,t)):function O4(n){return j(n.on)&&j(n.off)}(n)?I4.map(nS(n,t)):[];if(!r&&Aa(n))return ir(a=>sc(a,t,e))(ii(n));if(!r)throw new TypeError("Invalid event target");return new at(a=>{const c=(...u)=>a.next(1o(c)})}function nS(n,t){return e=>i=>n[e](t,i)}class R4 extends z{constructor(t,e){super()}schedule(t,e=0){return this}}const Ey={setInterval(n,t,...e){const{delegate:i}=Ey;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=Ey;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class Sx extends R4{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return Ey.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Ey.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,q(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const qg={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=qg;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new z(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=qg;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=qg;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},iS={now:()=>(iS.delegate||Date).now(),delegate:void 0};class Yg{constructor(t,e=Yg.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Yg.now=iS.now;class Ax extends Yg{constructor(t,e=Yg.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const rS=new class N4 extends Ax{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class L4 extends Sx{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=qg.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(qg.cancelAnimationFrame(e),t._scheduled=void 0)}});let Ix,B4=1;const My={};function oS(n){return n in My&&(delete My[n],!0)}const V4={setImmediate(n){const t=B4++;return My[t]=!0,Ix||(Ix=Promise.resolve()),Ix.then(()=>oS(t)&&n()),t},clearImmediate(n){oS(n)}},{setImmediate:H4,clearImmediate:z4}=V4,ky={setImmediate(...n){const{delegate:t}=ky;return(t?.setImmediate||H4)(...n)},clearImmediate(n){const{delegate:t}=ky;return(t?.clearImmediate||z4)(n)},delegate:void 0},Fx=new class j4 extends Ax{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class $4 extends Sx{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=ky.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(ky.clearImmediate(e),t._scheduled=void 0)}}),Kg=new Ax(Sx),U4=Kg;function Sy(n=0,t,e=U4){let i=-1;return null!=t&&(_l(t)?e=t:i=t),new at(r=>{let o=function G4(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Ox(n,t=Kg){return function W4(n){return it((t,e)=>{let i=!1,r=null,o=null,a=!1;const c=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const m=r;r=null,e.next(m)}a&&e.complete()},u=()=>{o=null,a&&e.complete()};t.subscribe(lt(e,m=>{i=!0,r=m,o||ii(n(m)).subscribe(o=lt(e,c,u))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>Sy(n,t))}function fn(n){return it((t,e)=>{ii(n).subscribe(lt(e,()=>e.complete(),Oe)),!e.closed&&t.subscribe(e)})}function Ay(...n){return function Z4(){return gl(1)}()(hr(n,co(n)))}function Vr(...n){const t=co(n);return it((e,i)=>{(t?Ay(n,e,t):Ay(n,e)).subscribe(i)})}let Px;try{Px=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Px=!1}let Hf,Ai=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?kE(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Px)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(te(Eg))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const sS=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function aS(){if(Hf)return Hf;if("object"!=typeof document||!document)return Hf=new Set(sS),Hf;let n=document.createElement("input");return Hf=new Set(sS.filter(t=>(n.setAttribute("type",t),n.type===t))),Hf}let Xg,Iy,Zh,Rx;function ol(n){return function q4(){if(null==Xg&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xg=!0}))}finally{Xg=Xg||!1}return Xg}()?n:!!n.capture}function lS(){if(null==Zh){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Zh=!1,Zh;if("scrollBehavior"in document.documentElement.style)Zh=!0;else{const n=Element.prototype.scrollTo;Zh=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Zh}function Qg(){if("object"!=typeof document||!document)return 0;if(null==Iy){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),Iy=0,0===n.scrollLeft&&(n.scrollLeft=1,Iy=0===n.scrollLeft?1:2),n.remove()}return Iy}function Lx(n){if(function Y4(){if(null==Rx){const n=typeof document<"u"?document.head:null;Rx=!(!n||!n.createShadowRoot&&!n.attachShadow)}return Rx}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ys(n){return n.composedPath?n.composedPath()[0]:n.target}function Nx(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const K4=new ye("cdk-dir-doc",{providedIn:"root",factory:function X4(){return qn(en)}}),Q4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Hr=(()=>{class n{constructor(e){this.value="ltr",this.change=new Ve,e&&(this.value=function J4(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?Q4.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(te(K4,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Jg=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();const eV=["contentWrapper"],tV=["*"],nV=new ye("VIRTUAL_SCROLL_STRATEGY");let zf=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new Ae,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new at(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Ox(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):gs()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_s(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=er(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>sc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(te(Ht),te(Ai),te(en,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cS=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Ae,this._elementScrolled=new at(a=>this.ngZone.runOutsideAngular(()=>sc(this.elementRef.nativeElement,"scroll").pipe(fn(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Qg()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Qg()?e.left=e.right:1==Qg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;lS()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==Qg()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==Qg()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(zf),E(Ht),E(Hr,8))},n.\u0275dir=xe({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),ld=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new Ae,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Ox(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(te(Ai),te(Ht),te(en,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dS=new ye("VIRTUAL_SCROLLABLE");let oV=(()=>{class n extends cS{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(zf),E(Ht),E(Hr,8))},n.\u0275dir=xe({type:n,features:[nt]}),n})();const aV=typeof requestAnimationFrame<"u"?rS:Fx;let lV=(()=>{class n extends oV{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=Ct(e)}constructor(e,i,r,o,a,c,u,m){super(e,c,r,a),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=m,this._platform=qn(Ai),this._detachedSubject=new Ae,this._renderedRangeSubject=new Ae,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new at(g=>this._scrollStrategy.scrolledIndexChange.subscribe(C=>Promise.resolve().then(()=>this.ngZone.run(()=>g.next(C))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=z.EMPTY,this._viewportChanges=u.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Vr(null),Ox(0,aV)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(fn(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function sV(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,a=o?"X":"Y";let u=`translate${a}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(u+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=u&&(this._renderedContentTransform=u,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",a="rtl"==this.dir?.value;i="start"==e?a?o:r:"end"==e?a?r:o:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(Ht),E(nV,8),E(Hr,8),E(zf),E(ld),E(dS,8))},n.\u0275cmp=et({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Nn(eV,7),2&e){let r;yt(r=vt())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&Jt("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Vt([{provide:cS,useFactory:(t,e)=>t||e,deps:[[new ds,new fa(dS)],n]}]),nt,$D],ngContentSelectors:tV,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(bi(),y(0,"div",0,1),Gt(2),v(),Pe(3,"div",2)),2&e&&(T(3),mg("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),qh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})(),uS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[Jg,qh,lV,Jg,qh]}),n})();class Bx extends Ae{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function Ks(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function jf(n,t,e){const i=j(n)||t||e?{next:n,error:t,complete:e}:n;return i?it((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let c=!0;r.subscribe(lt(o,u=>{var m;null===(m=i.next)||void 0===m||m.call(i,u),o.next(u)},()=>{var u;c=!1,null===(u=i.complete)||void 0===u||u.call(i),o.complete()},u=>{var m;c=!1,null===(m=i.error)||void 0===m||m.call(i,u),o.error(u)},()=>{var u,m;c&&(null===(u=i.unsubscribe)||void 0===u||u.call(i)),null===(m=i.finalize)||void 0===m||m.call(i)}))}):Ge}function Hx(n,t=Kg){return it((e,i)=>{let r=null,o=null,a=null;const c=()=>{if(r){r.unsubscribe(),r=null;const m=o;o=null,i.next(m)}};function u(){const m=a+n,g=t.now();if(g{o=m,a=t.now(),r||(r=t.schedule(u,n),i.add(r))},()=>{c(),i.complete()},void 0,()=>{o=r=null}))})}function zx(n){return _s((t,e)=>n<=e)}function $x(n,t=Ge){return n=n??wV,it((e,i)=>{let r,o=!0;e.subscribe(lt(i,a=>{const c=t(a);(o||!n(r,c))&&(o=!1,r=c,i.next(a))}))})}function wV(n,t){return n===t}let mS=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),DV=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=er(e);return new at(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new Ae,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(te(mS))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fS=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=oc(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Ve,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Hx(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(E(DV),E(h),E(Ht))},n.\u0275dir=xe({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),jx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[mS]}),n})();function pS(n,t,e){n?lo(e,n,t):t()}function zr(n){return n<=0?()=>na:it((t,e)=>{let i=0;t.subscribe(lt(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}const gS=new Set;let Uf,MV=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):SV}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function kV(n){if(!gS.has(n))try{Uf||(Uf=document.createElement("style"),Uf.setAttribute("type","text/css"),document.head.appendChild(Uf)),Uf.sheet&&(Uf.sheet.insertRule(`@media ${n} {body{ }}`,0),gS.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(te(Ai))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function SV(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let Ux=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Ae}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return _S(Zg(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function TV(...n){const t=co(n),e=ia(n),{args:i,keys:r}=jM(n);if(0===i.length)return hr([],t);const o=new at(function EV(n,t,e=Ge){return i=>{pS(t,()=>{const{length:r}=n,o=new Array(r);let a=r,c=r;for(let u=0;u{const m=hr(n[u],t);let g=!1;m.subscribe(lt(i,C=>{o[u]=C,g||(g=!0,c--),c||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>UM(r,a):Ge));return e?o.pipe(tx(e)):o}(_S(Zg(e)).map(a=>this._registerQuery(a).observable));return o=Ay(o.pipe(zr(1)),o.pipe(zx(1),Hx(0))),o.pipe(Vn(a=>{const c={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:m})=>{c.matches=c.matches||u,c.breakpoints[m]=u}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new at(a=>{const c=u=>this._zone.run(()=>a.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Vr(i),Vn(({matches:a})=>({query:e,matches:a})),fn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(te(MV),te(Ht))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function _S(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function Ry(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const yS="cdk-describedby-message",Ly="cdk-describedby-host";let Wx=0,OV=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Wx++,this._document=e,this._id=qn(If)+"-"+Wx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=Gx(i,r);"string"!=typeof i?(vS(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=Gx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Ly}="${this._id}"]`);for(let i=0;i0!=r.indexOf(yS));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function IV(n,t,e){const i=Ry(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Ly,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function FV(n,t,e){const r=Ry(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Ly)}_isElementDescribedByMessage(e,i){const r=Ry(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(Ai))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Gx(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function vS(n,t){n.id||(n.id=`${yS}-${t}-${Wx++}`)}class CS{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ae,this._typeaheadSubscription=z.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ae,this.change=new Ae,t instanceof fu&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(jf(e=>this._pressedLetters.push(e)),Hx(t),_s(()=>this._pressedLetters.length>0),Vn(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof fu?this._items.toArray():this._items}}class xS extends CS{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Zx extends CS{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function Ny(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function By(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const VV=new ye("cdk-input-modality-detector-options"),HV={ignoreKeys:[18,17,224,91,16]},Wf=ol({passive:!0,capture:!0});let zV=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Bx(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ys(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ny(a)?"keyboard":"mouse"),this._mostRecentTarget=Ys(a))},this._onTouchstart=a=>{By(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ys(a))},this._options={...HV,...o},this.modalityDetected=this._modality.pipe(zx(1)),this.modalityChanged=this.modalityDetected.pipe($x()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Wf),r.addEventListener("mousedown",this._onMousedown,Wf),r.addEventListener("touchstart",this._onTouchstart,Wf)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Wf),document.removeEventListener("mousedown",this._onMousedown,Wf),document.removeEventListener("touchstart",this._onTouchstart,Wf))}}return n.\u0275fac=function(e){return new(e||n)(te(Ai),te(Ht),te(en),te(VV,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $V=new ye("liveAnnouncerElement",{providedIn:"root",factory:function jV(){return null}}),UV=new ye("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let WV=0,qx=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ae,this._rootNodeFocusAndBlurListener=c=>{for(let m=Ys(c);m;m=m.parentElement)"focus"===c.type?this._onFocus(c,m):this._onBlur(c,m)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=er(e);if(!this._platform.isBrowser||1!==r.nodeType)return gs(null);const o=Lx(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const c={checkChildren:i,subject:new Ae,rootNode:o};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const i=er(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=er(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([c,u])=>this._originChanged(c,i,u)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Ys(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Vy),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Vy)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Vy),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Vy),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Ve}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(xu))},n.\u0275dir=xe({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const TS="cdk-high-contrast-black-on-white",ES="cdk-high-contrast-white-on-black",Yx="cdk-high-contrast-active";let MS=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=qn(Ux).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Yx,TS,ES),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Yx,TS):2===i&&e.add(Yx,ES)}}}return n.\u0275fac=function(e){return new(e||n)(te(Ai),te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kS=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(te(MS))},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[jx]}),n})();function ac(n,t){return it((e,i)=>{let r=null,o=0,a=!1;const c=()=>a&&!r&&i.complete();e.subscribe(lt(i,u=>{r?.unsubscribe();let m=0;const g=o++;ii(n(u,g)).subscribe(r=lt(i,C=>i.next(t?t(u,C,g,m++):C),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function Kx(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function Gf(n,t){const e=t?"":"none";Kx(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function SS(n,t,e){Kx(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function Hy(n,t){return t&&"none"!=t?n+" "+t:n}function AS(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function Xx(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function Qx(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function Jx(n,t,e){const{top:i,bottom:r,left:o,right:a}=n;return e>=i&&e<=r&&t>=o&&t<=a}function n_(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function IS(n,t,e,i){const{top:r,right:o,bottom:a,left:c,width:u,height:m}=n,g=u*t,C=m*t;return i>r-C&&ic-g&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:Qx(e)})})}handleScroll(t){const e=Ys(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,a;if(e===this._document){const m=this.getViewportScrollPosition();o=m.top,a=m.left}else o=e.scrollTop,a=e.scrollLeft;const c=r.top-o,u=r.left-a;return this.positions.forEach((m,g)=>{m.clientRect&&e!==g&&e.contains(g)&&n_(m.clientRect,c,u)}),r.top=o,r.left=a,{top:c,left:u}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function OS(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rGf(i,e)))}constructor(t,e,i,r,o,a){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new Ae,this._pointerMoveSubscription=z.EMPTY,this._pointerUpSubscription=z.EMPTY,this._scrollSubscription=z.EMPTY,this._resizeSubscription=z.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Ae,this.started=new Ae,this.released=new Ae,this.ended=new Ae,this.entered=new Ae,this.exited=new Ae,this.dropped=new Ae,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&this._initializeDragSequence(u,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const u=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(u.x-this._pickupPositionOnPage.x)+Math.abs(u.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const O=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),V=this._dropContainer;if(!O)return void this._endDragSequence(c);(!V||!V.isDragging()&&!V.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}c.preventDefault();const m=this._getConstrainedPointerPosition(u);if(this._hasMoved=!0,this._lastKnownPointerPosition=u,this._updatePointerDirectionDelta(m),this._dropContainer)this._updateActiveDropContainer(m,u);else{const g=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,C=this._activeTransform;C.x=m.x-g.x+this._passiveTransform.x,C.y=m.y-g.y+this._passiveTransform.y,this._applyRootElementTransform(C.x,C.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:m,event:c,distance:this._getDragDistance(m),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this._nativeDragStart=c=>{if(this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&c.preventDefault()}else this.disabled||c.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new FS(i),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>er(i)),this._handles.forEach(i=>Gf(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=er(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,zy),e.addEventListener("touchstart",this._pointerDown,NS),e.addEventListener("dragstart",this._nativeDragStart,zy)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?er(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Gf(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Gf(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){i_(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();r.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),SS(i,!1,ew),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,c).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=i_(e),o=!r&&0!==e.button,a=this._rootElement,c=Ys(e),u=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=r?By(e):Ny(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||u||m)return;if(this._handles.length){const F=a.style;this._rootElementTapHighlight=F.webkitTapHighlightColor||"",F.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(F=>this._updateOnScroll(F)),this._boundaryElement&&(this._boundaryRect=Qx(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const C=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:C.x,y:C.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){SS(this._rootElement,!0,ew),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),r=VS(a,this._document),this._previewRef=a,t.matchSize?HS(r,o):r.style.transform=$y(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=OS(this._rootElement),HS(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return Kx(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ew),Gf(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function YV(n){const t=getComputedStyle(n),e=Xx(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const r=e.indexOf(i),o=Xx(t,"transition-duration"),a=Xx(t,"transition-delay");return AS(o[r])+AS(a[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=a=>{(!a||Ys(a)===this._preview&&"transform"===a.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=VS(this._placeholderRef,this._document)):i=OS(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,a=i_(i)?i.targetTouches[0]:i,c=this._getViewportScrollPosition();return{x:o.left-t.left+(a.pageX-o.left-c.left),y:o.top-t.top+(a.pageY-o.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=i_(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const c=this._ownerSVGElement.createSVGPoint();return c.x=r,c.y=o,c.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:a}=this._pickupPositionInElement,c=this._boundaryRect,{width:u,height:m}=this._getPreviewRect(),g=c.top+a,C=c.bottom-(m-a);i=BS(i,c.left+o,c.right-(u-o)),r=BS(r,g,C)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),c=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),c>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Gf(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,zy),t.removeEventListener("touchstart",this._pointerDown,NS),t.removeEventListener("dragstart",this._nativeDragStart,zy)}_applyRootElementTransform(t,e){const i=$y(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=Hy(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=$y(t,e);this._preview.style.transform=Hy(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,a=i.right-r.right,c=r.top-i.top,u=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,r.height>i.height?(c>0&&(e+=c),u>0&&(e-=u)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:i_(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Ys(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&n_(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Lx(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return er(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function $y(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function BS(n,t,e){return Math.max(t,Math.min(e,n))}function i_(n){return"t"===n.type[0]}function VS(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function HS(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=$y(t.left,t.top)}function r_(n,t){return Math.max(0,Math.min(t,n))}class e8{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===a&&o.length>0)return null;const c="horizontal"===this.orientation,u=o.findIndex(ie=>ie.drag===t),m=o[a],C=m.clientRect,F=u>a?1:-1,O=this._getItemOffsetPx(o[u].clientRect,C,F),V=this._getSiblingOffsetPx(u,o,F),U=o.slice();return function JV(n,t,e){const i=r_(t,n.length-1),r=r_(e,n.length-1);if(i===r)return;const o=n[i],a=r{if(U[ue]===ie)return;const Le=ie.drag===t,ge=Le?O:V,ft=Le?t.getPlaceholderElement():ie.drag.getRootElement();ie.offset+=ge,c?(ft.style.transform=Hy(`translate3d(${Math.round(ie.offset)}px, 0, 0)`,ie.initialTransform),n_(ie.clientRect,0,ge)):(ft.style.transform=Hy(`translate3d(0, ${Math.round(ie.offset)}px, 0)`,ie.initialTransform),n_(ie.clientRect,ge,0))}),this._previousSwap.overlaps=Jx(C,e,i),this._previousSwap.drag=m.drag,this._previousSwap.delta=c?r.x:r.y,{previousIndex:u,currentIndex:a}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,a=this._activeDraggables,c=a.indexOf(t),u=t.getPlaceholderElement();let m=a[o];if(m===t&&(m=a[o+1]),!m&&(null==o||-1===o||o-1&&a.splice(c,1),m&&!this._dragDropRegistry.isDragging(m)){const g=m.getRootElement();g.parentElement.insertBefore(u,g),a.splice(o,0,t)}else er(this._element).appendChild(u),a.push(t);u.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{n_(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:Qx(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,a=e[t+-1*i];let c=o[r?"width":"height"]*i;if(a){const u=r?"left":"top",m=r?"right":"bottom";-1===i?c-=a.clientRect[u]-o[m]:c+=o[u]-a.clientRect[m]}return c}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const a=i[i.length-1].clientRect;return r?t>=a.right:e>=a.bottom}{const a=i[0].clientRect;return r?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,a=this._itemPositions.findIndex(({drag:c,clientRect:u})=>c!==t&&((!r||c!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(u.left)&&e=Math.floor(u.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ae,this.entered=new Ae,this.exited=new Ae,this.dropped=new Ae,this.sorted=new Ae,this.receivingStarted=new Ae,this.receivingStopped=new Ae,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=z.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ae,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function qV(n=0,t=Kg){return n<0&&(n=0),Sy(n,n,t)}(0,rS).pipe(fn(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?a.scrollBy(0,-c):2===this._verticalScrollDirection&&a.scrollBy(0,c),1===this._horizontalScrollDirection?a.scrollBy(-c,0):2===this._horizontalScrollDirection&&a.scrollBy(c,0)})},this.element=er(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new FS(i),this._sortStrategy=new e8(this.element,e),this._sortStrategy.withSortPredicate((a,c)=>this.sortPredicate(a,c,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,a,c,u={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:c,event:u})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=er(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!IS(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((a,c)=>{c===this._document||!a.clientRect||i||IS(a.clientRect,.05,t,e)&&([r,o]=function n8(n,t,e,i){const r=jS(t,i),o=US(t,e);let a=0,c=0;if(r){const u=n.scrollTop;1===r?u>0&&(a=1):n.scrollHeight-u>n.clientHeight&&(a=2)}if(o){const u=n.scrollLeft;1===o?u>0&&(c=1):n.scrollWidth-u>n.clientWidth&&(c=2)}return[a,c]}(c,a.clientRect,t,e),(r||o)&&(i=c))}),!r&&!o){const{width:a,height:c}=this._viewportRuler.getViewportSize(),u={width:a,height:c,top:0,right:a,bottom:c,left:0};r=jS(u,e),o=US(u,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=er(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=er(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=er(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&Jx(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!Jx(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=er(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=Lx(er(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function jS(n,t){const{top:e,bottom:i,height:r}=n,o=r*$S;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function US(n,t){const{left:e,right:i,width:r}=n,o=r*$S;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const jy=ol({passive:!1,capture:!0});let i8=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new Ae,this.pointerUp=new Ae,this.scroll=new Ae,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,jy)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,jy)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:jy}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:jy}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,a)=>{this._document.addEventListener(a,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new at(r=>this._ngZone.runOutsideAngular(()=>{const a=c=>{this._activeDragInstances.length&&r.next(c)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),on(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(te(Ht),te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const r8={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let tw=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=r8){return new QV(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new t8(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(Ht),te(ld),te(i8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const nw=new ye("CDK_DRAG_PARENT"),iw=new ye("CdkDropListGroup");let WS=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Vt([{provide:iw,useExisting:n}])]}),n})();const GS=new ye("CDK_DRAG_CONFIG");let o8=0;const ZS=new ye("CdkDropList");let qS=(()=>{class n{get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=Ct(e)}constructor(e,i,r,o,a,c,u){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=c,this._destroyed=new Ae,this.connectedTo=[],this.id="cdk-drop-list-"+o8++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new Ve,this.entered=new Ve,this.exited=new Ve,this.sorted=new Ve,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=(m,g)=>this.enterPredicate(m.data,g.data),this._dropListRef.sortPredicate=(m,g,C)=>this.sortPredicate(m,g.data,C.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Vr(this._dir.value),fn(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=Zg(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(a=>a.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===i.indexOf(r)&&i.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Ct(this.sortingDisabled),e.autoScrollDisabled=Ct(this.autoScrollDisabled),e.autoScrollStep=oc(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),on(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:i,draggingDisabled:r,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:c}=e;this.disabled=r??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=c||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(E(h),E(tw),E(ti),E(zf),E(Hr,8),E(iw,12),E(GS,8))},n.\u0275dir=xe({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(bt("id",i.id),Jt("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Vt([{provide:iw,useValue:void 0},{provide:ZS,useExisting:n}])]}),n})();const rw=new ye("CdkDragHandle"),YS=new ye("CdkDragPlaceholder"),KS=new ye("CdkDragPreview");let XS=(()=>{class n{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=Ct(e),this._dragRef.disabled=this._disabled}constructor(e,i,r,o,a,c,u,m,g,C,F){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=u,this._changeDetectorRef=g,this._selfHandle=C,this._parentDrag=F,this._destroyed=new Ae,this.started=new Ve,this.released=new Ve,this.ended=new Ve,this.entered=new Ve,this.exited=new Ve,this.dropped=new Ve,this.moved=new at(O=>{const V=this._dragRef.moved.pipe(Vn(U=>({source:this,pointerPosition:U.pointerPosition,event:U.event,delta:U.delta,distance:U.distance}))).subscribe(O);return()=>{V.unsubscribe()}}),this._dragRef=m.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(zr(1),fn(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):er(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof r&&r?r:oc(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(zr(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:a,boundaryElement:c,draggingDisabled:u,rootElementSelector:m,previewContainer:g}=e;this.disabled=u??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),c&&(this.boundaryElement=c),m&&(this.rootElementSelector=m),g&&(this.previewContainer=g)}_setupHandlesListener(){this._handles.changes.pipe(Vr(this._handles),jf(e=>{const i=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),ac(e=>on(...e.map(i=>i._stateChanges.pipe(Vr(i))))),fn(this._destroyed)).subscribe(e=>{const i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(E(h),E(ZS,12),E(en),E(Ht),E(xr),E(GS,8),E(Hr,8),E(tw),E(ti),E(rw,10),E(nw,12))},n.\u0275dir=xe({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,KS,5),Bn(r,YS,5),Bn(r,rw,5)),2&e){let o;yt(o=vt())&&(i._previewTemplate=o.first),yt(o=vt())&&(i._placeholderTemplate=o.first),yt(o=vt())&&(i._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&Jt("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Vt([{provide:nw,useExisting:n}]),ci]}),n})(),d8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[tw],imports:[qh]}),n})();const u8=["text"];function h8(n,t){if(1&n&&Pe(0,"mat-pseudo-checkbox",6),2&n){const e=Z();N("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function m8(n,t){1&n&&Pe(0,"mat-pseudo-checkbox",7),2&n&&N("disabled",Z().disabled)}function f8(n,t){if(1&n&&(y(0,"span",8),A(1),v()),2&n){const e=Z();T(1),hi("(",e.group.label,")")}}const p8=[[["mat-icon"]],"*"],g8=["mat-icon","*"],b8=new ye("mat-sanity-checks",{providedIn:"root",factory:function _8(){return!0}});let $n=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!Nx()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(te(MS),te(b8,8),te(en))},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[Jg,Jg]}),n})();function Kh(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=Ct(t)}constructor(...t){super(...t),this._disabled=!1}}}function Zf(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function wu(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ct(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function o_(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?oc(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function ow(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}let Uy=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class v8{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const eA=ol({passive:!0,capture:!0});class C8{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Ys(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,eA)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,eA)))}}const tA={enterDuration:225,exitDuration:150},nA=ol({passive:!0,capture:!0}),iA=["mousedown","touchstart"],rA=["mouseup","mouseleave","touchend","touchcancel"];class a_{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=er(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...tA,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function w8(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),c=t-r.left,u=e-r.top,m=o.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=c-a+"px",g.style.top=u-a+"px",g.style.height=2*a+"px",g.style.width=2*a+"px",null!=i.color&&(g.style.backgroundColor=i.color),g.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(g);const C=window.getComputedStyle(g),O=C.transitionDuration,V="none"===C.transitionProperty||"0s"===O||"0s, 0s"===O||0===r.width&&0===r.height,U=new v8(this,g,i,V);g.style.transform="scale3d(1, 1, 1)",U.state=0,i.persistent||(this._mostRecentTransientRipple=U);let ie=null;return!V&&(m||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ue=()=>this._finishRippleTransition(U),Le=()=>this._destroyRipple(U);g.addEventListener("transitionend",ue),g.addEventListener("transitioncancel",Le),ie={onTransitionEnd:ue,onTransitionCancel:Le}}),this._activeRipples.set(U,ie),(V||!m)&&this._finishRippleTransition(U),U}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...tA,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=er(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,iA.forEach(i=>{a_._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{rA.forEach(e=>{this._triggerElement.addEventListener(e,this,nA)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=Ny(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(iA.forEach(e=>a_._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&rA.forEach(e=>t.removeEventListener(e,this,nA)))}}a_._eventManager=new C8;const sw=new ye("mat-ripple-global-options");let Xo=(()=>{class n{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new a_(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ht),E(Ai),E(sw,8),E(Nr,8))},n.\u0275dir=xe({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Jt("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Xh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,$n]}),n})(),D8=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&Jt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),n})(),T8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n]}),n})();const aw=new ye("MAT_OPTION_PARENT_COMPONENT"),lw=new ye("MatOptgroup");let E8=0;class oA{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let M8=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ct(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+E8++,this.onSelectionChange=new Ve,this._stateChanges=new Ae}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Ks(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new oA(this,e))}}return n.\u0275fac=function(e){ag()},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&Nn(u8,7),2&e){let r;yt(r=vt())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Qh=(()=>{class n extends M8{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(aw,8),E(lw,8))},n.\u0275cmp=et({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,i){1&e&&ce("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Ws("id",i.id),bt("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),Jt("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[nt],ngContentSelectors:g8,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(bi(p8),K(0,h8,1,2,"mat-pseudo-checkbox",0),Gt(1),y(2,"span",1,2),Gt(4,1),v(),K(5,m8,1,1,"mat-pseudo-checkbox",3),K(6,f8,2,1,"span",4),Pe(7,"div",5)),2&e&&(N("ngIf",i.multiple),T(5),N("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),T(1),N("ngIf",i.group&&i.group._inert),T(1),N("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xo,Si,D8],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function sA(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let Wy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[Xh,wa,$n,T8]}),n})();class cw{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Gy extends cw{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class Jh extends cw{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class k8 extends cw{constructor(t){super(),this.element=t instanceof h?t.nativeElement:t}}class dw{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Gy?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Jh?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof k8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S8 extends dw{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const c=a.element,u=this._document.createComment("dom-portal");c.parentNode.insertBefore(u,c),this.outletElement.appendChild(c),this._attachedPortal=a,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(c,u)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Wo.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let A8=(()=>{class n extends Jh{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(E(Cr),E(xr))},n.\u0275dir=xe({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[nt]}),n})(),l_=(()=>{class n extends dw{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ve,this.attachDomPortal=o=>{const a=o.element,c=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(c,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(E(uu),E(xr),E(en))},n.\u0275dir=xe({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[nt]}),n})(),uw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();const lA=lS();class F8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Mr(-this._previousScrollPosition.left),t.style.top=Mr(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),lA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),lA&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class O8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class cA{enable(){}disable(){}attach(){}}function hw(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function dA(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class P8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();hw(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let R8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new cA,this.close=a=>new O8(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new F8(this._viewportRuler,this._document),this.reposition=a=>new P8(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(te(zf),te(ld),te(Ht),te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class c_{constructor(t){if(this.scrollStrategy=new cA,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class L8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let uA=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(te(en))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),N8=(()=>{class n extends uA{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const c=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(Ht,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),B8=(()=>{class n extends uA{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ys(o)},this._clickListener=o=>{const a=Ys(o),c="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const u=this._attachedOverlays.slice();for(let m=u.length-1;m>-1;m--){const g=u[m];if(g._outsidePointerEvents.observers.length<1||!g.hasAttached())continue;if(g.overlayElement.contains(a)||g.overlayElement.contains(c))break;const C=g._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>C.next(o)):C.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(te(en),te(Ai),te(Ht,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hA=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||Nx()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(C),this._backdropTransitionendHandler=C=>{this._disposeBackdrop(C.target)},this._keydownEvents=new Ae,this._outsidePointerEvents=new Ae,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(zr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Mr(this._config.width),t.height=Mr(this._config.height),t.minWidth=Mr(this._config.minWidth),t.minHeight=Mr(this._config.minHeight),t.maxWidth=Mr(this._config.maxWidth),t.maxHeight=Mr(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=Zg(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(fn(on(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const mA="cdk-overlay-connected-position-bounding-box",H8=/([A-Za-z%]+)$/;class z8{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ae,this._resizeSubscription=z.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(mA),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,r,c),m=this._getOverlayPoint(u,e,c),g=this._getOverlayFit(m,e,i,c);if(g.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(g,m,i)?o.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!a||a.overlayFit.visibleAreau&&(u=g,c=m)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&em(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==i.originX?a:c}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=pA(e);let{x:a,y:c}=t,u=this._getOffset(r,"x"),m=this._getOffset(r,"y");u&&(a+=u),m&&(c+=m);let F=0-c,O=c+o.height-i.height,V=this._subtractOverflows(o.width,0-a,a+o.width-i.width),U=this._subtractOverflows(o.height,F,O),ie=V*U;return{visibleArea:ie,isCompletelyWithinViewport:o.width*o.height===ie,fitsInViewportVertically:U===o.height,fitsInViewportHorizontally:V==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=fA(this._overlayRef.getConfig().minHeight),c=fA(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=pA(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),c=Math.max(t.y+r.height-o.height,0),u=Math.max(o.top-i.top-t.y,0),m=Math.max(o.left-i.left-t.x,0);let g=0,C=0;return g=r.width<=o.width?m||-a:t.xV&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-V/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)F=i.width-t.x+this._viewportMargin,g=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)C=t.x,g=i.right-t.x;else{const O=Math.min(i.right-t.x+i.left,t.x),V=this._lastBoundingBoxSize.width;g=2*O,C=t.x-O,g>V&&!this._isInitialRender&&!this._growAfterOpen&&(C=t.x-V/2)}return{top:a,left:C,bottom:c,right:F,width:g,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Mr(i.height),r.top=Mr(i.top),r.bottom=Mr(i.bottom),r.width=Mr(i.width),r.left=Mr(i.left),r.right=Mr(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Mr(o)),a&&(r.maxWidth=Mr(a))}this._lastBoundingBoxSize=i,em(this._boundingBox.style,r)}_resetBoundingBoxStyles(){em(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){em(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const g=this._viewportRuler.getViewportScrollPosition();em(i,this._getExactOverlayY(e,t,g)),em(i,this._getExactOverlayX(e,t,g))}else i.position="static";let c="",u=this._getOffset(e,"x"),m=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),m&&(c+=`translateY(${m}px)`),i.transform=c.trim(),a.maxHeight&&(r?i.maxHeight=Mr(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Mr(a.maxWidth):o&&(i.maxWidth="")),em(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Mr(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Mr(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dA(t,i),isOriginOutsideView:hw(t,i),isOverlayClipped:dA(e,i),isOverlayOutsideView:hw(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Zg(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof h)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function em(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function fA(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(H8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function pA(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const gA="cdk-global-overlay-wrapper";class $8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(gA),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:c}=i,u=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),m=!("100%"!==o&&"100vh"!==o||c&&"100%"!==c&&"100vh"!==c),g=this._xPosition,C=this._xOffset,F="rtl"===this._overlayRef.getConfig().direction;let O="",V="",U="";u?U="flex-start":"center"===g?(U="center",F?V=C:O=C):F?"left"===g||"end"===g?(U="flex-end",O=C):("right"===g||"start"===g)&&(U="flex-start",V=C):"left"===g||"start"===g?(U="flex-start",O=C):("right"===g||"end"===g)&&(U="flex-end",V=C),t.position=this._cssPosition,t.marginLeft=u?"0":O,t.marginTop=m?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=u?"0":V,e.justifyContent=U,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(gA),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let j8=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new $8}flexibleConnectedTo(e){return new z8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(te(ld),te(en),te(Ai),te(hA))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),U8=0,Ma=(()=>{class n{constructor(e,i,r,o,a,c,u,m,g,C,F,O){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=c,this._ngZone=u,this._document=m,this._directionality=g,this._location=C,this._outsideClickDispatcher=F,this._animationsModuleType=O}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new c_(e);return a.direction=a.direction||this._directionality.value,new V8(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+U8++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Mg)),new S8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(te(R8),te(hA),te(uu),te(j8),te(N8),te(Wo),te(Ht),te(en),te(Hr),te(sE),te(B8),te(Nr,8))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const W8=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],_A=new ye("cdk-connected-overlay-scroll-strategy");let mw=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(E(h))},n.\u0275dir=xe({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),bA=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ct(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ct(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ct(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ct(e)}get push(){return this._push}set push(e){this._push=Ct(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=z.EMPTY,this._attachSubscription=z.EMPTY,this._detachSubscription=z.EMPTY,this._positionSubscription=z.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ve,this.positionChange=new Ve,this.attach=new Ve,this.detach=new Ve,this.overlayKeydown=new Ve,this.overlayOutsideClick=new Ve,this._templatePortal=new Jh(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=W8);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Ks(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new c_({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof mw?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function I8(n,t=!1){return it((e,i)=>{let r=0;e.subscribe(lt(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(E(Ma),E(Cr),E(xr),E(_A),E(Hr,8))},n.\u0275dir=xe({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ci]}),n})();const Z8={provide:_A,deps:[Ma],useFactory:function G8(n){return()=>n.scrollStrategies.reposition()}};let d_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[Ma,Z8],imports:[Jg,uw,uS,uS]}),n})();function yA(n){return new at(t=>{ii(n()).subscribe(t)})}const q8=["matFormFieldNotchedOutline",""],Y8=["*"],K8=["textField"],X8=["iconPrefixContainer"],Q8=["textPrefixContainer"];function J8(n,t){1&n&&Pe(0,"span",19)}function e6(n,t){if(1&n){const e=Nt();y(0,"label",17),ce("cdkObserveContent",function(){return He(e),je(Z(2)._refreshOutlineNotchWidth())}),Gt(1,1),K(2,J8,1,0,"span",18),v()}if(2&n){const e=Z(2);N("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),bt("for",e._control.id)("aria-owns",e._control.id),T(2),N("ngIf",!e.hideRequiredMarker&&e._control.required)}}function t6(n,t){1&n&&K(0,e6,3,6,"label",16),2&n&&N("ngIf",Z()._hasFloatingLabel())}function n6(n,t){1&n&&Pe(0,"div",20)}function i6(n,t){}function r6(n,t){1&n&&K(0,i6,0,0,"ng-template",22),2&n&&(Z(2),N("ngTemplateOutlet",Go(1)))}function o6(n,t){if(1&n&&(y(0,"div",21),K(1,r6,1,1,"ng-template",9),v()),2&n){const e=Z();N("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),T(1),N("ngIf",!e._forceDisplayInfixLabel())}}function s6(n,t){1&n&&(y(0,"div",23,24),Gt(2,2),v())}function a6(n,t){1&n&&(y(0,"div",25,26),Gt(2,3),v())}function l6(n,t){}function c6(n,t){1&n&&K(0,l6,0,0,"ng-template",22),2&n&&(Z(),N("ngTemplateOutlet",Go(1)))}function d6(n,t){1&n&&(y(0,"div",27),Gt(1,4),v())}function u6(n,t){1&n&&(y(0,"div",28),Gt(1,5),v())}function h6(n,t){1&n&&Pe(0,"div",29)}function m6(n,t){1&n&&(y(0,"div",30),Gt(1,6),v()),2&n&&N("@transitionMessages",Z()._subscriptAnimationState)}function f6(n,t){if(1&n&&(y(0,"mat-hint",34),A(1),v()),2&n){const e=Z(2);N("id",e._hintLabelId),T(1),Rt(e.hintLabel)}}function p6(n,t){if(1&n&&(y(0,"div",31),K(1,f6,2,2,"mat-hint",32),Gt(2,7),Pe(3,"div",33),Gt(4,8),v()),2&n){const e=Z();N("@transitionMessages",e._subscriptAnimationState),T(1),N("ngIf",e.hintLabel)}}const g6=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_6=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let $r=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-label"]]}),n})(),b6=0;const vA=new ye("MatError");let cd=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+b6++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(go("aria-live"),E(h))},n.\u0275dir=xe({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Ws("id",i.id)},inputs:{id:"id"},features:[Vt([{provide:vA,useExisting:n}])]}),n})(),y6=0,CA=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+y6++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Ws("id",i.id),bt("align",null),Jt("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const v6=new ye("MatPrefix"),C6=new ye("MatSuffix");let xA=(()=>{class n{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function x6(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(E(h))},n.\u0275dir=xe({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&Jt("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),n})();const wA="mdc-line-ripple--active",Zy="mdc-line-ripple--deactivating";let DA=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(Zy);"opacity"===r.propertyName&&a&&o.remove(wA,Zy)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Zy),e.add(wA)}deactivate(){this._elementRef.nativeElement.classList.add(Zy)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ht))},n.\u0275dir=xe({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),TA=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ht))},n.\u0275cmp=et({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&Jt("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:q8,ngContentSelectors:Y8,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(bi(),Pe(0,"div",0),y(1,"div",1),Gt(2),v(),Pe(3,"div",2)),2&e&&(T(1),mg("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),n})();const w6={transitionMessages:od("transitionMessages",[Da("enter",xi({opacity:1,transform:"translateY(0%)"})),Mo("void => enter",[xi({opacity:0,transform:"translateY(-5px)"}),Eo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let qy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n}),n})();const u_=new ye("MatFormField"),D6=new ye("MAT_FORM_FIELD_DEFAULT_OPTIONS");let EA=0,vo=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ct(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,a,c,u,m){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=c,this._animationMode=u,this._document=m,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+EA++,this._hintLabelId="mat-mdc-hint-"+EA++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new Ae,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(fn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),on(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(fn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(fn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(Ht),E(Hr),E(Ai),E(D6,8),E(Nr,8),E(en))},n.\u0275cmp=et({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,$r,5),Bn(r,$r,7),Bn(r,qy,5),Bn(r,v6,5),Bn(r,C6,5),Bn(r,vA,5),Bn(r,CA,5)),2&e){let o;yt(o=vt())&&(i._labelChildNonStatic=o.first),yt(o=vt())&&(i._labelChildStatic=o.first),yt(o=vt())&&(i._formFieldControl=o.first),yt(o=vt())&&(i._prefixChildren=o),yt(o=vt())&&(i._suffixChildren=o),yt(o=vt())&&(i._errorChildren=o),yt(o=vt())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Nn(K8,5),Nn(X8,5),Nn(Q8,5),Nn(xA,5),Nn(TA,5),Nn(DA,5)),2&e){let r;yt(r=vt())&&(i._textField=r.first),yt(r=vt())&&(i._iconPrefixContainer=r.first),yt(r=vt())&&(i._textPrefixContainer=r.first),yt(r=vt())&&(i._floatingLabel=r.first),yt(r=vt())&&(i._notchedOutline=r.first),yt(r=vt())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&Jt("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Vt([{provide:u_,useExisting:n}])],ngContentSelectors:_6,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(bi(g6),K(0,t6,1,1,"ng-template",null,0,Eb),y(2,"div",1,2),ce("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),K(4,n6,1,0,"div",3),y(5,"div",4),K(6,o6,2,3,"div",5),K(7,s6,3,0,"div",6),K(8,a6,3,0,"div",7),y(9,"div",8),K(10,c6,1,1,"ng-template",9),Gt(11),v(),K(12,d6,2,0,"div",10),K(13,u6,2,0,"div",11),v(),K(14,h6,1,0,"div",12),v(),y(15,"div",13),K(16,m6,2,1,"div",14),K(17,p6,5,2,"div",15),v()),2&e&&(T(2),Jt("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),T(2),N("ngIf",!i._hasOutline()&&!i._control.disabled),T(2),N("ngIf",i._hasOutline()),T(1),N("ngIf",i._hasIconPrefix),T(1),N("ngIf",i._hasTextPrefix),T(2),N("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),T(2),N("ngIf",i._hasTextSuffix),T(1),N("ngIf",i._hasIconSuffix),T(1),N("ngIf",!i._hasOutline()),T(1),Jt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),N("ngSwitch",i._getDisplayedMessages()),T(1),N("ngSwitchCase","error"),T(1),N("ngSwitchCase","hint"))},dependencies:[Si,DE,Of,Ub,fS,CA,xA,TA,DA],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[w6.transitionMessages]},changeDetection:0}),n})(),Yy=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,wa,jx,$n]}),n})();function SA(n,t){return t?e=>Ay(t.pipe(zr(1),function M6(){return it((n,t)=>{n.subscribe(lt(t,Oe))})}()),e.pipe(SA(n))):ir((e,i)=>ii(n(e,i)).pipe(zr(1),function k6(n){return Vn(()=>n)}(e)))}function fw(n,t=Kg){const e=Sy(n,t);return SA(()=>e)}const S6=["panel"];function A6(n,t){if(1&n&&(y(0,"div",0,1),Gt(2),v()),2&n){const e=t.id,i=Z();N("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),bt("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const I6=["*"],F6=od("panelAnimation",[Da("void, hidden",xi({opacity:0,transform:"scaleY(0.8)"})),Mo(":enter, hidden => visible",[GN([Eo("0.03s linear",xi({opacity:1})),Eo("0.12s cubic-bezier(0, 0, 0.2, 1)",xi({transform:"scaleY(1)"}))])]),Mo(":leave, visible => hidden",[Eo("0.075s linear",xi({opacity:0}))])]);let O6=0;class P6{constructor(t,e){this.source=t,this.option=e}}const R6=wu(class{}),AA=new ye("mat-autocomplete-default-options",{providedIn:"root",factory:function L6(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let N6=(()=>{class n extends R6{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ct(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ct(e)}set classList(e){this._classList=e&&e.length?function k4(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=z.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new Ve,this.opened=new Ve,this.closed=new Ve,this.optionActivated=new Ve,this._classList={},this.id="mat-autocomplete-"+O6++,this.inertGroups=o?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new xS(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new P6(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(h),E(AA),E(Ai))},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&(Nn(Cr,7),Nn(S6,5)),2&e){let r;yt(r=vt())&&(i.template=r.first),yt(r=vt())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[nt]}),n})(),B6=(()=>{class n extends N6{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275cmp=et({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,lw,5),Bn(r,Qh,5)),2&e){let o;yt(o=vt())&&(i.optionGroups=o),yt(o=vt())&&(i.options=o)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Vt([{provide:aw,useExisting:n}]),nt],ngContentSelectors:I6,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(bi(),K(0,A6,3,5,"ng-template"))},dependencies:[Ff],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[F6]},changeDetection:0}),n})();const V6={provide:Tr,useExisting:Wt(()=>FA),multi:!0},IA=new ye("mat-autocomplete-scroll-strategy"),z6={provide:IA,deps:[Ma],useFactory:function H6(n){return()=>n.scrollStrategies.reposition()}};let $6=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ct(e)}constructor(e,i,r,o,a,c,u,m,g,C,F){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=u,this._formField=m,this._document=g,this._viewportRuler=C,this._defaults=F,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=z.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ae,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=yA(()=>{const O=this.autocomplete?this.autocomplete.options:null;return O?O.changes.pipe(Vr(O),ac(()=>on(...O.map(V=>V.onSelectionChange)))):this._zone.onStable.pipe(zr(1),ac(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return on(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(_s(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(_s(()=>this._overlayAttached)):gs()).pipe(Vn(e=>e instanceof oA?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return on(sc(this._document,"click"),sc(this._document,"auxclick"),sc(this._document,"touchend")).pipe(_s(e=>{const i=Ys(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=Ks(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return on(this._zone.onStable.pipe(zr(1)),this.autocomplete.options.changes.pipe(jf(()=>this._positionStrategy.reapplyLastPosition()),fw(0))).pipe(ac(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),zr(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Jh(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new c_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=sA(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const a=o._getHostElement(),c=aA(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!Ks(i)||38===i.keyCode&&Ks(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ma),E(xr),E(Ht),E(ti),E(IA),E(Hr,8),E(u_,9),E(en,8),E(ld),E(AA,8))},n.\u0275dir=xe({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ci]}),n})(),FA=(()=>{class n extends $6{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&ce("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&bt("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Vt([V6]),nt]}),n})(),j6=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[z6],imports:[d_,Wy,$n,wa,qh,Wy,$n]}),n})();const U6=["mat-button",""],OA=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],PA=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],G6=["mat-fab",""],Z6=["mat-icon-button",""],q6=["*"],Y6=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],K6=Zf(Kh(wu(class{constructor(n){this._elementRef=n}})));let pw=(()=>{class n extends K6{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=qn(xu),this._isFab=!1;const a=e.nativeElement.classList;for(const c of Y6)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(u=>{a.add(u)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return n.\u0275fac=function(e){ag()},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&Nn(Xo,5),2&e){let r;yt(r=vt())&&(i.ripple=r.first)}},features:[nt]}),n})(),tr=(()=>{class n extends pw{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ai),E(Ht),E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(bt("disabled",i.disabled||null),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:U6,ngContentSelectors:PA,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(OA),Pe(0,"span",0),Gt(1),y(2,"span",1),Gt(3,1),v(),Gt(4,2),Pe(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Jt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),T(6),N("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[Xo],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})();const Q6=new ye("mat-mdc-fab-default-options",{providedIn:"root",factory:RA});function RA(){return{color:"accent"}}const LA=RA();let h_=(()=>{class n extends pw{get extended(){return this._extended}set extended(e){this._extended=Ct(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||LA,this.color=this.defaultColor=this._options.color||LA.color}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ai),E(Ht),E(Nr,8),E(Q6,8))},n.\u0275cmp=et({type:n,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,i){2&e&&(bt("disabled",i.disabled||null),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[nt],attrs:G6,ngContentSelectors:PA,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(OA),Pe(0,"span",0),Gt(1),y(2,"span",1),Gt(3,1),v(),Gt(4,2),Pe(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Jt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),T(6),N("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[Xo],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),m_=(()=>{class n extends pw{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ai),E(Ht),E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(bt("disabled",i.disabled||null),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:Z6,ngContentSelectors:q6,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(bi(),Pe(0,"span",0),Gt(1),Pe(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(T(3),N("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[Xo],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),NA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,Xh,$n]}),n})();class BA{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ae,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}const J6=["button"],eH=["*"],VA=new ye("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),HA=new ye("MatButtonToggleGroup"),tH={provide:Tr,useExisting:Wt(()=>gw),multi:!0};let zA=0;class $A{constructor(t,e){this.source=t,this.value=e}}let gw=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=Ct(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+zA++,this.valueChange=new Ve,this.change=new Ve,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new BA(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new $A(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(VA,8))},n.\u0275dir=xe({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,_w,5),2&e){let o;yt(o=vt())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(bt("aria-disabled",i.disabled),Jt("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Vt([tH,{provide:HA,useExisting:n}])]}),n})();const nH=wu(class{});let _w=(()=>{class n extends nH{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const i=Ct(e);i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=Ct(e)}constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new Ve;const u=Number(a);this.tabIndex=u||0===u?u:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+zA++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new $A(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(E(HA,8),E(ti),E(h),E(xu),go("tabindex"),E(VA,8))},n.\u0275cmp=et({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&Nn(J6,5),2&e){let r;yt(r=vt())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&ce("focus",function(){return i.focus()}),2&e&&(bt("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),Jt("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[nt],ngContentSelectors:eH,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(bi(),y(0,"button",0,1),ce("click",function(){return i._onButtonClick()}),y(2,"span",2),Gt(3),v()(),Pe(4,"span",3)(5,"span",4)),2&e){const r=Go(1);N("id",i.buttonId)("disabled",i.disabled||null),bt("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),T(5),N("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[Xo],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),n})(),iH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,Xh,$n]}),n})();const rH=["*"],aH=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],lH=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],cH=new ye("MAT_CARD_CONFIG");let Du=(()=>{class n{constructor(e){this.appearance=e?.appearance||"raised"}}return n.\u0275fac=function(e){return new(e||n)(E(cH,8))},n.\u0275cmp=et({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&Jt("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:rH,decls:1,vars:0,template:function(e,i){1&e&&(bi(),Gt(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),qf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),Tu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),n})(),Yf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),n})(),Eu=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,i){2&e&&Jt("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),Kf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:lH,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,i){1&e&&(bi(aH),Gt(0),y(1,"div",0),Gt(2,1),v(),Gt(3,2))},encapsulation:2,changeDetection:0}),n})(),bH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,wa,$n]}),n})();const yH=["input"],vH=["label"],CH=["*"],xH=new ye("mat-checkbox-default-options",{providedIn:"root",factory:jA});function jA(){return{color:"accent",clickAction:"check-indeterminate"}}const wH={provide:Tr,useExisting:Wt(()=>dd),multi:!0};class DH{}let TH=0;const UA=jA(),EH=o_(Zf(wu(Kh(class{constructor(n){this._elementRef=n}}))));let MH=(()=>{class n extends EH{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ct(e)}constructor(e,i,r,o,a,c,u){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=c,this._options=u,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Ve,this.indeterminateChange=new Ve,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||UA,this.color=this.defaultColor=this._options.color||UA.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++TH}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ct(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ct(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ct(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){ag()},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&(Nn(yH,5),Nn(vH,5),Nn(Xo,5)),2&e){let r;yt(r=vt())&&(i._inputElement=r.first),yt(r=vt())&&(i._labelElement=r.first),yt(r=vt())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[nt]}),n})(),dd=(()=>{class n extends MH{constructor(e,i,r,o,a,c){super("mat-mdc-checkbox-",e,i,r,o,a,c),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new DH;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(Ht),go("tabindex"),E(Nr,8),E(xH,8))},n.\u0275cmp=et({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Ws("id",i.id),bt("tabindex",null)("aria-label",null)("aria-labelledby",null),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Vt([wH]),nt],ngContentSelectors:CH,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(e,i){if(1&e&&(bi(),y(0,"div",0),ce("click",function(o){return i._preventBubblingFromLabel(o)}),y(1,"div",1,2)(3,"div",3),ce("click",function(){return i._onTouchTargetClick()}),v(),y(4,"input",4,5),ce("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),v(),Pe(6,"div",6),y(7,"div",7),ua(),y(8,"svg",8),Pe(9,"path",9),v(),$d(),Pe(10,"div",10),v(),Pe(11,"div",11),v(),y(12,"label",12,13),Gt(14),v()()),2&e){const r=Go(2);Jt("mdc-form-field--align-end","before"==i.labelPosition),T(4),Jt("mdc-checkbox--selected",i.checked),N("checked",i.checked)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),bt("aria-checked",i._getAriaChecked())("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),T(7),N("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),T(1),N("for",i.inputId)}},dependencies:[Xo],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),WA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})(),AH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,Xh,WA,$n,WA]}),n})();function IH(n,t){1&n&&(y(0,"span",8),Gt(1,1),v())}function FH(n,t){1&n&&(y(0,"span",9),Gt(1,2),v())}const GA=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ZA=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function RH(n,t){if(1&n&&(io(0),Pe(1,"span",9)(2,"span",10),ro()),2&n){const e=Z();T(1),N("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function LH(n,t){1&n&&(y(0,"span",11),Gt(1),v())}function NH(n,t){1&n&&(io(0),Gt(1,1),ro())}function BH(n,t){1&n&&Gt(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function VH(n,t){1&n&&Pe(0,"span",14)}function HH(n,t){if(1&n&&(io(0),K(1,BH,1,0,"ng-content",12),K(2,VH,1,0,"ng-template",null,13,Eb),ro()),2&n){const e=Go(3),i=Z();T(1),N("ngIf",i.contentEditInput)("ngIfElse",e)}}function zH(n,t){1&n&&(y(0,"span",15),Gt(1,3),v())}const $H=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],jH=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],bw=["*"],Ky=new ye("mat-chips-default-options"),yw=new ye("MatChipAvatar"),vw=new ye("MatChipTrailingIcon"),Cw=new ye("MatChipRemove"),Xy=new ye("MatChip");class UH{}const WH=o_(UH,-1);let Xf=(()=>{class n extends WH{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ct(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Xy))},n.\u0275dir=xe({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&ce("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(bt("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),Jt("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[nt]}),n})(),xw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[Vt([{provide:yw,useExisting:n}])]}),n})(),KA=(()=>{class n extends Xf{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&bt("aria-hidden",null)},features:[Vt([{provide:Cw,useExisting:n}]),nt]}),n})(),ZH=0;const qH=o_(Zf(wu(Kh(class{constructor(n){this._elementRef=n}})),"primary"),-1);let Mu=(()=>{class n extends qH{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ct(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ct(e)}constructor(e,i,r,o,a,c,u,m){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=u,this._isRippleCentered=!1,this._onFocus=new Ae,this._onBlur=new Ae,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ZH++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new Ve,this.destroyed=new Ve,this.basicChipAttrName="mat-basic-chip";const g=i.nativeElement;this._document=a,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=g.hasAttribute(this.basicChipAttrName)||g.tagName.toLowerCase()===this.basicChipAttrName,null!=m&&(this.tabIndex=parseInt(m)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=on(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(zr(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(h),E(Ht),E(xu),E(en),E(Nr,8),E(sw,8),go("tabindex"))},n.\u0275cmp=et({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,yw,5),Bn(r,vw,5),Bn(r,Cw,5),Bn(r,yw,5),Bn(r,vw,5),Bn(r,Cw,5)),2&e){let o;yt(o=vt())&&(i.leadingIcon=o.first),yt(o=vt())&&(i.trailingIcon=o.first),yt(o=vt())&&(i.removeIcon=o.first),yt(o=vt())&&(i._allLeadingIcons=o),yt(o=vt())&&(i._allTrailingIcons=o),yt(o=vt())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(Nn(Xo,5),Nn(Xf,5)),2&e){let r;yt(r=vt())&&(i.ripple=r.first),yt(r=vt())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&ce("keydown",function(o){return i._handleKeydown(o)}),2&e&&(Ws("id",i.id),bt("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),Jt("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Vt([{provide:Xy,useExisting:n}]),nt],ngContentSelectors:ZA,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi(GA),Pe(0,"span",0)(1,"span",1),y(2,"span",2)(3,"span",3),K(4,IH,2,0,"span",4),y(5,"span",5),Gt(6),Pe(7,"span",6),v()()(),K(8,FH,2,0,"span",7)),2&e&&(N("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),T(3),N("isInteractive",!1),T(1),N("ngIf",i.leadingIcon),T(4),N("ngIf",i._hasTrailingIcon()))},dependencies:[Si,Xo,Xf],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),Qy=(()=>{class n{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(en))},n.\u0275dir=xe({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),n})(),ww=(()=>{class n extends Mu{constructor(e,i,r,o,a,c,u,m){super(e,i,r,o,a,c,u,m),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new Ve,this._isEditing=!1,this.role="row",this._onBlur.pipe(fn(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(h),E(Ht),E(xu),E(en),E(Nr,8),E(sw,8),go("tabindex"))},n.\u0275cmp=et({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(e,i,r){if(1&e&&Bn(r,Qy,5),2&e){let o;yt(o=vt())&&(i.contentEditInput=o.first)}},viewQuery:function(e,i){if(1&e&&Nn(Qy,5),2&e){let r;yt(r=vt())&&(i.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,i){1&e&&ce("mousedown",function(o){return i._mousedown(o)})("dblclick",function(o){return i._doubleclick(o)}),2&e&&(Ws("id",i.id),bt("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),Jt("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-editing",i._isEditing)("mat-mdc-chip-editable",i.editable)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Vt([{provide:Mu,useExisting:n},{provide:Xy,useExisting:n}]),nt],ngContentSelectors:jH,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(bi($H),K(0,RH,3,3,"ng-container",0),y(1,"span",1)(2,"span",2),K(3,LH,2,0,"span",3),y(4,"span",4),K(5,NH,2,0,"ng-container",5),K(6,HH,4,2,"ng-container",5),Pe(7,"span",6),v()()(),K(8,zH,2,0,"span",7),y(9,"span",8),A(10),v()),2&e&&(N("ngIf",!i._isEditing),T(2),N("tabIndex",i.tabIndex)("disabled",i.disabled),bt("role",i.editable?"button":null)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),T(1),N("ngIf",i.leadingIcon),T(1),N("ngSwitch",i._isEditing),T(1),N("ngSwitchCase",!1),T(1),N("ngSwitchCase",!0),T(2),N("ngIf",i._hasTrailingIcon()),T(1),N("id",i._ariaDescriptionId),T(1),Rt(i.ariaDescription))},dependencies:[Si,Of,Ub,Xo,Xf,Qy],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class YH{constructor(t){}}const KH=o_(YH);let Jy=(()=>{class n extends KH{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ae,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new fu}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Vr(null),ac(()=>on(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList&&i.classList.contains("mdc-evolution-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Vr(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new Zx(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(fn(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(fn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Vr(null),fn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(fn(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(Hr,8))},n.\u0275cmp=et({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,Mu,5),2&e){let o;yt(o=vt())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&ce("keydown",function(o){return i._handleKeydown(o)}),2&e&&bt("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[nt],ngContentSelectors:bw,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),y(0,"div",0),Gt(1),v())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class JH{constructor(t,e){this.source=t,this.value=e}}class ez extends Jy{constructor(t,e,i,r,o,a,c){super(t,e,i),this._defaultErrorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this.ngControl=c,this.stateChanges=new Ae}}const tz=ow(ez);let JA=(()=>{class n extends tz{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ct(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(bn.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,r,o,a,c,u){super(e,i,r,c,o,a,u),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new Ve,this.valueChange=new Ve,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(fn(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),on(this.chipFocusChanges,this._chips.changes).pipe(fn(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&Ks(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new JH(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(Hr,8),E(Lf,8),E(so,8),E(Uy),E(rl,10))},n.\u0275cmp=et({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,ww,5),2&e){let o;yt(o=vt())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,i){1&e&&ce("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(Ws("tabIndex",i._chips&&0===i._chips.length?-1:i.tabIndex),bt("role",i.role)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState),Jt("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-invalid",i.errorState)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Vt([{provide:qy,useExisting:n}]),nt],ngContentSelectors:bw,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(bi(),y(0,"div",0),Gt(1),v())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),nz=0,eI=(()=>{class n{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ct(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ct(e)}get empty(){return!this.inputElement.value}constructor(e,i,r){this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new Ve,this.placeholder="",this.id="mat-mdc-chip-list-input-"+nz++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Ks(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ky),E(u_,8))},n.\u0275dir=xe({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,i){1&e&&ce("keydown",function(o){return i._keydown(o)})("keyup",function(o){return i._keyup(o)})("blur",function(){return i._blur()})("focus",function(){return i._focus()})("input",function(){return i._onInput()}),2&e&&(Ws("id",i.id),bt("disabled",i.disabled||null)("placeholder",i.placeholder||null)("aria-invalid",i._chipGrid&&i._chipGrid.ngControl?i._chipGrid.ngControl.invalid:null)("aria-required",i._chipGrid&&i._chipGrid.required||null)("required",i._chipGrid&&i._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ci]}),n})(),iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[Uy,{provide:Ky,useValue:{separatorKeyCodes:[13]}}],imports:[$n,wa,Xh,$n]}),n})();function Dw(n){return it((t,e)=>{let o,i=null,r=!1;i=t.subscribe(lt(e,void 0,void 0,a=>{o=ii(n(a,Dw(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const sz=["*"];let ev;function f_(n){return function az(){if(void 0===ev&&(ev=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(ev=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return ev}()?.createHTML(n)||n}function tI(n){return Error(`Unable to find icon with the name "${n}"`)}function nI(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function iI(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class tm{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let p_=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new tm(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(zn.HTML,r);if(!a)throw iI(r);const c=f_(a);return this._addSvgIconConfig(e,i,new tm("",c,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new tm(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(zn.HTML,i);if(!o)throw iI(i);const a=f_(o);return this._addSvgIconSetConfig(e,new tm("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(zn.RESOURCE_URL,e);if(!i)throw nI(e);const r=this._cachedIconsByUrl.get(i);return r?gs(tv(r)):this._loadSvgIconFromConfig(new tm(e,null)).pipe(jf(o=>this._cachedIconsByUrl.set(i,o)),Vn(o=>tv(o)))}getNamedSvgIcon(e,i=""){const r=rI(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):function rz(n,t){const e=j(n)?n:()=>n,i=r=>r.error(e());return new at(t?r=>t.schedule(i,0,r):i)}(tI(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?gs(tv(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Vn(i=>tv(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?gs(r):WM(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Dw(c=>{const m=`Loading icon set URL: ${this._sanitizer.sanitize(zn.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),gs(null)})))).pipe(Vn(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw tI(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(a,e,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(jf(i=>e.svgText=i),Vn(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?gs(null):this._fetchIcon(e).pipe(jf(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const c=this._svgElementFromString(f_(""));return c.appendChild(a),this._setSvgAttributes(c,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(f_("")),r=e.attributes;for(let o=0;of_(m)),function oz(n){return it((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}(()=>this._inProgressUrlFetches.delete(a)),Ds());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(rI(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),oI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],pz=oI.map(n=>`[${n}]`).join(", "),gz=/^url\(['"]?#(.*?)['"]?\)$/;let Xs=(()=>{class n extends uz{get inline(){return this._inline}set inline(e){this._inline=Ct(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,a,c){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=z.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(pz),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const c=i[o],u=c.getAttribute(a),m=u?u.match(gz):null;if(m){let g=r.get(c);g||(g=[],r.set(c,g)),g.push({name:a,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(zr(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(p_),go("aria-hidden"),E(mz),E(ze),E(hz,8))},n.\u0275cmp=et({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(bt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Jt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[nt],ngContentSelectors:sz,decls:1,vars:0,template:function(e,i){1&e&&(bi(),Gt(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),_z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,$n]}),n})();const sI=ol({passive:!0});let bz=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return na;const i=er(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new Ae,a="cdk-text-field-autofilled",c=u=>{"cdk-text-field-autofill-start"!==u.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===u.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:u.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:u.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,sI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",c,sI)}}),o}stopMonitoring(e){const i=er(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(te(Ai),te(Ht))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({}),n})();const vz=new ye("MAT_INPUT_VALUE_ACCESSOR"),Cz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let xz=0;const wz=ow(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new Ae}});let bs=(()=>{class n extends wz{get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(bn.required)??!1}set required(e){this._required=Ct(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&aS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ct(e)}constructor(e,i,r,o,a,c,u,m,g,C){super(c,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=m,this._formField=C,this._uid="mat-input-"+xz++,this.focused=!1,this.stateChanges=new Ae,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(V=>aS().has(V)),this._iOSKeyupListener=V=>{const U=V.target;!U.value&&0===U.selectionStart&&0===U.selectionEnd&&(U.setSelectionRange(1,1),U.setSelectionRange(0,0))};const F=this._elementRef.nativeElement,O=F.nodeName.toLowerCase();this._inputValueAccessor=u||F,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===O,this._isTextarea="textarea"===O,this._isInFormField=!!C,this._isNativeSelect&&(this.controlType=F.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Cz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ai),E(rl,10),E(Lf,8),E(so,8),E(Uy),E(vz,10),E(bz),E(Ht),E(u_,8))},n.\u0275dir=xe({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&ce("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Ws("id",i.id)("disabled",i.disabled)("required",i.required),bt("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Jt("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Vt([{provide:qy,useExisting:n}]),nt,ci]}),n})(),Dz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,Yy,Yy,yz,$n]}),n})();const Tz=["mat-menu-item",""];function Ez(n,t){1&n&&(ua(),y(0,"svg",3),Pe(1,"polygon",4),v())}const Mz=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],kz=["mat-icon, [matMenuItemIcon]","*"];function Sz(n,t){if(1&n){const e=Nt();y(0,"div",0),ce("keydown",function(r){return He(e),je(Z()._handleKeydown(r))})("click",function(){return He(e),je(Z().closed.emit("click"))})("@transformMenu.start",function(r){return He(e),je(Z()._onAnimationStart(r))})("@transformMenu.done",function(r){return He(e),je(Z()._onAnimationDone(r))}),y(1,"div",1),Gt(2),v()()}if(2&n){const e=Z();N("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),bt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Az=["*"],Tw=new ye("MAT_MENU_PANEL"),Iz=wu(Kh(class{}));let nv=(()=>{class n extends Iz{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new Ae,this._focused=new Ae,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Eo("120ms cubic-bezier(0, 0, 0.2, 1)",xi({opacity:1,transform:"scale(1)"}))),Mo("* => void",Eo("100ms 25ms linear",xi({opacity:0})))]),fadeInItems:od("fadeInItems",[Da("showing",xi({opacity:1})),Mo("void => *",[xi({opacity:0}),Eo("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Oz=0;const aI=new ye("mat-menu-default-options",{providedIn:"root",factory:function Pz(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let g_=(()=>{class n{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ct(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ct(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new fu,this._classList={},this._panelAnimationState="void",this._animationDone=new Ae,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Ve,this.close=this.closed,this.panelId="mat-menu-panel-"+Oz++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Zx(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Vr(this._directDescendantItems),ac(e=>on(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Vr(this._directDescendantItems),ac(i=>on(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Ks(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(zr(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Vr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ht),E(aI),E(ti))},n.\u0275dir=xe({type:n,contentQueries:function(e,i,r){if(1&e&&(Bn(r,Fz,5),Bn(r,nv,5),Bn(r,nv,4)),2&e){let o;yt(o=vt())&&(i.lazyContent=o.first),yt(o=vt())&&(i._allItems=o),yt(o=vt())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Nn(Cr,5),2&e){let r;yt(r=vt())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Rz=(()=>{class n extends g_{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ht),E(aI),E(ti))},n.\u0275cmp=et({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&bt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Vt([{provide:Tw,useExisting:n}]),nt],ngContentSelectors:Az,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(bi(),K(0,Sz,3,6,"ng-template"))},dependencies:[Ff],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[iv.transformMenu,iv.fadeInItems]},changeDetection:0}),n})();const lI=new ye("mat-menu-scroll-strategy"),Nz={provide:lI,deps:[Ma],useFactory:function Lz(n){return()=>n.scrollStrategies.reposition()}},cI=ol({passive:!0});let Bz=(()=>{class n{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,o,a,c,u,m,g){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=u,this._focusMonitor=m,this._ngZone=g,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=z.EMPTY,this._hoverSubscription=z.EMPTY,this._menuCloseSubscription=z.EMPTY,this._changeDetectorRef=qn(ti),this._handleTouchStart=C=>{By(C)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ve,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ve,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof g_?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,cI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,cI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof g_&&(e._startAnimation(),e._directDescendantItems.changes.pipe(fn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof g_?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(_s(r=>"void"===r.toState),zr(1),fn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new c_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[u,m]=[a,c],[g,C]=[r,o],F=0;if(this.triggersSubmenu()){if(C=r="before"===e.xPosition?"start":"end",o=g="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const O=this._parentMaterialMenu.items.first;this._parentInnerPadding=O?O._getHostElement().offsetTop:0}F="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(u="top"===a?"bottom":"top",m="top"===c?"bottom":"top");i.withPositions([{originX:r,originY:u,overlayX:g,overlayY:a,offsetY:F},{originX:o,originY:u,overlayX:C,overlayY:a,offsetY:F},{originX:r,originY:m,overlayX:g,overlayY:c,offsetY:-F},{originX:o,originY:m,overlayX:C,overlayY:c,offsetY:-F}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return on(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:gs(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(_s(a=>a!==this._menuItemInstance),_s(()=>this._menuOpen)):gs(),i)}_handleMousedown(e){Ny(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(_s(e=>e===this._menuItemInstance&&!e.disabled),fw(0,Fx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof g_&&this.menu._isAnimating?this.menu._animationDone.pipe(zr(1),fw(0,Fx),fn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Jh(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(E(Ma),E(h),E(xr),E(lI),E(Tw,8),E(nv,10),E(Hr,8),E(xu),E(Ht))},n.\u0275dir=xe({type:n,hostVars:3,hostBindings:function(e,i){1&e&&ce("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&bt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),Vz=(()=>{class n extends Bz{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[nt]}),n})(),Hz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[Nz],imports:[wa,Xh,$n,d_,qh,$n]}),n})();const zz=["trigger"],$z=["panel"];function jz(n,t){if(1&n&&(y(0,"span",10),A(1),v()),2&n){const e=Z();T(1),Rt(e.placeholder)}}function Uz(n,t){if(1&n&&(y(0,"span",14),A(1),v()),2&n){const e=Z(2);T(1),Rt(e.triggerValue)}}function Wz(n,t){1&n&&Gt(0,0,["*ngSwitchCase","true"])}function Gz(n,t){1&n&&(y(0,"span",11),K(1,Uz,2,1,"span",12),K(2,Wz,1,0,"ng-content",13),v()),2&n&&(N("ngSwitch",!!Z().customTrigger),T(2),N("ngSwitchCase",!0))}function Zz(n,t){if(1&n){const e=Nt();ua(),$d(),y(0,"div",15,16),ce("@transformPanel.done",function(r){return He(e),je(Z()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return He(e),je(Z()._handleKeydown(r))}),Gt(2,1),v()}if(2&n){const e=Z();nD("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),N("ngClass",e.panelClass)("@transformPanel","showing"),bt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const qz=[[["mat-select-trigger"]],"*"],Yz=["mat-select-trigger","*"],Kz={transformPanelWrap:od("transformPanelWrap",[Mo("* => void",qN("@transformPanel",[ZN()],{optional:!0}))]),transformPanel:od("transformPanel",[Da("void",xi({opacity:0,transform:"scale(1, 0.8)"})),Mo("void => showing",Eo("120ms cubic-bezier(0, 0, 0.2, 1)",xi({opacity:1,transform:"scale(1, 1)"}))),Mo("* => void",Eo("100ms linear",xi({opacity:0})))])};let dI=0;const uI=new ye("mat-select-scroll-strategy"),Qz=new ye("MAT_SELECT_CONFIG"),Jz={provide:uI,deps:[Ma],useFactory:function Xz(n){return()=>n.scrollStrategies.reposition()}},e$=new ye("MatSelectTrigger");class t${constructor(t,e){this.source=t,this.value=e}}const n$=wu(o_(Kh(ow(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new Ae}}))));let i$=(()=>{class n extends n${get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(bn.required)??!1}set required(e){this._required=Ct(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ct(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ct(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=oc(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,c,u,m,g,C,F,O,V,U){super(a,o,u,m,C),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=c,this._parentFormField=g,this._liveAnnouncer=V,this._defaultOptions=U,this._panelOpen=!1,this._compareWith=(ie,ue)=>ie===ue,this._uid="mat-select-"+dI++,this._triggerAriaLabelledBy=null,this._destroy=new Ae,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+dI++,this._panelDoneAnimatingStream=new Ae,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=yA(()=>{const ie=this.options;return ie?ie.changes.pipe(Vr(ie),ac(()=>on(...ie.map(ue=>ue.onSelectionChange)))):this._ngZone.onStable.pipe(zr(1),ac(()=>this.optionSelectionChanges))}),this.openedChange=new Ve,this._openedStream=this.openedChange.pipe(_s(ie=>ie),Vn(()=>{})),this._closedStream=this.openedChange.pipe(_s(ie=>!ie),Vn(()=>{})),this.selectionChange=new Ve,this.valueChange=new Ve,this.ngControl&&(this.ngControl.valueAccessor=this),null!=U?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=U.typeaheadDebounceInterval),this._scrollStrategyFactory=O,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(F)||0,this.id=this.id}ngOnInit(){this._selectionModel=new BA(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe($x(),fn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(fn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Vr(null),fn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!Ks(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;a.onKeydown(e);const u=this.selected;u&&c!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||Ks(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(c?u.select():u.deselect())})}else{const c=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==c&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(zr(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new xS(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=on(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),on(...this.options.map(i=>i._stateChanges)).pipe(fn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(E(ld),E(ti),E(Ht),E(Uy),E(h),E(Hr,8),E(Lf,8),E(so,8),E(u_,8),E(rl,10),go("tabindex"),E(uI),E(qx),E(Qz,8))},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&(Nn(zz,5),Nn($z,5),Nn(bA,5)),2&e){let r;yt(r=vt())&&(i.trigger=r.first),yt(r=vt())&&(i.panel=r.first),yt(r=vt())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[nt,ci]}),n})(),rv=(()=>{class n extends i${constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(fn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=sA(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:aA(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new t$(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof mw?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ct(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275cmp=et({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,e$,5),Bn(r,Qh,5),Bn(r,lw,5)),2&e){let o;yt(o=vt())&&(i.customTrigger=o.first),yt(o=vt())&&(i.options=o),yt(o=vt())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&ce("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(bt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Jt("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Vt([{provide:qy,useExisting:n},{provide:aw,useExisting:n}]),nt],ngContentSelectors:Yz,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(bi(qz),y(0,"div",0,1),ce("click",function(){return i.toggle()}),y(3,"div",2),K(4,jz,2,1,"span",3),K(5,Gz,3,2,"span",4),v(),y(6,"div",5)(7,"div",6),ua(),y(8,"svg",7),Pe(9,"path",8),v()()()(),K(10,Zz,3,9,"ng-template",9),ce("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Go(1);bt("aria-owns",i.panelOpen?i.id+"-panel":null),T(3),N("ngSwitch",i.empty),bt("id",i._valueId),T(1),N("ngSwitchCase",!0),T(1),N("ngSwitchCase",!1),T(5),N("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Ff,Of,Ub,xE,bA,mw],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Kz.transformPanel]},changeDetection:0}),n})(),r$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[Jz],imports:[wa,d_,Wy,$n,qh,Yy,Wy,$n]}),n})();function o$(n,t){if(1&n){const e=Nt();y(0,"div",2)(1,"button",3),ce("click",function(){return He(e),je(Z().action())}),A(2),v()()}if(2&n){const e=Z();T(2),hi(" ",e.data.action," ")}}const s$=["label"];function a$(n,t){}const l$=Math.pow(2,31)-1;class ov{constructor(t,e){this._overlayRef=e,this._afterDismissed=new Ae,this._afterOpened=new Ae,this._onAction=new Ae,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,l$))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Ew=new ye("MatSnackBarData");class sv{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let c$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),n})(),d$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),n})(),u$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),n})(),h$=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(E(ov),E(Ew))},n.\u0275cmp=et({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(y(0,"div",0),A(1),v(),K(2,o$,3,1,"div",1)),2&e&&(T(1),hi(" ",i.data.message,"\n"),T(1),N("ngIf",i.hasAction))},dependencies:[Si,tr,c$,d$,u$],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),n})();const m$={snackBarState:od("state",[Da("void, hidden",xi({transform:"scale(0.8)",opacity:0})),Da("visible",xi({transform:"scale(1)",opacity:1})),Mo("* => visible",Eo("150ms cubic-bezier(0, 0, 0.2, 1)")),Mo("* => void, * => hidden",Eo("75ms cubic-bezier(0.4, 0.0, 1, 1)",xi({opacity:0})))])};let f$=0,p$=(()=>{class n extends dw{constructor(e,i,r,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=a,this._document=qn(en),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Ae,this._onExit=new Ae,this._onEnter=new Ae,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+f$++,this.attachDomPortal=c=>{this._assertNotAttached();const u=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),u},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(zr(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{const i=e.getAttribute("aria-owns");if(i){const r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(E(Ht),E(h),E(ti),E(Ai),E(sv))},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&Nn(l_,7),2&e){let r;yt(r=vt())&&(i._portalOutlet=r.first)}},features:[nt]}),n})(),g$=(()=>{class n extends p${_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275cmp=et({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&Nn(s$,7),2&e){let r;yt(r=vt())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&b0("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&D0("@state",i._animationState)},features:[nt],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(y(0,"div",0)(1,"div",1,2)(3,"div",3),K(4,a$,0,0,"ng-template",4),v(),Pe(5,"div"),v()()),2&e&&(T(5),bt("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[l_],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[m$.snackBarState]}}),n})(),hI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[d_,uw,wa,NA,$n,$n]}),n})();const mI=new ye("mat-snack-bar-default-options",{providedIn:"root",factory:function _$(){return new sv}});let b$=(()=>{class n{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,o,a,c){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Wo.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:sv,useValue:i}]}),a=new Gy(this.snackBarContainerComponent,i.viewContainerRef,o),c=e.attach(a);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){const r={...new sv,...this._defaultConfig,...i},o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),c=new ov(a,o);if(e instanceof Cr){const u=new Jh(e,null,{$implicit:r.data,snackBarRef:c});c.instance=a.attachTemplatePortal(u)}else{const u=this._createInjector(r,c),m=new Gy(e,void 0,u),g=a.attachComponentPortal(m);c.instance=g.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(fn(o.detachments())).subscribe(u=>{o.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new c_;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,c=!a&&"center"!==e.horizontalPosition;return a?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Wo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:ov,useValue:i},{provide:Ew,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(te(Ma),te(qx),te(Wo),te(Ux),te(n,12),te(mI))},n.\u0275prov=B({token:n,factory:n.\u0275fac}),n})(),y$=(()=>{class n extends b${constructor(e,i,r,o,a,c){super(e,i,r,o,a,c),this.simpleSnackBarComponent=h$,this.snackBarContainerComponent=g$,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(te(Ma),te(qx),te(Wo),te(Ux),te(n,12),te(mI))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:hI}),n})();function v$(n,t){}const C$=function(n){return{animationDuration:n}},x$=function(n,t){return{value:n,params:t}};function w$(n,t){1&n&&Gt(0)}const fI=["*"],D$=["tabListContainer"],T$=["tabList"],E$=["tabListInner"],M$=["nextPaginator"],k$=["previousPaginator"],S$=["tabBodyWrapper"],A$=["tabHeader"];function I$(n,t){}function F$(n,t){1&n&&K(0,I$,0,0,"ng-template",14),2&n&&N("cdkPortalOutlet",Z().$implicit.templateLabel)}function O$(n,t){1&n&&A(0),2&n&&Rt(Z().$implicit.textLabel)}function P$(n,t){if(1&n){const e=Nt();y(0,"div",6,7),ce("click",function(){const r=He(e),o=r.$implicit,a=r.index,c=Z(),u=Go(1);return je(c._handleClick(o,u,a))})("cdkFocusChange",function(r){const a=He(e).index;return je(Z()._tabFocusChanged(r,a))}),Pe(2,"span",8)(3,"div",9),y(4,"span",10)(5,"span",11),K(6,F$,1,1,"ng-template",12),K(7,O$,1,1,"ng-template",null,13,Eb),v()()()}if(2&n){const e=t.$implicit,i=t.index,r=Go(1),o=Go(8),a=Z();Jt("mdc-tab--active",a.selectedIndex===i),N("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),bt("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),T(3),N("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),T(3),N("ngIf",e.templateLabel)("ngIfElse",o)}}function R$(n,t){if(1&n){const e=Nt();y(0,"mat-tab-body",15),ce("_onCentered",function(){return He(e),je(Z()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return He(e),je(Z()._setTabBodyWrapperHeight(r))}),v()}if(2&n){const e=t.$implicit,i=t.index,r=Z();Jt("mat-mdc-tab-body-active",r.selectedIndex===i),N("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),bt("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const L$={translateTab:od("translateTab",[Da("center, void, left-origin-center, right-origin-center",xi({transform:"none"})),Da("left",xi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Da("right",xi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Mo("* => left, * => right, left => center, right => center",Eo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Mo("void => left-origin-center",[xi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Eo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Mo("void => right-origin-center",[xi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Eo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let N$=(()=>{class n extends l_{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=z.EMPTY,this._leavingSub=z.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Vr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(E(uu),E(xr),E(Wt(()=>pI)),E(en))},n.\u0275dir=xe({type:n,selectors:[["","matTabBodyHost",""]],features:[nt]}),n})(),B$=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=z.EMPTY,this._translateTabComplete=new Ae,this._onCentering=new Ve,this._beforeCentering=new Ve,this._afterLeavingCenter=new Ve,this._onCentered=new Ve(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe($x((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Hr,8),E(ti))},n.\u0275dir=xe({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),pI=(()=>{class n extends B${constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Hr,8),E(ti))},n.\u0275cmp=et({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Nn(l_,5),2&e){let r;yt(r=vt())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[nt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(y(0,"div",0,1),ce("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),K(2,v$,0,0,"ng-template",2),v()),2&e&&N("@translateTab",KD(3,x$,i._position,function YD(n,t,e,i){return XD(Te(),Fr(),n,t,e,i)}(1,C$,i.animationDuration)))},dependencies:[N$],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[L$.translateTab]}}),n})();const V$=new ye("MatTabContent");let H$=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(E(Cr))},n.\u0275dir=xe({type:n,selectors:[["","matTabContent",""]],features:[Vt([{provide:V$,useExisting:n}])]}),n})();const z$=new ye("MatTabLabel"),gI=new ye("MAT_TAB");let _I=(()=>{class n extends A8{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(E(Cr),E(xr),E(gI,8))},n.\u0275dir=xe({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Vt([{provide:z$,useExisting:n}]),nt]}),n})();const Mw="mdc-tab-indicator--active",bI="mdc-tab-indicator--no-transition";class $${constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(i?.deactivateInkBar(),e){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function j$(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=Ct(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(Mw);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(bI),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(bI),e.classList.add(Mw),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Mw)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const W$=Kh(class{}),G$=j$((()=>{class n extends W${constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(E(h))},n.\u0275dir=xe({type:n,features:[nt]}),n})());let yI=(()=>{class n extends G${}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275dir=xe({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(bt("aria-disabled",!!i.disabled),Jt("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[nt]}),n})();const Z$=Kh(class{}),vI=new ye("MAT_TAB_GROUP");let q$=(()=>{class n extends Z${get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ae,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Jh(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(E(xr),E(vI,8))},n.\u0275dir=xe({type:n,viewQuery:function(e,i){if(1&e&&Nn(Cr,7),2&e){let r;yt(r=vt())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[nt,ci]}),n})(),CI=(()=>{class n extends q${get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Yn(n)))(i||n)}}(),n.\u0275cmp=et({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Bn(r,H$,7,Cr),Bn(r,_I,5)),2&e){let o;yt(o=vt())&&(i._explicitContent=o.first),yt(o=vt())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Vt([{provide:gI,useExisting:n}]),nt],ngContentSelectors:fI,decls:1,vars:0,template:function(e,i){1&e&&(bi(),K(0,w$,1,0,"ng-template"))},encapsulation:2}),n})();const xI=ol({passive:!0});let X$=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=oc(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,c,u){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=c,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ae,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ae,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ve,this.indexFocused=new Ve,a.runOutsideAngular(()=>{sc(e.nativeElement,"mouseleave").pipe(fn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){sc(this._previousPaginator.nativeElement,"touchstart",xI).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),sc(this._nextPaginator.nativeElement,"touchstart",xI).pipe(fn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:gs("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Zx(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(zr(1)).subscribe(r),on(e,i,this._items.changes,this._itemsResized()).pipe(fn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?na:this._items.changes.pipe(Vr(this._items),ac(e=>new at(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),zx(1),_s(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ks(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let c,u;"ltr"==this._getLayoutDirection()?(c=o,u=c+a):(u=this._tabListInner.nativeElement.offsetWidth-o,c=u-a);const m=this.scrollDistance,g=this.scrollDistance+r;cg&&(this.scrollDistance+=u-g+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Sy(650,100).pipe(fn(on(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(ld),E(Hr,8),E(Ht),E(Ai),E(Nr,8))},n.\u0275dir=xe({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),Q$=(()=>{class n extends X${get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ct(e)}constructor(e,i,r,o,a,c,u){super(e,i,r,o,a,c,u),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(ld),E(Hr,8),E(Ht),E(Ai),E(Nr,8))},n.\u0275dir=xe({type:n,inputs:{disableRipple:"disableRipple"},features:[nt]}),n})(),J$=(()=>{class n extends Q${constructor(e,i,r,o,a,c,u){super(e,i,r,o,a,c,u)}ngAfterContentInit(){this._inkBar=new $$(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(ld),E(Hr,8),E(Ht),E(Ai),E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,yI,4),2&e){let o;yt(o=vt())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Nn(D$,7),Nn(T$,7),Nn(E$,7),Nn(M$,5),Nn(k$,5)),2&e){let r;yt(r=vt())&&(i._tabListContainer=r.first),yt(r=vt())&&(i._tabList=r.first),yt(r=vt())&&(i._tabListInner=r.first),yt(r=vt())&&(i._nextPaginator=r.first),yt(r=vt())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Jt("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[nt],ngContentSelectors:fI,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(bi(),y(0,"button",0,1),ce("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Pe(2,"div",2),v(),y(3,"div",3,4),ce("keydown",function(o){return i._handleKeydown(o)}),y(5,"div",5,6),ce("cdkObserveContent",function(){return i._onContentChanges()}),y(7,"div",7,8),Gt(9),v()()(),y(10,"button",9,10),ce("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Pe(12,"div",2),v()),2&e&&(Jt("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),N("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),T(3),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode),T(7),Jt("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),N("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Xo,fS],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),n})();const DI=new ye("MAT_TABS_CONFIG");let ej=0;const tj=Zf(wu(class{constructor(n){this._elementRef=n}}),"primary");let nj=(()=>{class n extends tj{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ct(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=oc(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=oc(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ct(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ct(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new fu,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=z.EMPTY,this._tabLabelSubscription=z.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Ve,this.focusChange=new Ve,this.animationDone=new Ve,this.selectedTabChange=new Ve(!0),this._groupId=ej++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Vr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new rj;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=on(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(DI,8),E(Nr,8))},n.\u0275dir=xe({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[nt]}),n})(),ij=(()=>{class n extends nj{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ct(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ct(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(ti),E(DI,8),E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,CI,5),2&e){let o;yt(o=vt())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Nn(S$,5),Nn(A$,5)),2&e){let r;yt(r=vt())&&(i._tabBodyWrapper=r.first),yt(r=vt())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&Jt("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Vt([{provide:vI,useExisting:n}]),nt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(y(0,"mat-tab-header",0,1),ce("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),K(2,P$,9,17,"div",2),v(),y(3,"div",3,4),K(5,R$,1,11,"mat-tab-body",5),v()),2&e&&(N("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),T(2),N("ngForOf",i._tabs),T(1),Jt("_mat-animation-noopable","NoopAnimations"===i._animationMode),T(2),N("ngForOf",i._tabs))},dependencies:[Ff,fs,Si,l_,Xo,ZV,pI,yI,J$],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),n})();class rj{}let oj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[wa,$n,uw,Xh,jx,kS,$n]}),n})();const sj=["*",[["mat-toolbar-row"]]],aj=["*","mat-toolbar-row"],lj=Zf(class{constructor(n){this._elementRef=n}});let cj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=xe({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),dj=(()=>{class n extends lj{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(E(h),E(Ai),E(en))},n.\u0275cmp=et({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&Bn(r,cj,5),2&e){let o;yt(o=vt())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&Jt("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[nt],ngContentSelectors:aj,decls:2,vars:0,template:function(e,i){1&e&&(bi(sj),Gt(0),Gt(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),uj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({imports:[$n,$n]}),n})();const hj=["tooltip"],TI=new ye("mat-tooltip-scroll-strategy"),pj={provide:TI,deps:[Ma],useFactory:function fj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},_j=new ye("mat-tooltip-default-options",{providedIn:"root",factory:function gj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),EI="tooltip-panel",MI=ol({passive:!0});let wj=(()=>{class n{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ct(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ct(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=oc(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=oc(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,a,c,u,m,g,C,F,O){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=c,this._ariaDescriber=u,this._focusMonitor=m,this._dir=C,this._defaultOptions=F,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ae,this._scrollStrategy=g,this._document=O,F&&(F.position&&(this.position=F.position),F.positionAtOrigin&&(this.positionAtOrigin=F.positionAtOrigin),F.touchGestures&&(this.touchGestures=F.touchGestures)),C.change.pipe(fn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,MI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new Gy(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof h)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(fn(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${EI}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fn(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Ks(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(zr(1),fn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const c=this._overlayRef;if(c){const u=`${this._cssClassPrefix}-${EI}-`;c.removePanelClass(u+this._currentPosition),c.addPanelClass(u+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,MI)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){ag()},n.\u0275dir=xe({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),ys=(()=>{class n extends wj{constructor(e,i,r,o,a,c,u,m,g,C,F,O){super(e,i,r,o,a,c,u,m,g,C,F,O),this._tooltipComponent=Tj,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(E(Ma),E(h),E(zf),E(xr),E(Ht),E(Ai),E(OV),E(xu),E(TI),E(Hr,8),E(_j,8),E(en))},n.\u0275dir=xe({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[nt]}),n})(),Dj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ae,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(Nr,8))},n.\u0275dir=xe({type:n}),n})(),Tj=(()=>{class n extends Dj{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(E(ti),E(h),E(Nr,8))},n.\u0275cmp=et({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Nn(hj,7),2&e){let r;yt(r=vt())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ce("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&mg("zoom",i.isVisible()?1:null)},features:[nt],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(y(0,"div",0,1),ce("animationend",function(o){return i._handleAnimationEnd(o)}),y(2,"div",2),A(3),v()()),2&e&&(Jt("mdc-tooltip--multiline",i._isMultiline),N("ngClass",i.tooltipClass),T(3),Rt(i.message))},dependencies:[Ff],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),n})(),Ej=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n}),n.\u0275inj=Se({providers:[pj],imports:[kS,wa,d_,$n,$n,qh]}),n})();function __(n){return(__="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function al(n,t,e){return(t=function kj(n){var t=function Mj(n,t){if("object"!==__(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==__(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===__(t)?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const kI=new ye("ngx-segment-analytics.config"),Sj={debug:!1,loadOnInitialization:!0,segmentHost:"cdn.segment.com",segmentUri:"/analytics.js/v1/$API_KEY$/analytics.min.js",plugins:[]};class nm{constructor(){al(this,"analytics",void 0)}}al(nm,"\u0275fac",function(t){return new(t||nm)}),al(nm,"\u0275prov",B({token:nm,factory:nm.\u0275fac}));class im{constructor(t,e,i){if(al(this,"_w",void 0),al(this,"_doc",void 0),al(this,"_config",void 0),this._w=t,this._doc=e,this._config={...Sj,...i},this._config.loadOnInitialization&&(typeof this._config.apiKey>"u"||""===this._config.apiKey))console.error("The API Key cannot be an empty string if Segment must be loaded on initialization.");else if(typeof this._w.analytics>"u"||typeof this._w.analytics.initialize>"u"||!1===this._w.analytics.initialize){if(typeof this._w.analytics<"u"&&!0===this._w.analytics.invoked)return void console.error("Segment snippet included twice.");!0===this._config.debug&&console.log("Segment initialization..."),this._w.analytics=[],this._w.analytics.invoked=!0,this._w.analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"],this._w.analytics.factory=r=>(...o)=>(o.unshift(r),this._w.analytics.push(o),this._w.analytics),this._w.analytics.methods.forEach(r=>{this._w.analytics[r]=this._w.analytics.factory(r)}),this._w.analytics.load=(r,o)=>{const a=this._doc.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://"+this._config.segmentHost+this._config.segmentUri.replace("$API_KEY$",r);const c=this._doc.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c),this._w.analytics._loadOptions=o},this._w.analytics._writeKey=this._config.apiKey,this._w.analytics.SNIPPET_VERSION="4.15.3",this._config.loadOnInitialization&&this.load(this._config.apiKey)}}load(t,e){this._w.analytics.load(t,e),!0===this._config.debug&&console.log("Segment initialized"),this.debug(this._config.debug)}identify(t,e,i){return new Promise(r=>{this._w.analytics.identify(t,e,i,o=>r(this))})}track(t,e,i){return new Promise(r=>{this._w.analytics.track(t,e,i,o=>r(this))})}page(t,e,i,r){return new Promise(o=>{this._w.analytics.page(t,e,i,r,a=>o(this))})}group(t,e){return new Promise(i=>{this._w.analytics.group(t,e,r=>i(this))})}alias(t,e,i){return new Promise(r=>{this._w.analytics.alias(t,e,i,o=>r(this))})}ready(){return new Promise(t=>{this._w.analytics.ready(e=>t(this))})}user(){return this._w.analytics.user()}id(){return this._w.analytics.id()}setAnonymousId(t){this._w.analytics.setAnonymousId(t)}traits(){return this._w.analytics.user().traits()}reset(){this._w.analytics.reset()}debug(t){this._w.analytics.debug(t)}on(t,e){this._w.analytics.on(t,e)}trackLink(t,e,i){this._w.analytics.trackLink(t,e,i)}trackForm(t,e,i){this._w.analytics.trackForm(t,e,i)}timeout(t){this._w.analytics.timeout(t)}addSourceMiddleware(t){this._w.analytics.addSourceMiddleware(t)}addDestinationMiddleware(t,e){this._w.analytics.addDestinationMiddleware(t,e)}register(...t){return this._w.analytics.register(...t)}get plugins(){return this._w.analytics.plugins}}al(im,"\u0275fac",function(t){return new(t||im)(te(nm),te(en),te(kI))}),al(im,"\u0275prov",B({token:im,factory:im.\u0275fac,providedIn:"root"}));class ud{static forRoot(t){return{ngModule:ud,providers:[{provide:kI,useValue:t},im]}}constructor(t){if(t)throw new Error("SegmentModule is already loaded. Import it in the AppModule only")}}al(ud,"\u0275fac",function(t){return new(t||ud)(te(ud,12))}),al(ud,"\u0275mod",sn({type:ud})),al(ud,"\u0275inj",Se({providers:[{provide:nm,useFactory:function Aj(n){return kE(n)?window:{}},deps:[Eg]}],imports:[wa]}));var vs=M(5861);let Ij=(()=>{class n{constructor(e,i){this.snackbarRef=e,this.message=i.message,this.noLabel=i.noLabel,this.yesLabel=i.yesLabel}doNo(){this.snackbarRef.dismiss()}doYes(){this.snackbarRef.dismissWithAction()}}return n.\u0275fac=function(e){return new(e||n)(E(ov),E(Ew))},n.\u0275cmp=et({type:n,selectors:[["app-confirm"]],decls:6,vars:3,consts:[["data-cy","confirm-no","mat-raised-button","",3,"click"],["data-cy","confirm-yes","mat-raised-button","",3,"click"]],template:function(e,i){1&e&&(y(0,"p"),A(1),v(),y(2,"button",0),ce("click",function(){return i.doNo()}),A(3),v(),y(4,"button",1),ce("click",function(){return i.doYes()}),A(5),v()),2&e&&(T(1),Rt(i.message),T(2),hi("",i.noLabel," "),T(2),Rt(i.yesLabel))},dependencies:[tr]}),n})(),Qo=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1/devstate"}addContainer(e){return this.http.post(this.base+"/container",{name:e.name,image:e.image,command:e.command,args:e.args,env:e.env,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit,volumeMounts:e.volumeMounts,configureSources:e.configureSources,mountSources:e.mountSources,sourceMapping:e.sourceMapping,annotation:{deployment:e.annotation.deployment,service:e.annotation.service},endpoints:e.endpoints})}saveContainer(e){return this.http.patch(this.base+"/container/"+e.name,{image:e.image,command:e.command,args:e.args,env:e.env,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit,volumeMounts:e.volumeMounts,configureSources:e.configureSources,mountSources:e.mountSources,sourceMapping:e.sourceMapping,annotation:{deployment:e.annotation.deployment,service:e.annotation.service},endpoints:e.endpoints})}addImage(e){return this.http.post(this.base+"/image",{name:e.name,imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri,autoBuild:e.autoBuild})}saveImage(e){return this.http.patch(this.base+"/image/"+e.name,{imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri,autoBuild:e.autoBuild})}addResource(e){return this.http.post(this.base+"/resource",{name:e.name,inlined:e.inlined,uri:e.uri,deployByDefault:e.deployByDefault})}saveResource(e){return this.http.patch(this.base+"/resource/"+e.name,{inlined:e.inlined,uri:e.uri,deployByDefault:e.deployByDefault})}addVolume(e){return this.http.post(this.base+"/volume",{name:e.name,ephemeral:e.ephemeral,size:e.size})}saveVolume(e){return this.http.patch(this.base+"/volume/"+e.name,{ephemeral:e.ephemeral,size:e.size})}addExecCommand(e,i){return this.http.post(this.base+"/execCommand",{name:e,component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}updateExecCommand(e,i){return this.http.patch(this.base+"/execCommand/"+e,{component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}addApplyCommand(e,i){return this.http.post(this.base+"/applyCommand",{name:e,component:i.component})}updateApplyCommand(e,i){return this.http.patch(this.base+"/applyCommand/"+e,{component:i.component})}addCompositeCommand(e,i){return this.http.post(this.base+"/compositeCommand",{name:e,parallel:i.parallel,commands:i.commands})}updateCompositeCommand(e,i){return this.http.patch(this.base+"/compositeCommand/"+e,{parallel:i.parallel,commands:i.commands})}getFlowChart(){return this.http.get(this.base+"/chart")}setDevfileContent(e){return this.http.put(this.base+"/devfile",{content:e})}getDevfileContent(){return this.http.get(this.base+"/devfile")}clearDevfileContent(){return this.http.delete(this.base+"/devfile")}setMetadata(e){return this.http.put(this.base+"/metadata",{name:e.name,version:e.version,displayName:e.displayName,description:e.description,tags:e.tags,architectures:e.architectures,icon:e.icon,globalMemoryLimit:e.globalMemoryLimit,projectType:e.projectType,language:e.language,website:e.website,provider:e.provider,supportUrl:e.supportUrl})}moveCommand(e,i,r,o){return this.http.post(this.base+"/command/0/move",{fromGroup:e,fromIndex:r,toGroup:i,toIndex:o})}setDefaultCommand(e,i){return this.http.post(this.base+"/command/"+e+"/setDefault",{group:i})}unsetDefaultCommand(e){return this.http.post(this.base+"/command/"+e+"/unsetDefault",{})}deleteCommand(e){return this.http.delete(this.base+"/command/"+e)}deleteContainer(e){return this.http.delete(this.base+"/container/"+e)}deleteImage(e){return this.http.delete(this.base+"/image/"+e)}deleteResource(e){return this.http.delete(this.base+"/resource/"+e)}deleteVolume(e){return this.http.delete(this.base+"/volume/"+e)}updateEvents(e,i){return this.http.put(this.base+"/events",{eventName:e,commands:i})}isQuantityValid(e){return this.http.post(this.base+"/quantityValid",{quantity:e})}isQuantity(){return e=>{const i=e.value;return""==i?gs(null):this.isQuantityValid(i).pipe(Vn(()=>null),Dw(()=>gs({isQuantity:!1})))}}}return n.\u0275fac=function(e){return new(e||n)(te(Wg))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fj=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1"}getDevfile(){return this.http.get(this.base+"/devfile")}saveDevfile(e){return this.http.put(this.base+"/devfile",{content:e})}telemetry(){return this.http.get(this.base+"/telemetry")}}return n.\u0275fac=function(e){return new(e||n)(te(Wg))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Oj=M(9037);let Pj=(()=>{class n{constructor(){}getMermaidAsSVG(e){return(0,vs.Z)(function*(){const{svg:i}=yield Oj.N.render("rendered",e);return i})()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qs=(()=>{class n{constructor(){this.savedDevfile="",this._state=new Bx(null),this.state=this._state.asObservable(),this._modified=new Bx(null),this.modified=this._modified.asObservable()}changeDevfileYaml(e,i=!1){this._state.next(e),i&&(this.savedDevfile=e.content),""==this.savedDevfile&&(this.savedDevfile=e.content),this._modified.next(this.savedDevfile!=e.content)}isUpdated(e){return e!=this.savedDevfile}getDragAndDropEnabled(){return"true"==localStorage.getItem("dragAndDropEnabled")}saveDragAndDropEnabled(e){return localStorage.setItem("dragAndDropEnabled",e?"true":"false")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Rj=(()=>{class n{constructor(){this.base="/api/v1",this.evtSource=new EventSource(this.base+"/notifications")}subscribeTo(e){return new at(i=>{e.forEach(r=>{this.evtSource.addEventListener(r,o=>{i.next(o)})}),this.evtSource.onerror=r=>{i.error(r)}})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ka=(()=>{class n{constructor(e){this.segment=e,this.options={context:{ip:"0.0.0.0"}}}init(e,i){this.segment.identify(i,{},this.options),this.segment.load(e),this.segment.setAnonymousId(i)}track(e){this.segment.track(e,{},this.options)}}return n.\u0275fac=function(e){return new(e||n)(te(im))},n.\u0275prov=B({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Nj=(()=>{class n{constructor(e,i,r){this.devstate=e,this.state=i,this.telemetry=r,this.form=new Ko({name:new dt(""),version:new dt("",bn.pattern("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\-[0-9a-z-]+(\\.[0-9a-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$")),displayName:new dt(""),description:new dt(""),tags:new dt(""),architectures:new dt(""),icon:new dt(""),globalMemoryLimit:new dt(""),projectType:new dt(""),language:new dt(""),website:new dt(""),provider:new dt(""),supportUrl:new dt("")})}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,vs.Z)(function*(r){const o=r?.metadata;null!=o&&e.form.patchValue(o)});return function(r){return i.apply(this,arguments)}}())}onSave(){this.telemetry.track("[ui] apply metadata"),this.devstate.setMetadata(this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-metadata"]],decls:60,vars:3,consts:[[1,"main"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["data-cy","metadata-name","placeholder","Unique name to identify the devfile","matInput","","formControlName","name"],["placeholder","Version of the devfile, semver-compatible","matInput","","formControlName","version"],["appearance","outline",1,"full-width"],["placeholder","Name to display instead of the unique name","matInput","","formControlName","displayName"],["matInput","","formControlName","description","rows","4"],["placeholder","Tags to help find the devfile in a registry","matInput","","formControlName","tags"],["placeholder","Ex: amd64,arm64,ppc64le,s390x","matInput","","formControlName","architectures"],["placeholder","Can be a URI or a relative path in the project","matInput","","formControlName","icon"],[1,"icon-display","width-10"],["width","56",3,"src"],["appearance","outline",1,"width-40"],["placeholder","Informative limit of memory used by the devfile. Ex: 1Gi","matInput","","formControlName","globalMemoryLimit"],["placeholder","Ex: Framework of the project","matInput","","formControlName","projectType"],["placeholder","Language of the project","matInput","","formControlName","language"],["placeholder","Official website of the devfile","matInput","","formControlName","website"],["placeholder","Information about the provider of the devfile","matInput","","formControlName","provider"],["placeholder","Link to a page providing support information","matInput","","formControlName","supportUrl"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(e,i){1&e&&(y(0,"div",0)(1,"form",1)(2,"mat-form-field",2)(3,"mat-label"),A(4,"Name"),v(),Pe(5,"input",3),v(),y(6,"mat-form-field",2)(7,"mat-label"),A(8,"Version"),v(),y(9,"mat-error"),A(10,"Examples: 1.0.4, 1.4.7-alpha1"),v(),Pe(11,"input",4),v(),y(12,"mat-form-field",5)(13,"mat-label"),A(14,"Display Name"),v(),Pe(15,"input",6),v(),y(16,"mat-form-field",5)(17,"mat-label"),A(18,"Description"),v(),Pe(19,"textarea",7),v(),y(20,"mat-form-field",2)(21,"mat-label"),A(22,"Tags (comma-speparated)"),v(),Pe(23,"input",8),v(),y(24,"mat-form-field",2)(25,"mat-label"),A(26,"Architectures (comma-separated)"),v(),Pe(27,"input",9),v(),y(28,"mat-form-field",2)(29,"mat-label"),A(30,"Icon"),v(),Pe(31,"input",10),v(),y(32,"span",11),Pe(33,"img",12),v(),y(34,"mat-form-field",13)(35,"mat-label"),A(36,"Global Memory Limit"),v(),Pe(37,"input",14),v(),y(38,"mat-form-field",2)(39,"mat-label"),A(40,"Project Type"),v(),Pe(41,"input",15),v(),y(42,"mat-form-field",2)(43,"mat-label"),A(44,"Language"),v(),Pe(45,"input",16),v(),y(46,"mat-form-field",2)(47,"mat-label"),A(48,"Website"),v(),Pe(49,"input",17),v(),y(50,"mat-form-field",2)(51,"mat-label"),A(52,"Provider"),v(),Pe(53,"input",18),v(),y(54,"mat-form-field",5)(55,"mat-label"),A(56,"Support URL"),v(),Pe(57,"input",19),v()(),y(58,"button",20),ce("click",function(){return i.onSave()}),A(59,"Apply"),v()()),2&e&&(T(1),N("formGroup",i.form),T(32),N("src",i.form.controls.icon.value,Jp),T(25),N("disabled",i.form.invalid))},dependencies:[rc,yo,oo,qs,so,ps,tr,vo,$r,cd,bs],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}.quart-width[_ngcontent-%COMP%]{width:25%}.icon-display[_ngcontent-%COMP%]{display:inline-flex;position:relative;left:16px;top:22px}.width-10[_ngcontent-%COMP%]{width:10%}.width-40[_ngcontent-%COMP%]{width:40%}"]}),n})();const av="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",lv="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";function Bj(n,t){if(1&n&&(y(0,"h3"),A(1),v()),2&n){const e=Z();T(1),Rt(e.title)}}function Vj(n,t){if(1&n){const e=Nt();y(0,"span")(1,"mat-form-field",5)(2,"mat-label")(3,"span"),A(4),v()(),Pe(5,"input",6),v(),y(6,"button",7),ce("click",function(){const o=He(e).index;return je(Z(2).removeText(o))}),y(7,"mat-icon",8),A(8,"delete_forever"),v()()()}if(2&n){const e=t.$implicit,i=t.index,r=Z(2);T(4),Rt(r.label),T(1),N("formControl",e),bt("data-cy",r.dataCyPrefix+"-text-"+i),T(1),N("matTooltip",r.deleteLabel),bt("data-cy",r.dataCyPrefix+"-minus-"+i)}}function Hj(n,t){if(1&n){const e=Nt();y(0,"mat-card")(1,"mat-card-content"),K(2,Vj,9,5,"span",3),v(),y(3,"mat-card-actions")(4,"button",4),ce("click",function(){return He(e),je(Z().addText(""))}),A(5),v()()()}if(2&n){const e=Z();T(2),N("ngForOf",e.form.controls),T(2),bt("data-cy","add-text"),T(1),Rt(e.addLabel)}}function zj(n,t){if(1&n){const e=Nt();y(0,"button",4),ce("click",function(){return He(e),je(Z().addText(""))}),A(1),v()}if(2&n){const e=Z();bt("data-cy","add-text"),T(1),Rt(e.addLabel)}}let SI=(()=>{class n{constructor(){this.dataCyPrefix="",this.label="",this.addLabel="",this.deleteLabel="",this.title="",this.onChange=e=>{},this.form=new Bf([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}newText(e){return new dt(e,[bn.required])}writeValue(e){e?.forEach(i=>this.addText(i))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addText(e){this.form.push(this.newText(e))}removeText(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-multi-text"]],inputs:{dataCyPrefix:"dataCyPrefix",label:"label",addLabel:"addLabel",deleteLabel:"deleteLabel",title:"title"},features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:4,vars:3,consts:[[4,"ngIf"],[1,"group"],["mat-flat-button","",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],["appearance","outline",1,"inline"],["matInput","",3,"formControl"],["mat-icon-button","",1,"adjust-position",3,"matTooltip","click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(K(0,Bj,2,1,"h3",0),y(1,"div",1),K(2,Hj,6,3,"mat-card",0),K(3,zj,2,2,"button",2),v()),2&e&&(N("ngIf",i.title),T(2),N("ngIf",i.form.controls.length>0),T(1),N("ngIf",0==i.form.controls.length))},dependencies:[fs,Si,yo,oo,Nf,tr,m_,Du,Eu,Tu,vo,$r,Xs,bs,ys],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function $j(n,t){1&n&&(y(0,"h2"),A(1,"Add a new volume"),v())}function jj(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit volume "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.volume.name)}}function Uj(n,t){if(1&n){const e=Nt();y(0,"button",11),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function Wj(n,t){if(1&n){const e=Nt();y(0,"button",12),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}function Gj(n,t){if(1&n){const e=Nt();y(0,"button",13),ce("click",function(){return He(e),je(Z().cancel())}),A(1,"Cancel"),v()}}let AI=(()=>{class n{constructor(e,i){this.devstate=e,this.telemetry=i,this.cancelable=!1,this.canceled=new Ve,this.created=new Ve,this.saved=new Ve,this.form=new Ko({name:new dt("",[bn.required,bn.pattern(lv)]),size:new dt("",null,[this.devstate.isQuantity()]),ephemeral:new dt(!1)})}create(){this.telemetry.track("[ui] create volume"),this.created.emit(this.form.value)}save(){this.form.value.name=this.volume?.name,this.telemetry.track("[ui] edit volume"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.volume)return;const i=e.volume.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-volume"]],inputs:{cancelable:"cancelable",volume:"volume"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[ci],decls:25,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the volume","data-cy","volume-name","matInput","","formControlName","name"],["placeholder","Minimal size of the volume","data-cy","volume-size","matInput","","formControlName","size"],["data-cy","volume-ephemeral","formControlName","ephemeral"],["data-cy","volume-create","mat-flat-button","","color","primary","matTooltip","create new volume",3,"disabled","click",4,"ngIf"],["data-cy","volume-save","mat-flat-button","","color","primary","matTooltip","save volume",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","volume-create","mat-flat-button","","color","primary","matTooltip","create new volume",3,"disabled","click"],["data-cy","volume-save","mat-flat-button","","color","primary","matTooltip","save volume",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,$j,2,0,"h2",1),K(2,jj,4,1,"h2",1),y(3,"div",2),A(4,"A volume can be mounted and shared by several containers."),v(),y(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),A(9,"Name"),v()(),y(10,"mat-error"),A(11,"Lowercase words separated by dashes. Ex: my-volume"),v(),Pe(12,"input",5),v(),y(13,"mat-form-field",4)(14,"mat-label")(15,"span"),A(16,"Size"),v()(),y(17,"mat-error"),A(18,"Example of valid quantities: 300k (300*1000), 30Mi(30*1024\xb2), 3Gi (3*1024\xb3), 3G (3*1000\xb3)"),v(),Pe(19,"input",6),v(),y(20,"mat-checkbox",7),A(21,"Volume is Ephemeral"),v()(),K(22,Uj,2,1,"button",8),K(23,Wj,2,1,"button",9),K(24,Gj,2,0,"button",10),v()),2&e&&(T(1),N("ngIf",!i.volume),T(1),N("ngIf",i.volume),T(3),N("formGroup",i.form),T(17),N("ngIf",!i.volume),T(1),N("ngIf",i.volume),T(1),N("ngIf",i.cancelable))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,dd,vo,$r,cd,bs,ys],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function Zj(n,t){if(1&n&&(y(0,"mat-option",12),A(1),v()),2&n){const e=t.$implicit;N("value",e),T(1),Rt(e)}}function qj(n,t){if(1&n){const e=Nt();y(0,"app-volume",13),ce("created",function(r){He(e);const o=Z().index;return je(Z().onNewVolumeCreated(o,r))}),v()}}function Yj(n,t){if(1&n){const e=Nt();y(0,"div"),io(1,3),y(2,"mat-form-field",4)(3,"mat-label")(4,"span"),A(5,"Volume"),v()(),y(6,"mat-select",5),ce("selectionChange",function(r){const a=He(e).index;return je(Z().onNameChange(a,r.value))}),K(7,Zj,2,2,"mat-option",6),y(8,"mat-option",7),A(9,"(New Volume)"),v()()(),y(10,"mat-form-field",4)(11,"mat-label")(12,"span"),A(13,"Mount Path"),v()(),Pe(14,"input",8),v(),y(15,"button",9),ce("click",function(){const o=He(e).index;return je(Z().remove(o))}),y(16,"mat-icon",10),A(17,"delete_forever"),v()(),K(18,qj,1,0,"app-volume",11),ro(),v()}if(2&n){const e=t.$implicit,i=t.index,r=Z();T(1),N("formGroup",e),T(5),bt("data-cy","volume-mount-name-"+i),T(1),N("ngForOf",r.volumes),T(7),bt("data-cy","volume-mount-path-"+i),T(1),bt("data-cy","volume-mount-minus-"+i),T(3),N("ngIf",r.showNewVolume[i])}}let Kj=(()=>{class n{constructor(){this.volumes=[],this.createNewVolume=new Ve,this.form=new Bf([]),this.showNewVolume=[],this.onChange=e=>{},this.onValidatorChange=()=>{},this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.add(i.name,i.path))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newVolumeMount(e){return new Ko({name:new dt(e.name,[bn.required]),path:new dt(e.path,[bn.required])})}add(e,i){this.form.push(this.newVolumeMount({name:e,path:i}))}remove(e){this.form.removeAt(e)}onNameChange(e,i){this.showNewVolume[e]="!"==i}onNewVolumeCreated(e,i){this.volumes.push(i.name),this.form.at(e).get("name")?.setValue(i.name),this.createNewVolume.next(i),this.showNewVolume[e]=!1,this.onValidatorChange()}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-volume-mounts"]],inputs:{volumes:"volumes"},outputs:{createNewVolume:"createNewVolume"},features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:4,vars:1,consts:[[1,"group"],[4,"ngFor","ngForOf"],["data-cy","volume-mount-add","mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"inline"],["formControlName","name",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],["formControlName","path","matInput",""],["mat-icon-button","","matTooltip","Delete Volume Mount",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"],[3,"created",4,"ngIf"],[3,"value"],[3,"created"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,Yj,19,6,"div",1),y(2,"button",2),ce("click",function(){return i.add("","")}),A(3,"Add Volume Mount"),v()()),2&e&&(T(1),N("ngForOf",i.form.controls))},dependencies:[fs,Si,yo,oo,qs,so,ps,Qh,tr,m_,vo,$r,Xs,bs,rv,ys,AI],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function Xj(n,t){if(1&n){const e=Nt();y(0,"div"),io(1,3),y(2,"mat-form-field",4)(3,"mat-label")(4,"span"),A(5,"Name"),v()(),Pe(6,"input",5),v(),y(7,"mat-form-field",4)(8,"mat-label")(9,"span"),A(10,"Value"),v()(),Pe(11,"input",6),v(),y(12,"button",7),ce("click",function(){const o=He(e).index;return je(Z().removeEntry(o))}),y(13,"mat-icon",8),A(14,"delete_forever"),v()(),ro(),v()}if(2&n){const e=t.$implicit,i=t.index,r=Z();T(1),N("formGroup",e),T(5),bt("data-cy",r.dataCyPrefix+"-name-"+i),T(5),bt("data-cy",r.dataCyPrefix+"-value-"+i),T(1),N("matTooltip",r.deleteLabel),bt("data-cy",r.dataCyPrefix+"-minus-"+i)}}let Qj=(()=>{class n{constructor(){this.dataCyPrefix="",this.addLabel="",this.deleteLabel="",this.form=new Bf([]),this.onChange=e=>{},this.onValidatorChange=()=>{},this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.addEntry(i.name,i.value))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newKeyValueForm(e){return new Ko({name:new dt(e.name,[bn.required]),value:new dt(e.value,[bn.required])})}addEntry(e,i){this.form.push(this.newKeyValueForm({name:e,value:i}))}removeEntry(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-multi-key-value"]],inputs:{dataCyPrefix:"dataCyPrefix",addLabel:"addLabel",deleteLabel:"deleteLabel"},features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:4,vars:3,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"kv-width"],["matInput","","formControlName","name"],["matInput","","formControlName","value"],["mat-icon-button","",1,"adjust-position",3,"matTooltip","click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,Xj,15,5,"div",1),y(2,"button",2),ce("click",function(){return i.addEntry("","")}),A(3),v()()),2&e&&(T(1),N("ngForOf",i.form.controls),T(1),bt("data-cy",i.dataCyPrefix+"-add"),T(1),Rt(i.addLabel))},dependencies:[fs,yo,oo,qs,so,ps,tr,m_,vo,$r,Xs,bs,ys],styles:["div.group[_ngcontent-%COMP%]{margin-bottom:16px}.kv-width[_ngcontent-%COMP%]{width:45%}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function Jj(n,t){if(1&n){const e=Nt();y(0,"mat-card")(1,"mat-card-content",3)(2,"mat-form-field",4)(3,"mat-label")(4,"span"),A(5,"Name"),v()(),Pe(6,"input",5),v(),y(7,"mat-form-field",6)(8,"mat-label")(9,"span"),A(10,"Target Port"),v()(),Pe(11,"input",7),v(),y(12,"mat-form-field",6)(13,"mat-label"),A(14,"Exposure"),v(),y(15,"mat-select",8)(16,"mat-option",9),A(17,"(default, public)"),v(),y(18,"mat-option",10),A(19,"public"),v(),y(20,"mat-option",11),A(21,"internal"),v(),y(22,"mat-option",12),A(23,"none"),v()()(),y(24,"mat-form-field",4)(25,"mat-label")(26,"span"),A(27,"Path"),v()(),Pe(28,"input",13),v(),y(29,"mat-form-field",6)(30,"mat-label"),A(31,"Protocol"),v(),y(32,"mat-select",14)(33,"mat-option",9),A(34,"(default, http)"),v(),y(35,"mat-option",15),A(36,"http"),v(),y(37,"mat-option",16),A(38,"https"),v(),y(39,"mat-option",17),A(40,"ws"),v(),y(41,"mat-option",18),A(42,"wss"),v(),y(43,"mat-option",19),A(44,"tcp"),v(),y(45,"mat-option",20),A(46,"udp"),v()()(),y(47,"mat-checkbox",21),A(48,"Protocol Is Secure"),v()(),y(49,"mat-card-actions")(50,"button",22),ce("click",function(){const o=He(e).index;return je(Z().removeEndpoint(o))}),y(51,"mat-icon",23),A(52,"delete_forever"),v()()()()}if(2&n){const e=t.$implicit,i=t.index;T(1),N("formGroup",e),T(5),bt("data-cy","endpoint-name-"+i),T(5),bt("data-cy","endpoint-targetPort-"+i),T(4),bt("data-cy","endpoint-exposure-"+i),T(13),bt("data-cy","endpoint-path-"+i),T(4),bt("data-cy","endpoint-protocol-"+i),T(15),bt("data-cy","endpoint-secure-"+i),T(3),bt("data-cy","endpoint-minus-"+i)}}let eU=(()=>{class n{constructor(){this.onChange=e=>{},this.onValidatorChange=()=>{},this.form=new Bf([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}newEndpoint(e){return new Ko({name:new dt(e.name,[bn.required]),targetPort:new dt(e.targetPort,[bn.required,bn.pattern("^[0-9]*$")]),exposure:new dt(e.exposure),path:new dt(e.path),protocol:new dt(e.protocol),secure:new dt(e.secure)})}addEndpoint(){this.form.push(this.newEndpoint({name:"",targetPort:0}))}removeEndpoint(e){this.form.removeAt(e)}writeValue(e){e.forEach(i=>{this.form.push(this.newEndpoint(i))})}registerOnChange(e){this.onChange=e}registerOnTouched(e){}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-endpoints"]],features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:5,vars:1,consts:[[1,"group"],[4,"ngFor","ngForOf"],["data-cy","endpoints-add","mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["matInput","","formControlName","name"],["appearance","outline",1,"quart-width"],["type","number","matInput","","formControlName","targetPort"],["formControlName","exposure"],["value",""],["value","public"],["value","internal"],["value","none"],["matInput","","formControlName","path"],["formControlName","protocol"],["value","http"],["value","https"],["value","ws"],["value","wss"],["value","tcp"],["value","udp"],["formControlName","secure"],["mat-icon-button","","matTooltip","Delete endpoint",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,Jj,53,8,"mat-card",1),y(2,"div")(3,"button",2),ce("click",function(){return i.addEndpoint()}),A(4,"Add an Endpoint"),v()()()),2&e&&(T(1),N("ngForOf",i.form.controls))},dependencies:[fs,yo,gx,oo,qs,so,ps,Qh,tr,m_,Du,Eu,Tu,dd,vo,$r,Xs,bs,rv,ys],styles:[".mid-width[_ngcontent-%COMP%]{width:50%}.quart-width[_ngcontent-%COMP%]{width:25%}mat-card[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{flex-grow:1;overflow:auto}button.adjust-position[_ngcontent-%COMP%]{right:6px}"]}),n})();function tU(n,t){1&n&&(y(0,"h2"),A(1,"Add a new container"),v())}function nU(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit container "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.container.name)}}function iU(n,t){if(1&n){const e=Nt();y(0,"button",19),ce("click",function(){return He(e),je(Z().more())}),A(1,"More parameters..."),v()}}function rU(n,t){1&n&&(y(0,"div",28)(1,"div",29)(2,"mat-checkbox",30),A(3,"Mount sources into container"),v(),y(4,"mat-checkbox",31),A(5,"Into specific directory"),v()(),y(6,"mat-form-field",4)(7,"mat-label")(8,"span"),A(9,"Mount sources into"),v()(),Pe(10,"input",32),v()())}function oU(n,t){if(1&n&&(y(0,"div")(1,"h3"),A(2,"Resource Usage"),v(),y(3,"div",2),A(4,"CPU and Memory resources necessary for container's execution"),v(),y(5,"mat-form-field",4)(6,"mat-label")(7,"span"),A(8,"Memory Request"),v()(),y(9,"mat-error"),A(10),v(),Pe(11,"input",20),v(),y(12,"mat-form-field",4)(13,"mat-label")(14,"span"),A(15,"Memory Limit"),v()(),y(16,"mat-error"),A(17),v(),Pe(18,"input",21),v(),y(19,"mat-form-field",4)(20,"mat-label")(21,"span"),A(22,"CPU Request"),v()(),y(23,"mat-error"),A(24),v(),Pe(25,"input",22),v(),y(26,"mat-form-field",4)(27,"mat-label")(28,"span"),A(29,"CPU Limit"),v()(),y(30,"mat-error"),A(31),v(),Pe(32,"input",23),v(),y(33,"h3"),A(34,"Sources"),v(),y(35,"div",2),A(36,"Declare if and how sources are mounted into the container's filesystem. By default, sources are automatically mounted into $PROJECTS_ROOT or /projects directory"),v(),y(37,"div")(38,"mat-checkbox",24),A(39,"Configure Source mount"),v()(),K(40,rU,11,0,"div",25),y(41,"h3"),A(42,"Deployment Annotations"),v(),y(43,"div",2),A(44,"Annotations added to the Kubernetes Deployment created for running this container"),v(),Pe(45,"app-multi-key-value",26),y(46,"h3"),A(47,"Service Annotations"),v(),y(48,"div",2),A(49,"Annotations added to the Kubernetes Service created for accessing this container"),v(),Pe(50,"app-multi-key-value",27),v()),2&n){const e=Z();let i;T(10),Rt(e.quantityErrMsgMemory),T(7),Rt(e.quantityErrMsgMemory),T(7),Rt(e.quantityErrMsgCPU),T(7),Rt(e.quantityErrMsgCPU),T(9),N("ngIf",null==(i=e.form.get("configureSources"))?null:i.value)}}function sU(n,t){if(1&n){const e=Nt();y(0,"button",33),ce("click",function(){return He(e),je(Z().less())}),A(1,"Less parameters..."),v()}}function aU(n,t){if(1&n){const e=Nt();y(0,"button",34),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function lU(n,t){if(1&n){const e=Nt();y(0,"button",35),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}function cU(n,t){if(1&n){const e=Nt();y(0,"button",36),ce("click",function(){return He(e),je(Z().cancel())}),A(1,"Cancel"),v()}}let II=(()=>{class n{constructor(e,i){this.devstate=e,this.telemetry=i,this.volumeNames=[],this.cancelable=!1,this.canceled=new Ve,this.created=new Ve,this.saved=new Ve,this.quantityErrMsgMemory="Numeric value, with optional unit Ki, Mi, Gi, Ti, Pi, Ei",this.quantityErrMsgCPU="Numeric value, with optional unit m, k, M, G, T, P, E",this.volumesToCreate=[],this.seeMore=!1,this.form=new Ko({name:new dt("",[bn.required,bn.pattern(lv)]),image:new dt("",[bn.required]),command:new dt([]),args:new dt([]),env:new dt([]),volumeMounts:new dt([]),memoryRequest:new dt("",null,[this.devstate.isQuantity()]),memoryLimit:new dt("",null,[this.devstate.isQuantity()]),cpuRequest:new dt("",null,[this.devstate.isQuantity()]),cpuLimit:new dt("",null,[this.devstate.isQuantity()]),configureSources:new dt(!1),mountSources:new dt(!0),_specificDir:new dt(!1),sourceMapping:new dt(""),deployAnnotations:new dt([]),svcAnnotations:new dt([]),endpoints:new dt([])}),this.form.valueChanges.subscribe(r=>{this.updateSourceFields(r)}),this.updateSourceFields(this.form.value)}updateSourceFields(e){const i=e.mountSources&&e._specificDir;!i&&!this.form.get("sourceMapping")?.disabled&&(this.form.get("sourceMapping")?.disable(),this.form.get("sourceMapping")?.setValue(""),this.form.get("_specificDir")?.setValue(!1)),i&&!this.form.get("sourceMapping")?.enabled&&this.form.get("sourceMapping")?.enable();const r=e.mountSources;!r&&!this.form.get("_specificDir")?.disabled&&this.form.get("_specificDir")?.disable(),r&&!this.form.get("_specificDir")?.enabled&&this.form.get("_specificDir")?.enable()}toObject(e){return null==e?{}:e.reduce((i,r)=>(i[r.name]=r.value,i),{})}fromObject(e){return null==e?[]:Object.keys(e).map(i=>({name:i,value:e[i]}))}create(){this.telemetry.track("[ui] create container");const e=this.form.value;e.annotation={deployment:this.toObject(e.deployAnnotations),service:this.toObject(e.svcAnnotations)},this.created.emit({container:this.form.value,volumes:this.volumesToCreate})}save(){this.telemetry.track("[ui] edit container");const e=this.form.value;e.name=this.container?.name,e.annotation={deployment:this.toObject(e.deployAnnotations),service:this.toObject(e.svcAnnotations)},this.saved.emit({container:e,volumes:this.volumesToCreate})}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.container)return;const i=e.container.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable(),""!=this.form.get("sourceMapping")?.value&&this.form.get("_specificDir")?.setValue(!0),this.form.get("deployAnnotations")?.setValue(this.fromObject(i.annotation.deployment)),this.form.get("svcAnnotations")?.setValue(this.fromObject(i.annotation.service)))}onCreateNewVolume(e){this.volumesToCreate.push(e)}more(){this.seeMore=!0}less(){this.seeMore=!1}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-container"]],inputs:{volumeNames:"volumeNames",cancelable:"cancelable",container:"container"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[ci],decls:48,vars:10,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the container","data-cy","container-name","matInput","","formControlName","name"],["placeholder","Image to start the container","data-cy","container-image","matInput","","formControlName","image"],["dataCyPrefix","container-command","formControlName","command","label","Command","addLabel","Add command","deleteLabel","Delete command"],["dataCyPrefix","container-arg","formControlName","args","label","Arg","addLabel","Add arg","deleteLabel","Delete arg"],["dataCyPrefix","container-env","addLabel","Add Environment Variable","deleteLabel","Delete Environment Variable","formControlName","env"],["formControlName","volumeMounts",3,"volumes","createNewVolume"],["formControlName","endpoints"],[1,"outbutton"],["data-cy","container-more-params","mat-flat-button","",3,"click",4,"ngIf"],["data-cy","container-less-params","mat-flat-button","",3,"click",4,"ngIf"],[1,"buttonbar"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click",4,"ngIf"],["data-cy","container-save","mat-flat-button","","color","primary","matTooltip","save container",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","container-more-params","mat-flat-button","",3,"click"],["placeholder","memory requested for the container. Ex: 1Gi","data-cy","container-memory-request","matInput","","formControlName","memoryRequest"],["placeholder","memory limit for the container. Ex: 1Gi","data-cy","container-memory-limit","matInput","","formControlName","memoryLimit"],["placeholder","CPU requested for the container. Ex: 500m","data-cy","container-cpu-request","matInput","","formControlName","cpuRequest"],["placeholder","CPU limit for the container. Ex: 1","data-cy","container-cpu-limit","matInput","","formControlName","cpuLimit"],["data-cy","container-sources-configuration","formControlName","configureSources"],["class","source-configuration-details",4,"ngIf"],["dataCyPrefix","container-deploy-anno","addLabel","Add Annotation","deleteLabel","Delete Deployment Annotation","formControlName","deployAnnotations"],["dataCyPrefix","container-svc-anno","addLabel","Add Annotation","deleteLabel","Delete Service Annotation","formControlName","svcAnnotations"],[1,"source-configuration-details"],[1,"mid-width",2,"display","inline-flex"],["data-cy","container-mount-sources","formControlName","mountSources"],["data-cy","container-sources-specific-directory","matTooltip","${PROJECTS_ROOT} or /projects by default","formControlName","_specificDir"],["placeholder","Container's directory on which to mount sources","data-cy","container-source-mapping","matInput","","formControlName","sourceMapping"],["data-cy","container-less-params","mat-flat-button","",3,"click"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click"],["data-cy","container-save","mat-flat-button","","color","primary","matTooltip","save container",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,tU,2,0,"h2",1),K(2,nU,4,1,"h2",1),y(3,"div",2),A(4,"A Container is used to execute shell commands into a specific environment. The entrypoint of the container must be a non-terminating command. You can use an image pulled from a registry or an image built by an Image command."),v(),y(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),A(9,"Name"),v()(),y(10,"mat-error"),A(11,"Lowercase words separated by dashes. Ex: my-container"),v(),Pe(12,"input",5),v(),y(13,"mat-form-field",4)(14,"mat-label")(15,"span"),A(16,"Image"),v()(),Pe(17,"input",6),v(),y(18,"h3"),A(19,"Command and Arguments"),v(),y(20,"div",2),A(21,"Command and Arguments can be used to override the entrypoint of the image"),v(),Pe(22,"app-multi-text",7)(23,"app-multi-text",8),y(24,"h3"),A(25,"Environment Variables"),v(),y(26,"div",2),A(27,"Environment Variables to define in the running container"),v(),Pe(28,"app-multi-key-value",9),y(29,"h3"),A(30,"Volume Mounts"),v(),y(31,"div",2),A(32,"Volumes to mount into the container's filesystem"),v(),y(33,"app-volume-mounts",10),ce("createNewVolume",function(o){return i.onCreateNewVolume(o)}),v(),y(34,"h3"),A(35,"Endpoints"),v(),y(36,"div",2),A(37,"Endpoints exposed by the container"),v(),Pe(38,"app-endpoints",11),y(39,"div",12),K(40,iU,2,0,"button",13),v(),K(41,oU,51,5,"div",1),y(42,"div",12),K(43,sU,2,0,"button",14),v()(),y(44,"div",15),K(45,aU,2,1,"button",16),K(46,lU,2,1,"button",17),K(47,cU,2,0,"button",18),v()()),2&e&&(T(1),N("ngIf",!i.container),T(1),N("ngIf",i.container),T(3),N("formGroup",i.form),T(28),N("volumes",i.volumeNames),T(7),N("ngIf",!i.seeMore),T(1),N("ngIf",i.seeMore),T(2),N("ngIf",i.seeMore),T(2),N("ngIf",!i.container),T(1),N("ngIf",i.container),T(1),N("ngIf",i.cancelable))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,dd,vo,$r,cd,bs,ys,SI,Kj,Qj,eU],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}.mid-width[_ngcontent-%COMP%]{width:50%}.source-configuration-details[_ngcontent-%COMP%]{margin-left:16px}div.buttonbar[_ngcontent-%COMP%]{margin-top:16px}.outbutton[_ngcontent-%COMP%]{text-align:right}"]}),n})();function dU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Command:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.command.join(" "))}}function uU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Args:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.args.join(" "))}}function hU(n,t){if(1&n&&(y(0,"div"),A(1),v()),2&n){const e=t.$implicit;T(1),pg(" ",e.name,": ",e.value," ")}}function mU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Environment variables:"),v(),y(3,"td"),K(4,hU,2,2,"div",9),v()()),2&n){const e=Z().$implicit;T(4),N("ngForOf",e.env)}}function fU(n,t){if(1&n&&(y(0,"div",11)(1,"mat-chip",12)(2,"mat-icon",13),A(3,"storage"),v(),A(4),v(),y(5,"span",14),A(6," in "),y(7,"code"),A(8),v()()()),2&n){const e=t.$implicit;T(4),hi(" ",e.name," "),T(4),Rt(e.path)}}function pU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Volume Mounts:"),v(),y(3,"td"),K(4,fU,9,2,"div",10),v()()),2&n){const e=Z().$implicit;T(4),N("ngForOf",e.volumeMounts)}}function gU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Memory Request:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.memoryRequest)}}function _U(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Memory Limit:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.memoryLimit)}}function bU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"CPU Request:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.cpuRequest)}}function yU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"CPU Limit:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.cpuLimit)}}function vU(n,t){if(1&n&&(y(0,"div"),A(1),v()),2&n){const e=t.$implicit;T(1),pg(" ",e.key,": ",e.value," ")}}function CU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Deployment Annotations:"),v(),y(3,"td"),K(4,vU,2,2,"div",9),xg(5,"keyvalue"),v()()),2&n){const e=Z().$implicit;T(4),N("ngForOf",wg(5,1,e.annotation.deployment))}}function xU(n,t){if(1&n&&(y(0,"div"),A(1),v()),2&n){const e=t.$implicit;T(1),pg(" ",e.key,": ",e.value," ")}}function wU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Service Annotations:"),v(),y(3,"td"),K(4,xU,2,2,"div",9),xg(5,"keyvalue"),v()()),2&n){const e=Z().$implicit;T(4),N("ngForOf",wg(5,1,e.annotation.service))}}function DU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Mount Sources:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.mountSources?"Yes":"No")}}function TU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Mount Sources Into:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.sourceMapping)}}function EU(n,t){1&n&&(y(0,"div"),A(1,"secure"),v())}function MU(n,t){if(1&n&&(y(0,"div"),A(1),v()),2&n){const e=Z().$implicit;T(1),hi("path: ",e.path,"")}}function kU(n,t){if(1&n&&(y(0,"mat-card",17)(1,"mat-card-header")(2,"mat-card-title"),A(3),v(),y(4,"mat-card-subtitle"),A(5),v()(),y(6,"mat-card-content")(7,"div"),A(8),v(),y(9,"div"),A(10),v(),K(11,EU,2,0,"div",3),K(12,MU,2,1,"div",3),v()()),2&n){const e=t.$implicit;let i,r;T(3),Rt(e.name),T(2),Rt(e.targetPort),T(3),hi("exposure: ",null!==(i=e.exposure)&&void 0!==i?i:"public",""),T(2),hi("protocol: ",null!==(r=e.protocol)&&void 0!==r?r:"http",""),T(1),N("ngIf",e.secure),T(1),N("ngIf",e.path)}}function SU(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Endpoints:"),v(),y(3,"td",15),K(4,kU,13,6,"mat-card",16),v()()),2&n){const e=Z().$implicit;T(4),N("ngForOf",e.endpoints)}}function AU(n,t){if(1&n){const e=Nt();y(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),A(3),v(),y(4,"mat-card-subtitle"),A(5,"Container"),v()(),y(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),A(10,"Image:"),v(),y(11,"td")(12,"code"),A(13),v()()(),K(14,dU,6,1,"tr",3),K(15,uU,6,1,"tr",3),K(16,mU,5,1,"tr",3),K(17,pU,5,1,"tr",3),K(18,gU,6,1,"tr",3),K(19,_U,6,1,"tr",3),K(20,bU,6,1,"tr",3),K(21,yU,6,1,"tr",3),K(22,CU,6,3,"tr",3),K(23,wU,6,3,"tr",3),K(24,DU,6,1,"tr",3),K(25,TU,6,1,"tr",3),K(26,SU,5,1,"tr",3),v()(),y(27,"mat-card-actions")(28,"button",7),ce("click",function(){const o=He(e).$implicit;return je(Z().delete(o.name))}),A(29,"Delete"),v(),y(30,"button",8),ce("click",function(){const o=He(e).$implicit;return je(Z().edit(o))}),A(31,"Edit"),v()()()}if(2&n){const e=t.$implicit;T(3),Rt(e.name),T(10),Rt(e.image),T(1),N("ngIf",null!=e.command&&e.command.length>0),T(1),N("ngIf",null!=e.args&&e.args.length>0),T(1),N("ngIf",e.env.length),T(1),N("ngIf",e.volumeMounts.length>0),T(1),N("ngIf",null!=e.memoryRequest&&e.memoryRequest.length>0),T(1),N("ngIf",null!=e.memoryLimit&&e.memoryLimit.length>0),T(1),N("ngIf",null!=e.cpuRequest&&e.cpuRequest.length>0),T(1),N("ngIf",null!=e.cpuLimit&&e.cpuLimit.length>0),T(1),N("ngIf",e.annotation.deployment),T(1),N("ngIf",e.annotation.service),T(1),N("ngIf",e.configureSources),T(1),N("ngIf",e.configureSources&&e.mountSources&&e.sourceMapping),T(1),N("ngIf",e.endpoints.length)}}const IU=function(){return[]};function FU(n,t){if(1&n){const e=Nt();y(0,"app-container",18),ce("canceled",function(){return He(e),je(Z().undisplayAddForm())})("created",function(r){return He(e),je(Z().onCreated(r))})("saved",function(r){return He(e),je(Z().onSaved(r))}),v()}if(2&n){const e=Z();let i;N("volumeNames",null!==(i=e.volumeNames)&&void 0!==i?i:el(3,IU))("cancelable",e.forceDisplayForm)("container",e.editingContainer)}}function OU(n,t){if(1&n){const e=Nt();io(0),y(1,"button",19),ce("click",function(){return He(e),je(Z().displayAddForm())}),y(2,"mat-icon",20),A(3,"add"),v()(),ro()}}let PU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.containers=[],this.volumeNames=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,vs.Z)(function*(o){e.volumeNames=o?.volumes.map(a=>a.name),i.containers=o?.containers,null!=e.containers&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingContainer=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the container "'+e+'". Continue?')&&this.devstate.deleteContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}createVolumes(e,i,r){e.length!=i?this.devstate.addVolume(e[i]).subscribe({next:a=>{this.createVolumes(e,i+1,r)},error:a=>{alert(a.error.message)}}):r()}edit(e){this.editingContainer=e,this.displayForm()}onCreated(e){const i=e.container;this.createVolumes(e.volumes,0,()=>{this.devstate.addContainer(i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})})}onSaved(e){const i=e.container;this.createVolumes(e.volumes,0,()=>{this.devstate.saveContainer(i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo))},n.\u0275cmp=et({type:n,selectors:[["app-containers"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","container-info",4,"ngFor","ngForOf"],[3,"volumeNames","cancelable","container","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","container-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],["data-cy","container-edit","mat-button","",3,"click"],[4,"ngFor","ngForOf"],["class","volume-mount",4,"ngFor","ngForOf"],[1,"volume-mount"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],[1,"path"],[1,"container-list"],["class","endpoint",4,"ngFor","ngForOf"],[1,"endpoint"],[3,"volumeNames","cancelable","container","canceled","created","saved"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,AU,32,15,"mat-card",1),K(2,FU,1,4,"app-container",2),v(),K(3,OU,4,0,"ng-container",3)),2&e&&(T(1),N("ngForOf",i.containers),T(1),N("ngIf",i.forceDisplayForm||null==i.containers||0==i.containers.length),T(1),N("ngIf",!i.forceDisplayForm&&null!=i.containers&&i.containers.length>0))},dependencies:[fs,Si,tr,h_,Du,Eu,Tu,Kf,Yf,qf,Mu,xw,Xs,II,TE],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.volume-mount[_ngcontent-%COMP%]{margin-top:4px}.volume-mount[_ngcontent-%COMP%] > mat-chip[_ngcontent-%COMP%]{top:-11px}.volume-mount[_ngcontent-%COMP%] > span.path[_ngcontent-%COMP%]{position:relative;top:-14px}table.aligned[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}div.endpoint-list[_ngcontent-%COMP%]{display:float}mat-card.endpoint[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;float:left;margin:0 8px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{padding:8px 8px 0}mat-card.endpoint[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{font-size:16px;line-height:24px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{font-size:12px;line-height:24px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:8px}"]}),n})();function RU(n,t){if(1&n&&(y(0,"mat-option",4),A(1),v()),2&n){const e=t.$implicit;N("value",e),T(1),Rt(e)}}let kw=(()=>{class n{constructor(){this.containers=[],this.label="",this.createNew=new Ve,this.onChange=e=>{},this.onValidatorChange=()=>{},this.formCtrl=new dt("",[bn.required,this.validatorIsNotNew()])}validatorIsNotNew(){return e=>"!"==e.value?{internal:!0}:null}writeValue(e){this.formCtrl.setValue(e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){}onSelectChange(e){this.onValidatorChange(),"!"!=e&&this.onChange(e),this.createNew.emit("!"==e)}registerOnValidatorChange(e){this.onValidatorChange=e}validate(e){return this.formCtrl.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-select-container"]],inputs:{containers:"containers",label:"label"},outputs:{createNew:"createNew"},features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:7,vars:4,consts:[["appearance","fill"],["data-cy","select-container",3,"formControl","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],[3,"value"]],template:function(e,i){1&e&&(y(0,"mat-form-field",0)(1,"mat-label"),A(2),v(),y(3,"mat-select",1),ce("selectionChange",function(o){return i.onSelectChange(o.value)}),K(4,RU,2,2,"mat-option",2),y(5,"mat-option",3),A(6),v()()()),2&e&&(T(2),Rt(i.label),T(1),N("formControl",i.formCtrl),T(1),N("ngForOf",i.containers),T(2),hi("(New ",i.label,")"))},dependencies:[fs,oo,Nf,Qh,vo,$r,rv]}),n})();function LU(n,t){1&n&&(y(0,"h2"),A(1,"Add an Exec Command"),v())}function NU(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit exec command "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.command.name)}}const BU=function(){return[]};function VU(n,t){if(1&n){const e=Nt();y(0,"app-container",15),ce("created",function(r){return He(e),je(Z().onNewContainerCreated(r))}),v()}if(2&n){let i;N("volumeNames",null!==(i=Z().volumeNames)&&void 0!==i?i:el(1,BU))}}function HU(n,t){if(1&n){const e=Nt();y(0,"button",16),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function zU(n,t){if(1&n){const e=Nt();y(0,"button",17),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}let $U=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ve,this.containerList=[],this.showNewContainer=!1,this.containerToCreate=null,this.volumesToCreate=[],this.volumeNames=[],this.form=new Ko({name:new dt("",[bn.required,bn.pattern(av)]),component:new dt("",[bn.required]),commandLine:new dt("",[bn.required]),workingDir:new dt("",[bn.required]),hotReloadCapable:new dt(!1)}),this.state.state.subscribe(function(){var a=(0,vs.Z)(function*(c){o.volumeNames=c?.volumes.map(m=>m.name);const u=c?.containers;null!=u&&(o.containerList=u.map(m=>m.name))});return function(c){return a.apply(this,arguments)}}())}createVolumes(e,i,r){e.length!=i?this.devstate.addVolume(e[i]).subscribe({next:a=>{this.createVolumes(e,i+1,r)},error:a=>{alert(a.error.message)}}):r()}create(){this.telemetry.track("[ui] create exec command");const e=()=>{this.devstate.addExecCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};this.createVolumes(this.volumesToCreate,0,()=>{null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()})}cancel(){this.canceled.emit()}onProjectsRoot(){this.form.controls.workingDir.setValue("${PROJECTS_ROOT}")}onCreateNewContainer(e){this.showNewContainer=e}onNewContainerCreated(e){const i=e.container;this.containerList.push(i.name),this.form.controls.component.setValue(i.name),this.showNewContainer=!1,this.containerToCreate=i,this.volumesToCreate.push(...e.volumes)}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.exec),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update exec command");const e=()=>{null!=this.command&&this.devstate.updateExecCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};this.createVolumes(this.volumesToCreate,0,()=>{null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()})}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-command-exec"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[ci],decls:35,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["formControlName","hotReloadCapable"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-exec-name","matInput","","formControlName","name"],["placeholder","command line passed to the shell","data-cy","command-exec-command-line","matInput","","formControlName","commandLine"],["placeholder","Working directory of the command","data-cy","command-exec-working-dir","matInput","","formControlName","workingDir"],["data-cy","command-exec-projects-root","mat-button","",3,"click"],["formControlName","component","label","Container",3,"containers","createNew"],[3,"volumeNames","created",4,"ngIf"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click",4,"ngIf"],["data-cy","command-exec-save","mat-flat-button","","color","primary","matTooltip","save command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"volumeNames","created"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click"],["data-cy","command-exec-save","mat-flat-button","","color","primary","matTooltip","save command",3,"disabled","click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,LU,2,0,"h2",1),K(2,NU,4,1,"h2",1),y(3,"div",2),A(4,"An Exec command is a shell command executed into a container."),v(),y(5,"form",3)(6,"div")(7,"mat-checkbox",4),A(8,"Hot Reload Capable"),v()(),y(9,"mat-form-field",5)(10,"mat-label")(11,"span"),A(12,"Name"),v()(),y(13,"mat-error"),A(14,"Lowercase words separated by dashes. Ex: my-command"),v(),Pe(15,"input",6),v(),y(16,"mat-form-field",5)(17,"mat-label")(18,"span"),A(19,"Command Line"),v()(),Pe(20,"input",7),v(),y(21,"mat-form-field",5)(22,"mat-label")(23,"span"),A(24,"Working Dir"),v()(),Pe(25,"input",8),v(),y(26,"button",9),ce("click",function(){return i.onProjectsRoot()}),A(27,"Work on Project's Root Directory"),v(),y(28,"div")(29,"app-select-container",10),ce("createNew",function(o){return i.onCreateNewContainer(o)}),v()()(),K(30,VU,1,2,"app-container",11),K(31,HU,2,1,"button",12),K(32,zU,2,1,"button",13),y(33,"button",14),ce("click",function(){return i.cancel()}),A(34,"Cancel"),v()()),2&e&&(T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command),T(3),N("formGroup",i.form),T(24),N("containers",i.containerList),T(1),N("ngIf",i.showNewContainer),T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,dd,vo,$r,cd,bs,ys,II,kw],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function jU(n,t){1&n&&(y(0,"h2"),A(1,"Add a new resource"),v())}function UU(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit resource "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.resource.name)}}function WU(n,t){1&n&&(y(0,"mat-form-field",19)(1,"mat-label")(2,"span"),A(3,"URI"),v()(),Pe(4,"input",20),v())}function GU(n,t){1&n&&(y(0,"mat-form-field",19)(1,"mat-label"),A(2,"YAML Manifest"),v(),Pe(3,"textarea",21),v())}function ZU(n,t){if(1&n){const e=Nt();y(0,"button",22),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function qU(n,t){if(1&n){const e=Nt();y(0,"button",23),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}function YU(n,t){if(1&n){const e=Nt();y(0,"button",24),ce("click",function(){return He(e),je(Z().cancel())}),A(1,"Cancel"),v()}}let FI=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new Ve,this.created=new Ve,this.saved=new Ve,this.uriOrInlined="uri",this.form=new Ko({name:new dt("",[bn.required,bn.pattern(lv)]),_choice:new dt("uri"),uri:new dt("",[bn.required]),inlined:new dt("",[]),deployByDefault:new dt("undefined")})}changeUriOrInlined(e){this.uriOrInlined=e,"uri"==this.uriOrInlined?(this.form.controls.inlined.removeValidators(bn.required),this.form.controls.inlined.setValue(""),this.form.controls.uri?.addValidators(bn.required)):"inlined"==this.uriOrInlined&&(this.form.controls.uri?.removeValidators(bn.required),this.form.controls.uri.setValue(""),this.form.controls.inlined?.setValidators(bn.required)),this.form.controls.uri.updateValueAndValidity(),this.form.controls.inlined.updateValueAndValidity()}create(){this.telemetry.track("[ui] create resource"),this.created.emit(this.form.value)}save(){this.form.value.name=this.resource?.name,this.telemetry.track("[ui] edit resource"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.resource)return;const i=e.resource.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),i.inlined?(this.form.get("_choice")?.setValue("inlined"),this.changeUriOrInlined("inlined")):(this.form.get("_choice")?.setValue("uri"),this.changeUriOrInlined("uri")),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-resource"]],inputs:{cancelable:"cancelable",resource:"resource"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[ci],decls:33,vars:8,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],[1,"toggle-group-div"],["formControlName","deployByDefault"],["data-cy","resource-auto-deploy-never","matTooltip","Do not deploy the resource at startup","value","never"],["data-cy","resource-auto-deploy-undefined","matTooltip","Deploy at startup only if the resource is not referenced in any command","value","undefined"],["data-cy","resource-auto-deploy-always","matTooltip","Force deploying the resource at startup","value","always"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the resource","data-cy","resource-name","matInput","","formControlName","name"],[1,"toggleUriInlined"],["formControlName","_choice",3,"change"],["data-cy","resource-toogle-uri","value","uri"],["data-cy","resource-toggle-inlined","value","inlined"],["appearance","outline","class","full-width",4,"ngIf"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click",4,"ngIf"],["data-cy","resource-save","mat-flat-button","","color","primary","matTooltip","save resource",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"full-width"],["placeholder","Reference to a YAML manifest","data-cy","resource-uri","matInput","","formControlName","uri"],["data-cy","resource-manifest","matInput","","formControlName","inlined","rows","8"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click"],["data-cy","resource-save","mat-flat-button","","color","primary","matTooltip","save resource",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,jU,2,0,"h2",1),K(2,UU,4,1,"h2",1),y(3,"div",2),A(4,"A Resource defines a Kubernetes resource. Its definition can be given either by a URI pointing to a manifest file or by an inlined YAML manifest."),v(),y(5,"form",3)(6,"div",4),A(7," Deploy at Startup: "),y(8,"mat-button-toggle-group",5)(9,"mat-button-toggle",6),A(10,"Never"),v(),y(11,"mat-button-toggle",7),A(12,"If Orphan"),v(),y(13,"mat-button-toggle",8),A(14,"Always"),v()()(),y(15,"mat-form-field",9)(16,"mat-label")(17,"span"),A(18,"Name"),v()(),y(19,"mat-error"),A(20,"Lowercase words separated by dashes. Ex: my-resource"),v(),Pe(21,"input",10),v(),y(22,"span",11)(23,"mat-button-toggle-group",12),ce("change",function(o){return i.changeUriOrInlined(o.value)}),y(24,"mat-button-toggle",13),A(25,"Specify URI"),v(),y(26,"mat-button-toggle",14),A(27,"Inlined content"),v()()(),K(28,WU,5,0,"mat-form-field",15),K(29,GU,4,0,"mat-form-field",15),v(),K(30,ZU,2,1,"button",16),K(31,qU,2,1,"button",17),K(32,YU,2,0,"button",18),v()),2&e&&(T(1),N("ngIf",!i.resource),T(1),N("ngIf",i.resource),T(3),N("formGroup",i.form),T(23),N("ngIf","uri"==i.uriOrInlined),T(1),N("ngIf","inlined"==i.uriOrInlined),T(1),N("ngIf",!i.resource),T(1),N("ngIf",i.resource),T(1),N("ngIf",i.cancelable))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,gw,_w,vo,$r,cd,bs,ys],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}span.toggleUriInlined[_ngcontent-%COMP%]{margin-left:16px}"]}),n})();function KU(n,t){1&n&&(y(0,"h2"),A(1,"Add an Apply Command"),v())}function XU(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit apply command "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.command.name)}}function QU(n,t){if(1&n){const e=Nt();y(0,"app-resource",11),ce("created",function(r){return He(e),je(Z().onNewResourceCreated(r))}),v()}}function JU(n,t){if(1&n){const e=Nt();y(0,"button",12),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function e7(n,t){if(1&n){const e=Nt();y(0,"button",13),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}let t7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ve,this.resourceList=[],this.showNewResource=!1,this.resourceToCreate=null,this.form=new Ko({name:new dt("",[bn.required,bn.pattern(av)]),component:new dt("",[bn.required])}),this.state.state.subscribe(function(){var a=(0,vs.Z)(function*(c){const u=c?.resources;null!=u&&(o.resourceList=u.map(m=>m.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create apply command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewContainer(e){this.showNewResource=e}onNewResourceCreated(e){this.resourceList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewResource=!1,this.resourceToCreate=e}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.apply),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update apply command");const e=()=>{null!=this.command&&this.devstate.updateApplyCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-command-apply"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[ci],decls:22,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-apply-name","matInput","","formControlName","name"],["formControlName","component","label","Resource",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click",4,"ngIf"],["data-cy","command-apply-save","mat-flat-button","","color","primary","matTooltip","save Apply Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"created"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click"],["data-cy","command-apply-save","mat-flat-button","","color","primary","matTooltip","save Apply Command",3,"disabled","click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,KU,2,0,"h2",1),K(2,XU,4,1,"h2",1),y(3,"div",2),A(4,'An Apply command "applies" a resource to the cluster. Equivalent to '),y(5,"code"),A(6,"kubectl apply -f ..."),v()(),y(7,"form",3)(8,"mat-form-field",4)(9,"mat-label")(10,"span"),A(11,"Name"),v()(),y(12,"mat-error"),A(13,"Lowercase words separated by dashes. Ex: my-command"),v(),Pe(14,"input",5),v(),y(15,"div")(16,"app-select-container",6),ce("createNew",function(o){return i.onCreateNewContainer(o)}),v()()(),K(17,QU,1,0,"app-resource",7),K(18,JU,2,1,"button",8),K(19,e7,2,1,"button",9),y(20,"button",10),ce("click",function(){return i.cancel()}),A(21,"Cancel"),v()()),2&e&&(T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command),T(5),N("formGroup",i.form),T(9),N("containers",i.resourceList),T(1),N("ngIf",i.showNewResource),T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,vo,$r,cd,bs,ys,kw,FI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function n7(n,t){if(1&n&&(y(0,"mat-option",8),A(1),v()),2&n){const e=t.$implicit;N("value",e),T(1),Rt(e)}}function i7(n,t){if(1&n){const e=Nt();y(0,"span")(1,"mat-form-field",3)(2,"mat-label")(3,"span"),A(4,"Command"),v()(),y(5,"mat-select",4),K(6,n7,2,2,"mat-option",5),v()(),y(7,"button",6),ce("click",function(){const o=He(e).index;return je(Z().removeCommand(o))}),y(8,"mat-icon",7),A(9,"delete_forever"),v()()()}if(2&n){const e=t.$implicit,i=t.index,r=Z();T(5),N("formControl",e),bt("data-cy","command-selector-"+i),T(1),N("ngForOf",r.commandList),T(1),bt("data-cy","command-minus-"+i)}}let r7=(()=>{class n{constructor(){this.addLabel="",this.commandList=[],this.title="",this.onChange=e=>{},this.form=new Bf([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.addCommand(i))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newCommand(e){return new dt(e,[bn.required])}addCommand(e){this.form.push(this.newCommand(e))}removeCommand(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=et({type:n,selectors:[["app-multi-command"]],inputs:{addLabel:"addLabel",commandList:"commandList",title:"title"},features:[Vt([{provide:Tr,multi:!0,useExisting:n},{provide:Wi,useExisting:Wt(()=>n),multi:!0}])],decls:7,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],["mat-icon-button","","matTooltip","Delete command",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"],[3,"value"]],template:function(e,i){1&e&&(y(0,"h3"),A(1),v(),y(2,"div",0),K(3,i7,10,4,"span",1),y(4,"div")(5,"button",2),ce("click",function(){return i.addCommand("")}),A(6),v()()()),2&e&&(T(1),Rt(i.title),T(2),N("ngForOf",i.form.controls),T(2),bt("data-cy","add-command"),T(1),Rt(i.addLabel))},dependencies:[fs,oo,Nf,Qh,tr,m_,vo,$r,Xs,rv,ys],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px}"]}),n})();function o7(n,t){1&n&&(y(0,"h2"),A(1,"Add a Composite Command"),v())}function s7(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit composite command "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.command.name)}}function a7(n,t){if(1&n){const e=Nt();y(0,"button",11),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function l7(n,t){if(1&n){const e=Nt();y(0,"button",12),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}let c7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ve,this.commandList=[],this.form=new Ko({name:new dt("",[bn.required,bn.pattern(av)]),parallel:new dt(!1),commands:new dt([])}),this.state.state.subscribe(function(){var a=(0,vs.Z)(function*(c){const u=c?.commands;null!=u&&(o.commandList=u.map(m=>m.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create composite command"),this.devstate.addCompositeCommand(this.form.value.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.composite),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update composite command"),null!=this.command&&this.devstate.updateCompositeCommand(this.command.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-command-composite"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[ci],decls:21,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-composite-name","matInput","","formControlName","name"],["formControlName","parallel"],["formControlName","commands","title","Commands","addLabel","Add a command",3,"commandList"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click",4,"ngIf"],["data-cy","command-composite-save","mat-flat-button","","color","primary","matTooltip","save Composite Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click"],["data-cy","command-composite-save","mat-flat-button","","color","primary","matTooltip","save Composite Command",3,"disabled","click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,o7,2,0,"h2",1),K(2,s7,4,1,"h2",1),y(3,"div",2),A(4,"A Composite command executes several commands, either serially or in parallel."),v(),y(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),A(9,"Name"),v()(),y(10,"mat-error"),A(11,"Lowercase words separated by dashes. Ex: my-command"),v(),Pe(12,"input",5),v(),y(13,"div")(14,"mat-checkbox",6),A(15,"Run commands in parallel"),v()(),Pe(16,"app-multi-command",7),v(),K(17,a7,2,1,"button",8),K(18,l7,2,1,"button",9),y(19,"button",10),ce("click",function(){return i.cancel()}),A(20,"Cancel"),v()()),2&e&&(T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command),T(3),N("formGroup",i.form),T(11),N("commandList",i.commandList),T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,dd,vo,$r,cd,bs,ys,r7],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function d7(n,t){1&n&&(y(0,"h2"),A(1,"Add a new image"),v())}function u7(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit image "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.image.name)}}function h7(n,t){if(1&n){const e=Nt();y(0,"button",19),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function m7(n,t){if(1&n){const e=Nt();y(0,"button",20),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}function f7(n,t){if(1&n){const e=Nt();y(0,"button",21),ce("click",function(){return He(e),je(Z().cancel())}),A(1,"Cancel"),v()}}let OI=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new Ve,this.created=new Ve,this.saved=new Ve,this.form=new Ko({name:new dt("",[bn.required,bn.pattern(lv)]),imageName:new dt("",[bn.required]),args:new dt([]),buildContext:new dt(""),rootRequired:new dt(!1),uri:new dt("",[bn.required]),autoBuild:new dt("undefined")})}create(){this.telemetry.track("[ui] create image"),this.created.emit(this.form.value)}save(){this.form.value.name=this.image?.name,this.telemetry.track("[ui] edit volume"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(console.log("changes",e),!e.image)return;const i=e.image.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-image"]],inputs:{cancelable:"cancelable",image:"image"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[ci],decls:43,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],[1,"toggle-group-div"],["formControlName","autoBuild"],["data-cy","image-auto-build-never","matTooltip","Do not build the image at startup","value","never"],["data-cy","image-auto-build-undefined","matTooltip","Build at startup only if the image is not referenced in any command","value","undefined"],["data-cy","image-auto-build-always","matTooltip","Force building the image at startup","value","always"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the image","data-cy","image-name","matInput","","formControlName","name"],["placeholder","Reference to a container image","data-cy","image-image-name","matInput","","formControlName","imageName"],["dataCyPrefix","image-arg","formControlName","args","title","Build Args","label","Arg","addLabel","Add Build Arg","deleteLabel","Delete Build Args"],["placeholder","Directory from which the build will be executed","data-cy","image-build-context","matInput","","formControlName","buildContext"],["placeholder","Dockerfile used to build the image","data-cy","image-dockerfile-uri","matInput","","formControlName","uri"],["formControlName","rootRequired"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click",4,"ngIf"],["data-cy","image-save","mat-flat-button","","color","primary","matTooltip","save image",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click"],["data-cy","image-save","mat-flat-button","","color","primary","matTooltip","save image",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,d7,2,0,"h2",1),K(2,u7,4,1,"h2",1),y(3,"div",2),A(4,"An Image defines how to build a container image."),v(),y(5,"form",3)(6,"div",4),A(7," Build at Startup: "),y(8,"mat-button-toggle-group",5)(9,"mat-button-toggle",6),A(10,"Never"),v(),y(11,"mat-button-toggle",7),A(12,"If Orphan"),v(),y(13,"mat-button-toggle",8),A(14,"Always"),v()()(),y(15,"mat-form-field",9)(16,"mat-label")(17,"span"),A(18,"Name"),v()(),y(19,"mat-error"),A(20,"Lowercase words separated by dashes. Ex: my-image"),v(),Pe(21,"input",10),v(),y(22,"mat-form-field",9)(23,"mat-label")(24,"span"),A(25,"Image Name"),v()(),Pe(26,"input",11),v(),Pe(27,"app-multi-text",12),y(28,"mat-form-field",9)(29,"mat-label")(30,"span"),A(31,"Build Context"),v()(),Pe(32,"input",13),v(),y(33,"mat-form-field",9)(34,"mat-label")(35,"span"),A(36,"Dockerfile URI"),v()(),Pe(37,"input",14),v(),y(38,"mat-checkbox",15),A(39,"Root Required"),v()(),K(40,h7,2,1,"button",16),K(41,m7,2,1,"button",17),K(42,f7,2,0,"button",18),v()),2&e&&(T(1),N("ngIf",!i.image),T(1),N("ngIf",i.image),T(3),N("formGroup",i.form),T(35),N("ngIf",!i.image),T(1),N("ngIf",i.image),T(1),N("ngIf",i.cancelable))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,gw,_w,dd,vo,$r,cd,bs,ys,SI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}div.toggle-group-div[_ngcontent-%COMP%]{margin:16px 0}"]}),n})();function p7(n,t){1&n&&(y(0,"h2"),A(1,"Add an Image Command"),v())}function g7(n,t){if(1&n&&(y(0,"h2"),A(1,"Edit image command "),y(2,"i"),A(3),v()()),2&n){const e=Z();T(3),Rt(e.command.name)}}function _7(n,t){if(1&n){const e=Nt();y(0,"app-image",11),ce("created",function(r){return He(e),je(Z().onNewImageCreated(r))}),v()}}function b7(n,t){if(1&n){const e=Nt();y(0,"button",12),ce("click",function(){return He(e),je(Z().create())}),A(1,"Create"),v()}2&n&&N("disabled",Z().form.invalid)}function y7(n,t){if(1&n){const e=Nt();y(0,"button",13),ce("click",function(){return He(e),je(Z().save())}),A(1,"Save"),v()}2&n&&N("disabled",Z().form.invalid)}let v7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ve,this.imageList=[],this.showNewImage=!1,this.imageToCreate=null,this.form=new Ko({name:new dt("",[bn.required,bn.pattern(av)]),component:new dt("",[bn.required])}),this.state.state.subscribe(function(){var a=(0,vs.Z)(function*(c){const u=c?.images;null!=u&&(o.imageList=u.map(m=>m.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create image command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewImage(e){this.showNewImage=e}onNewImageCreated(e){this.imageList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewImage=!1,this.imageToCreate=e}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.image),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update image command");const e=()=>{null!=this.command&&this.devstate.updateApplyCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-command-image"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[ci],decls:20,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-image-name","matInput","","formControlName","name"],["formControlName","component","label","Image",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click",4,"ngIf"],["data-cy","command-image-save","mat-flat-button","","color","primary","matTooltip","save Image Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"created"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click"],["data-cy","command-image-save","mat-flat-button","","color","primary","matTooltip","save Image Command",3,"disabled","click"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,p7,2,0,"h2",1),K(2,g7,4,1,"h2",1),y(3,"div",2),A(4,"An Image command builds a container image and pushes it to a container registry."),v(),y(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),A(9,"Name"),v()(),y(10,"mat-error"),A(11,"Lowercase words separated by dashes. Ex: my-command"),v(),Pe(12,"input",5),v(),y(13,"div")(14,"app-select-container",6),ce("createNew",function(o){return i.onCreateNewImage(o)}),v()()(),K(15,_7,1,0,"app-image",7),K(16,b7,2,1,"button",8),K(17,y7,2,1,"button",9),y(18,"button",10),ce("click",function(){return i.cancel()}),A(19,"Cancel"),v()()),2&e&&(T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command),T(3),N("formGroup",i.form),T(9),N("containers",i.imageList),T(1),N("ngIf",i.showNewImage),T(1),N("ngIf",!i.command),T(1),N("ngIf",i.command))},dependencies:[Si,rc,yo,oo,qs,so,ps,tr,vo,$r,cd,bs,ys,kw,OI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function C7(n,t){if(1&n&&(y(0,"div",2),A(1),v()),2&n){const e=Z();T(1),hi("No ",e.kind," commands yet. You can create a command then drag&drop it here")}}function x7(n,t){1&n&&(y(0,"div",2),A(1,"No generic commands yet. New commands will appear here"),v())}function w7(n,t){if(1&n){const e=Nt();y(0,"mat-checkbox",11),ce("change",function(r){He(e);const o=Z(2).$implicit;return je(Z().toggleDefault(r,o.name,o.group))}),A(1),v()}if(2&n){const e=Z(2).$implicit,i=Z();N("checked",e.default),T(1),hi("Default ",i.kind," command")}}function D7(n,t){1&n&&(y(0,"mat-card-subtitle"),A(1,"Exec Command"),v())}function T7(n,t){1&n&&(y(0,"mat-card-subtitle"),A(1,"Apply Command"),v())}function E7(n,t){1&n&&(y(0,"mat-card-subtitle"),A(1,"Image Command"),v())}function M7(n,t){1&n&&(y(0,"mat-card-subtitle"),A(1,"Composite Command"),v())}function k7(n,t){1&n&&(y(0,"span"),A(1,"Yes"),v())}function S7(n,t){1&n&&(y(0,"span"),A(1,"No"),v())}function A7(n,t){if(1&n&&(io(0),y(1,"table",12)(2,"tr")(3,"td"),A(4,"Is Hot Reload Capable:"),v(),y(5,"td"),K(6,k7,2,0,"span",8),K(7,S7,2,0,"span",8),v()(),y(8,"tr")(9,"td"),A(10,"Command Line:"),v(),y(11,"td")(12,"code"),A(13),v()()(),y(14,"tr")(15,"td"),A(16,"Working Directory:"),v(),y(17,"td")(18,"code"),A(19),v()()(),y(20,"tr")(21,"td"),A(22,"Container:"),v(),y(23,"td")(24,"mat-chip",13)(25,"mat-icon",14),A(26,"width_normal"),v(),A(27),v()()()(),ro()),2&n){const e=Z(2).$implicit;T(6),N("ngIf",null==e.exec?null:e.exec.hotReloadCapable),T(1),N("ngIf",!(null!=e.exec&&e.exec.hotReloadCapable)),T(6),Rt(null==e.exec?null:e.exec.commandLine),T(6),Rt(null==e.exec?null:e.exec.workingDir),T(8),hi(" ",null==e.exec?null:e.exec.component," ")}}function I7(n,t){if(1&n&&(io(0),y(1,"table",12)(2,"tr")(3,"td"),A(4,"Cluster resource:"),v(),y(5,"td")(6,"mat-chip",13)(7,"mat-icon",14),A(8,"description"),v(),A(9),v()()()(),ro()),2&n){const e=Z(2).$implicit;T(9),hi(" ",null==e.apply?null:e.apply.component," ")}}function F7(n,t){if(1&n&&(io(0),y(1,"table",12)(2,"tr")(3,"td"),A(4,"Image:"),v(),y(5,"td")(6,"mat-chip",13)(7,"mat-icon",14),A(8,"image"),v(),A(9),v()()()(),ro()),2&n){const e=Z(2).$implicit;T(9),hi(" ",null==e.image?null:e.image.component," ")}}function O7(n,t){1&n&&(y(0,"div"),A(1,"Commands executed in parallel"),v())}function P7(n,t){1&n&&(y(0,"div"),A(1,"Commands executed serially"),v())}function R7(n,t){if(1&n&&(y(0,"mat-chip",13)(1,"mat-icon",14),A(2,"code"),v(),A(3),v()),2&n){const e=t.$implicit;T(3),hi(" ",e," ")}}function L7(n,t){if(1&n&&(io(0),y(1,"table",12)(2,"tr")(3,"td"),A(4,"Scheduling:"),v(),y(5,"td"),K(6,O7,2,0,"div",8),K(7,P7,2,0,"div",8),v()(),y(8,"tr")(9,"td"),A(10,"Commands:"),v(),y(11,"td")(12,"mat-chip-set"),K(13,R7,4,1,"mat-chip",15),v()()()(),ro()),2&n){const e=Z(2).$implicit;T(6),N("ngIf",null==e.composite?null:e.composite.parallel),T(1),N("ngIf",!(null!=e.composite&&e.composite.parallel)),T(5),Jt("mat-mdc-chip-set-stacked",null==e.composite?null:e.composite.parallel),T(1),N("ngForOf",null==e.composite?null:e.composite.commands)}}function N7(n,t){if(1&n){const e=Nt();y(0,"mat-card",4)(1,"mat-card-header",5)(2,"div",6)(3,"mat-card-title"),A(4),v(),K(5,w7,2,2,"mat-checkbox",7),v(),y(6,"div"),K(7,D7,2,0,"mat-card-subtitle",8),K(8,T7,2,0,"mat-card-subtitle",8),K(9,E7,2,0,"mat-card-subtitle",8),K(10,M7,2,0,"mat-card-subtitle",8),v()(),y(11,"mat-card-content"),K(12,A7,28,5,"ng-container",8),K(13,I7,10,1,"ng-container",8),K(14,F7,10,1,"ng-container",8),K(15,L7,14,5,"ng-container",8),v(),y(16,"mat-card-actions")(17,"button",9),ce("click",function(){He(e);const r=Z().$implicit;return je(Z().delete(r.name))}),A(18,"Delete"),v(),y(19,"button",10),ce("click",function(){He(e);const r=Z().$implicit;return je(Z().edit(r))}),A(20,"Edit"),v()()()}if(2&n){const e=Z().$implicit;N("cdkDragDisabled",Z().dragDisabled),T(4),hi(" ",e.name," "),T(1),N("ngIf",""!=e.group),T(2),N("ngIf","exec"==e.type),T(1),N("ngIf","apply"==e.type),T(1),N("ngIf","image"==e.type),T(1),N("ngIf","composite"==e.type),T(2),N("ngIf","exec"==e.type),T(1),N("ngIf","apply"==e.type),T(1),N("ngIf","image"==e.type),T(1),N("ngIf","composite"==e.type)}}function B7(n,t){if(1&n&&(io(0),K(1,N7,21,11,"mat-card",3),ro()),2&n){const e=t.$implicit,i=Z();T(1),N("ngIf",e.group==i.kind)}}let V7=(()=>{class n{constructor(e,i){this.devstate=e,this.state=i,this.kind="",this.dragDisabled=!0,this.onEdit=new Ve}toggleDefault(e,i,r){e.checked?this.setDefault(i,r):this.unsetDefault(i)}setDefault(e,i){this.devstate.setDefaultCommand(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}unsetDefault(e){this.devstate.unsetDefaultCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}getCommandsByKind(e,i){return e?.filter(r=>r.group==i)}delete(e){confirm('You will delete the command "'+e+'". Continue?')&&this.devstate.deleteCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.onEdit.next(e)}}return n.\u0275fac=function(e){return new(e||n)(E(Qo),E(Qs))},n.\u0275cmp=et({type:n,selectors:[["app-commands-list"]],inputs:{commands:"commands",kind:"kind",dragDisabled:"dragDisabled"},outputs:{onEdit:"onEdit"},decls:3,vars:3,consts:[["class","nothing-here",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"nothing-here"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled",4,"ngIf"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled"],[1,"with-right-content","colored-title"],[1,"space-between"],[3,"checked","change",4,"ngIf"],[4,"ngIf"],["mat-button","","color","warn",3,"click"],["data-cy","command-edit","mat-button","",3,"click"],[3,"checked","change"],[1,"aligned"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],["disableRipple","",4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(K(0,C7,2,1,"div",0),K(1,x7,2,0,"div",0),K(2,B7,2,1,"ng-container",1)),2&e){let r,o;N("ngIf",!(null!=(r=i.getCommandsByKind(i.commands,i.kind))&&r.length)&&""!=i.kind),T(1),N("ngIf",!(null!=(o=i.getCommandsByKind(i.commands,i.kind))&&o.length)&&""==i.kind),T(1),N("ngForOf",i.commands)}},dependencies:[fs,Si,XS,tr,Du,Eu,Tu,Kf,Yf,qf,dd,Mu,xw,Jy,Xs],styles:["mat-card-header.with-right-content[_ngcontent-%COMP%]{display:block}.space-between[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}div.nothing-here[_ngcontent-%COMP%]{margin:0 4px 16px;color:#00000054}"]}),n})();function H7(n,t){if(1&n){const e=Nt();y(0,"app-command-exec",26),ce("canceled",function(){return He(e),je(Z().undisplayExecForm())}),v()}2&n&&N("command",Z().editingCommand)}function z7(n,t){if(1&n){const e=Nt();y(0,"app-command-apply",26),ce("canceled",function(){return He(e),je(Z().undisplayApplyForm())}),v()}2&n&&N("command",Z().editingCommand)}function $7(n,t){if(1&n){const e=Nt();y(0,"app-command-image",26),ce("canceled",function(){return He(e),je(Z().undisplayImageForm())}),v()}2&n&&N("command",Z().editingCommand)}function j7(n,t){if(1&n){const e=Nt();y(0,"app-command-composite",26),ce("canceled",function(){return He(e),je(Z().undisplayCompositeForm())}),v()}2&n&&N("command",Z().editingCommand)}function U7(n,t){if(1&n&&(io(0),y(1,"button",27)(2,"mat-icon",28),A(3,"add"),v()(),ro()),2&n){Z();const e=Go(48);T(1),N("matMenuTriggerFor",e)}}let W7=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r,this.forceDisplayExecForm=!1,this.forceDisplayApplyForm=!1,this.forceDisplayImageForm=!1,this.forceDisplayCompositeForm=!1,this.commands=[],this.enableDragAndDrop=this.state.getDragAndDropEnabled()}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,vs.Z)(function*(r){e.commands=r?.commands,null!=e.commands&&(e.forceDisplayExecForm=!1,e.forceDisplayApplyForm=!1,e.forceDisplayImageForm=!1,e.forceDisplayCompositeForm=!1)});return function(r){return i.apply(this,arguments)}}())}displayAddExecForm(){this.telemetry.track("[ui] start create exec command"),this.editingCommand=void 0,this.displayExecForm()}displayExecForm(){this.forceDisplayExecForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddApplyForm(){this.telemetry.track("[ui] start create apply command"),this.editingCommand=void 0,this.displayApplyForm()}displayApplyForm(){this.forceDisplayApplyForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddImageForm(){this.telemetry.track("[ui] start create image command"),this.editingCommand=void 0,this.displayImageForm()}displayImageForm(){this.forceDisplayImageForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddCompositeForm(){this.telemetry.track("[ui] start create composite command"),this.editingCommand=void 0,this.displayCompositeForm()}displayCompositeForm(){this.forceDisplayCompositeForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayExecForm(){this.forceDisplayExecForm=!1}undisplayApplyForm(){this.forceDisplayApplyForm=!1}undisplayImageForm(){this.forceDisplayImageForm=!1}undisplayCompositeForm(){this.forceDisplayCompositeForm=!1}drop(e){this.moveCommand(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex)}moveCommand(e,i,r,o){this.devstate.moveCommand(e,i,r,o).subscribe({next:c=>{this.state.changeDevfileYaml(c)},error:c=>{alert(c.error.message)}})}enableDragAndDropChange(){this.state.saveDragAndDropEnabled(this.enableDragAndDrop)}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}edit(e){switch(this.editingCommand=e,this.undisplayExecForm(),this.undisplayApplyForm(),this.undisplayImageForm(),this.undisplayCompositeForm(),e.type){case"exec":this.displayExecForm();break;case"apply":this.displayApplyForm();break;case"image":this.displayImageForm();break;case"composite":this.displayCompositeForm()}}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-commands"]],decls:67,vars:18,consts:[[1,"main"],[1,"align-right"],[3,"ngModel","ngModelChange"],["cdkDropListGroup",""],["cdkDropList","","cdkDropListData","build",3,"cdkDropListDropped"],[1,"description"],["kind","build",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","run",3,"cdkDropListDropped"],["kind","run",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","test",3,"cdkDropListDropped"],["kind","test",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","debug",3,"cdkDropListDropped"],["kind","debug",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","deploy",3,"cdkDropListDropped"],["kind","deploy",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","",3,"cdkDropListDropped"],["kind","",3,"dragDisabled","commands","onEdit"],[3,"command","canceled",4,"ngIf"],[4,"ngIf"],["yPosition","above","xPosition","before"],["menu","matMenu"],["data-cy","new-command-exec","mat-menu-item","",3,"click"],[1,"tab-icon","material-icons-outlined"],["data-cy","new-command-image","mat-menu-item","",3,"click"],["data-cy","new-command-apply","mat-menu-item","",3,"click"],["data-cy","new-command-composite","mat-menu-item","",3,"click"],[3,"command","canceled"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"matMenuTriggerFor"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),ce("ngModelChange",function(o){return i.enableDragAndDrop=o})("ngModelChange",function(){return i.enableDragAndDropChange()}),A(3,"Enable Drag and Drop"),v()(),y(4,"div",3)(5,"div",4),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(6,"h2"),A(7,"Build Commands"),v(),y(8,"div",5),A(9,"When using odo, a Build command is the first command executed during the inner loop. The command is expected to terminate after the build is completed."),v(),y(10,"app-commands-list",6),ce("onEdit",function(o){return i.edit(o)}),v()(),y(11,"div",7),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(12,"h2"),A(13,"Run Commands"),v(),y(14,"div",5),A(15,"When using odo, a Run command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),v(),y(16,"app-commands-list",8),ce("onEdit",function(o){return i.edit(o)}),v()(),y(17,"div",9),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(18,"h2"),A(19,"Test Commands"),v(),y(20,"app-commands-list",10),ce("onEdit",function(o){return i.edit(o)}),v()(),y(21,"div",11),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(22,"h2"),A(23,"Debug Commands"),v(),y(24,"div",5),A(25,"When using odo, a Debug command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),v(),y(26,"app-commands-list",12),ce("onEdit",function(o){return i.edit(o)}),v()(),y(27,"div",13),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(28,"h2"),A(29,"Deploy Commands"),v(),y(30,"div",5),A(31,"When using odo, a Deploy command is executed with "),y(32,"code"),A(33,"odo deploy"),v(),A(34,"."),v(),y(35,"app-commands-list",14),ce("onEdit",function(o){return i.edit(o)}),v()(),y(36,"div",15),ce("cdkDropListDropped",function(o){return i.drop(o)}),y(37,"h2"),A(38,"Generic Commands"),v(),y(39,"div",5),A(40,"Generic can be executed manually, or be part of composite commands and events."),v(),y(41,"app-commands-list",16),ce("onEdit",function(o){return i.edit(o)}),v()()(),K(42,H7,1,1,"app-command-exec",17),K(43,z7,1,1,"app-command-apply",17),K(44,$7,1,1,"app-command-image",17),K(45,j7,1,1,"app-command-composite",17),v(),K(46,U7,4,1,"ng-container",18),y(47,"mat-menu",19,20)(49,"button",21),ce("click",function(){return i.displayAddExecForm()}),y(50,"mat-icon",22),A(51,"width_normal"),v(),y(52,"span"),A(53,"Exec command"),v()(),y(54,"button",23),ce("click",function(){return i.displayAddImageForm()}),y(55,"mat-icon",22),A(56,"image"),v(),y(57,"span"),A(58,"Image command"),v()(),y(59,"button",24),ce("click",function(){return i.displayAddApplyForm()}),y(60,"mat-icon",22),A(61,"description"),v(),y(62,"span"),A(63,"Apply command"),v()(),y(64,"button",25),ce("click",function(){return i.displayAddCompositeForm()}),y(65,"span"),A(66,"Composite command"),v()()()),2&e&&(T(2),N("ngModel",i.enableDragAndDrop),T(8),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(6),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(4),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(6),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(9),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(6),N("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),T(1),N("ngIf",i.forceDisplayExecForm),T(1),N("ngIf",i.forceDisplayApplyForm),T(1),N("ngIf",i.forceDisplayImageForm),T(1),N("ngIf",i.forceDisplayCompositeForm),T(1),N("ngIf",!(i.forceDisplayExecForm||i.forceDisplayApplyForm||i.forceDisplayImageForm||i.forceDisplayCompositeForm)))},dependencies:[Si,oo,px,qS,WS,h_,dd,Xs,Rz,nv,Vz,$U,t7,c7,v7,V7],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}h2[_ngcontent-%COMP%]{color:#3f51b5}div.align-right[_ngcontent-%COMP%]{text-align:right}"]}),n})();function G7(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"Yes, forced"),v()())}function Z7(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"Yes, the resource is not referenced by any command"),v()())}function q7(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"No, the resource is referenced by a command"),v()())}function Y7(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"No, disabled"),v()())}function K7(n,t){if(1&n&&(y(0,"div"),A(1,"URI: "),y(2,"code"),A(3),v()()),2&n){const e=Z().$implicit;T(3),Rt(e.uri)}}function X7(n,t){if(1&n&&(y(0,"div")(1,"pre"),A(2),v()()),2&n){const e=Z().$implicit;T(2),Rt(e.inlined)}}function Q7(n,t){if(1&n){const e=Nt();y(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),A(3),v(),y(4,"mat-card-subtitle"),A(5,"Cluster Resource"),v()(),y(6,"mat-card-content")(7,"table",6)(8,"tr",7)(9,"td"),A(10,"Deploy at Startup:"),v(),K(11,G7,3,0,"td",3),K(12,Z7,3,0,"td",3),K(13,q7,3,0,"td",3),K(14,Y7,3,0,"td",3),v()(),K(15,K7,4,1,"div",3),K(16,X7,3,1,"div",3),v(),y(17,"mat-card-actions")(18,"button",8),ce("click",function(){const o=He(e).$implicit;return je(Z().delete(o.name))}),A(19,"Delete"),v(),y(20,"button",9),ce("click",function(){const o=He(e).$implicit;return je(Z().edit(o))}),A(21,"Edit"),v()()()}if(2&n){const e=t.$implicit;T(3),Rt(e.name),T(8),N("ngIf","always"==e.deployByDefault),T(1),N("ngIf","undefined"==e.deployByDefault&&e.orphan),T(1),N("ngIf","undefined"==e.deployByDefault&&!e.orphan),T(1),N("ngIf","never"==e.deployByDefault),T(1),N("ngIf",e.uri),T(1),N("ngIf",e.inlined)}}function J7(n,t){if(1&n){const e=Nt();y(0,"app-resource",10),ce("canceled",function(){return He(e),je(Z().undisplayAddForm())})("created",function(r){return He(e),je(Z().onCreated(r))})("saved",function(r){return He(e),je(Z().onSaved(r))}),v()}if(2&n){const e=Z();N("cancelable",e.forceDisplayForm)("resource",e.editingResource)}}function e9(n,t){if(1&n){const e=Nt();io(0),y(1,"button",11),ce("click",function(){return He(e),je(Z().displayAddForm())}),y(2,"mat-icon",12),A(3,"add"),v()(),ro()}}let t9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.resources=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,vs.Z)(function*(o){i.resources=o?.resources,null!=e.resources&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingResource=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the resource "'+e+'". Continue?')&&this.devstate.deleteResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingResource=e,this.displayForm()}onCreated(e){this.devstate.addResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo))},n.\u0275cmp=et({type:n,selectors:[["app-resources"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","resource-info",4,"ngFor","ngForOf"],[3,"cancelable","resource","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","resource-info"],[1,"colored-title"],[1,"aligned"],["data-cy","resource-deploy-startup"],["mat-button","","color","warn",3,"click"],["data-cy","resource-edit","mat-button","",3,"click"],[3,"cancelable","resource","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,Q7,22,7,"mat-card",1),K(2,J7,1,2,"app-resource",2),v(),K(3,e9,4,0,"ng-container",3)),2&e&&(T(1),N("ngForOf",i.resources),T(1),N("ngIf",i.forceDisplayForm||null==i.resources||0==i.resources.length),T(1),N("ngIf",!i.forceDisplayForm&&null!=i.resources&&i.resources.length>0))},dependencies:[fs,Si,tr,h_,Du,Eu,Tu,Kf,Yf,qf,Xs,FI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function n9(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"Yes, forced"),v()())}function i9(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"Yes, the image is not referenced by any command"),v()())}function r9(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"No, the image is referenced by a command"),v()())}function o9(n,t){1&n&&(y(0,"td")(1,"code"),A(2,"No, disabled"),v()())}function s9(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Build Args:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.args)}}function a9(n,t){if(1&n){const e=Nt();y(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),A(3),v(),y(4,"mat-card-subtitle"),A(5,"Image"),v()(),y(6,"mat-card-content")(7,"table",6)(8,"tr",7)(9,"td"),A(10,"Build at Startup:"),v(),K(11,n9,3,0,"td",3),K(12,i9,3,0,"td",3),K(13,r9,3,0,"td",3),K(14,o9,3,0,"td",3),v(),y(15,"tr")(16,"td"),A(17,"Image Name:"),v(),y(18,"td")(19,"code"),A(20),v()()(),y(21,"tr")(22,"td"),A(23,"Dockerfile URI:"),v(),y(24,"td")(25,"code"),A(26),v()()(),K(27,s9,6,1,"tr",3),y(28,"tr")(29,"td"),A(30,"Build Context:"),v(),y(31,"td")(32,"code"),A(33),v()()(),y(34,"tr")(35,"td"),A(36,"Root Required:"),v(),y(37,"td")(38,"code"),A(39),v()()()()(),y(40,"mat-card-actions")(41,"button",8),ce("click",function(){const o=He(e).$implicit;return je(Z().delete(o.name))}),A(42,"Delete"),v(),y(43,"button",9),ce("click",function(){const o=He(e).$implicit;return je(Z().edit(o))}),A(44,"Edit"),v()()()}if(2&n){const e=t.$implicit;T(3),Rt(e.name),T(8),N("ngIf","always"==e.autoBuild),T(1),N("ngIf","undefined"==e.autoBuild&&e.orphan),T(1),N("ngIf","undefined"==e.autoBuild&&!e.orphan),T(1),N("ngIf","never"==e.autoBuild),T(6),Rt(e.imageName),T(6),Rt(e.uri),T(1),N("ngIf",null!=e.args&&e.args.length>0),T(6),Rt(e.buildContext),T(6),Rt(e.rootRequired?"Yes":"No")}}function l9(n,t){if(1&n){const e=Nt();y(0,"app-image",10),ce("canceled",function(){return He(e),je(Z().undisplayAddForm())})("created",function(r){return He(e),je(Z().onCreated(r))})("saved",function(r){return He(e),je(Z().onSaved(r))}),v()}if(2&n){const e=Z();N("cancelable",e.forceDisplayForm)("image",e.editingImage)}}function c9(n,t){if(1&n){const e=Nt();io(0),y(1,"button",11),ce("click",function(){return He(e),je(Z().displayAddForm())}),y(2,"mat-icon",12),A(3,"add"),v()(),ro()}}let d9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.images=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,vs.Z)(function*(o){i.images=o?.images,null!=e.images&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingImage=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the image "'+e+'". Continue?')&&this.devstate.deleteImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingImage=e,this.displayForm()}onCreated(e){this.devstate.addImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo))},n.\u0275cmp=et({type:n,selectors:[["app-images"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","image-info",4,"ngFor","ngForOf"],[3,"cancelable","image","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","image-info"],[1,"colored-title"],[1,"aligned"],["data-cy","image-build-startup"],["mat-button","","color","warn",3,"click"],["data-cy","image-edit","mat-button","",3,"click"],[3,"cancelable","image","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,a9,45,10,"mat-card",1),K(2,l9,1,2,"app-image",2),v(),K(3,c9,4,0,"ng-container",3)),2&e&&(T(1),N("ngForOf",i.images),T(1),N("ngIf",i.forceDisplayForm||null==i.images||0==i.images.length),T(1),N("ngIf",!i.forceDisplayForm&&null!=i.images&&i.images.length>0))},dependencies:[fs,Si,tr,h_,Du,Eu,Tu,Kf,Yf,qf,Xs,OI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function u9(n,t){if(1&n){const e=Nt();y(0,"mat-chip-row",8),ce("removed",function(){const o=He(e).$implicit;return je(Z().remove(o))}),A(1),y(2,"button",9)(3,"mat-icon",10),A(4,"cancel"),v()()()}if(2&n){const e=t.$implicit;T(1),hi(" ",e," ")}}function h9(n,t){if(1&n&&(y(0,"mat-option",11),A(1),v()),2&n){const e=t.$implicit;N("value",e),T(1),hi(" ",e," ")}}let m9=(()=>{class n{constructor(e){this.commandInput=e,this.commands=[],this.allCommands=[],this.updated=new Ve,this.separatorKeysCodes=[13,188],this.commandCtrl=new dt(""),this.filteredCommands=new at}ngOnChanges(e){this.filteredCommands=this.commandCtrl.valueChanges.pipe(Vr(null),Vn(i=>i?this._filter(i):this.allCommands.slice()))}add(e){const i=(e.value||"").trim();i&&(this.commands.push(i),this.updated.emit(this.commands)),e.chipInput.clear(),this.commandCtrl.setValue(null)}remove(e){const i=this.commands.indexOf(e);i>=0&&(this.commands.splice(i,1),this.updated.emit(this.commands))}selected(e){this.commands.push(e.option.viewValue),this.updated.emit(this.commands),this.commandInput.nativeElement.value="",this.commandCtrl.setValue(null)}_filter(e){const i=e.toLowerCase();return this.allCommands.filter(r=>r.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(E(h))},n.\u0275cmp=et({type:n,selectors:[["app-chips-events"]],inputs:{commands:"commands",allCommands:"allCommands"},outputs:{updated:"updated"},features:[ci],decls:12,vars:8,consts:[["appearance","fill",1,"chip-list"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["data-cy","input","placeholder","New command...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["commandInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[1,"material-icons-outlined"],[3,"value"]],template:function(e,i){if(1&e&&(y(0,"mat-form-field",0)(1,"mat-label"),A(2,"Commands"),v(),y(3,"mat-chip-grid",null,1),K(5,u9,5,1,"mat-chip-row",2),v(),y(6,"input",3,4),ce("matChipInputTokenEnd",function(o){return i.add(o)}),v(),y(8,"mat-autocomplete",5,6),ce("optionSelected",function(o){return i.selected(o)}),K(10,h9,2,2,"mat-option",7),xg(11,"async"),v()()),2&e){const r=Go(4),o=Go(9);T(5),N("ngForOf",i.commands),T(1),N("formControl",i.commandCtrl)("matChipInputFor",r)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes),T(4),N("ngForOf",wg(11,6,i.filteredCommands))}},dependencies:[fs,yo,oo,Nf,B6,Qh,FA,JA,eI,KA,ww,vo,$r,Xs,_C],styles:[".chip-list[_ngcontent-%COMP%]{width:100%}"]}),n})();const ku=function(){return[]};let f9=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,vs.Z)(function*(r){e.events=r?.events,null==e.events&&(e.events={}),null==e.events.preStart&&(e.events.preStart=[]),null==e.events.preStop&&(e.events.preStop=[]),null==e.events.postStart&&(e.events.postStart=[]),null==e.events.postStop&&(e.events.postStop=[]),e.allCommands=r?.commands?.map(o=>o.name)});return function(r){return i.apply(this,arguments)}}())}onUpdate(e,i){this.telemetry.track("[ui] add "+e+" event"),this.devstate.updateEvents(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo),E(ka))},n.\u0275cmp=et({type:n,selectors:[["app-events"]],decls:21,vars:16,consts:[[1,"main"],[1,"description"],["data-cy","prestart",3,"commands","allCommands","updated"],["data-cy","poststart",3,"commands","allCommands","updated"],["data-cy","prestop",3,"commands","allCommands","updated"],["data-cy","poststop",3,"commands","allCommands","updated"]],template:function(e,i){if(1&e&&(y(0,"div",0)(1,"h2"),A(2,"Pre-Start event"),v(),y(3,"div",1),A(4,"Pre-Start commands are executed before the inner loop is started, inside init-containers (not implemented by odo)."),v(),y(5,"app-chips-events",2),ce("updated",function(o){return i.onUpdate("preStart",o)}),v(),y(6,"h2"),A(7,"Post-Start event"),v(),y(8,"div",1),A(9,"Post-Start commands are executed at the beginning of the inner loop, inside pre-fetched containers."),v(),y(10,"app-chips-events",3),ce("updated",function(o){return i.onUpdate("postStart",o)}),v(),y(11,"h2"),A(12,"Pre-Stop event"),v(),y(13,"div",1),A(14,"Pre-Stop commands are executed at the end of the inner loop, inside pre-fetched containers."),v(),y(15,"app-chips-events",4),ce("updated",function(o){return i.onUpdate("preStop",o)}),v(),y(16,"h2"),A(17,"Post-Stop event"),v(),y(18,"div",1),A(19,"Post-Stop commands are executed after the inner loop is finished (not implemented by odo)."),v(),y(20,"app-chips-events",5),ce("updated",function(o){return i.onUpdate("postStop",o)}),v()()),2&e){let r,o,a,c,u,m,g,C;T(5),N("commands",null!==(r=null==i.events?null:i.events.preStart)&&void 0!==r?r:el(8,ku))("allCommands",null!==(o=i.allCommands)&&void 0!==o?o:el(9,ku)),T(5),N("commands",null!==(a=null==i.events?null:i.events.postStart)&&void 0!==a?a:el(10,ku))("allCommands",null!==(c=i.allCommands)&&void 0!==c?c:el(11,ku)),T(5),N("commands",null!==(u=null==i.events?null:i.events.preStop)&&void 0!==u?u:el(12,ku))("allCommands",null!==(m=i.allCommands)&&void 0!==m?m:el(13,ku)),T(5),N("commands",null!==(g=null==i.events?null:i.events.postStop)&&void 0!==g?g:el(14,ku))("allCommands",null!==(C=i.allCommands)&&void 0!==C?C:el(15,ku))}},dependencies:[m9],styles:[".main[_ngcontent-%COMP%]{padding:16px}h2[_ngcontent-%COMP%]{color:#3f51b5}"]}),n})();function p9(n,t){if(1&n&&(y(0,"tr")(1,"td"),A(2,"Size:"),v(),y(3,"td")(4,"code"),A(5),v()()()),2&n){const e=Z().$implicit;T(5),Rt(e.size)}}function g9(n,t){if(1&n){const e=Nt();y(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),A(3),v(),y(4,"mat-card-subtitle"),A(5,"Volume"),v()(),y(6,"mat-card-content")(7,"table",6),K(8,p9,6,1,"tr",3),y(9,"tr")(10,"td"),A(11,"Volume is Ephemeral:"),v(),y(12,"td")(13,"code"),A(14),v()()()()(),y(15,"mat-card-actions")(16,"button",7),ce("click",function(){const o=He(e).$implicit;return je(Z().delete(o.name))}),A(17,"Delete"),v(),y(18,"button",8),ce("click",function(){const o=He(e).$implicit;return je(Z().edit(o))}),A(19,"Edit"),v()()()}if(2&n){const e=t.$implicit;T(3),Rt(e.name),T(5),N("ngIf",e.size),T(6),Rt(e.ephemeral?"Yes":"No")}}function _9(n,t){if(1&n){const e=Nt();y(0,"app-volume",9),ce("canceled",function(){return He(e),je(Z().undisplayAddForm())})("created",function(r){return He(e),je(Z().onCreated(r))})("saved",function(r){return He(e),je(Z().onSaved(r))}),v()}if(2&n){const e=Z();N("cancelable",e.forceDisplayForm)("volume",e.editingVolume)}}function b9(n,t){if(1&n){const e=Nt();io(0),y(1,"button",10),ce("click",function(){return He(e),je(Z().displayAddForm())}),y(2,"mat-icon",11),A(3,"add"),v()(),ro()}}let y9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.volumes=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,vs.Z)(function*(o){i.volumes=o?.volumes,null!=e.volumes&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingVolume=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the volume "'+e+'". Continue?')&&this.devstate.deleteVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingVolume=e,this.displayForm()}onCreated(e){this.devstate.addVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(E(Qs),E(Qo))},n.\u0275cmp=et({type:n,selectors:[["app-volumes"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","volume-info",4,"ngFor","ngForOf"],[3,"cancelable","volume","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","volume-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],["data-cy","volume-edit","mat-button","",3,"click"],[3,"cancelable","volume","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(y(0,"div",0),K(1,g9,20,3,"mat-card",1),K(2,_9,1,2,"app-volume",2),v(),K(3,b9,4,0,"ng-container",3)),2&e&&(T(1),N("ngForOf",i.volumes),T(1),N("ngIf",i.forceDisplayForm||null==i.volumes||0==i.volumes.length),T(1),N("ngIf",!i.forceDisplayForm&&null!=i.volumes&&i.volumes.length>0))},dependencies:[fs,Si,tr,h_,Du,Eu,Tu,Kf,Yf,qf,Xs,AI],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function v9(n,t){1&n&&A(0),2&n&&hi(" ",Z().tabNames[2]," ")}function C9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"code"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[3]," ")}}function x9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"alarm"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[4]," ")}}function w9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"width_normal"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[5]," ")}}function D9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"image"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[6]," ")}}function T9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"description"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[7]," ")}}function E9(n,t){if(1&n&&(y(0,"mat-icon",20),A(1,"storage"),v(),A(2)),2&n){const e=Z();T(2),hi(" ",e.tabNames[8]," ")}}let M9=(()=>{class n{constructor(e,i,r,o,a,c,u,m,g){this.sanitizer=e,this.matIconRegistry=i,this.wasmGo=r,this.odoApi=o,this.mermaid=a,this.state=c,this.sse=u,this.telemetry=m,this.snackbar=g,this.tabNames=["YAML","Chart","Metadata","Commands","Events","Containers","Images","Resources","Volumes"],this.mermaidContent="",this.devfileYaml="",this.snackBarRef=null,this.matIconRegistry.addSvgIcon("github",this.sanitizer.bypassSecurityTrustResourceUrl("../assets/github-24.svg"))}ngOnInit(){var e=this;const i=document.getElementById("loading");null!=i&&(i.style.visibility="hidden"),this.odoApi.getDevfile().subscribe({next:o=>{null!=o.content&&this.propagateChange(o.content,!1,!0)}}),this.state.state.subscribe(function(){var o=(0,vs.Z)(function*(a){var u;null!=a&&(e.devfileYaml=a.content,e.wasmGo.getFlowChart().subscribe({next:(u=(0,vs.Z)(function*(m){const g=yield e.mermaid.getMermaidAsSVG(m.chart);e.mermaidContent=g}),function(g){return u.apply(this,arguments)}),error:u=>{console.log(u)}}),"2.2.0"!=a.version&&e.snackbar.open("The version of the Devfile is "+a.version+".\nOnly version 2.2.0 is supported","ok"))});return function(a){return o.apply(this,arguments)}}()),this.sse.subscribeTo(["DevfileUpdated"]).subscribe(o=>{const a=JSON.parse(o.data);this.state.isUpdated(a.content)&&(null!=this.snackBarRef&&(this.snackBarRef.afterDismissed().subscribe(()=>{}),this.snackBarRef.dismiss()),this.snackBarRef=this.snackbar.openFromComponent(Ij,{data:{message:"The Devfile has changed on disk. Do you want to update it here?",noLabel:"Cancel",yesLabel:"Update"}}),this.snackBarRef.onAction().subscribe(()=>{null!=a.content&&this.propagateChange(a.content,!1,!0),this.snackBarRef=null}),this.snackBarRef.afterDismissed().subscribe(()=>{this.snackBarRef=null}))}),this.odoApi.telemetry().subscribe({next:o=>{if(o.enabled){if(null==o.apikey||null==o.userid)return;this.telemetry.init(o.apikey,o.userid),this.telemetry.track("[ui] start")}},error:()=>{}})}propagateChange(e,i,r){this.wasmGo.setDevfileContent(e).subscribe({next:a=>{this.state.changeDevfileYaml(a,r),i&&this.odoApi.saveDevfile(a.content).subscribe({next:()=>{},error:c=>{this.snackbar.open(c.error.message,"ok")}})},error:a=>{this.snackbar.open(a.error.message,"ok")}})}onSave(e){this.telemetry.track("[ui] save devfile to disk"),this.propagateChange(e,!0,!0)}onApply(e){this.telemetry.track("[ui] change devfile from textarea"),this.propagateChange(e,!1,!1)}clear(){confirm("You will delete the content of the Devfile. Continue?")&&(this.telemetry.track("[ui] clear devfile"),this.wasmGo.clearDevfileContent().subscribe({next:e=>{this.propagateChange(e.content,!1,!1)}}))}onSelectedTabChange(e){this.telemetry.track("[ui] change to tab "+this.tabNames[e.index])}}return n.\u0275fac=function(e){return new(e||n)(E(Xb),E(p_),E(Qo),E(Fj),E(Pj),E(Qs),E(Rj),E(ka),E(y$))},n.\u0275cmp=et({type:n,selectors:[["app-root"]],decls:50,vars:7,consts:[["color","primary"],[1,"spacer"],[1,"topright"],["href","https://odo.dev/docs/user-guides/advanced/using-gui/","target","_blank",1,"toplink"],["data-cy","yaml-send","matTooltip","Save Devfile to disk","mat-flat-button","","color","warn",2,"top","-8px",3,"disabled","click"],[1,"flex-container"],[1,"flex-child"],["animationDuration","0",3,"selectedTabChange"],["data-cy","tab-yaml",3,"label"],[1,"tab-content"],["appearance","outline",1,"full-width"],["data-cy","yaml-input","matInput","","id","input","rows","20",3,"value"],["input",""],["data-cy","yaml-save","matTooltip","Apply changes to other tabs","mat-flat-button","","color","primary",3,"click"],["data-cy","yaml-clear","matTooltip","Clear Devfile content","mat-flat-button","","color","normal",3,"click"],["data-cy","tab-chart",3,"label"],["id","mermaid",1,"mermaid",3,"innerHTML"],["mermaid",""],["data-cy","tab-metadata"],["mat-tab-label",""],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){if(1&e){const r=Nt();y(0,"mat-toolbar",0)(1,"span"),A(2,"Devfile Builder"),v(),Pe(3,"span",1),y(4,"span",2)(5,"a",3),A(6,"Work in progress"),v()(),y(7,"button",4),ce("click",function(){He(r);const a=Go(20);return je(i.onSave(a.value))}),xg(8,"async"),A(9,"Save"),v()(),y(10,"main")(11,"div",5)(12,"div",6)(13,"mat-tab-group",7),ce("selectedTabChange",function(a){return i.onSelectedTabChange(a)}),y(14,"mat-tab",8)(15,"div",9)(16,"mat-form-field",10)(17,"mat-label"),A(18,"Devfile YAML"),v(),Pe(19,"textarea",11,12),v(),y(21,"button",13),ce("click",function(){He(r);const a=Go(20);return je(i.onApply(a.value))}),A(22,"Apply"),v(),y(23,"button",14),ce("click",function(){return i.clear()}),A(24,"Clear"),v()()(),y(25,"mat-tab",15)(26,"div",6),Pe(27,"div",16,17),v()(),y(29,"mat-tab",18),K(30,v9,1,1,"ng-template",19),Pe(31,"app-metadata"),v(),y(32,"mat-tab"),K(33,C9,3,1,"ng-template",19),Pe(34,"app-commands"),v(),y(35,"mat-tab"),K(36,x9,3,1,"ng-template",19),Pe(37,"app-events"),v(),y(38,"mat-tab"),K(39,w9,3,1,"ng-template",19),Pe(40,"app-containers"),v(),y(41,"mat-tab"),K(42,D9,3,1,"ng-template",19),Pe(43,"app-images"),v(),y(44,"mat-tab"),K(45,T9,3,1,"ng-template",19),Pe(46,"app-resources"),v(),y(47,"mat-tab"),K(48,E9,3,1,"ng-template",19),Pe(49,"app-volumes"),v()()()()()}2&e&&(T(7),hg("disabled",!wg(8,5,i.state.modified)),T(7),hg("label",i.tabNames[0]),T(5),N("value",i.devfileYaml),T(6),hg("label",i.tabNames[1]),T(2),N("innerHTML",i.sanitizer.bypassSecurityTrustHtml(i.mermaidContent),K_))},dependencies:[tr,vo,$r,Xs,bs,_I,CI,ij,dj,ys,Nj,PU,W7,t9,d9,f9,y9,_C],styles:["main[_ngcontent-%COMP%]{min-height:calc(100vh - 100px)}div.mermaid[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace!important}.flex-container[_ngcontent-%COMP%]{display:flex}.flex-child[_ngcontent-%COMP%]{flex:1}.flex-child[_ngcontent-%COMP%]:first-child{margin-right:20px}#input[_ngcontent-%COMP%]{width:99%}button[_ngcontent-%COMP%]{margin-top:20px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}div.tab-content[_ngcontent-%COMP%]{padding:16px}div.error-message[_ngcontent-%COMP%]{font-size:large;margin:16px}.toplink[_ngcontent-%COMP%]{color:#fff}"]}),n})(),k9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=sn({type:n,bootstrap:[M9]}),n.\u0275inj=Se({imports:[QE,q3,t4,e4,E4,d8,j6,NA,iH,bH,AH,iz,Yy,_z,Dz,Hz,r$,hI,oj,uj,Ej,ud.forRoot({loadOnInitialization:!1})]}),n})();NN().bootstrapModule(k9).catch(n=>console.error(n))},1764:function(rt){rt.exports=function(){"use strict";var M=6e4,j=36e5,J="millisecond",re="second",q="minute",z="hour",ae="day",me="week",_e="month",X="quarter",S="year",oe="date",Oe="Invalid Date",Ne=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,be=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Et){var We=["th","st","nd","rd"],De=Et%100;return"["+Et+(We[(De-20)%10]||We[De]||We[0])+"]"}},pe=function(Et,We,De){var xt=String(Et);return!xt||xt.length>=We?Et:""+Array(We+1-xt.length).join(De)+Et},he={s:pe,z:function(Et){var We=-Et.utcOffset(),De=Math.abs(We),xt=Math.floor(De/60),Ge=De%60;return(We<=0?"+":"-")+pe(xt,2,"0")+":"+pe(Ge,2,"0")},m:function Et(We,De){if(We.date()1)return Et(zt[0])}else{var at=We.name;Xe[at]=We,Ge=at}return!xt&&Ge&&(Ue=Ge),Ge||!xt&&Ue},cn=function(Et,We){if(pt(Et))return Et.clone();var De="object"==typeof We?We:{};return De.date=Et,De.args=arguments,new dn(De)},Fe=he;Fe.l=Tt,Fe.i=pt,Fe.w=function(Et,We){return cn(Et,{locale:We.$L,utc:We.$u,x:We.$x,$offset:We.$offset})};var dn=function(){function Et(De){this.$L=Tt(De.locale,null,!0),this.parse(De)}var We=Et.prototype;return We.parse=function(De){this.$d=function(xt){var Ge=xt.date,jt=xt.utc;if(null===Ge)return new Date(NaN);if(Fe.u(Ge))return new Date;if(Ge instanceof Date)return new Date(Ge);if("string"==typeof Ge&&!/Z$/i.test(Ge)){var zt=Ge.match(Ne);if(zt){var at=zt[2]-1||0,Pn=(zt[7]||"0").substring(0,3);return jt?new Date(Date.UTC(zt[1],at,zt[3]||1,zt[4]||0,zt[5]||0,zt[6]||0,Pn)):new Date(zt[1],at,zt[3]||1,zt[4]||0,zt[5]||0,zt[6]||0,Pn)}}return new Date(Ge)}(De),this.$x=De.x||{},this.init()},We.init=function(){var De=this.$d;this.$y=De.getFullYear(),this.$M=De.getMonth(),this.$D=De.getDate(),this.$W=De.getDay(),this.$H=De.getHours(),this.$m=De.getMinutes(),this.$s=De.getSeconds(),this.$ms=De.getMilliseconds()},We.$utils=function(){return Fe},We.isValid=function(){return this.$d.toString()!==Oe},We.isSame=function(De,xt){var Ge=cn(De);return this.startOf(xt)<=Ge&&Ge<=this.endOf(xt)},We.isAfter=function(De,xt){return cn(De)1?_n-1:0),Rn=1;Rn<_n;Rn++)xn[Rn-1]=arguments[Rn];return me(En,Mt,xn)}}function Fe(En,Mt){let _n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Oe;M&&M(En,null);let xn=Mt.length;for(;xn--;){let Rn=Mt[xn];if("string"==typeof Rn){const Mn=_n(Rn);Mn!==Rn&&(j(Mt)||(Mt[xn]=Mn),Rn=Mn)}En[Rn]=!0}return En}function dn(En){for(let Mt=0;Mt/gm),ut=z(/\${[\w\W]*}/gm),it=z(/^data-[\-\w.\u00B7-\uFFFF]/),lt=z(/^aria-[\-\w]+$/),Cn=z(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Vn=z(/^(?:\w+script|data):/i),ni=z(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Cs=z(/^html$/i),nr=z(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ao=Object.freeze({__proto__:null,MUSTACHE_EXPR:Ae,ERB_EXPR:Jn,TMPLIT_EXPR:ut,DATA_ATTR:it,ARIA_ATTR:lt,IS_ALLOWED_URI:Cn,IS_SCRIPT_OR_DATA:Vn,ATTR_WHITESPACE:ni,DOCTYPE_NAME:Cs,CUSTOM_ELEMENT:nr});const dr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Au=function(){return typeof window>"u"?null:window},cc=function(Mt,_n){if("object"!=typeof Mt||"function"!=typeof Mt.createPolicy)return null;let xn=null;const Rn="data-tt-policy-suffix";_n&&_n.hasAttribute(Rn)&&(xn=_n.getAttribute(Rn));const Mn="dompurify"+(xn?"#"+xn:"");try{return Mt.createPolicy(Mn,{createHTML:kr=>kr,createScriptURL:kr=>kr})}catch{return console.warn("TrustedTypes policy "+Mn+" could not be created."),null}};return function sm(){let En=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Au();const Mt=Ft=>sm(Ft);if(Mt.version="3.1.6",Mt.removed=[],!En||!En.document||En.document.nodeType!==dr.document)return Mt.isSupported=!1,Mt;let{document:_n}=En;const xn=_n,Rn=xn.currentScript,{DocumentFragment:Mn,HTMLTemplateElement:kr,Node:Io,Element:am,NodeFilter:ll,NamedNodeMap:lm=En.NamedNodeMap||En.MozNamedAttrMap,HTMLFormElement:Ii,DOMParser:xs,trustedTypes:ea}=En,Jo=am.prototype,cl=Et(Jo,"cloneNode"),gd=Et(Jo,"remove"),Iu=Et(Jo,"nextSibling"),dc=Et(Jo,"childNodes"),_d=Et(Jo,"parentNode");if("function"==typeof kr){const Ft=_n.createElement("template");Ft.content&&Ft.content.ownerDocument&&(_n=Ft.content.ownerDocument)}let wi,dl="";const{implementation:Aa,createNodeIterator:ul,createDocumentFragment:bd,getElementsByTagName:hl}=_n,{importNode:ml}=xn;let ur={};Mt.isSupported="function"==typeof de&&"function"==typeof _d&&Aa&&void 0!==Aa.createHTMLDocument;const{MUSTACHE_EXPR:ta,ERB_EXPR:Ia,TMPLIT_EXPR:Fa,DATA_ATTR:fl,ARIA_ATTR:ii,IS_SCRIPT_OR_DATA:Lt,ATTR_WHITESPACE:pl,CUSTOM_ELEMENT:jr}=Ao;let{IS_ALLOWED_URI:ws}=Ao,Di=null;const yd=Fe({},[...We,...De,...xt,...jt,...at]);let Fi=null;const lo=Fe({},[...Pn,...It,...Ut,...yn]);let di=Object.seal(ae(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ir=null,gl=null,na=!0,vd=!0,Cd=!1,_l=!0,Fo=!1,ia=!0,co=!1,uc=!1,bl=!1,Oo=!1,yl=!1,vl=!1,hc=!0,Cl=!1,mc=!0,ra=!1,hr={},on=null;const Ds=Fe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ts=null;const Hn=Fe({},["audio","video","img","source","image","track"]);let Oa=null;const Un=Fe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),es="http://www.w3.org/1998/Math/MathML",Oi="http://www.w3.org/2000/svg",Wt="http://www.w3.org/1999/xhtml";let Pt=Wt,Po=!1,Pa=null;const cm=Fe({},[es,Oi,Wt],Ne);let Ti=null;const Ce=["application/xhtml+xml","text/html"],Ra="text/html";let _t=null,wn=null;const Es=_n.createElement("form"),ts=function(B){return B instanceof RegExp||B instanceof Function},Ms=function(){let B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!wn||wn!==B){if((!B||"object"!=typeof B)&&(B={}),B=Qn(B),Ti=-1===Ce.indexOf(B.PARSER_MEDIA_TYPE)?Ra:B.PARSER_MEDIA_TYPE,_t="application/xhtml+xml"===Ti?Ne:Oe,Di=Ue(B,"ALLOWED_TAGS")?Fe({},B.ALLOWED_TAGS,_t):yd,Fi=Ue(B,"ALLOWED_ATTR")?Fe({},B.ALLOWED_ATTR,_t):lo,Pa=Ue(B,"ALLOWED_NAMESPACES")?Fe({},B.ALLOWED_NAMESPACES,Ne):cm,Oa=Ue(B,"ADD_URI_SAFE_ATTR")?Fe(Qn(Un),B.ADD_URI_SAFE_ATTR,_t):Un,Ts=Ue(B,"ADD_DATA_URI_TAGS")?Fe(Qn(Hn),B.ADD_DATA_URI_TAGS,_t):Hn,on=Ue(B,"FORBID_CONTENTS")?Fe({},B.FORBID_CONTENTS,_t):Ds,ir=Ue(B,"FORBID_TAGS")?Fe({},B.FORBID_TAGS,_t):{},gl=Ue(B,"FORBID_ATTR")?Fe({},B.FORBID_ATTR,_t):{},hr=!!Ue(B,"USE_PROFILES")&&B.USE_PROFILES,na=!1!==B.ALLOW_ARIA_ATTR,vd=!1!==B.ALLOW_DATA_ATTR,Cd=B.ALLOW_UNKNOWN_PROTOCOLS||!1,_l=!1!==B.ALLOW_SELF_CLOSE_IN_ATTR,Fo=B.SAFE_FOR_TEMPLATES||!1,ia=!1!==B.SAFE_FOR_XML,co=B.WHOLE_DOCUMENT||!1,Oo=B.RETURN_DOM||!1,yl=B.RETURN_DOM_FRAGMENT||!1,vl=B.RETURN_TRUSTED_TYPE||!1,bl=B.FORCE_BODY||!1,hc=!1!==B.SANITIZE_DOM,Cl=B.SANITIZE_NAMED_PROPS||!1,mc=!1!==B.KEEP_CONTENT,ra=B.IN_PLACE||!1,ws=B.ALLOWED_URI_REGEXP||Cn,Pt=B.NAMESPACE||Wt,di=B.CUSTOM_ELEMENT_HANDLING||{},B.CUSTOM_ELEMENT_HANDLING&&ts(B.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(di.tagNameCheck=B.CUSTOM_ELEMENT_HANDLING.tagNameCheck),B.CUSTOM_ELEMENT_HANDLING&&ts(B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(di.attributeNameCheck=B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),B.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(di.allowCustomizedBuiltInElements=B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Fo&&(vd=!1),yl&&(Oo=!0),hr&&(Di=Fe({},at),Fi=[],!0===hr.html&&(Fe(Di,We),Fe(Fi,Pn)),!0===hr.svg&&(Fe(Di,De),Fe(Fi,It),Fe(Fi,yn)),!0===hr.svgFilters&&(Fe(Di,xt),Fe(Fi,It),Fe(Fi,yn)),!0===hr.mathMl&&(Fe(Di,jt),Fe(Fi,Ut),Fe(Fi,yn))),B.ADD_TAGS&&(Di===yd&&(Di=Qn(Di)),Fe(Di,B.ADD_TAGS,_t)),B.ADD_ATTR&&(Fi===lo&&(Fi=Qn(Fi)),Fe(Fi,B.ADD_ATTR,_t)),B.ADD_URI_SAFE_ATTR&&Fe(Oa,B.ADD_URI_SAFE_ATTR,_t),B.FORBID_CONTENTS&&(on===Ds&&(on=Qn(on)),Fe(on,B.FORBID_CONTENTS,_t)),mc&&(Di["#text"]=!0),co&&Fe(Di,["html","head","body"]),Di.table&&(Fe(Di,["tbody"]),delete ir.tbody),B.TRUSTED_TYPES_POLICY){if("function"!=typeof B.TRUSTED_TYPES_POLICY.createHTML)throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof B.TRUSTED_TYPES_POLICY.createScriptURL)throw pt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');wi=B.TRUSTED_TYPES_POLICY,dl=wi.createHTML("")}else void 0===wi&&(wi=cc(ea,Rn)),null!==wi&&"string"==typeof dl&&(dl=wi.createHTML(""));q&&q(B),wn=B}},ks=Fe({},["mi","mo","mn","ms","mtext"]),mi=Fe({},["foreignobject","annotation-xml"]),wl=Fe({},["title","style","font","a","script"]),oa=Fe({},[...De,...xt,...Ge]),Ur=Fe({},[...jt,...zt]),fr=function(B){oe(Mt.removed,{element:B});try{_d(B).removeChild(B)}catch{gd(B)}},La=function(B,Be){try{oe(Mt.removed,{attribute:Be.getAttributeNode(B),from:Be})}catch{oe(Mt.removed,{attribute:null,from:Be})}if(Be.removeAttribute(B),"is"===B&&!Fi[B])if(Oo||yl)try{fr(Be)}catch{}else try{Be.setAttribute(B,"")}catch{}},fc=function(B){let Be=null,Se=null;if(bl)B=""+B;else{const yi=be(B,/^[\r\n\t ]+/);Se=yi&&yi[0]}"application/xhtml+xml"===Ti&&Pt===Wt&&(B=''+B+"");const An=wi?wi.createHTML(B):B;if(Pt===Wt)try{Be=(new xs).parseFromString(An,Ti)}catch{}if(!Be||!Be.documentElement){Be=Aa.createDocument(Pt,"template",null);try{Be.documentElement.innerHTML=Po?dl:An}catch{}}const Pi=Be.body||Be.documentElement;return B&&Se&&Pi.insertBefore(_n.createTextNode(Se),Pi.childNodes[0]||null),Pt===Wt?hl.call(Be,co?"html":"body")[0]:co?Be.documentElement:Pi},pc=function(B){return ul.call(B.ownerDocument||B,B,ll.SHOW_ELEMENT|ll.SHOW_COMMENT|ll.SHOW_TEXT|ll.SHOW_PROCESSING_INSTRUCTION|ll.SHOW_CDATA_SECTION,null)},fi=function(B){return B instanceof Ii&&("string"!=typeof B.nodeName||"string"!=typeof B.textContent||"function"!=typeof B.removeChild||!(B.attributes instanceof lm)||"function"!=typeof B.removeAttribute||"function"!=typeof B.setAttribute||"string"!=typeof B.namespaceURI||"function"!=typeof B.insertBefore||"function"!=typeof B.hasChildNodes)},gc=function(B){return"function"==typeof Io&&B instanceof Io},Ro=function(B,Be,Se){ur[B]&&X(ur[B],An=>{An.call(Mt,Be,Se,wn)})},xd=function(B){let Be=null;if(Ro("beforeSanitizeElements",B,null),fi(B))return fr(B),!0;const Se=_t(B.nodeName);if(Ro("uponSanitizeElement",B,{tagName:Se,allowedTags:Di}),B.hasChildNodes()&&!gc(B.firstElementChild)&&Xe(/<[/\w]/g,B.innerHTML)&&Xe(/<[/\w]/g,B.textContent)||B.nodeType===dr.progressingInstruction||ia&&B.nodeType===dr.comment&&Xe(/<[/\w]/g,B.data))return fr(B),!0;if(!Di[Se]||ir[Se]){if(!ir[Se]&&kn(Se)&&(di.tagNameCheck instanceof RegExp&&Xe(di.tagNameCheck,Se)||di.tagNameCheck instanceof Function&&di.tagNameCheck(Se)))return!1;if(mc&&!on[Se]){const An=_d(B)||B.parentNode,Pi=dc(B)||B.childNodes;if(Pi&&An)for(let Ri=Pi.length-1;Ri>=0;--Ri){const Ar=cl(Pi[Ri],!0);Ar.__removalCount=(B.__removalCount||0)+1,An.insertBefore(Ar,Iu(B))}}return fr(B),!0}return B instanceof am&&!function(B){let Be=_d(B);(!Be||!Be.tagName)&&(Be={namespaceURI:Pt,tagName:"template"});const Se=Oe(B.tagName),An=Oe(Be.tagName);return!!Pa[B.namespaceURI]&&(B.namespaceURI===Oi?Be.namespaceURI===Wt?"svg"===Se:Be.namespaceURI===es?"svg"===Se&&("annotation-xml"===An||ks[An]):Boolean(oa[Se]):B.namespaceURI===es?Be.namespaceURI===Wt?"math"===Se:Be.namespaceURI===Oi?"math"===Se&&mi[An]:Boolean(Ur[Se]):B.namespaceURI===Wt?!(Be.namespaceURI===Oi&&!mi[An]||Be.namespaceURI===es&&!ks[An])&&!Ur[Se]&&(wl[Se]||!oa[Se]):!("application/xhtml+xml"!==Ti||!Pa[B.namespaceURI]))}(B)||("noscript"===Se||"noembed"===Se||"noframes"===Se)&&Xe(/<\/no(script|embed|frames)/i,B.innerHTML)?(fr(B),!0):(Fo&&B.nodeType===dr.text&&(Be=B.textContent,X([ta,Ia,Fa],An=>{Be=Y(Be,An," ")}),B.textContent!==Be&&(oe(Mt.removed,{element:B.cloneNode()}),B.textContent=Be)),Ro("afterSanitizeElements",B,null),!1)},Sr=function(B,Be,Se){if(hc&&("id"===Be||"name"===Be)&&(Se in _n||Se in Es))return!1;if((!vd||gl[Be]||!Xe(fl,Be))&&(!na||!Xe(ii,Be)))if(!Fi[Be]||gl[Be]){if(!(kn(B)&&(di.tagNameCheck instanceof RegExp&&Xe(di.tagNameCheck,B)||di.tagNameCheck instanceof Function&&di.tagNameCheck(B))&&(di.attributeNameCheck instanceof RegExp&&Xe(di.attributeNameCheck,Be)||di.attributeNameCheck instanceof Function&&di.attributeNameCheck(Be))||"is"===Be&&di.allowCustomizedBuiltInElements&&(di.tagNameCheck instanceof RegExp&&Xe(di.tagNameCheck,Se)||di.tagNameCheck instanceof Function&&di.tagNameCheck(Se))))return!1}else if(!Oa[Be]&&!Xe(ws,Y(Se,pl,""))&&("src"!==Be&&"xlink:href"!==Be&&"href"!==Be||"script"===B||0!==pe(Se,"data:")||!Ts[B])&&(!Cd||Xe(Lt,Y(Se,pl,"")))&&Se)return!1;return!0},kn=function(B){return"annotation-xml"!==B&&be(B,jr)},_c=function(B){Ro("beforeSanitizeAttributes",B,null);const{attributes:Be}=B;if(!Be)return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Fi};let An=Be.length;for(;An--;){const Pi=Be[An],{name:yi,namespaceURI:Ri,value:Ar}=Pi,Lo=_t(yi);let pi="value"===yi?Ar:he(Ar);if(Se.attrName=Lo,Se.attrValue=pi,Se.keepAttr=!0,Se.forceKeepAttr=void 0,Ro("uponSanitizeAttribute",B,Se),pi=Se.attrValue,ia&&Xe(/((--!?|])>)|<\/(style|title)/i,pi)){La(yi,B);continue}if(Se.forceKeepAttr||(La(yi,B),!Se.keepAttr))continue;if(!_l&&Xe(/\/>/i,pi)){La(yi,B);continue}Fo&&X([ta,Ia,Fa],gr=>{pi=Y(pi,gr," ")});const pr=_t(B.nodeName);if(Sr(pr,Lo,pi)){if(Cl&&("id"===Lo||"name"===Lo)&&(La(yi,B),pi="user-content-"+pi),wi&&"object"==typeof ea&&"function"==typeof ea.getAttributeType&&!Ri)switch(ea.getAttributeType(pr,Lo)){case"TrustedHTML":pi=wi.createHTML(pi);break;case"TrustedScriptURL":pi=wi.createScriptURL(pi)}try{Ri?B.setAttributeNS(Ri,yi,pi):B.setAttribute(yi,pi),fi(B)?fr(B):S(Mt.removed)}catch{}}}Ro("afterSanitizeAttributes",B,null)},Fu=function Ft(B){let Be=null;const Se=pc(B);for(Ro("beforeSanitizeShadowDOM",B,null);Be=Se.nextNode();)Ro("uponSanitizeShadowNode",Be,null),!xd(Be)&&(Be.content instanceof Mn&&Ft(Be.content),_c(Be));Ro("afterSanitizeShadowDOM",B,null)};return Mt.sanitize=function(Ft){let B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Be=null,Se=null,An=null,Pi=null;if(Po=!Ft,Po&&(Ft="\x3c!--\x3e"),"string"!=typeof Ft&&!gc(Ft)){if("function"!=typeof Ft.toString)throw pt("toString is not a function");if("string"!=typeof(Ft=Ft.toString()))throw pt("dirty is not a string, aborting")}if(!Mt.isSupported)return Ft;if(uc||Ms(B),Mt.removed=[],"string"==typeof Ft&&(ra=!1),ra){if(Ft.nodeName){const Ar=_t(Ft.nodeName);if(!Di[Ar]||ir[Ar])throw pt("root node is forbidden and cannot be sanitized in-place")}}else if(Ft instanceof Io)Be=fc("\x3c!----\x3e"),Se=Be.ownerDocument.importNode(Ft,!0),Se.nodeType===dr.element&&"BODY"===Se.nodeName||"HTML"===Se.nodeName?Be=Se:Be.appendChild(Se);else{if(!Oo&&!Fo&&!co&&-1===Ft.indexOf("<"))return wi&&vl?wi.createHTML(Ft):Ft;if(Be=fc(Ft),!Be)return Oo?null:vl?dl:""}Be&&bl&&fr(Be.firstChild);const yi=pc(ra?Ft:Be);for(;An=yi.nextNode();)xd(An)||(An.content instanceof Mn&&Fu(An.content),_c(An));if(ra)return Ft;if(Oo){if(yl)for(Pi=bd.call(Be.ownerDocument);Be.firstChild;)Pi.appendChild(Be.firstChild);else Pi=Be;return(Fi.shadowroot||Fi.shadowrootmode)&&(Pi=ml.call(xn,Pi,!0)),Pi}let Ri=co?Be.outerHTML:Be.innerHTML;return co&&Di["!doctype"]&&Be.ownerDocument&&Be.ownerDocument.doctype&&Be.ownerDocument.doctype.name&&Xe(Cs,Be.ownerDocument.doctype.name)&&(Ri="\n"+Ri),Fo&&X([ta,Ia,Fa],Ar=>{Ri=Y(Ri,Ar," ")}),wi&&vl?wi.createHTML(Ri):Ri},Mt.setConfig=function(){Ms(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),uc=!0},Mt.clearConfig=function(){wn=null,uc=!1},Mt.isValidAttribute=function(Ft,B,Be){wn||Ms({});const Se=_t(Ft),An=_t(B);return Sr(Se,An,Be)},Mt.addHook=function(Ft,B){"function"==typeof B&&(ur[Ft]=ur[Ft]||[],oe(ur[Ft],B))},Mt.removeHook=function(Ft){if(ur[Ft])return S(ur[Ft])},Mt.removeHooks=function(Ft){ur[Ft]&&(ur[Ft]=[])},Mt.removeAllHooks=function(){ur={}},Mt}()}()},458:(rt,de,M)=>{"use strict";function j(re){for(var q=[],z=1;zj})},8586:(rt,de,M)=>{"use strict";function j(s,d){let h;if(void 0===d)for(const p of s)null!=p&&(h=p)&&(h=p);else{let p=-1;for(let b of s)null!=(b=d(b,++p,s))&&(h=b)&&(h=b)}return h}function J(s,d){let h;if(void 0===d)for(const p of s)null!=p&&(h>p||void 0===h&&p>=p)&&(h=p);else{let p=-1;for(let b of s)null!=(b=d(b,++p,s))&&(h>b||void 0===h&&b>=b)&&(h=b)}return h}function re(s){return s}M.d(de,{Nb1:()=>Ow,LLu:()=>he,F5q:()=>Y,$0Z:()=>Hv,Dts:()=>K_,WQY:()=>Jp,qpX:()=>$v,u93:()=>jv,tFB:()=>Rw,YY7:()=>J_,OvA:()=>eb,dCK:()=>Uv,zgE:()=>tb,fGX:()=>Lw,$m7:()=>Wv,c_6:()=>Rv,fxm:()=>nb,FdL:()=>uf,ak_:()=>Jc,SxZ:()=>Gv,eA_:()=>ob,jsv:()=>Zv,iJ:()=>cu,JHv:()=>hp,jvg:()=>Nv,Fp7:()=>j,VV$:()=>J,ve8:()=>Y_,tiA:()=>vr,BYU:()=>Bl,PKp:()=>Fc,Xf:()=>kv,K2I:()=>Sv,Ys:()=>$_,td_:()=>ef,YPS:()=>dp,rr1:()=>vi,i$Z:()=>Ah,y2j:()=>wt,WQD:()=>$c,U8T:()=>Ni,Z_i:()=>zc,Ox9:()=>Bs,F0B:()=>yh,LqH:()=>Vs,S1K:()=>wo,Zyz:()=>us,Igq:()=>_a,YDX:()=>ga,EFj:()=>Vm});var q=1,z=2,ae=3,me=4,_e=1e-6;function X(s){return"translate("+s+",0)"}function S(s){return"translate(0,"+s+")"}function oe(s){return d=>+s(d)}function Oe(s,d){return d=Math.max(0,s.bandwidth()-2*d)/2,s.round()&&(d=Math.round(d)),h=>+s(h)+d}function Ne(){return!this.__axis}function be(s,d){var h=[],p=null,b=null,w=6,D=6,I=3,P=typeof window<"u"&&window.devicePixelRatio>1?0:.5,R=s===q||s===me?-1:1,$=s===me||s===z?"x":"y",ee=s===q||s===ae?X:S;function W(le){var ze=p??(d.ticks?d.ticks.apply(d,h):d.domain()),At=b??(d.tickFormat?d.tickFormat.apply(d,h):re),we=Math.max(w,0)+I,fe=d.range(),Ze=+fe[0]+P,Ie=+fe[fe.length-1]+P,Je=(d.bandwidth?Oe:oe)(d.copy(),P),tt=le.selection?le.selection():le,Re=tt.selectAll(".domain").data([null]),Bt=tt.selectAll(".tick").data(ze,d).order(),gn=Bt.exit(),Gn=Bt.enter().append("g").attr("class","tick"),hn=Bt.select("line"),st=Bt.select("text");Re=Re.merge(Re.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Bt=Bt.merge(Gn),hn=hn.merge(Gn.append("line").attr("stroke","currentColor").attr($+"2",R*w)),st=st.merge(Gn.append("text").attr("fill","currentColor").attr($,R*we).attr("dy",s===q?"0em":s===ae?"0.71em":"0.32em")),le!==tt&&(Re=Re.transition(le),Bt=Bt.transition(le),hn=hn.transition(le),st=st.transition(le),gn=gn.transition(le).attr("opacity",_e).attr("transform",function(mn){return isFinite(mn=Je(mn))?ee(mn+P):this.getAttribute("transform")}),Gn.attr("opacity",_e).attr("transform",function(mn){var Ye=this.parentNode.__axis;return ee((Ye&&isFinite(Ye=Ye(mn))?Ye:Je(mn))+P)})),gn.remove(),Re.attr("d",s===me||s===z?D?"M"+R*D+","+Ze+"H"+P+"V"+Ie+"H"+R*D:"M"+P+","+Ze+"V"+Ie:D?"M"+Ze+","+R*D+"V"+P+"H"+Ie+"V"+R*D:"M"+Ze+","+P+"H"+Ie),Bt.attr("opacity",1).attr("transform",function(mn){return ee(Je(mn)+P)}),hn.attr($+"2",R*w),st.attr($,R*we).text(At),tt.filter(Ne).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",s===z?"start":s===me?"end":"middle"),tt.each(function(){this.__axis=Je})}return W.scale=function(le){return arguments.length?(d=le,W):d},W.ticks=function(){return h=Array.from(arguments),W},W.tickArguments=function(le){return arguments.length?(h=null==le?[]:Array.from(le),W):h.slice()},W.tickValues=function(le){return arguments.length?(p=null==le?null:Array.from(le),W):p&&p.slice()},W.tickFormat=function(le){return arguments.length?(b=le,W):b},W.tickSize=function(le){return arguments.length?(w=D=+le,W):w},W.tickSizeInner=function(le){return arguments.length?(w=+le,W):w},W.tickSizeOuter=function(le){return arguments.length?(D=+le,W):D},W.tickPadding=function(le){return arguments.length?(I=+le,W):I},W.offset=function(le){return arguments.length?(P=+le,W):P},W}function Y(s){return be(q,s)}function he(s){return be(ae,s)}function Xe(){}function pt(s){return null==s?Xe:function(){return this.querySelector(s)}}function cn(s){return null==s?[]:Array.isArray(s)?s:Array.from(s)}function Fe(){return[]}function dn(s){return null==s?Fe:function(){return this.querySelectorAll(s)}}function We(s){return function(){return this.matches(s)}}function De(s){return function(d){return d.matches(s)}}var xt=Array.prototype.find;function jt(){return this.firstElementChild}var at=Array.prototype.filter;function Pn(){return Array.from(this.children)}function Ae(s){return new Array(s.length)}function ut(s,d){this.ownerDocument=s.ownerDocument,this.namespaceURI=s.namespaceURI,this._next=null,this._parent=s,this.__data__=d}function lt(s,d,h,p,b,w){for(var I,D=0,P=d.length,R=w.length;Dd?1:s>=d?0:NaN}ut.prototype={constructor:ut,appendChild:function(s){return this._parent.insertBefore(s,this._next)},insertBefore:function(s,d){return this._parent.insertBefore(s,d)},querySelector:function(s){return this._parent.querySelector(s)},querySelectorAll:function(s){return this._parent.querySelectorAll(s)}};var Mn="http://www.w3.org/1999/xhtml";const kr={svg:"http://www.w3.org/2000/svg",xhtml:Mn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Io(s){var d=s+="",h=d.indexOf(":");return h>=0&&"xmlns"!==(d=s.slice(0,h))&&(s=s.slice(h+1)),kr.hasOwnProperty(d)?{space:kr[d],local:s}:s}function am(s){return function(){this.removeAttribute(s)}}function ll(s){return function(){this.removeAttributeNS(s.space,s.local)}}function lm(s,d){return function(){this.setAttribute(s,d)}}function Ii(s,d){return function(){this.setAttributeNS(s.space,s.local,d)}}function xs(s,d){return function(){var h=d.apply(this,arguments);null==h?this.removeAttribute(s):this.setAttribute(s,h)}}function ea(s,d){return function(){var h=d.apply(this,arguments);null==h?this.removeAttributeNS(s.space,s.local):this.setAttributeNS(s.space,s.local,h)}}function cl(s){return s.ownerDocument&&s.ownerDocument.defaultView||s.document&&s||s.defaultView}function gd(s){return function(){this.style.removeProperty(s)}}function Iu(s,d,h){return function(){this.style.setProperty(s,d,h)}}function dc(s,d,h){return function(){var p=d.apply(this,arguments);null==p?this.style.removeProperty(s):this.style.setProperty(s,p,h)}}function wi(s,d){return s.style.getPropertyValue(d)||cl(s).getComputedStyle(s,null).getPropertyValue(d)}function dl(s){return function(){delete this[s]}}function Aa(s,d){return function(){this[s]=d}}function ul(s,d){return function(){var h=d.apply(this,arguments);null==h?delete this[s]:this[s]=h}}function hl(s){return s.trim().split(/^|\s+/)}function ml(s){return s.classList||new ur(s)}function ur(s){this._node=s,this._names=hl(s.getAttribute("class")||"")}function ta(s,d){for(var h=ml(s),p=-1,b=d.length;++p=0&&(this._names.splice(d,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(s){return this._names.indexOf(s)>=0}};var es=[null];function Oi(s,d){this._groups=s,this._parents=d}function Wt(){return new Oi([[document.documentElement]],es)}Oi.prototype=Wt.prototype={constructor:Oi,select:function Tt(s){"function"!=typeof s&&(s=pt(s));for(var d=this._groups,h=d.length,p=new Array(h),b=0;b=Ie&&(Ie=Ze+1);!(tt=we[Ie])&&++Ie=0;)(D=p[b])&&(w&&4^D.compareDocumentPosition(w)&&w.parentNode.insertBefore(D,w),w=D);return this},sort:function cc(s){function d(ee,W){return ee&&W?s(ee.__data__,W.__data__):!ee-!W}s||(s=sm);for(var h=this._groups,p=h.length,b=new Array(p),w=0;w1?this.each((null==d?gd:"function"==typeof d?dc:Iu)(s,d,h??"")):wi(this.node(),s)},property:function bd(s,d){return arguments.length>1?this.each((null==d?dl:"function"==typeof d?ul:Aa)(s,d)):this.node()[s]},classed:function Lt(s,d){var h=hl(s+"");if(arguments.length<2){for(var p=ml(this.node()),b=-1,w=h.length;++b=0&&(h=d.slice(p+1),d=d.slice(0,p)),{type:d,name:h}})}(s+""),w=p.length;if(!(arguments.length<2)){for(I=d?hr:ra,b=0;b{}};function cm(){for(var p,s=0,d=arguments.length,h={};s=0&&(p=h.slice(b+1),h=h.slice(0,b)),h&&!d.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:p}})}(s+"",h),w=-1,D=p.length;if(!(arguments.length<2)){if(null!=d&&"function"!=typeof d)throw new Error("invalid callback: "+d);for(;++w0)for(var b,w,h=new Array(b),p=0;p=0&&s._call.call(void 0,d),s=s._next;--Es}()}finally{Es=0,function kn(){for(var s,h,d=mi,p=1/0;d;)d._call?(p>d._time&&(p=d._time),s=d,d=d._next):(h=d._next,d._next=null,d=s?s._next=h:mi=h);wl=s,_c(p)}(),Ur=0}}function Sr(){var s=fr.now(),d=s-oa;d>ks&&(mr-=d,oa=s)}function _c(s){Es||(ts&&(ts=clearTimeout(ts)),s-Ur>24?(s<1/0&&(ts=setTimeout(xd,s-fr.now()-mr)),Ms&&(Ms=clearInterval(Ms))):(Ms||(oa=fr.now(),Ms=setInterval(Sr,ks)),Es=1,La(xd)))}function Fu(s,d,h){var p=new fi;return p.restart(b=>{p.stop(),s(b+d)},d=null==d?0:+d,h),p}fi.prototype=gc.prototype={constructor:fi,restart:function(s,d,h){if("function"!=typeof s)throw new TypeError("callback is not a function");h=(null==h?fc():+h)+(null==d?0:+d),!this._next&&wl!==this&&(wl?wl._next=this:mi=this,wl=this),this._call=s,this._time=h,_c()},stop:function(){this._call&&(this._call=null,this._time=1/0,_c())}};var Ft=wn("start","end","cancel","interrupt"),B=[],Be=0,Se=1,An=2,Pi=3,yi=4,Ri=5,Ar=6;function Lo(s,d,h,p,b,w){var D=s.__transition;if(D){if(h in D)return}else s.__transition={};!function Qf(s,d,h){var b,p=s.__transition;function D(R){var $,ee,W,le;if(h.state!==Se)return P();for($ in p)if((le=p[$]).name===h.name){if(le.state===Pi)return Fu(D);le.state===yi?(le.state=Ar,le.timer.stop(),le.on.call("interrupt",s,s.__data__,le.index,le.group),delete p[$]):+$Be)throw new Error("too late; already scheduled");return h}function pr(s,d){var h=gr(s,d);if(h.state>Pi)throw new Error("too late; already running");return h}function gr(s,d){var h=s.__transition;if(!h||!(h=h[d]))throw new Error("transition not found");return h}function No(s,d){return s=+s,d=+d,function(h){return s*(1-h)+d*h}}var Fn,Wr=180/Math.PI,wd={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function dm(s,d,h,p,b,w){var D,I,P;return(D=Math.sqrt(s*s+d*d))&&(s/=D,d/=D),(P=s*h+d*p)&&(h-=s*P,p-=d*P),(I=Math.sqrt(h*h+p*p))&&(h/=I,p/=I,P/=I),s*p180?$+=360:$-R>180&&(R+=360),W.push({i:ee.push(b(ee)+"rotate(",null,p)-2,x:No(R,$)})):$&&ee.push(b(ee)+"rotate("+$+p)}(R.rotate,$.rotate,ee,W),function I(R,$,ee,W){R!==$?W.push({i:ee.push(b(ee)+"skewX(",null,p)-2,x:No(R,$)}):$&&ee.push(b(ee)+"skewX("+$+p)}(R.skewX,$.skewX,ee,W),function P(R,$,ee,W,le,ze){if(R!==ee||$!==W){var At=le.push(b(le)+"scale(",null,",",null,")");ze.push({i:At-4,x:No(R,ee)},{i:At-2,x:No($,W)})}else(1!==ee||1!==W)&&le.push(b(le)+"scale("+ee+","+W+")")}(R.scaleX,R.scaleY,$.scaleX,$.scaleY,ee,W),R=$=null,function(le){for(var we,ze=-1,At=W.length;++ze>8&15|d>>4&240,d>>4&15|240&d,(15&d)<<4|15&d,1):8===h?mo(d>>24&255,d>>16&255,d>>8&255,(255&d)/255):4===h?mo(d>>12&15|d>>8&240,d>>8&15|d>>4&240,d>>4&15|240&d,((15&d)<<4|15&d)/255):null):(d=yc.exec(s))?new et(d[1],d[2],d[3],1):(d=Jf.exec(s))?new et(255*d[1]/100,255*d[2]/100,255*d[3]/100,1):(d=ep.exec(s))?mo(d[1],d[2],d[3],d[4]):(d=hm.exec(s))?mo(255*d[1]/100,255*d[2]/100,255*d[3]/100,d[4]):(d=As.exec(s))?xe(d[1],d[2]/100,d[3]/100,1):(d=Li.exec(s))?xe(d[1],d[2]/100,d[3]/100,d[4]):ho.hasOwnProperty(s)?Sd(ho[s]):"transparent"===s?new et(NaN,NaN,NaN,0):null}function Sd(s){return new et(s>>16&255,s>>8&255,255&s,1)}function mo(s,d,h,p){return p<=0&&(s=d=h=NaN),new et(s,d,h,p)}function Cc(s){return s instanceof uo||(s=Is(s)),s?new et((s=s.rgb()).r,s.g,s.b,s.opacity):new et}function Ru(s,d,h,p){return 1===arguments.length?Cc(s):new et(s,d,h,p??1)}function et(s,d,h,p){this.r=+s,this.g=+d,this.b=+h,this.opacity=+p}function mm(){return`#${la(this.r)}${la(this.g)}${la(this.b)}`}function fm(){const s=sn(this.opacity);return`${1===s?"rgb(":"rgba("}${El(this.r)}, ${El(this.g)}, ${El(this.b)}${1===s?")":`, ${s})`}`}function sn(s){return isNaN(s)?1:Math.max(0,Math.min(1,s))}function El(s){return Math.max(0,Math.min(255,Math.round(s)||0))}function la(s){return((s=El(s))<16?"0":"")+s.toString(16)}function xe(s,d,h,p){return p<=0?s=d=h=NaN:h<=0||h>=1?s=d=NaN:d<=0&&(s=NaN),new li(s,d,h,p)}function Gr(s){if(s instanceof li)return new li(s.h,s.s,s.l,s.opacity);if(s instanceof uo||(s=Is(s)),!s)return new li;if(s instanceof li)return s;var d=(s=s.rgb()).r/255,h=s.g/255,p=s.b/255,b=Math.min(d,h,p),w=Math.max(d,h,p),D=NaN,I=w-b,P=(w+b)/2;return I?(D=d===w?(h-p)/I+6*(h0&&P<1?0:D,new li(D,I,P,s.opacity)}function li(s,d,h,p){this.h=+s,this.s=+d,this.l=+h,this.opacity=+p}function _r(s){return(s=(s||0)%360)<0?s+360:s}function Fs(s){return Math.max(0,Math.min(1,s||0))}function Zr(s,d,h){return 255*(s<60?d+(h-d)*s/60:s<180?h:s<240?d+(h-d)*(240-s)/60:d)}function Os(s,d,h,p,b){var w=s*s,D=w*s;return((1-3*s+3*w-D)*d+(4-6*w+3*D)*h+(1+3*s+3*w-3*D)*p+D*b)/6}Dl(uo,Is,{copy(s){return Object.assign(new this.constructor,this,s)},displayable(){return this.rgb().displayable()},hex:is,formatHex:is,formatHex8:function Sn(){return this.rgb().formatHex8()},formatHsl:function kd(){return Gr(this).formatHsl()},formatRgb:vc,toString:vc}),Dl(et,Ru,Ss(uo,{brighter(s){return s=null==s?te:Math.pow(te,s),new et(this.r*s,this.g*s,this.b*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new et(this.r*s,this.g*s,this.b*s,this.opacity)},rgb(){return this},clamp(){return new et(El(this.r),El(this.g),El(this.b),sn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:mm,formatHex:mm,formatHex8:function Lu(){return`#${la(this.r)}${la(this.g)}${la(this.b)}${la(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:fm,toString:fm})),Dl(li,function Wn(s,d,h,p){return 1===arguments.length?Gr(s):new li(s,d,h,p??1)},Ss(uo,{brighter(s){return s=null==s?te:Math.pow(te,s),new li(this.h,this.s,this.l*s,this.opacity)},darker(s){return s=null==s?.7:Math.pow(.7,s),new li(this.h,this.s,this.l*s,this.opacity)},rgb(){var s=this.h%360+360*(this.h<0),d=isNaN(s)||isNaN(this.s)?0:this.s,h=this.l,p=h+(h<.5?h:1-h)*d,b=2*h-p;return new et(Zr(s>=240?s-240:s+120,b,p),Zr(s,b,p),Zr(s<120?s+240:s-120,b,p),this.opacity)},clamp(){return new li(_r(this.h),Fs(this.s),Fs(this.l),sn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const s=sn(this.opacity);return`${1===s?"hsl(":"hsla("}${_r(this.h)}, ${100*Fs(this.s)}%, ${100*Fs(this.l)}%${1===s?")":`, ${s})`}`}}));const ri=s=>()=>s;function Bo(s,d){return function(h){return s+h*d}}function ei(s,d){var h=d-s;return h?Bo(s,h):ri(isNaN(s)?d:s)}const Sl=function s(d){var h=function kl(s){return 1==(s=+s)?ei:function(d,h){return h-d?function Ml(s,d,h){return s=Math.pow(s,h),d=Math.pow(d,h)-s,h=1/h,function(p){return Math.pow(s+p*d,h)}}(d,h,s):ri(isNaN(d)?h:d)}}(d);function p(b,w){var D=h((b=Ru(b)).r,(w=Ru(w)).r),I=h(b.g,w.g),P=h(b.b,w.b),R=ei(b.opacity,w.opacity);return function($){return b.r=D($),b.g=I($),b.b=P($),b.opacity=R($),b+""}}return p.gamma=s,p}(1);function Ad(s){return function(d){var D,I,h=d.length,p=new Array(h),b=new Array(h),w=new Array(h);for(D=0;D=1?(h=1,d-1):Math.floor(h*d),b=s[p],w=s[p+1];return Os((h-p/d)*d,p>0?s[p-1]:2*b-w,b,w,ph&&(w=d.slice(h,w),I[D]?I[D]+=w:I[++D]=w),(p=p[0])===(b=b[0])?I[D]?I[D]+=b:I[++D]=b:(I[++D]=null,P.push({i:D,x:No(p,b)})),h=Nu.lastIndex;return h=0&&(d=d.slice(0,h)),!d||"start"===d})}(d)?pi:pr;return function(){var D=w(this,s),I=D.on;I!==p&&(b=(p=I).copy()).on(d,h),D.on=b}}(h,s,d))},attr:function _m(s,d){var h=Io(s),p="transform"===h?Td:Al;return this.attrTween(s,"function"==typeof d?(h.local?gm:dv)(h,p,sa(this,"attr."+s,d)):null==d?(h.local?wc:Ps)(h):(h.local?ui:Bu)(h,p,d))},attrTween:function v_(s,d){var h="attr."+s;if(arguments.length<2)return(h=this.tween(h))&&h._value;if(null==d)return this.tween(h,null);if("function"!=typeof d)throw new Error;var p=Io(s);return this.tween(h,(p.local?Tc:qr)(p,d))},style:function yv(s,d,h){var p="transform"==(s+="")?bc:Al;return null==d?this.styleTween(s,function bv(s,d){var h,p,b;return function(){var w=wi(this,s),D=(this.style.removeProperty(s),wi(this,s));return w===D?null:w===h&&D===p?b:b=d(h=w,p=D)}}(s,p)).on("end.style."+s,ym(s)):"function"==typeof d?this.styleTween(s,function T_(s,d,h){var p,b,w;return function(){var D=wi(this,s),I=h(this),P=I+"";return null==I&&(this.style.removeProperty(s),P=I=wi(this,s)),D===P?null:D===p&&P===b?w:(b=P,w=d(p=D,I))}}(s,p,sa(this,"style."+s,d))).each(function sp(s,d){var h,p,b,I,w="style."+d,D="end."+w;return function(){var P=pr(this,s),R=P.on,$=null==P.value[w]?I||(I=ym(d)):void 0;(R!==h||b!==$)&&(p=(h=R).copy()).on(D,b=$),P.on=p}}(this._id,s)):this.styleTween(s,function op(s,d,h){var p,w,b=h+"";return function(){var D=wi(this,s);return D===b?null:D===p?w:w=d(p=D,h)}}(s,p,d),h).on("end.style."+s,null)},styleTween:function ci(s,d,h){var p="style."+(s+="");if(arguments.length<2)return(p=this.tween(p))&&p._value;if(null==d)return this.tween(p,null);if("function"!=typeof d)throw new Error;return this.tween(p,function E_(s,d,h){var p,b;function w(){var D=d.apply(this,arguments);return D!==b&&(p=(b=D)&&function Il(s,d,h){return function(p){this.style.setProperty(s,d.call(this,p),h)}}(s,D,h)),p}return w._value=d,w}(s,d,h??""))},text:function k_(s){return this.tween("text","function"==typeof s?function M_(s){return function(){var d=s(this);this.textContent=d??""}}(sa(this,"text",s)):function Hu(s){return function(){this.textContent=s}}(null==s?"":s+""))},textTween:function lp(s){var d="text";if(arguments.length<1)return(d=this.tween(d))&&d._value;if(null==s)return this.tween(d,null);if("function"!=typeof s)throw new Error;return this.tween(d,function vm(s){var d,h;function p(){var b=s.apply(this,arguments);return b!==h&&(d=(h=b)&&function ap(s){return function(d){this.textContent=s.call(this,d)}}(b)),d}return p._value=s,p}(s))},remove:function pv(){return this.on("end.remove",function ip(s){return function(){var d=this.parentNode;for(var h in this.__transition)if(+h!==s)return;d&&d.removeChild(this)}}(this._id))},tween:function Pu(s,d){var h=this._id;if(s+="",arguments.length<2){for(var D,p=gr(this.node(),h).tween,b=0,w=p.length;bAn&&p.statefunction os(s,d){return fetch(s,d).then(Fr)}(d,h).then(p=>(new DOMParser).parseFromString(p,s))}["w","e"].map(He),["n","s"].map(He),["n","w","e","s","nw","ne","sw","se"].map(He),Yu("application/xml"),Yu("text/html");var dp=Yu("image/svg+xml");const Ku=Math.PI/180,S_=180/Math.PI,Qu=.96422,Bd=1,Vd=.82521,Ju=4/29,Sc=6/29,Dm=3*Sc*Sc,eh=Sc*Sc*Sc;function Hd(s){if(s instanceof Ho)return new Ho(s.l,s.a,s.b,s.opacity);if(s instanceof ss)return $d(s);s instanceof et||(s=Cc(s));var w,D,d=qi(s.r),h=qi(s.g),p=qi(s.b),b=Ac((.2225045*d+.7168786*h+.0606169*p)/Bd);return d===h&&h===p?w=D=b:(w=Ac((.4360747*d+.3850649*h+.1430804*p)/Qu),D=Ac((.0139322*d+.0971045*h+.7141733*p)/Vd)),new Ho(116*b-16,500*(w-b),200*(b-D),s.opacity)}function Ho(s,d,h,p){this.l=+s,this.a=+d,this.b=+h,this.opacity=+p}function Ac(s){return s>eh?Math.pow(s,1/3):s/Dm+Ju}function zd(s){return s>Sc?s*s*s:Dm*(s-Ju)}function Ic(s){return 255*(s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055)}function qi(s){return(s/=255)<=.04045?s/12.92:Math.pow((s+.055)/1.055,2.4)}function ua(s,d,h,p){return 1===arguments.length?function da(s){if(s instanceof ss)return new ss(s.h,s.c,s.l,s.opacity);if(s instanceof Ho||(s=Hd(s)),0===s.a&&0===s.b)return new ss(NaN,0180||h<-180?h-360*Math.round(h/360):h):ri(isNaN(s)?d:s)});function ja(s,d){switch(arguments.length){case 0:break;case 1:this.range(s);break;default:this.range(d).domain(s)}return this}Tm(ei);class Ud extends Map{constructor(d,h=Em){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:h}}),null!=d)for(const[p,b]of d)this.set(p,b)}get(d){return super.get(nh(this,d))}has(d){return super.has(nh(this,d))}set(d,h){return super.set(Ua(this,d),h)}delete(d){return super.delete(Fl(this,d))}}class fp extends Set{constructor(d,h=Em){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:h}}),null!=d)for(const p of d)this.add(p)}has(d){return super.has(nh(this,d))}add(d){return super.add(Ua(this,d))}delete(d){return super.delete(Fl(this,d))}}function nh({_intern:s,_key:d},h){const p=d(h);return s.has(p)?s.get(p):h}function Ua({_intern:s,_key:d},h){const p=d(h);return s.has(p)?s.get(p):(s.set(p,h),h)}function Fl({_intern:s,_key:d},h){const p=d(h);return s.has(p)&&(h=s.get(p),s.delete(p)),h}function Em(s){return null!==s&&"object"==typeof s?s.valueOf():s}const pp=Symbol("implicit");function Fc(){var s=new Ud,d=[],h=[],p=pp;function b(w){let D=s.get(w);if(void 0===D){if(p!==pp)return p;s.set(w,D=d.push(w)-1)}return h[D%h.length]}return b.domain=function(w){if(!arguments.length)return d.slice();d=[],s=new Ud;for(const D of w)s.has(D)||s.set(D,d.push(D)-1);return b},b.range=function(w){return arguments.length?(h=Array.from(w),b):h.slice()},b.unknown=function(w){return arguments.length?(p=w,b):p},b.copy=function(){return Fc(d,h).unknown(p)},ja.apply(b,arguments),b}function vr(){var w,D,s=Fc().unknown(void 0),d=s.domain,h=s.range,p=0,b=1,I=!1,P=0,R=0,$=.5;function ee(){var W=d().length,le=b=ha?10:w>=Mm?5:w>=Oc?2:1;let I,P,R;return b<0?(R=Math.pow(10,-b)/D,I=Math.round(s*R),P=Math.round(d*R),I/Rd&&--P,R=-R):(R=Math.pow(10,b)*D,I=Math.round(s/R),P=Math.round(d/R),I*Rd&&--P),Pd?1:s>=d?0:NaN}function Zd(s,d){return null==s||null==d?NaN:ds?1:d>=s?0:NaN}function Yi(s){let d,h,p;function b(I,P,R=0,$=I.length){if(R<$){if(0!==d(P,P))return $;do{const ee=R+$>>>1;h(I[ee],P)<0?R=ee+1:$=ee}while(R<$)}return R}return 2!==s.length?(d=Rc,h=(I,P)=>Rc(s(I),P),p=(I,P)=>s(I)-P):(d=s===Rc||s===Zd?s:Lc,h=s,p=s),{left:b,center:function D(I,P,R=0,$=I.length){const ee=b(I,P,R,$-1);return ee>R&&p(I[ee-1],P)>-p(I[ee],P)?ee-1:ee},right:function w(I,P,R=0,$=I.length){if(R<$){if(0!==d(P,P))return $;do{const ee=R+$>>>1;h(I[ee],P)<=0?R=ee+1:$=ee}while(R<$)}return R}}}function Lc(){return 0}const Sm=Yi(Rc).right,as=(Yi(function rh(s){return null===s?NaN:+s}),Sm);function Bc(s,d){var D,h=d?d.length:0,p=s?Math.min(h,s.length):0,b=new Array(p),w=new Array(h);for(D=0;Dd&&(h=s,s=d,d=h),function(p){return Math.max(s,Math.min(d,p))}}(s[0],s[W-1])),I=W>2?Pm:bp,P=R=null,ee}function ee(W){return null==W||isNaN(W=+W)?w:(P||(P=I(s.map(p),d,h)))(p(D(W)))}return ee.invert=function(W){return D(b((R||(R=I(d,s.map(p),No)))(W)))},ee.domain=function(W){return arguments.length?(s=Array.from(W,Om),$()):s.slice()},ee.range=function(W){return arguments.length?(d=Array.from(W),$()):d.slice()},ee.rangeRound=function(W){return d=Array.from(W),h=Im,$()},ee.clamp=function(W){return arguments.length?(D=!!W||Ol,$()):D!==Ol},ee.interpolate=function(W){return arguments.length?(h=W,$()):h},ee.unknown=function(W){return arguments.length?(w=W,ee):w},function(W,le){return p=W,b=le,$()}}()(Ol,Ol)}var qa,Yn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ll(s){if(!(d=Yn.exec(s)))throw new Error("invalid format: "+s);var d;return new uh({fill:d[1],align:d[2],sign:d[3],symbol:d[4],zero:d[5],width:d[6],comma:d[7],precision:d[8]&&d[8].slice(1),trim:d[9],type:d[10]})}function uh(s){this.fill=void 0===s.fill?" ":s.fill+"",this.align=void 0===s.align?">":s.align+"",this.sign=void 0===s.sign?"-":s.sign+"",this.symbol=void 0===s.symbol?"":s.symbol+"",this.zero=!!s.zero,this.width=void 0===s.width?void 0:+s.width,this.comma=!!s.comma,this.precision=void 0===s.precision?void 0:+s.precision,this.trim=!!s.trim,this.type=void 0===s.type?"":s.type+""}function go(s,d){if((h=(s=d?s.toExponential(d-1):s.toExponential()).indexOf("e"))<0)return null;var h,p=s.slice(0,h);return[p.length>1?p[0]+p.slice(2):p,+s.slice(h+1)]}function xo(s){return(s=go(Math.abs(s)))?s[1]:NaN}function Nm(s,d){var h=go(s,d);if(!h)return s+"";var p=h[0],b=h[1];return b<0?"0."+new Array(-b).join("0")+p:p.length>b+1?p.slice(0,b+1)+"."+p.slice(b+1):p+new Array(b-p.length+2).join("0")}Ll.prototype=uh.prototype,uh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const ye={"%":(s,d)=>(100*s).toFixed(d),b:s=>Math.round(s).toString(2),c:s=>s+"",d:function hh(s){return Math.abs(s=Math.round(s))>=1e21?s.toLocaleString("en").replace(/,/g,""):s.toString(10)},e:(s,d)=>s.toExponential(d),f:(s,d)=>s.toFixed(d),g:(s,d)=>s.toPrecision(d),o:s=>Math.round(s).toString(8),p:(s,d)=>Nm(100*s,d),r:Nm,s:function O_(s,d){var h=go(s,d);if(!h)return s+"";var p=h[0],b=h[1],w=b-(qa=3*Math.max(-8,Math.min(8,Math.floor(b/3))))+1,D=p.length;return w===D?p:w>D?p+new Array(w-D+1).join("0"):w>0?p.slice(0,w)+"."+p.slice(w):"0."+new Array(1-w).join("0")+go(s,Math.max(0,d+w-1))[0]},X:s=>Math.round(s).toString(16).toUpperCase(),x:s=>Math.round(s).toString(16)};function yp(s){return s}var fh,xp,wp,vp=Array.prototype.map,Cp=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function ph(s){var d=s.domain;return s.ticks=function(h){var p=d();return function km(s,d,h){if(!((h=+h)>0))return[];if((s=+s)==(d=+d))return[s];const p=d=b))return[];const I=w-b+1,P=new Array(I);if(p)if(D<0)for(let R=0;R0;){if((R=Wa(D,I,h))===P)return p[b]=D,p[w]=I,d(p);if(R>0)D=Math.floor(D/R)*R,I=Math.ceil(I/R)*R;else{if(!(R<0))break;D=Math.ceil(D*R)/R,I=Math.floor(I*R)/R}P=R}return s},s}function Bl(){var s=Rm();return s.copy=function(){return dh(s,Bl())},ja.apply(s,arguments),ph(s)}!function Vc(s){fh=function P_(s){var d=void 0===s.grouping||void 0===s.thousands?yp:function Nl(s,d){return function(h,p){for(var b=h.length,w=[],D=0,I=s[0],P=0;b>0&&I>0&&(P+I+1>p&&(I=Math.max(1,p-P)),w.push(h.substring(b-=I,b+I)),!((P+=I+1)>p));)I=s[D=(D+1)%s.length];return w.reverse().join(d)}}(vp.call(s.grouping,Number),s.thousands+""),h=void 0===s.currency?"":s.currency[0]+"",p=void 0===s.currency?"":s.currency[1]+"",b=void 0===s.decimal?".":s.decimal+"",w=void 0===s.numerals?yp:function Lm(s){return function(d){return d.replace(/[0-9]/g,function(h){return s[+h]})}}(vp.call(s.numerals,String)),D=void 0===s.percent?"%":s.percent+"",I=void 0===s.minus?"\u2212":s.minus+"",P=void 0===s.nan?"NaN":s.nan+"";function R(ee){var W=(ee=Ll(ee)).fill,le=ee.align,ze=ee.sign,At=ee.symbol,we=ee.zero,fe=ee.width,Ze=ee.comma,Ie=ee.precision,Je=ee.trim,tt=ee.type;"n"===tt?(Ze=!0,tt="g"):ye[tt]||(void 0===Ie&&(Ie=12),Je=!0,tt="g"),(we||"0"===W&&"="===le)&&(we=!0,W="0",le="=");var Re="$"===At?h:"#"===At&&/[boxX]/.test(tt)?"0"+tt.toLowerCase():"",Bt="$"===At?p:/[%p]/.test(tt)?D:"",gn=ye[tt],Gn=/[defgprs%]/.test(tt);function hn(st){var G,Ke,ve,mn=Re,Ye=Bt;if("c"===tt)Ye=gn(st)+Ye,st="";else{var $e=(st=+st)<0||1/st<0;if(st=isNaN(st)?P:gn(Math.abs(st),Ie),Je&&(st=function mh(s){e:for(var b,d=s.length,h=1,p=-1;h0&&(p=0)}return p>0?s.slice(0,p)+s.slice(b+1):s}(st)),$e&&0==+st&&"+"!==ze&&($e=!1),mn=($e?"("===ze?ze:I:"-"===ze||"("===ze?"":ze)+mn,Ye=("s"===tt?Cp[8+qa/3]:"")+Ye+($e&&"("===ze?")":""),Gn)for(G=-1,Ke=st.length;++G(ve=st.charCodeAt(G))||ve>57){Ye=(46===ve?b+st.slice(G+1):st.slice(G))+Ye,st=st.slice(0,G);break}}Ze&&!we&&(st=d(st,1/0));var Dt=mn.length+st.length+Ye.length,ct=Dt>1)+mn+st+Ye+ct.slice(Dt);break;default:st=ct+mn+st+Ye}return w(st)}return Ie=void 0===Ie?6:/[gprs]/.test(tt)?Math.max(1,Math.min(21,Ie)):Math.max(0,Math.min(20,Ie)),hn.toString=function(){return ee+""},hn}return{format:R,formatPrefix:function $(ee,W){var le=R(((ee=Ll(ee)).type="f",ee)),ze=3*Math.max(-8,Math.min(8,Math.floor(xo(W)/3))),At=Math.pow(10,-ze),we=Cp[8+ze/3];return function(fe){return le(At*fe)+we}}}}(s),xp=fh.format,wp=fh.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Ns=1e3,_i=60*Ns,Or=60*_i,ls=24*Or,Vl=7*ls,Hl=30*ls,cs=365*ls,Hc=new Date,qd=new Date;function zi(s,d,h,p){function b(w){return s(w=0===arguments.length?new Date:new Date(+w)),w}return b.floor=w=>(s(w=new Date(+w)),w),b.ceil=w=>(s(w=new Date(w-1)),d(w,1),s(w),w),b.round=w=>{const D=b(w),I=b.ceil(w);return w-D(d(w=new Date(+w),null==D?1:Math.floor(D)),w),b.range=(w,D,I)=>{const P=[];if(w=b.ceil(w),I=null==I?1:Math.floor(I),!(w0))return P;let R;do{P.push(R=new Date(+w)),d(w,I),s(w)}while(Rzi(D=>{if(D>=D)for(;s(D),!w(D);)D.setTime(D-1)},(D,I)=>{if(D>=D)if(I<0)for(;++I<=0;)for(;d(D,-1),!w(D););else for(;--I>=0;)for(;d(D,1),!w(D););}),h&&(b.count=(w,D)=>(Hc.setTime(+w),qd.setTime(+D),s(Hc),s(qd),Math.floor(h(Hc,qd))),b.every=w=>(w=Math.floor(w),isFinite(w)&&w>0?w>1?b.filter(p?D=>p(D)%w==0:D=>b.count(0,D)%w==0):b:null)),b}const Ni=zi(()=>{},(s,d)=>{s.setTime(+s+d)},(s,d)=>d-s);Ni.every=s=>(s=Math.floor(s),isFinite(s)&&s>0?s>1?zi(d=>{d.setTime(Math.floor(d/s)*s)},(d,h)=>{d.setTime(+d+h*s)},(d,h)=>(h-d)/s):Ni:null);const wo=zi(s=>{s.setTime(s-s.getMilliseconds())},(s,d)=>{s.setTime(+s+d*Ns)},(s,d)=>(d-s)/Ns,s=>s.getUTCSeconds()),zc=zi(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ns)},(s,d)=>{s.setTime(+s+d*_i)},(s,d)=>(d-s)/_i,s=>s.getMinutes()),Bm=zi(s=>{s.setUTCSeconds(0,0)},(s,d)=>{s.setTime(+s+d*_i)},(s,d)=>(d-s)/_i,s=>s.getUTCMinutes()),$c=zi(s=>{s.setTime(s-s.getMilliseconds()-s.getSeconds()*Ns-s.getMinutes()*_i)},(s,d)=>{s.setTime(+s+d*Or)},(s,d)=>(d-s)/Or,s=>s.getHours()),zo=zi(s=>{s.setUTCMinutes(0,0,0)},(s,d)=>{s.setTime(+s+d*Or)},(s,d)=>(d-s)/Or,s=>s.getUTCHours()),vi=zi(s=>s.setHours(0,0,0,0),(s,d)=>s.setDate(s.getDate()+d),(s,d)=>(d-s-(d.getTimezoneOffset()-s.getTimezoneOffset())*_i)/ls,s=>s.getDate()-1),ds=zi(s=>{s.setUTCHours(0,0,0,0)},(s,d)=>{s.setUTCDate(s.getUTCDate()+d)},(s,d)=>(d-s)/ls,s=>s.getUTCDate()-1),zl=zi(s=>{s.setUTCHours(0,0,0,0)},(s,d)=>{s.setUTCDate(s.getUTCDate()+d)},(s,d)=>(d-s)/ls,s=>Math.floor(s/ls));function pa(s){return zi(d=>{d.setDate(d.getDate()-(d.getDay()+7-s)%7),d.setHours(0,0,0,0)},(d,h)=>{d.setDate(d.getDate()+7*h)},(d,h)=>(h-d-(h.getTimezoneOffset()-d.getTimezoneOffset())*_i)/Vl)}const us=pa(0),Bs=pa(1),ga=pa(2),Vm=pa(3),_a=pa(4),wt=pa(5),Vs=pa(6);function Hs(s){return zi(d=>{d.setUTCDate(d.getUTCDate()-(d.getUTCDay()+7-s)%7),d.setUTCHours(0,0,0,0)},(d,h)=>{d.setUTCDate(d.getUTCDate()+7*h)},(d,h)=>(h-d)/Vl)}const jl=Hs(0),Uc=Hs(1),Wc=(Hs(2),Hs(3),Hs(4)),yh=(Hs(5),Hs(6),zi(s=>{s.setDate(1),s.setHours(0,0,0,0)},(s,d)=>{s.setMonth(s.getMonth()+d)},(s,d)=>d.getMonth()-s.getMonth()+12*(d.getFullYear()-s.getFullYear()),s=>s.getMonth())),Ip=zi(s=>{s.setUTCDate(1),s.setUTCHours(0,0,0,0)},(s,d)=>{s.setUTCMonth(s.getUTCMonth()+d)},(s,d)=>d.getUTCMonth()-s.getUTCMonth()+12*(d.getUTCFullYear()-s.getUTCFullYear()),s=>s.getUTCMonth()),zs=zi(s=>{s.setMonth(0,1),s.setHours(0,0,0,0)},(s,d)=>{s.setFullYear(s.getFullYear()+d)},(s,d)=>d.getFullYear()-s.getFullYear(),s=>s.getFullYear());zs.every=s=>isFinite(s=Math.floor(s))&&s>0?zi(d=>{d.setFullYear(Math.floor(d.getFullYear()/s)*s),d.setMonth(0,1),d.setHours(0,0,0,0)},(d,h)=>{d.setFullYear(d.getFullYear()+h*s)}):null;const hs=zi(s=>{s.setUTCMonth(0,1),s.setUTCHours(0,0,0,0)},(s,d)=>{s.setUTCFullYear(s.getUTCFullYear()+d)},(s,d)=>d.getUTCFullYear()-s.getUTCFullYear(),s=>s.getUTCFullYear());function vh(s,d,h,p,b,w){const D=[[wo,1,Ns],[wo,5,5*Ns],[wo,15,15*Ns],[wo,30,30*Ns],[w,1,_i],[w,5,5*_i],[w,15,15*_i],[w,30,30*_i],[b,1,Or],[b,3,3*Or],[b,6,6*Or],[b,12,12*Or],[p,1,ls],[p,2,2*ls],[h,1,Vl],[d,1,Hl],[d,3,3*Hl],[s,1,cs]];function P(R,$,ee){const W=Math.abs($-R)/ee,le=Yi(([,,we])=>we).right(D,W);if(le===D.length)return s.every(Gd(R/cs,$/cs,ee));if(0===le)return Ni.every(Math.max(Gd(R,$,ee),1));const[ze,At]=D[W/D[le-1][2]isFinite(s=Math.floor(s))&&s>0?zi(d=>{d.setUTCFullYear(Math.floor(d.getUTCFullYear()/s)*s),d.setUTCMonth(0,1),d.setUTCHours(0,0,0,0)},(d,h)=>{d.setUTCFullYear(d.getUTCFullYear()+h*s)}):null;const[Pp,Jr]=vh(hs,Ip,jl,zl,zo,Bm),[Rp,Lp]=vh(zs,yh,us,vi,$c,zc);function Ch(s){if(0<=s.y&&s.y<100){var d=new Date(-1,s.m,s.d,s.H,s.M,s.S,s.L);return d.setFullYear(s.y),d}return new Date(s.y,s.m,s.d,s.H,s.M,s.S,s.L)}function Xd(s){if(0<=s.y&&s.y<100){var d=new Date(Date.UTC(-1,s.m,s.d,s.H,s.M,s.S,s.L));return d.setUTCFullYear(s.y),d}return new Date(Date.UTC(s.y,s.m,s.d,s.H,s.M,s.S,s.L))}function Ya(s,d,h){return{y:s,m:d,d:h,H:0,M:0,S:0,L:0}}var Zl,Ah,jm={"-":"",_:" ",0:"0"},Ki=/^\s*\d+/,Um=/^%/,Bp=/[\\^$*+?|[\]().{}]/g;function On(s,d,h){var p=s<0?"-":"",b=(p?-s:s)+"",w=b.length;return p+(w[d.toLowerCase(),h]))}function xh(s,d,h){var p=Ki.exec(d.slice(h,h+1));return p?(s.w=+p[0],h+p[0].length):-1}function or(s,d,h){var p=Ki.exec(d.slice(h,h+1));return p?(s.u=+p[0],h+p[0].length):-1}function Gc(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.U=+p[0],h+p[0].length):-1}function Qd(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.V=+p[0],h+p[0].length):-1}function wh(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.W=+p[0],h+p[0].length):-1}function Wm(s,d,h){var p=Ki.exec(d.slice(h,h+4));return p?(s.y=+p[0],h+p[0].length):-1}function Dh(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.y=+p[0]+(+p[0]>68?1900:2e3),h+p[0].length):-1}function Vp(s,d,h){var p=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(d.slice(h,h+6));return p?(s.Z=p[1]?0:-(p[2]+(p[3]||"00")),h+p[0].length):-1}function Gm(s,d,h){var p=Ki.exec(d.slice(h,h+1));return p?(s.q=3*p[0]-3,h+p[0].length):-1}function Zm(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.m=p[0]-1,h+p[0].length):-1}function Jd(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.d=+p[0],h+p[0].length):-1}function Hp(s,d,h){var p=Ki.exec(d.slice(h,h+3));return p?(s.m=0,s.d=+p[0],h+p[0].length):-1}function qm(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.H=+p[0],h+p[0].length):-1}function Th(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.M=+p[0],h+p[0].length):-1}function Zc(s,d,h){var p=Ki.exec(d.slice(h,h+2));return p?(s.S=+p[0],h+p[0].length):-1}function zp(s,d,h){var p=Ki.exec(d.slice(h,h+3));return p?(s.L=+p[0],h+p[0].length):-1}function $o(s,d,h){var p=Ki.exec(d.slice(h,h+6));return p?(s.L=Math.floor(p[0]/1e3),h+p[0].length):-1}function $p(s,d,h){var p=Um.exec(d.slice(h,h+1));return p?h+p[0].length:-1}function jp(s,d,h){var p=Ki.exec(d.slice(h));return p?(s.Q=+p[0],h+p[0].length):-1}function eu(s,d,h){var p=Ki.exec(d.slice(h));return p?(s.s=+p[0],h+p[0].length):-1}function tu(s,d){return On(s.getDate(),d,2)}function Eh(s,d){return On(s.getHours(),d,2)}function Wl(s,d){return On(s.getHours()%12||12,d,2)}function Mh(s,d){return On(1+vi.count(zs(s),s),d,3)}function nu(s,d){return On(s.getMilliseconds(),d,3)}function Up(s,d){return nu(s,d)+"000"}function Gl(s,d){return On(s.getMonth()+1,d,2)}function kh(s,d){return On(s.getMinutes(),d,2)}function Ym(s,d){return On(s.getSeconds(),d,2)}function Wp(s){var d=s.getDay();return 0===d?7:d}function Km(s,d){return On(us.count(zs(s)-1,s),d,2)}function Do(s){var d=s.getDay();return d>=4||0===d?_a(s):_a.ceil(s)}function l(s,d){return s=Do(s),On(_a.count(zs(s),s)+(4===zs(s).getDay()),d,2)}function f(s){return s.getDay()}function _(s,d){return On(Bs.count(zs(s)-1,s),d,2)}function x(s,d){return On(s.getFullYear()%100,d,2)}function k(s,d){return On((s=Do(s)).getFullYear()%100,d,2)}function L(s,d){return On(s.getFullYear()%1e4,d,4)}function H(s,d){var h=s.getDay();return On((s=h>=4||0===h?_a(s):_a.ceil(s)).getFullYear()%1e4,d,4)}function ne(s){var d=s.getTimezoneOffset();return(d>0?"-":(d*=-1,"+"))+On(d/60|0,"0",2)+On(d%60,"0",2)}function se(s,d){return On(s.getUTCDate(),d,2)}function Ee(s,d){return On(s.getUTCHours(),d,2)}function Qe(s,d){return On(s.getUTCHours()%12||12,d,2)}function Me(s,d){return On(1+ds.count(hs(s),s),d,3)}function Q(s,d){return On(s.getUTCMilliseconds(),d,3)}function ke(s,d){return Q(s,d)+"000"}function qt(s,d){return On(s.getUTCMonth()+1,d,2)}function rn(s,d){return On(s.getUTCMinutes(),d,2)}function pn(s,d){return On(s.getUTCSeconds(),d,2)}function an(s){var d=s.getUTCDay();return 0===d?7:d}function St(s,d){return On(jl.count(hs(s)-1,s),d,2)}function Pr(s){var d=s.getUTCDay();return d>=4||0===d?Wc(s):Wc.ceil(s)}function $s(s,d){return s=Pr(s),On(Wc.count(hs(s),s)+(4===hs(s).getUTCDay()),d,2)}function Ei(s){return s.getUTCDay()}function sr(s,d){return On(Uc.count(hs(s)-1,s),d,2)}function oi(s,d){return On(s.getUTCFullYear()%100,d,2)}function iu(s,d){return On((s=Pr(s)).getUTCFullYear()%100,d,2)}function ru(s,d){return On(s.getUTCFullYear()%1e4,d,4)}function Sh(s,d){var h=s.getUTCDay();return On((s=h>=4||0===h?Wc(s):Wc.ceil(s)).getUTCFullYear()%1e4,d,4)}function qc(){return"+0000"}function Xm(){return"%"}function ou(s){return+s}function Qm(s){return Math.floor(+s/1e3)}function Tv(s){return new Date(s)}function Ev(s){return s instanceof Date?+s:+new Date(+s)}function Mv(s,d,h,p,b,w,D,I,P,R){var $=Rm(),ee=$.invert,W=$.domain,le=R(".%L"),ze=R(":%S"),At=R("%I:%M"),we=R("%I %p"),fe=R("%a %d"),Ze=R("%b %d"),Ie=R("%B"),Je=R("%Y");function tt(Re){return(P(Re)=12)]},q:function Xt(ot){return 1+~~(ot.getMonth()/3)},Q:ou,s:Qm,S:Ym,u:Wp,U:Km,V:l,w:f,W:_,x:null,X:null,y:x,Y:L,Z:ne,"%":Xm},Je={a:function Xi(ot){return D[ot.getUTCDay()]},A:function si(ot){return w[ot.getUTCDay()]},b:function ai(ot){return P[ot.getUTCMonth()]},B:function Qi(ot){return I[ot.getUTCMonth()]},c:null,d:se,e:se,f:ke,g:iu,G:Sh,H:Ee,I:Qe,j:Me,L:Q,m:qt,M:rn,p:function Ln(ot){return b[+(ot.getUTCHours()>=12)]},q:function ji(ot){return 1+~~(ot.getUTCMonth()/3)},Q:ou,s:Qm,S:pn,u:an,U:St,V:$s,w:Ei,W:sr,x:null,X:null,y:oi,Y:ru,Z:qc,"%":Xm},tt={a:function hn(ot,ln,qe){var T=le.exec(ln.slice(qe));return T?(ot.w=ze.get(T[0].toLowerCase()),qe+T[0].length):-1},A:function st(ot,ln,qe){var T=ee.exec(ln.slice(qe));return T?(ot.w=W.get(T[0].toLowerCase()),qe+T[0].length):-1},b:function mn(ot,ln,qe){var T=fe.exec(ln.slice(qe));return T?(ot.m=Ze.get(T[0].toLowerCase()),qe+T[0].length):-1},B:function Ye(ot,ln,qe){var T=At.exec(ln.slice(qe));return T?(ot.m=we.get(T[0].toLowerCase()),qe+T[0].length):-1},c:function G(ot,ln,qe){return gn(ot,d,ln,qe)},d:Jd,e:Jd,f:$o,g:Dh,G:Wm,H:qm,I:qm,j:Hp,L:zp,m:Zm,M:Th,p:function Gn(ot,ln,qe){var T=R.exec(ln.slice(qe));return T?(ot.p=$.get(T[0].toLowerCase()),qe+T[0].length):-1},q:Gm,Q:jp,s:eu,S:Zc,u:or,U:Gc,V:Qd,w:xh,W:wh,x:function Ke(ot,ln,qe){return gn(ot,h,ln,qe)},X:function ve(ot,ln,qe){return gn(ot,p,ln,qe)},y:Dh,Y:Wm,Z:Vp,"%":$p};function Re(ot,ln){return function(qe){var bo,Yt,Bi,T=[],ki=-1,Kn=0,_o=ot.length;for(qe instanceof Date||(qe=new Date(+qe));++ki<_o;)37===ot.charCodeAt(ki)&&(T.push(ot.slice(Kn,ki)),null!=(Yt=jm[bo=ot.charAt(++ki)])?bo=ot.charAt(++ki):Yt="e"===bo?" ":"0",(Bi=ln[bo])&&(bo=Bi(qe,Yt)),T.push(bo),Kn=ki+1);return T.push(ot.slice(Kn,ki)),T.join("")}}function Bt(ot,ln){return function(qe){var Kn,_o,T=Ya(1900,void 0,1);if(gn(T,ot,qe+="",0)!=qe.length)return null;if("Q"in T)return new Date(T.Q);if("s"in T)return new Date(1e3*T.s+("L"in T?T.L:0));if(ln&&!("Z"in T)&&(T.Z=0),"p"in T&&(T.H=T.H%12+12*T.p),void 0===T.m&&(T.m="q"in T?T.q:0),"V"in T){if(T.V<1||T.V>53)return null;"w"in T||(T.w=1),"Z"in T?(_o=(Kn=Xd(Ya(T.y,0,1))).getUTCDay(),Kn=_o>4||0===_o?Uc.ceil(Kn):Uc(Kn),Kn=ds.offset(Kn,7*(T.V-1)),T.y=Kn.getUTCFullYear(),T.m=Kn.getUTCMonth(),T.d=Kn.getUTCDate()+(T.w+6)%7):(_o=(Kn=Ch(Ya(T.y,0,1))).getDay(),Kn=_o>4||0===_o?Bs.ceil(Kn):Bs(Kn),Kn=vi.offset(Kn,7*(T.V-1)),T.y=Kn.getFullYear(),T.m=Kn.getMonth(),T.d=Kn.getDate()+(T.w+6)%7)}else("W"in T||"U"in T)&&("w"in T||(T.w="u"in T?T.u%7:"W"in T?1:0),_o="Z"in T?Xd(Ya(T.y,0,1)).getUTCDay():Ch(Ya(T.y,0,1)).getDay(),T.m=0,T.d="W"in T?(T.w+6)%7+7*T.W-(_o+5)%7:T.w+7*T.U-(_o+6)%7);return"Z"in T?(T.H+=T.Z/100|0,T.M+=T.Z%100,Xd(T)):Ch(T)}}function gn(ot,ln,qe,T){for(var bo,Yt,ki=0,Kn=ln.length,_o=qe.length;ki=_o)return-1;if(37===(bo=ln.charCodeAt(ki++))){if(bo=ln.charAt(ki++),!(Yt=tt[bo in jm?ln.charAt(ki++):bo])||(T=Yt(ot,qe,T))<0)return-1}else if(bo!=qe.charCodeAt(T++))return-1}return T}return Ie.x=Re(h,Ie),Ie.X=Re(p,Ie),Ie.c=Re(d,Ie),Je.x=Re(h,Je),Je.X=Re(p,Je),Je.c=Re(d,Je),{format:function(ot){var ln=Re(ot+="",Ie);return ln.toString=function(){return ot},ln},parse:function(ot){var ln=Bt(ot+="",!1);return ln.toString=function(){return ot},ln},utcFormat:function(ot){var ln=Re(ot+="",Je);return ln.toString=function(){return ot},ln},utcParse:function(ot){var ln=Bt(ot+="",!0);return ln.toString=function(){return ot},ln}}}(s),Ah=Zl.format}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const Sv=function Gp(s){for(var d=s.length/6|0,h=new Array(d),p=0;p=1?no:s<=-1?-no:Math.asin(s)}const Yp=Math.PI,Kp=2*Yp,Kc=1e-6,Iv=Kp-Kc;function Xp(s){this._+=s[0];for(let d=1,h=s.length;d=0))throw new Error(`invalid digits: ${s}`);if(d>15)return Xp;const h=10**d;return function(p){this._+=p[0];for(let b=1,w=p.length;bKc)if(Math.abs(ee*P-R*$)>Kc&&w){let le=p-D,ze=b-I,At=P*P+R*R,we=le*le+ze*ze,fe=Math.sqrt(At),Ze=Math.sqrt(W),Ie=w*Math.tan((Yp-Math.acos((At+W-we)/(2*fe*Ze)))/2),Je=Ie/Ze,tt=Ie/fe;Math.abs(Je-1)>Kc&&this._append`L${d+Je*$},${h+Je*ee}`,this._append`A${w},${w},0,0,${+(ee*le>$*ze)},${this._x1=d+tt*P},${this._y1=h+tt*R}`}else this._append`L${this._x1=d},${this._y1=h}`}arc(d,h,p,b,w,D){if(d=+d,h=+h,D=!!D,(p=+p)<0)throw new Error(`negative radius: ${p}`);let I=p*Math.cos(b),P=p*Math.sin(b),R=d+I,$=h+P,ee=1^D,W=D?b-w:w-b;null===this._x1?this._append`M${R},${$}`:(Math.abs(this._x1-R)>Kc||Math.abs(this._y1-$)>Kc)&&this._append`L${R},${$}`,p&&(W<0&&(W=W%Kp+Kp),W>Iv?this._append`A${p},${p},0,1,${ee},${d-I},${h-P}A${p},${p},0,1,${ee},${this._x1=R},${this._y1=$}`:W>Kc&&this._append`A${p},${p},0,${+(W>=Yp)},${ee},${this._x1=d+p*Math.cos(w)},${this._y1=h+p*Math.sin(w)}`)}rect(d,h,p,b){this._append`M${this._x0=this._x1=+d},${this._y0=this._y1=+h}h${p=+p}v${+b}h${-p}Z`}toString(){return this._}}function Fh(s){let d=3;return s.digits=function(h){if(!arguments.length)return d;if(null==h)d=null;else{const p=Math.floor(h);if(!(p>=0))throw new RangeError(`invalid digits: ${h}`);d=p}return s},()=>new tf(d)}function Xa(s){return s.innerRadius}function Oh(s){return s.outerRadius}function U_(s){return s.startAngle}function W_(s){return s.endAngle}function G_(s){return s&&s.padAngle}function Qp(s,d,h,p,b,w,D){var I=s-h,P=d-p,R=(D?w:-w)/au(I*I+P*P),$=R*P,ee=-R*I,W=s+$,le=d+ee,ze=h+$,At=p+ee,we=(W+ze)/2,fe=(le+At)/2,Ze=ze-W,Ie=At-le,Je=Ze*Ze+Ie*Ie,tt=b-w,Re=W*At-ze*le,Bt=(Ie<0?-1:1)*au(Yc(0,tt*tt*Je-Re*Re)),gn=(Re*Ie-Ze*Bt)/Je,Gn=(-Re*Ze-Ie*Bt)/Je,hn=(Re*Ie+Ze*Bt)/Je,st=(-Re*Ze+Ie*Bt)/Je,mn=gn-we,Ye=Gn-fe,G=hn-we,Ke=st-fe;return mn*mn+Ye*Ye>G*G+Ke*Ke&&(gn=hn,Gn=st),{cx:gn,cy:Gn,x01:-$,y01:-ee,x11:gn*(b/tt-1),y11:Gn*(b/tt-1)}}function Ow(){var s=Xa,d=Oh,h=Mi(0),p=null,b=U_,w=W_,D=G_,I=null,P=Fh(R);function R(){var $,ee,W=+s.apply(this,arguments),le=+d.apply(this,arguments),ze=b.apply(this,arguments)-no,At=w.apply(this,arguments)-no,we=Zp(At-ze),fe=At>ze;if(I||(I=$=P()),leto)if(we>Uo-to)I.moveTo(le*Yl(ze),le*ya(ze)),I.arc(0,0,le,ze,At,!fe),W>to&&(I.moveTo(W*Yl(At),W*ya(At)),I.arc(0,0,W,At,ze,fe));else{var Ye,G,Ze=ze,Ie=At,Je=ze,tt=At,Re=we,Bt=we,gn=D.apply(this,arguments)/2,Gn=gn>to&&(p?+p.apply(this,arguments):au(W*W+le*le)),hn=qp(Zp(le-W)/2,+h.apply(this,arguments)),st=hn,mn=hn;if(Gn>to){var Ke=j_(Gn/W*ya(gn)),ve=j_(Gn/le*ya(gn));(Re-=2*Ke)>to?(Je+=Ke*=fe?1:-1,tt-=Ke):(Re=0,Je=tt=(ze+At)/2),(Bt-=2*ve)>to?(Ze+=ve*=fe?1:-1,Ie-=ve):(Bt=0,Ze=Ie=(ze+At)/2)}var $e=le*Yl(Ze),Dt=le*ya(Ze),ct=W*Yl(tt),ht=W*ya(tt);if(hn>to){var ai,$t=le*Yl(Ie),Xt=le*ya(Ie),Xi=W*Yl(Je),si=W*ya(Je);if(we1?0:s<-1?Ih:Math.acos(s)}((Qi*ji+Ln*ot)/(au(Qi*Qi+Ln*Ln)*au(ji*ji+ot*ot)))/2),qe=au(ai[0]*ai[0]+ai[1]*ai[1]);st=qp(hn,(W-qe)/(ln-1)),mn=qp(hn,(le-qe)/(ln+1))}else st=mn=0}Bt>to?mn>to?(Ye=Qp(Xi,si,$e,Dt,le,mn,fe),G=Qp($t,Xt,ct,ht,le,mn,fe),I.moveTo(Ye.cx+Ye.x01,Ye.cy+Ye.y01),mnto&&Re>to?st>to?(Ye=Qp(ct,ht,$t,Xt,W,-st,fe),G=Qp($e,Dt,Xi,si,W,-st,fe),I.lineTo(Ye.cx+Ye.x01,Ye.cy+Ye.y01),sts?1:d>=s?0:NaN}function Vv(s){return s}function Y_(){var s=Vv,d=Bv,h=null,p=Mi(0),b=Mi(Uo),w=Mi(0);function D(I){var P,$,ee,fe,Je,R=(I=nf(I)).length,W=0,le=new Array(R),ze=new Array(R),At=+p.apply(this,arguments),we=Math.min(Uo,Math.max(-Uo,b.apply(this,arguments)-At)),Ze=Math.min(Math.abs(we)/R,w.apply(this,arguments)),Ie=Ze*(we<0?-1:1);for(P=0;P0&&(W+=Je);for(null!=d?le.sort(function(tt,Re){return d(ze[tt],ze[Re])}):null!=h&&le.sort(function(tt,Re){return h(I[tt],I[Re])}),P=0,ee=W?(we-R*Ie)/W:0;P0?Je*ee:0)+Ie,padAngle:Ze};return ze}return D.value=function(I){return arguments.length?(s="function"==typeof I?I:Mi(+I),D):s},D.sortValues=function(I){return arguments.length?(d=I,h=null,D):d},D.sort=function(I){return arguments.length?(h=I,d=null,D):h},D.startAngle=function(I){return arguments.length?(p="function"==typeof I?I:Mi(+I),D):p},D.endAngle=function(I){return arguments.length?(b="function"==typeof I?I:Mi(+I),D):b},D.padAngle=function(I){return arguments.length?(w="function"==typeof I?I:Mi(+I),D):w},D}function js(){}function Ph(s,d,h){s._context.bezierCurveTo((2*s._x0+s._x1)/3,(2*s._y0+s._y1)/3,(s._x0+2*s._x1)/3,(s._y0+2*s._y1)/3,(s._x0+4*s._x1+d)/6,(s._y0+4*s._y1+h)/6)}function lu(s){this._context=s}function Hv(s){return new lu(s)}function zn(s){this._context=s}function K_(s){return new zn(s)}function X_(s){this._context=s}function Jp(s){return new X_(s)}Pv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,d):this._context.moveTo(s,d);break;case 1:this._point=2;default:this._context.lineTo(s,d)}}},lu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ph(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,d):this._context.moveTo(s,d);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ph(this,s,d)}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=d}},zn.prototype={areaStart:js,areaEnd:js,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._x2=s,this._y2=d;break;case 1:this._point=2,this._x3=s,this._y3=d;break;case 2:this._point=3,this._x4=s,this._y4=d,this._context.moveTo((this._x0+4*this._x1+s)/6,(this._y0+4*this._y1+d)/6);break;default:Ph(this,s,d)}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=d}},X_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var h=(this._x0+4*this._x1+s)/6,p=(this._y0+4*this._y1+d)/6;this._line?this._context.lineTo(h,p):this._context.moveTo(h,p);break;case 3:this._point=4;default:Ph(this,s,d)}this._x0=this._x1,this._x1=s,this._y0=this._y1,this._y1=d}};class eg{constructor(d,h){this._context=d,this._x=h}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(d,h){switch(d=+d,h=+h,this._point){case 0:this._point=1,this._line?this._context.lineTo(d,h):this._context.moveTo(d,h);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+d)/2,this._y0,this._x0,h,d,h):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+h)/2,d,this._y0,d,h)}this._x0=d,this._y0=h}}function $v(s){return new eg(s,!0)}function jv(s){return new eg(s,!1)}function Q_(s,d){this._basis=new lu(s),this._beta=d}Q_.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var s=this._x,d=this._y,h=s.length-1;if(h>0)for(var P,p=s[0],b=d[0],w=s[h]-p,D=d[h]-b,I=-1;++I<=h;)this._basis.point(this._beta*s[I]+(1-this._beta)*(p+(P=I/h)*w),this._beta*d[I]+(1-this._beta)*(b+P*D));this._x=this._y=null,this._basis.lineEnd()},point:function(s,d){this._x.push(+s),this._y.push(+d)}};const Rw=function s(d){function h(p){return 1===d?new lu(p):new Q_(p,d)}return h.beta=function(p){return s(+p)},h}(.85);function tg(s,d,h){s._context.bezierCurveTo(s._x1+s._k*(s._x2-s._x0),s._y1+s._k*(s._y2-s._y0),s._x2+s._k*(s._x1-d),s._y2+s._k*(s._y1-h),s._x2,s._y2)}function Xc(s,d){this._context=s,this._k=(1-d)/6}Xc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:tg(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,d):this._context.moveTo(s,d);break;case 1:this._point=2,this._x1=s,this._y1=d;break;case 2:this._point=3;default:tg(this,s,d)}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const J_=function s(d){function h(p){return new Xc(p,d)}return h.tension=function(p){return s(+p)},h}(0);function rf(s,d){this._context=s,this._k=(1-d)/6}rf.prototype={areaStart:js,areaEnd:js,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._x3=s,this._y3=d;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=d);break;case 2:this._point=3,this._x5=s,this._y5=d;break;default:tg(this,s,d)}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const eb=function s(d){function h(p){return new rf(p,d)}return h.tension=function(p){return s(+p)},h}(0);function sf(s,d){this._context=s,this._k=(1-d)/6}sf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tg(this,s,d)}this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const Uv=function s(d){function h(p){return new sf(p,d)}return h.tension=function(p){return s(+p)},h}(0);function ng(s,d,h){var p=s._x1,b=s._y1,w=s._x2,D=s._y2;if(s._l01_a>to){var I=2*s._l01_2a+3*s._l01_a*s._l12_a+s._l12_2a,P=3*s._l01_a*(s._l01_a+s._l12_a);p=(p*I-s._x0*s._l12_2a+s._x2*s._l01_2a)/P,b=(b*I-s._y0*s._l12_2a+s._y2*s._l01_2a)/P}if(s._l23_a>to){var R=2*s._l23_2a+3*s._l23_a*s._l12_a+s._l12_2a,$=3*s._l23_a*(s._l23_a+s._l12_a);w=(w*R+s._x1*s._l23_2a-d*s._l12_2a)/$,D=(D*R+s._y1*s._l23_2a-h*s._l12_2a)/$}s._context.bezierCurveTo(p,b,w,D,s._x2,s._y2)}function ig(s,d){this._context=s,this._alpha=d}ig.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){if(s=+s,d=+d,this._point){var h=this._x2-s,p=this._y2-d;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+p*p,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(s,d):this._context.moveTo(s,d);break;case 1:this._point=2;break;case 2:this._point=3;default:ng(this,s,d)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const tb=function s(d){function h(p){return d?new ig(p,d):new Xc(p,0)}return h.alpha=function(p){return s(+p)},h}(.5);function af(s,d){this._context=s,this._alpha=d}af.prototype={areaStart:js,areaEnd:js,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(s,d){if(s=+s,d=+d,this._point){var h=this._x2-s,p=this._y2-d;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+p*p,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=s,this._y3=d;break;case 1:this._point=2,this._context.moveTo(this._x4=s,this._y4=d);break;case 2:this._point=3,this._x5=s,this._y5=d;break;default:ng(this,s,d)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const Lw=function s(d){function h(p){return d?new af(p,d):new rf(p,0)}return h.alpha=function(p){return s(+p)},h}(.5);function lf(s,d){this._context=s,this._alpha=d}lf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(s,d){if(s=+s,d=+d,this._point){var h=this._x2-s,p=this._y2-d;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+p*p,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ng(this,s,d)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=s,this._y0=this._y1,this._y1=this._y2,this._y2=d}};const Wv=function s(d){function h(p){return d?new lf(p,d):new sf(p,0)}return h.alpha=function(p){return s(+p)},h}(.5);function cf(s){this._context=s}function nb(s){return new cf(s)}function rg(s){return s<0?-1:1}function Kl(s,d,h){var p=s._x1-s._x0,b=d-s._x1,w=(s._y1-s._y0)/(p||b<0&&-0),D=(h-s._y1)/(b||p<0&&-0),I=(w*b+D*p)/(p+b);return(rg(w)+rg(D))*Math.min(Math.abs(w),Math.abs(D),.5*Math.abs(I))||0}function ib(s,d){var h=s._x1-s._x0;return h?(3*(s._y1-s._y0)/h-d)/2:d}function Rh(s,d,h){var p=s._x0,w=s._x1,D=s._y1,I=(w-p)/3;s._context.bezierCurveTo(p+I,s._y0+I*d,w-I,D-I*h,w,D)}function Qc(s){this._context=s}function rb(s){this._context=new df(s)}function df(s){this._context=s}function uf(s){return new Qc(s)}function Jc(s){return new rb(s)}function og(s){this._context=s}function hf(s){var d,p,h=s.length-1,b=new Array(h),w=new Array(h),D=new Array(h);for(b[0]=0,w[0]=2,D[0]=s[0]+2*s[1],d=1;d=0;--d)b[d]=(D[d]-b[d+1])/w[d];for(w[h-1]=(s[h]+b[h-1])/2,d=0;d=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(s,d){switch(s=+s,d=+d,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,d):this._context.moveTo(s,d);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,d),this._context.lineTo(s,d);else{var h=this._x*(1-this._t)+s*this._t;this._context.lineTo(h,this._y),this._context.lineTo(h,d)}}this._x=s,this._y=d}},du.prototype={constructor:du,scale:function(s){return 1===s?this:new du(this.k*s,this.x,this.y)},translate:function(s,d){return 0===s&0===d?this:new du(this.k,this.x+this.k*s,this.y+this.k*d)},apply:function(s){return[s[0]*this.k+this.x,s[1]*this.k+this.y]},applyX:function(s){return s*this.k+this.x},applyY:function(s){return s*this.k+this.y},invert:function(s){return[(s[0]-this.x)/this.k,(s[1]-this.y)/this.k]},invertX:function(s){return(s-this.x)/this.k},invertY:function(s){return(s-this.y)/this.k},rescaleX:function(s){return s.copy().domain(s.range().map(this.invertX,this).map(s.invert,s))},rescaleY:function(s){return s.copy().domain(s.range().map(this.invertY,this).map(s.invert,s))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new du(1,0,0)},4556:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(8267),J=M(3796);const _e=new class z{constructor(S,oe){this.color=oe,this.changed=!1,this.data=S,this.type=new class re{constructor(){this.type=J.w.ALL}get(){return this.type}set(S){if(this.type&&this.type!==S)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=S}reset(){this.type=J.w.ALL}is(S){return this.type===S}}}set(S,oe){return this.color=oe,this.changed=!1,this.data=S,this.type.type=J.w.ALL,this}_ensureHSL(){const S=this.data,{h:oe,s:Oe,l:Ne}=S;void 0===oe&&(S.h=j.Z.channel.rgb2hsl(S,"h")),void 0===Oe&&(S.s=j.Z.channel.rgb2hsl(S,"s")),void 0===Ne&&(S.l=j.Z.channel.rgb2hsl(S,"l"))}_ensureRGB(){const S=this.data,{r:oe,g:Oe,b:Ne}=S;void 0===oe&&(S.r=j.Z.channel.hsl2rgb(S,"r")),void 0===Oe&&(S.g=j.Z.channel.hsl2rgb(S,"g")),void 0===Ne&&(S.b=j.Z.channel.hsl2rgb(S,"b"))}get r(){const S=this.data,oe=S.r;return this.type.is(J.w.HSL)||void 0===oe?(this._ensureHSL(),j.Z.channel.hsl2rgb(S,"r")):oe}get g(){const S=this.data,oe=S.g;return this.type.is(J.w.HSL)||void 0===oe?(this._ensureHSL(),j.Z.channel.hsl2rgb(S,"g")):oe}get b(){const S=this.data,oe=S.b;return this.type.is(J.w.HSL)||void 0===oe?(this._ensureHSL(),j.Z.channel.hsl2rgb(S,"b")):oe}get h(){const S=this.data,oe=S.h;return this.type.is(J.w.RGB)||void 0===oe?(this._ensureRGB(),j.Z.channel.rgb2hsl(S,"h")):oe}get s(){const S=this.data,oe=S.s;return this.type.is(J.w.RGB)||void 0===oe?(this._ensureRGB(),j.Z.channel.rgb2hsl(S,"s")):oe}get l(){const S=this.data,oe=S.l;return this.type.is(J.w.RGB)||void 0===oe?(this._ensureRGB(),j.Z.channel.rgb2hsl(S,"l")):oe}get a(){return this.data.a}set r(S){this.type.set(J.w.RGB),this.changed=!0,this.data.r=S}set g(S){this.type.set(J.w.RGB),this.changed=!0,this.data.g=S}set b(S){this.type.set(J.w.RGB),this.changed=!0,this.data.b=S}set h(S){this.type.set(J.w.HSL),this.changed=!0,this.data.h=S}set s(S){this.type.set(J.w.HSL),this.changed=!0,this.data.s=S}set l(S){this.type.set(J.w.HSL),this.changed=!0,this.data.l=S}set a(S){this.changed=!0,this.data.a=S}}({r:0,g:0,b:0,a:0},"transparent")},486:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Ne});var j=M(4556),J=M(3796);const re={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:be=>{if(35!==be.charCodeAt(0))return;const Y=be.match(re.re);if(!Y)return;const pe=Y[1],he=parseInt(pe,16),Ue=pe.length,Xe=Ue%4==0,pt=Ue>4,Tt=pt?1:17,cn=pt?8:4,Fe=Xe?0:-1,dn=pt?255:15;return j.Z.set({r:(he>>cn*(Fe+3)&dn)*Tt,g:(he>>cn*(Fe+2)&dn)*Tt,b:(he>>cn*(Fe+1)&dn)*Tt,a:Xe?(he&dn)*Tt/255:1},be)},stringify:be=>{const{r:Y,g:pe,b:he,a:Ue}=be;return Ue<1?`#${J.Q[Math.round(Y)]}${J.Q[Math.round(pe)]}${J.Q[Math.round(he)]}${J.Q[Math.round(255*Ue)]}`:`#${J.Q[Math.round(Y)]}${J.Q[Math.round(pe)]}${J.Q[Math.round(he)]}`}},q=re;var z=M(8267);const ae={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:be=>{const Y=be.match(ae.hueRe);if(Y){const[,pe,he]=Y;switch(he){case"grad":return z.Z.channel.clamp.h(.9*parseFloat(pe));case"rad":return z.Z.channel.clamp.h(180*parseFloat(pe)/Math.PI);case"turn":return z.Z.channel.clamp.h(360*parseFloat(pe))}}return z.Z.channel.clamp.h(parseFloat(be))},parse:be=>{const Y=be.charCodeAt(0);if(104!==Y&&72!==Y)return;const pe=be.match(ae.re);if(!pe)return;const[,he,Ue,Xe,pt,Tt]=pe;return j.Z.set({h:ae._hue2deg(he),s:z.Z.channel.clamp.s(parseFloat(Ue)),l:z.Z.channel.clamp.l(parseFloat(Xe)),a:pt?z.Z.channel.clamp.a(Tt?parseFloat(pt)/100:parseFloat(pt)):1},be)},stringify:be=>{const{h:Y,s:pe,l:he,a:Ue}=be;return Ue<1?`hsla(${z.Z.lang.round(Y)}, ${z.Z.lang.round(pe)}%, ${z.Z.lang.round(he)}%, ${Ue})`:`hsl(${z.Z.lang.round(Y)}, ${z.Z.lang.round(pe)}%, ${z.Z.lang.round(he)}%)`}},me=ae,_e={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:be=>{be=be.toLowerCase();const Y=_e.colors[be];if(Y)return q.parse(Y)},stringify:be=>{const Y=q.stringify(be);for(const pe in _e.colors)if(_e.colors[pe]===Y)return pe}},X=_e,S={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:be=>{const Y=be.charCodeAt(0);if(114!==Y&&82!==Y)return;const pe=be.match(S.re);if(!pe)return;const[,he,Ue,Xe,pt,Tt,cn,Fe,dn]=pe;return j.Z.set({r:z.Z.channel.clamp.r(Ue?2.55*parseFloat(he):parseFloat(he)),g:z.Z.channel.clamp.g(pt?2.55*parseFloat(Xe):parseFloat(Xe)),b:z.Z.channel.clamp.b(cn?2.55*parseFloat(Tt):parseFloat(Tt)),a:Fe?z.Z.channel.clamp.a(dn?parseFloat(Fe)/100:parseFloat(Fe)):1},be)},stringify:be=>{const{r:Y,g:pe,b:he,a:Ue}=be;return Ue<1?`rgba(${z.Z.lang.round(Y)}, ${z.Z.lang.round(pe)}, ${z.Z.lang.round(he)}, ${z.Z.lang.round(Ue)})`:`rgb(${z.Z.lang.round(Y)}, ${z.Z.lang.round(pe)}, ${z.Z.lang.round(he)})`}},oe=S,Ne={format:{keyword:_e,hex:q,rgb:S,rgba:S,hsl:ae,hsla:ae},parse:be=>{if("string"!=typeof be)return be;const Y=q.parse(be)||oe.parse(be)||me.parse(be)||X.parse(be);if(Y)return Y;throw new Error(`Unsupported color format: "${be}"`)},stringify:be=>!be.changed&&be.color?be.color:be.type.is(J.w.HSL)||void 0===be.data.r?me.stringify(be):be.a<1||!Number.isInteger(be.r)||!Number.isInteger(be.g)||!Number.isInteger(be.b)?oe.stringify(be):q.stringify(be)}},3796:(rt,de,M)=>{"use strict";M.d(de,{Q:()=>J,w:()=>re});var j=M(8267);const J={};for(let q=0;q<=255;q++)J[q]=j.Z.unit.dec2hex(q);const re={ALL:0,RGB:1,HSL:2}},9846:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(8267),J=M(486);const q=(z,ae,me)=>{const _e=J.Z.parse(z),X=_e[ae],S=j.Z.channel.clamp[ae](X+me);return X!==S&&(_e[ae]=S),J.Z.stringify(_e)}},2961:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(8267),J=M(486);const q=(z,ae)=>{const me=J.Z.parse(z);for(const _e in ae)me[_e]=j.Z.channel.clamp[_e](ae[_e]);return J.Z.stringify(me)}},8674:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=M(9846);const re=(q,z)=>(0,j.Z)(q,"l",-z)},5847:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(8267),J=M(486);const _e=X=>!(X=>(X=>{const{r:S,g:oe,b:Oe}=J.Z.parse(X),Ne=.2126*j.Z.channel.toLinear(S)+.7152*j.Z.channel.toLinear(oe)+.0722*j.Z.channel.toLinear(Oe);return j.Z.lang.round(Ne)})(X)>=.5)(X)},1223:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=M(9846);const re=(q,z)=>(0,j.Z)(q,"l",z)},3396:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>ae});var j=M(8267),J=M(4556),re=M(486),q=M(2961);const ae=(me,_e,X=0,S=1)=>{if("number"!=typeof me)return(0,q.Z)(me,{a:_e});const oe=J.Z.set({r:j.Z.channel.clamp.r(me),g:j.Z.channel.clamp.g(_e),b:j.Z.channel.clamp.b(X),a:j.Z.channel.clamp.a(S)});return re.Z.stringify(oe)}},8267:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});const j={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:X=>X>=255?255:X<0?0:X,g:X=>X>=255?255:X<0?0:X,b:X=>X>=255?255:X<0?0:X,h:X=>X%360,s:X=>X>=100?100:X<0?0:X,l:X=>X>=100?100:X<0?0:X,a:X=>X>=1?1:X<0?0:X},toLinear:X=>{const S=X/255;return X>.03928?Math.pow((S+.055)/1.055,2.4):S/12.92},hue2rgb:(X,S,oe)=>(oe<0&&(oe+=1),oe>1&&(oe-=1),oe<1/6?X+6*(S-X)*oe:oe<.5?S:oe<2/3?X+(S-X)*(2/3-oe)*6:X),hsl2rgb:({h:X,s:S,l:oe},Oe)=>{if(!S)return 2.55*oe;X/=360,S/=100;const Ne=(oe/=100)<.5?oe*(1+S):oe+S-oe*S,be=2*oe-Ne;switch(Oe){case"r":return 255*j.hue2rgb(be,Ne,X+1/3);case"g":return 255*j.hue2rgb(be,Ne,X);case"b":return 255*j.hue2rgb(be,Ne,X-1/3)}},rgb2hsl:({r:X,g:S,b:oe},Oe)=>{X/=255,S/=255,oe/=255;const Ne=Math.max(X,S,oe),be=Math.min(X,S,oe),Y=(Ne+be)/2;if("l"===Oe)return 100*Y;if(Ne===be)return 0;const pe=Ne-be;if("s"===Oe)return 100*(Y>.5?pe/(2-Ne-be):pe/(Ne+be));switch(Ne){case X:return 60*((S-oe)/pe+(SS>oe?Math.min(S,Math.max(oe,X)):Math.min(oe,Math.max(S,X)),round:X=>Math.round(1e10*X)/1e10},unit:{dec2hex:X=>{const S=Math.round(X).toString(16);return S.length>1?S:`0${S}`}}}},2622:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>he});var re=M(3093);const z=function q(Ue,Xe){for(var pt=Ue.length;pt--;)if((0,re.Z)(Ue[pt][0],Xe))return pt;return-1};var me=Array.prototype.splice;function pe(Ue){var Xe=-1,pt=null==Ue?0:Ue.length;for(this.clear();++Xe-1},pe.prototype.set=function be(Ue,Xe){var pt=this.__data__,Tt=z(pt,Ue);return Tt<0?(++this.size,pt.push([Ue,Xe])):pt[Tt][1]=Xe,this};const he=pe},9329:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(3858),J=M(5946);const q=(0,j.Z)(J.Z,"Map")},3639:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Jn});const re=(0,M(3858).Z)(Object,"create");var S=Object.prototype.hasOwnProperty;var be=Object.prototype.hasOwnProperty;function pt(ut){var it=-1,lt=null==ut?0:ut.length;for(this.clear();++it{"use strict";M.d(de,{Z:()=>q});var j=M(3858),J=M(5946);const q=(0,j.Z)(J.Z,"Set")},5343:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>pe});var j=M(2622);var S=M(9329),oe=M(3639);function Y(he){var Ue=this.__data__=new j.Z(he);this.size=Ue.size}Y.prototype.clear=function J(){this.__data__=new j.Z,this.size=0},Y.prototype.delete=function q(he){var Ue=this.__data__,Xe=Ue.delete(he);return this.size=Ue.size,Xe},Y.prototype.get=function ae(he){return this.__data__.get(he)},Y.prototype.has=function _e(he){return this.__data__.has(he)},Y.prototype.set=function Ne(he,Ue){var Xe=this.__data__;if(Xe instanceof j.Z){var pt=Xe.__data__;if(!S.Z||pt.length<199)return pt.push([he,Ue]),this.size=++Xe.size,this;Xe=this.__data__=new oe.Z(pt)}return Xe.set(he,Ue),this.size=Xe.size,this};const pe=Y},8492:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});const re=M(5946).Z.Symbol},1630:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});const re=M(5946).Z.Uint8Array},3487:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>oe});var re=M(4825),q=M(4177),z=M(5202),ae=M(6667),me=M(7583),X=Object.prototype.hasOwnProperty;const oe=function S(Oe,Ne){var be=(0,q.Z)(Oe),Y=!be&&(0,re.Z)(Oe),pe=!be&&!Y&&(0,z.Z)(Oe),he=!be&&!Y&&!pe&&(0,me.Z)(Oe),Ue=be||Y||pe||he,Xe=Ue?function j(Oe,Ne){for(var be=-1,Y=Array(Oe);++be{"use strict";M.d(de,{Z:()=>ae});var j=M(3496),J=M(3093),q=Object.prototype.hasOwnProperty;const ae=function z(me,_e,X){var S=me[_e];(!q.call(me,_e)||!(0,J.Z)(S,X)||void 0===X&&!(_e in me))&&(0,j.Z)(me,_e,X)}},3496:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=M(2370);const re=function J(q,z,ae){"__proto__"==z&&j.Z?(0,j.Z)(q,z,{configurable:!0,enumerable:!0,value:ae,writable:!0}):q[z]=ae}},139:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});const q=function j(z){return function(ae,me,_e){for(var X=-1,S=Object(ae),oe=_e(ae),Oe=oe.length;Oe--;){var Ne=oe[z?Oe:++X];if(!1===me(S[Ne],Ne,S))break}return ae}}()},7079:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>pe});var j=M(8492),J=Object.prototype,re=J.hasOwnProperty,q=J.toString,z=j.Z?j.Z.toStringTag:void 0;var X=Object.prototype.toString;var be=j.Z?j.Z.toStringTag:void 0;const pe=function Y(he){return null==he?void 0===he?"[object Undefined]":"[object Null]":be&&be in Object(he)?function ae(he){var Ue=re.call(he,z),Xe=he[z];try{he[z]=void 0;var pt=!0}catch{}var Tt=q.call(he);return pt&&(Ue?he[z]=Xe:delete he[z]),Tt}(he):function S(he){return X.call(he)}(he)}},4884:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(1986);const q=(0,M(5820).Z)(Object.keys,Object);var ae=Object.prototype.hasOwnProperty;const _e=function me(X){if(!(0,j.Z)(X))return q(X);var S=[];for(var oe in Object(X))ae.call(X,oe)&&"constructor"!=oe&&S.push(oe);return S}},7965:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>z});var j=M(9940),J=M(5604),re=M(8959);const z=function q(ae,me){return(0,re.Z)((0,J.Z)(ae,me,j.Z),ae+"")}},6932:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re){return function(q){return re(q)}}},3116:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=M(1630);const re=function J(q){var z=new q.constructor(q.byteLength);return new j.Z(z).set(new j.Z(q)),z}},634:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(5946),J="object"==typeof exports&&exports&&!exports.nodeType&&exports,re=J&&"object"==typeof module&&module&&!module.nodeType&&module,z=re&&re.exports===J?j.Z.Buffer:void 0,ae=z?z.allocUnsafe:void 0;const _e=function me(X,S){if(S)return X.slice();var oe=X.length,Oe=ae?ae(oe):new X.constructor(oe);return X.copy(Oe),Oe}},9376:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=M(3116);const re=function J(q,z){var ae=z?(0,j.Z)(q.buffer):q.buffer;return new q.constructor(ae,q.byteOffset,q.length)}},8297:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re,q){var z=-1,ae=re.length;for(q||(q=Array(ae));++z{"use strict";M.d(de,{Z:()=>q});var j=M(1481),J=M(3496);const q=function re(z,ae,me,_e){var X=!me;me||(me={});for(var S=-1,oe=ae.length;++S{"use strict";M.d(de,{Z:()=>re});var j=M(3858);const re=function(){try{var q=(0,j.Z)(Object,"defineProperty");return q({},"",{}),q}catch{}}()},8346:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J="object"==typeof global&&global&&global.Object===Object&&global},3858:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>cn});var Fe,j=M(2089),re=M(5946).Z["__core-js_shared__"],z=(Fe=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+Fe:"";var _e=M(1999),X=M(4407),oe=/^\[object .+?Constructor\]$/,pe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ue=function he(Fe){return!(!(0,_e.Z)(Fe)||function ae(Fe){return!!z&&z in Fe}(Fe))&&((0,j.Z)(Fe)?pe:oe).test((0,X.Z)(Fe))},cn=function Tt(Fe,dn){var Qn=function Xe(Fe,dn){return Fe?.[dn]}(Fe,dn);return Ue(Qn)?Qn:void 0}},5650:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});const re=(0,M(5820).Z)(Object.getPrototypeOf,Object)},7183:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Qn});var j=M(3858),J=M(5946);const q=(0,j.Z)(J.Z,"DataView");var z=M(9329);const me=(0,j.Z)(J.Z,"Promise");var _e=M(7863);const S=(0,j.Z)(J.Z,"WeakMap");var oe=M(7079),Oe=M(4407),Ne="[object Map]",Y="[object Promise]",pe="[object Set]",he="[object WeakMap]",Ue="[object DataView]",Xe=(0,Oe.Z)(q),pt=(0,Oe.Z)(z.Z),Tt=(0,Oe.Z)(me),cn=(0,Oe.Z)(_e.Z),Fe=(0,Oe.Z)(S),dn=oe.Z;(q&&dn(new q(new ArrayBuffer(1)))!=Ue||z.Z&&dn(new z.Z)!=Ne||me&&dn(me.resolve())!=Y||_e.Z&&dn(new _e.Z)!=pe||S&&dn(new S)!=he)&&(dn=function(Et){var We=(0,oe.Z)(Et),De="[object Object]"==We?Et.constructor:void 0,xt=De?(0,Oe.Z)(De):"";if(xt)switch(xt){case Xe:return Ue;case pt:return Ne;case Tt:return Y;case cn:return pe;case Fe:return he}return We});const Qn=dn},3121:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(1999),J=Object.create;const q=function(){function X(){}return function(S){if(!(0,j.Z)(S))return{};if(J)return J(S);X.prototype=S;var oe=new X;return X.prototype=void 0,oe}}();var z=M(5650),ae=M(1986);const _e=function me(X){return"function"!=typeof X.constructor||(0,ae.Z)(X)?{}:q((0,z.Z)(X))}},6667:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var J=/^(?:0|[1-9]\d*)$/;const q=function re(z,ae){var me=typeof z;return!!(ae=ae??9007199254740991)&&("number"==me||"symbol"!=me&&J.test(z))&&z>-1&&z%1==0&&z{"use strict";M.d(de,{Z:()=>ae});var j=M(3093),J=M(8706),re=M(6667),q=M(1999);const ae=function z(me,_e,X){if(!(0,q.Z)(X))return!1;var S=typeof _e;return!!("number"==S?(0,J.Z)(X)&&(0,re.Z)(_e,X.length):"string"==S&&_e in X)&&(0,j.Z)(X[_e],me)}},1986:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});var j=Object.prototype;const re=function J(q){var z=q&&q.constructor;return q===("function"==typeof z&&z.prototype||j)}},6594:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>me});var j=M(8346),J="object"==typeof exports&&exports&&!exports.nodeType&&exports,re=J&&"object"==typeof module&&module&&!module.nodeType&&module,z=re&&re.exports===J&&j.Z.process;const me=function(){try{return re&&re.require&&re.require("util").types||z&&z.binding&&z.binding("util")}catch{}}()},5820:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re,q){return function(z){return re(q(z))}}},5604:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>z});const J=function j(ae,me,_e){switch(_e.length){case 0:return ae.call(me);case 1:return ae.call(me,_e[0]);case 2:return ae.call(me,_e[0],_e[1]);case 3:return ae.call(me,_e[0],_e[1],_e[2])}return ae.apply(me,_e)};var re=Math.max;const z=function q(ae,me,_e){return me=re(void 0===me?ae.length-1:me,0),function(){for(var X=arguments,S=-1,oe=re(X.length-me,0),Oe=Array(oe);++S{"use strict";M.d(de,{Z:()=>q});var j=M(8346),J="object"==typeof self&&self&&self.Object===Object&&self;const q=j.Z||J||Function("return this")()},8959:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Oe});var j=M(145),J=M(2370),re=M(9940),ae=800,me=16,_e=Date.now;const Oe=function X(Ne){var be=0,Y=0;return function(){var pe=_e(),he=me-(pe-Y);if(Y=pe,he>0){if(++be>=ae)return arguments[0]}else be=0;return Ne.apply(void 0,arguments)}}(J.Z?function(Ne,be){return(0,J.Z)(Ne,"toString",{configurable:!0,enumerable:!1,value:(0,j.Z)(be),writable:!0})}:re.Z)},4407:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var J=Function.prototype.toString;const q=function re(z){if(null!=z){try{return J.call(z)}catch{}try{return z+""}catch{}}return""}},145:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re){return function(){return re}}},3093:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re,q){return re===q||re!=re&&q!=q}},9940:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re){return re}},4825:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>S});var j=M(7079),J=M(214);const z=function q(oe){return(0,J.Z)(oe)&&"[object Arguments]"==(0,j.Z)(oe)};var ae=Object.prototype,me=ae.hasOwnProperty,_e=ae.propertyIsEnumerable;const S=z(function(){return arguments}())?z:function(oe){return(0,J.Z)(oe)&&me.call(oe,"callee")&&!_e.call(oe,"callee")}},4177:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=Array.isArray},8706:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(2089),J=M(8696);const q=function re(z){return null!=z&&(0,J.Z)(z.length)&&!(0,j.Z)(z)}},7118:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(8706),J=M(214);const q=function re(z){return(0,J.Z)(z)&&(0,j.Z)(z)}},5202:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>S});var j=M(5946),q="object"==typeof exports&&exports&&!exports.nodeType&&exports,z=q&&"object"==typeof module&&module&&!module.nodeType&&module,me=z&&z.exports===q?j.Z.Buffer:void 0;const S=(me?me.isBuffer:void 0)||function J(){return!1}},9378:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>be});var j=M(4884),J=M(7183),re=M(4825),q=M(4177),z=M(8706),ae=M(5202),me=M(1986),_e=M(7583),Oe=Object.prototype.hasOwnProperty;const be=function Ne(Y){if(null==Y)return!0;if((0,z.Z)(Y)&&((0,q.Z)(Y)||"string"==typeof Y||"function"==typeof Y.splice||(0,ae.Z)(Y)||(0,_e.Z)(Y)||(0,re.Z)(Y)))return!Y.length;var pe=(0,J.Z)(Y);if("[object Map]"==pe||"[object Set]"==pe)return!Y.size;if((0,me.Z)(Y))return!(0,j.Z)(Y).length;for(var he in Y)if(Oe.call(Y,he))return!1;return!0}},2089:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>_e});var j=M(7079),J=M(1999);const _e=function me(X){if(!(0,J.Z)(X))return!1;var S=(0,j.Z)(X);return"[object Function]"==S||"[object GeneratorFunction]"==S||"[object AsyncFunction]"==S||"[object Proxy]"==S}},8696:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>re});const re=function J(q){return"number"==typeof q&&q>-1&&q%1==0&&q<=9007199254740991}},1999:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re){var q=typeof re;return null!=re&&("object"==q||"function"==q)}},214:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>J});const J=function j(re){return null!=re&&"object"==typeof re}},2031:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>oe});var j=M(7079),J=M(5650),re=M(214),me=Function.prototype.toString,_e=Object.prototype.hasOwnProperty,X=me.call(Object);const oe=function S(Oe){if(!(0,re.Z)(Oe)||"[object Object]"!=(0,j.Z)(Oe))return!1;var Ne=(0,J.Z)(Oe);if(null===Ne)return!0;var be=_e.call(Ne,"constructor")&&Ne.constructor;return"function"==typeof be&&be instanceof be&&me.call(be)==X}},7583:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>It});var j=M(7079),J=M(8696),re=M(214),De={};De["[object Float32Array]"]=De["[object Float64Array]"]=De["[object Int8Array]"]=De["[object Int16Array]"]=De["[object Int32Array]"]=De["[object Uint8Array]"]=De["[object Uint8ClampedArray]"]=De["[object Uint16Array]"]=De["[object Uint32Array]"]=!0,De["[object Arguments]"]=De["[object Array]"]=De["[object ArrayBuffer]"]=De["[object Boolean]"]=De["[object DataView]"]=De["[object Date]"]=De["[object Error]"]=De["[object Function]"]=De["[object Map]"]=De["[object Number]"]=De["[object Object]"]=De["[object RegExp]"]=De["[object Set]"]=De["[object String]"]=De["[object WeakMap]"]=!1;var jt=M(6932),zt=M(6594),at=zt.Z&&zt.Z.isTypedArray;const It=at?(0,jt.Z)(at):function xt(Ut){return(0,re.Z)(Ut)&&(0,J.Z)(Ut.length)&&!!De[(0,j.Z)(Ut)]}},571:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Oe});var j=M(3487),J=M(1999),re=M(1986);var me=Object.prototype.hasOwnProperty;const X=function _e(Ne){if(!(0,J.Z)(Ne))return function q(Ne){var be=[];if(null!=Ne)for(var Y in Object(Ne))be.push(Y);return be}(Ne);var be=(0,re.Z)(Ne),Y=[];for(var pe in Ne)"constructor"==pe&&(be||!me.call(Ne,pe))||Y.push(pe);return Y};var S=M(8706);const Oe=function oe(Ne){return(0,S.Z)(Ne)?(0,j.Z)(Ne,!0):X(Ne)}},2572:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>q});var j=M(3639),J="Expected a function";function re(z,ae){if("function"!=typeof z||null!=ae&&"function"!=typeof ae)throw new TypeError(J);var me=function(){var _e=arguments,X=ae?ae.apply(this,_e):_e[0],S=me.cache;if(S.has(X))return S.get(X);var oe=z.apply(this,_e);return me.cache=S.set(X,oe)||S,oe};return me.cache=new(re.Cache||j.Z),me}re.Cache=j.Z;const q=re},2986:(rt,de,M)=>{"use strict";M.d(de,{Z:()=>Pn});var j=M(5343),J=M(3496),re=M(3093);const z=function q(It,Ut,yn){(void 0!==yn&&!(0,re.Z)(It[Ut],yn)||void 0===yn&&!(Ut in It))&&(0,J.Z)(It,Ut,yn)};var ae=M(139),me=M(634),_e=M(9376),X=M(8297),S=M(3121),oe=M(4825),Oe=M(4177),Ne=M(7118),be=M(5202),Y=M(2089),pe=M(1999),he=M(2031),Ue=M(7583);const pt=function Xe(It,Ut){if(("constructor"!==Ut||"function"!=typeof It[Ut])&&"__proto__"!=Ut)return It[Ut]};var Tt=M(3276),cn=M(571);const Et=function Qn(It,Ut,yn,Ae,Jn,ut,it){var lt=pt(It,yn),Cn=pt(Ut,yn),Vn=it.get(Cn);if(Vn)z(It,yn,Vn);else{var ni=ut?ut(lt,Cn,yn+"",It,Ut,it):void 0,Cs=void 0===ni;if(Cs){var nr=(0,Oe.Z)(Cn),Ao=!nr&&(0,be.Z)(Cn),dr=!nr&&!Ao&&(0,Ue.Z)(Cn);ni=Cn,nr||Ao||dr?(0,Oe.Z)(lt)?ni=lt:(0,Ne.Z)(lt)?ni=(0,X.Z)(lt):Ao?(Cs=!1,ni=(0,me.Z)(Cn,!0)):dr?(Cs=!1,ni=(0,_e.Z)(Cn,!0)):ni=[]:(0,he.Z)(Cn)||(0,oe.Z)(Cn)?(ni=lt,(0,oe.Z)(lt)?ni=function Fe(It){return(0,Tt.Z)(It,(0,cn.Z)(It))}(lt):(!(0,pe.Z)(lt)||(0,Y.Z)(lt))&&(ni=(0,S.Z)(Cn))):Cs=!1}Cs&&(it.set(Cn,ni),Jn(ni,Cn,Ae,ut,it),it.delete(Cn)),z(It,yn,ni)}},De=function We(It,Ut,yn,Ae,Jn){It!==Ut&&(0,ae.Z)(Ut,function(ut,it){if(Jn||(Jn=new j.Z),(0,pe.Z)(ut))Et(It,Ut,it,yn,We,Ae,Jn);else{var lt=Ae?Ae(pt(It,it),ut,it+"",It,Ut,Jn):void 0;void 0===lt&&(lt=ut),z(It,it,lt)}},cn.Z)};var xt=M(7965),Ge=M(4810);const Pn=function jt(It){return(0,xt.Z)(function(Ut,yn){var Ae=-1,Jn=yn.length,ut=Jn>1?yn[Jn-1]:void 0,it=Jn>2?yn[2]:void 0;for(ut=It.length>3&&"function"==typeof ut?(Jn--,ut):void 0,it&&(0,Ge.Z)(yn[0],yn[1],it)&&(ut=Jn<3?void 0:ut,Jn=1),Ut=Object(Ut);++Ae{"use strict";M.d(de,{A:()=>je,B:()=>Es,C:()=>Pu,D:()=>Md,E:()=>Wt,F:()=>Li,G:()=>xl,H:()=>mc,I:()=>gr,J:()=>ws,K:()=>Ld,L:()=>Vi,M:()=>Ss,N:()=>Do,Z:()=>gc,a:()=>Ha,b:()=>Va,c:()=>Mc,d:()=>ir,e:()=>hr,f:()=>fi,g:()=>Uu,h:()=>Fn,i:()=>$u,j:()=>dm,k:()=>pi,l:()=>Lt,m:()=>ia,n:()=>Ft,o:()=>fo,p:()=>Rd,q:()=>Qr,r:()=>ra,s:()=>Xr,t:()=>Pd,u:()=>sa,v:()=>Ba,w:()=>Wr,x:()=>bl,y:()=>Kt,z:()=>Vo});var j=M(5861),J=M(458),re=M(1764),q=M(6780),z=M(8586),ae=M(2735),me=M(486),_e=M(2961);const S=(l,f)=>{const _=me.Z.parse(l),x={};for(const k in f)f[k]&&(x[k]=_[k]+f[k]);return(0,_e.Z)(l,x)};var oe=M(3396);const Y=(l,f=100)=>{const _=me.Z.parse(l);return _.r=255-_.r,_.g=255-_.g,_.b=255-_.b,((l,f,_=50)=>{const{r:x,g:k,b:L,a:H}=me.Z.parse(l),{r:ne,g:se,b:Ee,a:Qe}=me.Z.parse(f),Me=_/100,Q=2*Me-1,ke=H-Qe,rn=((Q*ke==-1?Q:(Q+ke)/(1+Q*ke))+1)/2,pn=1-rn;return(0,oe.Z)(x*rn+ne*pn,k*rn+se*pn,L*rn+Ee*pn,H*Me+Qe*(1-Me))})(_,l,f)};var pe=M(8674),he=M(1223),Ue=M(5847),Xe=M(2572),pt=M(2986),dn="comm",Qn="rule",Et="decl",xt="@import",It="@keyframes",Jn=Math.abs,ut=String.fromCharCode;function Cn(l){return l.trim()}function ni(l,f,_){return l.replace(f,_)}function Cs(l,f){return l.indexOf(f)}function nr(l,f){return 0|l.charCodeAt(f)}function Ao(l,f,_){return l.slice(f,_)}function dr(l){return l.length}function Au(l){return l.length}function cc(l,f){return f.push(l),l}function pd(l,f){for(var _="",x=Au(l),k=0;k2||cl(Mn)>3?"":" "}function Aa(l,f){for(;--f&&Ii()&&!(Mn<48||Mn>102||Mn>57&&Mn<65||Mn>70&&Mn<97););return Jo(l,ea()+(f<6&&32==xs()&&32==Ii()))}function ul(l){for(;Ii();)switch(Mn){case l:return Rn;case 34:case 39:34!==l&&39!==l&&ul(Mn);break;case 40:41===l&&ul(l);break;case 92:Ii()}return Rn}function bd(l,f){for(;Ii()&&l+Mn!==57&&(l+Mn!==84||47!==xs()););return"/*"+Jo(f,Rn-1)+"*"+ut(47===l?l:Ii())}function hl(l){for(;!cl(xs());)Ii();return Jo(l,Rn)}function ml(l){return function Iu(l){return kr="",l}(ur("",null,null,null,[""],l=function gd(l){return Mt=_n=1,xn=dr(kr=l),Rn=0,[]}(l),0,[0],l))}function ur(l,f,_,x,k,L,H,ne,se){for(var Ee=0,Qe=0,Me=H,Q=0,ke=0,qt=0,rn=1,pn=1,an=1,St=0,Pr="",$s=k,Ei=L,sr=x,oi=Pr;pn;)switch(qt=St,St=Ii()){case 40:if(108!=qt&&58==nr(oi,Me-1)){-1!=Cs(oi+=ni(dc(St),"&","&\f"),"&\f")&&(an=-1);break}case 34:case 39:case 91:oi+=dc(St);break;case 9:case 10:case 13:case 32:oi+=wi(qt);break;case 92:oi+=Aa(ea()-1,7);continue;case 47:switch(xs()){case 42:case 47:cc(Ia(bd(Ii(),ea()),f,_),se);break;default:oi+="/"}break;case 123*rn:ne[Ee++]=dr(oi)*an;case 125*rn:case 59:case 0:switch(St){case 0:case 125:pn=0;case 59+Qe:ke>0&&dr(oi)-Me&&cc(ke>32?Fa(oi+";",x,_,Me-1):Fa(ni(oi," ","")+";",x,_,Me-2),se);break;case 59:oi+=";";default:if(cc(sr=ta(oi,f,_,Ee,Qe,k,ne,Pr,$s=[],Ei=[],Me),L),123===St)if(0===Qe)ur(oi,f,sr,sr,$s,L,Me,ne,Ei);else switch(99===Q&&110===nr(oi,3)?100:Q){case 100:case 109:case 115:ur(l,sr,sr,x&&cc(ta(l,sr,sr,0,0,k,ne,Pr,k,$s=[],Me),Ei),k,Ei,Me,ne,x?$s:Ei);break;default:ur(oi,sr,sr,sr,[""],Ei,0,ne,Ei)}}Ee=Qe=ke=0,rn=an=1,Pr=oi="",Me=H;break;case 58:Me=1+dr(oi),ke=qt;default:if(rn<1)if(123==St)--rn;else if(125==St&&0==rn++&&125==(Mn=Rn>0?nr(kr,--Rn):0,_n--,10===Mn&&(_n=1,Mt--),Mn))continue;switch(oi+=ut(St),St*rn){case 38:an=Qe>0?1:(oi+="\f",-1);break;case 44:ne[Ee++]=(dr(oi)-1)*an,an=1;break;case 64:45===xs()&&(oi+=dc(Ii())),Q=xs(),Qe=Me=dr(Pr=oi+=hl(ea())),St++;break;case 45:45===qt&&2==dr(oi)&&(rn=0)}}return L}function ta(l,f,_,x,k,L,H,ne,se,Ee,Qe){for(var Me=k-1,Q=0===k?L:[""],ke=Au(Q),qt=0,rn=0,pn=0;qt0?Q[an]+" "+St:ni(St,/&\f/g,Q[an])))&&(se[pn++]=Pr);return Io(l,f,_,0===k?Qn:ne,se,Ee,Qe)}function Ia(l,f,_){return Io(l,f,_,dn,ut(function ll(){return Mn}()),Ao(l,2,-2),0)}function Fa(l,f,_,x){return Io(l,f,_,Et,Ao(l,0,x),Ao(l,x+1,-1),x)}var fl=M(9378);const ii={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Lt={trace:(...l)=>{},debug:(...l)=>{},info:(...l)=>{},warn:(...l)=>{},error:(...l)=>{},fatal:(...l)=>{}},pl=function(l="fatal"){let f=ii.fatal;"string"==typeof l?(l=l.toLowerCase())in ii&&(f=ii[l]):"number"==typeof l&&(f=l),Lt.trace=()=>{},Lt.debug=()=>{},Lt.info=()=>{},Lt.warn=()=>{},Lt.error=()=>{},Lt.fatal=()=>{},f<=ii.fatal&&(Lt.fatal=console.error?console.error.bind(console,jr("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",jr("FATAL"))),f<=ii.error&&(Lt.error=console.error?console.error.bind(console,jr("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",jr("ERROR"))),f<=ii.warn&&(Lt.warn=console.warn?console.warn.bind(console,jr("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",jr("WARN"))),f<=ii.info&&(Lt.info=console.info?console.info.bind(console,jr("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",jr("INFO"))),f<=ii.debug&&(Lt.debug=console.debug?console.debug.bind(console,jr("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",jr("DEBUG"))),f<=ii.trace&&(Lt.trace=console.debug?console.debug.bind(console,jr("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",jr("TRACE")))},jr=l=>`%c${re().format("ss.SSS")} : ${l} : `,ws=//gi,yd=(()=>{let l=!1;return()=>{l||(function Fi(){const l="data-temp-href-target";ae.addHook("beforeSanitizeAttributes",f=>{"A"===f.tagName&&f.hasAttribute("target")&&f.setAttribute(l,f.getAttribute("target")||"")}),ae.addHook("afterSanitizeAttributes",f=>{"A"===f.tagName&&f.hasAttribute(l)&&(f.setAttribute("target",f.getAttribute(l)||""),f.removeAttribute(l),"_blank"===f.getAttribute("target")&&f.setAttribute("rel","noopener"))})}(),l=!0)}})(),lo=l=>(yd(),ae.sanitize(l)),di=(l,f)=>{var _;if(!1!==(null==(_=f.flowchart)?void 0:_.htmlLabels)){const x=f.securityLevel;"antiscript"===x||"strict"===x?l=lo(l):"loose"!==x&&(l=(l=(l=_l(l)).replace(//g,">")).replace(/=/g,"="),l=Cd(l))}return l},ir=(l,f)=>l&&(f.dompurifyConfig?ae.sanitize(di(l,f),f.dompurifyConfig).toString():ae.sanitize(di(l,f),{FORBID_TAGS:["style"]}).toString()),Cd=l=>l.replace(/#br#/g,"
"),_l=l=>l.replace(ws,"#br#"),ia=l=>!(!1===l||["false","null","0"].includes(String(l).trim().toLowerCase())),bl=function(l){const f=l.split(/(,)/),_=[];for(let x=0;x0&&x+1Math.max(0,l.split(f).length-1),yl=(l,f)=>{const _=Oo(l,"~"),x=Oo(f,"~");return 1===_&&1===x},vl=l=>{const f=Oo(l,"~");let _=!1;if(f<=1)return l;f%2!=0&&l.startsWith("~")&&(l=l.substring(1),_=!0);const x=[...l];let k=x.indexOf("~"),L=x.lastIndexOf("~");for(;-1!==k&&-1!==L&&k!==L;)x[k]="<",x[L]=">",k=x.indexOf("~"),L=x.lastIndexOf("~");return _&&x.unshift("~"),x.join("")},hc=()=>void 0!==window.MathMLElement,Cl=/\$\$(.*)\$\$/g,xl=l=>{var f;return((null==(f=l.match(Cl))?void 0:f.length)??0)>0},mc=function(){var l=(0,j.Z)(function*(f,_){f=yield ra(f,_);const x=document.createElement("div");x.innerHTML=f,x.id="katex-temp",x.style.visibility="hidden",x.style.position="absolute",x.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",x);const L={width:x.clientWidth,height:x.clientHeight};return x.remove(),L});return function(_,x){return l.apply(this,arguments)}}(),ra=function(){var l=(0,j.Z)(function*(f,_){if(!xl(f))return f;if(!hc()&&!_.legacyMathML)return f.replace(Cl,"MathML is unsupported in this environment.");const{default:x}=yield M.e(751).then(M.bind(M,2751));return f.split(ws).map(k=>xl(k)?`\n
\n ${k}\n
\n `:`
${k}
`).join("").replace(Cl,(k,L)=>x.renderToString(L,{throwOnError:!0,displayMode:!0,output:hc()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,""))});return function(_,x){return l.apply(this,arguments)}}(),hr={getRows:l=>l?_l(l).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:ir,sanitizeTextOrArray:(l,f)=>"string"==typeof l?ir(l,f):l.flat().map(_=>ir(_,f)),hasBreaks:l=>ws.test(l),splitBreaks:l=>l.split(ws),lineBreakRegex:ws,removeScript:lo,getUrl:l=>{let f="";return l&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replaceAll(/\(/g,"\\("),f=f.replaceAll(/\)/g,"\\)")),f},evaluate:ia,getMax:function(...l){const f=l.filter(_=>!isNaN(_));return Math.max(...f)},getMin:function(...l){const f=l.filter(_=>!isNaN(_));return Math.min(...f)}},on=(l,f)=>S(l,f?{s:-40,l:10}:{s:-40,l:-10}),Ds="#ffffff",Ts="#f2f2f2",Wt=l=>{const f=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=S(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=on(this.primaryColor,this.darkMode),this.secondaryBorderColor=on(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=on(this.tertiaryColor,this.darkMode),this.primaryTextColor=Y(this.primaryColor),this.secondaryTextColor=Y(this.secondaryColor),this.tertiaryTextColor=Y(this.tertiaryColor),this.lineColor=Y(this.background),this.textColor=Y(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,oe.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var f,_,x,k,L,H,ne,se,Ee,Qe,Me;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,pe.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,pe.Z)(this.tertiaryColor,40);for(let Q=0;Q{this[x]=f[x]}),this.updateColors(),_.forEach(x=>{this[x]=f[x]})}};return f.calculate(l),f};class Pa{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,he.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=on(this.primaryColor,this.darkMode),this.secondaryBorderColor=on(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=on(this.tertiaryColor,this.darkMode),this.primaryTextColor=Y(this.primaryColor),this.secondaryTextColor=Y(this.secondaryColor),this.tertiaryTextColor=Y(this.tertiaryColor),this.lineColor=Y(this.background),this.textColor=Y(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var f,_,x,k,L,H,ne,se,Ee,Qe,Me;this.secondBkg=(0,he.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,he.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let Q=0;Q{this[x]=f[x]}),this.updateColors(),_.forEach(x=>{this[x]=f[x]})}}const Ti={base:{getThemeVariables:l=>{const f=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var f,_,x,k,L,H,ne,se,Ee,Qe,Me;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||S(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||S(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||on(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||on(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||on(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||on(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Y(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Y(this.tertiaryColor),this.lineColor=this.lineColor||Y(this.background),this.arrowheadColor=this.arrowheadColor||Y(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,pe.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,pe.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Y(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,he.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.darkMode)for(let ke=0;ke{this[x]=f[x]}),this.updateColors(),_.forEach(x=>{this[x]=f[x]})}};return f.calculate(l),f}},dark:{getThemeVariables:l=>{const f=new class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,he.Z)(this.primaryColor,16),this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=Y(this.background),this.secondaryBorderColor=on(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=on(this.tertiaryColor,this.darkMode),this.primaryTextColor=Y(this.primaryColor),this.secondaryTextColor=Y(this.secondaryColor),this.tertiaryTextColor=Y(this.tertiaryColor),this.lineColor=Y(this.background),this.textColor=Y(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,he.Z)(Y("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,oe.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,pe.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,pe.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,oe.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,oe.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var f,_,x,k,L,H,ne,se,Ee,Qe,Me;this.secondBkg=(0,he.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,he.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,he.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=S(this.primaryColor,{h:64}),this.fillType3=S(this.secondaryColor,{h:64}),this.fillType4=S(this.primaryColor,{h:-64}),this.fillType5=S(this.secondaryColor,{h:-64}),this.fillType6=S(this.primaryColor,{h:128}),this.fillType7=S(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330});for(let Q=0;Q{this[x]=f[x]}),this.updateColors(),_.forEach(x=>{this[x]=f[x]})}};return f.calculate(l),f}},default:{getThemeVariables:Wt},forest:{getThemeVariables:l=>{const f=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,he.Z)("#cde498",10),this.primaryBorderColor=on(this.primaryColor,this.darkMode),this.secondaryBorderColor=on(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=on(this.tertiaryColor,this.darkMode),this.primaryTextColor=Y(this.primaryColor),this.secondaryTextColor=Y(this.secondaryColor),this.tertiaryTextColor=Y(this.primaryColor),this.lineColor=Y(this.background),this.textColor=Y(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var f,_,x,k,L,H,ne,se,Ee,Qe,Me;this.actorBorder=(0,pe.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,pe.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,pe.Z)(this.tertiaryColor,40);for(let Q=0;Q{this[x]=f[x]}),this.updateColors(),_.forEach(x=>{this[x]=f[x]})}};return f.calculate(l),f}},neutral:{getThemeVariables:l=>{const f=new Pa;return f.calculate(l),f}}},Ce={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},Ra={...Ce,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Ti.default.getThemeVariables(),sequence:{...Ce.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Ce.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Ce.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Ce.pie,useWidth:984},xyChart:{...Ce.xyChart,useWidth:void 0},requirement:{...Ce.requirement,useWidth:void 0},gitGraph:{...Ce.gitGraph,useMaxWidth:!1},sankey:{...Ce.sankey,useMaxWidth:!1}},_t=(l,f="")=>Object.keys(l).reduce((_,x)=>Array.isArray(l[x])?_:"object"==typeof l[x]&&null!==l[x]?[..._,f+x,..._t(l[x],"")]:[..._,f+x],[]),wn=new Set(_t(Ra,"")),Es=Ra,ts=l=>{if(Lt.debug("sanitizeDirective called with",l),"object"==typeof l&&null!=l){if(Array.isArray(l))return void l.forEach(f=>ts(f));for(const f of Object.keys(l)){if(Lt.debug("Checking key",f),f.startsWith("__")||f.includes("proto")||f.includes("constr")||!wn.has(f)||null==l[f]){Lt.debug("sanitize deleting key: ",f),delete l[f];continue}if("object"==typeof l[f]){Lt.debug("sanitizing object",f),ts(l[f]);continue}const _=["themeCSS","fontFamily","altFontFamily"];for(const x of _)f.includes(x)&&(Lt.debug("sanitizing css option",f),l[f]=Ms(l[f]))}if(l.themeVariables)for(const f of Object.keys(l.themeVariables)){const _=l.themeVariables[f];_?.match&&!_.match(/^[\d "#%(),.;A-Za-z]+$/)&&(l.themeVariables[f]="")}Lt.debug("After sanitization",l)}},Ms=l=>{let f=0,_=0;for(const x of l){if(f<_)return"{ /* ERROR: Unbalanced CSS */ }";"{"===x?f++:"}"===x&&_++}return f!==_?"{ /* ERROR: Unbalanced CSS */ }":l},ks=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,mi=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,wl=/\s*%%.*\n/gm;class oa extends Error{constructor(f){super(f),this.name="UnknownDiagramError"}}const Ur={},mr=function(l,f){l=l.replace(ks,"").replace(mi,"").replace(wl,"\n");for(const[_,{detector:x}]of Object.entries(Ur))if(x(l,f))return _;throw new oa(`No diagram type detected matching given configuration for text: ${l}`)},fr=(...l)=>{for(const{id:f,detector:_,loader:x}of l)La(f,_,x)},La=(l,f,_)=>{Ur[l]?Lt.error(`Detector with key ${l} already exists`):Ur[l]={detector:f,loader:_},Lt.debug(`Detector with key ${l} added${_?" with loader":""}`)},pc=(l,f,{depth:_=2,clobber:x=!1}={})=>{const k={depth:_,clobber:x};return Array.isArray(f)&&!Array.isArray(l)?(f.forEach(L=>pc(l,L,k)),l):Array.isArray(f)&&Array.isArray(l)?(f.forEach(L=>{l.includes(L)||l.push(L)}),l):void 0===l||_<=0?null!=l&&"object"==typeof l&&"object"==typeof f?Object.assign(l,f):f:(void 0!==f&&"object"==typeof l&&"object"==typeof f&&Object.keys(f).forEach(L=>{"object"!=typeof f[L]||void 0!==l[L]&&"object"!=typeof l[L]?(x||"object"!=typeof l[L]&&"object"!=typeof f[L])&&(l[L]=f[L]):(void 0===l[L]&&(l[L]=Array.isArray(f[L])?[]:{}),l[L]=pc(l[L],f[L],{depth:_-1,clobber:x}))}),l)},fi=pc,gc="\u200b",Ro={curveBasis:z.$0Z,curveBasisClosed:z.Dts,curveBasisOpen:z.WQY,curveBumpX:z.qpX,curveBumpY:z.u93,curveBundle:z.tFB,curveCardinalClosed:z.OvA,curveCardinalOpen:z.dCK,curveCardinal:z.YY7,curveCatmullRomClosed:z.fGX,curveCatmullRomOpen:z.$m7,curveCatmullRom:z.zgE,curveLinear:z.c_6,curveLinearClosed:z.fxm,curveMonotoneX:z.FdL,curveMonotoneY:z.ak_,curveNatural:z.SxZ,curveStep:z.eA_,curveStepAfter:z.jsv,curveStepBefore:z.iJ},xd=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,kn=function(l,f=null){try{const _=new RegExp(`[%]{2}(?![{]${xd.source})(?=[}][%]{2}).*\n`,"ig");let x;l=l.trim().replace(_,"").replace(/'/gm,'"'),Lt.debug(`Detecting diagram directive${null!==f?" type:"+f:""} based on the text:${l}`);const k=[];for(;null!==(x=mi.exec(l));)if(x.index===mi.lastIndex&&mi.lastIndex++,x&&!f||f&&x[1]&&x[1].match(f)||f&&x[2]&&x[2].match(f)){const L=x[1]?x[1]:x[2],H=x[3]?x[3].trim():x[4]?JSON.parse(x[4].trim()):null;k.push({type:L,args:H})}return 0===k.length?{type:l,args:null}:1===k.length?k[0]:k}catch(_){return Lt.error(`ERROR: ${_.message} - Unable to parse directive type: '${f}' based on the text: '${l}'`),{type:void 0,args:null}}},_c=function(l){return l.replace(mi,"")};function Ft(l,f){if(!l)return f;const _=`curve${l.charAt(0).toUpperCase()+l.slice(1)}`;return Ro[_]??f}function Se(l,f){return l&&f?Math.sqrt(Math.pow(f.x-l.x,2)+Math.pow(f.y-l.y,2)):0}const yi=(l,f=2)=>{const _=Math.pow(10,f);return Math.round(l*_)/_},Ri=(l,f)=>{let _,x=f;for(const k of l){if(_){const L=Se(k,_);if(L=1)return{x:k.x,y:k.y};if(H>0&&H<1)return{x:yi((1-H)*_.x+H*k.x,5),y:yi((1-H)*_.y+H*k.y,5)}}}_=k}throw new Error("Could not find a suitable point for the given distance")};function pi(l){let f="",_="";for(const x of l)void 0!==x&&(x.startsWith("color:")||x.startsWith("text-align:")?_=_+x+";":f=f+x+";");return{style:f,labelStyle:_}}let pr=0;const gr=()=>(pr++,"id-"+Math.random().toString(36).substr(2,12)+"-"+pr),Kt=l=>function Qf(l){let f="";const _="0123456789abcdef",x=_.length;for(let k=0;k{if(!l||(_=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},_),hr.lineBreakRegex.test(l)))return l;const x=l.split(" "),k=[];let L="";return x.forEach((H,ne)=>{const se=Fn(`${H} `,_),Ee=Fn(L,_);if(se>f){const{hyphenatedStrings:Q,remainingWord:ke}=wd(H,f,"-",_);k.push(L,...Q),L=ke}else Ee+se>=f?(k.push(L),L=H):L=[L,H].filter(Boolean).join(" ");ne+1===x.length&&k.push(L)}),k.filter(H=>""!==H).join(_.joinWith)},(l,f,_)=>`${l}${f}${_.fontSize}${_.fontWeight}${_.fontFamily}${_.joinWith}`),wd=(0,Xe.Z)((l,f,_="-",x)=>{x=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},x);const k=[...l],L=[];let H="";return k.forEach((ne,se)=>{const Ee=`${H}${ne}`;Fn(Ee,x)>=f?(L.push(k.length===se+1?Ee:`${Ee}${_}`),H=""):H=Ee}),{hyphenatedStrings:L,remainingWord:H}},(l,f,_="-",x)=>`${l}${f}${_}${x.fontSize}${x.fontWeight}${x.fontFamily}`);function dm(l,f){return um(l,f).height}function Fn(l,f){return um(l,f).width}const um=(0,Xe.Z)((l,f)=>{const{fontSize:_=12,fontFamily:x="Arial",fontWeight:k=400}=f;if(!l)return{width:0,height:0};const[,L]=Md(_),H=["sans-serif",x],ne=l.split(hr.lineBreakRegex),se=[],Ee=(0,z.Ys)("body");if(!Ee.remove)return{width:0,height:0,lineHeight:0};const Qe=Ee.append("svg");for(const Q of H){let ke=0;const qt={width:0,height:0,lineHeight:0};for(const rn of ne){const pn={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};pn.text=rn||gc;const an=No(Qe,pn).style("font-size",L).style("font-weight",k).style("font-family",Q),St=(an._groups||an)[0][0].getBBox();if(0===St.width&&0===St.height)throw new Error("svg element not in render tree");qt.width=Math.round(Math.max(qt.width,St.width)),ke=Math.round(St.height),qt.height+=ke,qt.lineHeight=Math.round(Math.max(qt.lineHeight,ke))}se.push(qt)}return Qe.remove(),se[isNaN(se[1].height)||isNaN(se[1].width)||isNaN(se[1].lineHeight)||se[0].height>se[1].height&&se[0].width>se[1].width&&se[0].lineHeight>se[1].lineHeight?0:1]},(l,f)=>`${l}${f.fontSize}${f.fontWeight}${f.fontFamily}`);let Dd;function Td(l){return"str"in l}const Md=l=>{if("number"==typeof l)return[l,l+"px"];const f=parseInt(l??"",10);return Number.isNaN(f)?[void 0,void 0]:l===String(f)?[f,l+"px"]:[f,l]};function Pu(l,f){return(0,pt.Z)({},l,f)}const sa={assignWithDepth:fi,wrapLabel:Wr,calculateTextHeight:dm,calculateTextWidth:Fn,calculateTextDimensions:um,cleanAndMerge:Pu,detectInit:function(l,f){const _=kn(l,/(?:init\b)|(?:initialize\b)/);let x={};if(Array.isArray(_)){const H=_.map(ne=>ne.args);ts(H),x=fi(x,[...H])}else x=_.args;if(!x)return;let k=mr(l,f);const L="config";return void 0!==x[L]&&("flowchart-v2"===k&&(k="flowchart"),x[k]=x[L],delete x[L]),x},detectDirective:kn,isSubstringInArray:function(l,f){for(const[_,x]of f.entries())if(x.match(l))return _;return-1},interpolateToCurve:Ft,calcLabelPosition:function Pi(l){return 1===l.length?l[0]:function An(l){let f,_=0;return l.forEach(k=>{_+=Se(k,f),f=k}),Ri(l,_/2)}(l)},calcCardinalityPosition:(l,f,_)=>{Lt.info(`our points ${JSON.stringify(f)}`),f[0]!==_&&(f=f.reverse());const k=Ri(f,25),L=l?10:5,H=Math.atan2(f[0].y-k.y,f[0].x-k.x),ne={x:0,y:0};return ne.x=Math.sin(H)*L+(f[0].x+k.x)/2,ne.y=-Math.cos(H)*L+(f[0].y+k.y)/2,ne},calcTerminalLabelPosition:function Lo(l,f,_){const x=structuredClone(_);Lt.info("our points",x),"start_left"!==f&&"start_right"!==f&&x.reverse();const L=Ri(x,25+l),H=10+.5*l,ne=Math.atan2(x[0].y-L.y,x[0].x-L.x),se={x:0,y:0};return"start_left"===f?(se.x=Math.sin(ne+Math.PI)*H+(x[0].x+L.x)/2,se.y=-Math.cos(ne+Math.PI)*H+(x[0].y+L.y)/2):"end_right"===f?(se.x=Math.sin(ne-Math.PI)*H+(x[0].x+L.x)/2-5,se.y=-Math.cos(ne-Math.PI)*H+(x[0].y+L.y)/2-5):"end_left"===f?(se.x=Math.sin(ne)*H+(x[0].x+L.x)/2-5,se.y=-Math.cos(ne)*H+(x[0].y+L.y)/2-5):(se.x=Math.sin(ne)*H+(x[0].x+L.x)/2,se.y=-Math.cos(ne)*H+(x[0].y+L.y)/2),se},formatUrl:function B(l,f){const _=l.trim();if(_)return"loose"!==f.securityLevel?(0,q.N)(_):_},getStylesFromArray:pi,generateId:gr,random:Kt,runFunc:(l,...f)=>{const _=l.split("."),x=_.length-1,k=_[x];let L=window;for(let H=0;H{var k;if(!x)return;const L=null==(k=l.node())?void 0:k.getBBox();L&&l.append("text").text(x).attr("x",L.x+L.width/2).attr("y",-_).attr("class",f)},parseFontSize:Md,InitIDGenerator:class y_{constructor(f=!1,_){this.count=0,this.count=_?_.length:0,this.next=f?()=>this.count++:()=>Date.now()}}},Ss=function(l){return l.replace(/\ufb02\xb0\xb0/g,"&#").replace(/\ufb02\xb0/g,"&").replace(/\xb6\xdf/g,";")},ns=Object.freeze(Es);let aa,te=fi({},ns),qn=[],rr=fi({},ns);const Tl=(l,f)=>{let _=fi({},l),x={};for(const k of f)ho(k),x=fi(x,k);if(_=fi(_,x),x.theme&&x.theme in Ti){const k=fi({},aa),L=fi(k.themeVariables||{},x.themeVariables);_.theme&&_.theme in Ti&&(_.themeVariables=Ti[_.theme].getThemeVariables(L))}return rr=_,Sd(rr),rr},hm=()=>fi({},te),As=l=>(Sd(l),fi(rr,l),Li()),Li=()=>fi({},rr),ho=l=>{l&&(["secure",...te.secure??[]].forEach(f=>{Object.hasOwn(l,f)&&(Lt.debug(`Denied attempt to modify a secure key ${f}`,l[f]),delete l[f])}),Object.keys(l).forEach(f=>{f.startsWith("__")&&delete l[f]}),Object.keys(l).forEach(f=>{"string"==typeof l[f]&&(l[f].includes("<")||l[f].includes(">")||l[f].includes("url(data:"))&&delete l[f],"object"==typeof l[f]&&ho(l[f])}))},is=l=>{ts(l),l.fontFamily&&(!l.themeVariables||!l.themeVariables.fontFamily)&&(l.themeVariables={fontFamily:l.fontFamily}),qn.push(l),Tl(te,qn)},Sn=(l=te)=>{qn=[],Tl(l,qn)},kd={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},vc={},Sd=l=>{l&&(l.lazyLoadedDiagrams||l.loadExternalDiagramsAtStartup)&&(l=>{vc[l]||(Lt.warn(kd[l]),vc[l]=!0)})("LAZY_LOAD_DEPRECATED")},mm={id:"c4",detector:l=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(592),M.e(167)]).then(M.bind(M,8167));return{id:"c4",diagram:f}});return function(){return l.apply(this,arguments)}}()},Lu="flowchart",la={id:Lu,detector:(l,f)=>{var _,x;return"dagre-wrapper"!==(null==(_=f?.flowchart)?void 0:_.defaultRenderer)&&"elk"!==(null==(x=f?.flowchart)?void 0:x.defaultRenderer)&&/^\s*graph/.test(l)},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(627),M.e(65),M.e(38),M.e(547),M.e(903),M.e(592),M.e(270)]).then(M.bind(M,1270));return{id:Lu,diagram:f}});return function(){return l.apply(this,arguments)}}()},xe="flowchart-v2",_r={id:xe,detector:(l,f)=>{var _,x,k;return"dagre-d3"!==(null==(_=f?.flowchart)?void 0:_.defaultRenderer)&&"elk"!==(null==(x=f?.flowchart)?void 0:x.defaultRenderer)&&(!(!/^\s*graph/.test(l)||"dagre-wrapper"!==(null==(k=f?.flowchart)?void 0:k.defaultRenderer))||/^\s*flowchart/.test(l))},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(627),M.e(65),M.e(38),M.e(547),M.e(903),M.e(592),M.e(730)]).then(M.bind(M,4730));return{id:xe,diagram:f}});return function(){return l.apply(this,arguments)}}()},un={id:"er",detector:l=>/^\s*erDiagram/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(65),M.e(770)]).then(M.bind(M,8770));return{id:"er",diagram:f}});return function(){return l.apply(this,arguments)}}()},ri="gitGraph",kl={id:ri,detector:l=>/^\s*gitGraph/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(44).then(M.bind(M,8044));return{id:ri,diagram:f}});return function(){return l.apply(this,arguments)}}()},pm={id:"gantt",detector:l=>/^\s*gantt/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(831).then(M.bind(M,6831));return{id:"gantt",diagram:f}});return function(){return l.apply(this,arguments)}}()},br={id:"info",detector:l=>/^\s*info/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(919).then(M.bind(M,6919));return{id:"info",diagram:f}});return function(){return l.apply(this,arguments)}}()},wc={id:"pie",detector:l=>/^\s*pie/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(633).then(M.bind(M,4633));return{id:"pie",diagram:f}});return function(){return l.apply(this,arguments)}}()},Bu="quadrantChart",_m={id:Bu,detector:l=>/^\s*quadrantChart/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(463).then(M.bind(M,463));return{id:Bu,diagram:f}});return function(){return l.apply(this,arguments)}}()},Dc="xychart",v_={id:Dc,detector:l=>/^\s*xychart-beta/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(627),M.e(474)]).then(M.bind(M,474));return{id:Dc,diagram:f}});return function(){return l.apply(this,arguments)}}()},Yr="requirement",Fd={id:Yr,detector:l=>/^\s*requirement(Diagram)?/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(65),M.e(499)]).then(M.bind(M,2179));return{id:Yr,diagram:f}});return function(){return l.apply(this,arguments)}}()},Co="sequence",tp={id:Co,detector:l=>/^\s*sequenceDiagram/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(592),M.e(594)]).then(M.bind(M,7594));return{id:Co,diagram:f}});return function(){return l.apply(this,arguments)}}()},w_={id:"class",detector:(l,f)=>{var _;return"dagre-wrapper"!==(null==(_=f?.class)?void 0:_.defaultRenderer)&&/^\s*classDiagram/.test(l)},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(65),M.e(880),M.e(233)]).then(M.bind(M,2233));return{id:"class",diagram:f}});return function(){return l.apply(this,arguments)}}()},ip="classDiagram",D_={id:ip,detector:(l,f)=>{var _;return!(!/^\s*classDiagram/.test(l)||"dagre-wrapper"!==(null==(_=f?.class)?void 0:_.defaultRenderer))||/^\s*classDiagram-v2/.test(l)},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(627),M.e(65),M.e(38),M.e(547),M.e(880),M.e(165)]).then(M.bind(M,3165));return{id:ip,diagram:f}});return function(){return l.apply(this,arguments)}}()},T_={id:"state",detector:(l,f)=>{var _;return"dagre-wrapper"!==(null==(_=f?.state)?void 0:_.defaultRenderer)&&/^\s*stateDiagram/.test(l)},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(65),M.e(839),M.e(325)]).then(M.bind(M,9325));return{id:"state",diagram:f}});return function(){return l.apply(this,arguments)}}()},sp="stateDiagram",ci={id:sp,detector:(l,f)=>{var _;return!!(/^\s*stateDiagram-v2/.test(l)||/^\s*stateDiagram/.test(l)&&"dagre-wrapper"===(null==(_=f?.state)?void 0:_.defaultRenderer))},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(627),M.e(65),M.e(38),M.e(547),M.e(839),M.e(400)]).then(M.bind(M,8400));return{id:sp,diagram:f}});return function(){return l.apply(this,arguments)}}()},Hu="journey",vm={id:Hu,detector:l=>/^\s*journey/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(592),M.e(820)]).then(M.bind(M,6881));return{id:Hu,diagram:f}});return function(){return l.apply(this,arguments)}}()},$u=function(l,f,_,x){const k=function(l,f,_){let x=new Map;return _?(x.set("width","100%"),x.set("style",`max-width: ${f}px;`)):(x.set("height",l),x.set("width",f)),x}(f,_,x);!function(l,f){for(let _ of f)l.attr(_[0],_[1])}(l,k)},fo=function(l,f,_,x){const k=f.node().getBBox(),L=k.width,H=k.height;Lt.info(`SVG bounds: ${L}x${H}`,k);let ne=0,se=0;Lt.info(`Graph bounds: ${ne}x${se}`,l),ne=L+2*_,se=H+2*_,Lt.info(`Calculated bounds: ${ne}x${se}`),$u(f,se,ne,x),f.attr("viewBox",`${k.x-_} ${k.y-_} ${k.width+2*_} ${k.height+2*_}`)},po={};let Ec="",Kr="",ju="";const Od=l=>ir(l,Li()),Ba=()=>{Ec="",ju="",Kr=""},Xr=l=>{Ec=Od(l).replace(/^\s+/g,"")},Uu=()=>Ec,Va=l=>{ju=Od(l).replace(/\n\s+/g,"\n")},Ha=()=>ju,Qr=l=>{Kr=Od(l)},Pd=()=>Kr,Vi=Object.freeze(Object.defineProperty({__proto__:null,clear:Ba,getAccDescription:Ha,getAccTitle:Uu,getDiagramTitle:Pd,setAccDescription:Va,setAccTitle:Xr,setDiagramTitle:Qr},Symbol.toStringTag,{value:"Module"})),kt=Lt,Wu=pl,Mc=Li,Rd=As,Ld=ns,cp=l=>ir(l,Mc()),Vo=fo,kc={},Te=(l,f,_)=>{var x;if(kc[l])throw new Error(`Diagram ${l} already registered.`);kc[l]=f,_&&La(l,_),((l,f)=>{void 0!==f&&(po[l]=f)})(l,f.styles),null==(x=f.injectUtils)||x.call(f,kt,Wu,Mc,cp,Vo,Vi,()=>{})},Tn=l=>{if(l in kc)return kc[l];throw new He(l)};class He extends Error{constructor(f){super(`Diagram ${f} not found.`)}}const je=l=>{var f;const{securityLevel:_}=Mc();let x=(0,z.Ys)("body");if("sandbox"===_){const H=(null==(f=(0,z.Ys)(`#i${l}`).node())?void 0:f.contentDocument)??document;x=(0,z.Ys)(H.body)}return x.select(`#${l}`)},Gu={draw:(l,f,_)=>{Lt.debug("rendering svg for syntax error\n");const x=je(f),k=x.append("g");x.attr("viewBox","0 0 2412 512"),$u(x,100,512,!0),k.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),k.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),k.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),k.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),k.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),k.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),k.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),k.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${_}`)}},za=Gu,wm={db:{},renderer:Gu,parser:{parser:{yy:{}},parse:()=>{}}},Zu="flowchart-elk",Fr={id:Zu,detector:(l,f)=>{var _;return!!(/^\s*flowchart-elk/.test(l)||/^\s*flowchart|graph/.test(l)&&"elk"===(null==(_=f?.flowchart)?void 0:_.defaultRenderer))},loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(627),M.e(38),M.e(903),M.e(690)]).then(M.bind(M,5690));return{id:Zu,diagram:f}});return function(){return l.apply(this,arguments)}}()},os="timeline",dp={id:os,detector:l=>/^\s*timeline/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(609).then(M.bind(M,2609));return{id:os,diagram:f}});return function(){return l.apply(this,arguments)}}()},Ku="mindmap",Bd={id:Ku,detector:l=>/^\s*mindmap/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(627),M.e(728)]).then(M.bind(M,9728));return{id:Ku,diagram:f}});return function(){return l.apply(this,arguments)}}()},eh={id:"sankey",detector:l=>/^\s*sankey-beta/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield M.e(917).then(M.bind(M,7917));return{id:"sankey",diagram:f}});return function(){return l.apply(this,arguments)}}()},Ac={id:"block",detector:l=>/^\s*block-beta/.test(l),loader:function(){var l=(0,j.Z)(function*(){const{diagram:f}=yield Promise.all([M.e(634),M.e(627),M.e(38),M.e(592),M.e(407)]).then(M.bind(M,7772));return{id:"block",diagram:f}});return function(){return l.apply(this,arguments)}}()};let zd=!1;const Ic=()=>{zd||(zd=!0,Te("error",wm,l=>"error"===l.toLowerCase().trim()),Te("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},l=>l.toLowerCase().trimStart().startsWith("---")),fr(mm,D_,w_,un,pm,br,wc,Fd,tp,Fr,_r,la,Bd,dp,kl,ci,T_,vm,_m,eh,v_,Ac))};class qi{constructor(f,_={}){this.text=f,this.metadata=_,this.type="graph",this.text=function(l){let f=l;return f=f.replace(/style.*:\S*#.*;/g,function(_){return _.substring(0,_.length-1)}),f=f.replace(/classDef.*:\S*#.*;/g,function(_){return _.substring(0,_.length-1)}),f=f.replace(/#\w+;/g,function(_){const x=_.substring(1,_.length-1);return/^\+?\d+$/.test(x)?"\ufb02\xb0\xb0"+x+"\xb6\xdf":"\ufb02\xb0"+x+"\xb6\xdf"}),f}(f),this.text+="\n";const x=Li();try{this.type=mr(f,x)}catch(L){this.type="error",this.detectError=L}const k=Tn(this.type);Lt.debug("Type "+this.type),this.db=k.db,this.renderer=k.renderer,this.parser=k.parser,this.parser.parser.yy=this.db,this.init=k.init,this.parse()}parse(){var f,_,x,k,L;if(this.detectError)throw this.detectError;null==(_=(f=this.db).clear)||_.call(f);const H=Li();null==(x=this.init)||x.call(this,H),this.metadata.title&&(null==(L=(k=this.db).setDiagramTitle)||L.call(k,this.metadata.title)),this.parser.parse(this.text)}render(f,_){var x=this;return(0,j.Z)(function*(){yield x.renderer.draw(x.text,f,_,x)})()}getParser(){return this.parser}getType(){return this.type}}const da=function(){var l=(0,j.Z)(function*(f,_={}){const x=mr(f,Li());try{Tn(x)}catch{const L=(l=>Ur[l].loader)(x);if(!L)throw new oa(`Diagram ${x} not found.`);const{id:H,diagram:ne}=yield L();Te(H,ne)}return new qi(f,_)});return function(_){return l.apply(this,arguments)}}();let gi=[];const hp=l=>l.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function mp(l){return typeof l>"u"||null===l}var vr={isNothing:mp,isObject:function jd(l){return"object"==typeof l&&null!==l},toArray:function ja(l){return Array.isArray(l)?l:mp(l)?[]:[l]},repeat:function Ud(l,f){var x,_="";for(x=0;xne&&(f=x-ne+(L=" ... ").length),_-x>ne&&(_=x+ne-(H=" ...").length),{str:L+l.slice(f,_).replace(/\t/g,"\u2192")+H,pos:x-f+L.length}}function Oc(l,f){return vr.repeat(" ",f-l.length)+l}var km=function Pc(l,f){if(f=Object.create(f||null),!l.buffer)return null;f.maxLength||(f.maxLength=79),"number"!=typeof f.indent&&(f.indent=1),"number"!=typeof f.linesBefore&&(f.linesBefore=3),"number"!=typeof f.linesAfter&&(f.linesAfter=2);for(var L,_=/\r?\n|\r|\0/g,x=[0],k=[],H=-1;L=_.exec(l.buffer);)k.push(L.index),x.push(L.index+L[0].length),l.position<=L.index&&H<0&&(H=x.length-2);H<0&&(H=x.length-1);var se,Ee,ne="",Qe=Math.min(l.line+f.linesAfter,k.length).toString().length,Me=f.maxLength-(f.indent+Qe+3);for(se=1;se<=f.linesBefore&&!(H-se<0);se++)Ee=Mm(l.buffer,x[H-se],k[H-se],l.position-(x[H]-x[H-se]),Me),ne=vr.repeat(" ",f.indent)+Oc((l.line-se+1).toString(),Qe)+" | "+Ee.str+"\n"+ne;for(Ee=Mm(l.buffer,x[H],k[H],l.position,Me),ne+=vr.repeat(" ",f.indent)+Oc((l.line+1).toString(),Qe)+" | "+Ee.str+"\n",ne+=vr.repeat("-",f.indent+Qe+3+Ee.pos)+"^\n",se=1;se<=f.linesAfter&&!(H+se>=k.length);se++)Ee=Mm(l.buffer,x[H+se],k[H+se],l.position-(x[H]-x[H+se]),Me),ne+=vr.repeat(" ",f.indent)+Oc((l.line+se+1).toString(),Qe)+" | "+Ee.str+"\n";return ne.replace(/\n$/,"")},Wa=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Gd=["scalar","sequence","mapping"],Yi=function Zd(l,f){if(f=f||{},Object.keys(f).forEach(function(_){if(-1===Wa.indexOf(_))throw new ha('Unknown option "'+_+'" is met in definition of "'+l+'" YAML type.')}),this.options=f,this.tag=l,this.kind=f.kind||null,this.resolve=f.resolve||function(){return!0},this.construct=f.construct||function(_){return _},this.instanceOf=f.instanceOf||null,this.predicate=f.predicate||null,this.represent=f.represent||null,this.representName=f.representName||null,this.defaultStyle=f.defaultStyle||null,this.multi=f.multi||!1,this.styleAliases=function Rc(l){var f={};return null!==l&&Object.keys(l).forEach(function(_){l[_].forEach(function(x){f[String(x)]=_})}),f}(f.styleAliases||null),-1===Gd.indexOf(this.kind))throw new ha('Unknown kind "'+this.kind+'" is specified for "'+l+'" YAML type.')};function Lc(l,f){var _=[];return l[f].forEach(function(x){var k=_.length;_.forEach(function(L,H){L.tag===x.tag&&L.kind===x.kind&&L.multi===x.multi&&(k=H)}),_[k]=x}),_}function Nc(l){return this.extend(l)}Nc.prototype.extend=function(f){var _=[],x=[];if(f instanceof Yi)x.push(f);else if(Array.isArray(f))x=x.concat(f);else{if(!f||!Array.isArray(f.implicit)&&!Array.isArray(f.explicit))throw new ha("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");f.implicit&&(_=_.concat(f.implicit)),f.explicit&&(x=x.concat(f.explicit))}_.forEach(function(L){if(!(L instanceof Yi))throw new ha("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(L.loadKind&&"scalar"!==L.loadKind)throw new ha("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(L.multi)throw new ha("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),x.forEach(function(L){if(!(L instanceof Yi))throw new ha("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var k=Object.create(Nc.prototype);return k.implicit=(this.implicit||[]).concat(_),k.explicit=(this.explicit||[]).concat(x),k.compiledImplicit=Lc(k,"implicit"),k.compiledExplicit=Lc(k,"explicit"),k.compiledTypeMap=function rh(){var f,_,l={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function x(k){k.multi?(l.multi[k.kind].push(k),l.multi.fallback.push(k)):l[k.kind][k.tag]=l.fallback[k.tag]=k}for(f=0,_=arguments.length;f<_;f+=1)arguments[f].forEach(x);return l}(k.compiledImplicit,k.compiledExplicit),k};var as=new Nc({explicit:[new Yi("tag:yaml.org,2002:str",{kind:"scalar",construct:function(l){return null!==l?l:""}}),new Yi("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(l){return null!==l?l:[]}}),new Yi("tag:yaml.org,2002:map",{kind:"mapping",construct:function(l){return null!==l?l:{}}})]}),Am=new Yi("tag:yaml.org,2002:null",{kind:"scalar",resolve:function F_(l){if(null===l)return!0;var f=l.length;return 1===f&&"~"===l||4===f&&("null"===l||"Null"===l||"NULL"===l)},construct:function Bc(){return null},predicate:function oh(l){return null===l},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Im=new Yi("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function sh(l){if(null===l)return!1;var f=l.length;return 4===f&&("true"===l||"True"===l||"TRUE"===l)||5===f&&("false"===l||"False"===l||"FALSE"===l)},construct:function ah(l){return"true"===l||"True"===l||"TRUE"===l},predicate:function lh(l){return"[object Boolean]"===Object.prototype.toString.call(l)},represent:{lowercase:function(l){return l?"true":"false"},uppercase:function(l){return l?"TRUE":"FALSE"},camelcase:function(l){return l?"True":"False"}},defaultStyle:"lowercase"});function Fm(l){return 48<=l&&l<=57||65<=l&&l<=70||97<=l&&l<=102}function Om(l){return 48<=l&&l<=55}function ch(l){return 48<=l&&l<=57}var bp=new Yi("tag:yaml.org,2002:int",{kind:"scalar",resolve:function Ol(l){if(null===l)return!1;var k,f=l.length,_=0,x=!1;if(!f)return!1;if(("-"===(k=l[_])||"+"===k)&&(k=l[++_]),"0"===k){if(_+1===f)return!0;if("b"===(k=l[++_])){for(_++;_=0?"0b"+l.toString(2):"-0b"+l.toString(2).slice(1)},octal:function(l){return l>=0?"0o"+l.toString(8):"-0o"+l.toString(8).slice(1)},decimal:function(l){return l.toString(10)},hexadecimal:function(l){return l>=0?"0x"+l.toString(16).toUpperCase():"-0x"+l.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Pm=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Rm=/^[-+]?[0-9]+e/,uh=new Yi("tag:yaml.org,2002:float",{kind:"scalar",resolve:function dh(l){return!(null===l||!Pm.test(l)||"_"===l[l.length-1])},construct:function Rl(l){var f,_;return _="-"===(f=l.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(f[0])>=0&&(f=f.slice(1)),".inf"===f?1===_?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===f?NaN:_*parseFloat(f,10)},predicate:function Ll(l){return"[object Number]"===Object.prototype.toString.call(l)&&(l%1!=0||vr.isNegativeZero(l))},represent:function Yn(l,f){var _;if(isNaN(l))switch(f){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===l)switch(f){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===l)switch(f){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(vr.isNegativeZero(l))return"-0.0";return _=l.toString(10),Rm.test(_)?_.replace("e",".e"):_},defaultStyle:"lowercase"}),hh=as.extend({implicit:[Am,Im,bp,uh]}),go=hh,xo=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Za=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),qa=new Yi("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function Nl(l){return null!==l&&(null!==xo.exec(l)||null!==Za.exec(l))},construct:function Lm(l){var f,_,x,k,L,H,ne,Q,se=0,Ee=null;if(null===(f=xo.exec(l))&&(f=Za.exec(l)),null===f)throw new Error("Date resolve error");if(_=+f[1],x=+f[2]-1,k=+f[3],!f[4])return new Date(Date.UTC(_,x,k));if(L=+f[4],H=+f[5],ne=+f[6],f[7]){for(se=f[7].slice(0,3);se.length<3;)se+="0";se=+se}return f[9]&&(Ee=6e4*(60*+f[10]+ +(f[11]||0)),"-"===f[9]&&(Ee=-Ee)),Q=new Date(Date.UTC(_,x,k,L,H,ne,se)),Ee&&Q.setTime(Q.getTime()-Ee),Q},instanceOf:Date,represent:function mh(l){return l.toISOString()}}),Nm=new Yi("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function O_(l){return"<<"===l||null===l}}),ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",fh=new Yi("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function yp(l){if(null===l)return!1;var f,_,x=0,k=l.length,L=ye;for(_=0;_64)){if(f<0)return!1;x+=6}return x%8==0},construct:function vp(l){var f,_,x=l.replace(/[\r\n=]/g,""),k=x.length,L=ye,H=0,ne=[];for(f=0;f>16&255),ne.push(H>>8&255),ne.push(255&H)),H=H<<6|L.indexOf(x.charAt(f));return 0==(_=k%4*6)?(ne.push(H>>16&255),ne.push(H>>8&255),ne.push(255&H)):18===_?(ne.push(H>>10&255),ne.push(H>>2&255)):12===_&&ne.push(H>>4&255),new Uint8Array(ne)},predicate:function P_(l){return"[object Uint8Array]"===Object.prototype.toString.call(l)},represent:function Cp(l){var x,k,f="",_=0,L=l.length,H=ye;for(x=0;x>18&63],f+=H[_>>12&63],f+=H[_>>6&63],f+=H[63&_]),_=(_<<8)+l[x];return 0==(k=L%3)?(f+=H[_>>18&63],f+=H[_>>12&63],f+=H[_>>6&63],f+=H[63&_]):2===k?(f+=H[_>>10&63],f+=H[_>>4&63],f+=H[_<<2&63],f+=H[64]):1===k&&(f+=H[_>>2&63],f+=H[_<<4&63],f+=H[64],f+=H[64]),f}}),xp=Object.prototype.hasOwnProperty,wp=Object.prototype.toString,L_=new Yi("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function Vc(l){if(null===l)return!0;var _,x,k,L,H,f=[],ne=l;for(_=0,x=ne.length;_>10),56320+(l-65536&1023))}for(var us=new Array(256),Bs=new Array(256),ga=0;ga<256;ga++)us[ga]=Mp(ga)?1:0,Bs[ga]=Mp(ga);function Vm(l,f){this.input=l,this.filename=f.filename||null,this.schema=f.schema||Hl,this.onWarning=f.onWarning||null,this.legacy=f.legacy||!1,this.json=f.json||!1,this.listener=f.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=l.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function _a(l,f){var _={name:l.filename,buffer:l.input.slice(0,-1),position:l.position,line:l.line,column:l.position-l.lineStart};return _.snippet=km(_),new ha(f,_)}function wt(l,f){throw _a(l,f)}function Vs(l,f){l.onWarning&&l.onWarning.call(null,_a(l,f))}var kp={YAML:function(f,_,x){var k,L,H;null!==f.version&&wt(f,"duplication of %YAML directive"),1!==x.length&&wt(f,"YAML directive accepts exactly one argument"),null===(k=/^([0-9]+)\.([0-9]+)$/.exec(x[0]))&&wt(f,"ill-formed argument of the YAML directive"),L=parseInt(k[1],10),H=parseInt(k[2],10),1!==L&&wt(f,"unacceptable YAML version of the document"),f.version=x[0],f.checkLineBreaks=H<2,1!==H&&2!==H&&Vs(f,"unsupported YAML version of the document")},TAG:function(f,_,x){var k,L;2!==x.length&&wt(f,"TAG directive accepts exactly two arguments"),L=x[1],Dp.test(k=x[0])||wt(f,"ill-formed tag handle (first argument) of the TAG directive"),cs.call(f.tagMap,k)&&wt(f,'there is a previously declared suffix for "'+k+'" tag handle'),$c.test(L)||wt(f,"ill-formed tag prefix (second argument) of the TAG directive");try{L=decodeURIComponent(L)}catch{wt(f,"tag prefix is malformed: "+L)}f.tagMap[k]=L}};function $l(l,f,_,x){var k,L,H,ne;if(f<_){if(ne=l.input.slice(f,_),x)for(k=0,L=ne.length;k1&&(l.result+=vr.repeat("\n",f-1))}function _h(l,f){var _,se,x=l.tag,k=l.anchor,L=[],ne=!1;if(-1!==l.firstTabInLine)return!1;for(null!==l.anchor&&(l.anchorMap[l.anchor]=L),se=l.input.charCodeAt(l.position);0!==se&&(-1!==l.firstTabInLine&&(l.position=l.firstTabInLine,wt(l,"tab characters must not be used in indentation")),45===se&&vi(l.input.charCodeAt(l.position+1)));)if(ne=!0,l.position++,$i(l,!0,-1)&&l.lineIndent<=f)L.push(null),se=l.input.charCodeAt(l.position);else if(_=l.line,Kd(l,f,zi,!1,!0),L.push(l.result),$i(l,!0,-1),se=l.input.charCodeAt(l.position),(l.line===_||l.lineIndent>f)&&0!==se)wt(l,"bad indentation of a sequence entry");else if(l.lineIndentf?se=1:l.lineIndent===f?se=0:l.lineIndentf?se=1:l.lineIndent===f?se=0:l.lineIndentf)&&(pn&&(H=l.line,ne=l.lineStart,se=l.position),Kd(l,f,Ni,!0,k)&&(pn?qt=l.result:rn=l.result),pn||(jc(l,Me,Q,ke,qt,rn,H,ne,se),ke=qt=rn=null),$i(l,!0,-1),St=l.input.charCodeAt(l.position)),(l.line===L||l.lineIndent>f)&&0!==St)wt(l,"bad indentation of a mapping entry");else if(l.lineIndent=0))break;0===Qe?wt(l,"bad explicit indentation width of a block scalar; it cannot be less than one"):H?wt(l,"repeat of an indentation width identifier"):(ne=f+Qe-1,H=!0)}if(ma(Me)){do{Me=l.input.charCodeAt(++l.position)}while(ma(Me));if(35===Me)do{Me=l.input.charCodeAt(++l.position)}while(!zo(Me)&&0!==Me)}for(;0!==Me;){for(Sp(l),l.lineIndent=0,Me=l.input.charCodeAt(l.position);(!H||l.lineIndentne&&(ne=l.lineIndent),zo(Me))se++;else{if(l.lineIndent0){for(k=H,L=0;k>0;k--)(H=ds(ne=l.input.charCodeAt(++l.position)))>=0?L=(L<<4)+H:wt(l,"expected hexadecimal character");l.result+=pa(L),l.position++}else wt(l,"unknown escape sequence");_=x=l.position}else zo(ne)?($l(l,_,x,!0),Hs(l,$i(l,!1,f)),_=x=l.position):l.position===l.lineStart&&gh(l)?wt(l,"unexpected end of the document within a double quoted scalar"):(l.position++,x=l.position)}wt(l,"unexpected end of the stream within a double quoted scalar")}(l,rn)?Qe=!0:function $m(l){var f,_,x;if(42!==(x=l.input.charCodeAt(l.position)))return!1;for(x=l.input.charCodeAt(++l.position),f=l.position;0!==x&&!vi(x)&&!fa(x);)x=l.input.charCodeAt(++l.position);return l.position===f&&wt(l,"name of an alias node must contain at least one character"),_=l.input.slice(f,l.position),cs.call(l.anchorMap,_)||wt(l,'unidentified alias "'+_+'"'),l.result=l.anchorMap[_],$i(l,!0,-1),!0}(l)?(Qe=!0,(null!==l.tag||null!==l.anchor)&&wt(l,"alias node should not have any properties")):function jl(l,f,_){var k,L,H,ne,se,Ee,Qe,ke,Me=l.kind,Q=l.result;if(vi(ke=l.input.charCodeAt(l.position))||fa(ke)||35===ke||38===ke||42===ke||33===ke||124===ke||62===ke||39===ke||34===ke||37===ke||64===ke||96===ke||(63===ke||45===ke)&&(vi(k=l.input.charCodeAt(l.position+1))||_&&fa(k)))return!1;for(l.kind="scalar",l.result="",L=H=l.position,ne=!1;0!==ke;){if(58===ke){if(vi(k=l.input.charCodeAt(l.position+1))||_&&fa(k))break}else if(35===ke){if(vi(l.input.charCodeAt(l.position-1)))break}else{if(l.position===l.lineStart&&gh(l)||_&&fa(ke))break;if(zo(ke)){if(se=l.line,Ee=l.lineStart,Qe=l.lineIndent,$i(l,!1,-1),l.lineIndent>=f){ne=!0,ke=l.input.charCodeAt(l.position);continue}l.position=H,l.line=se,l.lineStart=Ee,l.lineIndent=Qe;break}}ne&&($l(l,L,H,!1),Hs(l,l.line-se),L=H=l.position,ne=!1),ma(ke)||(H=l.position+1),ke=l.input.charCodeAt(++l.position)}return $l(l,L,H,!1),!!l.result||(l.kind=Me,l.result=Q,!1)}(l,rn,Hc===_)&&(Qe=!0,null===l.tag&&(l.tag="?")),null!==l.anchor&&(l.anchorMap[l.anchor]=l.result)):0===se&&(Qe=ne&&_h(l,pn))),null===l.tag)null!==l.anchor&&(l.anchorMap[l.anchor]=l.result);else if("?"===l.tag){for(null!==l.result&&"scalar"!==l.kind&&wt(l,'unacceptable node kind for ! tag; it should be "scalar", not "'+l.kind+'"'),Me=0,Q=l.implicitTypes.length;Me"),null!==l.result&&qt.kind!==l.kind&&wt(l,"unacceptable node kind for !<"+l.tag+'> tag; it should be "'+qt.kind+'", not "'+l.kind+'"'),qt.resolve(l.result,l.tag)?(l.result=qt.construct(l.result,l.tag),null!==l.anchor&&(l.anchorMap[l.anchor]=l.result)):wt(l,"cannot resolve a node with !<"+l.tag+"> explicit tag")}return null!==l.listener&&l.listener("close",l),null!==l.tag||null!==l.anchor||Qe}function Cv(l){var _,x,k,H,f=l.position,L=!1;for(l.version=null,l.checkLineBreaks=l.legacy,l.tagMap=Object.create(null),l.anchorMap=Object.create(null);0!==(H=l.input.charCodeAt(l.position))&&($i(l,!0,-1),H=l.input.charCodeAt(l.position),!(l.lineIndent>0||37!==H));){for(L=!0,H=l.input.charCodeAt(++l.position),_=l.position;0!==H&&!vi(H);)H=l.input.charCodeAt(++l.position);for(k=[],(x=l.input.slice(_,l.position)).length<1&&wt(l,"directive name must not be less than one character in length");0!==H;){for(;ma(H);)H=l.input.charCodeAt(++l.position);if(35===H){do{H=l.input.charCodeAt(++l.position)}while(0!==H&&!zo(H));break}if(zo(H))break;for(_=l.position;0!==H&&!vi(H);)H=l.input.charCodeAt(++l.position);k.push(l.input.slice(_,l.position))}0!==H&&Sp(l),cs.call(kp,x)?kp[x](l,x,k):Vs(l,'unknown document directive "'+x+'"')}$i(l,!0,-1),0===l.lineIndent&&45===l.input.charCodeAt(l.position)&&45===l.input.charCodeAt(l.position+1)&&45===l.input.charCodeAt(l.position+2)?(l.position+=3,$i(l,!0,-1)):L&&wt(l,"directives end mark is expected"),Kd(l,l.lineIndent-1,Ni,!1,!0),$i(l,!0,-1),l.checkLineBreaks&&B_.test(l.input.slice(f,l.position))&&Vs(l,"non-ASCII line breaks are interpreted as content"),l.documents.push(l.result),l.position===l.lineStart&&gh(l)?46===l.input.charCodeAt(l.position)&&(l.position+=3,$i(l,!0,-1)):l.positionl.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(f,_,x)=>"<"+_+x.replace(/="([^"]*)"/g,"='$1'")+">"),vh=l=>{const{text:f,metadata:_}=function hs(l){const f=l.match(ks);if(!f)return{text:l,metadata:{}};let _=Fp(f[1],{schema:zs})??{};_="object"!=typeof _||Array.isArray(_)?{}:_;const x={};return _.displayMode&&(x.displayMode=_.displayMode.toString()),_.title&&(x.title=_.title.toString()),_.config&&(x.config=_.config),{text:l.slice(f[0].length),metadata:x}}(l),{displayMode:x,title:k,config:L={}}=_;return x&&(L.gantt||(L.gantt={}),L.gantt.displayMode=x),{title:k,config:L,text:f}},Pp=l=>{const f=sa.detectInit(l)??{},_=sa.detectDirective(l,"wrap");return Array.isArray(_)?f.wrap=_.some(({})=>{}):"wrap"===_?.type&&(f.wrap=!0),{text:_c(l),directive:f}};function Jr(l){const f=Op(l),_=vh(f),x=Pp(_.text),k=Pu(_.config,x.directive);return{code:l=hp(x.text),title:_.title,config:k}}const Ul=["foreignobject"],xh=["dominant-baseline"];function or(l){const f=Jr(l);return Sn(),is(f.config??{}),f}function Qd(){return(Qd=(0,j.Z)(function*(l,f){Ic(),l=or(l).code;try{yield Zc(l)}catch(_){if(f?.suppressErrors)return!1;throw _}return!0})).apply(this,arguments)}const wh=(l,f,_=[])=>`\n.${l} ${f} { ${_.join(" !important; ")} !important; }`,Dh=(l,f,_,x)=>{const k=((l,f={})=>{var _;let x="";if(void 0!==l.themeCSS&&(x+=`\n${l.themeCSS}`),void 0!==l.fontFamily&&(x+=`\n:root { --mermaid-font-family: ${l.fontFamily}}`),void 0!==l.altFontFamily&&(x+=`\n:root { --mermaid-alt-font-family: ${l.altFontFamily}}`),!(0,fl.Z)(f)){const ne=l.htmlLabels||(null==(_=l.flowchart)?void 0:_.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const se in f){const Ee=f[se];(0,fl.Z)(Ee.styles)||ne.forEach(Qe=>{x+=wh(Ee.id,Qe,Ee.styles)}),(0,fl.Z)(Ee.textStyles)||(x+=wh(Ee.id,"tspan",Ee.textStyles))}}return x})(l,_);return pd(ml(`${x}{${((l,f,_)=>{let x="";return l in po&&po[l]?x=po[l](_):Lt.warn(`No theme found for ${l}`),` & {\n font-family: ${_.fontFamily};\n font-size: ${_.fontSize};\n fill: ${_.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${_.errorBkgColor};\n }\n & .error-text {\n fill: ${_.errorTextColor};\n stroke: ${_.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${_.lineColor};\n stroke: ${_.lineColor};\n }\n & .marker.cross {\n stroke: ${_.lineColor};\n }\n\n & svg {\n font-family: ${_.fontFamily};\n font-size: ${_.fontSize};\n }\n\n ${x}\n\n ${f}\n`})(f,k,l.themeVariables)}}`),En)},Zm=(l,f,_,x,k)=>{const L=l.append("div");L.attr("id",_),x&&L.attr("style",x);const H=L.append("svg").attr("id",f).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return k&&H.attr("xmlns:xlink",k),H.append("g"),l};function Jd(l,f){return l.append("iframe").attr("id",f).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const qm=function(){var l=(0,j.Z)(function*(f,_,x){var k,L,H,ne,se,Ee;Ic();const Qe=or(_);_=Qe.code;const Me=Li();Lt.debug(Me),_.length>(Me?.maxTextSize??5e4)&&(_="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const Q="#"+f,ke="i"+f,qt="#"+ke,rn="d"+f,pn="#"+rn;let an=(0,z.Ys)("body");const St="sandbox"===Me.securityLevel,Pr="loose"===Me.securityLevel,$s=Me.fontFamily;if(void 0!==x){if(x&&(x.innerHTML=""),St){const jo=Jd((0,z.Ys)(x),ke);an=(0,z.Ys)(jo.nodes()[0].contentDocument.body),an.node().style.margin=0}else an=(0,z.Ys)(x);Zm(an,f,rn,`font-family: ${$s}`,"http://www.w3.org/1999/xlink")}else{if(((l,f,_,x)=>{var k,L,H;null==(k=l.getElementById(f))||k.remove(),null==(L=l.getElementById(_))||L.remove(),null==(H=l.getElementById(x))||H.remove()})(document,f,rn,ke),St){const jo=Jd((0,z.Ys)("body"),ke);an=(0,z.Ys)(jo.nodes()[0].contentDocument.body),an.node().style.margin=0}else an=(0,z.Ys)("body");Zm(an,f,rn)}let Ei,sr;try{Ei=yield Zc(_,{title:Qe.title})}catch(jo){Ei=new qi("error"),sr=jo}const oi=an.select(pn).node(),iu=Ei.type,ru=oi.firstChild,Sh=ru.firstChild,qc=null==(L=(k=Ei.renderer).getClasses)?void 0:L.call(k,_,Ei),Xm=Dh(Me,iu,qc,Q),ou=document.createElement("style");ou.innerHTML=Xm,ru.insertBefore(ou,Sh);try{yield Ei.renderer.draw(_,f,"10.9.1",Ei)}catch(jo){throw za.draw(_,f,"10.9.1"),jo}(function zp(l,f,_,x){(function $d(l,f){l.attr("role","graphics-document document"),""!==f&&l.attr("aria-roledescription",f)})(f,l),function Tm(l,f,_,x){if(void 0!==l.insert){if(_){const k=`chart-desc-${x}`;l.attr("aria-describedby",k),l.insert("desc",":first-child").attr("id",k).text(_)}if(f){const k=`chart-title-${x}`;l.attr("aria-labelledby",k),l.insert("title",":first-child").attr("id",k).text(f)}}}(f,_,x,f.attr("id"))})(iu,an.select(`${pn} svg`),null==(ne=(H=Ei.db).getAccTitle)?void 0:ne.call(H),null==(Ee=(se=Ei.db).getAccDescription)?void 0:Ee.call(se)),an.select(`[id="${f}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let ba=an.select(pn).node().innerHTML;if(Lt.debug("config.arrowMarkerAbsolute",Me.arrowMarkerAbsolute),ba=((l="",f,_)=>{let x=l;return!_&&!f&&(x=x.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),x=Ss(x),x=x.replace(/
/g,"
"),x})(ba,St,ia(Me.arrowMarkerAbsolute)),St?ba=((l="",f)=>{var _,x;return``})(ba,an.select(pn+" svg").node()):Pr||(ba=ae.sanitize(ba,{ADD_TAGS:Ul,ADD_ATTR:xh})),gi.forEach(l=>{l()}),gi=[],sr)throw sr;const ql=(0,z.Ys)(St?qt:pn).node();return ql&&"remove"in ql&&ql.remove(),{svg:ba,bindFunctions:Ei.db.bindFunctions}});return function(_,x,k){return l.apply(this,arguments)}}(),Zc=(l,f={})=>{const{code:_}=Jr(l);return da(_,f)},$o=Object.freeze({render:qm,parse:function Gc(l,f){return Qd.apply(this,arguments)},getDiagramFromText:Zc,initialize:function Th(l={}){var f;l?.fontFamily&&!(null!=(f=l.themeVariables)&&f.fontFamily)&&(l.themeVariables||(l.themeVariables={}),l.themeVariables.fontFamily=l.fontFamily),(l=>{aa=fi({},l)})(l),l?.theme&&l.theme in Ti?l.themeVariables=Ti[l.theme].getThemeVariables(l.themeVariables):l&&(l.themeVariables=Ti.default.getThemeVariables(l.themeVariables));const _="object"==typeof l?(l=>(te=fi({},ns),te=fi(te,l),l.theme&&Ti[l.theme]&&(te.themeVariables=Ti[l.theme].getThemeVariables(l.themeVariables)),Tl(te,qn),te))(l):hm();pl(_.logLevel),Ic()},getConfig:Li,setConfig:As,getSiteConfig:hm,updateSiteConfig:l=>(te=fi(te,l),Tl(te,qn),te),reset:()=>{Sn()},globalReset:()=>{Sn(ns)},defaultConfig:ns});pl(Li().logLevel),Sn(Li());const $p=function(){var l=(0,j.Z)(function*(){Lt.debug("Loading registered diagrams");const _=(yield Promise.allSettled(Object.entries(Ur).map(function(){var x=(0,j.Z)(function*([k,{detector:L,loader:H}]){if(H)try{Tn(k)}catch{try{const{diagram:se,id:Ee}=yield H();Te(Ee,se,L)}catch(se){throw Lt.error(`Failed to load external diagram with key ${k}. Removing from detectors.`),delete Ur[k],se}}});return function(k){return x.apply(this,arguments)}}()))).filter(x=>"rejected"===x.status);if(_.length>0){Lt.error(`Failed to load ${_.length} external diagrams`);for(const x of _)Lt.error(x);throw new Error(`Failed to load ${_.length} external diagrams`)}});return function(){return l.apply(this,arguments)}}(),jp=(l,f,_)=>{Lt.warn(l),Td(l)?(_&&_(l.str,l.hash),f.push({...l,message:l.str,error:l})):(_&&_(l),l instanceof Error&&f.push({str:l.message,message:l.message,hash:l.name,error:l}))},eu=function(){var l=(0,j.Z)(function*(f={querySelector:".mermaid"}){try{yield tu(f)}catch(_){if(Td(_)&&Lt.error(_.str),Do.parseError&&Do.parseError(_),!f.suppressErrors)throw Lt.error("Use the suppressErrors option to suppress these errors"),_}});return function(){return l.apply(this,arguments)}}(),tu=function(){var l=(0,j.Z)(function*({postRenderCallback:f,querySelector:_,nodes:x}={querySelector:".mermaid"}){const k=$o.getConfig();let L;if(Lt.debug((f?"":"No ")+"Callback function found"),x)L=x;else{if(!_)throw new Error("Nodes and querySelector are both undefined");L=document.querySelectorAll(_)}Lt.debug(`Found ${L.length} diagrams`),void 0!==k?.startOnLoad&&(Lt.debug("Start On Load: "+k?.startOnLoad),$o.updateSiteConfig({startOnLoad:k?.startOnLoad}));const H=new sa.InitIDGenerator(k.deterministicIds,k.deterministicIDSeed);let ne;const se=[];for(const Ee of Array.from(L)){if(Lt.info("Rendering diagram: "+Ee.id),Ee.getAttribute("data-processed"))continue;Ee.setAttribute("data-processed","true");const Qe=`mermaid-${H.next()}`;ne=Ee.innerHTML,ne=(0,J.Z)(sa.entityDecode(ne)).trim().replace(//gi,"
");const Me=sa.detectInit(ne);Me&&Lt.debug("Detected early reinit: ",Me);try{const{svg:Q,bindFunctions:ke}=yield Km(Qe,ne,Ee);Ee.innerHTML=Q,f&&(yield f(Qe)),ke&&ke(Ee)}catch(Q){jp(Q,se,Do.parseError)}}if(se.length>0)throw se[0]});return function(){return l.apply(this,arguments)}}(),Eh=function(l){$o.initialize(l)},Wl=function(){var l=(0,j.Z)(function*(f,_,x){Lt.warn("mermaid.init is deprecated. Please use run instead."),f&&Eh(f);const k={postRenderCallback:x,querySelector:".mermaid"};"string"==typeof _?k.querySelector=_:_&&(k.nodes=_ instanceof HTMLElement?[_]:_),yield eu(k)});return function(_,x,k){return l.apply(this,arguments)}}(),Mh=function(){var l=(0,j.Z)(function*(f,{lazyLoad:_=!0}={}){fr(...f),!1===_&&(yield $p())});return function(_){return l.apply(this,arguments)}}(),nu=function(){if(Do.startOnLoad){const{startOnLoad:l}=$o.getConfig();l&&Do.run().catch(f=>Lt.error("Mermaid failed to initialize",f))}};typeof document<"u"&&window.addEventListener("load",nu,!1);const Gl=[];let kh=!1;const Ym=function(){var l=(0,j.Z)(function*(){if(!kh){for(kh=!0;Gl.length>0;){const f=Gl.shift();if(f)try{yield f()}catch(_){Lt.error("Error executing queue",_)}}kh=!1}});return function(){return l.apply(this,arguments)}}(),Wp=function(){var l=(0,j.Z)(function*(f,_){return new Promise((x,k)=>{Gl.push(()=>new Promise((H,ne)=>{$o.parse(f,_).then(se=>{H(se),x(se)},se=>{var Ee;Lt.error("Error parsing",se),null==(Ee=Do.parseError)||Ee.call(Do,se),ne(se),k(se)})})),Ym().catch(k)})});return function(_,x){return l.apply(this,arguments)}}(),Km=(l,f,_)=>new Promise((x,k)=>{Gl.push(()=>new Promise((H,ne)=>{$o.render(l,f,_).then(se=>{H(se),x(se)},se=>{var Ee;Lt.error("Error parsing",se),null==(Ee=Do.parseError)||Ee.call(Do,se),ne(se),k(se)})})),Ym().catch(k)}),Do={startOnLoad:!0,mermaidAPI:$o,parse:Wp,render:Km,init:Wl,run:eu,registerExternalDiagrams:Mh,initialize:Eh,parseError:void 0,contentLoaded:nu,setParseErrorHandler:function(l){Do.parseError=l},detectType:mr}},5861:(rt,de,M)=>{"use strict";function j(re,q,z,ae,me,_e,X){try{var S=re[_e](X),oe=S.value}catch(Oe){return void z(Oe)}S.done?q(oe):Promise.resolve(oe).then(ae,me)}function J(re){return function(){var q=this,z=arguments;return new Promise(function(ae,me){var _e=re.apply(q,z);function X(oe){j(_e,ae,me,X,S,"next",oe)}function S(oe){j(_e,ae,me,X,S,"throw",oe)}X(void 0)})}}M.d(de,{Z:()=>J})}},rt=>{rt(rt.s=300)}]); \ No newline at end of file diff --git a/pkg/apiserver-impl/ui/main.d219859caca5567f.js b/pkg/apiserver-impl/ui/main.d219859caca5567f.js deleted file mode 100644 index b8585eef0d4..00000000000 --- a/pkg/apiserver-impl/ui/main.d219859caca5567f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdevfile_builder=self.webpackChunkdevfile_builder||[]).push([[179],{6780:(on,Ae)=>{"use strict";Ae.N=void 0;var X=/^([^\w]*)(javascript|data|vbscript)/im,me=/&#(\w+)(^\w|;)?/g,se=/&(newline|tab);/gi,te=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,re=/^.+(:|:)/gim,Ue=[".","/"];Ae.N=function he(Q){var ue=function H(Q){return Q.replace(me,function(ue,Ft){return String.fromCharCode(Ft)})}(Q||"").replace(se,"").replace(te,"").trim();if(!ue)return"about:blank";if(function Ze(Q){return Ue.indexOf(Q[0])>-1}(ue))return ue;var Ft=ue.match(re);return Ft&&X.test(Ft[0])?"about:blank":ue}},8066:(on,Ae,L)=>{"use strict";function X(n){return"function"==typeof n}function me(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const se=me(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function te(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class re{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(X(i))try{i()}catch(o){t=o instanceof se?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{H(o)}catch(a){t=t??[],a instanceof se?t=[...t,...a.errors]:t.push(a)}}if(t)throw new se(t)}}add(t){var e;if(t&&t!==this)if(this.closed)H(t);else{if(t instanceof re){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&te(e,t)}remove(t){const{_finalizers:e}=this;e&&te(e,t),t instanceof re&&t._removeParent(this)}}re.EMPTY=(()=>{const n=new re;return n.closed=!0,n})();const Ue=re.EMPTY;function Ze(n){return n instanceof re||n&&"closed"in n&&X(n.remove)&&X(n.add)&&X(n.unsubscribe)}function H(n){X(n)?n():n.unsubscribe()}const he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Q={setTimeout(n,t,...e){const{delegate:i}=Q;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=Q;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function ue(n){Q.setTimeout(()=>{const{onUnhandledError:t}=he;if(!t)throw n;t(n)})}function Ft(){}const nn=Te("C",void 0,void 0);function Te(n,t,e){return{kind:n,value:t,error:e}}let be=null;function xt(n){if(he.useDeprecatedSynchronousErrorHandling){const t=!be;if(t&&(be={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=be;if(be=null,e)throw i}}else n()}class _t extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ze(t)&&t.add(this)):this.destination=we}static create(t,e,i){return new cn(t,e,i)}next(t){this.isStopped?We(function J(n){return Te("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?We(function Se(n){return Te("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?We(nn,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Gt=Function.prototype.bind;function Yt(n,t){return Gt.call(n,t)}class lt{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Qn(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Qn(i)}else Qn(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Qn(e)}}}class cn extends _t{constructor(t,e,i){let r;if(super(),X(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&he.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Yt(t.next,o),error:t.error&&Yt(t.error,o),complete:t.complete&&Yt(t.complete,o)}):r=t}this.destination=new lt(r)}}function Qn(n){he.useDeprecatedSynchronousErrorHandling?function At(n){he.useDeprecatedSynchronousErrorHandling&&be&&(be.errorThrown=!0,be.error=n)}(n):ue(n)}function We(n,t){const{onStoppedNotification:e}=he;e&&Q.setTimeout(()=>e(n,t))}const we={closed:!0,next:Ft,error:function Tt(n){throw n},complete:Ft},qe="function"==typeof Symbol&&Symbol.observable||"@@observable";function He(n){return n}let ye=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function mn(n){return n&&n instanceof _t||function Cn(n){return n&&X(n.next)&&X(n.error)&&X(n.complete)}(n)&&Ze(n)}(e)?e:new cn(e,i,r);return xt(()=>{const{operator:a,source:c}=this;o.add(a?a.call(o,c):c?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Mn(i))((r,o)=>{const a=new cn({next:c=>{try{e(c)}catch(d){o(d),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[qe](){return this}pipe(...e){return function mt(n){return 0===n.length?He:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Mn(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function Mn(n){var t;return null!==(t=n??he.Promise)&&void 0!==t?t:Promise}const di=me(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ee=(()=>{class n extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new qi(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new di}next(e){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Ue:(this.currentObservers=null,o.push(e),new re(()=>{this.currentObservers=null,te(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new ye;return e.source=this,e}}return n.create=(t,e)=>new qi(t,e),n})();class qi extends Ee{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:Ue}}function Ke(n){return t=>{if(function yt(n){return X(n?.lift)}(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(n,t,e,i,r){return new Jn(n,t,e,i,r)}class Jn extends _t{constructor(t,e,i,r,o,a){super(t),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=e?function(c){try{e(c)}catch(d){t.error(d)}}:super._next,this._error=r?function(c){try{r(c)}catch(d){t.error(d)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Nn(n,t){return Ke((e,i)=>{let r=0;e.subscribe(Rt(i,o=>{i.next(n.call(t,o,r++))}))})}function yi(n){return this instanceof yi?(this.v=n,this):new yi(n)}function pi(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Xe(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(a){return new Promise(function(c,d){!function r(o,a,c,d){Promise.resolve(d).then(function(h){o({value:h,done:c})},a)}(c,d,(a=n[o](a)).done,a.value)})}}}const B=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Ie(n){return X(n?.then)}function ft(n){return X(n[qe])}function gi(n){return Symbol.asyncIterator&&X(n?.[Symbol.asyncIterator])}function wn(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ho=function ds(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function mo(n){return X(n?.[ho])}function Fa(n){return function Ki(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(T){i[T]&&(r[T]=function(A){return new Promise(function(N,j){o.push([T,A,N,j])>1||c(T,A)})})}function c(T,A){try{!function d(T){T.value instanceof yi?Promise.resolve(T.value.v).then(h,p):y(o[0][2],T)}(i[T](A))}catch(N){y(o[0][3],N)}}function h(T){c("next",T)}function p(T){c("throw",T)}function y(T,A){T(A),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield yi(e.read());if(r)return yield yi(void 0);yield yield yi(i)}}finally{e.releaseLock()}})}function ea(n){return X(n?.getReader)}function vi(n){if(n instanceof ye)return n;if(null!=n){if(ft(n))return function us(n){return new ye(t=>{const e=n[qe]();if(X(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(B(n))return function Fo(n){return new ye(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,ue)})}(n);if(gi(n))return Ro(n);if(mo(n))return function Oo(n){return new ye(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(ea(n))return function Ss(n){return Ro(Fa(n))}(n)}throw wn(n)}function Ro(n){return new ye(t=>{(function Tr(n,t){var e,i,r,o;return function as(n,t,e,i){return new(e||(e=Promise))(function(o,a){function c(p){try{h(i.next(p))}catch(y){a(y)}}function d(p){try{h(i.throw(p))}catch(y){a(y)}}function h(p){p.done?o(p.value):function r(o){return o instanceof e?o:new e(function(a){a(o)})}(p.value).then(c,d)}h((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=pi(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Xi(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Po(n,t,e=1/0){return X(t)?Po((i,r)=>Nn((o,a)=>t(i,o,r,a))(vi(n(i,r))),e):("number"==typeof t&&(e=t),Ke((i,r)=>function Oa(n,t,e,i,r,o,a,c){const d=[];let h=0,p=0,y=!1;const T=()=>{y&&!d.length&&!h&&t.complete()},A=j=>h{o&&t.next(j),h++;let ee=!1;vi(e(j,p++)).subscribe(Rt(t,de=>{r?.(de),o?A(de):t.next(de)},()=>{ee=!0},void 0,()=>{if(ee)try{for(h--;d.length&&hN(de)):N(de)}T()}catch(de){t.error(de)}}))};return n.subscribe(Rt(t,A,()=>{y=!0,T()})),()=>{c?.()}}(i,r,n,e)))}function Lo(n=1/0){return Po(He,n)}const Zn=new ye(n=>n.complete());function rc(n){return n&&X(n.schedule)}function oi(n){return n[n.length-1]}function No(n){return X(oi(n))?n.pop():void 0}function Bo(n){return rc(oi(n))?n.pop():void 0}function ta(n,t=0){return Ke((e,i)=>{e.subscribe(Rt(i,r=>Xi(i,n,()=>i.next(r),t),()=>Xi(i,n,()=>i.complete(),t),r=>Xi(i,n,()=>i.error(r),t)))})}function ar(n,t=0){return Ke((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Ho(n,t){if(!n)throw new Error("Iterable cannot be null");return new ye(e=>{Xi(e,t,()=>{const i=n[Symbol.asyncIterator]();Xi(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function hs(n,t){return t?function na(n,t){if(null!=n){if(ft(n))return function Qi(n,t){return vi(n).pipe(ar(t),ta(t))}(n,t);if(B(n))return function Vo(n,t){return new ye(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Ie(n))return function Ci(n,t){return vi(n).pipe(ar(t),ta(t))}(n,t);if(gi(n))return Ho(n,t);if(mo(n))return function sc(n,t){return new ye(e=>{let i;return Xi(e,t,()=>{i=n[ho](),Xi(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void e.error(a)}o?e.complete():e.next(r)},0,!0)}),()=>X(i?.return)&&i.return()})}(n,t);if(ea(n))return function Is(n,t){return Ho(Fa(n),t)}(n,t)}throw wn(n)}(n,t):vi(n)}function si(...n){const t=Bo(n),e=function oc(n,t){return"number"==typeof oi(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?vi(i[0]):Lo(e)(hs(i,t)):Zn}function ia(n={}){const{connector:t=(()=>new Ee),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let a,c,d,h=0,p=!1,y=!1;const T=()=>{c?.unsubscribe(),c=void 0},A=()=>{T(),a=d=void 0,p=y=!1},N=()=>{const j=a;A(),j?.unsubscribe()};return Ke((j,ee)=>{h++,!y&&!p&&T();const de=d=d??t();ee.add(()=>{h--,0===h&&!y&&!p&&(c=Er(N,r))}),de.subscribe(ee),!a&&h>0&&(a=new cn({next:Ve=>de.next(Ve),error:Ve=>{y=!0,T(),c=Er(A,e,Ve),de.error(Ve)},complete:()=>{p=!0,T(),c=Er(A,i),de.complete()}}),vi(j).subscribe(a))})(o)}}function Er(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new cn({next:()=>{i.unsubscribe(),n()}});return vi(t(...e)).subscribe(i)}function Rn(n){for(let t in n)if(n[t]===Rn)return t;throw Error("Could not find renamed property on target object.")}function fo(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function ze(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ze).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function to(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Mi=Rn({__forward_ref__:Rn});function Jt(n){return n.__forward_ref__=Jt,n.toString=function(){return ze(this())},n}function $t(n){return cr(n)?n():n}function cr(n){return"function"==typeof n&&n.hasOwnProperty(Mi)&&n.__forward_ref__===Jt}function po(n){return n&&!!n.\u0275providers}const Ii="https://g.co/ng/security#xss";class ve extends Error{constructor(t,e){super(As(t,e)),this.code=t}}function As(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function Qt(n){return"string"==typeof n?n:null==n?"":String(n)}function ui(n,t){throw new ve(-201,!1)}function Ji(n,t){null==n&&function Pn(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function rt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function en(n){return{providers:n.providers||[],imports:n.imports||[]}}function Os(n){return W(n,Ti)||W(n,On)}function W(n,t){return n.hasOwnProperty(t)?n[t]:null}function Tn(n){return n&&(n.hasOwnProperty($n)||n.hasOwnProperty(ms))?n[$n]:null}const Ti=Rn({\u0275prov:Rn}),$n=Rn({\u0275inj:Rn}),On=Rn({ngInjectableDef:Rn}),ms=Rn({ngInjectorDef:Rn});var vt=(()=>((vt=vt||{})[vt.Default=0]="Default",vt[vt.Host=1]="Host",vt[vt.Self=2]="Self",vt[vt.SkipSelf=4]="SkipSelf",vt[vt.Optional=8]="Optional",vt))();let $o;function Ui(n){const t=$o;return $o=n,t}function jo(n,t,e){const i=Os(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&vt.Optional?null:void 0!==t?t:void ui(ze(n))}const jn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),La={},Na="__NG_DI_FLAG__",cc="ngTempTokenPath",dd="ngTokenPath",bl=/\n/gm,Rc="\u0275",Rs="__source";let fs;function Gr(n){const t=fs;return fs=n,t}function ps(n,t=vt.Default){if(void 0===fs)throw new ve(-203,!1);return null===fs?jo(n,void 0,t):fs.get(n,t&vt.Optional?null:void 0,t)}function ie(n,t=vt.Default){return(function er(){return $o}()||ps)($t(n),t)}function _i(n,t=vt.Default){return ie(n,Sr(t))}function Sr(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function lc(n){const t=[];for(let e=0;e((bo=bo||{})[bo.OnPush=0]="OnPush",bo[bo.Default=1]="Default",bo))(),Ir=(()=>{return(n=Ir||(Ir={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Ir;var n})();const yo={},Ln=[],Wo=Rn({\u0275cmp:Rn}),Ls=Rn({\u0275dir:Rn}),Go=Rn({\u0275pipe:Rn}),ca=Rn({\u0275mod:Rn}),Yr=Rn({\u0275fac:Rn}),no=Rn({__NG_ELEMENT_ID__:Rn});let Ns=0;function I(n){return Uo(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===bo.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ln,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Ir.Emulated,id:"c"+Ns++,styles:n.styles||Ln,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,a=n.features;return r.inputs=g(n.inputs,i),r.outputs=g(n.outputs),a&&a.forEach(c=>c(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Me).filter(nt):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(z).filter(nt):null,r})}function Me(n){return F(n)||$(n)}function nt(n){return null!==n}function Re(n){return Uo(()=>({type:n.type,bootstrap:n.bootstrap||Ln,declarations:n.declarations||Ln,imports:n.imports||Ln,exports:n.exports||Ln,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function g(n,t){if(null==n)return yo;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const C=I;function O(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function F(n){return n[Wo]||null}function $(n){return n[Ls]||null}function z(n){return n[Go]||null}const Le=0,oe=1,_e=2,at=3,$e=4,Bt=5,ln=6,En=7,Zt=8,Et=9,Lc=10,kn=11,Qd=12,la=13,yl=14,uc=15,ur=16,vo=17,Ba=18,Co=19,io=20,qf=21,xi=22,Ph=1,Kf=2,Jd=7,eu=8,vl=9,ro=10;function Yo(n){return Array.isArray(n)&&"object"==typeof n[Ph]}function Bs(n){return Array.isArray(n)&&!0===n[Ph]}function Lh(n){return 0!=(4&n.flags)}function hd(n){return n.componentOffset>-1}function tu(n){return 1==(1&n.flags)}function Vs(n){return null!==n.template}function kb(n){return 0!=(256&n[_e])}function Nc(n,t){return n.hasOwnProperty(Yr)?n[Yr]:null}class Ab{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function wi(){return Qf}function Qf(n){return n.type.prototype.ngOnChanges&&(n.setInput=Ob),Fb}function Fb(){const n=ep(this),t=n?.current;if(t){const e=n.previous;if(e===yo)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function Ob(n,t,e,i){const r=this.declaredInputs[e],o=ep(n)||function Rb(n,t){return n[Jf]=t}(n,{previous:yo,current:null}),a=o.current||(o.current={}),c=o.previous,d=c[r];a[r]=new Ab(d&&d.currentValue,t,c===yo),n[i]=t}wi.ngInherit=!0;const Jf="__ngSimpleChanges__";function ep(n){return n[Jf]||null}const gs=function(n,t,e){},da="svg";function hr(n){for(;Array.isArray(n);)n=n[Le];return n}function Vh(n,t){return hr(t[n])}function _s(n,t){return hr(t[n.index])}function np(n,t){return n.data[t]}function Cl(n,t){return n[t]}function Zo(n,t){const e=t[n];return Yo(e)?e:e[Le]}function xl(n){return 64==(64&n[_e])}function qo(n,t){return null==t?null:n[t]}function Hh(n){n[Ba]=0}function mr(n,t){n[Bt]+=t;let e=n,i=n[at];for(;null!==i&&(1===t&&1===e[Bt]||-1===t&&0===e[Bt]);)i[Bt]+=t,e=i,i=i[at]}const Ht={lFrame:Hb(null),bindingsEnabled:!0};function ua(){return Ht.bindingsEnabled}function ke(){return Ht.lFrame.lView}function Vn(){return Ht.lFrame.tView}function Je(n){return Ht.lFrame.contextLView=n,n[Zt]}function ot(n){return Ht.lFrame.contextLView=null,n}function Ar(){let n=ap();for(;null!==n&&64===n.type;)n=n.parent;return n}function ap(){return Ht.lFrame.currentTNode}function ha(n,t){const e=Ht.lFrame;e.currentTNode=n,e.isParent=t}function cp(){return Ht.lFrame.isParent}function lp(){Ht.lFrame.isParent=!1}function oo(){const n=Ht.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function md(){return Ht.lFrame.bindingIndex++}function hc(n){const t=Ht.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function Vb(n,t){const e=Ht.lFrame;e.bindingIndex=e.bindingRootIndex=n,au(t)}function au(n){Ht.lFrame.currentDirectiveIndex=n}function cu(n){const t=Ht.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function $h(){return Ht.lFrame.currentQueryIndex}function lu(n){Ht.lFrame.currentQueryIndex=n}function Dl(n){const t=n[oe];return 2===t.type?t.declTNode:1===t.type?n[ln]:null}function jh(n,t,e){if(e&vt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&vt.Host||(r=Dl(o),null===r||(o=o[uc],10&r.type))););if(null===r)return!1;t=r,n=o}const i=Ht.lFrame=Wh();return i.currentTNode=t,i.lView=n,!0}function Uh(n){const t=Wh(),e=n[oe];Ht.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Wh(){const n=Ht.lFrame,t=null===n?null:n.child;return null===t?Hb(n):t}function Hb(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function up(){const n=Ht.lFrame;return Ht.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const bs=up;function fd(){const n=up();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Fr(){return Ht.lFrame.selectedIndex}function mc(n){Ht.lFrame.selectedIndex=n}function Pi(){const n=Ht.lFrame;return np(n.tView,n.selectedIndex)}function fc(){Ht.lFrame.currentNamespace=da}function du(){!function hp(){Ht.lFrame.currentNamespace=null}()}function uu(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[d]<0&&(n[Ba]+=65536),(c>11>16&&(3&n[_e])===t){n[_e]+=2048,gs(4,c,o);try{o.call(c)}finally{gs(5,c,o)}}}else{gs(4,c,o);try{o.call(c)}finally{gs(5,c,o)}}}const pc=-1;class gc{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function gp(n,t,e){let i=0;for(;it){a=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[uc],e--;return i}let Kh=!0;function pu(n){const t=Kh;return Kh=n,t}const Xh=255,Vc=5;let Qh=0;const fa={};function gu(n,t){const e=vp(n,t);if(-1!==e)return e;const i=t[oe];i.firstCreatePass&&(n.injectorIndex=t.length,_u(i.data,n),_u(t,null),_u(i.blueprint,null));const r=bu(n,t),o=n.injectorIndex;if(yp(r)){const a=fu(r),c=El(r,t),d=c[oe].data;for(let h=0;h<8;h++)t[o+h]=c[a+h]|d[a+h]}return t[o+8]=r,o}function _u(n,t){n.push(0,0,0,0,0,0,0,0,t)}function vp(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function bu(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=Jh(r),null===i)return pc;if(e++,r=r[uc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return pc}function pd(n,t,e){!function Wb(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(no)&&(i=e[no]),null==i&&(i=e[no]=Qh++);const r=i&Xh;t.data[n+(r>>Vc)]|=1<=0?t&Xh:Yb:t}(e);if("function"==typeof o){if(!jh(t,n,i))return i&vt.Host?Cp(r,0,i):gd(t,e,i,r);try{const a=o(i);if(null!=a||i&vt.Optional)return a;ui()}finally{bs()}}else if("number"==typeof o){let a=null,c=vp(n,t),d=pc,h=i&vt.Host?t[ur][ln]:null;for((-1===c||i&vt.SkipSelf)&&(d=-1===c?bu(n,t):t[c+8],d!==pc&&Dp(i,!1)?(a=t[oe],c=fu(d),t=El(d,t)):c=-1);-1!==c;){const p=t[oe];if(wp(o,c,p.data)){const y=vu(c,t,e,a,i,h);if(y!==fa)return y}d=t[c+8],d!==pc&&Dp(i,t[oe].data[c+8]===h)&&wp(o,c,t)?(a=p,c=fu(d),t=El(d,t)):c=-1}}return r}function vu(n,t,e,i,r,o){const a=t[oe],c=a.data[n+8],p=za(c,a,e,null==i?hd(c)&&Kh:i!=a&&0!=(3&c.type),r&vt.Host&&o===c);return null!==p?Hc(t,a,p,c):fa}function za(n,t,e,i,r){const o=n.providerIndexes,a=t.data,c=1048575&o,d=n.directiveStart,p=o>>20,T=r?c+p:n.directiveEnd;for(let A=i?c:c+p;A=d&&N.type===e)return A}if(r){const A=a[d];if(A&&Vs(A)&&A.type===e)return d}return null}function Hc(n,t,e,i){let r=n[e];const o=t.data;if(function $b(n){return n instanceof gc}(r)){const a=r;a.resolving&&function kr(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ve(-200,`Circular dependency in DI detected for ${n}${e}`)}(function Fn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Qt(n)}(o[e]));const c=pu(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Ui(a.injectImpl):null;jh(n,i,vt.Default);try{r=n[e]=a.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function tw(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const a=Qf(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,a)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==d&&Ui(d),pu(c),a.resolving=!1,bs()}}return r}function wp(n,t,e){return!!(e[t+(n>>Vc)]&1<{const t=n.prototype.constructor,e=t[Yr]||Cu(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Yr]||Cu(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Cu(n){return cr(n)?()=>{const t=Cu($t(n));return t&&t()}:Nc(n)}function Jh(n){const t=n[oe],e=t.type;return 2===e?t.declTNode:1===e?n[ln]:null}function Hs(n){return function sw(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function tm(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return c.annotation=a,c;function c(d,h,p){const y=d.hasOwnProperty($a)?d[$a]:Object.defineProperty(d,$a,{value:[]})[$a];for(;y.length<=p;)y.push(null);return(y[p]=y[p]||[]).push(a),d}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class De{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=rt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ja(n,t){n.forEach(e=>Array.isArray(e)?ja(e,t):t(e))}function xu(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Al(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Ai(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function Fl(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Ep(n,t){const e=jc(n,t);if(e>=0)return n[1|e]}function jc(n,t){return function _d(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),a=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),xo=aa(Sl("Optional"),8),bc=aa(Sl("SkipSelf"),4);var qr=(()=>((qr=qr||{})[qr.Important=1]="Important",qr[qr.DashCase=2]="DashCase",qr))();const sm=new Map;let dy=0;const cm="__ngContext__";function Or(n,t){Yo(t)?(n[cm]=t[io],function uy(n){sm.set(n[io],n)}(t)):n[cm]=t}let um;function hm(n,t){return um(n,t)}function Nl(n){const t=n[at];return Bs(t)?t[at]:t}function mm(n){return Up(n[la])}function Su(n){return Up(n[$e])}function Up(n){for(;null!==n&&!Bs(n);)n=n[$e];return n}function Bl(n,t,e,i,r){if(null!=i){let o,a=!1;Bs(i)?o=i:Yo(i)&&(a=!0,i=i[Le]);const c=hr(i);0===n&&null!==e?null==r?Kp(t,e,c):Gc(t,e,c,r||null,!0):1===n&&null!==e?Gc(t,e,c,r||null,!0):2===n?function Pu(n,t,e){const i=Au(n,t);i&&function Sy(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,c,a):3===n&&t.destroyNode(c),null!=o&&function Iy(n,t,e,i,r){const o=e[Jd];o!==hr(e)&&Bl(t,n,i,o,r);for(let c=ro;c0&&(n[e-1][$e]=i[$e]);const o=Al(n,ro+t);!function Gp(n,t){ga(n,t,t[kn],2,null,null),t[Le]=null,t[ln]=null}(i[oe],i);const a=o[Co];null!==a&&a.detachView(o[oe]),i[at]=null,i[$e]=null,i[_e]&=-65}return i}function Zp(n,t){if(!(128&t[_e])){const e=t[kn];e.destroyNode&&ga(n,t,e,3,null,null),function Dy(n){let t=n[la];if(!t)return Iu(n[oe],n);for(;t;){let e=null;if(Yo(t))e=t[la];else{const i=t[ro];i&&(e=i)}if(!e){for(;t&&!t[$e]&&t!==n;)Yo(t)&&Iu(t[oe],t),t=t[at];null===t&&(t=n),Yo(t)&&Iu(t[oe],t),e=t&&t[$e]}t=e}}(t)}}function Iu(n,t){if(!(128&t[_e])){t[_e]&=-65,t[_e]|=128,function ky(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=a]():i[r=-a].unsubscribe(),o+=2}else{const a=i[r=e[o+1]];e[o].call(a)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===Ir.None||o===Ir.Emulated)return null}return _s(i,e)}}(n,t.parent,e)}function Gc(n,t,e,i,r){n.insertBefore(t,e,i,r)}function Kp(n,t,e){n.appendChild(t,e)}function Xp(n,t,e,i,r){null!==i?Gc(n,t,e,i,r):Kp(n,t,e)}function Au(n,t){return n.parentNode(t)}function Jp(n,t,e){return tg(n,t,e)}let bm,Nu,fr,Hl,tg=function eg(n,t,e){return 40&n.type?_s(n,e):null};function Fu(n,t,e,i){const r=qp(n,i,t),o=t[kn],c=Jp(i.parent||t[ln],i,t);if(null!=r)if(Array.isArray(e))for(let d=0;dn,createScript:n=>n,createScriptURL:n=>n})}catch{}return Nu}()?.createHTML(n)||n}function Zc(n){return function ys(){if(void 0===Hl&&(Hl=null,jn.trustedTypes))try{Hl=jn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Hl}()?.createHTML(n)||n}class _a{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ii})`}}class Vu extends _a{getTypeName(){return"HTML"}}class Py extends _a{getTypeName(){return"Style"}}class lg extends _a{getTypeName(){return"Script"}}class vm extends _a{getTypeName(){return"URL"}}class Cm extends _a{getTypeName(){return"ResourceURL"}}function nr(n){return n instanceof _a?n.changingThisBreaksApplicationSecurity:n}function ba(n,t){const e=function dg(n){return n instanceof _a&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Ii})`)}return e===t}class By{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Vl(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class Vy{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Vl(t),e}}const zy=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function zu(n){return(n=String(n)).match(zy)?n:"unsafe:"+n}function vs(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function xd(...n){const t={};for(const e of n)for(const i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}const $y=vs("area,br,col,hr,img,wbr"),xm=vs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wm=vs("rp,rt"),Dm=xd($y,xd(xm,vs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xd(wm,vs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),xd(wm,xm)),Mm=vs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wa=xd(Mm,vs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$u=vs("script,style,template");class ju{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Dm.hasOwnProperty(e))return this.sanitizedSomething=!0,!$u.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Dm.hasOwnProperty(e)&&!$y.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(fg(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Uy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mg=/([^\#-~ |!])/g;function fg(n){return n.replace(/&/g,"&").replace(Uy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(mg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let wd;function pg(n,t){let e=null;try{wd=wd||function hg(n){const t=new Vy(n);return function Hy(){try{return!!(new window.DOMParser).parseFromString(Vl(""),"text/html")}catch{return!1}}()?new By(t):t}(n);let i=t?String(t):"";e=wd.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=wd.getInertBodyElement(i)}while(i!==o);return Vl((new ju).sanitizeChildren(Uu(e)||e))}finally{if(e){const i=Uu(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Uu(n){return"content"in n&&function Wy(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var qn=(()=>((qn=qn||{})[qn.NONE=0]="NONE",qn[qn.HTML=1]="HTML",qn[qn.STYLE=2]="STYLE",qn[qn.SCRIPT=3]="SCRIPT",qn[qn.URL=4]="URL",qn[qn.RESOURCE_URL=5]="RESOURCE_URL",qn))();function gg(n){const t=qc();return t?Zc(t.sanitize(qn.HTML,n)||""):ba(n,"HTML")?Zc(nr(n)):pg(function cg(){return void 0!==fr?fr:typeof document<"u"?document:void 0}(),Qt(n))}function Wu(n){const t=qc();return t?t.sanitize(qn.URL,n)||"":ba(n,"URL")?nr(n):zu(Qt(n))}function qc(){const n=ke();return n&&n[Qd]}const km=new De("ENVIRONMENT_INITIALIZER"),yg=new De("INJECTOR",-1),Sm=new De("INJECTOR_DEF_TYPES");class vg{get(t,e=La){if(e===La){const i=new Error(`NullInjectorError: No provider for ${ze(t)}!`);throw i.name="NullInjectorError",i}return e}}function Zy(...n){return{\u0275providers:Im(0,n),\u0275fromNgModule:!0}}function Im(n,...t){const e=[],i=new Set;let r;return ja(t,o=>{const a=o;Yu(a,e,[],i)&&(r||(r=[]),r.push(a))}),void 0!==r&&xg(r,e),e}function xg(n,t){for(let e=0;e{t.push(o)})}}function Yu(n,t,e,i){if(!(n=$t(n)))return!1;let r=null,o=Tn(n);const a=!o&&F(n);if(o||a){if(a&&!a.standalone)return!1;r=n}else{const d=n.ngModule;if(o=Tn(d),!o)return!1;r=d}const c=i.has(r);if(a){if(c)return!1;if(i.add(r),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const h of d)Yu(h,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!c){let h;i.add(r);try{ja(o.imports,p=>{Yu(p,t,e,i)&&(h||(h=[]),h.push(p))})}finally{}void 0!==h&&xg(h,t)}if(!c){const h=Nc(r)||(()=>new r);t.push({provide:r,useFactory:h,deps:Ln},{provide:Sm,useValue:r,multi:!0},{provide:km,useValue:()=>ie(r),multi:!0})}const d=o.providers;null==d||c||Zu(d,p=>{t.push(p)})}}return r!==n&&void 0!==n.providers}function Zu(n,t){for(let e of n)po(e)&&(e=e.\u0275providers),Array.isArray(e)?Zu(e,t):t(e)}const Am=Rn({provide:String,useValue:Rn});function $l(n){return null!==n&&"object"==typeof n&&Am in n}function Kc(n){return"function"==typeof n}const qu=new De("Set Injector scope."),Dd={},Xy={};let jl;function Ku(){return void 0===jl&&(jl=new vg),jl}class Xc{}class wg extends Xc{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rm(t,a=>this.processProvider(a)),this.records.set(yg,Ul(void 0,this)),r.has("environment")&&this.records.set(Xc,Ul(void 0,this));const o=this.records.get(qu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Sm.multi,Ln,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=Gr(this),i=Ui(void 0);try{return t()}finally{Gr(e),Ui(i)}}get(t,e=La,i=vt.Default){this.assertNotDestroyed(),i=Sr(i);const r=Gr(this),o=Ui(void 0);try{if(!(i&vt.SkipSelf)){let c=this.records.get(t);if(void 0===c){const d=function tv(n){return"function"==typeof n||"object"==typeof n&&n instanceof De}(t)&&Os(t);c=d&&this.injectableDefInScope(d)?Ul(vc(t),Dd):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&vt.Self?Ku():this.parent).get(t,e=i&vt.Optional&&e===La?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[cc]=a[cc]||[]).unshift(ze(t)),r)throw a;return function ud(n,t,e,i){const r=n[cc];throw t[Rs]&&r.unshift(t[Rs]),n.message=function Pc(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Rc?n.slice(2):n;let r=ze(t);if(Array.isArray(t))r=t.map(ze).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let c=t[a];o.push(a+":"+("string"==typeof c?JSON.stringify(c):ze(c)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(bl,"\n ")}`}("\n"+n.message,r,e,i),n[dd]=r,n[cc]=null,n}(a,t,"R3InjectorError",this.source)}throw a}finally{Ui(o),Gr(r)}}resolveInjectorInitializers(){const t=Gr(this),e=Ui(void 0);try{const i=this.get(km.multi,Ln,vt.Self);for(const r of i)r()}finally{Gr(t),Ui(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(ze(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ve(205,!1)}processProvider(t){let e=Kc(t=$t(t))?t:$t(t&&t.provide);const i=function Jy(n){return $l(n)?Ul(void 0,n.useValue):Ul(Dg(n),Dd)}(t);if(Kc(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Ul(void 0,Dd,!0),r.factory=()=>lc(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Dd&&(e.value=Xy,e.value=e.factory()),"object"==typeof e.value&&e.value&&function ev(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=$t(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function vc(n){const t=Os(n),e=null!==t?t.factory:Nc(n);if(null!==e)return e;if(n instanceof De)throw new ve(204,!1);if(n instanceof Function)return function Qy(n){const t=n.length;if(t>0)throw Ai(t,"?"),new ve(204,!1);const e=function Oe(n){const t=n&&(n[Ti]||n[On]);return t?(function it(n){if(n.hasOwnProperty("name"))return n.name;(""+n).match(/^function\s*([^\s(]+)/)}(n),t):null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new ve(204,!1)}function Dg(n,t,e){let i;if(Kc(n)){const r=$t(n);return Nc(r)||vc(r)}if($l(n))i=()=>$t(n.useValue);else if(function Om(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...lc(n.deps||[]));else if(function Fm(n){return!(!n||!n.useExisting)}(n))i=()=>ie($t(n.useExisting));else{const r=$t(n&&(n.useClass||n.provide));if(!function Mg(n){return!!n.deps}(n))return Nc(r)||vc(r);i=()=>new r(...lc(n.deps))}return i}function Ul(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Rm(n,t){for(const e of n)Array.isArray(e)?Rm(e,t):e&&po(e)?Rm(e.\u0275providers,t):t(e)}class Dw{}class s{}class v{resolveComponentFactory(t){throw function l(n){const t=Error(`No component factory found for ${ze(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let x=(()=>{class n{}return n.NULL=new v,n})();function w(){return E(Ar(),ke())}function E(n,t){return new k(_s(n,t))}let k=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=w,n})();function R(n){return n instanceof k?n.nativeElement:n}class V{}let ne=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Z(){const n=ke(),e=Zo(Ar().index,n);return(Yo(e)?e:n)[kn]}(),n})(),le=(()=>{class n{}return n.\u0275prov=rt({token:n,providedIn:"root",factory:()=>null}),n})();class dt{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const jt=new dt("15.2.2"),xe={},fe="ngOriginalError";function Fe(n){return n[fe]}class Qe{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Fe(t);for(;e&&Fe(e);)e=Fe(e);return e||null}}function Nt(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const Xt="ng-template";function dn(n,t,e){let i=0;for(;io?"":r[y+1].toLowerCase();const A=8&i?T:null;if(A&&-1!==Nt(A,h,0)||2&i&&h!==T){if(ii(i))return!1;a=!0}}}}else{if(!a&&!ii(i)&&!ii(d))return!1;if(a&&ii(d))continue;a=!1,i=d|1&i}}return ii(i)||a}function ii(n){return 0==(1&n)}function Wn(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+c+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!ii(a)&&(t+=Fi(o,r),r=""),i=a,o=o||!ii(i);e++}return""!==r&&(t+=Fi(o,r)),t}const Be={};function S(n){Wl(Vn(),ke(),Fr()+n,!1)}function Wl(n,t,e,i){if(!i)if(3==(3&t[_e])){const o=n.preOrderCheckHooks;null!==o&&hu(t,o,e)}else{const o=n.preOrderHooks;null!==o&&mu(t,o,0,e)}mc(e)}function Ew(n,t=null,e=null,i){const r=kw(n,t,e,i);return r.resolveInjectorInitializers(),r}function kw(n,t=null,e=null,i,r=new Set){const o=[e||Ln,Zy(n)];return i=i||("object"==typeof n?void 0:ze(n)),new wg(o,t||Ku(),i||null,r)}let Qo=(()=>{class n{static create(e,i){if(Array.isArray(e))return Ew({name:""},i,e,"");{const r=e.name??"";return Ew({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=La,n.NULL=new vg,n.\u0275prov=rt({token:n,providedIn:"any",factory:()=>ie(yg)}),n.__NG_ELEMENT_ID__=-1,n})();function D(n,t=vt.Default){const e=ke();return null===e?ie(n,t):yu(Ar(),e,$t(n),t)}function Pm(){throw new Error("invalid")}function Pw(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;ixi&&Wl(n,t,xi,!1),gs(a?2:0,r),e(i,r)}finally{mc(o),gs(a?3:1,r)}}function cv(n,t,e){if(Lh(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=c&&a.push(c),a.push(e,i,o)}}(n,t,i,Lm(n,e,r.hostVars,Be),r)}function Cc(n,t,e,i,r,o){const a=_s(n,t);!function fv(n,t,e,i,r,o,a){if(null==o)n.removeAttribute(t,r,e);else{const c=null==a?Qt(o):a(o,i||"",r);n.setAttribute(t,r,c,e)}}(t[kn],a,o,n.value,e,i,r)}function kF(n,t,e,i,r,o){const a=o[t];if(null!==a){const c=i.setInput;for(let d=0;d0&&pv(e)}}function pv(n){for(let i=mm(n);null!==i;i=Su(i))for(let r=ro;r0&&pv(o)}const e=n[oe].components;if(null!==e)for(let i=0;i0&&pv(r)}}function OF(n,t){const e=Zo(t,n),i=e[oe];(function RF(n,t){for(let e=t.length;e-1&&(gm(t,i),Al(e,i))}this._attachedToViewContainer=!1}Zp(this._lView[oe],this._lView)}onDestroy(t){Bw(this._lView[oe],this._lView,null,t)}markForCheck(){gv(this._cdRefInjectingView||this._lView)}detach(){this._lView[_e]&=-65}reattach(){this._lView[_e]|=64}detectChanges(){Ig(this._lView[oe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ve(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function wy(n,t){ga(n,t,t[kn],2,null,null)}(this._lView[oe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ve(902,!1);this._appRef=t}}class PF extends Nm{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ig(t[oe],t,t[Zt],!1)}checkNoChanges(){}get context(){return null}}class qw extends x{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=F(t);return new Bm(e,this.ngModule)}}function Kw(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class NF{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=Sr(i);const r=this.injector.get(t,xe,i);return r!==xe||e===xe?r:this.parentInjector.get(t,e,i)}}class Bm extends s{get inputs(){return Kw(this.componentDef.inputs)}get outputs(){return Kw(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function so(n){return n.map(ci).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Xc?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const a=o?new NF(t,o):t,c=a.get(V,null);if(null===c)throw new ve(407,!1);const d=a.get(le,null),h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",y=i?function mF(n,t,e){return n.selectRootElement(t,e===Ir.ShadowDom)}(h,i,this.componentDef.encapsulation):pm(h,p,function LF(n){const t=n.toLowerCase();return"svg"===t?da:"math"===t?"math":null}(p)),T=this.componentDef.onPush?288:272,A=uv(0,null,null,1,0,null,null,null,null,null),N=Eg(null,A,null,T,null,null,c,h,d,a,null);let j,ee;Uh(N);try{const de=this.componentDef;let Ve,ge=null;de.findHostDirectiveDefs?(Ve=[],ge=new Map,de.findHostDirectiveDefs(de,Ve,ge),Ve.push(de)):Ve=[de];const Mt=function VF(n,t){const e=n[oe],i=xi;return n[i]=t,Qu(e,i,2,"#host",null)}(N,y),Yn=function HF(n,t,e,i,r,o,a,c){const d=r[oe];!function zF(n,t,e,i){for(const r of n)t.mergedAttrs=Tl(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Ag(t,t.mergedAttrs,!0),null!==e&&sg(i,e,t))}(i,n,t,a);const h=o.createRenderer(t,e),p=Eg(r,Nw(e),null,e.onPush?32:16,r[n.index],n,o,h,c||null,null,null);return d.firstCreatePass&&mv(d,n,i.length-1),Sg(r,p),r[n.index]=p}(Mt,y,de,Ve,N,c,h);ee=np(A,xi),y&&function jF(n,t,e,i){if(i)gp(n,e,["ng-version",jt.full]);else{const{attrs:r,classes:o}=function ao(n){const t=[],e=[];let i=1,r=2;for(;i0&&og(n,e,o.join(" "))}}(h,de,y,i),void 0!==e&&function UF(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Tl(r.hostAttrs,e=Tl(e,r.hostAttrs))}}(i)}function yv(n){return n===yo?{}:n===Ln?[]:n}function YF(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function ZF(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function qF(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function Og(n){return!!vv(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function vv(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function xc(n,t,e){return n[t]=e}function Do(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Md(n,t,e,i){const r=Do(n,t,e);return Do(n,t+1,i)||r}function kt(n,t,e,i){const r=ke();return Do(r,md(),t)&&(Vn(),Cc(Pi(),r,n,t,e,i)),kt}function eh(n,t,e,i){return Do(n,md(),e)?t+Qt(e)+i:Be}function th(n,t,e,i,r,o){const c=Md(n,function Ha(){return Ht.lFrame.bindingIndex}(),e,r);return hc(2),c?t+Qt(e)+i+Qt(r)+o:Be}function q(n,t,e,i,r,o,a,c){const d=ke(),h=Vn(),p=n+xi,y=h.firstCreatePass?function oO(n,t,e,i,r,o,a,c,d){const h=t.consts,p=Qu(t,n,4,a||null,qo(h,c));hv(t,e,p,qo(h,d)),uu(t,p);const y=p.tView=uv(2,p,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,p),y.queries=t.queries.embeddedTView(p)),p}(p,h,d,t,e,i,r,o,a):h.data[p];ha(y,!1);const T=d[kn].createComment("");Fu(h,d,T,y),Or(T,d),Sg(d,d[p]=Uw(T,d,T,y)),tu(y)&&lv(h,d,y),null!=a&&dv(d,y,c)}function Jo(n){return Cl(function ew(){return Ht.lFrame.contextLView}(),xi+n)}function P(n,t,e){const i=ke();return Do(i,md(),t)&&$s(Vn(),Pi(),i,n,t,i[kn],e,!1),P}function Cv(n,t,e,i,r){const a=r?"class":"style";bv(n,e,t.inputs[a],a,i)}function _(n,t,e,i){const r=ke(),o=Vn(),a=xi+n,c=r[kn],d=o.firstCreatePass?function aO(n,t,e,i,r,o){const a=t.consts,d=Qu(t,n,2,i,qo(a,r));return hv(t,e,d,qo(a,o)),null!==d.attrs&&Ag(d,d.attrs,!1),null!==d.mergedAttrs&&Ag(d,d.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,d),d}(a,o,r,t,e,i):o.data[a],h=r[a]=pm(c,t,function zb(){return Ht.lFrame.currentNamespace}()),p=tu(d);return ha(d,!0),sg(c,h,d),32!=(32&d.flags)&&Fu(o,r,h,d),0===function nu(){return Ht.lFrame.elementDepthCount}()&&Or(h,r),function iu(){Ht.lFrame.elementDepthCount++}(),p&&(lv(o,r,d),cv(o,d,r)),null!==i&&dv(r,d),_}function b(){let n=Ar();cp()?lp():(n=n.parent,ha(n,!1));const t=n;!function Nb(){Ht.lFrame.elementDepthCount--}();const e=Vn();return e.firstCreatePass&&(uu(e,n),Lh(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function iw(n){return 0!=(8&n.flags)}(t)&&Cv(e,t,ke(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function pp(n){return 0!=(16&n.flags)}(t)&&Cv(e,t,ke(),t.stylesWithoutHost,!1),b}function Pe(n,t,e,i){return _(n,t,e,i),b(),Pe}function Kr(n,t,e){const i=ke(),r=Vn(),o=n+xi,a=r.firstCreatePass?function cO(n,t,e,i,r){const o=t.consts,a=qo(o,i),c=Qu(t,n,8,"ng-container",a);return null!==a&&Ag(c,a,!0),hv(t,e,c,qo(o,r)),null!==t.queries&&t.queries.elementStart(t,c),c}(o,r,i,t,e):r.data[o];ha(a,!0);const c=i[o]=i[kn].createComment("");return Fu(r,i,c,a),Or(c,i),tu(a)&&(lv(r,i,a),cv(r,a,i)),null!=e&&dv(i,a),Kr}function Xr(){let n=Ar();const t=Vn();return cp()?lp():(n=n.parent,ha(n,!1)),t.firstCreatePass&&(uu(t,n),Lh(n)&&t.queries.elementEnd(n)),Xr}function Ut(){return ke()}function Pg(n){return!!n&&"function"==typeof n.then}function h1(n){return!!n&&"function"==typeof n.subscribe}const m1=h1;function ae(n,t,e,i){const r=ke(),o=Vn(),a=Ar();return f1(o,r,r[kn],a,n,t,i),ae}function xv(n,t){const e=Ar(),i=ke(),r=Vn();return f1(r,i,Yw(cu(r.data),e,i),e,n,t),xv}function f1(n,t,e,i,r,o,a){const c=tu(i),h=n.firstCreatePass&&Gw(n),p=t[Zt],y=Ww(t);let T=!0;if(3&i.type||a){const j=_s(i,t),ee=a?a(j):j,de=y.length,Ve=a?Mt=>a(hr(Mt[i.index])):i.index;let ge=null;if(!a&&c&&(ge=function lO(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;od?c[d]:null}"string"==typeof a&&(o+=2)}return null}(n,t,r,i.index)),null!==ge)(ge.__ngLastListenerFn__||ge).__ngNextListenerFn__=o,ge.__ngLastListenerFn__=o,T=!1;else{o=g1(i,t,p,o,!1);const Mt=e.listen(ee,r,o);y.push(o,Mt),h&&h.push(r,Ve,de,de+1)}}else o=g1(i,t,p,o,!1);const A=i.outputs;let N;if(T&&null!==A&&(N=A[r])){const j=N.length;if(j)for(let ee=0;ee-1?Zo(n.index,t):t);let d=p1(t,e,i,a),h=o.__ngNextListenerFn__;for(;h;)d=p1(t,e,h,a)&&d,h=h.__ngNextListenerFn__;return r&&!1===d&&(a.preventDefault(),a.returnValue=!1),d}}function Y(n=1){return function Gh(n){return(Ht.lFrame.contextLView=function Yh(n,t){for(;n>0;)t=t[uc],n--;return t}(n,Ht.lFrame.contextLView))[Zt]}(n)}function dO(n,t){let e=null;const i=function gt(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function Dv(n){return 2|n}function Td(n){return(131068&n)>>2}function Mv(n,t){return-131069&n|t<<2}function Tv(n){return 1|n}function M1(n,t,e,i,r){const o=n[e+1],a=null===t;let c=i?Gl(o):Td(o),d=!1;for(;0!==c&&(!1===d||a);){const p=n[c+1];gO(n[c],t)&&(d=!0,n[c+1]=i?Tv(p):Dv(p)),c=i?Gl(p):Td(p)}d&&(n[e+1]=i?Dv(o):Tv(o))}function gO(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&jc(n,t)>=0}const Pr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function T1(n){return n.substring(Pr.key,Pr.keyEnd)}function E1(n,t){const e=Pr.textEnd;return e===t?-1:(t=Pr.keyEnd=function vO(n,t,e){for(;t32;)t++;return t}(n,Pr.key=t,e),ch(n,t,e))}function ch(n,t,e){for(;t=0;e=E1(t,e))Zr(n,T1(t),!0)}function Ya(n,t,e,i){const r=ke(),o=Vn(),a=hc(2);o.firstUpdatePass&&O1(o,n,a,i),t!==Be&&Do(r,a,t)&&P1(o,o.data[Fr()],r,r[kn],n,r[a+1]=function AO(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=ze(nr(n)))),n}(t,e),i,a)}function F1(n,t){return t>=n.expandoStartIndex}function O1(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Fr()],a=F1(n,e);N1(o,i)&&null===t&&!a&&(t=!1),t=function MO(n,t,e,i){const r=cu(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=$m(e=Ev(null,n,t,e,i),t.attrs,i),o=null);else{const a=t.directiveStylingLast;if(-1===a||n[a]!==r)if(e=Ev(r,n,t,e,i),null===o){let d=function TO(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Td(i))return n[Gl(i)]}(n,t,i);void 0!==d&&Array.isArray(d)&&(d=Ev(null,n,t,d[1],i),d=$m(d,t.attrs,i),function EO(n,t,e,i){n[Gl(e?t.classBindings:t.styleBindings)]=i}(n,t,i,d))}else o=function kO(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(h=!0)):p=e,r)if(0!==d){const T=Gl(n[c+1]);n[i+1]=Lg(T,c),0!==T&&(n[T+1]=Mv(n[T+1],i)),n[c+1]=function hO(n,t){return 131071&n|t<<17}(n[c+1],i)}else n[i+1]=Lg(c,0),0!==c&&(n[c+1]=Mv(n[c+1],i)),c=i;else n[i+1]=Lg(d,0),0===c?c=i:n[d+1]=Mv(n[d+1],i),d=i;h&&(n[i+1]=Dv(n[i+1])),M1(n,p,i,!0),M1(n,p,i,!1),function pO(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&jc(o,t)>=0&&(e[i+1]=Tv(e[i+1]))}(t,p,n,i,o),a=Lg(c,d),o?t.classBindings=a:t.styleBindings=a}(r,o,t,e,a,i)}}function Ev(n,t,e,i,r){let o=null;const a=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c0;){const d=n[r],h=Array.isArray(d),p=h?d[1]:d,y=null===p;let T=e[r+1];T===Be&&(T=y?Ln:void 0);let A=y?Ep(T,i):p===i?T:void 0;if(h&&!Ng(A)&&(A=Ep(d,i)),Ng(A)&&(c=A,a))return c;const N=n[r+1];r=a?Gl(N):Td(N)}if(null!==t){let d=o?t.residualClasses:t.residualStyles;null!=d&&(c=Ep(d,i))}return c}function Ng(n){return void 0!==n}function N1(n,t){return 0!=(n.flags&(t?8:16))}function M(n,t=""){const e=ke(),i=Vn(),r=n+xi,o=i.firstCreatePass?Qu(i,r,1,t,null):i.data[r],a=e[r]=function fm(n,t){return n.createText(t)}(e[kn],t);Fu(i,e,a,o),ha(o,!1)}function zt(n){return bi("",n,""),zt}function bi(n,t,e){const i=ke(),r=eh(i,n,t,e);return r!==Be&&Qc(i,Fr(),r),bi}function jm(n,t,e,i,r){const o=ke(),a=th(o,n,t,e,i,r);return a!==Be&&Qc(o,Fr(),a),jm}function W1(n,t,e){!function Za(n,t,e,i){const r=Vn(),o=hc(2);r.firstUpdatePass&&O1(r,null,o,i);const a=ke();if(e!==Be&&Do(a,o,e)){const c=r.data[Fr()];if(N1(c,i)&&!F1(r,o)){let d=i?c.classesWithoutHost:c.stylesWithoutHost;null!==d&&(e=to(d,e||"")),Cv(r,c,a,e,i)}else!function IO(n,t,e,i,r,o,a,c){r===Be&&(r=Ln);let d=0,h=0,p=0>20;if(Kc(n)||!n.multi){const A=new gc(d,r,D),N=Ov(c,t,r?p:p+T,y);-1===N?(pd(gu(h,a),o,c),Fv(o,n,t.length),t.push(c),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(A),a.push(A)):(e[N]=A,a[N]=A)}else{const A=Ov(c,t,p+T,y),N=Ov(c,t,p,p+T),ee=N>=0&&e[N];if(r&&!ee||!r&&!(A>=0&&e[A])){pd(gu(h,a),o,c);const de=function q2(n,t,e,i,r){const o=new gc(n,e,D);return o.multi=[],o.index=t,o.componentProviders=0,kD(o,r,i&&!e),o}(r?Z2:Y2,e.length,r,i,d);!r&&ee&&(e[N].providerFactory=de),Fv(o,n,t.length,0),t.push(c),h.directiveStart++,h.directiveEnd++,r&&(h.providerIndexes+=1048576),e.push(de),a.push(de)}else Fv(o,n,A>-1?A:N,kD(e[r?N:A],d,!r&&i));!r&&i&&ee&&e[N].componentProviders++}}}function Fv(n,t,e,i){const r=Kc(t),o=function Ky(n){return!!n.useClass}(t);if(r||o){const d=(o?$t(t.useClass):t).prototype.ngOnDestroy;if(d){const h=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const p=h.indexOf(e);-1===p?h.push(e,[i,d]):h[p+1].push(i,d)}else h.push(e,d)}}}function kD(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Ov(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function G2(n,t,e){const i=Vn();if(i.firstCreatePass){const r=Vs(n);Av(e,i.data,i.blueprint,r,!0),Av(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class uh{}class K2{}class SD extends uh{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qw(this);const i=function pe(n,t){const e=n[ca]||null;if(!e&&!0===t)throw new Error(`Type ${ze(n)} does not have '\u0275mod' property.`);return e}(t);this._bootstrapComponents=function Ge(n){return n instanceof Function?n():n}(i.bootstrap),this._r3Injector=kw(t,e,[{provide:uh,useValue:this},{provide:x,useValue:this.componentFactoryResolver}],ze(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pv extends K2{constructor(t){super(),this.moduleType=t}create(t){return new SD(this.moduleType,t)}}class Q2 extends uh{constructor(t,e,i){super(),this.componentFactoryResolver=new qw(this),this.instance=null;const r=new wg([...t,{provide:uh,useValue:this},{provide:x,useValue:this.componentFactoryResolver}],e||Ku(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let J2=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Im(0,e.type),r=i.length>0?function ID(n,t,e=null){return new Q2(n,t,e).injector}([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=rt({token:n,providedIn:"environment",factory:()=>new n(ie(Xc))}),n})();function AD(n){n.getStandaloneInjector=t=>t.get(J2).getOrCreateStandaloneInjector(n)}function qa(n,t,e){const i=oo()+n,r=ke();return r[i]===Be?xc(r,i,e?t.call(e):t()):function Vm(n,t){return n[t]}(r,i)}function VD(n,t,e,i,r){return function zD(n,t,e,i,r,o,a){const c=t+e;return Md(n,c,r,o)?xc(n,c+2,a?i.call(a,r,o):i(r,o)):qm(n,c+2)}(ke(),oo(),n,t,e,i,r)}function qm(n,t){const e=n[t];return e===Be?void 0:e}function HD(n,t,e,i,r,o){const a=t+e;return Do(n,a,r)?xc(n,a+1,o?i.call(o,r):i(r)):qm(n,a+1)}function Km(n,t){const e=Vn();let i;const r=n+xi;e.firstCreatePass?(i=function pR(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Nc(i.type)),a=Ui(D);try{const c=pu(!1),d=o();return pu(c),function sO(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,ke(),r,d),d}finally{Ui(a)}}function Xm(n,t,e){const i=n+xi,r=ke(),o=Cl(r,i);return function Qm(n,t){return n[oe].data[t].pure}(r,i)?HD(r,oo(),t,o.transform,e,o):o.transform(e)}function Nv(n){return t=>{setTimeout(n,void 0,t)}}const Ye=class vR extends Ee{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),a=i;if(t&&"object"==typeof t){const d=t;r=d.next?.bind(d),o=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(o=Nv(o),r&&(r=Nv(r)),a&&(a=Nv(a)));const c=super.subscribe({next:r,error:o,complete:a});return t instanceof re&&t.add(c),c}};function CR(){return this._results[Symbol.iterator]()}class Yl{get changes(){return this._changes||(this._changes=new Ye)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Yl.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=CR)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function Xo(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function nm(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=DR,n})();const xR=pr,wR=class extends xR{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tView,r=Eg(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[vo]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Co];return null!==a&&(r[Co]=a.createEmbeddedView(i)),av(i,r,t),new Nm(r)}};function DR(){return $g(Ar(),ke())}function $g(n,t){return 4&n.type?new wR(t,n,E(n,t)):null}let gr=(()=>{class n{}return n.__NG_ELEMENT_ID__=MR,n})();function MR(){return YD(Ar(),ke())}const TR=gr,WD=class extends TR{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return E(this._hostTNode,this._hostLView)}get injector(){return new zc(this._hostTNode,this._hostLView)}get parentInjector(){const t=bu(this._hostTNode,this._hostLView);if(yp(t)){const e=El(t,this._hostLView),i=fu(t);return new zc(e[oe].data[i+8],e)}return new zc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=GD(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-ro}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=t.createEmbeddedView(e||{},o);return this.insert(a,r),a}createComponent(t,e,i,r,o){const a=t&&!function Ko(n){return"function"==typeof n}(t);let c;if(a)c=e;else{const y=e||{};c=y.index,i=y.injector,r=y.projectableNodes,o=y.environmentInjector||y.ngModuleRef}const d=a?t:new Bm(F(t)),h=i||this.parentInjector;if(!o&&null==d.ngModule){const T=(a?h:this.parentInjector).get(Xc,null);T&&(o=T)}const p=d.create(h,r,void 0,o);return this.insert(p.hostView,c),p}insert(t,e){const i=t._lView,r=i[oe];if(function wl(n){return Bs(n[at])}(i)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const y=i[at],T=new WD(y,y[ln],y[at]);T.detach(T.indexOf(t))}}const o=this._adjustIndex(e),a=this._lContainer;!function My(n,t,e,i){const r=ro+i,o=e.length;i>0&&(e[r-1][$e]=t),i0)i.push(a[c/2]);else{const h=o[c+1],p=t[-d];for(let y=ro;y{class n{constructor(e){this.appInits=e,this.resolve=Wg,this.reject=Wg,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:c,error:d})});e.push(a)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(ie(_M,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const fh=new De("AppId",{providedIn:"root",factory:function bM(){return`${Zv()}${Zv()}${Zv()}`}});function Zv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yM=new De("Platform Initializer"),ef=new De("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Lr=new De("AnimationModuleType"),Mc=new De("LocaleId",{providedIn:"root",factory:()=>_i(Mc,vt.Optional|vt.SkipSelf)||function QR(){return typeof $localize<"u"&&$localize.locale||dh}()}),iP=(()=>Promise.resolve(0))();function qv(n){typeof Zone>"u"?iP.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Kt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ye(!1),this.onMicrotaskEmpty=new Ye(!1),this.onStable=new Ye(!1),this.onError=new Ye(!1),typeof Zone>"u")throw new ve(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function rP(){let n=jn.requestAnimationFrame,t=jn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function aP(n){const t=()=>{!function sP(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(jn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Xv(n),n.isCheckStableRunning=!0,Kv(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Xv(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,a,c)=>{try{return xM(n),e.invokeTask(r,o,a,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),wM(n)}},onInvoke:(e,i,r,o,a,c,d)=>{try{return xM(n),e.invoke(r,o,a,c,d)}finally{n.shouldCoalesceRunChangeDetection&&t(),wM(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,Xv(n),Kv(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Kt.isInAngularZone())throw new ve(909,!1)}static assertNotInAngularZone(){if(Kt.isInAngularZone())throw new ve(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,t,oP,Wg,Wg);try{return o.runTask(a,e,i)}finally{o.cancelTask(a)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const oP={};function Kv(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Xv(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function xM(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function wM(n){n._nesting--,Kv(n)}class cP{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ye,this.onMicrotaskEmpty=new Ye,this.onStable=new Ye,this.onError=new Ye}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const DM=new De(""),Yg=new De("");let e0,Qv=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,e0||(function lP(n){e0=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Kt.assertNotInAngularZone(),qv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())qv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(ie(Kt),ie(Jv),ie(Yg))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})(),Jv=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return e0?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Jc=!1;let Zl=null;const MM=new De("AllowMultipleToken"),t0=new De("PlatformDestroyListeners"),dP=new De("appBootstrapListener");function EM(n,t,e=[]){const i=`Platform: ${t}`,r=new De(i);return(o=[])=>{let a=n0();if(!a||a.injector.get(MM,!1)){const c=[...e,...o,{provide:r,useValue:!0}];n?n(c):function mP(n){if(Zl&&!Zl.get(MM,!1))throw new ve(400,!1);Zl=n;const t=n.get(SM);(function TM(n){const t=n.get(yM,null);t&&t.forEach(e=>e())})(n)}(function kM(n=[],t){return Qo.create({name:t,providers:[{provide:qu,useValue:"platform"},{provide:t0,useValue:new Set([()=>Zl=null])},...n]})}(c,i))}return function pP(n){const t=n0();if(!t)throw new ve(401,!1);return t}()}}function n0(){return Zl?.get(SM)??null}let SM=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function AM(n,t){let e;return e="noop"===n?new cP:("zone.js"===n?void 0:n)||new Kt(t),e}(i?.ngZone,function IM(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Kt,useValue:r}];return r.run(()=>{const a=Qo.create({providers:o,parent:this.injector,name:e.moduleType.name}),c=e.create(a),d=c.injector.get(Qe,null);if(!d)throw new ve(402,!1);return r.runOutsideAngular(()=>{const h=r.onError.subscribe({next:p=>{d.handleError(p)}});c.onDestroy(()=>{Zg(this._modules,c),h.unsubscribe()})}),function FM(n,t,e){try{const i=e();return Pg(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(d,r,()=>{const h=c.injector.get(Gg);return h.runInitializers(),h.donePromise.then(()=>(function rD(n){Ji(n,"Expected localeId to be defined"),"string"==typeof n&&(iD=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Mc,dh)||dh),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,i=[]){const r=OM({},i);return function uP(n,t,e){const i=new Pv(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(tf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ve(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ve(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(t0,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(ie(Qo))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function OM(n,t){return Array.isArray(t)?t.reduce(OM,n):{...n,...t}}let tf=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ye(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),a=new ye(c=>{let d;this._zone.runOutsideAngular(()=>{d=this._zone.onStable.subscribe(()=>{Kt.assertNotInAngularZone(),qv(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const h=this._zone.onUnstable.subscribe(()=>{Kt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{d.unsubscribe(),h.unsubscribe()}});this.isStable=si(o,a.pipe(ia()))}bootstrap(e,i){const r=e instanceof s;if(!this._injector.get(Gg).done){!r&&function ce(n){const t=F(n)||$(n)||z(n);return null!==t&&t.standalone}(e);throw new ve(405,Jc)}let a;a=r?e:this._injector.get(x).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const c=function hP(n){return n.isBoundToModule}(a)?void 0:this._injector.get(uh),h=a.create(Qo.NULL,[],i||a.selector,c),p=h.location.nativeElement,y=h.injector.get(DM,null);return y?.registerApplication(p),h.onDestroy(()=>{this.detachView(h.hostView),Zg(this.components,h),y?.unregisterApplication(p)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new ve(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Zg(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(dP,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Zg(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ve(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(ie(Kt),ie(Xc),ie(Qe))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Zg(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let li=(()=>{class n{}return n.__NG_ELEMENT_ID__=_P,n})();function _P(n){return function bP(n,t,e){if(hd(n)&&!e){const i=Zo(n.index,t);return new Nm(i,i)}return 47&n.type?new Nm(t[ur],t):null}(Ar(),ke(),16==(16&n))}class BM{constructor(){}supports(t){return Og(t)}create(t){return new DP(t)}}const wP=(n,t)=>t;class DP{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||wP}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,c,a,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,a,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new MP(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new VM),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new VM),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class MP{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class TP{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class VM{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new TP,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function HM(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new kP(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class kP{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function $M(){return new Xg([new BM])}let Xg=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||$M()),deps:[[n,new bc,new xo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ve(901,!1)}}return n.\u0275prov=rt({token:n,providedIn:"root",factory:$M}),n})();function jM(){return new nf([new zM])}let nf=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||jM()),deps:[[n,new bc,new xo]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ve(901,!1)}}return n.\u0275prov=rt({token:n,providedIn:"root",factory:jM}),n})();const AP=EM(null,"core",[]);let FP=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(ie(tf))},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();let l0=null;function el(){return l0}class PP{}const hn=new De("DocumentToken");let UM=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:function(){return function LP(){return ie(WM)}()},providedIn:"platform"}),n})(),WM=(()=>{class n extends UM{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return el().getBaseHref(this._doc)}onPopState(e){const i=el().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=el().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){GM()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){GM()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:function(){return function NP(){return new WM(ie(hn))}()},providedIn:"platform"}),n})();function GM(){return!!window.history.pushState}function YM(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function ZM(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Sd(n){return n&&"?"!==n[0]?"?"+n:n}let d0=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:function(){return _i(VP)},providedIn:"root"}),n})();const BP=new De("appBaseHref");let VP=(()=>{class n extends d0{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??_i(hn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return YM(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Sd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const a=this.prepareExternalUrl(r+Sd(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){const a=this.prepareExternalUrl(r+Sd(o));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(ie(UM),ie(BP,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qM=(()=>{class n{constructor(e){this._subject=new Ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function $P(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(ZM(KM(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Sd(i))}normalize(e){return n.stripTrailingSlash(function zP(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,KM(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Sd(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Sd(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Sd,n.joinWithSlash=YM,n.stripTrailingSlash=ZM,n.\u0275fac=function(e){return new(e||n)(ie(d0))},n.\u0275prov=rt({token:n,factory:function(){return function HP(){return new qM(ie(d0))}()},providedIn:"root"}),n})();function KM(n){return n.replace(/\/index.html$/,"")}function oT(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const v0=/\s+/,sT=[];let ph=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=sT,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(v0):sT}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(v0):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(v0).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(D(Xg),D(nf),D(k),D(ne))},n.\u0275dir=C({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class TL{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let xs=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new TL(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const c=i.get(o);i.move(c,a),lT(c,r)}});for(let r=0,o=i.length;r{lT(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(D(gr),D(pr),D(Xg))},n.\u0275dir=C({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function lT(n,t){n.context.$implicit=t.item}let Oi=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new kL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){dT("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){dT("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(D(gr),D(pr))},n.\u0275dir=C({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class kL{constructor(){this.$implicit=null,this.ngIf=null}}function dT(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ze(t)}'.`)}class C0{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let gh=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),a_=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new C0(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(D(gr),D(pr),D(gh,9))},n.\u0275dir=C({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),uT=(()=>{class n{constructor(e,i,r){r._addDefault(new C0(e,i))}}return n.\u0275fac=function(e){return new(e||n)(D(gr),D(pr),D(gh,9))},n.\u0275dir=C({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),mT=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(r,o,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(D(gr))},n.\u0275dir=C({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[wi]}),n})();class AL{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class FL{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const OL=new FL,RL=new AL;let x0=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Pg(e))return OL;if(h1(e))return RL;throw function Qa(n,t){return new ve(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(D(li,16))},n.\u0275pipe=O({name:"async",type:n,pure:!1,standalone:!0}),n})(),fT=(()=>{class n{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=pT}transform(e,i=pT){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(a=>{this.keyValues.push(function YL(n,t){return{key:n,value:t}}(a.key,a.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}}return n.\u0275fac=function(e){return new(e||n)(D(nf,16))},n.\u0275pipe=O({name:"keyvalue",type:n,pure:!1,standalone:!0}),n})();function pT(n,t){const e=n.key,i=t.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();const gT="browser";function _T(n){return n===gT}class yT{}class EN extends PP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class E0 extends EN{static makeCurrent(){!function RP(n){l0||(l0=n)}(new E0)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function kN(){return cf=cf||document.querySelector("base"),cf?cf.getAttribute("href"):null}();return null==e?null:function SN(n){d_=d_||document.createElement("a"),d_.setAttribute("href",n);const t=d_.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){cf=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return oT(document.cookie,t)}}let d_,cf=null;const DT=new De("TRANSITION_ID"),AN=[{provide:_M,useFactory:function IN(n,t,e){return()=>{e.get(Gg).donePromise.then(()=>{const i=el(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const u_=new De("EventManagerPlugins");let h_=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})(),lf=(()=>{class n extends TT{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const k0={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},S0=/%COMP%/g,ST=new De("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function IT(n,t){return t.flat(100).map(e=>e.replace(S0,n))}function AT(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let m_=(()=>{class n{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new I0(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof RT?r.applyToHost(e):r instanceof A0&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestory;switch(i.encapsulation){case Ir.Emulated:o=new RT(a,c,i,this.appId,d);break;case Ir.ShadowDom:return new HN(a,c,e,i);default:o=new A0(a,c,i,d)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(ie(h_),ie(lf),ie(fh),ie(ST))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();class I0{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(k0[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(OT(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(OT(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=k0[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=k0[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(qr.DashCase|qr.Important)?t.style.setProperty(e,i,r&qr.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&qr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,AT(i)):this.eventManager.addEventListener(t,e,AT(i))}}function OT(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class HN extends I0{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=IT(r.id,r.styles);for(const a of o){const c=document.createElement("style");c.textContent=a,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class A0 extends I0{constructor(t,e,i,r,o=i.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=IT(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class RT extends A0{constructor(t,e,i,r,o){const a=r+"-"+i.id;super(t,e,i,o,a),this.contentAttr=function NN(n){return"_ngcontent-%COMP%".replace(S0,n)}(a),this.hostAttr=function BN(n){return"_nghost-%COMP%".replace(S0,n)}(a)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let zN=(()=>{class n extends MT{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const PT=["alt","control","meta","shift"],$N={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jN={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let UN=(()=>{class n extends MT{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>el().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),PT.forEach(h=>{const p=i.indexOf(h);p>-1&&(i.splice(p,1),a+=h+".")}),a+=o,0!=i.length||0===o.length)return null;const d={};return d.domEventName=r,d.fullKey=a,d}static matchEventFullKeyCode(e,i){let r=$N[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),PT.forEach(a=>{a!==r&&(0,jN[a])(e)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const ZN=EM(AP,"browser",[{provide:ef,useValue:gT},{provide:yM,useValue:function WN(){E0.makeCurrent()},multi:!0},{provide:hn,useFactory:function YN(){return function Yc(n){fr=n}(document),document},deps:[]}]),BT=new De(""),VT=[{provide:Yg,useClass:class FN{addToWindow(t){jn.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},jn.getAllAngularTestabilities=()=>t.getAllTestabilities(),jn.getAllAngularRootElements=()=>t.getAllRootElements(),jn.frameworkStabilizers||(jn.frameworkStabilizers=[]),jn.frameworkStabilizers.push(i=>{const r=jn.getAllAngularTestabilities();let o=r.length,a=!1;const c=function(d){a=a||d,o--,0==o&&i(a)};r.forEach(function(d){d.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?el().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:DM,useClass:Qv,deps:[Kt,Jv,Yg]},{provide:Qv,useClass:Qv,deps:[Kt,Jv,Yg]}],HT=[{provide:qu,useValue:"root"},{provide:Qe,useFactory:function GN(){return new Qe},deps:[]},{provide:u_,useClass:zN,multi:!0,deps:[hn,Kt,ef]},{provide:u_,useClass:UN,multi:!0,deps:[hn]},{provide:m_,useClass:m_,deps:[h_,lf,fh,ST]},{provide:V,useExisting:m_},{provide:TT,useExisting:lf},{provide:lf,useClass:lf,deps:[hn]},{provide:h_,useClass:h_,deps:[u_,Kt]},{provide:yT,useClass:ON,deps:[]},[]];let zT=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:fh,useValue:e.appId},{provide:DT,useExisting:fh},AN]}}}return n.\u0275fac=function(e){return new(e||n)(ie(BT,12))},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[...HT,...VT],imports:[xa,FP]}),n})();typeof window<"u"&&window;let f_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:function(e){let i=null;return i=e?new(e||n):ie(UT),i},providedIn:"root"}),n})(),UT=(()=>{class n extends f_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case qn.NONE:return i;case qn.HTML:return ba(i,"HTML")?nr(i):pg(this._doc,String(i)).toString();case qn.STYLE:return ba(i,"Style")?nr(i):i;case qn.SCRIPT:if(ba(i,"Script"))return nr(i);throw new Error("unsafe value used in a script context");case qn.URL:return ba(i,"URL")?nr(i):zu(String(i));case qn.RESOURCE_URL:if(ba(i,"ResourceURL"))return nr(i);throw new Error(`unsafe value used in a resource URL context (see ${Ii})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Ii})`)}}bypassSecurityTrustHtml(e){return function Ly(n){return new Vu(n)}(e)}bypassSecurityTrustStyle(e){return function Hu(n){return new Py(n)}(e)}bypassSecurityTrustScript(e){return function Ny(n){return new lg(n)}(e)}bypassSecurityTrustUrl(e){return function _w(n){return new vm(n)}(e)}bypassSecurityTrustResourceUrl(e){return function ug(n){return new Cm(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:function(e){let i=null;return i=e?new e:function tB(n){return new UT(n.get(hn))}(ie(Qo)),i},providedIn:"root"}),n})();class WT{}class nB{}const nl="*";function il(n,t){return{type:7,name:n,definitions:t,options:{}}}function Mo(n,t=null){return{type:4,styles:t,timings:n}}function iB(n,t=null){return{type:3,steps:n,options:t}}function GT(n,t=null){return{type:2,steps:n,options:t}}function ki(n){return{type:6,styles:n,offset:null}}function wa(n,t,e){return{type:0,name:n,styles:t,options:e}}function To(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function rB(n=null){return{type:9,options:n}}function oB(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function YT(n){Promise.resolve().then(n)}class df{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){YT(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class ZT{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?YT(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,c)=>Math.max(a,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const R0="!";function qT(n){return new ve(3e3,!1)}function HB(){return typeof window<"u"&&typeof window.document<"u"}function P0(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Kl(n){switch(n.length){case 0:return new df;case 1:return n[0];default:return new ZT(n)}}function KT(n,t,e,i,r=new Map,o=new Map){const a=[],c=[];let d=-1,h=null;if(i.forEach(p=>{const y=p.get("offset"),T=y==d,A=T&&h||new Map;p.forEach((N,j)=>{let ee=j,de=N;if("offset"!==j)switch(ee=t.normalizePropertyName(ee,a),de){case R0:de=r.get(j);break;case nl:de=o.get(j);break;default:de=t.normalizeStyleValue(j,ee,de,a)}A.set(ee,de)}),T||c.push(A),h=A,d=y}),a.length)throw function kB(n){return new ve(3502,!1)}();return c}function L0(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&N0(e,"start",n)));break;case"done":n.onDone(()=>i(e&&N0(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&N0(e,"destroy",n)))}}function N0(n,t,e){const o=B0(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),a=n._data;return null!=a&&(o._data=a),o}function B0(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Us(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function XT(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let V0=(n,t)=>!1,QT=(n,t,e)=>[],JT=null;function H0(n){const t=n.parentNode||n.host;return t===JT?null:t}(P0()||typeof Element<"u")&&(HB()?(JT=(()=>document.documentElement)(),V0=(n,t)=>{for(;t;){if(t===n)return!0;t=H0(t)}return!1}):V0=(n,t)=>n.contains(t),QT=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let Id=null,eE=!1;const tE=V0,nE=QT;let iE=(()=>{class n{validateStyleProperty(e){return function $B(n){Id||(Id=function jB(){return typeof document<"u"?document.body:null}()||{},eE=!!Id.style&&"WebkitAppearance"in Id.style);let t=!0;return Id.style&&!function zB(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in Id.style,!t&&eE&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Id.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return tE(e,i)}getParentElement(e){return H0(e)}query(e,i,r){return nE(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,c=[],d){return new df(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})(),z0=(()=>{class n{}return n.NOOP=new iE,n})();const UB=1e3,$0="ng-enter",p_="ng-leave",g_="ng-trigger",__=".ng-trigger",oE="ng-animating",j0=".ng-animating";function rl(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:U0(parseFloat(t[1]),t[2])}function U0(n,t){return"s"===t?n*UB:n}function b_(n,t,e){return n.hasOwnProperty("duration")?n:function GB(n,t,e){let r,o=0,a="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(qT()),{duration:0,delay:0,easing:""};r=U0(parseFloat(c[1]),c[2]);const d=c[3];null!=d&&(o=U0(parseFloat(d),c[4]));const h=c[5];h&&(a=h)}else r=n;if(!e){let c=!1,d=t.length;r<0&&(t.push(function sB(){return new ve(3100,!1)}()),c=!0),o<0&&(t.push(function aB(){return new ve(3101,!1)}()),c=!0),c&&t.splice(d,0,qT())}return{duration:r,delay:o,easing:a}}(n,t,e)}function uf(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function sE(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Xl(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function cE(n,t,e){return e?t+":"+e+";":""}function lE(n){let t="";for(let e=0;e{const o=G0(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),P0()&&lE(n))}function Ad(n,t){n.style&&(t.forEach((e,i)=>{const r=G0(i);n.style[r]=""}),P0()&&lE(n))}function hf(n){return Array.isArray(n)?1==n.length?n[0]:GT(n):n}const W0=new RegExp("{{\\s*(.+?)\\s*}}","g");function dE(n){let t=[];if("string"==typeof n){let e;for(;e=W0.exec(n);)t.push(e[1]);W0.lastIndex=0}return t}function mf(n,t,e){const i=n.toString(),r=i.replace(W0,(o,a)=>{let c=t[a];return null==c&&(e.push(function lB(n){return new ve(3003,!1)}()),c=""),c.toString()});return r==i?n:r}function y_(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const qB=/-+([a-z0-9])/g;function G0(n){return n.replace(qB,(...t)=>t[1].toUpperCase())}function KB(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ws(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function dB(n){return new ve(3004,!1)}()}}function uE(n,t){return window.getComputedStyle(n)[t]}const x_="*";function n3(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function r3(n,t,e){if(":"==n[0]){const d=function o3(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof d)return void t.push(d);n=d}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function wB(n){return new ve(3015,!1)}()),t;const r=i[1],o=i[2],a=i[3];t.push(hE(r,a));"<"==o[0]&&!(r==x_&&a==x_)&&t.push(hE(a,r))}(i,e,t)):e.push(n),e}const w_=new Set(["true","1"]),D_=new Set(["false","0"]);function hE(n,t){const e=w_.has(n)||D_.has(n),i=w_.has(t)||D_.has(t);return(r,o)=>{let a=n==x_||n==r,c=t==x_||t==o;return!a&&e&&"boolean"==typeof r&&(a=r?w_.has(n):D_.has(n)),!c&&i&&"boolean"==typeof o&&(c=o?w_.has(t):D_.has(t)),a&&c}}const s3=new RegExp("s*:selfs*,?","g");function Y0(n,t,e,i){return new a3(n).build(t,e,i)}class a3{constructor(t){this._driver=t}build(t,e,i){const r=new d3(e);return this._resetContextStyleTimingState(r),Ws(this,hf(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push(function hB(){return new ve(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const d=c,h=d.name;h.toString().split(/\s*,\s*/).forEach(p=>{d.name=p,o.push(this.visitState(d,e))}),d.name=h}else if(1==c.type){const d=this.visitTransition(c,e);i+=d.queryCount,r+=d.depCount,a.push(d)}else e.errors.push(function mB(){return new ve(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(d=>{dE(d).forEach(h=>{a.hasOwnProperty(h)||o.add(h)})})}),o.size&&(y_(o.values()),e.errors.push(function fB(n,t){return new ve(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Ws(this,hf(t.animation),e);return{type:1,matchers:n3(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Fd(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Ws(this,i,e)),options:Fd(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(a=>{e.currentTime=i;const c=Ws(this,a,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:o,options:Fd(t.options)}}visitAnimate(t,e){const i=function h3(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return Z0(b_(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Z0(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=b_(e,t);return Z0(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:ki({});if(5==o.type)r=this.visitKeyframes(o,e);else{let a=t.styles,c=!1;if(!a){c=!0;const h={};i.easing&&(h.easing=i.easing),a=ki(h)}e.currentTime+=i.duration+i.delay;const d=this.visitStyle(a,e);d.isEmptyStep=c,r=d}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===nl?i.push(c):e.errors.push(new ve(3002,!1)):i.push(sE(c));let o=!1,a=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(a=c.get("easing"),c.delete("easing")),!o))for(let d of c.values())if(d.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{"string"!=typeof a&&a.forEach((c,d)=>{const h=e.collectedStyles.get(e.currentQuerySelector),p=h.get(d);let y=!0;p&&(o!=r&&o>=p.startTime&&r<=p.endTime&&(e.errors.push(function gB(n,t,e,i,r){return new ve(3010,!1)}()),y=!1),o=p.startTime),y&&h.set(d,{startTime:o,endTime:r}),e.options&&function ZB(n,t,e){const i=t.params||{},r=dE(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function cB(n){return new ve(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function _B(){return new ve(3011,!1)}()),i;let o=0;const a=[];let c=!1,d=!1,h=0;const p=t.steps.map(de=>{const Ve=this._makeStyleAst(de,e);let ge=null!=Ve.offset?Ve.offset:function u3(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(Ve.styles),Mt=0;return null!=ge&&(o++,Mt=Ve.offset=ge),d=d||Mt<0||Mt>1,c=c||Mt0&&o{const ge=T>0?Ve==A?1:T*Ve:a[Ve],Mt=ge*ee;e.currentTime=N+j.delay+Mt,j.duration=Mt,this._validateStyleAst(de,e),de.offset=ge,i.styles.push(de)}),i}visitReference(t,e){return{type:8,animation:Ws(this,hf(t.animation),e),options:Fd(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Fd(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Fd(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,a]=function c3(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(s3,"")),n=n.replace(/@\*/g,__).replace(/@\w+/g,e=>__+"-"+e.slice(1)).replace(/:animating/g,j0),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Us(e.collectedStyles,e.currentQuerySelector,new Map);const c=Ws(this,hf(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:c,originalSelector:t.selector,options:Fd(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function CB(){return new ve(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:b_(t.timings,e.errors,!0);return{type:12,animation:Ws(this,hf(t.animation),e),timings:i,options:null}}}class d3{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Fd(n){return n?(n=uf(n)).params&&(n.params=function l3(n){return n?uf(n):null}(n.params)):n={},n}function Z0(n,t,e){return{duration:n,delay:t,easing:e}}function q0(n,t,e,i,r,o,a=null,c=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:c}}class M_{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const p3=new RegExp(":enter","g"),_3=new RegExp(":leave","g");function K0(n,t,e,i,r,o=new Map,a=new Map,c,d,h=[]){return(new b3).buildKeyframes(n,t,e,i,r,o,a,c,d,h)}class b3{buildKeyframes(t,e,i,r,o,a,c,d,h,p=[]){h=h||new M_;const y=new X0(t,e,h,r,o,p,[]);y.options=d;const T=d.delay?rl(d.delay):0;y.currentTimeline.delayNextStep(T),y.currentTimeline.setStyles([a],null,y.errors,d),Ws(this,i,y);const A=y.timelines.filter(N=>N.containsAnimation());if(A.length&&c.size){let N;for(let j=A.length-1;j>=0;j--){const ee=A[j];if(ee.element===e){N=ee;break}}N&&!N.allowOnlyTimelineStyles()&&N.setStyles([c],null,y.errors,d)}return A.length?A.map(N=>N.buildKeyframes()):[q0(e,[],[],[],0,T,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const a="number"==typeof o?o:rl(mf(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const a=null!=i.duration?rl(i.duration):null,c=null!=i.delay?rl(i.delay):null;return 0!==a&&t.forEach(d=>{const h=e.appendInstructionToTimeline(d,a,c);o=Math.max(o,h.duration+h.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Ws(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=T_);const a=rl(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>Ws(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?rl(t.options.delay):0;t.steps.forEach(a=>{const c=e.createSubContext(t.options);o&&c.delayNextStep(o),Ws(this,a,c),r=Math.max(r,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return b_(e.params?mf(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(d=>{c.forwardTime((d.offset||0)*o),c.setStyles(d.styles,d.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?rl(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=T_);let a=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let d=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const y=e.createSubContext(t.options,h);o&&y.delayNextStep(o),h===e.element&&(d=y.currentTimeline),Ws(this,t.animation,y),y.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,y.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),c=a*(e.currentQueryTotal-1);let d=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":d=c-d;break;case"full":d=i.currentStaggerTime}const p=e.currentTimeline;d&&p.delayNextStep(d);const y=p.currentTime;Ws(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-y+(r.startTime-i.currentTimeline.startTime)}}const T_={};class X0{constructor(t,e,i,r,o,a,c,d){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=T_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new E_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=rl(i.duration)),null!=i.delay&&(r.delay=rl(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(c=>{(!e||!a.hasOwnProperty(c))&&(a[c]=mf(o[c],a,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new X0(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=T_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new y3(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(p3,"."+this._enterClassName)).replace(_3,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!o&&0==c.length&&a.push(function xB(n){return new ve(3014,!1)}()),c}}class E_{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new E_(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||nl),this._currentKeyframe.set(e,nl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},a=function v3(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,nl)}else Xl(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,d]of a){const h=mf(d,o,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??nl),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,d)=>{const h=Xl(c,new Map,this._backFill);h.forEach((p,y)=>{p===R0?t.add(y):p===nl&&e.add(y)}),i||h.set("offset",d/this.duration),r.push(h)});const o=t.size?y_(t.values()):[],a=e.size?y_(e.values()):[];if(i){const c=r[0],d=new Map(c);c.set("offset",0),d.set("offset",1),r=[c,d]}return q0(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class y3 extends E_{constructor(t,e,i,r,o,a,c=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=c,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],a=i+e,c=e/a,d=Xl(t[0]);d.set("offset",0),o.push(d);const h=Xl(t[0]);h.set("offset",pE(c)),o.push(h);const p=t.length-1;for(let y=1;y<=p;y++){let T=Xl(t[y]);const A=T.get("offset");T.set("offset",pE((e+A*i)/a)),o.push(T)}i=a,e=0,r="",t=o}return q0(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function pE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class Q0{}const C3=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class x3 extends Q0{normalizePropertyName(t,e){return G0(t)}normalizeStyleValue(t,e,i,r){let o="";const a=i.toString().trim();if(C3.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function uB(n,t){return new ve(3005,!1)}())}return a+o}}function gE(n,t,e,i,r,o,a,c,d,h,p,y,T){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:c,queriedElements:d,preStyleProps:h,postStyleProps:p,totalTime:y,errors:T}}const J0={};class _E{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function w3(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,c,d,h,p){const y=[],T=this.ast.options&&this.ast.options.params||J0,N=this.buildStyles(i,c&&c.params||J0,y),j=d&&d.params||J0,ee=this.buildStyles(r,j,y),de=new Set,Ve=new Map,ge=new Map,Mt="void"===r,Yn={params:D3(j,T),delay:this.ast.options?.delay},ri=p?[]:K0(t,e,this.ast.animation,o,a,N,ee,Yn,h,y);let Eo=0;if(ri.forEach(ul=>{Eo=Math.max(ul.duration+ul.delay,Eo)}),y.length)return gE(e,this._triggerName,i,r,Mt,N,ee,[],[],Ve,ge,Eo,y);ri.forEach(ul=>{const hl=ul.element,kA=Us(Ve,hl,new Set);ul.preStyleProps.forEach(qd=>kA.add(qd));const Zf=Us(ge,hl,new Set);ul.postStyleProps.forEach(qd=>Zf.add(qd)),hl!==e&&de.add(hl)});const dl=y_(de.values());return gE(e,this._triggerName,i,r,Mt,N,ee,ri,dl,Ve,ge,Eo)}}function D3(n,t){const e=uf(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class M3{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=uf(this.defaultParams);return Object.keys(t).forEach(o=>{const a=t[o];null!==a&&(r[o]=a)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,c)=>{a&&(a=mf(a,r,e));const d=this.normalizer.normalizePropertyName(c,e);a=this.normalizer.normalizeStyleValue(c,d,a,e),i.set(c,a)})}),i}}class E3{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new M3(r.style,r.options&&r.options.params||{},i))}),bE(this.states,"true","1"),bE(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new _E(t,r,this.states))}),this.fallbackTransition=function k3(n,t,e){return new _E(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function bE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const S3=new M_;class I3{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=[],o=Y0(this._driver,e,i,r);if(i.length)throw function SB(n){return new ve(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=KT(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let a;const c=new Map;if(o?(a=K0(this._driver,e,o,$0,p_,new Map,new Map,i,S3,r),a.forEach(p=>{const y=Us(c,p.element,new Map);p.postStyleProps.forEach(T=>y.set(T,null))})):(r.push(function IB(){return new ve(3300,!1)}()),a=[]),r.length)throw function AB(n){return new ve(3504,!1)}();c.forEach((p,y)=>{p.forEach((T,A)=>{p.set(A,this._driver.computeStyle(y,A,nl))})});const h=Kl(a.map(p=>{const y=c.get(p.element);return this._buildPlayer(p,new Map,y)}));return this._playersById.set(t,h),h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function FB(n){return new ve(3301,!1)}();return e}listen(t,e,i,r){const o=B0(e,"","","");return L0(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const yE="ng-animate-queued",eC="ng-animate-disabled",P3=[],vE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},L3={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Da="__ng_removed";class tC{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function H3(n){return n??null}(i?t.value:t),i){const o=uf(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const ff="void",nC=new tC(ff);class N3{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ma(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function OB(n,t){return new ve(3302,!1)}();if(null==i||0==i.length)throw function RB(n){return new ve(3303,!1)}();if(!function z3(n){return"start"==n||"done"==n}(i))throw function PB(n,t){return new ve(3400,!1)}();const o=Us(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);const c=Us(this._engine.statesByElement,t,new Map);return c.has(e)||(Ma(t,g_),Ma(t,g_+"-"+e),c.set(e,nC)),()=>{this._engine.afterFlush(()=>{const d=o.indexOf(a);d>=0&&o.splice(d,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function LB(n){return new ve(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),a=new iC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(Ma(t,g_),Ma(t,g_+"-"+e),this._engine.statesByElement.set(t,c=new Map));let d=c.get(e);const h=new tC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&h.absorbOptions(d.options),c.set(e,h),d||(d=nC),h.value!==ff&&d.value===h.value){if(!function U3(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Ad(t,ee),Tc(t,de)})}return}const T=Us(this._engine.playersByElement,t,[]);T.forEach(j=>{j.namespaceId==this.id&&j.triggerName==e&&j.queued&&j.destroy()});let A=o.matchTransition(d.value,h.value,t,h.params),N=!1;if(!A){if(!r)return;A=o.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:A,fromState:d,toState:h,player:a,isFallbackTransition:N}),N||(Ma(t,yE),a.onStart(()=>{_h(t,yE)})),a.onDone(()=>{let j=this.players.indexOf(a);j>=0&&this.players.splice(j,1);const ee=this._engine.playersByElement.get(t);if(ee){let de=ee.indexOf(a);de>=0&&ee.splice(de,1)}}),this.players.push(a),T.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,__,!0);i.forEach(r=>{if(r[Da])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),a=new Map;if(o){const c=[];if(o.forEach((d,h)=>{if(a.set(h,d.value),this._triggers.has(h)){const p=this.trigger(t,h,ff,r);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&Kl(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const d=this._triggers.get(a).fallbackTransition,h=i.get(a)||nC,p=new tC(ff),y=new iC(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:d,fromState:h,toState:p,player:y,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Da];(!o||o===vE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Ma(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(c=>{if(c.name==i.triggerName){const d=B0(o,i.triggerName,i.fromState.value,i.toState.value);d._data=t,L0(i.player,c.phase,d,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class B3{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new N3(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,c=this.driver.getParentElement(e);for(;c;){const d=r.get(c);if(d){const h=i.indexOf(d);i.splice(h+1,0,t),a=!0;break}c=this.driver.getParentElement(c)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(k_(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!k_(e))return;const o=e[Da];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){const a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ma(t,eC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),_h(t,eC))}removeNode(t,e,i,r){if(k_(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Da]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return k_(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,__,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,j0,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Kl(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Da];if(e&&e.setForRemoval){if(t[Da]=vE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(eC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Kl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function NB(n){return new ve(3402,!1)}()}_flushAnimations(t,e){const i=new M_,r=[],o=new Map,a=[],c=new Map,d=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(Vt=>{p.add(Vt);const rn=this.driver.query(Vt,".ng-animate-queued",!0);for(let gn=0;gn{const gn=$0+j++;N.set(rn,gn),Vt.forEach(Xn=>Ma(Xn,gn))});const ee=[],de=new Set,Ve=new Set;for(let Vt=0;Vtde.add(Xn)):Ve.add(rn))}const ge=new Map,Mt=wE(T,Array.from(de));Mt.forEach((Vt,rn)=>{const gn=p_+j++;ge.set(rn,gn),Vt.forEach(Xn=>Ma(Xn,gn))}),t.push(()=>{A.forEach((Vt,rn)=>{const gn=N.get(rn);Vt.forEach(Xn=>_h(Xn,gn))}),Mt.forEach((Vt,rn)=>{const gn=ge.get(rn);Vt.forEach(Xn=>_h(Xn,gn))}),ee.forEach(Vt=>{this.processLeaveNode(Vt)})});const Yn=[],ri=[];for(let Vt=this._namespaceList.length-1;Vt>=0;Vt--)this._namespaceList[Vt].drainQueuedTransitions(e).forEach(gn=>{const Xn=gn.player,eo=gn.element;if(Yn.push(Xn),this.collectedEnterElements.length){const ko=eo[Da];if(ko&&ko.setForMove){if(ko.previousTriggersValues&&ko.previousTriggersValues.has(gn.triggerName)){const Kd=ko.previousTriggersValues.get(gn.triggerName),ka=this.statesByElement.get(gn.element);if(ka&&ka.has(gn.triggerName)){const Eb=ka.get(gn.triggerName);Eb.value=Kd,ka.set(gn.triggerName,Eb)}}return void Xn.destroy()}}const Ac=!y||!this.driver.containsElement(y,eo),Qs=ge.get(eo),cd=N.get(eo),ji=this._buildInstruction(gn,i,cd,Qs,Ac);if(ji.errors&&ji.errors.length)return void ri.push(ji);if(Ac)return Xn.onStart(()=>Ad(eo,ji.fromStyles)),Xn.onDestroy(()=>Tc(eo,ji.toStyles)),void r.push(Xn);if(gn.isFallbackTransition)return Xn.onStart(()=>Ad(eo,ji.fromStyles)),Xn.onDestroy(()=>Tc(eo,ji.toStyles)),void r.push(Xn);const AA=[];ji.timelines.forEach(ko=>{ko.stretchStartingKeyframe=!0,this.disabledNodes.has(ko.element)||AA.push(ko)}),ji.timelines=AA,i.append(eo,ji.timelines),a.push({instruction:ji,player:Xn,element:eo}),ji.queriedElements.forEach(ko=>Us(c,ko,[]).push(Xn)),ji.preStyleProps.forEach((ko,Kd)=>{if(ko.size){let ka=d.get(Kd);ka||d.set(Kd,ka=new Set),ko.forEach((Eb,Px)=>ka.add(Px))}}),ji.postStyleProps.forEach((ko,Kd)=>{let ka=h.get(Kd);ka||h.set(Kd,ka=new Set),ko.forEach((Eb,Px)=>ka.add(Px))})});if(ri.length){const Vt=[];ri.forEach(rn=>{Vt.push(function BB(n,t){return new ve(3505,!1)}())}),Yn.forEach(rn=>rn.destroy()),this.reportError(Vt)}const Eo=new Map,dl=new Map;a.forEach(Vt=>{const rn=Vt.element;i.has(rn)&&(dl.set(rn,rn),this._beforeAnimationBuild(Vt.player.namespaceId,Vt.instruction,Eo))}),r.forEach(Vt=>{const rn=Vt.element;this._getPreviousPlayers(rn,!1,Vt.namespaceId,Vt.triggerName,null).forEach(Xn=>{Us(Eo,rn,[]).push(Xn),Xn.destroy()})});const ul=ee.filter(Vt=>ME(Vt,d,h)),hl=new Map;xE(hl,this.driver,Ve,h,nl).forEach(Vt=>{ME(Vt,d,h)&&ul.push(Vt)});const Zf=new Map;A.forEach((Vt,rn)=>{xE(Zf,this.driver,new Set(Vt),d,R0)}),ul.forEach(Vt=>{const rn=hl.get(Vt),gn=Zf.get(Vt);hl.set(Vt,new Map([...Array.from(rn?.entries()??[]),...Array.from(gn?.entries()??[])]))});const qd=[],SA=[],IA={};a.forEach(Vt=>{const{element:rn,player:gn,instruction:Xn}=Vt;if(i.has(rn)){if(p.has(rn))return gn.onDestroy(()=>Tc(rn,Xn.toStyles)),gn.disabled=!0,gn.overrideTotalTime(Xn.totalTime),void r.push(gn);let eo=IA;if(dl.size>1){let Qs=rn;const cd=[];for(;Qs=Qs.parentNode;){const ji=dl.get(Qs);if(ji){eo=ji;break}cd.push(Qs)}cd.forEach(ji=>dl.set(ji,eo))}const Ac=this._buildAnimation(gn.namespaceId,Xn,Eo,o,Zf,hl);if(gn.setRealPlayer(Ac),eo===IA)qd.push(gn);else{const Qs=this.playersByElement.get(eo);Qs&&Qs.length&&(gn.parentPlayer=Kl(Qs)),r.push(gn)}}else Ad(rn,Xn.fromStyles),gn.onDestroy(()=>Tc(rn,Xn.toStyles)),SA.push(gn),p.has(rn)&&r.push(gn)}),SA.forEach(Vt=>{const rn=o.get(Vt.element);if(rn&&rn.length){const gn=Kl(rn);Vt.setRealPlayer(gn)}}),r.forEach(Vt=>{Vt.parentPlayer?Vt.syncPlayerEvents(Vt.parentPlayer):Vt.destroy()});for(let Vt=0;Vt!Ac.destroyed);eo.length?$3(this,rn,eo):this.processLeaveNode(rn)}return ee.length=0,qd.forEach(Vt=>{this.players.push(Vt),Vt.onDone(()=>{Vt.destroy();const rn=this.players.indexOf(Vt);this.players.splice(rn,1)}),Vt.play()}),qd}elementContainsData(t,e){let i=!1;const r=e[Da];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(a=c)}else{const c=this.playersByElement.get(t);if(c){const d=!o||o==ff;c.forEach(h=>{h.queued||!d&&h.triggerName!=r||a.push(h)})}}return(i||r)&&(a=a.filter(c=>!(i&&i!=c.namespaceId||r&&r!=c.triggerName))),a}_beforeAnimationBuild(t,e,i){const o=e.element,a=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const h=d.element,p=h!==o,y=Us(i,h,[]);this._getPreviousPlayers(h,p,a,c,e.toState).forEach(A=>{const N=A.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),A.destroy(),y.push(A)})}Ad(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){const c=e.triggerName,d=e.element,h=[],p=new Set,y=new Set,T=e.timelines.map(N=>{const j=N.element;p.add(j);const ee=j[Da];if(ee&&ee.removedBeforeQueried)return new df(N.duration,N.delay);const de=j!==d,Ve=function j3(n){const t=[];return DE(n,t),t}((i.get(j)||P3).map(Eo=>Eo.getRealPlayer())).filter(Eo=>!!Eo.element&&Eo.element===j),ge=o.get(j),Mt=a.get(j),Yn=KT(0,this._normalizer,0,N.keyframes,ge,Mt),ri=this._buildPlayer(N,Yn,Ve);if(N.subTimeline&&r&&y.add(j),de){const Eo=new iC(t,c,j);Eo.setRealPlayer(ri),h.push(Eo)}return ri});h.forEach(N=>{Us(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>function V3(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,N.element,N))}),p.forEach(N=>Ma(N,oE));const A=Kl(T);return A.onDestroy(()=>{p.forEach(N=>_h(N,oE)),Tc(d,e.toStyles)}),y.forEach(N=>{Us(r,N,[]).push(A)}),A}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new df(t.duration,t.delay)}}class iC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new df,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>L0(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Us(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function k_(n){return n&&1===n.nodeType}function CE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function xE(n,t,e,i,r){const o=[];e.forEach(d=>o.push(CE(d)));const a=[];i.forEach((d,h)=>{const p=new Map;d.forEach(y=>{const T=t.computeStyle(h,y,r);p.set(y,T),(!T||0==T.length)&&(h[Da]=L3,a.push(h))}),n.set(h,p)});let c=0;return e.forEach(d=>CE(d,o[c++])),a}function wE(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const i=1,r=new Set(t),o=new Map;function a(c){if(!c)return i;let d=o.get(c);if(d)return d;const h=c.parentNode;return d=e.has(h)?h:r.has(h)?i:a(h),o.set(c,d),d}return t.forEach(c=>{const d=a(c);d!==i&&e.get(d).push(c)}),e}function Ma(n,t){n.classList?.add(t)}function _h(n,t){n.classList?.remove(t)}function $3(n,t,e){Kl(e).onDone(()=>n.processLeaveNode(t))}function DE(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class S_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new B3(t,e,i),this._timelineEngine=new I3(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const a=t+"-"+r;let c=this._triggerCache[a];if(!c){const d=[],h=[],p=Y0(this._driver,o,d,h);if(d.length)throw function EB(n,t){return new ve(3404,!1)}();c=function T3(n,t,e){return new E3(n,t,e)}(r,p,this._normalizer),this._triggerCache[a]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,a]=XT(i);this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[a,c]=XT(i);return this._timelineEngine.listen(a,e,c,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let G3=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Tc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Tc(this._element,this._initialStyles),this._endStyles&&(Tc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ad(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ad(this._element,this._endStyles),this._endStyles=null),Tc(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function rC(n){let t=null;return n.forEach((e,i)=>{(function Y3(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class TE{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:uE(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Z3{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return tE(t,e)}getParentElement(t){return H0(t)}query(t,e,i){return nE(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){const d={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(d.easing=o);const h=new Map,p=a.filter(A=>A instanceof TE);(function XB(n,t){return 0===n||0===t})(i,r)&&p.forEach(A=>{A.currentSnapshot.forEach((N,j)=>h.set(j,N))});let y=function YB(n){return n.length?n[0]instanceof Map?n:n.map(t=>sE(t)):[]}(e).map(A=>Xl(A));y=function QB(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;oa.set(c,uE(n,c)))}}return t}(t,y,h);const T=function W3(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=rC(t[0]),t.length>1&&(i=rC(t[t.length-1]))):t instanceof Map&&(e=rC(t)),e||i?new G3(n,e,i):null}(t,y);return new TE(t,y,d,T)}}let q3=(()=>{class n extends WT{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Ir.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?GT(e):e;return EE(this._renderer,null,i,"register",[r]),new K3(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(ie(V),ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();class K3 extends nB{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new X3(this._id,t,e||{},this._renderer)}}class X3{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return EE(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function EE(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const kE="@.disabled";let Q3=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{const c=a?.parentNode(o);c&&a.removeChild(c,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(o);return p||(p=new SE("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,p)),p}const a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=p=>{Array.isArray(p)?p.forEach(d):this.engine.registerTrigger(a,c,e,p.name,p)};return i.data.animation.forEach(d),new J3(this,c,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[a,c]=o;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(ie(V),ie(S_),ie(Kt))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();class SE{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==kE?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class J3 extends SE{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==kE?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function eV(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),a="";return"@"!=o.charAt(0)&&([o,a]=function tV(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,a,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}const IE=[{provide:WT,useClass:q3},{provide:Q0,useFactory:function iV(){return new x3}},{provide:S_,useClass:(()=>{class n extends S_{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(z0),ie(Q0),ie(tf))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})()},{provide:V,useFactory:function rV(n,t,e){return new Q3(n,t,e)},deps:[m_,S_,Kt]}],oC=[{provide:z0,useFactory:()=>new Z3},{provide:Lr,useValue:"BrowserAnimations"},...IE],AE=[{provide:z0,useClass:iE},{provide:Lr,useValue:"NoopAnimations"},...IE];let oV=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?AE:oC}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:oC,imports:[zT]}),n})();const{isArray:sV}=Array,{getPrototypeOf:aV,prototype:cV,keys:lV}=Object;function FE(n){if(1===n.length){const t=n[0];if(sV(t))return{args:t,keys:null};if(function dV(n){return n&&"object"==typeof n&&aV(n)===cV}(t)){const e=lV(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:uV}=Array;function sC(n){return Nn(t=>function hV(n,t){return uV(t)?n(...t):n(t)}(n,t))}function OE(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function RE(...n){const t=No(n),{args:e,keys:i}=FE(n),r=new ye(o=>{const{length:a}=e;if(!a)return void o.complete();const c=new Array(a);let d=a,h=a;for(let p=0;p{y||(y=!0,h--),c[p]=T},()=>d--,void 0,()=>{(!d||!y)&&(h||o.next(i?OE(i,c):c),o.complete())}))}});return t?r.pipe(sC(t)):r}let PE=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(D(ne),D(k))},n.\u0275dir=C({type:n}),n})(),Od=(()=>{class n extends PE{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,features:[ht]}),n})();const yr=new De("NgValueAccessor"),fV={provide:yr,useExisting:Jt(()=>co),multi:!0},gV=new De("CompositionEventMode");let co=(()=>{class n extends PE{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function pV(){const n=el()?el().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(D(ne),D(k),D(gV,8))},n.\u0275dir=C({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&ae("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Wt([fV]),ht]}),n})();const _V=!1;function Ql(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function NE(n){return null!=n&&"number"==typeof n.length}const $i=new De("NgValidators"),Jl=new De("NgAsyncValidators"),bV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Sn{static min(t){return function BE(n){return t=>{if(Ql(t.value)||Ql(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Ql(t.value)||Ql(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function HE(n){return Ql(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function zE(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function $E(n){return Ql(n.value)||bV.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function jE(n){return t=>Ql(t.value)||!NE(t.value)?null:t.value.lengthNE(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function WE(n){if(!n)return A_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Ql(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return XE(t)}static composeAsync(t){return QE(t)}}function A_(n){return null}function GE(n){return null!=n}function YE(n){const t=Pg(n)?hs(n):n;if(_V&&!m1(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new ve(-1101,e)}return t}function ZE(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function qE(n,t){return t.map(e=>e(n))}function KE(n){return n.map(t=>function yV(n){return!n.validate}(t)?t:e=>t.validate(e))}function XE(n){if(!n)return null;const t=n.filter(GE);return 0==t.length?null:function(e){return ZE(qE(e,t))}}function aC(n){return null!=n?XE(KE(n)):null}function QE(n){if(!n)return null;const t=n.filter(GE);return 0==t.length?null:function(e){return RE(qE(e,t).map(YE)).pipe(Nn(ZE))}}function cC(n){return null!=n?QE(KE(n)):null}function JE(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function ek(n){return n._rawValidators}function tk(n){return n._rawAsyncValidators}function lC(n){return n?Array.isArray(n)?n:[n]:[]}function F_(n,t){return Array.isArray(n)?n.includes(t):n===t}function nk(n,t){const e=lC(t);return lC(n).forEach(r=>{F_(e,r)||e.push(r)}),e}function ik(n,t){return lC(t).filter(e=>!F_(n,e))}class rk{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=aC(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=cC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class ns extends rk{get formDirective(){return null}get path(){return null}}class Ja extends rk{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ok{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Qr=(()=>{class n extends ok{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(D(Ja,2))},n.\u0275dir=C({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&un("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[ht]}),n})(),Gs=(()=>{class n extends ok{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(D(ns,10))},n.\u0275dir=C({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&un("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[ht]}),n})();function sk(n,t){return n?`with name: '${t}'`:`at index: ${t}`}const hC=!1,pf="VALID",R_="INVALID",bh="PENDING",gf="DISABLED";function mC(n){return(P_(n)?n.validators:n)||null}function fC(n,t){return(P_(t)?t.asyncValidators:n)||null}function P_(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function ak(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new ve(1e3,hC?function wV(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!i[e])throw new ve(1001,hC?function DV(n,t){return`Cannot find form control ${sk(n,t)}`}(t,e):"")}function ck(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new ve(1002,hC?function MV(n,t){return`Must supply a value for form control ${sk(n,t)}`}(t,r):"")})}class pC{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===pf}get invalid(){return this.status===R_}get pending(){return this.status==bh}get disabled(){return this.status===gf}get enabled(){return this.status!==gf}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(nk(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(nk(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ik(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ik(t,this._rawAsyncValidators))}hasValidator(t){return F_(this._rawValidators,t)}hasAsyncValidator(t){return F_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=bh,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=gf,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=pf,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pf||this.status===bh)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?gf:pf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=bh,this._hasOwnPendingAsyncValidator=!0;const e=YE(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ye,this.statusChanges=new Ye}_calculateStatus(){return this._allControlsDisabled()?gf:this.errors?R_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(bh)?bh:this._anyControlsHaveStatus(R_)?R_:pf}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){P_(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function TV(n){return Array.isArray(n)?aC(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function EV(n){return Array.isArray(n)?cC(n):n||null}(this._rawAsyncValidators)}}class is extends pC{constructor(t,e,i){super(mC(e),fC(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){ck(this,!0,t),Object.keys(t).forEach(i=>{ak(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Rd=new De("CallSetDisabledState",{providedIn:"root",factory:()=>_f}),_f="always";function L_(n,t){return[...t.path,n]}function bf(n,t,e=_f){gC(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function IV(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&lk(n,t)})}(n,t),function FV(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function AV(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&lk(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function SV(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function N_(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),V_(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function B_(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function gC(n,t){const e=ek(n);null!==t.validator?n.setValidators(JE(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=tk(n);null!==t.asyncValidator?n.setAsyncValidators(JE(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();B_(t._rawValidators,r),B_(t._rawAsyncValidators,r)}function V_(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=ek(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=tk(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(a=>a!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return B_(t._rawValidators,i),B_(t._rawAsyncValidators,i),e}function lk(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function dk(n,t){gC(n,t)}function bC(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function uk(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function yC(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===co?e=o:function PV(n){return Object.getPrototypeOf(n.constructor)===Od}(o)?i=o:r=o}),r||i||e||null}const NV={provide:ns,useExisting:Jt(()=>yh)},yf=(()=>Promise.resolve())();let yh=(()=>{class n extends ns{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ye,this.form=new is({},aC(e),cC(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){yf.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),bf(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){yf.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){yf.then(()=>{const i=this._findContainer(e.path),r=new is({});dk(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){yf.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){yf.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,uk(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(D($i,10),D(Jl,10),D(Rd,8))},n.\u0275dir=C({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ae("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Wt([NV]),ht]}),n})();function hk(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function mk(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Ct=class extends pC{constructor(t=null,e,i){super(mC(e),fC(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),P_(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=mk(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){hk(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){hk(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){mk(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},HV={provide:Ja,useExisting:Jt(()=>vC)},gk=(()=>Promise.resolve())();let vC=(()=>{class n extends Ja{constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new Ct,this._registered=!1,this.update=new Ye,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=yC(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bC(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){bf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){gk.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function c0(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);gk.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?L_(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(D(ns,9),D($i,10),D(Jl,10),D(yr,10),D(li,8),D(Rd,8))},n.\u0275dir=C({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Wt([HV]),ht,wi]}),n})(),Ec=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const zV={provide:yr,useExisting:Jt(()=>CC),multi:!0};let CC=(()=>{class n extends Od{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ae("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[Wt([zV]),ht]}),n})(),_k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();const xC=new De("NgModelWithFormControlWarning"),WV={provide:Ja,useExisting:Jt(()=>vh)};let vh=(()=>{class n extends Ja{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new Ye,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=yC(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&N_(i,this,!1),bf(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bC(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&N_(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(D($i,10),D(Jl,10),D(yr,10),D(xC,8),D(Rd,8))},n.\u0275dir=C({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Wt([WV]),ht,wi]}),n})();const GV={provide:ns,useExisting:Jt(()=>Jr)};let Jr=(()=>{class n extends ns{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ye,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(V_(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return bf(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){N_(e.control||null,e,!1),function LV(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,uk(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(N_(i||null,e),(n=>n instanceof Ct)(r)&&(bf(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);dk(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function OV(n,t){return V_(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gC(this.form,this),this._oldForm&&V_(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(D($i,10),D(Jl,10),D(Rd,8))},n.\u0275dir=C({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ae("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Wt([GV]),ht,wi]}),n})();const qV={provide:Ja,useExisting:Jt(()=>ws)};let ws=(()=>{class n extends Ja{set isDisabled(e){}constructor(e,i,r,o,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new Ye,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=yC(0,o)}ngOnChanges(e){this._added||this._setUpControl(),bC(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return L_(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(D(ns,13),D($i,10),D(Jl,10),D(yr,10),D(xC,8))},n.\u0275dir=C({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Wt([qV]),ht,wi]}),n})(),Ak=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[_k]}),n})();class Ch extends pC{constructor(t,e,i){super(mC(e),fC(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){ck(this,!1,t),t.forEach((i,r)=>{ak(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}let u5=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Rd,useValue:e.callSetDisabledState??_f}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Ak]}),n})(),h5=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:xC,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Rd,useValue:e.callSetDisabledState??_f}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Ak]}),n})();function Ds(...n){return hs(n,Bo(n))}function Ms(n,t){return Ke((e,i)=>{let r=0;e.subscribe(Rt(i,o=>n.call(t,o,r++)&&i.next(o)))})}class H_{}class SC{}class ol{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof ol?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new ol;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ol?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let a=this.headers.get(e);if(!a)return;a=a.filter(c=>-1===o.indexOf(c)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class f5{encodeKey(t){return Fk(t)}encodeValue(t){return Fk(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const g5=/%(\d[a-f0-9])/gi,_5={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Fk(n){return encodeURIComponent(n).replace(g5,(t,e)=>_5[e]??t)}function z_(n){return`${n}`}class ed{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f5,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function p5(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,c]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],d=e.get(a)||[];d.push(c),e.set(a,d)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(z_):[z_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new ed({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(z_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(z_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b5{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Ok(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Rk(n){return typeof Blob<"u"&&n instanceof Blob}function Pk(n){return typeof FormData<"u"&&n instanceof FormData}class vf{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function y5(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new ol),this.context||(this.context=new b5),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":cy.set(T,t.setHeaders[T]),d)),t.setParams&&(h=Object.keys(t.setParams).reduce((y,T)=>y.set(T,t.setParams[T]),h)),new vf(e,i,o,{params:h,headers:d,context:p,reportProgress:c,responseType:r,withCredentials:a})}}var vr=(()=>((vr=vr||{})[vr.Sent=0]="Sent",vr[vr.UploadProgress=1]="UploadProgress",vr[vr.ResponseHeader=2]="ResponseHeader",vr[vr.DownloadProgress=3]="DownloadProgress",vr[vr.Response=4]="Response",vr[vr.User=5]="User",vr))();class IC{constructor(t,e=200,i="OK"){this.headers=t.headers||new ol,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class AC extends IC{constructor(t={}){super(t),this.type=vr.ResponseHeader}clone(t={}){return new AC({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class $_ extends IC{constructor(t={}){super(t),this.type=vr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new $_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Lk extends IC{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function FC(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Cf=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof vf)o=e;else{let d,h;d=r.headers instanceof ol?r.headers:new ol(r.headers),r.params&&(h=r.params instanceof ed?r.params:new ed({fromObject:r.params})),o=new vf(e,i,void 0!==r.body?r.body:null,{headers:d,context:r.context,params:h,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const a=Ds(o).pipe(function m5(n,t){return X(t)?Po(n,t,1):Po(n,1)}(d=>this.handler.handle(d)));if(e instanceof vf||"events"===r.observe)return a;const c=a.pipe(Ms(d=>d instanceof $_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return c.pipe(Nn(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(Nn(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(Nn(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return c.pipe(Nn(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new ed).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,FC(r,i))}post(e,i,r={}){return this.request("POST",e,FC(r,i))}put(e,i,r={}){return this.request("PUT",e,FC(r,i))}}return n.\u0275fac=function(e){return new(e||n)(ie(H_))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();function Nk(n,t){return t(n)}function C5(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const w5=new De("HTTP_INTERCEPTORS"),xf=new De("HTTP_INTERCEPTOR_FNS");function D5(){let n=null;return(t,e)=>(null===n&&(n=(_i(w5,{optional:!0})??[]).reduceRight(C5,Nk)),n(t,e))}let Bk=(()=>{class n extends H_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(xf)));this.chain=i.reduceRight((r,o)=>function x5(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),Nk)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(ie(SC),ie(Xc))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const k5=/^\)\]\}',?\n/;let Hk=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ye(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((A,N)=>r.setRequestHeader(A,N.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const A=e.detectContentTypeHeader();null!==A&&r.setRequestHeader("Content-Type",A)}if(e.responseType){const A=e.responseType.toLowerCase();r.responseType="json"!==A?A:"text"}const o=e.serializeBody();let a=null;const c=()=>{if(null!==a)return a;const A=r.statusText||"OK",N=new ol(r.getAllResponseHeaders()),j=function S5(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new AC({headers:N,status:r.status,statusText:A,url:j}),a},d=()=>{let{headers:A,status:N,statusText:j,url:ee}=c(),de=null;204!==N&&(de=typeof r.response>"u"?r.responseText:r.response),0===N&&(N=de?200:0);let Ve=N>=200&&N<300;if("json"===e.responseType&&"string"==typeof de){const ge=de;de=de.replace(k5,"");try{de=""!==de?JSON.parse(de):null}catch(Mt){de=ge,Ve&&(Ve=!1,de={error:Mt,text:de})}}Ve?(i.next(new $_({body:de,headers:A,status:N,statusText:j,url:ee||void 0})),i.complete()):i.error(new Lk({error:de,headers:A,status:N,statusText:j,url:ee||void 0}))},h=A=>{const{url:N}=c(),j=new Lk({error:A,status:r.status||0,statusText:r.statusText||"Unknown Error",url:N||void 0});i.error(j)};let p=!1;const y=A=>{p||(i.next(c()),p=!0);let N={type:vr.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(N.total=A.total),"text"===e.responseType&&r.responseText&&(N.partialText=r.responseText),i.next(N)},T=A=>{let N={type:vr.UploadProgress,loaded:A.loaded};A.lengthComputable&&(N.total=A.total),i.next(N)};return r.addEventListener("load",d),r.addEventListener("error",h),r.addEventListener("timeout",h),r.addEventListener("abort",h),e.reportProgress&&(r.addEventListener("progress",y),null!==o&&r.upload&&r.upload.addEventListener("progress",T)),r.send(o),i.next({type:vr.Sent}),()=>{r.removeEventListener("error",h),r.removeEventListener("abort",h),r.removeEventListener("load",d),r.removeEventListener("timeout",h),e.reportProgress&&(r.removeEventListener("progress",y),null!==o&&r.upload&&r.upload.removeEventListener("progress",T)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(ie(yT))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();const OC=new De("XSRF_ENABLED"),zk=new De("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$k=new De("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jk{}let F5=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=oT(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(ef),ie(zk))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})();function O5(n,t){const e=n.url.toLowerCase();if(!_i(OC)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=_i(jk).getToken(),r=_i($k);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var or=(()=>((or=or||{})[or.Interceptors=0]="Interceptors",or[or.LegacyInterceptors=1]="LegacyInterceptors",or[or.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",or[or.NoXsrfProtection=3]="NoXsrfProtection",or[or.JsonpSupport=4]="JsonpSupport",or[or.RequestsMadeViaParent=5]="RequestsMadeViaParent",or))();function xh(n,t){return{\u0275kind:n,\u0275providers:t}}function R5(...n){const t=[Cf,Hk,Bk,{provide:H_,useExisting:Bk},{provide:SC,useExisting:Hk},{provide:xf,useValue:O5,multi:!0},{provide:OC,useValue:!0},{provide:jk,useClass:F5}];for(const e of n)t.push(...e.\u0275providers);return function Cg(n){return{\u0275providers:n}}(t)}const Uk=new De("LEGACY_INTERCEPTOR_FN");let L5=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[R5(xh(or.LegacyInterceptors,[{provide:Uk,useFactory:D5},{provide:xf,useExisting:Uk,multi:!0}]))]}),n})();function Ot(n){return null!=n&&"false"!=`${n}`}function kc(n,t=0){return function N5(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function wf(n){return Array.isArray(n)?n:[n]}function Cr(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Yi(n){return n instanceof k?n.nativeElement:n}const V5=["addListener","removeListener"],H5=["addEventListener","removeEventListener"],z5=["on","off"];function Sc(n,t,e,i){if(X(e)&&(i=e,e=void 0),i)return Sc(n,t,e).pipe(sC(i));const[r,o]=function U5(n){return X(n.addEventListener)&&X(n.removeEventListener)}(n)?H5.map(a=>c=>n[a](t,c,e)):function $5(n){return X(n.addListener)&&X(n.removeListener)}(n)?V5.map(Wk(n,t)):function j5(n){return X(n.on)&&X(n.off)}(n)?z5.map(Wk(n,t)):[];if(!r&&B(n))return Po(a=>Sc(a,t,e))(vi(n));if(!r)throw new TypeError("Invalid event target");return new ye(a=>{const c=(...d)=>a.next(1o(c)})}function Wk(n,t){return e=>i=>n[e](t,i)}class W5 extends re{constructor(t,e){super()}schedule(t,e=0){return this}}const j_={setInterval(n,t,...e){const{delegate:i}=j_;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=j_;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class RC extends W5{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return j_.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&j_.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,te(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const Df={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Df;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new re(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=Df;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Df;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},Gk={now:()=>(Gk.delegate||Date).now(),delegate:void 0};class Mf{constructor(t,e=Mf.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Mf.now=Gk.now;class PC extends Mf{constructor(t,e=Mf.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const Yk=new class Y5 extends PC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class G5 extends RC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Df.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Df.cancelAnimationFrame(e),t._scheduled=void 0)}});let LC,Z5=1;const U_={};function Zk(n){return n in U_&&(delete U_[n],!0)}const q5={setImmediate(n){const t=Z5++;return U_[t]=!0,LC||(LC=Promise.resolve()),LC.then(()=>Zk(t)&&n()),t},clearImmediate(n){Zk(n)}},{setImmediate:K5,clearImmediate:X5}=q5,W_={setImmediate(...n){const{delegate:t}=W_;return(t?.setImmediate||K5)(...n)},clearImmediate(n){const{delegate:t}=W_;return(t?.clearImmediate||X5)(n)},delegate:void 0},NC=new class J5 extends PC{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class Q5 extends RC{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=W_.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(W_.clearImmediate(e),t._scheduled=void 0)}}),Tf=new PC(RC),e4=Tf;function G_(n=0,t,e=e4){let i=-1;return null!=t&&(rc(t)?e=t:i=t),new ye(r=>{let o=function n4(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let a=0;return e.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function BC(n,t=Tf){return function t4(n){return Ke((t,e)=>{let i=!1,r=null,o=null,a=!1;const c=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const h=r;r=null,e.next(h)}a&&e.complete()},d=()=>{o=null,a&&e.complete()};t.subscribe(Rt(e,h=>{i=!0,r=h,o||vi(n(h)).subscribe(o=Rt(e,c,d))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>G_(n,t))}function xn(n){return Ke((t,e)=>{vi(n).subscribe(Rt(e,()=>e.complete(),Ft)),!e.closed&&t.subscribe(e)})}function Y_(...n){return function r4(){return Lo(1)}()(hs(n,Bo(n)))}function Br(...n){const t=Bo(n);return Ke((e,i)=>{(t?Y_(n,e,t):Y_(n,e)).subscribe(i)})}let VC;try{VC=typeof Intl<"u"&&Intl.v8BreakIterator}catch{VC=!1}let wh,Ri=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?_T(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!VC)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(ie(ef))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qk=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Kk(){if(wh)return wh;if("object"!=typeof document||!document)return wh=new Set(qk),wh;let n=document.createElement("input");return wh=new Set(qk.filter(t=>(n.setAttribute("type",t),n.type===t))),wh}let Ef,Z_,Ld,HC;function ec(n){return function o4(){if(null==Ef&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ef=!0}))}finally{Ef=Ef||!1}return Ef}()?n:!!n.capture}function Xk(){if(null==Ld){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ld=!1,Ld;if("scrollBehavior"in document.documentElement.style)Ld=!0;else{const n=Element.prototype.scrollTo;Ld=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Ld}function kf(){if("object"!=typeof document||!document)return 0;if(null==Z_){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),Z_=0,0===n.scrollLeft&&(n.scrollLeft=1,Z_=0===n.scrollLeft?1:2),n.remove()}return Z_}function zC(n){if(function s4(){if(null==HC){const n=typeof document<"u"?document.head:null;HC=!(!n||!n.createShadowRoot&&!n.attachShadow)}return HC}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ys(n){return n.composedPath?n.composedPath()[0]:n.target}function $C(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const a4=new De("cdk-dir-doc",{providedIn:"root",factory:function c4(){return _i(hn)}}),l4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Vr=(()=>{class n{constructor(e){this.value="ltr",this.change=new Ye,e&&(this.value=function d4(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?l4.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(ie(a4,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Sf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();const u4=["contentWrapper"],h4=["*"],m4=new De("VIRTUAL_SCROLL_STRATEGY");let Dh=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new Ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ye(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(BC(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ds()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ms(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Yi(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Sc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(ie(Kt),ie(Ri),ie(hn,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qk=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Ee,this._elementScrolled=new ye(a=>this.ngZone.runOutsideAngular(()=>Sc(this.elementRef.nativeElement,"scroll").pipe(xn(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=kf()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==kf()?e.left=e.right:1==kf()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;Xk()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?r:i:"end"==e&&(e=a?i:r),a&&2==kf()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&1==kf()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Dh),D(Kt),D(Vr,8))},n.\u0275dir=C({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),sl=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new Ee,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(BC(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(ie(Ri),ie(Kt),ie(hn,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Jk=new De("VIRTUAL_SCROLLABLE");let g4=(()=>{class n extends Qk{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Dh),D(Kt),D(Vr,8))},n.\u0275dir=C({type:n,features:[ht]}),n})();const b4=typeof requestAnimationFrame<"u"?Yk:NC;let y4=(()=>{class n extends g4{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=Ot(e)}constructor(e,i,r,o,a,c,d,h){super(e,c,r,a),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=h,this._platform=_i(Ri),this._detachedSubject=new Ee,this._renderedRangeSubject=new Ee,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ye(p=>this._scrollStrategy.scrolledIndexChange.subscribe(y=>Promise.resolve().then(()=>this.ngZone.run(()=>p.next(y))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=re.EMPTY,this._viewportChanges=d.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Br(null),BC(0,b4)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(xn(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function _4(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,a=o?"X":"Y";let d=`translate${a}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(d+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",a="rtl"==this.dir?.value;i="start"==e?a?o:r:"end"==e?a?r:o:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(Kt),D(m4,8),D(Vr,8),D(Dh),D(sl),D(Jk,8))},n.\u0275cmp=I({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Hn(u4,7),2&e){let r;St(r=It())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&un("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Wt([{provide:Qk,useFactory:(t,e)=>t||e,deps:[[new xo,new rm(Jk)],n]}]),ht,AD],ngContentSelectors:h4,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(Di(),_(0,"div",0,1),tn(2),b(),Pe(3,"div",2)),2&e&&(S(3),zm("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),Nd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})(),eS=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Sf,Nd,y4,Sf,Nd]}),n})();class jC extends Ee{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}function Zs(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function Th(n,t,e){const i=X(n)||t||e?{next:n,error:t,complete:e}:n;return i?Ke((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let c=!0;r.subscribe(Rt(o,d=>{var h;null===(h=i.next)||void 0===h||h.call(i,d),o.next(d)},()=>{var d;c=!1,null===(d=i.complete)||void 0===d||d.call(i),o.complete()},d=>{var h;c=!1,null===(h=i.error)||void 0===h||h.call(i,d),o.error(d)},()=>{var d,h;c&&(null===(d=i.unsubscribe)||void 0===d||d.call(i)),null===(h=i.finalize)||void 0===h||h.call(i)}))}):He}function WC(n,t=Tf){return Ke((e,i)=>{let r=null,o=null,a=null;const c=()=>{if(r){r.unsubscribe(),r=null;const h=o;o=null,i.next(h)}};function d(){const h=a+n,p=t.now();if(p{o=h,a=t.now(),r||(r=t.schedule(d,n),i.add(r))},()=>{c(),i.complete()},void 0,()=>{o=r=null}))})}function GC(n){return Ms((t,e)=>n<=e)}function YC(n,t=He){return n=n??R4,Ke((e,i)=>{let r,o=!0;e.subscribe(Rt(i,a=>{const c=t(a);(o||!n(r,c))&&(o=!1,r=c,i.next(a))}))})}function R4(n,t){return n===t}let nS=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),P4=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Yi(e);return new ye(r=>{const a=this._observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new Ee,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(ie(nS))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),iS=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=kc(e),this._subscribe()}constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Ye,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(WC(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(D(P4),D(k),D(Kt))},n.\u0275dir=C({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),ZC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[nS]}),n})();function rS(n,t,e){n?Xi(e,n,t):t()}function Hr(n){return n<=0?()=>Zn:Ke((t,e)=>{let i=0;t.subscribe(Rt(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}const oS=new Set;let Eh,B4=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):H4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function V4(n){if(!oS.has(n))try{Eh||(Eh=document.createElement("style"),Eh.setAttribute("type","text/css"),document.head.appendChild(Eh)),Eh.sheet&&(Eh.sheet.insertRule(`@media ${n} {body{ }}`,0),oS.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(ie(Ri))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function H4(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let qC=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return sS(wf(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=function L4(...n){const t=Bo(n),e=No(n),{args:i,keys:r}=FE(n);if(0===i.length)return hs([],t);const o=new ye(function N4(n,t,e=He){return i=>{rS(t,()=>{const{length:r}=n,o=new Array(r);let a=r,c=r;for(let d=0;d{const h=hs(n[d],t);let p=!1;h.subscribe(Rt(i,y=>{o[d]=y,p||(p=!0,c--),c||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,t,r?a=>OE(r,a):He));return e?o.pipe(sC(e)):o}(sS(wf(e)).map(a=>this._registerQuery(a).observable));return o=Y_(o.pipe(Hr(1)),o.pipe(GC(1),WC(0))),o.pipe(Nn(a=>{const c={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ye(a=>{const c=d=>this._zone.run(()=>a.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Br(i),Nn(({matches:a})=>({query:e,matches:a})),xn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(ie(B4),ie(Kt))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function sS(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function Q_(n,t){return(n.getAttribute(t)||"").match(/\S+/g)||[]}const cS="cdk-describedby-message",J_="cdk-describedby-host";let KC=0,U4=(()=>{class n{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+KC++,this._document=e,this._id=_i(fh)+"-"+KC++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=XC(i,r);"string"!=typeof i?(lS(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=XC(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const a=this._messageRegistry.get(o);a&&0===a.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${J_}="${this._id}"]`);for(let i=0;i0!=r.indexOf(cS));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function $4(n,t,e){const i=Q_(n,t);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),n.setAttribute(t,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(J_,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function j4(n,t,e){const r=Q_(n,t).filter(o=>o!=e.trim());r.length?n.setAttribute(t,r.join(" ")):n.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(J_)}_isElementDescribedByMessage(e,i){const r=Q_(e,"aria-describedby"),o=this._messageRegistry.get(i),a=o&&o.messageElement.id;return!!a&&-1!=r.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(Ri))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function XC(n,t){return"string"==typeof n?`${t||""}/${n}`:n}function lS(n,t){n.id||(n.id=`${cS}-${t}-${KC++}`)}class dS{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee,this._typeaheadSubscription=re.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ee,this.change=new Ee,t instanceof Yl&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Th(e=>this._pressedLetters.push(e)),WC(t),Ms(()=>this._pressedLetters.length>0),Nn(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof Yl?this._items.toArray():this._items}}class uS extends dS{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class QC extends dS{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function eb(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function tb(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const K4=new De("cdk-input-modality-detector-options"),X4={ignoreKeys:[18,17,224,91,16]},kh=ec({passive:!0,capture:!0});let Q4=(()=>{class n{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new jC(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ys(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(eb(a)?"keyboard":"mouse"),this._mostRecentTarget=Ys(a))},this._onTouchstart=a=>{tb(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ys(a))},this._options={...X4,...o},this.modalityDetected=this._modality.pipe(GC(1)),this.modalityChanged=this.modalityDetected.pipe(YC()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,kh),r.addEventListener("mousedown",this._onMousedown,kh),r.addEventListener("touchstart",this._onTouchstart,kh)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,kh),document.removeEventListener("mousedown",this._onMousedown,kh),document.removeEventListener("touchstart",this._onTouchstart,kh))}}return n.\u0275fac=function(e){return new(e||n)(ie(Ri),ie(Kt),ie(hn),ie(K4,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const J4=new De("liveAnnouncerElement",{providedIn:"root",factory:function e8(){return null}}),t8=new De("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let n8=0,JC=(()=>{class n{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[o,a]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==a&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{constructor(e,i,r,o,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee,this._rootNodeFocusAndBlurListener=c=>{for(let h=Ys(c);h;h=h.parentElement)"focus"===c.type?this._onFocus(c,h):this._onBlur(c,h)},this._document=o,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const r=Yi(e);if(!this._platform.isBrowser||1!==r.nodeType)return Ds(null);const o=zC(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const c={checkChildren:i,subject:new Ee,rootNode:o};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const i=Yi(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Yi(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=Ys(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,nb),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,nb)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,nb),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,nb),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let a=0;a{class n{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Ye}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(td))},n.\u0275dir=C({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),n})();const fS="cdk-high-contrast-black-on-white",pS="cdk-high-contrast-white-on-black",ex="cdk-high-contrast-active";let gS=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_i(qC).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ex,fS,pS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(ex,fS):2===i&&e.add(ex,pS)}}}return n.\u0275fac=function(e){return new(e||n)(ie(Ri),ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),_S=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(ie(gS))},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[ZC]}),n})();function Ic(n,t){return Ke((e,i)=>{let r=null,o=0,a=!1;const c=()=>a&&!r&&i.complete();e.subscribe(Rt(i,d=>{r?.unsubscribe();let h=0;const p=o++;vi(n(d,p)).subscribe(r=Rt(i,y=>i.next(t?t(d,y,p,h++):y),()=>{r=null,c()}))},()=>{a=!0,c()}))})}function tx(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function Sh(n,t){const e=t?"":"none";tx(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function bS(n,t,e){tx(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function ib(n,t){return t&&"none"!=t?n+" "+t:n}function yS(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function nx(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function ix(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function rx(n,t,e){const{top:i,bottom:r,left:o,right:a}=n;return e>=i&&e<=r&&t>=o&&t<=a}function Ff(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function vS(n,t,e,i){const{top:r,right:o,bottom:a,left:c,width:d,height:h}=n,p=d*t,y=h*t;return i>r-y&&ic-p&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:ix(e)})})}handleScroll(t){const e=Ys(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,a;if(e===this._document){const h=this.getViewportScrollPosition();o=h.top,a=h.left}else o=e.scrollTop,a=e.scrollLeft;const c=r.top-o,d=r.left-a;return this.positions.forEach((h,p)=>{h.clientRect&&e!==p&&e.contains(p)&&Ff(h.clientRect,c,d)}),r.top=o,r.left=a,{top:c,left:d}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function xS(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rSh(i,e)))}constructor(t,e,i,r,o,a){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new Ee,this._pointerMoveSubscription=re.EMPTY,this._pointerUpSubscription=re.EMPTY,this._scrollSubscription=re.EMPTY,this._resizeSubscription=re.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new Ee,this.started=new Ee,this.released=new Ee,this.ended=new Ee,this.entered=new Ee,this.exited=new Ee,this.dropped=new Ee,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const d=this._getTargetHandle(c);d&&!this._disabledHandles.has(d)&&!this.disabled&&this._initializeDragSequence(d,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const d=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(d.x-this._pickupPositionOnPage.x)+Math.abs(d.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const A=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),N=this._dropContainer;if(!A)return void this._endDragSequence(c);(!N||!N.isDragging()&&!N.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}c.preventDefault();const h=this._getConstrainedPointerPosition(d);if(this._hasMoved=!0,this._lastKnownPointerPosition=d,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,d);else{const p=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,y=this._activeTransform;y.x=h.x-p.x+this._passiveTransform.x,y.y=h.y-p.y+this._passiveTransform.y,this._applyRootElementTransform(y.x,y.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this._nativeDragStart=c=>{if(this._handles.length){const d=this._getTargetHandle(c);d&&!this._disabledHandles.has(d)&&!this.disabled&&c.preventDefault()}else this.disabled||c.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new CS(i),a.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Yi(i)),this._handles.forEach(i=>Sh(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Yi(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,rb),e.addEventListener("touchstart",this._pointerDown,TS),e.addEventListener("dragstart",this._nativeDragStart,rb)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Yi(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),Sh(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),Sh(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Of(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();r.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),bS(i,!1,ox),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,c).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=Of(e),o=!r&&0!==e.button,a=this._rootElement,c=Ys(e),d=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=r?tb(e):eb(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||d||h)return;if(this._handles.length){const T=a.style;this._rootElementTapHighlight=T.webkitTapHighlightColor||"",T.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(T=>this._updateOnScroll(T)),this._boundaryElement&&(this._boundaryRect=ix(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const y=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:y.x,y:y.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){bS(this._rootElement,!0,ox),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),a=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,a,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,a=t.viewContainer.createEmbeddedView(i,t.context);a.detectChanges(),r=kS(a,this._document),this._previewRef=a,t.matchSize?SS(r,o):r.style.transform=ob(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=xS(this._rootElement),SS(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return tx(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},ox),Sh(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function s8(n){const t=getComputedStyle(n),e=nx(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const r=e.indexOf(i),o=nx(t,"transition-duration"),a=nx(t,"transition-delay");return yS(o[r])+yS(a[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=a=>{(!a||Ys(a)===this._preview&&"transform"===a.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=kS(this._placeholderRef,this._document)):i=xS(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,a=Of(i)?i.targetTouches[0]:i,c=this._getViewportScrollPosition();return{x:o.left-t.left+(a.pageX-o.left-c.left),y:o.top-t.top+(a.pageY-o.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=Of(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const a=this._ownerSVGElement.getScreenCTM();if(a){const c=this._ownerSVGElement.createSVGPoint();return c.x=r,c.y=o,c.matrixTransform(a.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:a}=this._pickupPositionInElement,c=this._boundaryRect,{width:d,height:h}=this._getPreviewRect(),p=c.top+a,y=c.bottom-(h-a);i=ES(i,c.left+o,c.right-(d-o)),r=ES(r,p,y)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-o.x),c=Math.abs(i-o.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),c>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,Sh(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,rb),t.removeEventListener("touchstart",this._pointerDown,TS),t.removeEventListener("dragstart",this._nativeDragStart,rb)}_applyRootElementTransform(t,e){const i=ob(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=ib(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=ob(t,e);this._preview.style.transform=ib(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,a=i.right-r.right,c=r.top-i.top,d=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),a>0&&(t-=a)):t=0,r.height>i.height?(c>0&&(e+=c),d>0&&(e-=d)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Of(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Ys(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Ff(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=zC(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Yi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function ob(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function ES(n,t,e){return Math.max(t,Math.min(e,n))}function Of(n){return"t"===n.type[0]}function kS(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function SS(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=ob(t.left,t.top)}function Rf(n,t){return Math.max(0,Math.min(t,n))}class u8{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===a&&o.length>0)return null;const c="horizontal"===this.orientation,d=o.findIndex(ee=>ee.drag===t),h=o[a],y=h.clientRect,T=d>a?1:-1,A=this._getItemOffsetPx(o[d].clientRect,y,T),N=this._getSiblingOffsetPx(d,o,T),j=o.slice();return function d8(n,t,e){const i=Rf(t,n.length-1),r=Rf(e,n.length-1);if(i===r)return;const o=n[i],a=r{if(j[de]===ee)return;const Ve=ee.drag===t,ge=Ve?A:N,Mt=Ve?t.getPlaceholderElement():ee.drag.getRootElement();ee.offset+=ge,c?(Mt.style.transform=ib(`translate3d(${Math.round(ee.offset)}px, 0, 0)`,ee.initialTransform),Ff(ee.clientRect,0,ge)):(Mt.style.transform=ib(`translate3d(0, ${Math.round(ee.offset)}px, 0)`,ee.initialTransform),Ff(ee.clientRect,ge,0))}),this._previousSwap.overlaps=rx(y,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?r.x:r.y,{previousIndex:d,currentIndex:a}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,a=this._activeDraggables,c=a.indexOf(t),d=t.getPlaceholderElement();let h=a[o];if(h===t&&(h=a[o+1]),!h&&(null==o||-1===o||o-1&&a.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const p=h.getRootElement();p.parentElement.insertBefore(d,p),a.splice(o,0,t)}else Yi(this._element).appendChild(d),a.push(t);d.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{Ff(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:ix(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,a=e[t+-1*i];let c=o[r?"width":"height"]*i;if(a){const d=r?"left":"top",h=r?"right":"bottom";-1===i?c-=a.clientRect[d]-o[h]:c+=o[d]-a.clientRect[h]}return c}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const a=i[i.length-1].clientRect;return r?t>=a.right:e>=a.bottom}{const a=i[0].clientRect;return r?t<=a.left:e<=a.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,a=this._itemPositions.findIndex(({drag:c,clientRect:d})=>c!==t&&((!r||c!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(d.left)&&e=Math.floor(d.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new Ee,this.entered=new Ee,this.exited=new Ee,this.dropped=new Ee,this.sorted=new Ee,this.receivingStarted=new Ee,this.receivingStopped=new Ee,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=re.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new Ee,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function o8(n=0,t=Tf){return n<0&&(n=0),G_(n,n,t)}(0,Yk).pipe(xn(this._stopScrollTimers)).subscribe(()=>{const a=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?a.scrollBy(0,-c):2===this._verticalScrollDirection&&a.scrollBy(0,c),1===this._horizontalScrollDirection?a.scrollBy(-c,0):2===this._horizontalScrollDirection&&a.scrollBy(c,0)})},this.element=Yi(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new CS(i),this._sortStrategy=new u8(this.element,e),this._sortStrategy.withSortPredicate((a,c)=>this.sortPredicate(a,c,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,a,c,d={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:a,dropPoint:c,event:d})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Yi(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!vS(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((a,c)=>{c===this._document||!a.clientRect||i||vS(a.clientRect,.05,t,e)&&([r,o]=function m8(n,t,e,i){const r=FS(t,i),o=OS(t,e);let a=0,c=0;if(r){const d=n.scrollTop;1===r?d>0&&(a=1):n.scrollHeight-d>n.clientHeight&&(a=2)}if(o){const d=n.scrollLeft;1===o?d>0&&(c=1):n.scrollWidth-d>n.clientWidth&&(c=2)}return[a,c]}(c,a.clientRect,t,e),(r||o)&&(i=c))}),!r&&!o){const{width:a,height:c}=this._viewportRuler.getViewportSize(),d={width:a,height:c,top:0,right:a,bottom:c,left:0};r=FS(d,e),o=OS(d,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Yi(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Yi(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Yi(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&rx(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!rx(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=Yi(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=zC(Yi(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function FS(n,t){const{top:e,bottom:i,height:r}=n,o=r*AS;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function OS(n,t){const{left:e,right:i,width:r}=n,o=r*AS;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const sb=ec({passive:!1,capture:!0});let f8=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new Ee,this.pointerUp=new Ee,this.scroll=new Ee,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,sb)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,sb)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:sb}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:sb}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,a)=>{this._document.addEventListener(a,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new ye(r=>this._ngZone.runOutsideAngular(()=>{const a=c=>{this._activeDragInstances.length&&r.next(c)};return e.addEventListener("scroll",a,!0),()=>{e.removeEventListener("scroll",a,!0)}}))),si(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(ie(Kt),ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const p8={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let sx=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=p8){return new l8(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new h8(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(Kt),ie(sl),ie(f8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ax=new De("CDK_DRAG_PARENT"),cx=new De("CdkDropListGroup");let RS=(()=>{class n{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e)}ngOnDestroy(){this._items.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Wt([{provide:cx,useExisting:n}])]}),n})();const PS=new De("CDK_DRAG_CONFIG");let g8=0;const LS=new De("CdkDropList");let NS=(()=>{class n{get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=Ot(e)}constructor(e,i,r,o,a,c,d){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=o,this._dir=a,this._group=c,this._destroyed=new Ee,this.connectedTo=[],this.id="cdk-drop-list-"+g8++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new Ye,this.entered=new Ye,this.exited=new Ye,this.sorted=new Ye,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,p)=>this.enterPredicate(h.data,p.data),this._dropListRef.sortPredicate=(h,p,y)=>this.sortPredicate(h,p.data,y.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),c&&c._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,i)=>e._dragRef.getVisibleElement().compareDocumentPosition(i._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=n._dropLists.indexOf(this);e>-1&&n._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Br(this._dir.value),xn(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{const i=wf(this.connectedTo).map(r=>"string"==typeof r?n._dropLists.find(a=>a.id===r):r);if(this._group&&this._group._items.forEach(r=>{-1===i.indexOf(r)&&i.push(r)}),!this._scrollableParentsResolved){const r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(o=>o.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Ot(this.sortingDisabled),e.autoScrollDisabled=Ot(this.autoScrollDisabled),e.autoScrollStep=kc(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:this,item:i.item.data,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:this,item:i.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(i=>{this.sorted.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,container:this,item:i.item.data})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,item:i.item.data,isPointerOverContainer:i.isPointerOverContainer,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),si(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:i,draggingDisabled:r,sortingDisabled:o,listAutoScrollDisabled:a,listOrientation:c}=e;this.disabled=r??!1,this.sortingDisabled=o??!1,this.autoScrollDisabled=a??!1,this.orientation=c||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return n._dropLists=[],n.\u0275fac=function(e){return new(e||n)(D(k),D(sx),D(li),D(Dh),D(Vr,8),D(cx,12),D(PS,8))},n.\u0275dir=C({type:n,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,i){2&e&&(kt("id",i.id),un("cdk-drop-list-disabled",i.disabled)("cdk-drop-list-dragging",i._dropListRef.isDragging())("cdk-drop-list-receiving",i._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Wt([{provide:cx,useValue:void 0},{provide:LS,useExisting:n}])]}),n})();const lx=new De("CdkDragHandle"),BS=new De("CdkDragPlaceholder"),VS=new De("CdkDragPreview");let HS=(()=>{class n{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=Ot(e),this._dragRef.disabled=this._disabled}constructor(e,i,r,o,a,c,d,h,p,y,T){this.element=e,this.dropContainer=i,this._ngZone=o,this._viewContainerRef=a,this._dir=d,this._changeDetectorRef=p,this._selfHandle=y,this._parentDrag=T,this._destroyed=new Ee,this.started=new Ye,this.released=new Ye,this.ended=new Ye,this.entered=new Ye,this.exited=new Ye,this.dropped=new Ye,this.moved=new ye(A=>{const N=this._dragRef.moved.pipe(Nn(j=>({source:this,pointerPosition:j.pointerPosition,event:j.event,delta:j.delta,distance:j.distance}))).subscribe(A);return()=>{N.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Hr(1),xn(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Yi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,r=this.dragStartDelay,o=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof r&&r?r:kc(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(o).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Hr(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:r,constrainPosition:o,previewClass:a,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:p}=e;this.disabled=d??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),o&&(this.constrainPosition=o),a&&(this.previewClass=a),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(Br(this._handles),Th(e=>{const i=e.filter(r=>r._parentDrag===this).map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Ic(e=>si(...e.map(i=>i._stateChanges.pipe(Br(i))))),xn(this._destroyed)).subscribe(e=>{const i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(D(k),D(LS,12),D(hn),D(Kt),D(gr),D(PS,8),D(Vr,8),D(sx),D(li),D(lx,10),D(ax,12))},n.\u0275dir=C({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,r){if(1&e&&(zn(r,VS,5),zn(r,BS,5),zn(r,lx,5)),2&e){let o;St(o=It())&&(i._previewTemplate=o.first),St(o=It())&&(i._placeholderTemplate=o.first),St(o=It())&&(i._handles=o)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&un("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Wt([{provide:ax,useExisting:n}]),wi]}),n})(),C8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[sx],imports:[Nd]}),n})();const x8=["text"];function w8(n,t){if(1&n&&Pe(0,"mat-pseudo-checkbox",6),2&n){const e=Y();P("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function D8(n,t){1&n&&Pe(0,"mat-pseudo-checkbox",7),2&n&&P("disabled",Y().disabled)}function M8(n,t){if(1&n&&(_(0,"span",8),M(1),b()),2&n){const e=Y();S(1),bi("(",e.group.label,")")}}const T8=[[["mat-icon"]],"*"],E8=["mat-icon","*"],S8=new De("mat-sanity-checks",{providedIn:"root",factory:function k8(){return!0}});let Gn=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!$C()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(ie(gS),ie(S8,8),ie(hn))},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Sf,Sf]}),n})();function Vd(n){return class extends n{get disabled(){return this._disabled}set disabled(t){this._disabled=Ot(t)}constructor(...t){super(...t),this._disabled=!1}}}function Ih(n,t){return class extends n{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function nd(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Ot(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function Pf(n,t=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?kc(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function dx(n){return class extends n{updateErrorState(){const t=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==t&&(this.errorState=o,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}let ab=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class A8{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const jS=ec({passive:!0,capture:!0});class F8{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Ys(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const a=o.get(i);a?a.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,jS)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,jS)))}}const US={enterDuration:225,exitDuration:150},WS=ec({passive:!0,capture:!0}),GS=["mousedown","touchstart"],YS=["mouseup","mouseleave","touchend","touchcancel"];class Nf{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Yi(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...US,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const a=i.radius||function R8(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),c=t-r.left,d=e-r.top,h=o.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=c-a+"px",p.style.top=d-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(p);const y=window.getComputedStyle(p),A=y.transitionDuration,N="none"===y.transitionProperty||"0s"===A||"0s, 0s"===A||0===r.width&&0===r.height,j=new A8(this,p,i,N);p.style.transform="scale3d(1, 1, 1)",j.state=0,i.persistent||(this._mostRecentTransientRipple=j);let ee=null;return!N&&(h||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const de=()=>this._finishRippleTransition(j),Ve=()=>this._destroyRipple(j);p.addEventListener("transitionend",de),p.addEventListener("transitioncancel",Ve),ee={onTransitionEnd:de,onTransitionCancel:Ve}}),this._activeRipples.set(j,ee),(N||!h)&&this._finishRippleTransition(j),j}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...US,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Yi(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,GS.forEach(i=>{Nf._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{YS.forEach(e=>{this._triggerElement.addEventListener(e,this,WS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=eb(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(GS.forEach(e=>Nf._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&YS.forEach(e=>t.removeEventListener(e,this,WS)))}}Nf._eventManager=new F8;const ux=new De("mat-ripple-global-options");let rs=(()=>{class n{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Nf(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Kt),D(Ri),D(ux,8),D(Lr,8))},n.\u0275dir=C({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&un("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),Hd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Gn]}),n})(),P8=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return n.\u0275fac=function(e){return new(e||n)(D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&un("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),n})(),L8=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn]}),n})();const hx=new De("MAT_OPTION_PARENT_COMPONENT"),mx=new De("MatOptgroup");let N8=0;class ZS{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let B8=(()=>{class n{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=Ot(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+N8++,this.onSelectionChange=new Ye,this._stateChanges=new Ee}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Zs(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new ZS(this,e))}}return n.\u0275fac=function(e){Pm()},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&Hn(x8,7),2&e){let r;St(r=It())&&(i._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),zd=(()=>{class n extends B8{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(hx,8),D(mx,8))},n.\u0275cmp=I({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,i){1&e&&ae("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(js("id",i.id),kt("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),un("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[ht],ngContentSelectors:E8,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Di(T8),q(0,w8,1,2,"mat-pseudo-checkbox",0),tn(1),_(2,"span",1,2),tn(4,1),b(),q(5,D8,1,1,"mat-pseudo-checkbox",3),q(6,M8,2,1,"span",4),Pe(7,"div",5)),2&e&&(P("ngIf",i.multiple),S(5),P("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),S(1),P("ngIf",i.group&&i.group._inert),S(1),P("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[rs,Oi,P8],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),n})();function qS(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;ae+i?Math.max(0,n-i+t):e}let cb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Hd,xa,Gn,L8]}),n})();class fx{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class lb extends fx{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class $d extends fx{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class V8 extends fx{constructor(t){super(),this.element=t instanceof k?t.nativeElement:t}}class px{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof lb?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof $d?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof V8?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class H8 extends px{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=a=>{const c=a.element,d=this._document.createComment("dom-portal");c.parentNode.insertBefore(d,c),this.outletElement.appendChild(c),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(c,d)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Qo.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let z8=(()=>{class n extends $d{constructor(e,i){super(e,i)}}return n.\u0275fac=function(e){return new(e||n)(D(pr),D(gr))},n.\u0275dir=C({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ht]}),n})(),Bf=(()=>{class n extends px{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ye,this.attachDomPortal=o=>{const a=o.element,c=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(c,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return n.\u0275fac=function(e){return new(e||n)(D(x),D(gr),D(hn))},n.\u0275dir=C({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ht]}),n})(),gx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();const XS=Xk();class j8{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Cr(-this._previousScrollPosition.left),t.style.top=Cr(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),XS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),XS&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class U8{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class QS{enable(){}disable(){}attach(){}}function _x(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function JS(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class W8{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();_x(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let G8=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new QS,this.close=a=>new U8(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new j8(this._viewportRuler,this._document),this.reposition=a=>new W8(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(ie(Dh),ie(sl),ie(Kt),ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class Vf{constructor(t){if(this.scrollStrategy=new QS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class Y8{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let eI=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(ie(hn))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Z8=(()=>{class n extends eI{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){const c=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(Kt,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),q8=(()=>{class n extends eI{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ys(o)},this._clickListener=o=>{const a=Ys(o),c="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let h=d.length-1;h>-1;h--){const p=d[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(a)||p.overlayElement.contains(c))break;const y=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>y.next(o)):y.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(ie(hn),ie(Ri),ie(Kt,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tI=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||$C()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(y),this._backdropTransitionendHandler=y=>{this._disposeBackdrop(y.target)},this._keydownEvents=new Ee,this._outsidePointerEvents=new Ee,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Hr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Cr(this._config.width),t.height=Cr(this._config.height),t.minWidth=Cr(this._config.minWidth),t.minHeight=Cr(this._config.minHeight),t.maxWidth=Cr(this._config.maxWidth),t.maxHeight=Cr(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=wf(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(xn(si(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const nI="cdk-overlay-connected-position-bounding-box",X8=/([A-Za-z%]+)$/;class Q8{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ee,this._resizeSubscription=re.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(nI),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let c of this._preferredPositions){let d=this._getOriginPoint(t,r,c),h=this._getOverlayPoint(d,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,d);this._canFitWithFlexibleDimensions(p,h,i)?o.push({position:c,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,c)}):(!a||a.overlayFit.visibleAread&&(d=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&jd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nI),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==i.originX?a:c}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=rI(e);let{x:a,y:c}=t,d=this._getOffset(r,"x"),h=this._getOffset(r,"y");d&&(a+=d),h&&(c+=h);let T=0-c,A=c+o.height-i.height,N=this._subtractOverflows(o.width,0-a,a+o.width-i.width),j=this._subtractOverflows(o.height,T,A),ee=N*j;return{visibleArea:ee,isCompletelyWithinViewport:o.width*o.height===ee,fitsInViewportVertically:j===o.height,fitsInViewportHorizontally:N==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,a=iI(this._overlayRef.getConfig().minHeight),c=iI(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=rI(e),o=this._viewportRect,a=Math.max(t.x+r.width-o.width,0),c=Math.max(t.y+r.height-o.height,0),d=Math.max(o.top-i.top-t.y,0),h=Math.max(o.left-i.left-t.x,0);let p=0,y=0;return p=r.width<=o.width?h||-a:t.xN&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-N/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)T=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)y=t.x,p=i.right-t.x;else{const A=Math.min(i.right-t.x+i.left,t.x),N=this._lastBoundingBoxSize.width;p=2*A,y=t.x-A,p>N&&!this._isInitialRender&&!this._growAfterOpen&&(y=t.x-N/2)}return{top:a,left:y,bottom:c,right:T,width:p,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Cr(i.height),r.top=Cr(i.top),r.bottom=Cr(i.bottom),r.width=Cr(i.width),r.left=Cr(i.left),r.right=Cr(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Cr(o)),a&&(r.maxWidth=Cr(a))}this._lastBoundingBoxSize=i,jd(this._boundingBox.style,r)}_resetBoundingBoxStyles(){jd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){jd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const p=this._viewportRuler.getViewportScrollPosition();jd(i,this._getExactOverlayY(e,t,p)),jd(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(c+=`translateX(${d}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),a.maxHeight&&(r?i.maxHeight=Cr(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Cr(a.maxWidth):o&&(i.maxWidth="")),jd(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Cr(o.y),r}_getExactOverlayX(t,e,i){let a,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Cr(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:JS(t,i),isOriginOutsideView:_x(t,i),isOverlayClipped:JS(e,i),isOverlayOutsideView:_x(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&wf(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof k)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function jd(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function iI(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(X8);return e&&"px"!==e?null:parseFloat(t)}return n||null}function rI(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const oI="cdk-global-overlay-wrapper";class J8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(oI),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:c}=i,d=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),h=!("100%"!==o&&"100vh"!==o||c&&"100%"!==c&&"100vh"!==c),p=this._xPosition,y=this._xOffset,T="rtl"===this._overlayRef.getConfig().direction;let A="",N="",j="";d?j="flex-start":"center"===p?(j="center",T?N=y:A=y):T?"left"===p||"end"===p?(j="flex-end",A=y):("right"===p||"start"===p)&&(j="flex-start",N=y):"left"===p||"start"===p?(j="flex-start",A=y):("right"===p||"end"===p)&&(j="flex-end",N=y),t.position=this._cssPosition,t.marginLeft=d?"0":A,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=d?"0":N,e.justifyContent=j,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(oI),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let e6=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new J8}flexibleConnectedTo(e){return new Q8(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(ie(sl),ie(hn),ie(Ri),ie(tI))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),t6=0,Ta=(()=>{class n{constructor(e,i,r,o,a,c,d,h,p,y,T,A){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=c,this._ngZone=d,this._document=h,this._directionality=p,this._location=y,this._outsideClickDispatcher=T,this._animationsModuleType=A}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),a=new Vf(e);return a.direction=a.direction||this._directionality.value,new K8(o,i,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+t6++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(tf)),new H8(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(ie(G8),ie(tI),ie(x),ie(e6),ie(Z8),ie(Qo),ie(Kt),ie(hn),ie(Vr),ie(qM),ie(q8),ie(Lr,8))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const n6=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sI=new De("cdk-connected-overlay-scroll-strategy");let bx=(()=>{class n{constructor(e){this.elementRef=e}}return n.\u0275fac=function(e){return new(e||n)(D(k))},n.\u0275dir=C({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),n})(),aI=(()=>{class n{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ot(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Ot(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Ot(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Ot(e)}get push(){return this._push}set push(e){this._push=Ot(e)}constructor(e,i,r,o,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=re.EMPTY,this._attachSubscription=re.EMPTY,this._detachSubscription=re.EMPTY,this._positionSubscription=re.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ye,this.positionChange=new Ye,this.attach=new Ye,this.detach=new Ye,this.overlayKeydown=new Ye,this.overlayOutsideClick=new Ye,this._templatePortal=new $d(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=n6);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Zs(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Vf({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof bx?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function $8(n,t=!1){return Ke((e,i)=>{let r=0;e.subscribe(Rt(i,o=>{const a=n(o,r++);(a||t)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(D(Ta),D(pr),D(gr),D(sI),D(Vr,8))},n.\u0275dir=C({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[wi]}),n})();const r6={provide:sI,deps:[Ta],useFactory:function i6(n){return()=>n.scrollStrategies.reposition()}};let Hf=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[Ta,r6],imports:[Sf,gx,eS,eS]}),n})();function cI(n){return new ye(t=>{vi(n()).subscribe(t)})}const o6=["matFormFieldNotchedOutline",""],s6=["*"],a6=["textField"],c6=["iconPrefixContainer"],l6=["textPrefixContainer"];function d6(n,t){1&n&&Pe(0,"span",19)}function u6(n,t){if(1&n){const e=Ut();_(0,"label",17),ae("cdkObserveContent",function(){return Je(e),ot(Y(2)._refreshOutlineNotchWidth())}),tn(1,1),q(2,d6,1,0,"span",18),b()}if(2&n){const e=Y(2);P("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),kt("for",e._control.id)("aria-owns",e._control.id),S(2),P("ngIf",!e.hideRequiredMarker&&e._control.required)}}function h6(n,t){1&n&&q(0,u6,3,6,"label",16),2&n&&P("ngIf",Y()._hasFloatingLabel())}function m6(n,t){1&n&&Pe(0,"div",20)}function f6(n,t){}function p6(n,t){1&n&&q(0,f6,0,0,"ng-template",22),2&n&&(Y(2),P("ngTemplateOutlet",Jo(1)))}function g6(n,t){if(1&n&&(_(0,"div",21),q(1,p6,1,1,"ng-template",9),b()),2&n){const e=Y();P("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),S(1),P("ngIf",!e._forceDisplayInfixLabel())}}function _6(n,t){1&n&&(_(0,"div",23,24),tn(2,2),b())}function b6(n,t){1&n&&(_(0,"div",25,26),tn(2,3),b())}function y6(n,t){}function v6(n,t){1&n&&q(0,y6,0,0,"ng-template",22),2&n&&(Y(),P("ngTemplateOutlet",Jo(1)))}function C6(n,t){1&n&&(_(0,"div",27),tn(1,4),b())}function x6(n,t){1&n&&(_(0,"div",28),tn(1,5),b())}function w6(n,t){1&n&&Pe(0,"div",29)}function D6(n,t){1&n&&(_(0,"div",30),tn(1,6),b()),2&n&&P("@transitionMessages",Y()._subscriptAnimationState)}function M6(n,t){if(1&n&&(_(0,"mat-hint",34),M(1),b()),2&n){const e=Y(2);P("id",e._hintLabelId),S(1),zt(e.hintLabel)}}function T6(n,t){if(1&n&&(_(0,"div",31),q(1,M6,2,2,"mat-hint",32),tn(2,7),Pe(3,"div",33),tn(4,8),b()),2&n){const e=Y();P("@transitionMessages",e._subscriptAnimationState),S(1),P("ngIf",e.hintLabel)}}const E6=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],k6=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let zr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-label"]]}),n})(),S6=0;const lI=new De("MatError");let al=(()=>{class n{constructor(e,i){this.id="mat-mdc-error-"+S6++,e||i.nativeElement.setAttribute("aria-live","polite")}}return n.\u0275fac=function(e){return new(e||n)(Hs("aria-live"),D(k))},n.\u0275dir=C({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&js("id",i.id)},inputs:{id:"id"},features:[Wt([{provide:lI,useExisting:n}])]}),n})(),I6=0,dI=(()=>{class n{constructor(){this.align="start",this.id="mat-mdc-hint-"+I6++}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(js("id",i.id),kt("align",null),un("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),n})();const A6=new De("MatPrefix"),F6=new De("MatSuffix");let uI=(()=>{class n{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function O6(n){if(null!==n.offsetParent)return n.scrollWidth;const e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(D(k))},n.\u0275dir=C({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&un("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),n})();const hI="mdc-line-ripple--active",db="mdc-line-ripple--deactivating";let mI=(()=>{class n{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{const o=this._elementRef.nativeElement.classList,a=o.contains(db);"opacity"===r.propertyName&&a&&o.remove(hI,db)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(db),e.add(hI)}deactivate(){this._elementRef.nativeElement.classList.add(db)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Kt))},n.\u0275dir=C({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),n})(),fI=(()=>{class n{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Kt))},n.\u0275cmp=I({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&un("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:o6,ngContentSelectors:s6,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(Di(),Pe(0,"div",0),_(1,"div",1),tn(2),b(),Pe(3,"div",2)),2&e&&(S(1),zm("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),n})();const R6={transitionMessages:il("transitionMessages",[wa("enter",ki({opacity:1,transform:"translateY(0%)"})),To("void => enter",[ki({opacity:0,transform:"translateY(-5px)"}),Mo("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ub=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n}),n})();const zf=new De("MatFormField"),P6=new De("MAT_FORM_FIELD_DEFAULT_OPTIONS");let pI=0,lo=(()=>{class n{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ot(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,a,c,d,h){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=o,this._platform=a,this._defaults=c,this._animationMode=d,this._document=h,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+pI++,this._hintLabelId="mat-mdc-hint-"+pI++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new Ee,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(xn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),si(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(xn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(xn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=i?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${o+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(Kt),D(Vr),D(Ri),D(P6,8),D(Lr,8),D(hn))},n.\u0275cmp=I({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(1&e&&(zn(r,zr,5),zn(r,zr,7),zn(r,ub,5),zn(r,A6,5),zn(r,F6,5),zn(r,lI,5),zn(r,dI,5)),2&e){let o;St(o=It())&&(i._labelChildNonStatic=o.first),St(o=It())&&(i._labelChildStatic=o.first),St(o=It())&&(i._formFieldControl=o.first),St(o=It())&&(i._prefixChildren=o),St(o=It())&&(i._suffixChildren=o),St(o=It())&&(i._errorChildren=o),St(o=It())&&(i._hintChildren=o)}},viewQuery:function(e,i){if(1&e&&(Hn(a6,5),Hn(c6,5),Hn(l6,5),Hn(uI,5),Hn(fI,5),Hn(mI,5)),2&e){let r;St(r=It())&&(i._textField=r.first),St(r=It())&&(i._iconPrefixContainer=r.first),St(r=It())&&(i._textPrefixContainer=r.first),St(r=It())&&(i._floatingLabel=r.first),St(r=It())&&(i._notchedOutline=r.first),St(r=It())&&(i._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&un("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Wt([{provide:zf,useExisting:n}])],ngContentSelectors:k6,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(Di(E6),q(0,h6,1,1,"ng-template",null,0,jg),_(2,"div",1,2),ae("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),q(4,m6,1,0,"div",3),_(5,"div",4),q(6,g6,2,3,"div",5),q(7,_6,3,0,"div",6),q(8,b6,3,0,"div",7),_(9,"div",8),q(10,v6,1,1,"ng-template",9),tn(11),b(),q(12,C6,2,0,"div",10),q(13,x6,2,0,"div",11),b(),q(14,w6,1,0,"div",12),b(),_(15,"div",13),q(16,D6,2,1,"div",14),q(17,T6,5,2,"div",15),b()),2&e&&(S(2),un("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),S(2),P("ngIf",!i._hasOutline()&&!i._control.disabled),S(2),P("ngIf",i._hasOutline()),S(1),P("ngIf",i._hasIconPrefix),S(1),P("ngIf",i._hasTextPrefix),S(2),P("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),S(2),P("ngIf",i._hasTextSuffix),S(1),P("ngIf",i._hasIconSuffix),S(1),P("ngIf",!i._hasOutline()),S(1),un("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),P("ngSwitch",i._getDisplayedMessages()),S(1),P("ngSwitchCase","error"),S(1),P("ngSwitchCase","hint"))},dependencies:[Oi,mT,gh,a_,iS,dI,uI,fI,mI],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[R6.transitionMessages]},changeDetection:0}),n})(),hb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,xa,ZC,Gn]}),n})();function bI(n,t){return t?e=>Y_(t.pipe(Hr(1),function B6(){return Ke((n,t)=>{n.subscribe(Rt(t,Ft))})}()),e.pipe(bI(n))):Po((e,i)=>vi(n(e,i)).pipe(Hr(1),function V6(n){return Nn(()=>n)}(e)))}function yx(n,t=Tf){const e=G_(n,t);return bI(()=>e)}const H6=["panel"];function z6(n,t){if(1&n&&(_(0,"div",0,1),tn(2),b()),2&n){const e=t.id,i=Y();P("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),kt("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const $6=["*"],j6=il("panelAnimation",[wa("void, hidden",ki({opacity:0,transform:"scaleY(0.8)"})),To(":enter, hidden => visible",[iB([Mo("0.03s linear",ki({opacity:1})),Mo("0.12s cubic-bezier(0, 0, 0.2, 1)",ki({transform:"scaleY(1)"}))])]),To(":leave, visible => hidden",[Mo("0.075s linear",ki({opacity:0}))])]);let U6=0;class W6{constructor(t,e){this.source=t,this.option=e}}const G6=nd(class{}),yI=new De("mat-autocomplete-default-options",{providedIn:"root",factory:function Y6(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let Z6=(()=>{class n extends G6{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=Ot(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=Ot(e)}set classList(e){this._classList=e&&e.length?function B5(n,t=/\s+/){const e=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(t);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=re.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new Ye,this.opened=new Ye,this.closed=new Ye,this.optionActivated=new Ye,this._classList={},this.id="mat-autocomplete-"+U6++,this.inertGroups=o?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new uS(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new W6(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(k),D(yI),D(Ri))},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&(Hn(pr,7),Hn(H6,5)),2&e){let r;St(r=It())&&(i.template=r.first),St(r=It())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[ht]}),n})(),q6=(()=>{class n extends Z6{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ot(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275cmp=I({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(zn(r,mx,5),zn(r,zd,5)),2&e){let o;St(o=It())&&(i.optionGroups=o),St(o=It())&&(i.options=o)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Wt([{provide:hx,useExisting:n}]),ht],ngContentSelectors:$6,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(Di(),q(0,z6,3,5,"ng-template"))},dependencies:[ph],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[j6]},changeDetection:0}),n})();const K6={provide:yr,useExisting:Jt(()=>CI),multi:!0},vI=new De("mat-autocomplete-scroll-strategy"),Q6={provide:vI,deps:[Ta],useFactory:function X6(n){return()=>n.scrollStrategies.reposition()}};let J6=(()=>{class n{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=Ot(e)}constructor(e,i,r,o,a,c,d,h,p,y,T){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=d,this._formField=h,this._document=p,this._viewportRuler=y,this._defaults=T,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=re.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ee,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=cI(()=>{const A=this.autocomplete?this.autocomplete.options:null;return A?A.changes.pipe(Br(A),Ic(()=>si(...A.map(N=>N.onSelectionChange)))):this._zone.onStable.pipe(Hr(1),Ic(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return si(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ms(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ms(()=>this._overlayAttached)):Ds()).pipe(Nn(e=>e instanceof ZS?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return si(Sc(this._document,"click"),Sc(this._document,"auxclick"),Sc(this._document,"touchend")).pipe(Ms(e=>{const i=Ys(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=Zs(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,a=38===i||40===i;9===i||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this.openPanel(),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return si(this._zone.onStable.pipe(Hr(1)),this.autocomplete.options.changes.pipe(Th(()=>this._positionStrategy.reapplyLastPosition()),yx(0))).pipe(Ic(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),Hr(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new $d(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Vf({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let a;a="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=qS(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const a=o._getHostElement(),c=KS(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!Zs(i)||38===i.keyCode&&Zs(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ta),D(gr),D(Kt),D(li),D(vI),D(Vr,8),D(zf,9),D(hn,8),D(sl),D(yI,8))},n.\u0275dir=C({type:n,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[wi]}),n})(),CI=(()=>{class n extends J6{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&ae("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&kt("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Wt([K6]),ht]}),n})(),eH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[Q6],imports:[Hf,cb,Gn,xa,Nd,cb,Gn]}),n})();const tH=["mat-button",""],xI=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],wI=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],iH=["mat-fab",""],rH=["mat-icon-button",""],oH=["*"],sH=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],aH=Ih(Vd(nd(class{constructor(n){this._elementRef=n}})));let vx=(()=>{class n extends aH{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=_i(td),this._isFab=!1;const a=e.nativeElement.classList;for(const c of sH)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(d=>{a.add(d)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return n.\u0275fac=function(e){Pm()},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&Hn(rs,5),2&e){let r;St(r=It())&&(i.ripple=r.first)}},features:[ht]}),n})(),Zi=(()=>{class n extends vx{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ri),D(Kt),D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(kt("disabled",i.disabled||null),un("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ht],attrs:tH,ngContentSelectors:wI,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Di(xI),Pe(0,"span",0),tn(1),_(2,"span",1),tn(3,1),b(),tn(4,2),Pe(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(un("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),S(6),P("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[rs],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})();const lH=new De("mat-mdc-fab-default-options",{providedIn:"root",factory:DI});function DI(){return{color:"accent"}}const MI=DI();let $f=(()=>{class n extends vx{get extended(){return this._extended}set extended(e){this._extended=Ot(e)}constructor(e,i,r,o,a){super(e,i,r,o),this._options=a,this._isFab=!0,this._options=this._options||MI,this.color=this.defaultColor=this._options.color||MI.color}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ri),D(Kt),D(Lr,8),D(lH,8))},n.\u0275cmp=I({type:n,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,i){2&e&&(kt("disabled",i.disabled||null),un("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0)("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[ht],attrs:iH,ngContentSelectors:wI,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Di(xI),Pe(0,"span",0),tn(1),_(2,"span",1),tn(3,1),b(),tn(4,2),Pe(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(un("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),S(6),P("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[rs],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),n})(),jf=(()=>{class n extends vx{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ri),D(Kt),D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(kt("disabled",i.disabled||null),un("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ht],attrs:rH,ngContentSelectors:oH,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Di(),Pe(0,"span",0),tn(1),Pe(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(S(3),P("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[rs],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})(),TI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Hd,Gn]}),n})();class EI{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ee,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}const dH=["button"],uH=["*"],kI=new De("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),SI=new De("MatButtonToggleGroup"),hH={provide:yr,useExisting:Jt(()=>Cx),multi:!0};let II=0;class AI{constructor(t,e){this.source=t,this.value=e}}let Cx=(()=>{class n{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=Ot(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=Ot(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e),this._markButtonsForCheck()}constructor(e,i){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+II++,this.valueChange=new Ye,this.change=new Ye,this.appearance=i&&i.appearance?i.appearance:"standard"}ngOnInit(){this._selectionModel=new EI(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const i=new AI(e,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,o=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>null!=e.value&&i===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(i=>this._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const i=this._buttonToggles.find(r=>null!=r.value&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(kI,8))},n.\u0275dir=C({type:n,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,i,r){if(1&e&&zn(r,xx,5),2&e){let o;St(o=It())&&(i._buttonToggles=o)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,i){2&e&&(kt("aria-disabled",i.disabled),un("mat-button-toggle-vertical",i.vertical)("mat-button-toggle-group-appearance-standard","standard"===i.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Wt([hH,{provide:SI,useExisting:n}])]}),n})();const mH=nd(class{});let xx=(()=>{class n extends mH{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const i=Ot(e);i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=Ot(e)}constructor(e,i,r,o,a,c){super(),this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new Ye;const d=Number(a);this.tabIndex=d||0===d?d:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+II++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new AI(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return n.\u0275fac=function(e){return new(e||n)(D(SI,8),D(li),D(k),D(td),Hs("tabindex"),D(kI,8))},n.\u0275cmp=I({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(e,i){if(1&e&&Hn(dH,5),2&e){let r;St(r=It())&&(i._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,i){1&e&&ae("focus",function(){return i.focus()}),2&e&&(kt("aria-label",null)("aria-labelledby",null)("id",i.id)("name",null),un("mat-button-toggle-standalone",!i.buttonToggleGroup)("mat-button-toggle-checked",i.checked)("mat-button-toggle-disabled",i.disabled)("mat-button-toggle-appearance-standard","standard"===i.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[ht],ngContentSelectors:uH,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,i){if(1&e&&(Di(),_(0,"button",0,1),ae("click",function(){return i._onButtonClick()}),_(2,"span",2),tn(3),b()(),Pe(4,"span",3)(5,"span",4)),2&e){const r=Jo(1);P("id",i.buttonId)("disabled",i.disabled||null),kt("tabindex",i.disabled?-1:i.tabIndex)("aria-pressed",i.checked)("name",i._getButtonName())("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),S(5),P("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)}},dependencies:[rs],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),n})(),fH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Hd,Gn]}),n})();const pH=["*"],bH=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],yH=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],vH=new De("MAT_CARD_CONFIG");let id=(()=>{class n{constructor(e){this.appearance=e?.appearance||"raised"}}return n.\u0275fac=function(e){return new(e||n)(D(vH,8))},n.\u0275cmp=I({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&un("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:pH,decls:1,vars:0,template:function(e,i){1&e&&(Di(),tn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),Ah=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),rd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),n})(),Fh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),n})(),od=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,i){2&e&&un("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),Oh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:yH,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,i){1&e&&(Di(bH),tn(0),_(1,"div",0),tn(2,1),b(),tn(3,2))},encapsulation:2,changeDetection:0}),n})(),SH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,xa,Gn]}),n})();const IH=["input"],AH=["label"],FH=["*"],OH=new De("mat-checkbox-default-options",{providedIn:"root",factory:FI});function FI(){return{color:"accent",clickAction:"check-indeterminate"}}const RH={provide:yr,useExisting:Jt(()=>cl),multi:!0};class PH{}let LH=0;const OI=FI(),NH=Pf(Ih(nd(Vd(class{constructor(n){this._elementRef=n}}))));let BH=(()=>{class n extends NH{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=Ot(e)}constructor(e,i,r,o,a,c,d){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=c,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Ye,this.indeterminateChange=new Ye,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||OI,this.color=this.defaultColor=this._options.color||OI.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++LH}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=Ot(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=Ot(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=Ot(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return n.\u0275fac=function(e){Pm()},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&(Hn(IH,5),Hn(AH,5),Hn(rs,5)),2&e){let r;St(r=It())&&(i._inputElement=r.first),St(r=It())&&(i._labelElement=r.first),St(r=It())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[ht]}),n})(),cl=(()=>{class n extends BH{constructor(e,i,r,o,a,c){super("mat-mdc-checkbox-",e,i,r,o,a,c),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new PH;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(Kt),Hs("tabindex"),D(Lr,8),D(OH,8))},n.\u0275cmp=I({type:n,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(js("id",i.id),kt("tabindex",null)("aria-label",null)("aria-labelledby",null),un("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Wt([RH]),ht],ngContentSelectors:FH,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(e,i){if(1&e&&(Di(),_(0,"div",0),ae("click",function(o){return i._preventBubblingFromLabel(o)}),_(1,"div",1,2)(3,"div",3),ae("click",function(){return i._onTouchTargetClick()}),b(),_(4,"input",4,5),ae("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(o){return i._onInteractionEvent(o)}),b(),Pe(6,"div",6),_(7,"div",7),fc(),_(8,"svg",8),Pe(9,"path",9),b(),du(),Pe(10,"div",10),b(),Pe(11,"div",11),b(),_(12,"label",12,13),tn(14),b()()),2&e){const r=Jo(2);un("mdc-form-field--align-end","before"==i.labelPosition),S(4),un("mdc-checkbox--selected",i.checked),P("checked",i.checked)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),kt("aria-checked",i._getAriaChecked())("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),S(7),P("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),S(1),P("for",i.inputId)}},dependencies:[rs],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),RI=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})(),zH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Hd,RI,Gn,RI]}),n})();function $H(n,t){1&n&&(_(0,"span",8),tn(1,1),b())}function jH(n,t){1&n&&(_(0,"span",9),tn(1,2),b())}const PI=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],LI=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function GH(n,t){if(1&n&&(Kr(0),Pe(1,"span",9)(2,"span",10),Xr()),2&n){const e=Y();S(1),P("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e._isRippleCentered)("matRippleTrigger",e._elementRef.nativeElement)}}function YH(n,t){1&n&&(_(0,"span",11),tn(1),b())}function ZH(n,t){1&n&&(Kr(0),tn(1,1),Xr())}function qH(n,t){1&n&&tn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function KH(n,t){1&n&&Pe(0,"span",14)}function XH(n,t){if(1&n&&(Kr(0),q(1,qH,1,0,"ng-content",12),q(2,KH,1,0,"ng-template",null,13,jg),Xr()),2&n){const e=Jo(3),i=Y();S(1),P("ngIf",i.contentEditInput)("ngIfElse",e)}}function QH(n,t){1&n&&(_(0,"span",15),tn(1,3),b())}const JH=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ez=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],wx=["*"],mb=new De("mat-chips-default-options"),Dx=new De("MatChipAvatar"),Mx=new De("MatChipTrailingIcon"),Tx=new De("MatChipRemove"),fb=new De("MatChip");class tz{}const nz=Pf(tz,-1);let Rh=(()=>{class n extends nz{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=Ot(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,i){super(),this._elementRef=e,this._parentChip=i,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(fb))},n.\u0275dir=C({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,i){1&e&&ae("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(kt("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),un("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[ht]}),n})(),Ex=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[Wt([{provide:Dx,useExisting:n}])]}),n})(),VI=(()=>{class n extends Rh{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,i){2&e&&kt("aria-hidden",null)},features:[Wt([{provide:Tx,useExisting:n}]),ht]}),n})(),rz=0;const oz=Pf(Ih(nd(Vd(class{constructor(n){this._elementRef=n}})),"primary"),-1);let sd=(()=>{class n extends oz{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=Ot(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=Ot(e)}constructor(e,i,r,o,a,c,d,h){super(i),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=d,this._isRippleCentered=!1,this._onFocus=new Ee,this._onBlur=new Ee,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+rz++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new Ye,this.destroyed=new Ye,this.basicChipAttrName="mat-basic-chip";const p=i.nativeElement;this._document=a,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=p.hasAttribute(this.basicChipAttrName)||p.tagName.toLowerCase()===this.basicChipAttrName,null!=h&&(this.tabIndex=parseInt(h)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=si(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(i=>{const r=i._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=null!==e;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(Hr(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(k),D(Kt),D(td),D(hn),D(Lr,8),D(ux,8),Hs("tabindex"))},n.\u0275cmp=I({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,i,r){if(1&e&&(zn(r,Dx,5),zn(r,Mx,5),zn(r,Tx,5),zn(r,Dx,5),zn(r,Mx,5),zn(r,Tx,5)),2&e){let o;St(o=It())&&(i.leadingIcon=o.first),St(o=It())&&(i.trailingIcon=o.first),St(o=It())&&(i.removeIcon=o.first),St(o=It())&&(i._allLeadingIcons=o),St(o=It())&&(i._allTrailingIcons=o),St(o=It())&&(i._allRemoveIcons=o)}},viewQuery:function(e,i){if(1&e&&(Hn(rs,5),Hn(Rh,5)),2&e){let r;St(r=It())&&(i.ripple=r.first),St(r=It())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,i){1&e&&ae("keydown",function(o){return i._handleKeydown(o)}),2&e&&(js("id",i.id),kt("role",i.role)("tabindex",i.role?i.tabIndex:null)("aria-label",i.ariaLabel),un("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Wt([{provide:fb,useExisting:n}]),ht],ngContentSelectors:LI,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(Di(PI),Pe(0,"span",0)(1,"span",1),_(2,"span",2)(3,"span",3),q(4,$H,2,0,"span",4),_(5,"span",5),tn(6),Pe(7,"span",6),b()()(),q(8,jH,2,0,"span",7)),2&e&&(P("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i._isRippleCentered)("matRippleTrigger",i._elementRef.nativeElement),S(3),P("isInteractive",!1),S(1),P("ngIf",i.leadingIcon),S(4),P("ngIf",i._hasTrailingIcon()))},dependencies:[Oi,rs,Rh],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})(),pb=(()=>{class n{constructor(e,i){this._elementRef=e,this._document=i}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);const i=window.getSelection();i.removeAllRanges(),i.addRange(e)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(hn))},n.\u0275dir=C({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]}),n})(),kx=(()=>{class n extends sd{constructor(e,i,r,o,a,c,d,h){super(e,i,r,o,a,c,d,h),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new Ye,this._isEditing=!1,this.role="row",this._onBlur.pipe(xn(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(e){this._isEditing||(this.disabled||this.focus(),e.preventDefault())}_handleKeydown(e){13!==e.keyCode||this.disabled?this._isEditing?e.stopPropagation():super._handleKeydown(e):this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e)}_doubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;const i=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(i),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(k),D(Kt),D(td),D(hn),D(Lr,8),D(ux,8),Hs("tabindex"))},n.\u0275cmp=I({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(e,i,r){if(1&e&&zn(r,pb,5),2&e){let o;St(o=It())&&(i.contentEditInput=o.first)}},viewQuery:function(e,i){if(1&e&&Hn(pb,5),2&e){let r;St(r=It())&&(i.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,i){1&e&&ae("mousedown",function(o){return i._mousedown(o)})("dblclick",function(o){return i._doubleclick(o)}),2&e&&(js("id",i.id),kt("tabindex",null)("aria-label",null)("aria-description",null)("role",i.role),un("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-chip-editing",i._isEditing)("mat-mdc-chip-editable",i.editable)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Wt([{provide:sd,useExisting:n},{provide:fb,useExisting:n}]),ht],ngContentSelectors:ez,decls:11,vars:13,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,i){1&e&&(Di(JH),q(0,GH,3,3,"ng-container",0),_(1,"span",1)(2,"span",2),q(3,YH,2,0,"span",3),_(4,"span",4),q(5,ZH,2,0,"ng-container",5),q(6,XH,4,2,"ng-container",5),Pe(7,"span",6),b()()(),q(8,QH,2,0,"span",7),_(9,"span",8),M(10),b()),2&e&&(P("ngIf",!i._isEditing),S(2),P("tabIndex",i.tabIndex)("disabled",i.disabled),kt("role",i.editable?"button":null)("aria-label",i.ariaLabel)("aria-describedby",i._ariaDescriptionId),S(1),P("ngIf",i.leadingIcon),S(1),P("ngSwitch",i._isEditing),S(1),P("ngSwitchCase",!1),S(1),P("ngSwitchCase",!0),S(2),P("ngIf",i._hasTrailingIcon()),S(1),P("id",i._ariaDescriptionId),S(1),zt(i.ariaDescription))},dependencies:[Oi,gh,a_,rs,Rh,pb],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),n})();class sz{constructor(t){}}const az=Pf(sz);let gb=(()=>{class n extends az{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,i,r){super(e),this._elementRef=e,this._changeDetectorRef=i,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ee,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new Yl}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis.tabIndex=e)}}_getChipStream(e){return this._chips.changes.pipe(Br(null),Ic(()=>si(...this._chips.map(e))))}_originatesFromChip(e){let i=e.target;for(;i&&i!==this._elementRef.nativeElement;){if(i.classList&&i.classList.contains("mdc-evolution-chip"))return!0;i=i.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Br(this._chips)).subscribe(e=>{const i=[];e.forEach(r=>r._getActions().forEach(o=>i.push(o))),this._chipActions.reset(i),this._chipActions.notifyOnChanges()}),this._keyManager=new QC(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(xn(this._destroyed)).subscribe(({chip:e})=>{const i=e._getSourceAction(document.activeElement);i&&this._keyManager.updateActiveItem(i)}),this._dir?.change.pipe(xn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Br(null),xn(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(xn(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),i=this._chips.toArray()[e];i.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():i.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(Vr,8))},n.\u0275cmp=I({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,i,r){if(1&e&&zn(r,sd,5),2&e){let o;St(o=It())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,i){1&e&&ae("keydown",function(o){return i._handleKeydown(o)}),2&e&&kt("role",i.role)},inputs:{disabled:"disabled",role:"role"},features:[ht],ngContentSelectors:wx,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(Di(),_(0,"div",0),tn(1),b())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})();class dz{constructor(t,e){this.source=t,this.value=e}}class uz extends gb{constructor(t,e,i,r,o,a,c){super(t,e,i),this._defaultErrorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this.ngControl=c,this.stateChanges=new Ee}}const hz=dx(uz);let $I=(()=>{class n extends hz{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Ot(e),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Sn.required)??!1}set required(e){this._required=Ot(e),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}constructor(e,i,r,o,a,c,d){super(e,i,r,c,o,a,d),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new Ye,this.valueChange=new Ye,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(xn(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),si(this.chipFocusChanges,this._chips.changes).pipe(xn(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){9===e.keyCode?this._chipInput.focused&&Zs(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(e),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const e=this._chips.length?this._chips.toArray().map(i=>i.value):[];this._value=e,this.change.emit(new dz(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(Vr,8),D(yh,8),D(Jr,8),D(ab),D(Ja,10))},n.\u0275cmp=I({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(e,i,r){if(1&e&&zn(r,kx,5),2&e){let o;St(o=It())&&(i._chips=o)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,i){1&e&&ae("focus",function(){return i.focus()})("blur",function(){return i._blur()}),2&e&&(js("tabIndex",i._chips&&0===i._chips.length?-1:i.tabIndex),kt("role",i.role)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState),un("mat-mdc-chip-list-disabled",i.disabled)("mat-mdc-chip-list-invalid",i.errorState)("mat-mdc-chip-list-required",i.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Wt([{provide:ub,useExisting:n}]),ht],ngContentSelectors:wx,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,i){1&e&&(Di(),_(0,"div",0),tn(1),b())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),n})(),mz=0,jI=(()=>{class n{set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(e){this._addOnBlur=Ot(e)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=Ot(e)}get empty(){return!this.inputElement.value}constructor(e,i,r){this._elementRef=e,this._defaultOptions=i,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new Ye,this.placeholder="",this.id="mat-mdc-chip-list-input-"+mz++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(e){if(e){if(8===e.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void e.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(e)}_keyup(e){!this._focusLastChipOnBackspace&&8===e.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,e.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(e){const i=this._elementRef.nativeElement;e.length?i.setAttribute("aria-describedby",e.join(" ")):i.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Zs(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(mb),D(zf,8))},n.\u0275dir=C({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,i){1&e&&ae("keydown",function(o){return i._keydown(o)})("keyup",function(o){return i._keyup(o)})("blur",function(){return i._blur()})("focus",function(){return i._focus()})("input",function(){return i._onInput()}),2&e&&(js("id",i.id),kt("disabled",i.disabled||null)("placeholder",i.placeholder||null)("aria-invalid",i._chipGrid&&i._chipGrid.ngControl?i._chipGrid.ngControl.invalid:null)("aria-required",i._chipGrid&&i._chipGrid.required||null)("required",i._chipGrid&&i._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[wi]}),n})(),fz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[ab,{provide:mb,useValue:{separatorKeyCodes:[13]}}],imports:[Gn,xa,Hd,Gn]}),n})();function Sx(n){return Ke((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Rt(e,void 0,void 0,a=>{o=vi(n(a,Sx(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}const _z=["*"];let _b;function Uf(n){return function bz(){if(void 0===_b&&(_b=null,typeof window<"u")){const n=window;void 0!==n.trustedTypes&&(_b=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return _b}()?.createHTML(n)||n}function UI(n){return Error(`Unable to find icon with the name "${n}"`)}function WI(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function GI(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class Ud{constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}}let Wf=(()=>{class n{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Ud(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const a=this._sanitizer.sanitize(qn.HTML,r);if(!a)throw GI(r);const c=Uf(a);return this._addSvgIconConfig(e,i,new Ud("",c,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new Ud(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(qn.HTML,i);if(!o)throw GI(i);const a=Uf(o);return this._addSvgIconSetConfig(e,new Ud("",a,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(qn.RESOURCE_URL,e);if(!i)throw WI(e);const r=this._cachedIconsByUrl.get(i);return r?Ds(bb(r)):this._loadSvgIconFromConfig(new Ud(e,null)).pipe(Th(o=>this._cachedIconsByUrl.set(i,o)),Nn(o=>bb(o)))}getNamedSvgIcon(e,i=""){const r=YI(i,e);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):function pz(n,t){const e=X(n)?n:()=>n,i=r=>r.error(e());return new ye(t?r=>t.schedule(i,0,r):i)}(UI(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Ds(bb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Nn(i=>bb(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?Ds(r):RE(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Sx(c=>{const h=`Loading icon set URL: ${this._sanitizer.sanitize(qn.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(h)),Ds(null)})))).pipe(Nn(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw UI(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(o),c=this._extractSvgIconFromSet(a,e,o.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Th(i=>e.svgText=i),Nn(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Ds(null):this._fetchIcon(e).pipe(Th(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){const o=e.querySelector(`[id="${i}"]`);if(!o)return null;const a=o.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,r);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),r);const c=this._svgElementFromString(Uf(""));return c.appendChild(a),this._setSvgAttributes(c,r)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const r=i.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const i=this._svgElementFromString(Uf("")),r=e.attributes;for(let o=0;oUf(h)),function gz(n){return Ke((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}(()=>this._inProgressUrlFetches.delete(a)),ia());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(YI(e,i),r),this}_addSvgIconSetConfig(e,i){const r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;rt?t.pathname+t.search:""}}}),ZI=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Tz=ZI.map(n=>`[${n}]`).join(", "),Ez=/^url\(['"]?#(.*?)['"]?\)$/;let qs=(()=>{class n extends xz{get inline(){return this._inline}set inline(e){this._inline=Ot(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,a,c){super(e),this._iconRegistry=i,this._location=o,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=re.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=e.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(Tz),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const c=i[o],d=c.getAttribute(a),h=d?d.match(Ez):null;if(h){let p=r.get(c);p||(p=[],r.set(c,p)),p.push({name:a,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Hr(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Wf),Hs("aria-hidden"),D(Dz),D(Qe),D(wz,8))},n.\u0275cmp=I({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(kt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),un("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ht],ngContentSelectors:_z,decls:1,vars:0,template:function(e,i){1&e&&(Di(),tn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),n})(),kz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Gn]}),n})();const qI=ec({passive:!0});let Sz=(()=>{class n{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Zn;const i=Yi(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new Ee,a="cdk-text-field-autofilled",c=d=>{"cdk-text-field-autofill-start"!==d.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===d.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>o.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,qI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",c,qI)}}),o}stopMonitoring(e){const i=Yi(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return n.\u0275fac=function(e){return new(e||n)(ie(Ri),ie(Kt))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Iz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({}),n})();const Az=new De("MAT_INPUT_VALUE_ACCESSOR"),Fz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Oz=0;const Rz=dx(class{constructor(n,t,e,i){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new Ee}});let Ts=(()=>{class n extends Rz{get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Sn.required)??!1}set required(e){this._required=Ot(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Kk().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ot(e)}constructor(e,i,r,o,a,c,d,h,p,y){super(c,o,a,r),this._elementRef=e,this._platform=i,this._autofillMonitor=h,this._formField=y,this._uid="mat-input-"+Oz++,this.focused=!1,this.stateChanges=new Ee,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(N=>Kk().has(N)),this._iOSKeyupListener=N=>{const j=N.target;!j.value&&0===j.selectionStart&&0===j.selectionEnd&&(j.setSelectionRange(1,1),j.setSelectionRange(0,0))};const T=this._elementRef.nativeElement,A=T.nodeName.toLowerCase();this._inputValueAccessor=d||T,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===A,this._isTextarea="textarea"===A,this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=T.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Fz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ri),D(Ja,10),D(yh,8),D(Jr,8),D(ab),D(Az,10),D(Sz),D(Kt),D(zf,8))},n.\u0275dir=C({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&ae("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(js("id",i.id)("disabled",i.disabled)("required",i.required),kt("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),un("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Wt([{provide:ub,useExisting:n}]),ht,wi]}),n})(),Pz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,hb,hb,Iz,Gn]}),n})();const Lz=["mat-menu-item",""];function Nz(n,t){1&n&&(fc(),_(0,"svg",3),Pe(1,"polygon",4),b())}const Bz=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Vz=["mat-icon, [matMenuItemIcon]","*"];function Hz(n,t){if(1&n){const e=Ut();_(0,"div",0),ae("keydown",function(r){return Je(e),ot(Y()._handleKeydown(r))})("click",function(){return Je(e),ot(Y().closed.emit("click"))})("@transformMenu.start",function(r){return Je(e),ot(Y()._onAnimationStart(r))})("@transformMenu.done",function(r){return Je(e),ot(Y()._onAnimationDone(r))}),_(1,"div",1),tn(2),b()()}if(2&n){const e=Y();P("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),kt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const zz=["*"],Ix=new De("MAT_MENU_PANEL"),$z=nd(Vd(class{}));let yb=(()=>{class n extends $z{constructor(e,i,r,o,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new Ee,this._focused=new Ee,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Mo("120ms cubic-bezier(0, 0, 0.2, 1)",ki({opacity:1,transform:"scale(1)"}))),To("* => void",Mo("100ms 25ms linear",ki({opacity:0})))]),fadeInItems:il("fadeInItems",[wa("showing",ki({opacity:1})),To("void => *",[ki({opacity:0}),Mo("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Uz=0;const KI=new De("mat-menu-default-options",{providedIn:"root",factory:function Wz(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Gf=(()=>{class n{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Ot(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Ot(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Yl,this._classList={},this._panelAnimationState="void",this._animationDone=new Ee,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Ye,this.close=this.closed,this.panelId="mat-menu-panel-"+Uz++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new QC(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Br(this._directDescendantItems),Ic(e=>si(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Br(this._directDescendantItems),Ic(i=>si(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:Zs(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Hr(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Br(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Kt),D(KI),D(li))},n.\u0275dir=C({type:n,contentQueries:function(e,i,r){if(1&e&&(zn(r,jz,5),zn(r,yb,5),zn(r,yb,4)),2&e){let o;St(o=It())&&(i.lazyContent=o.first),St(o=It())&&(i._allItems=o),St(o=It())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Hn(pr,5),2&e){let r;St(r=It())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),n})(),Gz=(()=>{class n extends Gf{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Kt),D(KI),D(li))},n.\u0275cmp=I({type:n,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&kt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Wt([{provide:Ix,useExisting:n}]),ht],ngContentSelectors:zz,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(Di(),q(0,Hz,3,6,"ng-template"))},dependencies:[ph],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[vb.transformMenu,vb.fadeInItems]},changeDetection:0}),n})();const XI=new De("mat-menu-scroll-strategy"),Zz={provide:XI,deps:[Ta],useFactory:function Yz(n){return()=>n.scrollStrategies.reposition()}},QI=ec({passive:!0});let qz=(()=>{class n{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,r,o,a,c,d,h,p){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=d,this._focusMonitor=h,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=re.EMPTY,this._hoverSubscription=re.EMPTY,this._menuCloseSubscription=re.EMPTY,this._changeDetectorRef=_i(li),this._handleTouchStart=y=>{tb(y)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ye,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ye,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Gf?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,QI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,QI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Gf&&(e._startAnimation(),e._directDescendantItems.changes.pipe(xn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Gf?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(Ms(r=>"void"===r.toState),Hr(1),xn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Vf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",a="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[a,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[d,h]=[a,c],[p,y]=[r,o],T=0;if(this.triggersSubmenu()){if(y=r="before"===e.xPosition?"start":"end",o=p="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const A=this._parentMaterialMenu.items.first;this._parentInnerPadding=A?A._getHostElement().offsetTop:0}T="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d="top"===a?"bottom":"top",h="top"===c?"bottom":"top");i.withPositions([{originX:r,originY:d,overlayX:p,overlayY:a,offsetY:T},{originX:o,originY:d,overlayX:y,overlayY:a,offsetY:T},{originX:r,originY:h,overlayX:p,overlayY:c,offsetY:-T},{originX:o,originY:h,overlayX:y,overlayY:c,offsetY:-T}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return si(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:Ds(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ms(a=>a!==this._menuItemInstance),Ms(()=>this._menuOpen)):Ds(),i)}_handleMousedown(e){eb(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ms(e=>e===this._menuItemInstance&&!e.disabled),yx(0,NC)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Gf&&this.menu._isAnimating?this.menu._animationDone.pipe(Hr(1),yx(0,NC),xn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new $d(e.templateRef,this._viewContainerRef)),this._portal}}return n.\u0275fac=function(e){return new(e||n)(D(Ta),D(k),D(gr),D(XI),D(Ix,8),D(yb,10),D(Vr,8),D(td),D(Kt))},n.\u0275dir=C({type:n,hostVars:3,hostBindings:function(e,i){1&e&&ae("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&kt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),n})(),Kz=(()=>{class n extends qz{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[ht]}),n})(),Xz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[Zz],imports:[xa,Hd,Gn,Hf,Nd,Gn]}),n})();const Qz=["trigger"],Jz=["panel"];function e$(n,t){if(1&n&&(_(0,"span",10),M(1),b()),2&n){const e=Y();S(1),zt(e.placeholder)}}function t$(n,t){if(1&n&&(_(0,"span",14),M(1),b()),2&n){const e=Y(2);S(1),zt(e.triggerValue)}}function n$(n,t){1&n&&tn(0,0,["*ngSwitchCase","true"])}function i$(n,t){1&n&&(_(0,"span",11),q(1,t$,2,1,"span",12),q(2,n$,1,0,"ng-content",13),b()),2&n&&(P("ngSwitch",!!Y().customTrigger),S(2),P("ngSwitchCase",!0))}function r$(n,t){if(1&n){const e=Ut();fc(),du(),_(0,"div",15,16),ae("@transformPanel.done",function(r){return Je(e),ot(Y()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Je(e),ot(Y()._handleKeydown(r))}),tn(2,1),b()}if(2&n){const e=Y();W1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),P("ngClass",e.panelClass)("@transformPanel","showing"),kt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const o$=[[["mat-select-trigger"]],"*"],s$=["mat-select-trigger","*"],a$={transformPanelWrap:il("transformPanelWrap",[To("* => void",oB("@transformPanel",[rB()],{optional:!0}))]),transformPanel:il("transformPanel",[wa("void",ki({opacity:0,transform:"scale(1, 0.8)"})),To("void => showing",Mo("120ms cubic-bezier(0, 0, 0.2, 1)",ki({opacity:1,transform:"scale(1, 1)"}))),To("* => void",Mo("100ms linear",ki({opacity:0})))])};let JI=0;const eA=new De("mat-select-scroll-strategy"),l$=new De("MAT_SELECT_CONFIG"),d$={provide:eA,deps:[Ta],useFactory:function c$(n){return()=>n.scrollStrategies.reposition()}},u$=new De("MatSelectTrigger");class h${constructor(t,e){this.source=t,this.value=e}}const m$=nd(Pf(Vd(dx(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new Ee}}))));let f$=(()=>{class n extends m${get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Sn.required)??!1}set required(e){this._required=Ot(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=Ot(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Ot(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=kc(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,r,o,a,c,d,h,p,y,T,A,N,j){super(a,o,d,h,y),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=c,this._parentFormField=p,this._liveAnnouncer=N,this._defaultOptions=j,this._panelOpen=!1,this._compareWith=(ee,de)=>ee===de,this._uid="mat-select-"+JI++,this._triggerAriaLabelledBy=null,this._destroy=new Ee,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+JI++,this._panelDoneAnimatingStream=new Ee,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=cI(()=>{const ee=this.options;return ee?ee.changes.pipe(Br(ee),Ic(()=>si(...ee.map(de=>de.onSelectionChange)))):this._ngZone.onStable.pipe(Hr(1),Ic(()=>this.optionSelectionChanges))}),this.openedChange=new Ye,this._openedStream=this.openedChange.pipe(Ms(ee=>ee),Nn(()=>{})),this._closedStream=this.openedChange.pipe(Ms(ee=>!ee),Nn(()=>{})),this.selectionChange=new Ye,this.valueChange=new Ye,this.ngControl&&(this.ngControl.valueAccessor=this),null!=j?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=j.typeaheadDebounceInterval),this._scrollStrategyFactory=A,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(T)||0,this.id=this.id}ngOnInit(){this._selectionModel=new EI(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(YC(),xn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(xn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Br(null),xn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&o&&!Zs(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;a.onKeydown(e);const d=this.selected;d&&c!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(a||13!==r&&32!==r||!i.activeItem||Zs(e))if(!a&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(c?d.select():d.deselect())})}else{const c=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==c&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Hr(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new uS(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=si(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),si(...this.options.map(i=>i._stateChanges)).pipe(xn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(D(sl),D(li),D(Kt),D(ab),D(k),D(Vr,8),D(yh,8),D(Jr,8),D(zf,8),D(Ja,10),Hs("tabindex"),D(eA),D(JC),D(l$,8))},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&(Hn(Qz,5),Hn(Jz,5),Hn(aI,5)),2&e){let r;St(r=It())&&(i.trigger=r.first),St(r=It())&&(i.panel=r.first),St(r=It())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ht,wi]}),n})(),Cb=(()=>{class n extends f${constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(xn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const r=this.panel.nativeElement,o=qS(e,this.options,this.optionGroups),a=i._getHostElement();r.scrollTop=0===e&&1===o?0:KS(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new h$(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof bx?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=Ot(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275cmp=I({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(zn(r,u$,5),zn(r,zd,5),zn(r,mx,5)),2&e){let o;St(o=It())&&(i.customTrigger=o.first),St(o=It())&&(i.options=o),St(o=It())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&ae("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(kt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),un("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Wt([{provide:ub,useExisting:n},{provide:hx,useExisting:n}]),ht],ngContentSelectors:s$,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Di(o$),_(0,"div",0,1),ae("click",function(){return i.toggle()}),_(3,"div",2),q(4,e$,2,1,"span",3),q(5,i$,3,2,"span",4),b(),_(6,"div",5)(7,"div",6),fc(),_(8,"svg",7),Pe(9,"path",8),b()()()(),q(10,r$,3,9,"ng-template",9),ae("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=Jo(1);kt("aria-owns",i.panelOpen?i.id+"-panel":null),S(3),P("ngSwitch",i.empty),kt("id",i._valueId),S(1),P("ngSwitchCase",!0),S(1),P("ngSwitchCase",!1),S(5),P("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[ph,gh,a_,uT,aI,bx],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[a$.transformPanel]},changeDetection:0}),n})(),p$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[d$],imports:[xa,Hf,cb,Gn,Nd,hb,cb,Gn]}),n})();function g$(n,t){if(1&n){const e=Ut();_(0,"div",2)(1,"button",3),ae("click",function(){return Je(e),ot(Y().action())}),M(2),b()()}if(2&n){const e=Y();S(2),bi(" ",e.data.action," ")}}const _$=["label"];function b$(n,t){}const y$=Math.pow(2,31)-1;class xb{constructor(t,e){this._overlayRef=e,this._afterDismissed=new Ee,this._afterOpened=new Ee,this._onAction=new Ee,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,y$))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Ax=new De("MatSnackBarData");class wb{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let v$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),n})(),C$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),n})(),x$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),n})(),w$=(()=>{class n{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return n.\u0275fac=function(e){return new(e||n)(D(xb),D(Ax))},n.\u0275cmp=I({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(_(0,"div",0),M(1),b(),q(2,g$,3,1,"div",1)),2&e&&(S(1),bi(" ",i.data.message,"\n"),S(1),P("ngIf",i.hasAction))},dependencies:[Oi,Zi,v$,C$,x$],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),n})();const D$={snackBarState:il("state",[wa("void, hidden",ki({transform:"scale(0.8)",opacity:0})),wa("visible",ki({transform:"scale(1)",opacity:1})),To("* => visible",Mo("150ms cubic-bezier(0, 0, 0.2, 1)")),To("* => void, * => hidden",Mo("75ms cubic-bezier(0.4, 0.0, 1, 1)",ki({opacity:0})))])};let M$=0,T$=(()=>{class n extends px{constructor(e,i,r,o,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=a,this._document=_i(hn),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Ee,this._onExit=new Ee,this._onEnter=new Ee,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+M$++,this.attachDomPortal=c=>{this._assertNotAttached();const d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Hr(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{const i=e.getAttribute("aria-owns");if(i){const r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return n.\u0275fac=function(e){return new(e||n)(D(Kt),D(k),D(li),D(Ri),D(wb))},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&Hn(Bf,7),2&e){let r;St(r=It())&&(i._portalOutlet=r.first)}},features:[ht]}),n})(),E$=(()=>{class n extends T${_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275cmp=I({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&Hn(_$,7),2&e){let r;St(r=It())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&xv("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&kv("@state",i._animationState)},features:[ht],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(_(0,"div",0)(1,"div",1,2)(3,"div",3),q(4,b$,0,0,"ng-template",4),b(),Pe(5,"div"),b()()),2&e&&(S(5),kt("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Bf],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[D$.snackBarState]}}),n})(),tA=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Hf,gx,xa,TI,Gn,Gn]}),n})();const nA=new De("mat-snack-bar-default-options",{providedIn:"root",factory:function k$(){return new wb}});let S$=(()=>{class n{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,o,a,c){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=a,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=Qo.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:wb,useValue:i}]}),a=new lb(this.snackBarContainerComponent,i.viewContainerRef,o),c=e.attach(a);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){const r={...new wb,...this._defaultConfig,...i},o=this._createOverlay(r),a=this._attachSnackBarContainer(o,r),c=new xb(a,o);if(e instanceof pr){const d=new $d(e,null,{$implicit:r.data,snackBarRef:c});c.instance=a.attachTemplatePortal(d)}else{const d=this._createInjector(r,c),h=new lb(e,void 0,d),p=a.attachComponentPortal(h);c.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(xn(o.detachments())).subscribe(d=>{o.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Vf;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,c=!a&&"center"!==e.horizontalPosition;return a?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return Qo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:xb,useValue:i},{provide:Ax,useValue:e.data}]})}}return n.\u0275fac=function(e){return new(e||n)(ie(Ta),ie(JC),ie(Qo),ie(qC),ie(n,12),ie(nA))},n.\u0275prov=rt({token:n,factory:n.\u0275fac}),n})(),I$=(()=>{class n extends S${constructor(e,i,r,o,a,c){super(e,i,r,o,a,c),this.simpleSnackBarComponent=w$,this.snackBarContainerComponent=E$,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return n.\u0275fac=function(e){return new(e||n)(ie(Ta),ie(JC),ie(Qo),ie(qC),ie(n,12),ie(nA))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:tA}),n})();function A$(n,t){}const F$=function(n){return{animationDuration:n}},O$=function(n,t){return{value:n,params:t}};function R$(n,t){1&n&&tn(0)}const iA=["*"],P$=["tabListContainer"],L$=["tabList"],N$=["tabListInner"],B$=["nextPaginator"],V$=["previousPaginator"],H$=["tabBodyWrapper"],z$=["tabHeader"];function $$(n,t){}function j$(n,t){1&n&&q(0,$$,0,0,"ng-template",14),2&n&&P("cdkPortalOutlet",Y().$implicit.templateLabel)}function U$(n,t){1&n&&M(0),2&n&&zt(Y().$implicit.textLabel)}function W$(n,t){if(1&n){const e=Ut();_(0,"div",6,7),ae("click",function(){const r=Je(e),o=r.$implicit,a=r.index,c=Y(),d=Jo(1);return ot(c._handleClick(o,d,a))})("cdkFocusChange",function(r){const a=Je(e).index;return ot(Y()._tabFocusChanged(r,a))}),Pe(2,"span",8)(3,"div",9),_(4,"span",10)(5,"span",11),q(6,j$,1,1,"ng-template",12),q(7,U$,1,1,"ng-template",null,13,jg),b()()()}if(2&n){const e=t.$implicit,i=t.index,r=Jo(1),o=Jo(8),a=Y();un("mdc-tab--active",a.selectedIndex===i),P("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),kt("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),S(3),P("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),S(3),P("ngIf",e.templateLabel)("ngIfElse",o)}}function G$(n,t){if(1&n){const e=Ut();_(0,"mat-tab-body",15),ae("_onCentered",function(){return Je(e),ot(Y()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Je(e),ot(Y()._setTabBodyWrapperHeight(r))}),b()}if(2&n){const e=t.$implicit,i=t.index,r=Y();un("mat-mdc-tab-body-active",r.selectedIndex===i),P("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),kt("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const Y$={translateTab:il("translateTab",[wa("center, void, left-origin-center, right-origin-center",ki({transform:"none"})),wa("left",ki({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),wa("right",ki({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),To("* => left, * => right, left => center, right => center",Mo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),To("void => left-origin-center",[ki({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Mo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),To("void => right-origin-center",[ki({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Mo("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Z$=(()=>{class n extends Bf{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=re.EMPTY,this._leavingSub=re.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Br(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(D(x),D(gr),D(Jt(()=>rA)),D(hn))},n.\u0275dir=C({type:n,selectors:[["","matTabBodyHost",""]],features:[ht]}),n})(),q$=(()=>{class n{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=re.EMPTY,this._translateTabComplete=new Ee,this._onCentering=new Ye,this._beforeCentering=new Ye,this._afterLeavingCenter=new Ye,this._onCentered=new Ye(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(YC((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Vr,8),D(li))},n.\u0275dir=C({type:n,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),n})(),rA=(()=>{class n extends q${constructor(e,i,r){super(e,i,r)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Vr,8),D(li))},n.\u0275cmp=I({type:n,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Hn(Bf,5),2&e){let r;St(r=It())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[ht],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(_(0,"div",0,1),ae("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),q(2,A$,0,0,"ng-template",2),b()),2&e&&P("@translateTab",VD(3,O$,i._position,function BD(n,t,e,i){return HD(ke(),oo(),n,t,e,i)}(1,F$,i.animationDuration)))},dependencies:[Z$],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Y$.translateTab]}}),n})();const K$=new De("MatTabContent");let X$=(()=>{class n{constructor(e){this.template=e}}return n.\u0275fac=function(e){return new(e||n)(D(pr))},n.\u0275dir=C({type:n,selectors:[["","matTabContent",""]],features:[Wt([{provide:K$,useExisting:n}])]}),n})();const Q$=new De("MatTabLabel"),oA=new De("MAT_TAB");let sA=(()=>{class n extends z8{constructor(e,i,r){super(e,i),this._closestTab=r}}return n.\u0275fac=function(e){return new(e||n)(D(pr),D(gr),D(oA,8))},n.\u0275dir=C({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Wt([{provide:Q$,useExisting:n}]),ht]}),n})();const Fx="mdc-tab-indicator--active",aA="mdc-tab-indicator--no-transition";class J${constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),i=this._currentItem;if(i?.deactivateInkBar(),e){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function ej(n){return class extends n{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=Ot(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(Fx);const i=e.getBoundingClientRect(),r=t.width/i.width,o=t.left-i.left;e.classList.add(aA),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(aA),e.classList.add(Fx),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Fx)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const nj=Vd(class{}),ij=ej((()=>{class n extends nj{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return n.\u0275fac=function(e){return new(e||n)(D(k))},n.\u0275dir=C({type:n,features:[ht]}),n})());let cA=(()=>{class n extends ij{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275dir=C({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(kt("aria-disabled",!!i.disabled),un("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ht]}),n})();const rj=Vd(class{}),lA=new De("MAT_TAB_GROUP");let oj=(()=>{class n extends rj{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ee,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new $d(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return n.\u0275fac=function(e){return new(e||n)(D(gr),D(lA,8))},n.\u0275dir=C({type:n,viewQuery:function(e,i){if(1&e&&Hn(pr,7),2&e){let r;St(r=It())&&(i._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[ht,wi]}),n})(),dA=(()=>{class n extends oj{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ai(n)))(i||n)}}(),n.\u0275cmp=I({type:n,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(zn(r,X$,7,pr),zn(r,sA,5)),2&e){let o;St(o=It())&&(i._explicitContent=o.first),St(o=It())&&(i.templateLabel=o.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Wt([{provide:oA,useExisting:n}]),ht],ngContentSelectors:iA,decls:1,vars:0,template:function(e,i){1&e&&(Di(),q(0,R$,1,0,"ng-template"))},encapsulation:2}),n})();const uA=ec({passive:!0});let cj=(()=>{class n{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ot(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=kc(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,r,o,a,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ee,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ee,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ye,this.indexFocused=new Ye,a.runOutsideAngular(()=>{Sc(e.nativeElement,"mouseleave").pipe(xn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Sc(this._previousPaginator.nativeElement,"touchstart",uA).pipe(xn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Sc(this._nextPaginator.nativeElement,"touchstart",uA).pipe(xn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Ds("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new QC(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Hr(1)).subscribe(r),si(e,i,this._items.changes,this._itemsResized()).pipe(xn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?Zn:this._items.changes.pipe(Br(this._items),Ic(e=>new ye(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),GC(1),Ms(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Zs(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=i.elementRef.nativeElement;let c,d;"ltr"==this._getLayoutDirection()?(c=o,d=c+a):(d=this._tabListInner.nativeElement.offsetWidth-o,c=d-a);const h=this.scrollDistance,p=this.scrollDistance+r;cp&&(this.scrollDistance+=d-p+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),G_(650,100).pipe(xn(si(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(sl),D(Vr,8),D(Kt),D(Ri),D(Lr,8))},n.\u0275dir=C({type:n,inputs:{disablePagination:"disablePagination"}}),n})(),lj=(()=>{class n extends cj{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ot(e)}constructor(e,i,r,o,a,c,d){super(e,i,r,o,a,c,d),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(sl),D(Vr,8),D(Kt),D(Ri),D(Lr,8))},n.\u0275dir=C({type:n,inputs:{disableRipple:"disableRipple"},features:[ht]}),n})(),dj=(()=>{class n extends lj{constructor(e,i,r,o,a,c,d){super(e,i,r,o,a,c,d)}ngAfterContentInit(){this._inkBar=new J$(this._items),super.ngAfterContentInit()}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(sl),D(Vr,8),D(Kt),D(Ri),D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&zn(r,cA,4),2&e){let o;St(o=It())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Hn(P$,7),Hn(L$,7),Hn(N$,7),Hn(B$,5),Hn(V$,5)),2&e){let r;St(r=It())&&(i._tabListContainer=r.first),St(r=It())&&(i._tabList=r.first),St(r=It())&&(i._tabListInner=r.first),St(r=It())&&(i._nextPaginator=r.first),St(r=It())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&un("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ht],ngContentSelectors:iA,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Di(),_(0,"button",0,1),ae("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Pe(2,"div",2),b(),_(3,"div",3,4),ae("keydown",function(o){return i._handleKeydown(o)}),_(5,"div",5,6),ae("cdkObserveContent",function(){return i._onContentChanges()}),_(7,"div",7,8),tn(9),b()()(),_(10,"button",9,10),ae("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Pe(12,"div",2),b()),2&e&&(un("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),P("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),S(3),un("_mat-animation-noopable","NoopAnimations"===i._animationMode),S(7),un("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),P("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[rs,iS],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),n})();const mA=new De("MAT_TABS_CONFIG");let uj=0;const hj=Ih(nd(class{constructor(n){this._elementRef=n}}),"primary");let mj=(()=>{class n extends hj{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Ot(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=kc(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=kc(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=Ot(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=Ot(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Yl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=re.EMPTY,this._tabLabelSubscription=re.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Ye,this.focusChange=new Ye,this.animationDone=new Ye,this.selectedTabChange=new Ye(!0),this._groupId=uj++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Br(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new pj;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=si(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(mA,8),D(Lr,8))},n.\u0275dir=C({type:n,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[ht]}),n})(),fj=(()=>{class n extends mj{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=Ot(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=Ot(e)}constructor(e,i,r,o){super(e,i,r,o),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(li),D(mA,8),D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&zn(r,dA,5),2&e){let o;St(o=It())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Hn(H$,5),Hn(z$,5)),2&e){let r;St(r=It())&&(i._tabBodyWrapper=r.first),St(r=It())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&un("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Wt([{provide:lA,useExisting:n}]),ht],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(_(0,"mat-tab-header",0,1),ae("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),q(2,W$,9,17,"div",2),b(),_(3,"div",3,4),q(5,G$,1,11,"mat-tab-body",5),b()),2&e&&(P("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),S(2),P("ngForOf",i._tabs),S(1),un("_mat-animation-noopable","NoopAnimations"===i._animationMode),S(2),P("ngForOf",i._tabs))},dependencies:[ph,xs,Oi,Bf,rs,r8,rA,cA,dj],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),n})();class pj{}let gj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[xa,Gn,gx,Hd,ZC,_S,Gn]}),n})();const _j=["*",[["mat-toolbar-row"]]],bj=["*","mat-toolbar-row"],yj=Ih(class{constructor(n){this._elementRef=n}});let vj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=C({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),n})(),Cj=(()=>{class n extends yj{constructor(e,i,r){super(e),this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return n.\u0275fac=function(e){return new(e||n)(D(k),D(Ri),D(hn))},n.\u0275cmp=I({type:n,selectors:[["mat-toolbar"]],contentQueries:function(e,i,r){if(1&e&&zn(r,vj,5),2&e){let o;St(o=It())&&(i._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&un("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ht],ngContentSelectors:bj,decls:2,vars:0,template:function(e,i){1&e&&(Di(_j),tn(0),tn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),n})(),xj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({imports:[Gn,Gn]}),n})();const wj=["tooltip"],fA=new De("mat-tooltip-scroll-strategy"),Tj={provide:fA,deps:[Ta],useFactory:function Mj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},kj=new De("mat-tooltip-default-options",{providedIn:"root",factory:function Ej(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),pA="tooltip-panel",gA=ec({passive:!0});let Rj=(()=>{class n{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Ot(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Ot(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=kc(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=kc(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,a,c,d,h,p,y,T,A){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=c,this._ariaDescriber=d,this._focusMonitor=h,this._dir=y,this._defaultOptions=T,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ee,this._scrollStrategy=p,this._document=A,T&&(T.position&&(this.position=T.position),T.positionAtOrigin&&(this.positionAtOrigin=T.positionAtOrigin),T.touchGestures&&(this.touchGestures=T.touchGestures)),y.change.pipe(xn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,gA)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(i);this._detach(),this._portal=this._portal||new lb(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(xn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof k)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(xn(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${pA}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xn(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&27===o.keyCode&&!Zs(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Hr(1),xn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",a!==this._currentPosition){const c=this._overlayRef;if(c){const d=`${this._cssClassPrefix}-${pA}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,gA)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(e){Pm()},n.\u0275dir=C({type:n,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),Es=(()=>{class n extends Rj{constructor(e,i,r,o,a,c,d,h,p,y,T,A){super(e,i,r,o,a,c,d,h,p,y,T,A),this._tooltipComponent=Lj,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return n.\u0275fac=function(e){return new(e||n)(D(Ta),D(k),D(Dh),D(gr),D(Kt),D(Ri),D(U4),D(td),D(fA),D(Vr,8),D(kj,8),D(hn))},n.\u0275dir=C({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[ht]}),n})(),Pj=(()=>{class n{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ee,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(Lr,8))},n.\u0275dir=C({type:n}),n})(),Lj=(()=>{class n extends Pj{constructor(e,i,r){super(e,r),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return n.\u0275fac=function(e){return new(e||n)(D(li),D(k),D(Lr,8))},n.\u0275cmp=I({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Hn(wj,7),2&e){let r;St(r=It())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ae("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&zm("zoom",i.isVisible()?1:null)},features:[ht],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(_(0,"div",0,1),ae("animationend",function(o){return i._handleAnimationEnd(o)}),_(2,"div",2),M(3),b()()),2&e&&(un("mdc-tooltip--multiline",i._isMultiline),P("ngClass",i.tooltipClass),S(3),zt(i.message))},dependencies:[ph],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),n})(),Nj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n}),n.\u0275inj=en({providers:[Tj],imports:[_S,xa,Hf,Gn,Gn,Nd]}),n})();function Yf(n){return(Yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(n)}function nc(n,t,e){return(t=function Vj(n){var t=function Bj(n,t){if("object"!==Yf(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==Yf(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===Yf(t)?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}const _A=new De("ngx-segment-analytics.config"),Hj={debug:!1,loadOnInitialization:!0,segmentHost:"cdn.segment.com",segmentUri:"/analytics.js/v1/$API_KEY$/analytics.min.js",plugins:[]};class Wd{constructor(){nc(this,"analytics",void 0)}}nc(Wd,"\u0275fac",function(t){return new(t||Wd)}),nc(Wd,"\u0275prov",rt({token:Wd,factory:Wd.\u0275fac}));class Gd{constructor(t,e,i){if(nc(this,"_w",void 0),nc(this,"_doc",void 0),nc(this,"_config",void 0),this._w=t,this._doc=e,this._config={...Hj,...i},this._config.loadOnInitialization&&(typeof this._config.apiKey>"u"||""===this._config.apiKey))console.error("The API Key cannot be an empty string if Segment must be loaded on initialization.");else if(typeof this._w.analytics>"u"||typeof this._w.analytics.initialize>"u"||!1===this._w.analytics.initialize){if(typeof this._w.analytics<"u"&&!0===this._w.analytics.invoked)return void console.error("Segment snippet included twice.");!0===this._config.debug&&console.log("Segment initialization..."),this._w.analytics=[],this._w.analytics.invoked=!0,this._w.analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"],this._w.analytics.factory=r=>(...o)=>(o.unshift(r),this._w.analytics.push(o),this._w.analytics),this._w.analytics.methods.forEach(r=>{this._w.analytics[r]=this._w.analytics.factory(r)}),this._w.analytics.load=(r,o)=>{const a=this._doc.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://"+this._config.segmentHost+this._config.segmentUri.replace("$API_KEY$",r);const c=this._doc.getElementsByTagName("script")[0];c.parentNode.insertBefore(a,c),this._w.analytics._loadOptions=o},this._w.analytics._writeKey=this._config.apiKey,this._w.analytics.SNIPPET_VERSION="4.15.3",this._config.loadOnInitialization&&this.load(this._config.apiKey)}}load(t,e){this._w.analytics.load(t,e),!0===this._config.debug&&console.log("Segment initialized"),this.debug(this._config.debug)}identify(t,e,i){return new Promise(r=>{this._w.analytics.identify(t,e,i,o=>r(this))})}track(t,e,i){return new Promise(r=>{this._w.analytics.track(t,e,i,o=>r(this))})}page(t,e,i,r){return new Promise(o=>{this._w.analytics.page(t,e,i,r,a=>o(this))})}group(t,e){return new Promise(i=>{this._w.analytics.group(t,e,r=>i(this))})}alias(t,e,i){return new Promise(r=>{this._w.analytics.alias(t,e,i,o=>r(this))})}ready(){return new Promise(t=>{this._w.analytics.ready(e=>t(this))})}user(){return this._w.analytics.user()}id(){return this._w.analytics.id()}setAnonymousId(t){this._w.analytics.setAnonymousId(t)}traits(){return this._w.analytics.user().traits()}reset(){this._w.analytics.reset()}debug(t){this._w.analytics.debug(t)}on(t,e){this._w.analytics.on(t,e)}trackLink(t,e,i){this._w.analytics.trackLink(t,e,i)}trackForm(t,e,i){this._w.analytics.trackForm(t,e,i)}timeout(t){this._w.analytics.timeout(t)}addSourceMiddleware(t){this._w.analytics.addSourceMiddleware(t)}addDestinationMiddleware(t,e){this._w.analytics.addDestinationMiddleware(t,e)}register(...t){return this._w.analytics.register(...t)}get plugins(){return this._w.analytics.plugins}}nc(Gd,"\u0275fac",function(t){return new(t||Gd)(ie(Wd),ie(hn),ie(_A))}),nc(Gd,"\u0275prov",rt({token:Gd,factory:Gd.\u0275fac,providedIn:"root"}));class ll{static forRoot(t){return{ngModule:ll,providers:[{provide:_A,useValue:t},Gd]}}constructor(t){if(t)throw new Error("SegmentModule is already loaded. Import it in the AppModule only")}}nc(ll,"\u0275fac",function(t){return new(t||ll)(ie(ll,12))}),nc(ll,"\u0275mod",Re({type:ll})),nc(ll,"\u0275inj",en({providers:[{provide:Wd,useFactory:function zj(n){return _T(n)?window:{}},deps:[ef]}],imports:[xa]}));var xr=L(5861);let $j=(()=>{class n{constructor(e,i){this.snackbarRef=e,this.message=i.message,this.noLabel=i.noLabel,this.yesLabel=i.yesLabel}doNo(){this.snackbarRef.dismiss()}doYes(){this.snackbarRef.dismissWithAction()}}return n.\u0275fac=function(e){return new(e||n)(D(xb),D(Ax))},n.\u0275cmp=I({type:n,selectors:[["app-confirm"]],decls:6,vars:3,consts:[["data-cy","confirm-no","mat-raised-button","",3,"click"],["data-cy","confirm-yes","mat-raised-button","",3,"click"]],template:function(e,i){1&e&&(_(0,"p"),M(1),b(),_(2,"button",0),ae("click",function(){return i.doNo()}),M(3),b(),_(4,"button",1),ae("click",function(){return i.doYes()}),M(5),b()),2&e&&(S(1),zt(i.message),S(2),bi("",i.noLabel," "),S(2),zt(i.yesLabel))},dependencies:[Zi]}),n})(),os=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1/devstate"}addContainer(e){return this.http.post(this.base+"/container",{name:e.name,image:e.image,command:e.command,args:e.args,env:e.env,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit,volumeMounts:e.volumeMounts,configureSources:e.configureSources,mountSources:e.mountSources,sourceMapping:e.sourceMapping,annotation:{deployment:e.annotation.deployment,service:e.annotation.service},endpoints:e.endpoints})}saveContainer(e){return this.http.patch(this.base+"/container/"+e.name,{image:e.image,command:e.command,args:e.args,env:e.env,memReq:e.memoryRequest,memLimit:e.memoryLimit,cpuReq:e.cpuRequest,cpuLimit:e.cpuLimit,volumeMounts:e.volumeMounts,configureSources:e.configureSources,mountSources:e.mountSources,sourceMapping:e.sourceMapping,annotation:{deployment:e.annotation.deployment,service:e.annotation.service},endpoints:e.endpoints})}addImage(e){return this.http.post(this.base+"/image",{name:e.name,imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri,autoBuild:e.autoBuild})}saveImage(e){return this.http.patch(this.base+"/image/"+e.name,{imageName:e.imageName,args:e.args,buildContext:e.buildContext,rootRequired:e.rootRequired,uri:e.uri,autoBuild:e.autoBuild})}addResource(e){return this.http.post(this.base+"/resource",{name:e.name,inlined:e.inlined,uri:e.uri,deployByDefault:e.deployByDefault})}saveResource(e){return this.http.patch(this.base+"/resource/"+e.name,{inlined:e.inlined,uri:e.uri,deployByDefault:e.deployByDefault})}addVolume(e){return this.http.post(this.base+"/volume",{name:e.name,ephemeral:e.ephemeral,size:e.size})}saveVolume(e){return this.http.patch(this.base+"/volume/"+e.name,{ephemeral:e.ephemeral,size:e.size})}addExecCommand(e,i){return this.http.post(this.base+"/execCommand",{name:e,component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}updateExecCommand(e,i){return this.http.patch(this.base+"/execCommand/"+e,{component:i.component,commandLine:i.commandLine,workingDir:i.workingDir,hotReloadCapable:i.hotReloadCapable})}addApplyCommand(e,i){return this.http.post(this.base+"/applyCommand",{name:e,component:i.component})}updateApplyCommand(e,i){return this.http.patch(this.base+"/applyCommand/"+e,{component:i.component})}addCompositeCommand(e,i){return this.http.post(this.base+"/compositeCommand",{name:e,parallel:i.parallel,commands:i.commands})}updateCompositeCommand(e,i){return this.http.patch(this.base+"/compositeCommand/"+e,{parallel:i.parallel,commands:i.commands})}getFlowChart(){return this.http.get(this.base+"/chart")}setDevfileContent(e){return this.http.put(this.base+"/devfile",{content:e})}getDevfileContent(){return this.http.get(this.base+"/devfile")}clearDevfileContent(){return this.http.delete(this.base+"/devfile")}setMetadata(e){return this.http.put(this.base+"/metadata",{name:e.name,version:e.version,displayName:e.displayName,description:e.description,tags:e.tags,architectures:e.architectures,icon:e.icon,globalMemoryLimit:e.globalMemoryLimit,projectType:e.projectType,language:e.language,website:e.website,provider:e.provider,supportUrl:e.supportUrl})}moveCommand(e,i,r,o){return this.http.post(this.base+"/command/0/move",{fromGroup:e,fromIndex:r,toGroup:i,toIndex:o})}setDefaultCommand(e,i){return this.http.post(this.base+"/command/"+e+"/setDefault",{group:i})}unsetDefaultCommand(e){return this.http.post(this.base+"/command/"+e+"/unsetDefault",{})}deleteCommand(e){return this.http.delete(this.base+"/command/"+e)}deleteContainer(e){return this.http.delete(this.base+"/container/"+e)}deleteImage(e){return this.http.delete(this.base+"/image/"+e)}deleteResource(e){return this.http.delete(this.base+"/resource/"+e)}deleteVolume(e){return this.http.delete(this.base+"/volume/"+e)}updateEvents(e,i){return this.http.put(this.base+"/events",{eventName:e,commands:i})}isQuantityValid(e){return this.http.post(this.base+"/quantityValid",{quantity:e})}isQuantity(){return e=>{const i=e.value;return""==i?Ds(null):this.isQuantityValid(i).pipe(Nn(()=>null),Sx(()=>Ds({isQuantity:!1})))}}}return n.\u0275fac=function(e){return new(e||n)(ie(Cf))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jj=(()=>{class n{constructor(e){this.http=e,this.base="/api/v1"}getDevfile(){return this.http.get(this.base+"/devfile")}saveDevfile(e){return this.http.put(this.base+"/devfile",{content:e})}telemetry(){return this.http.get(this.base+"/telemetry")}}return n.\u0275fac=function(e){return new(e||n)(ie(Cf))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Wj=function Uj(n){for(var t=[],e=1;e{Ks.l.warn(n),(0,Yd.i)(n)?(e&&e(n.str,n.hash),t.push({...n,message:n.str,error:n})):(e&&e(n),n instanceof Error&&t.push({str:n.message,message:n.message,hash:n.name,error:n}))},bA=function(){var n=(0,xr.Z)(function*(t={querySelector:".mermaid"}){try{yield Yj(t)}catch(e){if((0,Yd.i)(e)&&Ks.l.error(e.str),ic.parseError&&ic.parseError(e),!t.suppressErrors)throw Ks.l.error("Use the suppressErrors option to suppress these errors"),e}});return function(){return n.apply(this,arguments)}}(),Yj=function(){var n=(0,xr.Z)(function*({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const r=Zd.m.getConfig();let o;if(Ks.l.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}Ks.l.debug(`Found ${o.length} diagrams`),void 0!==r?.startOnLoad&&(Ks.l.debug("Start On Load: "+r?.startOnLoad),Zd.m.updateSiteConfig({startOnLoad:r?.startOnLoad}));const a=new Yd.u.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let c;const d=[];for(const h of Array.from(o)){if(Ks.l.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const p=`mermaid-${a.next()}`;c=h.innerHTML,c=Wj(Yd.u.entityDecode(c)).trim().replace(//gi,"
");const y=Yd.u.detectInit(c);y&&Ks.l.debug("Detected early reinit: ",y);try{const{svg:T,bindFunctions:A}=yield xA(p,c,h);h.innerHTML=T,t&&(yield t(p)),A&&A(h)}catch(T){Gj(T,d,ic.parseError)}}if(d.length>0)throw d[0]});return function(){return n.apply(this,arguments)}}(),yA=function(n){Zd.m.initialize(n)},Zj=function(){var n=(0,xr.Z)(function*(t,e,i){Ks.l.warn("mermaid.init is deprecated. Please use run instead."),t&&yA(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(r.nodes=e instanceof HTMLElement?[e]:e),yield bA(r)});return function(e,i,r){return n.apply(this,arguments)}}(),qj=function(){var n=(0,xr.Z)(function*(t,{lazyLoad:e=!0}={}){(0,Yd.r)(...t),!1===e&&(yield(0,Yd.l)())});return function(e){return n.apply(this,arguments)}}(),vA=function(){if(ic.startOnLoad){const{startOnLoad:n}=Zd.m.getConfig();n&&ic.run().catch(t=>Ks.l.error("Mermaid failed to initialize",t))}};typeof document<"u"&&window.addEventListener("load",vA,!1);const Db=[];let Ox=!1;const CA=function(){var n=(0,xr.Z)(function*(){if(!Ox){for(Ox=!0;Db.length>0;){const t=Db.shift();if(t)try{yield t()}catch(e){Ks.l.error("Error executing queue",e)}}Ox=!1}});return function(){return n.apply(this,arguments)}}(),Xj=function(){var n=(0,xr.Z)(function*(t,e){return new Promise((i,r)=>{Db.push(()=>new Promise((a,c)=>{Zd.m.parse(t,e).then(d=>{a(d),i(d)},d=>{var h;Ks.l.error("Error parsing",d),null==(h=ic.parseError)||h.call(ic,d),c(d),r(d)})})),CA().catch(r)})});return function(e,i){return n.apply(this,arguments)}}(),xA=(n,t,e)=>new Promise((i,r)=>{Db.push(()=>new Promise((a,c)=>{Zd.m.render(n,t,e).then(d=>{a(d),i(d)},d=>{var h;Ks.l.error("Error parsing",d),null==(h=ic.parseError)||h.call(ic,d),c(d),r(d)})})),CA().catch(r)}),ic={startOnLoad:!0,mermaidAPI:Zd.m,parse:Xj,render:xA,init:Zj,run:bA,registerExternalDiagrams:qj,initialize:yA,parseError:void 0,contentLoaded:vA,setParseErrorHandler:function(n){ic.parseError=n}};let Qj=(()=>{class n{constructor(){}getMermaidAsSVG(e){return(0,xr.Z)(function*(){const{svg:i}=yield ic.render("rendered",e);return i})()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Xs=(()=>{class n{constructor(){this.savedDevfile="",this._state=new jC(null),this.state=this._state.asObservable(),this._modified=new jC(null),this.modified=this._modified.asObservable()}changeDevfileYaml(e,i=!1){this._state.next(e),i&&(this.savedDevfile=e.content),""==this.savedDevfile&&(this.savedDevfile=e.content),this._modified.next(this.savedDevfile!=e.content)}isUpdated(e){return e!=this.savedDevfile}getDragAndDropEnabled(){return"true"==localStorage.getItem("dragAndDropEnabled")}saveDragAndDropEnabled(e){return localStorage.setItem("dragAndDropEnabled",e?"true":"false")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Jj=(()=>{class n{constructor(){this.base="/api/v1",this.evtSource=new EventSource(this.base+"/notifications")}subscribeTo(e){return new ye(i=>{e.forEach(r=>{this.evtSource.addEventListener(r,o=>{i.next(o)})}),this.evtSource.onerror=r=>{i.error(r)}})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Ea=(()=>{class n{constructor(e){this.segment=e,this.options={context:{ip:"0.0.0.0"}}}init(e,i){this.segment.identify(i,{},this.options),this.segment.load(e),this.segment.setAnonymousId(i)}track(e){this.segment.track(e,{},this.options)}}return n.\u0275fac=function(e){return new(e||n)(ie(Gd))},n.\u0275prov=rt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tU=(()=>{class n{constructor(e,i,r){this.devstate=e,this.state=i,this.telemetry=r,this.form=new is({name:new Ct(""),version:new Ct("",Sn.pattern("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\-[0-9a-z-]+(\\.[0-9a-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$")),displayName:new Ct(""),description:new Ct(""),tags:new Ct(""),architectures:new Ct(""),icon:new Ct(""),globalMemoryLimit:new Ct(""),projectType:new Ct(""),language:new Ct(""),website:new Ct(""),provider:new Ct(""),supportUrl:new Ct("")})}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,xr.Z)(function*(r){const o=r?.metadata;null!=o&&e.form.patchValue(o)});return function(r){return i.apply(this,arguments)}}())}onSave(){this.telemetry.track("[ui] apply metadata"),this.devstate.setMetadata(this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-metadata"]],decls:60,vars:3,consts:[[1,"main"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["data-cy","metadata-name","placeholder","Unique name to identify the devfile","matInput","","formControlName","name"],["placeholder","Version of the devfile, semver-compatible","matInput","","formControlName","version"],["appearance","outline",1,"full-width"],["placeholder","Name to display instead of the unique name","matInput","","formControlName","displayName"],["matInput","","formControlName","description","rows","4"],["placeholder","Tags to help find the devfile in a registry","matInput","","formControlName","tags"],["placeholder","Ex: amd64,arm64,ppc64le,s390x","matInput","","formControlName","architectures"],["placeholder","Can be a URI or a relative path in the project","matInput","","formControlName","icon"],[1,"icon-display","width-10"],["width","56",3,"src"],["appearance","outline",1,"width-40"],["placeholder","Informative limit of memory used by the devfile. Ex: 1Gi","matInput","","formControlName","globalMemoryLimit"],["placeholder","Ex: Framework of the project","matInput","","formControlName","projectType"],["placeholder","Language of the project","matInput","","formControlName","language"],["placeholder","Official website of the devfile","matInput","","formControlName","website"],["placeholder","Information about the provider of the devfile","matInput","","formControlName","provider"],["placeholder","Link to a page providing support information","matInput","","formControlName","supportUrl"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(e,i){1&e&&(_(0,"div",0)(1,"form",1)(2,"mat-form-field",2)(3,"mat-label"),M(4,"Name"),b(),Pe(5,"input",3),b(),_(6,"mat-form-field",2)(7,"mat-label"),M(8,"Version"),b(),_(9,"mat-error"),M(10,"Examples: 1.0.4, 1.4.7-alpha1"),b(),Pe(11,"input",4),b(),_(12,"mat-form-field",5)(13,"mat-label"),M(14,"Display Name"),b(),Pe(15,"input",6),b(),_(16,"mat-form-field",5)(17,"mat-label"),M(18,"Description"),b(),Pe(19,"textarea",7),b(),_(20,"mat-form-field",2)(21,"mat-label"),M(22,"Tags (comma-speparated)"),b(),Pe(23,"input",8),b(),_(24,"mat-form-field",2)(25,"mat-label"),M(26,"Architectures (comma-separated)"),b(),Pe(27,"input",9),b(),_(28,"mat-form-field",2)(29,"mat-label"),M(30,"Icon"),b(),Pe(31,"input",10),b(),_(32,"span",11),Pe(33,"img",12),b(),_(34,"mat-form-field",13)(35,"mat-label"),M(36,"Global Memory Limit"),b(),Pe(37,"input",14),b(),_(38,"mat-form-field",2)(39,"mat-label"),M(40,"Project Type"),b(),Pe(41,"input",15),b(),_(42,"mat-form-field",2)(43,"mat-label"),M(44,"Language"),b(),Pe(45,"input",16),b(),_(46,"mat-form-field",2)(47,"mat-label"),M(48,"Website"),b(),Pe(49,"input",17),b(),_(50,"mat-form-field",2)(51,"mat-label"),M(52,"Provider"),b(),Pe(53,"input",18),b(),_(54,"mat-form-field",5)(55,"mat-label"),M(56,"Support URL"),b(),Pe(57,"input",19),b()(),_(58,"button",20),ae("click",function(){return i.onSave()}),M(59,"Apply"),b()()),2&e&&(S(1),P("formGroup",i.form),S(32),P("src",i.form.controls.icon.value,Wu),S(25),P("disabled",i.form.invalid))},dependencies:[Ec,co,Qr,Gs,Jr,ws,Zi,lo,zr,al,Ts],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}.quart-width[_ngcontent-%COMP%]{width:25%}.icon-display[_ngcontent-%COMP%]{display:inline-flex;position:relative;left:16px;top:22px}.width-10[_ngcontent-%COMP%]{width:10%}.width-40[_ngcontent-%COMP%]{width:40%}"]}),n})();const Mb="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",Tb="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";function nU(n,t){if(1&n&&(_(0,"h3"),M(1),b()),2&n){const e=Y();S(1),zt(e.title)}}function iU(n,t){if(1&n){const e=Ut();_(0,"span")(1,"mat-form-field",5)(2,"mat-label")(3,"span"),M(4),b()(),Pe(5,"input",6),b(),_(6,"button",7),ae("click",function(){const o=Je(e).index;return ot(Y(2).removeText(o))}),_(7,"mat-icon",8),M(8,"delete_forever"),b()()()}if(2&n){const e=t.$implicit,i=t.index,r=Y(2);S(4),zt(r.label),S(1),P("formControl",e),kt("data-cy",r.dataCyPrefix+"-text-"+i),S(1),P("matTooltip",r.deleteLabel),kt("data-cy",r.dataCyPrefix+"-minus-"+i)}}function rU(n,t){if(1&n){const e=Ut();_(0,"mat-card")(1,"mat-card-content"),q(2,iU,9,5,"span",3),b(),_(3,"mat-card-actions")(4,"button",4),ae("click",function(){return Je(e),ot(Y().addText(""))}),M(5),b()()()}if(2&n){const e=Y();S(2),P("ngForOf",e.form.controls),S(2),kt("data-cy","add-text"),S(1),zt(e.addLabel)}}function oU(n,t){if(1&n){const e=Ut();_(0,"button",4),ae("click",function(){return Je(e),ot(Y().addText(""))}),M(1),b()}if(2&n){const e=Y();kt("data-cy","add-text"),S(1),zt(e.addLabel)}}let wA=(()=>{class n{constructor(){this.dataCyPrefix="",this.label="",this.addLabel="",this.deleteLabel="",this.title="",this.onChange=e=>{},this.form=new Ch([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}newText(e){return new Ct(e,[Sn.required])}writeValue(e){e?.forEach(i=>this.addText(i))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}addText(e){this.form.push(this.newText(e))}removeText(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-multi-text"]],inputs:{dataCyPrefix:"dataCyPrefix",label:"label",addLabel:"addLabel",deleteLabel:"deleteLabel",title:"title"},features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:4,vars:3,consts:[[4,"ngIf"],[1,"group"],["mat-flat-button","",3,"click",4,"ngIf"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],["appearance","outline",1,"inline"],["matInput","",3,"formControl"],["mat-icon-button","",1,"adjust-position",3,"matTooltip","click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(q(0,nU,2,1,"h3",0),_(1,"div",1),q(2,rU,6,3,"mat-card",0),q(3,oU,2,2,"button",2),b()),2&e&&(P("ngIf",i.title),S(2),P("ngIf",i.form.controls.length>0),S(1),P("ngIf",0==i.form.controls.length))},dependencies:[xs,Oi,co,Qr,vh,Zi,jf,id,od,rd,lo,zr,qs,Ts,Es],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function sU(n,t){1&n&&(_(0,"h2"),M(1,"Add a new volume"),b())}function aU(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit volume "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.volume.name)}}function cU(n,t){if(1&n){const e=Ut();_(0,"button",11),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function lU(n,t){if(1&n){const e=Ut();_(0,"button",12),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}function dU(n,t){if(1&n){const e=Ut();_(0,"button",13),ae("click",function(){return Je(e),ot(Y().cancel())}),M(1,"Cancel"),b()}}let DA=(()=>{class n{constructor(e,i){this.devstate=e,this.telemetry=i,this.cancelable=!1,this.canceled=new Ye,this.created=new Ye,this.saved=new Ye,this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Tb)]),size:new Ct("",null,[this.devstate.isQuantity()]),ephemeral:new Ct(!1)})}create(){this.telemetry.track("[ui] create volume"),this.created.emit(this.form.value)}save(){this.form.value.name=this.volume?.name,this.telemetry.track("[ui] edit volume"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.volume)return;const i=e.volume.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-volume"]],inputs:{cancelable:"cancelable",volume:"volume"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[wi],decls:25,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the volume","data-cy","volume-name","matInput","","formControlName","name"],["placeholder","Minimal size of the volume","data-cy","volume-size","matInput","","formControlName","size"],["data-cy","volume-ephemeral","formControlName","ephemeral"],["data-cy","volume-create","mat-flat-button","","color","primary","matTooltip","create new volume",3,"disabled","click",4,"ngIf"],["data-cy","volume-save","mat-flat-button","","color","primary","matTooltip","save volume",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","volume-create","mat-flat-button","","color","primary","matTooltip","create new volume",3,"disabled","click"],["data-cy","volume-save","mat-flat-button","","color","primary","matTooltip","save volume",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,sU,2,0,"h2",1),q(2,aU,4,1,"h2",1),_(3,"div",2),M(4,"A volume can be mounted and shared by several containers."),b(),_(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),M(9,"Name"),b()(),_(10,"mat-error"),M(11,"Lowercase words separated by dashes. Ex: my-volume"),b(),Pe(12,"input",5),b(),_(13,"mat-form-field",4)(14,"mat-label")(15,"span"),M(16,"Size"),b()(),_(17,"mat-error"),M(18,"Example of valid quantities: 300k (300*1000), 30Mi(30*1024\xb2), 3Gi (3*1024\xb3), 3G (3*1000\xb3)"),b(),Pe(19,"input",6),b(),_(20,"mat-checkbox",7),M(21,"Volume is Ephemeral"),b()(),q(22,cU,2,1,"button",8),q(23,lU,2,1,"button",9),q(24,dU,2,0,"button",10),b()),2&e&&(S(1),P("ngIf",!i.volume),S(1),P("ngIf",i.volume),S(3),P("formGroup",i.form),S(17),P("ngIf",!i.volume),S(1),P("ngIf",i.volume),S(1),P("ngIf",i.cancelable))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,cl,lo,zr,al,Ts,Es],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function uU(n,t){if(1&n&&(_(0,"mat-option",12),M(1),b()),2&n){const e=t.$implicit;P("value",e),S(1),zt(e)}}function hU(n,t){if(1&n){const e=Ut();_(0,"app-volume",13),ae("created",function(r){Je(e);const o=Y().index;return ot(Y().onNewVolumeCreated(o,r))}),b()}}function mU(n,t){if(1&n){const e=Ut();_(0,"div"),Kr(1,3),_(2,"mat-form-field",4)(3,"mat-label")(4,"span"),M(5,"Volume"),b()(),_(6,"mat-select",5),ae("selectionChange",function(r){const a=Je(e).index;return ot(Y().onNameChange(a,r.value))}),q(7,uU,2,2,"mat-option",6),_(8,"mat-option",7),M(9,"(New Volume)"),b()()(),_(10,"mat-form-field",4)(11,"mat-label")(12,"span"),M(13,"Mount Path"),b()(),Pe(14,"input",8),b(),_(15,"button",9),ae("click",function(){const o=Je(e).index;return ot(Y().remove(o))}),_(16,"mat-icon",10),M(17,"delete_forever"),b()(),q(18,hU,1,0,"app-volume",11),Xr(),b()}if(2&n){const e=t.$implicit,i=t.index,r=Y();S(1),P("formGroup",e),S(5),kt("data-cy","volume-mount-name-"+i),S(1),P("ngForOf",r.volumes),S(7),kt("data-cy","volume-mount-path-"+i),S(1),kt("data-cy","volume-mount-minus-"+i),S(3),P("ngIf",r.showNewVolume[i])}}let fU=(()=>{class n{constructor(){this.volumes=[],this.createNewVolume=new Ye,this.form=new Ch([]),this.showNewVolume=[],this.onChange=e=>{},this.onValidatorChange=()=>{},this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.add(i.name,i.path))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newVolumeMount(e){return new is({name:new Ct(e.name,[Sn.required]),path:new Ct(e.path,[Sn.required])})}add(e,i){this.form.push(this.newVolumeMount({name:e,path:i}))}remove(e){this.form.removeAt(e)}onNameChange(e,i){this.showNewVolume[e]="!"==i}onNewVolumeCreated(e,i){this.volumes.push(i.name),this.form.at(e).get("name")?.setValue(i.name),this.createNewVolume.next(i),this.showNewVolume[e]=!1,this.onValidatorChange()}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-volume-mounts"]],inputs:{volumes:"volumes"},outputs:{createNewVolume:"createNewVolume"},features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:4,vars:1,consts:[[1,"group"],[4,"ngFor","ngForOf"],["data-cy","volume-mount-add","mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"inline"],["formControlName","name",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],["formControlName","path","matInput",""],["mat-icon-button","","matTooltip","Delete Volume Mount",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"],[3,"created",4,"ngIf"],[3,"value"],[3,"created"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,mU,19,6,"div",1),_(2,"button",2),ae("click",function(){return i.add("","")}),M(3,"Add Volume Mount"),b()()),2&e&&(S(1),P("ngForOf",i.form.controls))},dependencies:[xs,Oi,co,Qr,Gs,Jr,ws,zd,Zi,jf,lo,zr,qs,Ts,Cb,Es,DA],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function pU(n,t){if(1&n){const e=Ut();_(0,"div"),Kr(1,3),_(2,"mat-form-field",4)(3,"mat-label")(4,"span"),M(5,"Name"),b()(),Pe(6,"input",5),b(),_(7,"mat-form-field",4)(8,"mat-label")(9,"span"),M(10,"Value"),b()(),Pe(11,"input",6),b(),_(12,"button",7),ae("click",function(){const o=Je(e).index;return ot(Y().removeEntry(o))}),_(13,"mat-icon",8),M(14,"delete_forever"),b()(),Xr(),b()}if(2&n){const e=t.$implicit,i=t.index,r=Y();S(1),P("formGroup",e),S(5),kt("data-cy",r.dataCyPrefix+"-name-"+i),S(5),kt("data-cy",r.dataCyPrefix+"-value-"+i),S(1),P("matTooltip",r.deleteLabel),kt("data-cy",r.dataCyPrefix+"-minus-"+i)}}let gU=(()=>{class n{constructor(){this.dataCyPrefix="",this.addLabel="",this.deleteLabel="",this.form=new Ch([]),this.onChange=e=>{},this.onValidatorChange=()=>{},this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.addEntry(i.name,i.value))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newKeyValueForm(e){return new is({name:new Ct(e.name,[Sn.required]),value:new Ct(e.value,[Sn.required])})}addEntry(e,i){this.form.push(this.newKeyValueForm({name:e,value:i}))}removeEntry(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-multi-key-value"]],inputs:{dataCyPrefix:"dataCyPrefix",addLabel:"addLabel",deleteLabel:"deleteLabel"},features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:4,vars:3,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"kv-width"],["matInput","","formControlName","name"],["matInput","","formControlName","value"],["mat-icon-button","",1,"adjust-position",3,"matTooltip","click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,pU,15,5,"div",1),_(2,"button",2),ae("click",function(){return i.addEntry("","")}),M(3),b()()),2&e&&(S(1),P("ngForOf",i.form.controls),S(1),kt("data-cy",i.dataCyPrefix+"-add"),S(1),zt(i.addLabel))},dependencies:[xs,co,Qr,Gs,Jr,ws,Zi,jf,lo,zr,qs,Ts,Es],styles:["div.group[_ngcontent-%COMP%]{margin-bottom:16px}.kv-width[_ngcontent-%COMP%]{width:45%}button.adjust-position[_ngcontent-%COMP%]{right:6px;top:6px}"]}),n})();function _U(n,t){if(1&n){const e=Ut();_(0,"mat-card")(1,"mat-card-content",3)(2,"mat-form-field",4)(3,"mat-label")(4,"span"),M(5,"Name"),b()(),Pe(6,"input",5),b(),_(7,"mat-form-field",6)(8,"mat-label")(9,"span"),M(10,"Target Port"),b()(),Pe(11,"input",7),b(),_(12,"mat-form-field",6)(13,"mat-label"),M(14,"Exposure"),b(),_(15,"mat-select",8)(16,"mat-option",9),M(17,"(default, public)"),b(),_(18,"mat-option",10),M(19,"public"),b(),_(20,"mat-option",11),M(21,"internal"),b(),_(22,"mat-option",12),M(23,"none"),b()()(),_(24,"mat-form-field",4)(25,"mat-label")(26,"span"),M(27,"Path"),b()(),Pe(28,"input",13),b(),_(29,"mat-form-field",6)(30,"mat-label"),M(31,"Protocol"),b(),_(32,"mat-select",14)(33,"mat-option",9),M(34,"(default, http)"),b(),_(35,"mat-option",15),M(36,"http"),b(),_(37,"mat-option",16),M(38,"https"),b(),_(39,"mat-option",17),M(40,"ws"),b(),_(41,"mat-option",18),M(42,"wss"),b(),_(43,"mat-option",19),M(44,"tcp"),b(),_(45,"mat-option",20),M(46,"udp"),b()()(),_(47,"mat-checkbox",21),M(48,"Protocol Is Secure"),b()(),_(49,"mat-card-actions")(50,"button",22),ae("click",function(){const o=Je(e).index;return ot(Y().removeEndpoint(o))}),_(51,"mat-icon",23),M(52,"delete_forever"),b()()()()}if(2&n){const e=t.$implicit,i=t.index;S(1),P("formGroup",e),S(5),kt("data-cy","endpoint-name-"+i),S(5),kt("data-cy","endpoint-targetPort-"+i),S(4),kt("data-cy","endpoint-exposure-"+i),S(13),kt("data-cy","endpoint-path-"+i),S(4),kt("data-cy","endpoint-protocol-"+i),S(15),kt("data-cy","endpoint-secure-"+i),S(3),kt("data-cy","endpoint-minus-"+i)}}let bU=(()=>{class n{constructor(){this.onChange=e=>{},this.onValidatorChange=()=>{},this.form=new Ch([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}newEndpoint(e){return new is({name:new Ct(e.name,[Sn.required]),targetPort:new Ct(e.targetPort,[Sn.required,Sn.pattern("^[0-9]*$")]),exposure:new Ct(e.exposure),path:new Ct(e.path),protocol:new Ct(e.protocol),secure:new Ct(e.secure)})}addEndpoint(){this.form.push(this.newEndpoint({name:"",targetPort:0}))}removeEndpoint(e){this.form.removeAt(e)}writeValue(e){e.forEach(i=>{this.form.push(this.newEndpoint(i))})}registerOnChange(e){this.onChange=e}registerOnTouched(e){}validate(e){return this.form.valid?null:{internal:!0}}registerOnValidatorChange(e){this.onValidatorChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-endpoints"]],features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:5,vars:1,consts:[[1,"group"],[4,"ngFor","ngForOf"],["data-cy","endpoints-add","mat-flat-button","",3,"click"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["matInput","","formControlName","name"],["appearance","outline",1,"quart-width"],["type","number","matInput","","formControlName","targetPort"],["formControlName","exposure"],["value",""],["value","public"],["value","internal"],["value","none"],["matInput","","formControlName","path"],["formControlName","protocol"],["value","http"],["value","https"],["value","ws"],["value","wss"],["value","tcp"],["value","udp"],["formControlName","secure"],["mat-icon-button","","matTooltip","Delete endpoint",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,_U,53,8,"mat-card",1),_(2,"div")(3,"button",2),ae("click",function(){return i.addEndpoint()}),M(4,"Add an Endpoint"),b()()()),2&e&&(S(1),P("ngForOf",i.form.controls))},dependencies:[xs,co,CC,Qr,Gs,Jr,ws,zd,Zi,jf,id,od,rd,cl,lo,zr,qs,Ts,Cb,Es],styles:[".mid-width[_ngcontent-%COMP%]{width:50%}.quart-width[_ngcontent-%COMP%]{width:25%}mat-card[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{flex-grow:1;overflow:auto}button.adjust-position[_ngcontent-%COMP%]{right:6px}"]}),n})();function yU(n,t){1&n&&(_(0,"h2"),M(1,"Add a new container"),b())}function vU(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit container "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.container.name)}}function CU(n,t){if(1&n){const e=Ut();_(0,"button",19),ae("click",function(){return Je(e),ot(Y().more())}),M(1,"More parameters..."),b()}}function xU(n,t){1&n&&(_(0,"div",28)(1,"div",29)(2,"mat-checkbox",30),M(3,"Mount sources into container"),b(),_(4,"mat-checkbox",31),M(5,"Into specific directory"),b()(),_(6,"mat-form-field",4)(7,"mat-label")(8,"span"),M(9,"Mount sources into"),b()(),Pe(10,"input",32),b()())}function wU(n,t){if(1&n&&(_(0,"div")(1,"h3"),M(2,"Resource Usage"),b(),_(3,"div",2),M(4,"CPU and Memory resources necessary for container's execution"),b(),_(5,"mat-form-field",4)(6,"mat-label")(7,"span"),M(8,"Memory Request"),b()(),_(9,"mat-error"),M(10),b(),Pe(11,"input",20),b(),_(12,"mat-form-field",4)(13,"mat-label")(14,"span"),M(15,"Memory Limit"),b()(),_(16,"mat-error"),M(17),b(),Pe(18,"input",21),b(),_(19,"mat-form-field",4)(20,"mat-label")(21,"span"),M(22,"CPU Request"),b()(),_(23,"mat-error"),M(24),b(),Pe(25,"input",22),b(),_(26,"mat-form-field",4)(27,"mat-label")(28,"span"),M(29,"CPU Limit"),b()(),_(30,"mat-error"),M(31),b(),Pe(32,"input",23),b(),_(33,"h3"),M(34,"Sources"),b(),_(35,"div",2),M(36,"Declare if and how sources are mounted into the container's filesystem. By default, sources are automatically mounted into $PROJECTS_ROOT or /projects directory"),b(),_(37,"div")(38,"mat-checkbox",24),M(39,"Configure Source mount"),b()(),q(40,xU,11,0,"div",25),_(41,"h3"),M(42,"Deployment Annotations"),b(),_(43,"div",2),M(44,"Annotations added to the Kubernetes Deployment created for running this container"),b(),Pe(45,"app-multi-key-value",26),_(46,"h3"),M(47,"Service Annotations"),b(),_(48,"div",2),M(49,"Annotations added to the Kubernetes Service created for accessing this container"),b(),Pe(50,"app-multi-key-value",27),b()),2&n){const e=Y();let i;S(10),zt(e.quantityErrMsgMemory),S(7),zt(e.quantityErrMsgMemory),S(7),zt(e.quantityErrMsgCPU),S(7),zt(e.quantityErrMsgCPU),S(9),P("ngIf",null==(i=e.form.get("configureSources"))?null:i.value)}}function DU(n,t){if(1&n){const e=Ut();_(0,"button",33),ae("click",function(){return Je(e),ot(Y().less())}),M(1,"Less parameters..."),b()}}function MU(n,t){if(1&n){const e=Ut();_(0,"button",34),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function TU(n,t){if(1&n){const e=Ut();_(0,"button",35),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}function EU(n,t){if(1&n){const e=Ut();_(0,"button",36),ae("click",function(){return Je(e),ot(Y().cancel())}),M(1,"Cancel"),b()}}let MA=(()=>{class n{constructor(e,i){this.devstate=e,this.telemetry=i,this.volumeNames=[],this.cancelable=!1,this.canceled=new Ye,this.created=new Ye,this.saved=new Ye,this.quantityErrMsgMemory="Numeric value, with optional unit Ki, Mi, Gi, Ti, Pi, Ei",this.quantityErrMsgCPU="Numeric value, with optional unit m, k, M, G, T, P, E",this.volumesToCreate=[],this.seeMore=!1,this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Tb)]),image:new Ct("",[Sn.required]),command:new Ct([]),args:new Ct([]),env:new Ct([]),volumeMounts:new Ct([]),memoryRequest:new Ct("",null,[this.devstate.isQuantity()]),memoryLimit:new Ct("",null,[this.devstate.isQuantity()]),cpuRequest:new Ct("",null,[this.devstate.isQuantity()]),cpuLimit:new Ct("",null,[this.devstate.isQuantity()]),configureSources:new Ct(!1),mountSources:new Ct(!0),_specificDir:new Ct(!1),sourceMapping:new Ct(""),deployAnnotations:new Ct([]),svcAnnotations:new Ct([]),endpoints:new Ct([])}),this.form.valueChanges.subscribe(r=>{this.updateSourceFields(r)}),this.updateSourceFields(this.form.value)}updateSourceFields(e){const i=e.mountSources&&e._specificDir;!i&&!this.form.get("sourceMapping")?.disabled&&(this.form.get("sourceMapping")?.disable(),this.form.get("sourceMapping")?.setValue(""),this.form.get("_specificDir")?.setValue(!1)),i&&!this.form.get("sourceMapping")?.enabled&&this.form.get("sourceMapping")?.enable();const r=e.mountSources;!r&&!this.form.get("_specificDir")?.disabled&&this.form.get("_specificDir")?.disable(),r&&!this.form.get("_specificDir")?.enabled&&this.form.get("_specificDir")?.enable()}toObject(e){return null==e?{}:e.reduce((i,r)=>(i[r.name]=r.value,i),{})}fromObject(e){return null==e?[]:Object.keys(e).map(i=>({name:i,value:e[i]}))}create(){this.telemetry.track("[ui] create container");const e=this.form.value;e.annotation={deployment:this.toObject(e.deployAnnotations),service:this.toObject(e.svcAnnotations)},this.created.emit({container:this.form.value,volumes:this.volumesToCreate})}save(){this.telemetry.track("[ui] edit container");const e=this.form.value;e.name=this.container?.name,e.annotation={deployment:this.toObject(e.deployAnnotations),service:this.toObject(e.svcAnnotations)},this.saved.emit({container:e,volumes:this.volumesToCreate})}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.container)return;const i=e.container.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable(),""!=this.form.get("sourceMapping")?.value&&this.form.get("_specificDir")?.setValue(!0),this.form.get("deployAnnotations")?.setValue(this.fromObject(i.annotation.deployment)),this.form.get("svcAnnotations")?.setValue(this.fromObject(i.annotation.service)))}onCreateNewVolume(e){this.volumesToCreate.push(e)}more(){this.seeMore=!0}less(){this.seeMore=!1}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-container"]],inputs:{volumeNames:"volumeNames",cancelable:"cancelable",container:"container"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[wi],decls:48,vars:10,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the container","data-cy","container-name","matInput","","formControlName","name"],["placeholder","Image to start the container","data-cy","container-image","matInput","","formControlName","image"],["dataCyPrefix","container-command","formControlName","command","label","Command","addLabel","Add command","deleteLabel","Delete command"],["dataCyPrefix","container-arg","formControlName","args","label","Arg","addLabel","Add arg","deleteLabel","Delete arg"],["dataCyPrefix","container-env","addLabel","Add Environment Variable","deleteLabel","Delete Environment Variable","formControlName","env"],["formControlName","volumeMounts",3,"volumes","createNewVolume"],["formControlName","endpoints"],[1,"outbutton"],["data-cy","container-more-params","mat-flat-button","",3,"click",4,"ngIf"],["data-cy","container-less-params","mat-flat-button","",3,"click",4,"ngIf"],[1,"buttonbar"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click",4,"ngIf"],["data-cy","container-save","mat-flat-button","","color","primary","matTooltip","save container",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","container-more-params","mat-flat-button","",3,"click"],["placeholder","memory requested for the container. Ex: 1Gi","data-cy","container-memory-request","matInput","","formControlName","memoryRequest"],["placeholder","memory limit for the container. Ex: 1Gi","data-cy","container-memory-limit","matInput","","formControlName","memoryLimit"],["placeholder","CPU requested for the container. Ex: 500m","data-cy","container-cpu-request","matInput","","formControlName","cpuRequest"],["placeholder","CPU limit for the container. Ex: 1","data-cy","container-cpu-limit","matInput","","formControlName","cpuLimit"],["data-cy","container-sources-configuration","formControlName","configureSources"],["class","source-configuration-details",4,"ngIf"],["dataCyPrefix","container-deploy-anno","addLabel","Add Annotation","deleteLabel","Delete Deployment Annotation","formControlName","deployAnnotations"],["dataCyPrefix","container-svc-anno","addLabel","Add Annotation","deleteLabel","Delete Service Annotation","formControlName","svcAnnotations"],[1,"source-configuration-details"],[1,"mid-width",2,"display","inline-flex"],["data-cy","container-mount-sources","formControlName","mountSources"],["data-cy","container-sources-specific-directory","matTooltip","${PROJECTS_ROOT} or /projects by default","formControlName","_specificDir"],["placeholder","Container's directory on which to mount sources","data-cy","container-source-mapping","matInput","","formControlName","sourceMapping"],["data-cy","container-less-params","mat-flat-button","",3,"click"],["data-cy","container-create","mat-flat-button","","color","primary","matTooltip","create new container",3,"disabled","click"],["data-cy","container-save","mat-flat-button","","color","primary","matTooltip","save container",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,yU,2,0,"h2",1),q(2,vU,4,1,"h2",1),_(3,"div",2),M(4,"A Container is used to execute shell commands into a specific environment. The entrypoint of the container must be a non-terminating command. You can use an image pulled from a registry or an image built by an Image command."),b(),_(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),M(9,"Name"),b()(),_(10,"mat-error"),M(11,"Lowercase words separated by dashes. Ex: my-container"),b(),Pe(12,"input",5),b(),_(13,"mat-form-field",4)(14,"mat-label")(15,"span"),M(16,"Image"),b()(),Pe(17,"input",6),b(),_(18,"h3"),M(19,"Command and Arguments"),b(),_(20,"div",2),M(21,"Command and Arguments can be used to override the entrypoint of the image"),b(),Pe(22,"app-multi-text",7)(23,"app-multi-text",8),_(24,"h3"),M(25,"Environment Variables"),b(),_(26,"div",2),M(27,"Environment Variables to define in the running container"),b(),Pe(28,"app-multi-key-value",9),_(29,"h3"),M(30,"Volume Mounts"),b(),_(31,"div",2),M(32,"Volumes to mount into the container's filesystem"),b(),_(33,"app-volume-mounts",10),ae("createNewVolume",function(o){return i.onCreateNewVolume(o)}),b(),_(34,"h3"),M(35,"Endpoints"),b(),_(36,"div",2),M(37,"Endpoints exposed by the container"),b(),Pe(38,"app-endpoints",11),_(39,"div",12),q(40,CU,2,0,"button",13),b(),q(41,wU,51,5,"div",1),_(42,"div",12),q(43,DU,2,0,"button",14),b()(),_(44,"div",15),q(45,MU,2,1,"button",16),q(46,TU,2,1,"button",17),q(47,EU,2,0,"button",18),b()()),2&e&&(S(1),P("ngIf",!i.container),S(1),P("ngIf",i.container),S(3),P("formGroup",i.form),S(28),P("volumes",i.volumeNames),S(7),P("ngIf",!i.seeMore),S(1),P("ngIf",i.seeMore),S(2),P("ngIf",i.seeMore),S(2),P("ngIf",!i.container),S(1),P("ngIf",i.container),S(1),P("ngIf",i.cancelable))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,cl,lo,zr,al,Ts,Es,wA,fU,gU,bU],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}.mid-width[_ngcontent-%COMP%]{width:50%}.source-configuration-details[_ngcontent-%COMP%]{margin-left:16px}div.buttonbar[_ngcontent-%COMP%]{margin-top:16px}.outbutton[_ngcontent-%COMP%]{text-align:right}"]}),n})();function kU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Command:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.command.join(" "))}}function SU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Args:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.args.join(" "))}}function IU(n,t){if(1&n&&(_(0,"div"),M(1),b()),2&n){const e=t.$implicit;S(1),jm(" ",e.name,": ",e.value," ")}}function AU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Environment variables:"),b(),_(3,"td"),q(4,IU,2,2,"div",9),b()()),2&n){const e=Y().$implicit;S(4),P("ngForOf",e.env)}}function FU(n,t){if(1&n&&(_(0,"div",11)(1,"mat-chip",12)(2,"mat-icon",13),M(3,"storage"),b(),M(4),b(),_(5,"span",14),M(6," in "),_(7,"code"),M(8),b()()()),2&n){const e=t.$implicit;S(4),bi(" ",e.name," "),S(4),zt(e.path)}}function OU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Volume Mounts:"),b(),_(3,"td"),q(4,FU,9,2,"div",10),b()()),2&n){const e=Y().$implicit;S(4),P("ngForOf",e.volumeMounts)}}function RU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Memory Request:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.memoryRequest)}}function PU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Memory Limit:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.memoryLimit)}}function LU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"CPU Request:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.cpuRequest)}}function NU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"CPU Limit:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.cpuLimit)}}function BU(n,t){if(1&n&&(_(0,"div"),M(1),b()),2&n){const e=t.$implicit;S(1),jm(" ",e.key,": ",e.value," ")}}function VU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Deployment Annotations:"),b(),_(3,"td"),q(4,BU,2,2,"div",9),Km(5,"keyvalue"),b()()),2&n){const e=Y().$implicit;S(4),P("ngForOf",Xm(5,1,e.annotation.deployment))}}function HU(n,t){if(1&n&&(_(0,"div"),M(1),b()),2&n){const e=t.$implicit;S(1),jm(" ",e.key,": ",e.value," ")}}function zU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Service Annotations:"),b(),_(3,"td"),q(4,HU,2,2,"div",9),Km(5,"keyvalue"),b()()),2&n){const e=Y().$implicit;S(4),P("ngForOf",Xm(5,1,e.annotation.service))}}function $U(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Mount Sources:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.mountSources?"Yes":"No")}}function jU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Mount Sources Into:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.sourceMapping)}}function UU(n,t){1&n&&(_(0,"div"),M(1,"secure"),b())}function WU(n,t){if(1&n&&(_(0,"div"),M(1),b()),2&n){const e=Y().$implicit;S(1),bi("path: ",e.path,"")}}function GU(n,t){if(1&n&&(_(0,"mat-card",17)(1,"mat-card-header")(2,"mat-card-title"),M(3),b(),_(4,"mat-card-subtitle"),M(5),b()(),_(6,"mat-card-content")(7,"div"),M(8),b(),_(9,"div"),M(10),b(),q(11,UU,2,0,"div",3),q(12,WU,2,1,"div",3),b()()),2&n){const e=t.$implicit;let i,r;S(3),zt(e.name),S(2),zt(e.targetPort),S(3),bi("exposure: ",null!==(i=e.exposure)&&void 0!==i?i:"public",""),S(2),bi("protocol: ",null!==(r=e.protocol)&&void 0!==r?r:"http",""),S(1),P("ngIf",e.secure),S(1),P("ngIf",e.path)}}function YU(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Endpoints:"),b(),_(3,"td",15),q(4,GU,13,6,"mat-card",16),b()()),2&n){const e=Y().$implicit;S(4),P("ngForOf",e.endpoints)}}function ZU(n,t){if(1&n){const e=Ut();_(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),M(3),b(),_(4,"mat-card-subtitle"),M(5,"Container"),b()(),_(6,"mat-card-content")(7,"table",6)(8,"tr")(9,"td"),M(10,"Image:"),b(),_(11,"td")(12,"code"),M(13),b()()(),q(14,kU,6,1,"tr",3),q(15,SU,6,1,"tr",3),q(16,AU,5,1,"tr",3),q(17,OU,5,1,"tr",3),q(18,RU,6,1,"tr",3),q(19,PU,6,1,"tr",3),q(20,LU,6,1,"tr",3),q(21,NU,6,1,"tr",3),q(22,VU,6,3,"tr",3),q(23,zU,6,3,"tr",3),q(24,$U,6,1,"tr",3),q(25,jU,6,1,"tr",3),q(26,YU,5,1,"tr",3),b()(),_(27,"mat-card-actions")(28,"button",7),ae("click",function(){const o=Je(e).$implicit;return ot(Y().delete(o.name))}),M(29,"Delete"),b(),_(30,"button",8),ae("click",function(){const o=Je(e).$implicit;return ot(Y().edit(o))}),M(31,"Edit"),b()()()}if(2&n){const e=t.$implicit;S(3),zt(e.name),S(10),zt(e.image),S(1),P("ngIf",null!=e.command&&e.command.length>0),S(1),P("ngIf",null!=e.args&&e.args.length>0),S(1),P("ngIf",e.env.length),S(1),P("ngIf",e.volumeMounts.length>0),S(1),P("ngIf",null!=e.memoryRequest&&e.memoryRequest.length>0),S(1),P("ngIf",null!=e.memoryLimit&&e.memoryLimit.length>0),S(1),P("ngIf",null!=e.cpuRequest&&e.cpuRequest.length>0),S(1),P("ngIf",null!=e.cpuLimit&&e.cpuLimit.length>0),S(1),P("ngIf",e.annotation.deployment),S(1),P("ngIf",e.annotation.service),S(1),P("ngIf",e.configureSources),S(1),P("ngIf",e.configureSources&&e.mountSources&&e.sourceMapping),S(1),P("ngIf",e.endpoints.length)}}const qU=function(){return[]};function KU(n,t){if(1&n){const e=Ut();_(0,"app-container",18),ae("canceled",function(){return Je(e),ot(Y().undisplayAddForm())})("created",function(r){return Je(e),ot(Y().onCreated(r))})("saved",function(r){return Je(e),ot(Y().onSaved(r))}),b()}if(2&n){const e=Y();let i;P("volumeNames",null!==(i=e.volumeNames)&&void 0!==i?i:qa(3,qU))("cancelable",e.forceDisplayForm)("container",e.editingContainer)}}function XU(n,t){if(1&n){const e=Ut();Kr(0),_(1,"button",19),ae("click",function(){return Je(e),ot(Y().displayAddForm())}),_(2,"mat-icon",20),M(3,"add"),b()(),Xr()}}let QU=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.containers=[],this.volumeNames=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,xr.Z)(function*(o){e.volumeNames=o?.volumes.map(a=>a.name),i.containers=o?.containers,null!=e.containers&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingContainer=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the container "'+e+'". Continue?')&&this.devstate.deleteContainer(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}createVolumes(e,i,r){e.length!=i?this.devstate.addVolume(e[i]).subscribe({next:a=>{this.createVolumes(e,i+1,r)},error:a=>{alert(a.error.message)}}):r()}edit(e){this.editingContainer=e,this.displayForm()}onCreated(e){const i=e.container;this.createVolumes(e.volumes,0,()=>{this.devstate.addContainer(i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})})}onSaved(e){const i=e.container;this.createVolumes(e.volumes,0,()=>{this.devstate.saveContainer(i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os))},n.\u0275cmp=I({type:n,selectors:[["app-containers"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","container-info",4,"ngFor","ngForOf"],[3,"volumeNames","cancelable","container","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","container-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],["data-cy","container-edit","mat-button","",3,"click"],[4,"ngFor","ngForOf"],["class","volume-mount",4,"ngFor","ngForOf"],[1,"volume-mount"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],[1,"path"],[1,"container-list"],["class","endpoint",4,"ngFor","ngForOf"],[1,"endpoint"],[3,"volumeNames","cancelable","container","canceled","created","saved"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,ZU,32,15,"mat-card",1),q(2,KU,1,4,"app-container",2),b(),q(3,XU,4,0,"ng-container",3)),2&e&&(S(1),P("ngForOf",i.containers),S(1),P("ngIf",i.forceDisplayForm||null==i.containers||0==i.containers.length),S(1),P("ngIf",!i.forceDisplayForm&&null!=i.containers&&i.containers.length>0))},dependencies:[xs,Oi,Zi,$f,id,od,rd,Oh,Fh,Ah,sd,Ex,qs,MA,fT],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.volume-mount[_ngcontent-%COMP%]{margin-top:4px}.volume-mount[_ngcontent-%COMP%] > mat-chip[_ngcontent-%COMP%]{top:-11px}.volume-mount[_ngcontent-%COMP%] > span.path[_ngcontent-%COMP%]{position:relative;top:-14px}table.aligned[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}div.endpoint-list[_ngcontent-%COMP%]{display:float}mat-card.endpoint[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;float:left;margin:0 8px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-header[_ngcontent-%COMP%]{padding:8px 8px 0}mat-card.endpoint[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{font-size:16px;line-height:24px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{font-size:12px;line-height:24px}mat-card.endpoint[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:8px}"]}),n})();function JU(n,t){if(1&n&&(_(0,"mat-option",4),M(1),b()),2&n){const e=t.$implicit;P("value",e),S(1),zt(e)}}let Rx=(()=>{class n{constructor(){this.containers=[],this.label="",this.createNew=new Ye,this.onChange=e=>{},this.onValidatorChange=()=>{},this.formCtrl=new Ct("",[Sn.required,this.validatorIsNotNew()])}validatorIsNotNew(){return e=>"!"==e.value?{internal:!0}:null}writeValue(e){this.formCtrl.setValue(e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){}onSelectChange(e){this.onValidatorChange(),"!"!=e&&this.onChange(e),this.createNew.emit("!"==e)}registerOnValidatorChange(e){this.onValidatorChange=e}validate(e){return this.formCtrl.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-select-container"]],inputs:{containers:"containers",label:"label"},outputs:{createNew:"createNew"},features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:7,vars:4,consts:[["appearance","fill"],["data-cy","select-container",3,"formControl","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["value","!"],[3,"value"]],template:function(e,i){1&e&&(_(0,"mat-form-field",0)(1,"mat-label"),M(2),b(),_(3,"mat-select",1),ae("selectionChange",function(o){return i.onSelectChange(o.value)}),q(4,JU,2,2,"mat-option",2),_(5,"mat-option",3),M(6),b()()()),2&e&&(S(2),zt(i.label),S(1),P("formControl",i.formCtrl),S(1),P("ngForOf",i.containers),S(2),bi("(New ",i.label,")"))},dependencies:[xs,Qr,vh,zd,lo,zr,Cb]}),n})();function e7(n,t){1&n&&(_(0,"h2"),M(1,"Add an Exec Command"),b())}function t7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit exec command "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.command.name)}}const n7=function(){return[]};function i7(n,t){if(1&n){const e=Ut();_(0,"app-container",15),ae("created",function(r){return Je(e),ot(Y().onNewContainerCreated(r))}),b()}if(2&n){let i;P("volumeNames",null!==(i=Y().volumeNames)&&void 0!==i?i:qa(1,n7))}}function r7(n,t){if(1&n){const e=Ut();_(0,"button",16),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function o7(n,t){if(1&n){const e=Ut();_(0,"button",17),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}let s7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ye,this.containerList=[],this.showNewContainer=!1,this.containerToCreate=null,this.volumesToCreate=[],this.volumeNames=[],this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Mb)]),component:new Ct("",[Sn.required]),commandLine:new Ct("",[Sn.required]),workingDir:new Ct("",[Sn.required]),hotReloadCapable:new Ct(!1)}),this.state.state.subscribe(function(){var a=(0,xr.Z)(function*(c){o.volumeNames=c?.volumes.map(h=>h.name);const d=c?.containers;null!=d&&(o.containerList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}createVolumes(e,i,r){e.length!=i?this.devstate.addVolume(e[i]).subscribe({next:a=>{this.createVolumes(e,i+1,r)},error:a=>{alert(a.error.message)}}):r()}create(){this.telemetry.track("[ui] create exec command");const e=()=>{this.devstate.addExecCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};this.createVolumes(this.volumesToCreate,0,()=>{null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()})}cancel(){this.canceled.emit()}onProjectsRoot(){this.form.controls.workingDir.setValue("${PROJECTS_ROOT}")}onCreateNewContainer(e){this.showNewContainer=e}onNewContainerCreated(e){const i=e.container;this.containerList.push(i.name),this.form.controls.component.setValue(i.name),this.showNewContainer=!1,this.containerToCreate=i,this.volumesToCreate.push(...e.volumes)}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.exec),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update exec command");const e=()=>{null!=this.command&&this.devstate.updateExecCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};this.createVolumes(this.volumesToCreate,0,()=>{null!=this.containerToCreate&&this.containerToCreate?.name==this.form.controls.component.value?this.devstate.addContainer(this.containerToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()})}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-command-exec"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[wi],decls:35,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["formControlName","hotReloadCapable"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-exec-name","matInput","","formControlName","name"],["placeholder","command line passed to the shell","data-cy","command-exec-command-line","matInput","","formControlName","commandLine"],["placeholder","Working directory of the command","data-cy","command-exec-working-dir","matInput","","formControlName","workingDir"],["data-cy","command-exec-projects-root","mat-button","",3,"click"],["formControlName","component","label","Container",3,"containers","createNew"],[3,"volumeNames","created",4,"ngIf"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click",4,"ngIf"],["data-cy","command-exec-save","mat-flat-button","","color","primary","matTooltip","save command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"volumeNames","created"],["data-cy","command-exec-create","mat-flat-button","","color","primary","matTooltip","create new Exec Command",3,"disabled","click"],["data-cy","command-exec-save","mat-flat-button","","color","primary","matTooltip","save command",3,"disabled","click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,e7,2,0,"h2",1),q(2,t7,4,1,"h2",1),_(3,"div",2),M(4,"An Exec command is a shell command executed into a container."),b(),_(5,"form",3)(6,"div")(7,"mat-checkbox",4),M(8,"Hot Reload Capable"),b()(),_(9,"mat-form-field",5)(10,"mat-label")(11,"span"),M(12,"Name"),b()(),_(13,"mat-error"),M(14,"Lowercase words separated by dashes. Ex: my-command"),b(),Pe(15,"input",6),b(),_(16,"mat-form-field",5)(17,"mat-label")(18,"span"),M(19,"Command Line"),b()(),Pe(20,"input",7),b(),_(21,"mat-form-field",5)(22,"mat-label")(23,"span"),M(24,"Working Dir"),b()(),Pe(25,"input",8),b(),_(26,"button",9),ae("click",function(){return i.onProjectsRoot()}),M(27,"Work on Project's Root Directory"),b(),_(28,"div")(29,"app-select-container",10),ae("createNew",function(o){return i.onCreateNewContainer(o)}),b()()(),q(30,i7,1,2,"app-container",11),q(31,r7,2,1,"button",12),q(32,o7,2,1,"button",13),_(33,"button",14),ae("click",function(){return i.cancel()}),M(34,"Cancel"),b()()),2&e&&(S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command),S(3),P("formGroup",i.form),S(24),P("containers",i.containerList),S(1),P("ngIf",i.showNewContainer),S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,cl,lo,zr,al,Ts,Es,MA,Rx],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function a7(n,t){1&n&&(_(0,"h2"),M(1,"Add a new resource"),b())}function c7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit resource "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.resource.name)}}function l7(n,t){1&n&&(_(0,"mat-form-field",19)(1,"mat-label")(2,"span"),M(3,"URI"),b()(),Pe(4,"input",20),b())}function d7(n,t){1&n&&(_(0,"mat-form-field",19)(1,"mat-label"),M(2,"YAML Manifest"),b(),Pe(3,"textarea",21),b())}function u7(n,t){if(1&n){const e=Ut();_(0,"button",22),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function h7(n,t){if(1&n){const e=Ut();_(0,"button",23),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}function m7(n,t){if(1&n){const e=Ut();_(0,"button",24),ae("click",function(){return Je(e),ot(Y().cancel())}),M(1,"Cancel"),b()}}let TA=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new Ye,this.created=new Ye,this.saved=new Ye,this.uriOrInlined="uri",this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Tb)]),_choice:new Ct("uri"),uri:new Ct("",[Sn.required]),inlined:new Ct("",[]),deployByDefault:new Ct("undefined")})}changeUriOrInlined(e){this.uriOrInlined=e,"uri"==this.uriOrInlined?(this.form.controls.inlined.removeValidators(Sn.required),this.form.controls.inlined.setValue(""),this.form.controls.uri?.addValidators(Sn.required)):"inlined"==this.uriOrInlined&&(this.form.controls.uri?.removeValidators(Sn.required),this.form.controls.uri.setValue(""),this.form.controls.inlined?.setValidators(Sn.required)),this.form.controls.uri.updateValueAndValidity(),this.form.controls.inlined.updateValueAndValidity()}create(){this.telemetry.track("[ui] create resource"),this.created.emit(this.form.value)}save(){this.form.value.name=this.resource?.name,this.telemetry.track("[ui] edit resource"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.resource)return;const i=e.resource.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),i.inlined?(this.form.get("_choice")?.setValue("inlined"),this.changeUriOrInlined("inlined")):(this.form.get("_choice")?.setValue("uri"),this.changeUriOrInlined("uri")),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-resource"]],inputs:{cancelable:"cancelable",resource:"resource"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[wi],decls:33,vars:8,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],[1,"toggle-group-div"],["formControlName","deployByDefault"],["data-cy","resource-auto-deploy-never","matTooltip","Do not deploy the resource at startup","value","never"],["data-cy","resource-auto-deploy-undefined","matTooltip","Deploy at startup only if the resource is not referenced in any command","value","undefined"],["data-cy","resource-auto-deploy-always","matTooltip","Force deploying the resource at startup","value","always"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the resource","data-cy","resource-name","matInput","","formControlName","name"],[1,"toggleUriInlined"],["formControlName","_choice",3,"change"],["data-cy","resource-toogle-uri","value","uri"],["data-cy","resource-toggle-inlined","value","inlined"],["appearance","outline","class","full-width",4,"ngIf"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click",4,"ngIf"],["data-cy","resource-save","mat-flat-button","","color","primary","matTooltip","save resource",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["appearance","outline",1,"full-width"],["placeholder","Reference to a YAML manifest","data-cy","resource-uri","matInput","","formControlName","uri"],["data-cy","resource-manifest","matInput","","formControlName","inlined","rows","8"],["data-cy","resource-create","mat-flat-button","","color","primary","matTooltip","create new resource",3,"disabled","click"],["data-cy","resource-save","mat-flat-button","","color","primary","matTooltip","save resource",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,a7,2,0,"h2",1),q(2,c7,4,1,"h2",1),_(3,"div",2),M(4,"A Resource defines a Kubernetes resource. Its definition can be given either by a URI pointing to a manifest file or by an inlined YAML manifest."),b(),_(5,"form",3)(6,"div",4),M(7," Deploy at Startup: "),_(8,"mat-button-toggle-group",5)(9,"mat-button-toggle",6),M(10,"Never"),b(),_(11,"mat-button-toggle",7),M(12,"If Orphan"),b(),_(13,"mat-button-toggle",8),M(14,"Always"),b()()(),_(15,"mat-form-field",9)(16,"mat-label")(17,"span"),M(18,"Name"),b()(),_(19,"mat-error"),M(20,"Lowercase words separated by dashes. Ex: my-resource"),b(),Pe(21,"input",10),b(),_(22,"span",11)(23,"mat-button-toggle-group",12),ae("change",function(o){return i.changeUriOrInlined(o.value)}),_(24,"mat-button-toggle",13),M(25,"Specify URI"),b(),_(26,"mat-button-toggle",14),M(27,"Inlined content"),b()()(),q(28,l7,5,0,"mat-form-field",15),q(29,d7,4,0,"mat-form-field",15),b(),q(30,u7,2,1,"button",16),q(31,h7,2,1,"button",17),q(32,m7,2,0,"button",18),b()),2&e&&(S(1),P("ngIf",!i.resource),S(1),P("ngIf",i.resource),S(3),P("formGroup",i.form),S(23),P("ngIf","uri"==i.uriOrInlined),S(1),P("ngIf","inlined"==i.uriOrInlined),S(1),P("ngIf",!i.resource),S(1),P("ngIf",i.resource),S(1),P("ngIf",i.cancelable))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,Cx,xx,lo,zr,al,Ts,Es],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}span.toggleUriInlined[_ngcontent-%COMP%]{margin-left:16px}"]}),n})();function f7(n,t){1&n&&(_(0,"h2"),M(1,"Add an Apply Command"),b())}function p7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit apply command "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.command.name)}}function g7(n,t){if(1&n){const e=Ut();_(0,"app-resource",11),ae("created",function(r){return Je(e),ot(Y().onNewResourceCreated(r))}),b()}}function _7(n,t){if(1&n){const e=Ut();_(0,"button",12),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function b7(n,t){if(1&n){const e=Ut();_(0,"button",13),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}let y7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ye,this.resourceList=[],this.showNewResource=!1,this.resourceToCreate=null,this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Mb)]),component:new Ct("",[Sn.required])}),this.state.state.subscribe(function(){var a=(0,xr.Z)(function*(c){const d=c?.resources;null!=d&&(o.resourceList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create apply command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewContainer(e){this.showNewResource=e}onNewResourceCreated(e){this.resourceList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewResource=!1,this.resourceToCreate=e}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.apply),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update apply command");const e=()=>{null!=this.command&&this.devstate.updateApplyCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.resourceToCreate&&this.resourceToCreate?.name==this.form.controls.component.value?this.devstate.addResource(this.resourceToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-command-apply"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[wi],decls:22,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-apply-name","matInput","","formControlName","name"],["formControlName","component","label","Resource",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click",4,"ngIf"],["data-cy","command-apply-save","mat-flat-button","","color","primary","matTooltip","save Apply Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"created"],["data-cy","command-apply-create","mat-flat-button","","color","primary","matTooltip","create new Apply Command",3,"disabled","click"],["data-cy","command-apply-save","mat-flat-button","","color","primary","matTooltip","save Apply Command",3,"disabled","click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,f7,2,0,"h2",1),q(2,p7,4,1,"h2",1),_(3,"div",2),M(4,'An Apply command "applies" a resource to the cluster. Equivalent to '),_(5,"code"),M(6,"kubectl apply -f ..."),b()(),_(7,"form",3)(8,"mat-form-field",4)(9,"mat-label")(10,"span"),M(11,"Name"),b()(),_(12,"mat-error"),M(13,"Lowercase words separated by dashes. Ex: my-command"),b(),Pe(14,"input",5),b(),_(15,"div")(16,"app-select-container",6),ae("createNew",function(o){return i.onCreateNewContainer(o)}),b()()(),q(17,g7,1,0,"app-resource",7),q(18,_7,2,1,"button",8),q(19,b7,2,1,"button",9),_(20,"button",10),ae("click",function(){return i.cancel()}),M(21,"Cancel"),b()()),2&e&&(S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command),S(5),P("formGroup",i.form),S(9),P("containers",i.resourceList),S(1),P("ngIf",i.showNewResource),S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,lo,zr,al,Ts,Es,Rx,TA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function v7(n,t){if(1&n&&(_(0,"mat-option",8),M(1),b()),2&n){const e=t.$implicit;P("value",e),S(1),zt(e)}}function C7(n,t){if(1&n){const e=Ut();_(0,"span")(1,"mat-form-field",3)(2,"mat-label")(3,"span"),M(4,"Command"),b()(),_(5,"mat-select",4),q(6,v7,2,2,"mat-option",5),b()(),_(7,"button",6),ae("click",function(){const o=Je(e).index;return ot(Y().removeCommand(o))}),_(8,"mat-icon",7),M(9,"delete_forever"),b()()()}if(2&n){const e=t.$implicit,i=t.index,r=Y();S(5),P("formControl",e),kt("data-cy","command-selector-"+i),S(1),P("ngForOf",r.commandList),S(1),kt("data-cy","command-minus-"+i)}}let x7=(()=>{class n{constructor(){this.addLabel="",this.commandList=[],this.title="",this.onChange=e=>{},this.form=new Ch([]),this.form.valueChanges.subscribe(e=>{this.onChange(e)})}writeValue(e){e.forEach(i=>this.addCommand(i))}registerOnChange(e){this.onChange=e}registerOnTouched(e){}newCommand(e){return new Ct(e,[Sn.required])}addCommand(e){this.form.push(this.newCommand(e))}removeCommand(e){this.form.removeAt(e)}validate(e){return this.form.valid?null:{internal:!0}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=I({type:n,selectors:[["app-multi-command"]],inputs:{addLabel:"addLabel",commandList:"commandList",title:"title"},features:[Wt([{provide:yr,multi:!0,useExisting:n},{provide:$i,useExisting:Jt(()=>n),multi:!0}])],decls:7,vars:4,consts:[[1,"group"],[4,"ngFor","ngForOf"],["mat-flat-button","",3,"click"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],["mat-icon-button","","matTooltip","Delete command",1,"adjust-position",3,"click"],[1,"tab-icon","material-icons-outlined"],[3,"value"]],template:function(e,i){1&e&&(_(0,"h3"),M(1),b(),_(2,"div",0),q(3,C7,10,4,"span",1),_(4,"div")(5,"button",2),ae("click",function(){return i.addCommand("")}),M(6),b()()()),2&e&&(S(1),zt(i.title),S(2),P("ngForOf",i.form.controls),S(2),kt("data-cy","add-command"),S(1),zt(i.addLabel))},dependencies:[xs,Qr,vh,zd,Zi,jf,lo,zr,qs,Cb,Es],styles:["h3[_ngcontent-%COMP%]{margin-bottom:0}div.group[_ngcontent-%COMP%]{margin-bottom:16px}button.adjust-position[_ngcontent-%COMP%]{right:6px}"]}),n})();function w7(n,t){1&n&&(_(0,"h2"),M(1,"Add a Composite Command"),b())}function D7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit composite command "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.command.name)}}function M7(n,t){if(1&n){const e=Ut();_(0,"button",11),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function T7(n,t){if(1&n){const e=Ut();_(0,"button",12),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}let E7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ye,this.commandList=[],this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Mb)]),parallel:new Ct(!1),commands:new Ct([])}),this.state.state.subscribe(function(){var a=(0,xr.Z)(function*(c){const d=c?.commands;null!=d&&(o.commandList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create composite command"),this.devstate.addCompositeCommand(this.form.value.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}cancel(){this.canceled.emit()}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.composite),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update composite command"),null!=this.command&&this.devstate.updateCompositeCommand(this.command.name,this.form.value).subscribe({next:i=>{this.state.changeDevfileYaml(i)},error:i=>{alert(i.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-command-composite"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[wi],decls:21,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-composite-name","matInput","","formControlName","name"],["formControlName","parallel"],["formControlName","commands","title","Commands","addLabel","Add a command",3,"commandList"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click",4,"ngIf"],["data-cy","command-composite-save","mat-flat-button","","color","primary","matTooltip","save Composite Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],["data-cy","command-composite-create","mat-flat-button","","color","primary","matTooltip","create new Composite Command",3,"disabled","click"],["data-cy","command-composite-save","mat-flat-button","","color","primary","matTooltip","save Composite Command",3,"disabled","click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,w7,2,0,"h2",1),q(2,D7,4,1,"h2",1),_(3,"div",2),M(4,"A Composite command executes several commands, either serially or in parallel."),b(),_(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),M(9,"Name"),b()(),_(10,"mat-error"),M(11,"Lowercase words separated by dashes. Ex: my-command"),b(),Pe(12,"input",5),b(),_(13,"div")(14,"mat-checkbox",6),M(15,"Run commands in parallel"),b()(),Pe(16,"app-multi-command",7),b(),q(17,M7,2,1,"button",8),q(18,T7,2,1,"button",9),_(19,"button",10),ae("click",function(){return i.cancel()}),M(20,"Cancel"),b()()),2&e&&(S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command),S(3),P("formGroup",i.form),S(11),P("commandList",i.commandList),S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,cl,lo,zr,al,Ts,Es,x7],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function k7(n,t){1&n&&(_(0,"h2"),M(1,"Add a new image"),b())}function S7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit image "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.image.name)}}function I7(n,t){if(1&n){const e=Ut();_(0,"button",19),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function A7(n,t){if(1&n){const e=Ut();_(0,"button",20),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}function F7(n,t){if(1&n){const e=Ut();_(0,"button",21),ae("click",function(){return Je(e),ot(Y().cancel())}),M(1,"Cancel"),b()}}let EA=(()=>{class n{constructor(e){this.telemetry=e,this.cancelable=!1,this.canceled=new Ye,this.created=new Ye,this.saved=new Ye,this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Tb)]),imageName:new Ct("",[Sn.required]),args:new Ct([]),buildContext:new Ct(""),rootRequired:new Ct(!1),uri:new Ct("",[Sn.required]),autoBuild:new Ct("undefined")})}create(){this.telemetry.track("[ui] create image"),this.created.emit(this.form.value)}save(){this.form.value.name=this.image?.name,this.telemetry.track("[ui] edit volume"),this.saved.emit(this.form.value)}cancel(){this.canceled.emit()}ngOnChanges(e){if(console.log("changes",e),!e.image)return;const i=e.image.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.get("name")?.disable())}}return n.\u0275fac=function(e){return new(e||n)(D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-image"]],inputs:{cancelable:"cancelable",image:"image"},outputs:{canceled:"canceled",created:"created",saved:"saved"},features:[wi],decls:43,vars:6,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],[1,"toggle-group-div"],["formControlName","autoBuild"],["data-cy","image-auto-build-never","matTooltip","Do not build the image at startup","value","never"],["data-cy","image-auto-build-undefined","matTooltip","Build at startup only if the image is not referenced in any command","value","undefined"],["data-cy","image-auto-build-always","matTooltip","Force building the image at startup","value","always"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the image","data-cy","image-name","matInput","","formControlName","name"],["placeholder","Reference to a container image","data-cy","image-image-name","matInput","","formControlName","imageName"],["dataCyPrefix","image-arg","formControlName","args","title","Build Args","label","Arg","addLabel","Add Build Arg","deleteLabel","Delete Build Args"],["placeholder","Directory from which the build will be executed","data-cy","image-build-context","matInput","","formControlName","buildContext"],["placeholder","Dockerfile used to build the image","data-cy","image-dockerfile-uri","matInput","","formControlName","uri"],["formControlName","rootRequired"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click",4,"ngIf"],["data-cy","image-save","mat-flat-button","","color","primary","matTooltip","save image",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click",4,"ngIf"],["data-cy","image-create","mat-flat-button","","color","primary","matTooltip","create new image",3,"disabled","click"],["data-cy","image-save","mat-flat-button","","color","primary","matTooltip","save image",3,"disabled","click"],["mat-flat-button","",3,"click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,k7,2,0,"h2",1),q(2,S7,4,1,"h2",1),_(3,"div",2),M(4,"An Image defines how to build a container image."),b(),_(5,"form",3)(6,"div",4),M(7," Build at Startup: "),_(8,"mat-button-toggle-group",5)(9,"mat-button-toggle",6),M(10,"Never"),b(),_(11,"mat-button-toggle",7),M(12,"If Orphan"),b(),_(13,"mat-button-toggle",8),M(14,"Always"),b()()(),_(15,"mat-form-field",9)(16,"mat-label")(17,"span"),M(18,"Name"),b()(),_(19,"mat-error"),M(20,"Lowercase words separated by dashes. Ex: my-image"),b(),Pe(21,"input",10),b(),_(22,"mat-form-field",9)(23,"mat-label")(24,"span"),M(25,"Image Name"),b()(),Pe(26,"input",11),b(),Pe(27,"app-multi-text",12),_(28,"mat-form-field",9)(29,"mat-label")(30,"span"),M(31,"Build Context"),b()(),Pe(32,"input",13),b(),_(33,"mat-form-field",9)(34,"mat-label")(35,"span"),M(36,"Dockerfile URI"),b()(),Pe(37,"input",14),b(),_(38,"mat-checkbox",15),M(39,"Root Required"),b()(),q(40,I7,2,1,"button",16),q(41,A7,2,1,"button",17),q(42,F7,2,0,"button",18),b()),2&e&&(S(1),P("ngIf",!i.image),S(1),P("ngIf",i.image),S(3),P("formGroup",i.form),S(35),P("ngIf",!i.image),S(1),P("ngIf",i.image),S(1),P("ngIf",i.cancelable))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,Cx,xx,cl,lo,zr,al,Ts,Es,wA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}div.toggle-group-div[_ngcontent-%COMP%]{margin:16px 0}"]}),n})();function O7(n,t){1&n&&(_(0,"h2"),M(1,"Add an Image Command"),b())}function R7(n,t){if(1&n&&(_(0,"h2"),M(1,"Edit image command "),_(2,"i"),M(3),b()()),2&n){const e=Y();S(3),zt(e.command.name)}}function P7(n,t){if(1&n){const e=Ut();_(0,"app-image",11),ae("created",function(r){return Je(e),ot(Y().onNewImageCreated(r))}),b()}}function L7(n,t){if(1&n){const e=Ut();_(0,"button",12),ae("click",function(){return Je(e),ot(Y().create())}),M(1,"Create"),b()}2&n&&P("disabled",Y().form.invalid)}function N7(n,t){if(1&n){const e=Ut();_(0,"button",13),ae("click",function(){return Je(e),ot(Y().save())}),M(1,"Save"),b()}2&n&&P("disabled",Y().form.invalid)}let B7=(()=>{class n{constructor(e,i,r){var o=this;this.devstate=e,this.state=i,this.telemetry=r,this.canceled=new Ye,this.imageList=[],this.showNewImage=!1,this.imageToCreate=null,this.form=new is({name:new Ct("",[Sn.required,Sn.pattern(Mb)]),component:new Ct("",[Sn.required])}),this.state.state.subscribe(function(){var a=(0,xr.Z)(function*(c){const d=c?.images;null!=d&&(o.imageList=d.map(h=>h.name))});return function(c){return a.apply(this,arguments)}}())}create(){this.telemetry.track("[ui] create image command");const e=()=>{this.devstate.addApplyCommand(this.form.value.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:()=>{e()},error:r=>{alert(r.error.message)}}):e()}cancel(){this.canceled.emit()}onCreateNewImage(e){this.showNewImage=e}onNewImageCreated(e){this.imageList.push(e.name),this.form.controls.component.setValue(e.name),this.showNewImage=!1,this.imageToCreate=e}ngOnChanges(e){if(!e.command)return;const i=e.command.currentValue;null==i?this.form.get("name")?.enable():(this.form.reset(),this.form.patchValue(i),this.form.patchValue(i.image),this.form.get("name")?.disable())}save(){this.telemetry.track("[ui] update image command");const e=()=>{null!=this.command&&this.devstate.updateApplyCommand(this.command.name,this.form.value).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})};null!=this.imageToCreate&&this.imageToCreate?.name==this.form.controls.component.value?this.devstate.addImage(this.imageToCreate).subscribe({next:r=>{this.state.changeDevfileYaml(r),e()},error:r=>{alert(r.error.message)}}):e()}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-command-image"]],inputs:{command:"command"},outputs:{canceled:"canceled"},features:[wi],decls:20,vars:7,consts:[[1,"main"],[4,"ngIf"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"mid-width"],["placeholder","unique name to identify the command","data-cy","command-image-name","matInput","","formControlName","name"],["formControlName","component","label","Image",3,"containers","createNew"],[3,"created",4,"ngIf"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click",4,"ngIf"],["data-cy","command-image-save","mat-flat-button","","color","primary","matTooltip","save Image Command",3,"disabled","click",4,"ngIf"],["mat-flat-button","",3,"click"],[3,"created"],["data-cy","command-image-create","mat-flat-button","","color","primary","matTooltip","create new Image Command",3,"disabled","click"],["data-cy","command-image-save","mat-flat-button","","color","primary","matTooltip","save Image Command",3,"disabled","click"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,O7,2,0,"h2",1),q(2,R7,4,1,"h2",1),_(3,"div",2),M(4,"An Image command builds a container image and pushes it to a container registry."),b(),_(5,"form",3)(6,"mat-form-field",4)(7,"mat-label")(8,"span"),M(9,"Name"),b()(),_(10,"mat-error"),M(11,"Lowercase words separated by dashes. Ex: my-command"),b(),Pe(12,"input",5),b(),_(13,"div")(14,"app-select-container",6),ae("createNew",function(o){return i.onCreateNewImage(o)}),b()()(),q(15,P7,1,0,"app-image",7),q(16,L7,2,1,"button",8),q(17,N7,2,1,"button",9),_(18,"button",10),ae("click",function(){return i.cancel()}),M(19,"Cancel"),b()()),2&e&&(S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command),S(3),P("formGroup",i.form),S(9),P("containers",i.imageList),S(1),P("ngIf",i.showNewImage),S(1),P("ngIf",!i.command),S(1),P("ngIf",i.command))},dependencies:[Oi,Ec,co,Qr,Gs,Jr,ws,Zi,lo,zr,al,Ts,Es,Rx,EA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}mat-form-field.mid-width[_ngcontent-%COMP%]{width:50%}"]}),n})();function V7(n,t){if(1&n&&(_(0,"div",2),M(1),b()),2&n){const e=Y();S(1),bi("No ",e.kind," commands yet. You can create a command then drag&drop it here")}}function H7(n,t){1&n&&(_(0,"div",2),M(1,"No generic commands yet. New commands will appear here"),b())}function z7(n,t){if(1&n){const e=Ut();_(0,"mat-checkbox",11),ae("change",function(r){Je(e);const o=Y(2).$implicit;return ot(Y().toggleDefault(r,o.name,o.group))}),M(1),b()}if(2&n){const e=Y(2).$implicit,i=Y();P("checked",e.default),S(1),bi("Default ",i.kind," command")}}function $7(n,t){1&n&&(_(0,"mat-card-subtitle"),M(1,"Exec Command"),b())}function j7(n,t){1&n&&(_(0,"mat-card-subtitle"),M(1,"Apply Command"),b())}function U7(n,t){1&n&&(_(0,"mat-card-subtitle"),M(1,"Image Command"),b())}function W7(n,t){1&n&&(_(0,"mat-card-subtitle"),M(1,"Composite Command"),b())}function G7(n,t){1&n&&(_(0,"span"),M(1,"Yes"),b())}function Y7(n,t){1&n&&(_(0,"span"),M(1,"No"),b())}function Z7(n,t){if(1&n&&(Kr(0),_(1,"table",12)(2,"tr")(3,"td"),M(4,"Is Hot Reload Capable:"),b(),_(5,"td"),q(6,G7,2,0,"span",8),q(7,Y7,2,0,"span",8),b()(),_(8,"tr")(9,"td"),M(10,"Command Line:"),b(),_(11,"td")(12,"code"),M(13),b()()(),_(14,"tr")(15,"td"),M(16,"Working Directory:"),b(),_(17,"td")(18,"code"),M(19),b()()(),_(20,"tr")(21,"td"),M(22,"Container:"),b(),_(23,"td")(24,"mat-chip",13)(25,"mat-icon",14),M(26,"width_normal"),b(),M(27),b()()()(),Xr()),2&n){const e=Y(2).$implicit;S(6),P("ngIf",null==e.exec?null:e.exec.hotReloadCapable),S(1),P("ngIf",!(null!=e.exec&&e.exec.hotReloadCapable)),S(6),zt(null==e.exec?null:e.exec.commandLine),S(6),zt(null==e.exec?null:e.exec.workingDir),S(8),bi(" ",null==e.exec?null:e.exec.component," ")}}function q7(n,t){if(1&n&&(Kr(0),_(1,"table",12)(2,"tr")(3,"td"),M(4,"Cluster resource:"),b(),_(5,"td")(6,"mat-chip",13)(7,"mat-icon",14),M(8,"description"),b(),M(9),b()()()(),Xr()),2&n){const e=Y(2).$implicit;S(9),bi(" ",null==e.apply?null:e.apply.component," ")}}function K7(n,t){if(1&n&&(Kr(0),_(1,"table",12)(2,"tr")(3,"td"),M(4,"Image:"),b(),_(5,"td")(6,"mat-chip",13)(7,"mat-icon",14),M(8,"image"),b(),M(9),b()()()(),Xr()),2&n){const e=Y(2).$implicit;S(9),bi(" ",null==e.image?null:e.image.component," ")}}function X7(n,t){1&n&&(_(0,"div"),M(1,"Commands executed in parallel"),b())}function Q7(n,t){1&n&&(_(0,"div"),M(1,"Commands executed serially"),b())}function J7(n,t){if(1&n&&(_(0,"mat-chip",13)(1,"mat-icon",14),M(2,"code"),b(),M(3),b()),2&n){const e=t.$implicit;S(3),bi(" ",e," ")}}function e9(n,t){if(1&n&&(Kr(0),_(1,"table",12)(2,"tr")(3,"td"),M(4,"Scheduling:"),b(),_(5,"td"),q(6,X7,2,0,"div",8),q(7,Q7,2,0,"div",8),b()(),_(8,"tr")(9,"td"),M(10,"Commands:"),b(),_(11,"td")(12,"mat-chip-set"),q(13,J7,4,1,"mat-chip",15),b()()()(),Xr()),2&n){const e=Y(2).$implicit;S(6),P("ngIf",null==e.composite?null:e.composite.parallel),S(1),P("ngIf",!(null!=e.composite&&e.composite.parallel)),S(5),un("mat-mdc-chip-set-stacked",null==e.composite?null:e.composite.parallel),S(1),P("ngForOf",null==e.composite?null:e.composite.commands)}}function t9(n,t){if(1&n){const e=Ut();_(0,"mat-card",4)(1,"mat-card-header",5)(2,"div",6)(3,"mat-card-title"),M(4),b(),q(5,z7,2,2,"mat-checkbox",7),b(),_(6,"div"),q(7,$7,2,0,"mat-card-subtitle",8),q(8,j7,2,0,"mat-card-subtitle",8),q(9,U7,2,0,"mat-card-subtitle",8),q(10,W7,2,0,"mat-card-subtitle",8),b()(),_(11,"mat-card-content"),q(12,Z7,28,5,"ng-container",8),q(13,q7,10,1,"ng-container",8),q(14,K7,10,1,"ng-container",8),q(15,e9,14,5,"ng-container",8),b(),_(16,"mat-card-actions")(17,"button",9),ae("click",function(){Je(e);const r=Y().$implicit;return ot(Y().delete(r.name))}),M(18,"Delete"),b(),_(19,"button",10),ae("click",function(){Je(e);const r=Y().$implicit;return ot(Y().edit(r))}),M(20,"Edit"),b()()()}if(2&n){const e=Y().$implicit;P("cdkDragDisabled",Y().dragDisabled),S(4),bi(" ",e.name," "),S(1),P("ngIf",""!=e.group),S(2),P("ngIf","exec"==e.type),S(1),P("ngIf","apply"==e.type),S(1),P("ngIf","image"==e.type),S(1),P("ngIf","composite"==e.type),S(2),P("ngIf","exec"==e.type),S(1),P("ngIf","apply"==e.type),S(1),P("ngIf","image"==e.type),S(1),P("ngIf","composite"==e.type)}}function n9(n,t){if(1&n&&(Kr(0),q(1,t9,21,11,"mat-card",3),Xr()),2&n){const e=t.$implicit,i=Y();S(1),P("ngIf",e.group==i.kind)}}let i9=(()=>{class n{constructor(e,i){this.devstate=e,this.state=i,this.kind="",this.dragDisabled=!0,this.onEdit=new Ye}toggleDefault(e,i,r){e.checked?this.setDefault(i,r):this.unsetDefault(i)}setDefault(e,i){this.devstate.setDefaultCommand(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}unsetDefault(e){this.devstate.unsetDefaultCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}getCommandsByKind(e,i){return e?.filter(r=>r.group==i)}delete(e){confirm('You will delete the command "'+e+'". Continue?')&&this.devstate.deleteCommand(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.onEdit.next(e)}}return n.\u0275fac=function(e){return new(e||n)(D(os),D(Xs))},n.\u0275cmp=I({type:n,selectors:[["app-commands-list"]],inputs:{commands:"commands",kind:"kind",dragDisabled:"dragDisabled"},outputs:{onEdit:"onEdit"},decls:3,vars:3,consts:[["class","nothing-here",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"nothing-here"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled",4,"ngIf"],["data-cy","command-info","cdkDrag","",3,"cdkDragDisabled"],[1,"with-right-content","colored-title"],[1,"space-between"],[3,"checked","change",4,"ngIf"],[4,"ngIf"],["mat-button","","color","warn",3,"click"],["data-cy","command-edit","mat-button","",3,"click"],[3,"checked","change"],[1,"aligned"],["disableRipple",""],["matChipAvatar","",1,"material-icons-outlined"],["disableRipple","",4,"ngFor","ngForOf"]],template:function(e,i){if(1&e&&(q(0,V7,2,1,"div",0),q(1,H7,2,0,"div",0),q(2,n9,2,1,"ng-container",1)),2&e){let r,o;P("ngIf",!(null!=(r=i.getCommandsByKind(i.commands,i.kind))&&r.length)&&""!=i.kind),S(1),P("ngIf",!(null!=(o=i.getCommandsByKind(i.commands,i.kind))&&o.length)&&""==i.kind),S(1),P("ngForOf",i.commands)}},dependencies:[xs,Oi,HS,Zi,id,od,rd,Oh,Fh,Ah,cl,sd,Ex,gb,qs],styles:["mat-card-header.with-right-content[_ngcontent-%COMP%]{display:block}.space-between[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}div.nothing-here[_ngcontent-%COMP%]{margin:0 4px 16px;color:#00000054}"]}),n})();function r9(n,t){if(1&n){const e=Ut();_(0,"app-command-exec",26),ae("canceled",function(){return Je(e),ot(Y().undisplayExecForm())}),b()}2&n&&P("command",Y().editingCommand)}function o9(n,t){if(1&n){const e=Ut();_(0,"app-command-apply",26),ae("canceled",function(){return Je(e),ot(Y().undisplayApplyForm())}),b()}2&n&&P("command",Y().editingCommand)}function s9(n,t){if(1&n){const e=Ut();_(0,"app-command-image",26),ae("canceled",function(){return Je(e),ot(Y().undisplayImageForm())}),b()}2&n&&P("command",Y().editingCommand)}function a9(n,t){if(1&n){const e=Ut();_(0,"app-command-composite",26),ae("canceled",function(){return Je(e),ot(Y().undisplayCompositeForm())}),b()}2&n&&P("command",Y().editingCommand)}function c9(n,t){if(1&n&&(Kr(0),_(1,"button",27)(2,"mat-icon",28),M(3,"add"),b()(),Xr()),2&n){Y();const e=Jo(48);S(1),P("matMenuTriggerFor",e)}}let l9=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r,this.forceDisplayExecForm=!1,this.forceDisplayApplyForm=!1,this.forceDisplayImageForm=!1,this.forceDisplayCompositeForm=!1,this.commands=[],this.enableDragAndDrop=this.state.getDragAndDropEnabled()}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,xr.Z)(function*(r){e.commands=r?.commands,null!=e.commands&&(e.forceDisplayExecForm=!1,e.forceDisplayApplyForm=!1,e.forceDisplayImageForm=!1,e.forceDisplayCompositeForm=!1)});return function(r){return i.apply(this,arguments)}}())}displayAddExecForm(){this.telemetry.track("[ui] start create exec command"),this.editingCommand=void 0,this.displayExecForm()}displayExecForm(){this.forceDisplayExecForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddApplyForm(){this.telemetry.track("[ui] start create apply command"),this.editingCommand=void 0,this.displayApplyForm()}displayApplyForm(){this.forceDisplayApplyForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddImageForm(){this.telemetry.track("[ui] start create image command"),this.editingCommand=void 0,this.displayImageForm()}displayImageForm(){this.forceDisplayImageForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}displayAddCompositeForm(){this.telemetry.track("[ui] start create composite command"),this.editingCommand=void 0,this.displayCompositeForm()}displayCompositeForm(){this.forceDisplayCompositeForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayExecForm(){this.forceDisplayExecForm=!1}undisplayApplyForm(){this.forceDisplayApplyForm=!1}undisplayImageForm(){this.forceDisplayImageForm=!1}undisplayCompositeForm(){this.forceDisplayCompositeForm=!1}drop(e){this.moveCommand(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex)}moveCommand(e,i,r,o){this.devstate.moveCommand(e,i,r,o).subscribe({next:c=>{this.state.changeDevfileYaml(c)},error:c=>{alert(c.error.message)}})}enableDragAndDropChange(){this.state.saveDragAndDropEnabled(this.enableDragAndDrop)}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}edit(e){switch(this.editingCommand=e,this.undisplayExecForm(),this.undisplayApplyForm(),this.undisplayImageForm(),this.undisplayCompositeForm(),e.type){case"exec":this.displayExecForm();break;case"apply":this.displayApplyForm();break;case"image":this.displayImageForm();break;case"composite":this.displayCompositeForm()}}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-commands"]],decls:67,vars:18,consts:[[1,"main"],[1,"align-right"],[3,"ngModel","ngModelChange"],["cdkDropListGroup",""],["cdkDropList","","cdkDropListData","build",3,"cdkDropListDropped"],[1,"description"],["kind","build",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","run",3,"cdkDropListDropped"],["kind","run",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","test",3,"cdkDropListDropped"],["kind","test",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","debug",3,"cdkDropListDropped"],["kind","debug",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","deploy",3,"cdkDropListDropped"],["kind","deploy",3,"dragDisabled","commands","onEdit"],["cdkDropList","","cdkDropListData","",3,"cdkDropListDropped"],["kind","",3,"dragDisabled","commands","onEdit"],[3,"command","canceled",4,"ngIf"],[4,"ngIf"],["yPosition","above","xPosition","before"],["menu","matMenu"],["data-cy","new-command-exec","mat-menu-item","",3,"click"],[1,"tab-icon","material-icons-outlined"],["data-cy","new-command-image","mat-menu-item","",3,"click"],["data-cy","new-command-apply","mat-menu-item","",3,"click"],["data-cy","new-command-composite","mat-menu-item","",3,"click"],[3,"command","canceled"],["data-cy","add","mat-fab","","color","primary",1,"fab",3,"matMenuTriggerFor"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),ae("ngModelChange",function(o){return i.enableDragAndDrop=o})("ngModelChange",function(){return i.enableDragAndDropChange()}),M(3,"Enable Drag and Drop"),b()(),_(4,"div",3)(5,"div",4),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(6,"h2"),M(7,"Build Commands"),b(),_(8,"div",5),M(9,"When using odo, a Build command is the first command executed during the inner loop. The command is expected to terminate after the build is completed."),b(),_(10,"app-commands-list",6),ae("onEdit",function(o){return i.edit(o)}),b()(),_(11,"div",7),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(12,"h2"),M(13,"Run Commands"),b(),_(14,"div",5),M(15,"When using odo, a Run command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),b(),_(16,"app-commands-list",8),ae("onEdit",function(o){return i.edit(o)}),b()(),_(17,"div",9),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(18,"h2"),M(19,"Test Commands"),b(),_(20,"app-commands-list",10),ae("onEdit",function(o){return i.edit(o)}),b()(),_(21,"div",11),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(22,"h2"),M(23,"Debug Commands"),b(),_(24,"div",5),M(25,"When using odo, a Debug command is executed during the inner loop after the Build command terminates. The command is expected to not terminate."),b(),_(26,"app-commands-list",12),ae("onEdit",function(o){return i.edit(o)}),b()(),_(27,"div",13),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(28,"h2"),M(29,"Deploy Commands"),b(),_(30,"div",5),M(31,"When using odo, a Deploy command is executed with "),_(32,"code"),M(33,"odo deploy"),b(),M(34,"."),b(),_(35,"app-commands-list",14),ae("onEdit",function(o){return i.edit(o)}),b()(),_(36,"div",15),ae("cdkDropListDropped",function(o){return i.drop(o)}),_(37,"h2"),M(38,"Generic Commands"),b(),_(39,"div",5),M(40,"Generic can be executed manually, or be part of composite commands and events."),b(),_(41,"app-commands-list",16),ae("onEdit",function(o){return i.edit(o)}),b()()(),q(42,r9,1,1,"app-command-exec",17),q(43,o9,1,1,"app-command-apply",17),q(44,s9,1,1,"app-command-image",17),q(45,a9,1,1,"app-command-composite",17),b(),q(46,c9,4,1,"ng-container",18),_(47,"mat-menu",19,20)(49,"button",21),ae("click",function(){return i.displayAddExecForm()}),_(50,"mat-icon",22),M(51,"width_normal"),b(),_(52,"span"),M(53,"Exec command"),b()(),_(54,"button",23),ae("click",function(){return i.displayAddImageForm()}),_(55,"mat-icon",22),M(56,"image"),b(),_(57,"span"),M(58,"Image command"),b()(),_(59,"button",24),ae("click",function(){return i.displayAddApplyForm()}),_(60,"mat-icon",22),M(61,"description"),b(),_(62,"span"),M(63,"Apply command"),b()(),_(64,"button",25),ae("click",function(){return i.displayAddCompositeForm()}),_(65,"span"),M(66,"Composite command"),b()()()),2&e&&(S(2),P("ngModel",i.enableDragAndDrop),S(8),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(6),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(4),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(6),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(9),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(6),P("dragDisabled",!i.enableDragAndDrop)("commands",i.commands),S(1),P("ngIf",i.forceDisplayExecForm),S(1),P("ngIf",i.forceDisplayApplyForm),S(1),P("ngIf",i.forceDisplayImageForm),S(1),P("ngIf",i.forceDisplayCompositeForm),S(1),P("ngIf",!(i.forceDisplayExecForm||i.forceDisplayApplyForm||i.forceDisplayImageForm||i.forceDisplayCompositeForm)))},dependencies:[Oi,Qr,vC,NS,RS,$f,cl,qs,Gz,yb,Kz,s7,y7,E7,B7,i9],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}.command[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;background-color:#eee;padding:4px;margin:4px}.parallel-command[_ngcontent-%COMP%]{margin:8px}.serial-commands[_ngcontent-%COMP%]{margin:4px}h2[_ngcontent-%COMP%]{color:#3f51b5}div.align-right[_ngcontent-%COMP%]{text-align:right}"]}),n})();function d9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"Yes, forced"),b()())}function u9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"Yes, the resource is not referenced by any command"),b()())}function h9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"No, the resource is referenced by a command"),b()())}function m9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"No, disabled"),b()())}function f9(n,t){if(1&n&&(_(0,"div"),M(1,"URI: "),_(2,"code"),M(3),b()()),2&n){const e=Y().$implicit;S(3),zt(e.uri)}}function p9(n,t){if(1&n&&(_(0,"div")(1,"pre"),M(2),b()()),2&n){const e=Y().$implicit;S(2),zt(e.inlined)}}function g9(n,t){if(1&n){const e=Ut();_(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),M(3),b(),_(4,"mat-card-subtitle"),M(5,"Cluster Resource"),b()(),_(6,"mat-card-content")(7,"table",6)(8,"tr",7)(9,"td"),M(10,"Deploy at Startup:"),b(),q(11,d9,3,0,"td",3),q(12,u9,3,0,"td",3),q(13,h9,3,0,"td",3),q(14,m9,3,0,"td",3),b()(),q(15,f9,4,1,"div",3),q(16,p9,3,1,"div",3),b(),_(17,"mat-card-actions")(18,"button",8),ae("click",function(){const o=Je(e).$implicit;return ot(Y().delete(o.name))}),M(19,"Delete"),b(),_(20,"button",9),ae("click",function(){const o=Je(e).$implicit;return ot(Y().edit(o))}),M(21,"Edit"),b()()()}if(2&n){const e=t.$implicit;S(3),zt(e.name),S(8),P("ngIf","always"==e.deployByDefault),S(1),P("ngIf","undefined"==e.deployByDefault&&e.orphan),S(1),P("ngIf","undefined"==e.deployByDefault&&!e.orphan),S(1),P("ngIf","never"==e.deployByDefault),S(1),P("ngIf",e.uri),S(1),P("ngIf",e.inlined)}}function _9(n,t){if(1&n){const e=Ut();_(0,"app-resource",10),ae("canceled",function(){return Je(e),ot(Y().undisplayAddForm())})("created",function(r){return Je(e),ot(Y().onCreated(r))})("saved",function(r){return Je(e),ot(Y().onSaved(r))}),b()}if(2&n){const e=Y();P("cancelable",e.forceDisplayForm)("resource",e.editingResource)}}function b9(n,t){if(1&n){const e=Ut();Kr(0),_(1,"button",11),ae("click",function(){return Je(e),ot(Y().displayAddForm())}),_(2,"mat-icon",12),M(3,"add"),b()(),Xr()}}let y9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.resources=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,xr.Z)(function*(o){i.resources=o?.resources,null!=e.resources&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingResource=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the resource "'+e+'". Continue?')&&this.devstate.deleteResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingResource=e,this.displayForm()}onCreated(e){this.devstate.addResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveResource(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os))},n.\u0275cmp=I({type:n,selectors:[["app-resources"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","resource-info",4,"ngFor","ngForOf"],[3,"cancelable","resource","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","resource-info"],[1,"colored-title"],[1,"aligned"],["data-cy","resource-deploy-startup"],["mat-button","","color","warn",3,"click"],["data-cy","resource-edit","mat-button","",3,"click"],[3,"cancelable","resource","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,g9,22,7,"mat-card",1),q(2,_9,1,2,"app-resource",2),b(),q(3,b9,4,0,"ng-container",3)),2&e&&(S(1),P("ngForOf",i.resources),S(1),P("ngIf",i.forceDisplayForm||null==i.resources||0==i.resources.length),S(1),P("ngIf",!i.forceDisplayForm&&null!=i.resources&&i.resources.length>0))},dependencies:[xs,Oi,Zi,$f,id,od,rd,Oh,Fh,Ah,qs,TA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function v9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"Yes, forced"),b()())}function C9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"Yes, the image is not referenced by any command"),b()())}function x9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"No, the image is referenced by a command"),b()())}function w9(n,t){1&n&&(_(0,"td")(1,"code"),M(2,"No, disabled"),b()())}function D9(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Build Args:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.args)}}function M9(n,t){if(1&n){const e=Ut();_(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),M(3),b(),_(4,"mat-card-subtitle"),M(5,"Image"),b()(),_(6,"mat-card-content")(7,"table",6)(8,"tr",7)(9,"td"),M(10,"Build at Startup:"),b(),q(11,v9,3,0,"td",3),q(12,C9,3,0,"td",3),q(13,x9,3,0,"td",3),q(14,w9,3,0,"td",3),b(),_(15,"tr")(16,"td"),M(17,"Image Name:"),b(),_(18,"td")(19,"code"),M(20),b()()(),_(21,"tr")(22,"td"),M(23,"Dockerfile URI:"),b(),_(24,"td")(25,"code"),M(26),b()()(),q(27,D9,6,1,"tr",3),_(28,"tr")(29,"td"),M(30,"Build Context:"),b(),_(31,"td")(32,"code"),M(33),b()()(),_(34,"tr")(35,"td"),M(36,"Root Required:"),b(),_(37,"td")(38,"code"),M(39),b()()()()(),_(40,"mat-card-actions")(41,"button",8),ae("click",function(){const o=Je(e).$implicit;return ot(Y().delete(o.name))}),M(42,"Delete"),b(),_(43,"button",9),ae("click",function(){const o=Je(e).$implicit;return ot(Y().edit(o))}),M(44,"Edit"),b()()()}if(2&n){const e=t.$implicit;S(3),zt(e.name),S(8),P("ngIf","always"==e.autoBuild),S(1),P("ngIf","undefined"==e.autoBuild&&e.orphan),S(1),P("ngIf","undefined"==e.autoBuild&&!e.orphan),S(1),P("ngIf","never"==e.autoBuild),S(6),zt(e.imageName),S(6),zt(e.uri),S(1),P("ngIf",null!=e.args&&e.args.length>0),S(6),zt(e.buildContext),S(6),zt(e.rootRequired?"Yes":"No")}}function T9(n,t){if(1&n){const e=Ut();_(0,"app-image",10),ae("canceled",function(){return Je(e),ot(Y().undisplayAddForm())})("created",function(r){return Je(e),ot(Y().onCreated(r))})("saved",function(r){return Je(e),ot(Y().onSaved(r))}),b()}if(2&n){const e=Y();P("cancelable",e.forceDisplayForm)("image",e.editingImage)}}function E9(n,t){if(1&n){const e=Ut();Kr(0),_(1,"button",11),ae("click",function(){return Je(e),ot(Y().displayAddForm())}),_(2,"mat-icon",12),M(3,"add"),b()(),Xr()}}let k9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.images=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,xr.Z)(function*(o){i.images=o?.images,null!=e.images&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingImage=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the image "'+e+'". Continue?')&&this.devstate.deleteImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingImage=e,this.displayForm()}onCreated(e){this.devstate.addImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveImage(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os))},n.\u0275cmp=I({type:n,selectors:[["app-images"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","image-info",4,"ngFor","ngForOf"],[3,"cancelable","image","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","image-info"],[1,"colored-title"],[1,"aligned"],["data-cy","image-build-startup"],["mat-button","","color","warn",3,"click"],["data-cy","image-edit","mat-button","",3,"click"],[3,"cancelable","image","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,M9,45,10,"mat-card",1),q(2,T9,1,2,"app-image",2),b(),q(3,E9,4,0,"ng-container",3)),2&e&&(S(1),P("ngForOf",i.images),S(1),P("ngIf",i.forceDisplayForm||null==i.images||0==i.images.length),S(1),P("ngIf",!i.forceDisplayForm&&null!=i.images&&i.images.length>0))},dependencies:[xs,Oi,Zi,$f,id,od,rd,Oh,Fh,Ah,qs,EA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function S9(n,t){if(1&n){const e=Ut();_(0,"mat-chip-row",8),ae("removed",function(){const o=Je(e).$implicit;return ot(Y().remove(o))}),M(1),_(2,"button",9)(3,"mat-icon",10),M(4,"cancel"),b()()()}if(2&n){const e=t.$implicit;S(1),bi(" ",e," ")}}function I9(n,t){if(1&n&&(_(0,"mat-option",11),M(1),b()),2&n){const e=t.$implicit;P("value",e),S(1),bi(" ",e," ")}}let A9=(()=>{class n{constructor(e){this.commandInput=e,this.commands=[],this.allCommands=[],this.updated=new Ye,this.separatorKeysCodes=[13,188],this.commandCtrl=new Ct(""),this.filteredCommands=new ye}ngOnChanges(e){this.filteredCommands=this.commandCtrl.valueChanges.pipe(Br(null),Nn(i=>i?this._filter(i):this.allCommands.slice()))}add(e){const i=(e.value||"").trim();i&&(this.commands.push(i),this.updated.emit(this.commands)),e.chipInput.clear(),this.commandCtrl.setValue(null)}remove(e){const i=this.commands.indexOf(e);i>=0&&(this.commands.splice(i,1),this.updated.emit(this.commands))}selected(e){this.commands.push(e.option.viewValue),this.updated.emit(this.commands),this.commandInput.nativeElement.value="",this.commandCtrl.setValue(null)}_filter(e){const i=e.toLowerCase();return this.allCommands.filter(r=>r.toLowerCase().includes(i))}}return n.\u0275fac=function(e){return new(e||n)(D(k))},n.\u0275cmp=I({type:n,selectors:[["app-chips-events"]],inputs:{commands:"commands",allCommands:"allCommands"},outputs:{updated:"updated"},features:[wi],decls:12,vars:8,consts:[["appearance","fill",1,"chip-list"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["data-cy","input","placeholder","New command...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["commandInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[1,"material-icons-outlined"],[3,"value"]],template:function(e,i){if(1&e&&(_(0,"mat-form-field",0)(1,"mat-label"),M(2,"Commands"),b(),_(3,"mat-chip-grid",null,1),q(5,S9,5,1,"mat-chip-row",2),b(),_(6,"input",3,4),ae("matChipInputTokenEnd",function(o){return i.add(o)}),b(),_(8,"mat-autocomplete",5,6),ae("optionSelected",function(o){return i.selected(o)}),q(10,I9,2,2,"mat-option",7),Km(11,"async"),b()()),2&e){const r=Jo(4),o=Jo(9);S(5),P("ngForOf",i.commands),S(1),P("formControl",i.commandCtrl)("matChipInputFor",r)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes),S(4),P("ngForOf",Xm(11,6,i.filteredCommands))}},dependencies:[xs,co,Qr,vh,q6,zd,CI,$I,jI,VI,kx,lo,zr,qs,x0],styles:[".chip-list[_ngcontent-%COMP%]{width:100%}"]}),n})();const ad=function(){return[]};let F9=(()=>{class n{constructor(e,i,r){this.state=e,this.devstate=i,this.telemetry=r}ngOnInit(){var e=this;this.state.state.subscribe(function(){var i=(0,xr.Z)(function*(r){e.events=r?.events,null==e.events&&(e.events={}),null==e.events.preStart&&(e.events.preStart=[]),null==e.events.preStop&&(e.events.preStop=[]),null==e.events.postStart&&(e.events.postStart=[]),null==e.events.postStop&&(e.events.postStop=[]),e.allCommands=r?.commands?.map(o=>o.name)});return function(r){return i.apply(this,arguments)}}())}onUpdate(e,i){this.telemetry.track("[ui] add "+e+" event"),this.devstate.updateEvents(e,i).subscribe({next:o=>{this.state.changeDevfileYaml(o)},error:o=>{alert(o.error.message)}})}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os),D(Ea))},n.\u0275cmp=I({type:n,selectors:[["app-events"]],decls:21,vars:16,consts:[[1,"main"],[1,"description"],["data-cy","prestart",3,"commands","allCommands","updated"],["data-cy","poststart",3,"commands","allCommands","updated"],["data-cy","prestop",3,"commands","allCommands","updated"],["data-cy","poststop",3,"commands","allCommands","updated"]],template:function(e,i){if(1&e&&(_(0,"div",0)(1,"h2"),M(2,"Pre-Start event"),b(),_(3,"div",1),M(4,"Pre-Start commands are executed before the inner loop is started, inside init-containers (not implemented by odo)."),b(),_(5,"app-chips-events",2),ae("updated",function(o){return i.onUpdate("preStart",o)}),b(),_(6,"h2"),M(7,"Post-Start event"),b(),_(8,"div",1),M(9,"Post-Start commands are executed at the beginning of the inner loop, inside pre-fetched containers."),b(),_(10,"app-chips-events",3),ae("updated",function(o){return i.onUpdate("postStart",o)}),b(),_(11,"h2"),M(12,"Pre-Stop event"),b(),_(13,"div",1),M(14,"Pre-Stop commands are executed at the end of the inner loop, inside pre-fetched containers."),b(),_(15,"app-chips-events",4),ae("updated",function(o){return i.onUpdate("preStop",o)}),b(),_(16,"h2"),M(17,"Post-Stop event"),b(),_(18,"div",1),M(19,"Post-Stop commands are executed after the inner loop is finished (not implemented by odo)."),b(),_(20,"app-chips-events",5),ae("updated",function(o){return i.onUpdate("postStop",o)}),b()()),2&e){let r,o,a,c,d,h,p,y;S(5),P("commands",null!==(r=null==i.events?null:i.events.preStart)&&void 0!==r?r:qa(8,ad))("allCommands",null!==(o=i.allCommands)&&void 0!==o?o:qa(9,ad)),S(5),P("commands",null!==(a=null==i.events?null:i.events.postStart)&&void 0!==a?a:qa(10,ad))("allCommands",null!==(c=i.allCommands)&&void 0!==c?c:qa(11,ad)),S(5),P("commands",null!==(d=null==i.events?null:i.events.preStop)&&void 0!==d?d:qa(12,ad))("allCommands",null!==(h=i.allCommands)&&void 0!==h?h:qa(13,ad)),S(5),P("commands",null!==(p=null==i.events?null:i.events.postStop)&&void 0!==p?p:qa(14,ad))("allCommands",null!==(y=i.allCommands)&&void 0!==y?y:qa(15,ad))}},dependencies:[A9],styles:[".main[_ngcontent-%COMP%]{padding:16px}h2[_ngcontent-%COMP%]{color:#3f51b5}"]}),n})();function O9(n,t){if(1&n&&(_(0,"tr")(1,"td"),M(2,"Size:"),b(),_(3,"td")(4,"code"),M(5),b()()()),2&n){const e=Y().$implicit;S(5),zt(e.size)}}function R9(n,t){if(1&n){const e=Ut();_(0,"mat-card",4)(1,"mat-card-header",5)(2,"mat-card-title"),M(3),b(),_(4,"mat-card-subtitle"),M(5,"Volume"),b()(),_(6,"mat-card-content")(7,"table",6),q(8,O9,6,1,"tr",3),_(9,"tr")(10,"td"),M(11,"Volume is Ephemeral:"),b(),_(12,"td")(13,"code"),M(14),b()()()()(),_(15,"mat-card-actions")(16,"button",7),ae("click",function(){const o=Je(e).$implicit;return ot(Y().delete(o.name))}),M(17,"Delete"),b(),_(18,"button",8),ae("click",function(){const o=Je(e).$implicit;return ot(Y().edit(o))}),M(19,"Edit"),b()()()}if(2&n){const e=t.$implicit;S(3),zt(e.name),S(5),P("ngIf",e.size),S(6),zt(e.ephemeral?"Yes":"No")}}function P9(n,t){if(1&n){const e=Ut();_(0,"app-volume",9),ae("canceled",function(){return Je(e),ot(Y().undisplayAddForm())})("created",function(r){return Je(e),ot(Y().onCreated(r))})("saved",function(r){return Je(e),ot(Y().onSaved(r))}),b()}if(2&n){const e=Y();P("cancelable",e.forceDisplayForm)("volume",e.editingVolume)}}function L9(n,t){if(1&n){const e=Ut();Kr(0),_(1,"button",10),ae("click",function(){return Je(e),ot(Y().displayAddForm())}),_(2,"mat-icon",11),M(3,"add"),b()(),Xr()}}let N9=(()=>{class n{constructor(e,i){this.state=e,this.devstate=i,this.forceDisplayForm=!1,this.volumes=[]}ngOnInit(){var e=this;const i=this;this.state.state.subscribe(function(){var r=(0,xr.Z)(function*(o){i.volumes=o?.volumes,null!=e.volumes&&(i.forceDisplayForm=!1)});return function(o){return r.apply(this,arguments)}}())}displayAddForm(){this.editingVolume=void 0,this.displayForm()}displayForm(){this.forceDisplayForm=!0,setTimeout(()=>{this.scrollToBottom()},0)}undisplayAddForm(){this.forceDisplayForm=!1}delete(e){confirm('You will delete the volume "'+e+'". Continue?')&&this.devstate.deleteVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}edit(e){this.editingVolume=e,this.displayForm()}onCreated(e){this.devstate.addVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}onSaved(e){this.devstate.saveVolume(e).subscribe({next:r=>{this.state.changeDevfileYaml(r)},error:r=>{alert(r.error.message)}})}scrollToBottom(){window.scrollTo(0,document.body.scrollHeight)}}return n.\u0275fac=function(e){return new(e||n)(D(Xs),D(os))},n.\u0275cmp=I({type:n,selectors:[["app-volumes"]],decls:4,vars:3,consts:[[1,"main"],["data-cy","volume-info",4,"ngFor","ngForOf"],[3,"cancelable","volume","canceled","created","saved",4,"ngIf"],[4,"ngIf"],["data-cy","volume-info"],[1,"colored-title"],[1,"aligned"],["mat-button","","color","warn",3,"click"],["data-cy","volume-edit","mat-button","",3,"click"],[3,"cancelable","volume","canceled","created","saved"],["mat-fab","","color","primary",1,"fab",3,"click"],[1,"material-icons-outlined"]],template:function(e,i){1&e&&(_(0,"div",0),q(1,R9,20,3,"mat-card",1),q(2,P9,1,2,"app-volume",2),b(),q(3,L9,4,0,"ng-container",3)),2&e&&(S(1),P("ngForOf",i.volumes),S(1),P("ngIf",i.forceDisplayForm||null==i.volumes||0==i.volumes.length),S(1),P("ngIf",!i.forceDisplayForm&&null!=i.volumes&&i.volumes.length>0))},dependencies:[xs,Oi,Zi,$f,id,od,rd,Oh,Fh,Ah,qs,DA],styles:[".main[_ngcontent-%COMP%]{padding:16px}mat-card[_ngcontent-%COMP%]{margin-bottom:16px}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),n})();function B9(n,t){1&n&&M(0),2&n&&bi(" ",Y().tabNames[2]," ")}function V9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"code"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[3]," ")}}function H9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"alarm"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[4]," ")}}function z9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"width_normal"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[5]," ")}}function $9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"image"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[6]," ")}}function j9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"description"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[7]," ")}}function U9(n,t){if(1&n&&(_(0,"mat-icon",20),M(1,"storage"),b(),M(2)),2&n){const e=Y();S(2),bi(" ",e.tabNames[8]," ")}}let W9=(()=>{class n{constructor(e,i,r,o,a,c,d,h,p){this.sanitizer=e,this.matIconRegistry=i,this.wasmGo=r,this.odoApi=o,this.mermaid=a,this.state=c,this.sse=d,this.telemetry=h,this.snackbar=p,this.tabNames=["YAML","Chart","Metadata","Commands","Events","Containers","Images","Resources","Volumes"],this.mermaidContent="",this.devfileYaml="",this.snackBarRef=null,this.matIconRegistry.addSvgIcon("github",this.sanitizer.bypassSecurityTrustResourceUrl("../assets/github-24.svg"))}ngOnInit(){var e=this;const i=document.getElementById("loading");null!=i&&(i.style.visibility="hidden"),this.odoApi.getDevfile().subscribe({next:o=>{null!=o.content&&this.propagateChange(o.content,!1,!0)}}),this.state.state.subscribe(function(){var o=(0,xr.Z)(function*(a){var d;null!=a&&(e.devfileYaml=a.content,e.wasmGo.getFlowChart().subscribe({next:(d=(0,xr.Z)(function*(h){const p=yield e.mermaid.getMermaidAsSVG(h.chart);e.mermaidContent=p}),function(p){return d.apply(this,arguments)}),error:d=>{console.log(d)}}),"2.2.0"!=a.version&&e.snackbar.open("The version of the Devfile is "+a.version+".\nOnly version 2.2.0 is supported","ok"))});return function(a){return o.apply(this,arguments)}}()),this.sse.subscribeTo(["DevfileUpdated"]).subscribe(o=>{const a=JSON.parse(o.data);this.state.isUpdated(a.content)&&(null!=this.snackBarRef&&(this.snackBarRef.afterDismissed().subscribe(()=>{}),this.snackBarRef.dismiss()),this.snackBarRef=this.snackbar.openFromComponent($j,{data:{message:"The Devfile has changed on disk. Do you want to update it here?",noLabel:"Cancel",yesLabel:"Update"}}),this.snackBarRef.onAction().subscribe(()=>{null!=a.content&&this.propagateChange(a.content,!1,!0),this.snackBarRef=null}),this.snackBarRef.afterDismissed().subscribe(()=>{this.snackBarRef=null}))}),this.odoApi.telemetry().subscribe({next:o=>{if(o.enabled){if(null==o.apikey||null==o.userid)return;this.telemetry.init(o.apikey,o.userid),this.telemetry.track("[ui] start")}},error:()=>{}})}propagateChange(e,i,r){this.wasmGo.setDevfileContent(e).subscribe({next:a=>{this.state.changeDevfileYaml(a,r),i&&this.odoApi.saveDevfile(a.content).subscribe({next:()=>{},error:c=>{this.snackbar.open(c.error.message,"ok")}})},error:a=>{this.snackbar.open(a.error.message,"ok")}})}onSave(e){this.telemetry.track("[ui] save devfile to disk"),this.propagateChange(e,!0,!0)}onApply(e){this.telemetry.track("[ui] change devfile from textarea"),this.propagateChange(e,!1,!1)}clear(){confirm("You will delete the content of the Devfile. Continue?")&&(this.telemetry.track("[ui] clear devfile"),this.wasmGo.clearDevfileContent().subscribe({next:e=>{this.propagateChange(e.content,!1,!1)}}))}onSelectedTabChange(e){this.telemetry.track("[ui] change to tab "+this.tabNames[e.index])}}return n.\u0275fac=function(e){return new(e||n)(D(f_),D(Wf),D(os),D(jj),D(Qj),D(Xs),D(Jj),D(Ea),D(I$))},n.\u0275cmp=I({type:n,selectors:[["app-root"]],decls:50,vars:7,consts:[["color","primary"],[1,"spacer"],[1,"topright"],["href","https://odo.dev/docs/user-guides/advanced/using-gui/","target","_blank",1,"toplink"],["data-cy","yaml-send","matTooltip","Save Devfile to disk","mat-flat-button","","color","warn",2,"top","-8px",3,"disabled","click"],[1,"flex-container"],[1,"flex-child"],["animationDuration","0",3,"selectedTabChange"],["data-cy","tab-yaml",3,"label"],[1,"tab-content"],["appearance","outline",1,"full-width"],["data-cy","yaml-input","matInput","","id","input","rows","20",3,"value"],["input",""],["data-cy","yaml-save","matTooltip","Apply changes to other tabs","mat-flat-button","","color","primary",3,"click"],["data-cy","yaml-clear","matTooltip","Clear Devfile content","mat-flat-button","","color","normal",3,"click"],["data-cy","tab-chart",3,"label"],["id","mermaid",1,"mermaid",3,"innerHTML"],["mermaid",""],["data-cy","tab-metadata"],["mat-tab-label",""],[1,"tab-icon","material-icons-outlined"]],template:function(e,i){if(1&e){const r=Ut();_(0,"mat-toolbar",0)(1,"span"),M(2,"Devfile Builder"),b(),Pe(3,"span",1),_(4,"span",2)(5,"a",3),M(6,"Work in progress"),b()(),_(7,"button",4),ae("click",function(){Je(r);const a=Jo(20);return ot(i.onSave(a.value))}),Km(8,"async"),M(9,"Save"),b()(),_(10,"main")(11,"div",5)(12,"div",6)(13,"mat-tab-group",7),ae("selectedTabChange",function(a){return i.onSelectedTabChange(a)}),_(14,"mat-tab",8)(15,"div",9)(16,"mat-form-field",10)(17,"mat-label"),M(18,"Devfile YAML"),b(),Pe(19,"textarea",11,12),b(),_(21,"button",13),ae("click",function(){Je(r);const a=Jo(20);return ot(i.onApply(a.value))}),M(22,"Apply"),b(),_(23,"button",14),ae("click",function(){return i.clear()}),M(24,"Clear"),b()()(),_(25,"mat-tab",15)(26,"div",6),Pe(27,"div",16,17),b()(),_(29,"mat-tab",18),q(30,B9,1,1,"ng-template",19),Pe(31,"app-metadata"),b(),_(32,"mat-tab"),q(33,V9,3,1,"ng-template",19),Pe(34,"app-commands"),b(),_(35,"mat-tab"),q(36,H9,3,1,"ng-template",19),Pe(37,"app-events"),b(),_(38,"mat-tab"),q(39,z9,3,1,"ng-template",19),Pe(40,"app-containers"),b(),_(41,"mat-tab"),q(42,$9,3,1,"ng-template",19),Pe(43,"app-images"),b(),_(44,"mat-tab"),q(45,j9,3,1,"ng-template",19),Pe(46,"app-resources"),b(),_(47,"mat-tab"),q(48,U9,3,1,"ng-template",19),Pe(49,"app-volumes"),b()()()()()}2&e&&(S(7),Hm("disabled",!Xm(8,5,i.state.modified)),S(7),Hm("label",i.tabNames[0]),S(5),P("value",i.devfileYaml),S(6),Hm("label",i.tabNames[1]),S(2),P("innerHTML",i.sanitizer.bypassSecurityTrustHtml(i.mermaidContent),gg))},dependencies:[Zi,lo,zr,qs,Ts,sA,dA,fj,Cj,Es,tU,QU,l9,y9,k9,F9,N9,x0],styles:["main[_ngcontent-%COMP%]{min-height:calc(100vh - 100px)}div.mermaid[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace!important}.flex-container[_ngcontent-%COMP%]{display:flex}.flex-child[_ngcontent-%COMP%]{flex:1}.flex-child[_ngcontent-%COMP%]:first-child{margin-right:20px}#input[_ngcontent-%COMP%]{width:99%}button[_ngcontent-%COMP%]{margin-top:20px}mat-form-field.full-width[_ngcontent-%COMP%]{width:100%}div.tab-content[_ngcontent-%COMP%]{padding:16px}div.error-message[_ngcontent-%COMP%]{font-size:large;margin:16px}.toplink[_ngcontent-%COMP%]{color:#fff}"]}),n})(),G9=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=Re({type:n,bootstrap:[W9]}),n.\u0275inj=en({imports:[zT,oV,h5,u5,L5,C8,eH,TI,fH,SH,zH,fz,hb,kz,Pz,Xz,p$,tA,gj,xj,Nj,ll.forRoot({loadOnInitialization:!1})]}),n})();ZN().bootstrapModule(G9).catch(n=>console.error(n))},1764:function(on){on.exports=function(){"use strict";var L=6e4,X=36e5,me="millisecond",se="second",te="minute",re="hour",Ue="day",Ze="week",H="month",he="quarter",Q="year",ue="date",Ft="Invalid Date",nn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Se=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,J={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Tt){var We=["th","st","nd","rd"],we=Tt%100;return"["+Tt+(We[(we-20)%10]||We[we]||We[0])+"]"}},Te=function(Tt,We,we){var qe=String(Tt);return!qe||qe.length>=We?Tt:""+Array(We+1-qe.length).join(we)+Tt},be={s:Te,z:function(Tt){var We=-Tt.utcOffset(),we=Math.abs(We),qe=Math.floor(we/60),He=we%60;return(We<=0?"+":"-")+Te(qe,2,"0")+":"+Te(He,2,"0")},m:function Tt(We,we){if(We.date()1)return Tt(mt[0])}else{var ye=We.name;At[ye]=We,He=ye}return!qe&&He&&(xt=He),He||!qe&&xt},Yt=function(Tt,We){if(_t(Tt))return Tt.clone();var we="object"==typeof We?We:{};return we.date=Tt,we.args=arguments,new cn(we)},lt=be;lt.l=Gt,lt.i=_t,lt.w=function(Tt,We){return Yt(Tt,{locale:We.$L,utc:We.$u,x:We.$x,$offset:We.$offset})};var cn=function(){function Tt(we){this.$L=Gt(we.locale,null,!0),this.parse(we)}var We=Tt.prototype;return We.parse=function(we){this.$d=function(qe){var He=qe.date,bt=qe.utc;if(null===He)return new Date(NaN);if(lt.u(He))return new Date;if(He instanceof Date)return new Date(He);if("string"==typeof He&&!/Z$/i.test(He)){var mt=He.match(nn);if(mt){var ye=mt[2]-1||0,Mn=(mt[7]||"0").substring(0,3);return bt?new Date(Date.UTC(mt[1],ye,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,Mn)):new Date(mt[1],ye,mt[3]||1,mt[4]||0,mt[5]||0,mt[6]||0,Mn)}}return new Date(He)}(we),this.$x=we.x||{},this.init()},We.init=function(){var we=this.$d;this.$y=we.getFullYear(),this.$M=we.getMonth(),this.$D=we.getDate(),this.$W=we.getDay(),this.$H=we.getHours(),this.$m=we.getMinutes(),this.$s=we.getSeconds(),this.$ms=we.getMilliseconds()},We.$utils=function(){return lt},We.isValid=function(){return this.$d.toString()!==Ft},We.isSame=function(we,qe){var He=Yt(we);return this.startOf(qe)<=He&&He<=this.endOf(qe)},We.isAfter=function(we,qe){return Yt(we)"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct:function(ei,yi,Ki){var _n=[null];_n.push.apply(_n,yi);var Ao=new(Function.bind.apply(ei,_n));return Ki&&L(Ao,Ki.prototype),Ao}).apply(null,arguments)}function se(Xe){return function te(Xe){if(Array.isArray(Xe))return Ze(Xe)}(Xe)||function re(Xe){if(typeof Symbol<"u"&&null!=Xe[Symbol.iterator]||null!=Xe["@@iterator"])return Array.from(Xe)}(Xe)||function Ue(Xe,tt){if(Xe){if("string"==typeof Xe)return Ze(Xe,tt);var qt=Object.prototype.toString.call(Xe).slice(8,-1);if("Object"===qt&&Xe.constructor&&(qt=Xe.constructor.name),"Map"===qt||"Set"===qt)return Array.from(Xe);if("Arguments"===qt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(qt))return Ze(Xe,tt)}}(Xe)||function H(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(Xe,tt){(null==tt||tt>Xe.length)&&(tt=Xe.length);for(var qt=0,bn=new Array(tt);qt1?qt-1:0),ei=1;ei/gm),Dr=J(/\${[\w\W]*}/gm),sr=J(/^data-[\-\w.\u00B7-\uFFFF]/),ss=J(/^aria-[\-\w]+$/),Sa=J(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ia=J(/^(?:\w+script|data):/i),Io=J(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Bi=J(/^html$/i),as=function(){return typeof window>"u"?null:window},Vi=function(tt,qt){if("object"!==Ae(tt)||"function"!=typeof tt.createPolicy)return null;var bn=null,ei="data-tt-policy-suffix";qt.currentScript&&qt.currentScript.hasAttribute(ei)&&(bn=qt.currentScript.getAttribute(ei));var yi="dompurify"+(bn?"#"+bn:"");try{return tt.createPolicy(yi,{createHTML:function(_n){return _n},createScriptURL:function(_n){return _n}})}catch{return console.warn("TrustedTypes policy "+yi+" could not be created."),null}};return function cs(){var Xe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:as(),tt=function(W){return cs(W)};if(tt.version="2.4.3",tt.removed=[],!Xe||!Xe.document||9!==Xe.document.nodeType)return tt.isSupported=!1,tt;var qt=Xe.document,bn=Xe.document,ei=Xe.DocumentFragment,yi=Xe.HTMLTemplateElement,Ki=Xe.Node,_n=Xe.Element,pi=Xe.NodeFilter,Ao=Xe.NamedNodeMap,Aa=void 0===Ao?Xe.NamedNodeMap||Xe.MozNamedAttrMap:Ao,ls=Xe.HTMLFormElement,Js=Xe.DOMParser,uo=Xe.trustedTypes,$r=_n.prototype,K=Cn($r,"cloneNode"),B=Cn($r,"nextSibling"),Ie=Cn($r,"childNodes"),ft=Cn($r,"parentNode");if("function"==typeof yi){var gi=bn.createElement("template");gi.content&&gi.content.ownerDocument&&(bn=gi.content.ownerDocument)}var wn=Vi(uo,qt),ds=wn?wn.createHTML(""):"",mo=bn.implementation,Fa=bn.createNodeIterator,ea=bn.createDocumentFragment,vi=bn.getElementsByTagName,us=qt.importNode,Fo={};try{Fo=Mn(bn).documentMode?bn.documentMode:{}}catch{}var jr={};tt.isSupported="function"==typeof ft&&mo&&typeof mo.createHTMLDocument<"u"&&9!==Fo;var kr,ui,Oo=Ni,Ro=So,Ss=Dr,Tr=sr,Xi=ss,Oa=Ia,Po=Io,Lo=Sa,Zn=null,ml=ye({},[].concat(se(mn),se(di),se(Ee),se(yt),se(Rt))),Si=null,rc=ye({},[].concat(se(Jn),se(Nn),se(wr),se(ks))),oi=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),No=null,Bo=null,oc=!0,ta=!0,ar=!1,Qi=!1,Ci=!1,Vo=!1,sc=!1,Ho=!1,Is=!1,na=!1,hs=!0,si=!1,Er=!0,Rn=!1,fo={},ze=null,to=ye({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Mi=null,Jt=ye({},["audio","video","img","source","image","track"]),$t=null,cr=ye({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),po="http://www.w3.org/1998/Math/MathML",ti="http://www.w3.org/2000/svg",Ii="http://www.w3.org/1999/xhtml",ve=Ii,As=!1,Qt=null,Fn=ye({},[po,ti,Ii],cn),Ra=["application/xhtml+xml","text/html"],hi=null,Pa=bn.createElement("form"),ra=function(W){return W instanceof RegExp||W instanceof Function},lr=function(W){hi&&hi===W||((!W||"object"!==Ae(W))&&(W={}),W=Mn(W),kr=kr=-1===Ra.indexOf(W.PARSER_MEDIA_TYPE)?"text/html":W.PARSER_MEDIA_TYPE,ui="application/xhtml+xml"===kr?cn:lt,Zn="ALLOWED_TAGS"in W?ye({},W.ALLOWED_TAGS,ui):ml,Si="ALLOWED_ATTR"in W?ye({},W.ALLOWED_ATTR,ui):rc,Qt="ALLOWED_NAMESPACES"in W?ye({},W.ALLOWED_NAMESPACES,cn):Fn,$t="ADD_URI_SAFE_ATTR"in W?ye(Mn(cr),W.ADD_URI_SAFE_ATTR,ui):cr,Mi="ADD_DATA_URI_TAGS"in W?ye(Mn(Jt),W.ADD_DATA_URI_TAGS,ui):Jt,ze="FORBID_CONTENTS"in W?ye({},W.FORBID_CONTENTS,ui):to,No="FORBID_TAGS"in W?ye({},W.FORBID_TAGS,ui):{},Bo="FORBID_ATTR"in W?ye({},W.FORBID_ATTR,ui):{},fo="USE_PROFILES"in W&&W.USE_PROFILES,oc=!1!==W.ALLOW_ARIA_ATTR,ta=!1!==W.ALLOW_DATA_ATTR,ar=W.ALLOW_UNKNOWN_PROTOCOLS||!1,Qi=W.SAFE_FOR_TEMPLATES||!1,Ci=W.WHOLE_DOCUMENT||!1,Ho=W.RETURN_DOM||!1,Is=W.RETURN_DOM_FRAGMENT||!1,na=W.RETURN_TRUSTED_TYPE||!1,sc=W.FORCE_BODY||!1,hs=!1!==W.SANITIZE_DOM,si=W.SANITIZE_NAMED_PROPS||!1,Er=!1!==W.KEEP_CONTENT,Rn=W.IN_PLACE||!1,Lo=W.ALLOWED_URI_REGEXP||Lo,ve=W.NAMESPACE||Ii,W.CUSTOM_ELEMENT_HANDLING&&ra(W.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(oi.tagNameCheck=W.CUSTOM_ELEMENT_HANDLING.tagNameCheck),W.CUSTOM_ELEMENT_HANDLING&&ra(W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(oi.attributeNameCheck=W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),W.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(oi.allowCustomizedBuiltInElements=W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Qi&&(ta=!1),Is&&(Ho=!0),fo&&(Zn=ye({},se(Rt)),Si=[],!0===fo.html&&(ye(Zn,mn),ye(Si,Jn)),!0===fo.svg&&(ye(Zn,di),ye(Si,Nn),ye(Si,ks)),!0===fo.svgFilters&&(ye(Zn,Ee),ye(Si,Nn),ye(Si,ks)),!0===fo.mathMl&&(ye(Zn,yt),ye(Si,wr),ye(Si,ks))),W.ADD_TAGS&&(Zn===ml&&(Zn=Mn(Zn)),ye(Zn,W.ADD_TAGS,ui)),W.ADD_ATTR&&(Si===rc&&(Si=Mn(Si)),ye(Si,W.ADD_ATTR,ui)),W.ADD_URI_SAFE_ATTR&&ye($t,W.ADD_URI_SAFE_ATTR,ui),W.FORBID_CONTENTS&&(ze===to&&(ze=Mn(ze)),ye(ze,W.FORBID_CONTENTS,ui)),Er&&(Zn["#text"]=!0),Ci&&ye(Zn,["html","head","body"]),Zn.table&&(ye(Zn,["tbody"]),delete No.tbody),Se&&Se(W),hi=W)},dr=ye({},["mi","mo","mn","ms","mtext"]),zo=ye({},["foreignobject","desc","title","annotation-xml"]),fl=ye({},["title","style","font","a","script"]),oa=ye({},di);ye(oa,Ee),ye(oa,qi);var Fc=ye({},yt);ye(Fc,Ke);var Ur=function(W){Yt(tt.removed,{element:W});try{W.parentNode.removeChild(W)}catch{try{W.outerHTML=ds}catch{W.remove()}}},ac=function(W,Oe){try{Yt(tt.removed,{attribute:Oe.getAttributeNode(W),from:Oe})}catch{Yt(tt.removed,{attribute:null,from:Oe})}if(Oe.removeAttribute(W),"is"===W&&!Si[W])if(Ho||Is)try{Ur(Oe)}catch{}else try{Oe.setAttribute(W,"")}catch{}},Oc=function(W){var Oe,it;if(sc)W=""+W;else{var Tn=Qn(W,/^[\r\n\t ]+/);it=Tn&&Tn[0]}"application/xhtml+xml"===kr&&ve===Ii&&(W=''+W+"");var Ti=wn?wn.createHTML(W):W;if(ve===Ii)try{Oe=(new Js).parseFromString(Ti,kr)}catch{}if(!Oe||!Oe.documentElement){Oe=mo.createDocument(ve,"template",null);try{Oe.documentElement.innerHTML=As?ds:Ti}catch{}}var $n=Oe.body||Oe.documentElement;return W&&it&&$n.insertBefore(bn.createTextNode(it),$n.childNodes[0]||null),ve===Ii?vi.call(Oe,Ci?"html":"body")[0]:Ci?Oe.documentElement:$n},Ji=function(W){return Fa.call(W.ownerDocument||W,W,pi.SHOW_ELEMENT|pi.SHOW_COMMENT|pi.SHOW_TEXT,null,!1)},Wr=function(W){return"object"===Ae(Ki)?W instanceof Ki:W&&"object"===Ae(W)&&"number"==typeof W.nodeType&&"string"==typeof W.nodeName},go=function(W,Oe,it){jr[W]&&_t(jr[W],function(Tn){Tn.call(tt,Oe,it,hi)})},pl=function(W){var Oe;if(go("beforeSanitizeElements",W,null),function(W){return W instanceof ls&&("string"!=typeof W.nodeName||"string"!=typeof W.textContent||"function"!=typeof W.removeChild||!(W.attributes instanceof Aa)||"function"!=typeof W.removeAttribute||"function"!=typeof W.setAttribute||"string"!=typeof W.namespaceURI||"function"!=typeof W.insertBefore||"function"!=typeof W.hasChildNodes)}(W)||qe(/[\u0080-\uFFFF]/,W.nodeName))return Ur(W),!0;var it=ui(W.nodeName);if(go("uponSanitizeElement",W,{tagName:it,allowedTags:Zn}),W.hasChildNodes()&&!Wr(W.firstElementChild)&&(!Wr(W.content)||!Wr(W.content.firstElementChild))&&qe(/<[/\w]/g,W.innerHTML)&&qe(/<[/\w]/g,W.textContent)||"select"===it&&qe(/