PageSourceSearch

https://www.formance.com/_next/static/chunks/6783.7d566d34f12ef2bf.js

js formance.com collected 2026-09-24 23:14:44 UTC 314,858 bytes, 60 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6783],{898:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39344),a=r(15841);let i=(t,e)=>{let r=a.A.parse(t);for(let t in e)r[t]=n.A.channel.clamp[t](e[t]);return a.A.stringify(r)}},9206:(t,e,r)=>{"use strict";r.d(e,{W:()=>tj,G:()=>tB});var n=r(92604),a=r(48836),i=r(42305),o=r(71785),s=r(75103),l=r(88395);function c(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var u=c(),h={exec:()=>null};function p(t,e=""){let r="string"==typeof t?t:t.source,n={replace:(t,e)=>{let a="string"==typeof e?e:e.source;return a=a.replace(f.caret,"$1"),r=r.replace(t,a),n},getRegex:()=>new RegExp(r,e)};return n}var d=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),f={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},g=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,m=/(?:[*+-]|\d{1,9}[.)])/,y=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,b=p(y).replace(/bull/g,m).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),x=p(y).replace(/bull/g,m).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),k=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,_=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,w=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",_).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),v=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,m).getRegex(),M="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,A=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
1)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",S).replace("tag",M).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),T=p(k).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex(),C={blockquote:p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",T).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:w,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:g,html:A,lheading:b,list:v,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:T,table:h,text:/^[^\n]+/},L=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex(),O={...C,lheading:x,table:L,paragraph:p(k).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",L).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",M).getRegex()},E={...C,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",S).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:h,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(k).replace("hr",g).replace("heading",` *#{1,6} *[^
2]`).replace("lheading",b).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},K=/^( {2,}|\\)\n(?!\s*$)/,R=/[\p{P}\p{S}]/u,D=/[\s\p{P}\p{S}]/u,P=/[^\s\p{P}\p{S}]/u,I=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,D).getRegex(),$=/(?!~)[\p{P}\p{S}]/u,j=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",d?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),N=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,U=p(N,"u").replace(/punct/g,R).getRegex(),z=p(N,"u").replace(/punct/g,$).getRegex(),F="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",B=p(F,"gu").replace(/notPunctSpace/g,P).replace(/punctSpace/g,D).replace(/punct/g,R).getRegex(),H=p(F,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,$).getRegex(),W=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,P).replace(/punctSpace/g,D).replace(/punct/g,R).getRegex(),Y=p(/\\(punct)/,"gu").replace(/punct/g,R).getRegex(),q=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),G=p(S).replace("(?:--\x3e|$)","--\x3e").getRegex(),Z=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),X=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,V=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",X).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Q=p(/^!?\[(label)\]\[(ref)\]/).replace("label",X).replace("ref",_).getRegex(),J=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",_).getRegex(),tt=p("reflink|nolink(?!\\()","g").replace("reflink",Q).replace("nolink",J).getRegex(),te=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,tr={_backpedal:h,anyPunctuation:Y,autolink:q,blockSkip:j,br:K,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:h,emStrongLDelim:U,emStrongRDelimAst:B,emStrongRDelimUnd:W,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:V,nolink:J,punctuation:I,reflink:Q,reflinkSearch:tt,tag:Z,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:h},tn={...tr,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",X).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X).getRegex()},ta={...tr,emStrongRDelimAst:H,emStrongLDelim:z,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",te).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",te).getRegex()},ti={...ta,br:p(K).replace("{2,}","*").getRegex(),text:p(ta.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},to={normal:C,gfm:O,pedantic:E},ts={normal:tr,gfm:ta,breaks:ti,pedantic:tn},tl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tc=t=>tl[t];function tu(t,e){if(e){if(f.escapeTest.test(t))return t.replace(f.escapeReplace,tc)}else if(f.escapeTestNoEncode.test(t))return t.replace(f.escapeReplaceNoEncode,tc);return t}function th(t){try{t=encodeURI(t).replace(f.percentDecode,"%")}catch{return null}return t}function tp(t,e){let r=t.replace(f.findPipe,(t,e,r)=>{let n=!1,a=e;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"}).split(f.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(f.slashPipe,"|");return r}function td(t,e,r){let n=t.length;if(0===n)return"";let a=0;for(;a<n;){let i=t.charAt(n-a-1);if(i!==e||r)if(i!==e&&r)a++;else break;else a++}return t.slice(0,n-a)}function tf(t,e,r,n,a){let i=e.href,o=e.title||null,s=t[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var tg=class{options;rules;lexer;constructor(t){this.options=t||u}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:td(t,`
3`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(null===n)return e;let a=n[1];return e.split(`
4`).map(t=>{let e=t.match(r.other.beginningSpace);if(null===e)return t;let[n]=e;return n.length>=a.length?t.slice(a.length):t}).join(`
5`)}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=td(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:td(e[0],`
6`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=td(e[0],`
7`).split(`
8`),r="",n="",a=[];for(;t.length>0;){let e=!1,i=[],o;for(o=0;o<t.length;o++)if(this.rules.other.blockquoteStart.test(t[o]))i.push(t[o]),e=!0;else if(e)break;else i.push(t[o]);t=t.slice(o);let s=i.join(`
9`),l=s.replace(this.rules.other.blockquoteSetextReplace,`
10    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
11${s}`:s,n=n?`${n}
12${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,a,!0),this.lexer.state.top=c,
120===t.length)break;let u=a.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let e=u.raw+`
13`+t.join(`
14`),i=this.blockquote(e);a[a.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-u.text.length)+i.text;break}if(u?.type==="list"){let e=u.raw+`
15`+t.join(`
16`),i=this.list(e);a[a.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-u.raw.length)+i.raw,t=e.substring(a.at(-1).raw.length).split(`
17`);continue}}return{type:"blockquote",raw:r,tokens:a,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),o=!1;for(;t;){let r=!1,n="",s="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;n=e[0],t=t.substring(n.length);let l=e[2].split(`
18`,1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),c=t.split(`
19`,1)[0],u=!l.trim(),h=0;if(this.options.pedantic?(h=2,s=l.trimStart()):u?h=e[1].length+1:(h=(h=e[2].search(this.rules.other.nonSpaceChar))>4?1:h,s=l.slice(h),h+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(n+=c+`
20`,t=t.substring(c.length+1),r=!0),!r){let e=this.rules.other.nextBulletRegex(h),r=this.rules.other.hrRegex(h),a=this.rules.other.fencesBeginRegex(h),i=this.rules.other.headingBeginRegex(h),o=this.rules.other.htmlBeginRegex(h);for(;t;){let p=t.split(`
21`,1)[0],d;if(c=p,d=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting,"  "):c.replace(this.rules.other.tabCharGlobal,"    "),a.test(c)||i.test(c)||o.test(c)||e.test(c)||r.test(c))break;if(d.search(this.rules.other.nonSpaceChar)>=h||!c.trim())s+=`
22`+d.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||a.test(l)||i.test(l)||r.test(l))break;s+=`
23`+c}u||c.trim()||(u=!0),n+=p+`
24`,t=t.substring(p.length+1),l=d.slice(h)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(o=!0));let p=null,d;this.options.gfm&&(p=this.rules.other.listIsTask.exec(s))&&(d="[ ] "!==p[0],s=s.replace(this.rules.other.listReplaceTask,"")),a.items.push({type:"list_item",raw:n,task:!!p,checked:d,loose:!1,text:s,tokens:[]}),a.raw+=n}let s=a.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),a.raw=a.raw.trimEnd();for(let t=0;t<a.items.length;t++)if(this.lexer.state.top=!1,a.items[t].tokens=this.lexer.blockTokens(a.items[t].text,[]),!a.loose){let e=a.items[t].tokens.filter(t=>"space"===t.type);a.loose=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw))}if(a.loose)for(let t=0;t<a.items.length;t++)a.items[t].loose=!0;return a}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:n}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let r=tp(e[1]),n=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
25`):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let t of n)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;t<r.length;t++)i.header.push({text:r[t],tokens:this.lexer.inline(r[t]),header:!0,align:i.align[t]});for(let t of a)i.rows.push(tp(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t=e[1].charAt(e[1].length-1)===`
26`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=td(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let n=0;n<t.length;n++)if("\\"===t[n])n++;else if("("===t[n])r++;else if(t[n]===e[1]&&--r<0)return n;return r>0?-2:-1}(e[2],"()");if(-2===t)return;if(t>-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(r);t&&(r=t[1],n=t[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?r.slice(1):r.slice(1,-1)),tf(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let t=e[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return tf(r,t,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,a,i,o=r,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(n=l.exec(e));){if(!(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(i=[...a].length,n[3]||n[4]){o+=i;continue}if((n[5]||n[6])&&r%3&&!((r+i)%3)){s+=i;continue}if((o-=i)>0)continue;i=Math.min(i,i+o+s);let e=[...n[0]][0].length,l=t.slice(0,r+n.index+e+i);if(Math.min(r,i)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(t),n=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return r&&n&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,r;return r="@"===e[2]?"mailto:"+(t=e[1]):t=e[1],{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])r="mailto:"+(t=e[0]);else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);t=e[0],r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},tm=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||u,this.options.tokenizer=this.options.tokenizer||new tg,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:f,block:to.normal,inline:ts.normal};this.options.pedantic?(e.block=to.pedantic,e.inline=ts.pedantic):this.options.gfm&&(e.block=to.gfm,this.options.breaks?e.inline=ts.breaks:e.inline=ts.gfm),this.tokenizer.rules=e}static get rules(){return{block:to,inline:ts}}static lex(e,r){return new t(r).lex(e)}static lexInline(e,r){return new t(r).inlineTokens(e)}lex(t){t=t.replace(f.carriageReturn,`
27`),this.blockTokens(t,this.tokens);for(let t=0;
27t<this.inlineQueue.length;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],r=!1){for(this.options.pedantic&&(t=t.replace(f.tabCharGlobal,"    ").replace(f.spaceLine,""));t;){let n;if(this.options.extensions?.block?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length);let r=e.at(-1);1===n.raw.length&&void 0!==r?r.raw+=`
28`:e.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
29`)?"":`
30`)+n.raw,r.text+=`
31`+n.text,this.inlineQueue.at(-1).src=r.text):e.push(n);continue}if((n=this.tokenizer.fences(t))||(n=this.tokenizer.heading(t))||(n=this.tokenizer.hr(t))||(n=this.tokenizer.blockquote(t))||(n=this.tokenizer.list(t))||(n=this.tokenizer.html(t))){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.def(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(`
32`)?"":`
33`)+n.raw,r.text+=`
34`+n.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},e.push(n));continue}if((n=this.tokenizer.table(t))||(n=this.tokenizer.lheading(t))){t=t.substring(n.raw.length),e.push(n);continue}let a=t;if(this.options.extensions?.startBlock){let e=1/0,r=t.slice(1),n;this.options.extensions.startBlock.forEach(t=>{"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(a=t.substring(0,e+1))}if(this.state.top&&(n=this.tokenizer.paragraph(a))){let i=e.at(-1);r&&i?.type==="paragraph"?(i.raw+=(i.raw.endsWith(`
35`)?"":`
36`)+n.raw,i.text+=`
37`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(n),r=a.length!==t.length,t=t.substring(n.raw.length);continue}if(n=this.tokenizer.text(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(`
38`)?"":`
39`)+n.raw,r.text+=`
40`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,n=t,a=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(n));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(n));)r=a[2]?a[2].length:0,n=n.slice(0,a.index+r)+"["+"a".repeat(a[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let i=!1,o="";for(;t;){let r;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if((r=this.tokenizer.escape(t))||(r=this.tokenizer.tag(t))||(r=this.tokenizer.link(t))){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===r.type&&n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,n,o))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t))||!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),e.push(r);continue}let a=t;if(this.options.extensions?.startInline){let e=1/0,r=t.slice(1),n;this.options.extensions.startInline.forEach(t=>{"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(a=t.substring(0,e+1))}if(r=this.tokenizer.inlineText(a)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),i=!0;let n=e.at(-1);n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},ty=class{options;parser;constructor(t){this.options=t||u}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(f.notSpaceStart)?.[0],a=t.replace(f.endingNewline,"")+`
41`;return n?'<pre><code class="language-'+tu(n)+'">'+(r?a:tu(a,!0))+`</code></pre>
42`:"<pre><code>"+(r?a:tu(a,!0))+`</code></pre>
43`}blockquote({tokens:t}){return`<blockquote>
44${this.parser.parse(t)}</blockquote>
45`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
46`}hr(t){return`<hr>
47`}list(t){let e=t.ordered,r=t.start,n="";for(let e=0;e<t.items.length;e++){let r=t.items[e];n+=this.listitem(r)}let a=e?"ol":"ul";return"<"+a+(e&&1!==r?' start="'+r+'"':"")+`>
48`+n+"</"+a+`>
49`}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+tu(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>
50`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
51`}table(t){let e="",r="";for(let e=0;e<t.header.length;e++)r+=this.tablecell(t.header[e]);e+=this.tablerow({text:r});let n="";for(let e=0;e<t.rows.length;e++){let a=t.rows[e];r="";for(let t=0;t<a.length;t++)r+=this.tablecell(a[t]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
52<thead>
53`+e+`</thead>
54`+n+`</table>
55`}tablerow({text:t}){return`<tr>
56${t}</tr>
57`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}>
58`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${tu(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:r}){let n=this.parser.parseInline(r),a=th(t);if(null===a)return n;let i='<a href="'+(t=a)+'"';return e&&(i+=' title="'+tu(e)+'"'),i+=">"+n+"</a>"}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=th(t);if(null===a)return tu(r);t=a;let i=`<img src="${t}" alt="${r}"`;return e&&(i+=` title="${tu(e)}"`),i+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:tu(t.text)}},tb=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},tx=class t{options;renderer;textRenderer;constructor(t){this.options=t||u,this.options.renderer=this.options.renderer||new ty,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tb}static parse(e,r){return new t(r).parse(e)}static parseInline(e,r){return new t(r).parseInline(e)}parse(t,e=!0){let r="";for(let n=0;n<t.length;n++){let a=t[n];if(this.options.extensions?.renderers?.[a.type]){let t=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(a.type)){r+=t||"";continue}}switch(a.type){case"space":r+=this.renderer.space(a);continue;case"hr":r+=this.renderer.hr(a);continue;case"heading":r+=this.renderer.heading(a);continue;case"code":r+=this.renderer.code(a);continue;case"table":r+=this.renderer.table(a);continue;case"blockquote":r+=this.renderer.blockquote(a);continue;case"list":r+=this.renderer.list(a);continue;case"html":r+=this.renderer.html(a);continue;case"def":r+=this.renderer.def(a);continue;
58case"paragraph":r+=this.renderer.paragraph(a);continue;case"text":{let i=a,o=this.renderer.text(i);for(;n+1<t.length&&"text"===t[n+1].type;)i=t[++n],o+=`
59`+this.renderer.text(i);e?r+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):r+=o;continue}default:{let t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return r}parseInline(t,e=this.renderer){let r="";for(let n=0;n<t.length;n++){let a=t[n];if(this.options.extensions?.renderers?.[a.type]){let t=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=t||"";continue}}switch(a.type){case"escape":case"text":r+=e.text(a);break;case"html":r+=e.html(a);break;case"link":r+=e.link(a);break;case"image":r+=e.image(a);break;case"strong":r+=e.strong(a);break;case"em":r+=e.em(a);break;case"codespan":r+=e.codespan(a);break;case"br":r+=e.br(a);break;case"del":r+=e.del(a);break;default:{let t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return r}},tk=class{options;block;constructor(t){this.options=t||u}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?tm.lex:tm.lexInline}provideParser(){return this.block?tx.parse:tx.parseInline}},t_=new class{defaults=c();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tx;Renderer=ty;TextRenderer=tb;Lexer=tm;Tokenizer=tg;Hooks=tk;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(let n of t)switch(r=r.concat(e.call(this,n)),n.type){case"table":for(let t of n.header)r=r.concat(this.walkTokens(t.tokens,e));for(let t of n.rows)for(let n of t)r=r.concat(this.walkTokens(n.tokens,e));break;case"list":r=r.concat(this.walkTokens(n.items,e));break;default:{let t=n;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(n=>{let a=t[n].flat(1/0);r=r.concat(this.walkTokens(a,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let n=t.renderer.apply(this,e);return!1===n&&(n=r.apply(this,e)),n}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new ty(this.defaults);for(let r in t.renderer){if(!(r in e))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=t.renderer[r],a=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new tg(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=t.tokenizer[r],a=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new tk;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=t.hooks[r],a=e[r];tk.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async&&tk.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(e,t);return a.call(e,r)})();let i=n.call(e,t);return a.call(e,i)}:e[r]=(...t)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(e,t);return!1===r&&(r=await a.apply(e,t)),r})();let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,n=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(n.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tm.lex(t,e??this.defaults)}parser(t,e){return tx.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(!0===this.defaults.async&&!1===n.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=t),a.async)return(async()=>{let r=a.hooks?await a.hooks.preprocess(e):e,n=await (a.hooks?await a.hooks.provideLexer():t?tm.lex:tm.lexInline)(r,a),i=a.hooks?await a.hooks.processAllTokens(n):n;a.walkTokens&&await Promise.all(this.walkTokens(i,a.walkTokens));let o=await (a.hooks?await a.hooks.provideParser():t?tx.parse:tx.parseInline)(i,a);return a.hooks?await a.hooks.postprocess(o):o})().catch(i);try{a.hooks&&(e=a.hooks.preprocess(e));let r=(a.hooks?a.hooks.provideLexer():t?tm.lex:tm.lexInline)(e,a);a.hooks&&(r=a.hooks.processAllTokens(r)),a.walkTokens&&this.walkTokens(r,a.walkTokens);let n=(a.hooks?a.hooks.provideParser():t?tx.parse:tx.parseInline)(r,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(t){return i(t)}}}onError(t,e){return r=>{if(r.message+=`
60Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error occurred:</p><pre>"+tu(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function tw(t,e){return t_.parse(t,e)}tw.options=tw.setOptions=function(t){return t_.setOptions(t),tw.defaults=t_.defaults,u=tw.defaults,tw},tw.getDefaults=c,tw.defaults=u,tw.use=function(...t){return t_.use(...t),tw.defaults=t_.defaults,u=tw.defaults,tw},tw.walkTokens=function(t,e){return t_.walkTokens(t,e)},tw.parseInline=t_.parseInline,tw.Parser=tx,tw.parser=tx.parse,tw.Renderer=ty,tw.TextRenderer=tb,tw.Lexer=tm,tw.lexer=tm.lex,tw.Tokenizer=tg,tw.Hooks=tk,tw.parse=tw,tw.options,tw.setOptions,tw.use,tw.walkTokens,tw.parseInline,tx.parse,tm.lex;var tv=r(86476);function tM(t,e){let{markdownAutoWrap:r}=e,n=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,tv.T)(n)}function tS(t){return t.split(/\\n|\n|<br\s*\/?>/gi).map(t=>{var e,r;return null!=(r=null==(e=t.trim().match(/<[^>]+>|[^\s<>]+/g))?void 0:e.map(t=>({content:t,type:"normal"})))?r:[]})}function tA(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=tM(t,e),n=tw.lexer(r),a=[[]],i=0;function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(i++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/&#39;/g,"'"))&&a[i].push({content:t,type:e})})}
60):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{o(e,t.type)}):"html"===t.type&&a[i].push({content:t.text,type:"normal"})}return(0,s.K)(o,"processNode"),n.forEach(t=>{if("paragraph"===t.type){var e;null==(e=t.tokens)||e.forEach(t=>{o(t)})}else"html"===t.type?a[i].push({content:t.text,type:"normal"}):a[i].push({content:t.raw,type:"normal"})}),a}function tT(t){return t?"<p>".concat(t.replace(/\\n|\n/g,"<br />"),"</p>"):""}function tC(t){let{markdownAutoWrap:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=tw.lexer(t);function n(t){var r,a,i;if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):t.text.replace(/\n */g,"<br/>");if("strong"===t.type)return"<strong>".concat(null==(r=t.tokens)?void 0:r.map(n).join(""),"</strong>");if("em"===t.type)return"<em>".concat(null==(a=t.tokens)?void 0:a.map(n).join(""),"</em>");if("paragraph"===t.type)return"<p>".concat(null==(i=t.tokens)?void 0:i.map(n).join(""),"</p>");if("space"===t.type)return"";else if("html"===t.type)return"".concat(t.text);else if("escape"===t.type)return t.text;return o.R.warn("Unsupported markdown: ".concat(t.type)),t.raw}return(0,s.K)(n,"output"),r.map(n).join("")}function tL(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tO(t,e){return tE(t,[],tL(e.content),e.type)}function tE(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];let[a,...i]=r,o=[...e,a];return t([{content:o.join(""),type:n}])?tE(t,o,i,n):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function tK(t,e){if(t.some(t=>{let{content:e}=t;return e.includes("\n")}))throw Error("splitLineToFitWidth does not support newlines in the line");return tR(t,e)}function tR(t,e){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(0===t.length)return a.length>0&&n.push(a),n.length>0?n:[];let i="";" "===t[0].content&&(i=" ",t.shift());let o=null!=(r=t.shift())?r:{content:" ",type:"normal"},s=[...a];if(""!==i&&s.push({content:i,type:"normal"}),s.push(o),e(s))return tR(t,e,n,s);if(a.length>0)n.push(a),t.unshift(o);else if(o.content){let[r,a]=tO(e,o);n.push([r]),a.content&&t.unshift(a)}return tR(t,e,n)}function tD(t,e){e&&t.attr("style",e)}async function tP(t,e,r,n){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:(0,i.zj)(),s=t.append("foreignObject");s.attr("width","".concat(Math.min(10*r,16384),"px")),s.attr("height","".concat(Math.min(10*r,16384),"px"));let l=s.append("xhtml:div"),c=(0,i.Wi)(e.label)?await (0,i.dj)(e.label.replace(i.Y2.lineBreakRegex,"\n"),o):(0,i.jZ)(e.label,o),u=e.isNode?"nodeLabel":"edgeLabel",h=l.append("span");h.html(c),tD(h,e.labelStyle),h.attr("class","".concat(u," ").concat(n)),tD(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),r!==1/0&&(l.style("max-width",r+"px"),l.style("text-align","center")),l.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&l.attr("class","labelBkg");let p=l.node().getBoundingClientRect();return p.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),p=l.node().getBoundingClientRect()),s.node()}function tI(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em");return n&&a.attr("text-anchor","middle"),a}function t$(t,e,r){let n=t.append("text"),a=tI(n,1,e);tz(a,r);let i=a.node().getComputedTextLength();return n.remove(),i}function tj(t,e,r){var n;let a=t.append("text"),i=tI(a,1,e);tz(i,[{content:r,type:"normal"}]);let o=null==(n=i.node())?void 0:n.getBoundingClientRect();return o&&a.remove(),o}function tN(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=e.append("g"),o=i.insert("rect").attr("class","background").attr("style","stroke: none"),l=i.append("text").attr("y","-10.1");a&&l.attr("text-anchor","middle");let c=0;for(let e of r){let r=(0,s.K)(e=>t$(i,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tK(e,r))tz(tI(l,c,1.1,a),t),c++}if(!n)return l.node();{let t=l.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),i.node()}}function tU(t){return t.replace(/&(amp|lt|gt);/g,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return t}})}function tz(t,e){t.text(""),e.forEach((e,r)=>{let n=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?n.text(tU(e.content)):n.text(" "+tU(e.content))})}async function tF(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,a,o)=>(r.push((async()=>{let r="".concat(a,":").concat(o);return await (0,n.dn)(r)?await (0,n.WY)(r,void 0,{class:"label-icon"}):"<i class='".concat((0,i.jZ)(t,e).replace(":"," "),"'></i>")})()),t));let a=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>{var t;return null!=(t=a.shift())?t:""})}(0,s.K)(tM,"preprocessMarkdown"),(0,s.K)(tS,"nonMarkdownToLines"),(0,s.K)(tA,"markdownToLines"),(0,s.K)(tT,"nonMarkdownToHTML"),(0,s.K)(tC,"markdownToHTML"),(0,s.K)(tL,"splitTextToChars"),(0,s.K)(tO,"splitWordToFitWidth"),(0,s.K)(tE,"splitWordToFitWidthRecursion"),(0,s.K)(tK,"splitLineToFitWidth"),(0,s.K)(tR,"splitLineToFitWidthRecursion"),(0,s.K)(tD,"applyStyle"),(0,s.K)(tP,"addHtmlSpan"),(0,s.K)(tI,"createTspan"),(0,s.K)(t$,"computeWidthOfText"),
60(0,s.K)(tj,"computeDimensionOfText"),(0,s.K)(tN,"createFormattedText"),(0,s.K)(tU,"decodeHTMLEntities"),(0,s.K)(tz,"updateTextContentAndStyles"),(0,s.K)(tF,"replaceIconSubstring");var tB=(0,s.K)(async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{style:r="",isTitle:n=!1,classes:s="",useHtmlLabels:c=!0,markdown:u=!0,isNode:h=!0,width:p=200,addSvgBackground:d=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0;if(o.R.debug("XYZ createText",e,r,n,s,c,h,"addSvgBackground: ",d),c){let n=u?tC(e,f):tT(e),o=await tF((0,a.Sm)(n),f),l=e.replace(/\\\\/g,"\\"),c={isNode:h,label:(0,i.Wi)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tP(t,c,p,s,d,f)}{let i=(0,a.Sm)(e.replace(/<br\s*\/?>/g,"<br/>")),o=tN(p,t,u?tA(i.replace("<br>","<br/>"),f):tS(i),!!e&&d,!h);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,l.Ltv)(o).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,l.Ltv)(o).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,l.Ltv)(o).select("text").attr("style",e)}return n?(0,l.Ltv)(o).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,l.Ltv)(o).selectAll("tspan.text-outer-tspan").classed("row",!0),o}},"createText")},10096:(t,e,r)=>{"use strict";r.d(e,{N:()=>a});var n=r(85519);function a(t){return null!==t&&"object"==typeof t&&"[object Arguments]"===(0,n.b)(t)}},12980:(t,e,r)=>{"use strict";function n(t,e,r){if(t&&t.length){let[n,a]=e,i=Math.PI/180*r,o=Math.cos(i),s=Math.sin(i);for(let e of t){let[t,r]=e;e[0]=(t-n)*o-(r-a)*s+n,e[1]=(t-n)*s+(r-a)*o+a}}}function a(t,e){var r;let a=e.hachureAngle+90,i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let o=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(o=i),function(t,e,r,a=1){let i=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)n(t,s,r);let l=function(t,e,r){let n=[];for(let e of t){var a,i;let t=[...e];a=t[0],i=t[t.length-1],a[0]===i[0]&&a[1]===i[1]||t.push([t[0][0],t[0][1]]),t.length>2&&n.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of n)for(let e=0;e<t.length-1;e++){let r=t[e],n=t[e+1];if(r[1]!==n[1]){let t=Math.min(r[1],n[1]);s.push({ymin:t,ymax:Math.max(r[1],n[1]),x:t===r[1]?r[0]:n[0],islope:(n[0]-r[0])/(n[1]-r[1])})}}if(s.sort((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],c=s[0].ymin,u=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;e<s.length&&!(s[e].ymin>c);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:c,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=c))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||u%e==0)&&l.length>1)for(let t=0;t<l.length;t+=2){let e=t+1;if(e>=l.length)break;let r=l[t].edge,n=l[e].edge;o.push([[Math.round(r.x),c],[Math.round(n.x),c]])}c+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),u++}return o}(o,i,a);if(r){for(let t of o)n(t,s,-r);let t=[];l.forEach(e=>t.push(...e)),n(t,s,-r)}return l}(t,i,a,o||1)}r.d(e,{A:()=>Z});class i{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let n of t)r.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends i{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let n=a(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),i=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(i),c=.5*r*Math.sin(i);for(let[t,e]of n)o([t,e])&&s.push([[t[0]-l,t[1]+c],[...e]],[[t[0]+l,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends i{fillPolygons(t,e){let r=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),a=this._fillPolygons(t,n);return r.ops=r.ops.concat(a.ops),r}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let a=e.fillWeight;a<0&&(a=e.strokeWidth/2);let i=n/4;for(let s of t){let t=o(s),l=Math.ceil(t/n)-1,c=t-l*n,u=(s[0][0]+s[1][0])/2-n/4,h=Math.min(s[0][1],s[1][1]);for(let t=0;t<l;t++){let o=u-i+2*Math.random()*i,s=h+c+t*n-i+2*Math.random()*i,l=this.helper.ellipse(o,s,a,a,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class u{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){let r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,a=[];return t.forEach(t=>{let i=o(t),s=Math.floor(i/(r+n)),l=(i+n-s*(r+n))/2,c=t[0],u=t[1];c[0]>u[0]&&(c=t[1],u=t[0]);let h=Math.atan((u[1]-c[1])/(u[0]-c[0]));for(let t=0;t<s;t++){let i=t*(r+n),o=i+r,s=[c[0]+i*Math.cos(h)+l*Math.cos(h),c[1]+i*Math.sin(h)+l*Math.sin(h)],u=[c[0]+o*Math.cos(h)+l*Math.cos(h),c[1]+o*Math.sin(h)+l*Math.sin(h)];a.push(...this.helper.doubleLineOps(s[0],s[1],u[0],u[1],e))}}),a}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,n=e.zigzagOffset<0?r:e.zigzagOffset,i=a(t,e=Object.assign({},e,{hachureGap:r+n}));return{type:"fillSketch",ops:this.zigzagLines(i,n,e)}}zigzagLines(t,e,r){let n=[];return t.forEach(t=>{let a=Math.round(o(t)/(2*e)),i=t[0],s=t[1];i[0]>s[0]&&(i=t[1],s=t[0]);let l=Math.atan((s[1]-i[1])/(s[0]-i[0]));for(let t=0;t<a;t++){let a=2*t*e,o=2*(t+1)*e,s=Math.sqrt(2*Math.pow(e,2)),c=[i[0]+a*Math.cos(l),i[1]+a*Math.sin(l)],u=[i[0]+o*Math.cos(l),i[1]+o*Math.sin(l)],h=[c[0]+s*Math.cos(l+Math.PI/4),c[1]+s*Math.sin(l+Math.PI/4)];n.push(...this.helper.doubleLineOps(c[0],c[1],h[0],h[1],r),...this.helper.doubleLineOps(h[0],h[1],u[0],u[1],r))}}),n}}let p={};class d{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;
60)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t),n="BOD",a=0,i=r[0];for(;2!==i.type;){let o=0,s=[];if("BOD"===n){if("M"!==i.text&&"m"!==i.text)return g("M0,0"+t);a++,o=f[i.text],n=i.text}else 1===i.type?o=f[n]:(a++,o=f[i.text],n=i.text);if(!(a+o<r.length))throw Error("Path data ended short");for(let t=a;t<a+o;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+n+","+e.text);s[s.length]=+e.text}if("number"!=typeof f[n])throw Error("Bad segment: "+n);{let t={key:n,data:s};e.push(t),a+=o,i=r[a],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function m(t){let e=0,r=0,n=0,a=0,i=[];for(let{key:o,data:s}of t)switch(o){case"M":i.push({key:"M",data:[...s]}),[e,r]=s,[n,a]=s;break;case"m":e+=s[0],r+=s[1],i.push({key:"M",data:[e,r]}),n=e,a=r;break;case"L":i.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],i.push({key:"L",data:[e,r]});break;case"C":i.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":i.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":i.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],i.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":i.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],i.push({key:"H",data:[e]});break;case"V":i.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],i.push({key:"V",data:[r]});break;case"S":i.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":i.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],i.push({key:"T",data:[e,r]});break;case"Z":case"z":i.push({key:"Z",data:[]}),e=n,r=a}return i}function y(t){let e=[],r="",n=0,a=0,i=0,o=0,s=0,l=0;for(let{key:c,data:u}of t){switch(c){case"M":e.push({key:"M",data:[...u]}),[n,a]=u,[i,o]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],a=u[5],s=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[n,a]=u;break;case"H":n=u[0],e.push({key:"L",data:[n,a]});break;case"V":a=u[0],e.push({key:"L",data:[n,a]});break;case"S":{let t=0,i=0;"C"===r||"S"===r?(t=n+(n-s),i=a+(a-l)):(t=n,i=a),e.push({key:"C",data:[t,i,...u]}),s=u[0],l=u[1],n=u[2],a=u[3];break}case"T":{let[t,i]=u,o=0,c=0;"Q"===r||"T"===r?(o=n+(n-s),c=a+(a-l)):(o=n,c=a);let h=n+2*(o-n)/3,p=a+2*(c-a)/3,d=t+2*(o-t)/3,f=i+2*(c-i)/3;e.push({key:"C",data:[h,p,d,f,t,i]}),s=o,l=c,n=t,a=i;break}case"Q":{let[t,r,i,o]=u,c=n+2*(t-n)/3,h=a+2*(r-a)/3,p=i+2*(t-i)/3,d=o+2*(r-o)/3;e.push({key:"C",data:[c,h,p,d,i,o]}),s=t,l=r,n=i,a=o;break}case"A":{let t=Math.abs(u[0]),r=Math.abs(u[1]),i=u[2],o=u[3],s=u[4],l=u[5],c=u[6];0===t||0===r?(e.push({key:"C",data:[n,a,l,c,l,c]}),n=l,a=c):(n!==l||a!==c)&&((function t(e,r,n,a,i,o,s,l,c,u){let h=Math.PI*s/180,p=[],d=0,f=0,g=0,m=0;if(u)[d,f,g,m]=u;else{[e,r]=b(e,r,-h),[n,a]=b(n,a,-h);let t=(e-n)/2,s=(r-a)/2,u=t*t/(i*i)+s*s/(o*o);u>1&&(i*=u=Math.sqrt(u),o*=u);let p=i*i,y=o*o,x=(l===c?-1:1)*Math.sqrt(Math.abs((p*y-p*s*s-y*t*t)/(p*s*s+y*t*t)));g=x*i*s/o+(e+n)/2,m=-(x*o)*t/i+(r+a)/2,d=Math.asin(parseFloat(((r-m)/o).toFixed(9))),f=Math.asin(parseFloat(((a-m)/o).toFixed(9))),e<g&&(d=Math.PI-d),n<g&&(f=Math.PI-f),d<0&&(d=2*Math.PI+d),f<0&&(f=2*Math.PI+f),c&&d>f&&(d-=2*Math.PI),!c&&f>d&&(f-=2*Math.PI)}let y=f-d;if(Math.abs(y)>120*Math.PI/180){let e=f,r=n,l=a;p=t(n=g+i*Math.cos(f=c&&f>d?d+120*Math.PI/180*1:d+-(120*Math.PI/180*1)),a=m+o*Math.sin(f),r,l,i,o,s,0,c,[f,e,g,m])}y=f-d;let x=Math.cos(d),k=Math.cos(f),_=Math.tan(y/4),w=4/3*i*_,v=4/3*o*_,M=[e,r],S=[e+w*Math.sin(d),r-v*x],A=[n+w*Math.sin(f),a-v*k],T=[n,a];if(S[0]=2*M[0]-S[0],S[1]=2*M[1]-S[1],u)return[S,A,T].concat(p);{p=[S,A,T].concat(p);let t=[];for(let e=0;e<p.length;
vendor: 5,585 bytes, line 60
60e+=3){let r=b(p[e][0],p[e][1],h),n=b(p[e+1][0],p[e+1][1],h),a=b(p[e+2][0],p[e+2][1],h);t.push([r[0],r[1],n[0],n[1],a[0],a[1]])}return t}})(n,a,l,c,t,r,i,o,s).forEach(function(t){e.push({key:"C",data:t})}),n=l,a=c);break}case"Z":e.push({key:"Z",data:[]}),n=i,a=o}r=c}return e}function b(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}let x={randOffset:function(t,e){return K(t,e)},randOffsetWithRange:function(t,e,r){return E(t,e,r)},ellipse:function(t,e,r,n,a){let i=v(r,n,a);return M(t,e,a,i).opset},doubleLineOps:function(t,e,r,n,a){return R(t,e,r,n,a,!0)}};function k(t,e,r,n,a){return{type:"path",ops:R(t,e,r,n,a)}}function _(t,e,r){let n=(t||[]).length;if(n>2){let a=[];for(let e=0;e<n-1;e++)a.push(...R(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...R(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===n?k(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function w(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,n=P(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:P(r[0],1.5*(1+.22*e.roughness),L(e));for(let t=1;t<r.length;t++){let i=r[t];if(i.length){let t=P(i,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:P(i,1.5*(1+.22*e.roughness),L(e));for(let e of t)"move"!==e.op&&n.push(e);for(let t of r)"move"!==t.op&&a.push(t)}}return{type:"path",ops:n.concat(a)}}return{type:"path",ops:[]}}function v(t,e,r){let n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),a=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),i=Math.abs(t/2),o=Math.abs(e/2),s=1-r.curveFitting;return i+=K(i*s,r),o+=K(o*s,r),{increment:a,rx:i,ry:o}}function M(t,e,r,n){let[a,i]=$(n.increment,t,e,n.rx,n.ry,1,n.increment*E(.1,E(.4,1,r),r),r),o=I(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=$(n.increment,t,e,n.rx,n.ry,1.5,0,r),i=I(a,null,r);o=o.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:o}}}function S(t,e,r,n,a,i,o,s,l){let c=Math.abs(r/2),u=Math.abs(n/2);c+=K(.01*c,l),u+=K(.01*u,l);let h=a,p=i;for(;h<0;)h+=2*Math.PI,p+=2*Math.PI;p-h>2*Math.PI&&(h=0,p=2*Math.PI);let d=Math.min(2*Math.PI/l.curveStepCount/2,(p-h)/2),f=j(d,t,e,c,u,h,p,1,l);if(!l.disableMultiStroke){let r=j(d,t,e,c,u,h,p,1.5,l);f.push(...r)}return o&&(s?f.push(...R(t,e,t+c*Math.cos(h),e+u*Math.sin(h),l),...R(t,e,t+c*Math.cos(p),e+u*Math.sin(p),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+c*Math.cos(h),e+u*Math.sin(h)]})),{type:"path",ops:f}}function A(t,e){let r=y(m(g(t))),n=[],a=[0,0],i=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":i=[o[0],o[1]],a=[o[0],o[1]];break;case"L":n.push(...R(i[0],i[1],o[0],o[1],e)),i=[o[0],o[1]];break;case"C":{let[t,r,a,s,l,c]=o;n.push(...function(t,e,r,n,a,i,o,s){let l=[],c=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],u=[0,0],h=s.disableMultiStroke?1:2,p=s.preserveVertices;for(let d=0;d<h;d++)0===d?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(p?0:K(c[0],s)),o[1]+(p?0:K(c[0],s))]}),u=p?[a,i]:[a+K(c[d],s),i+K(c[d],s)],l.push({op:"bcurveTo",data:[t+K(c[d],s),e+K(c[d],s),r+K(c[d],s),n+K(c[d],s),u[0],u[1]]});return l}(t,r,a,s,l,c,i,e)),i=[l,c];break}case"Z":n.push(...R(i[0],i[1],a[0],a[1],e)),i=[a[0],a[1]]}return{type:"path",ops:n}}function T(t,e){let r=[];for(let n of t)if(n.length){let t=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+K(t,e),n[0][1]+K(t,e)]});for(let i=1;i<a;i++)r.push({op:"lineTo",data:[n[i][0]+K(t,e),n[i][1]+K(t,e)]})}}return{type:"fillPath",ops:r}}function C(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!p[r])switch(r){case"zigzag":p[r]||(p[r]=new s(e));break;case"cross-hatch":p[r]||(p[r]=new l(e));break;case"dots":p[r]||(p[r]=new c(e));break;case"dashed":p[r]||(p[r]=new u(e));break;case"zigzag-line":p[r]||(p[r]=new h(e));break;default:p[r="hachure"]||(p[r]=new i(e))}return p[r]})(e,x).fillPolygons(t,e)}function L(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function O(t){return t.randomizer||(t.randomizer=new d(t.seed||0)),t.randomizer.next()}function E(t,e,r,n=1){return r.roughness*n*(O(r)*(e-t)+t)}function K(t,e,r=1){return E(-t,t,e,r)}function R(t,e,r,n,a,i=!1){let o=i?a.disableMultiStrokeFill:a.disableMultiStroke,s=D(t,e,r,n,a,!0,!1);if(o)return s;let l=D(t,e,r,n,a,!0,!0);return s.concat(l)}function D(t,e,r,n,a,i,o){let s=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(s),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let u=a.maxRandomnessOffset||0;u*u*100>s&&(u=l/10);let h=u/2,p=.2+.2*O(a),d=a.bowing*a.maxRandomnessOffset*(n-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;d=K(d,a,c),f=K(f,a,c);let g=[],m=()=>K(h,a,c),y=()=>K(u,a,c),b=a.preserveVertices;return i&&(o?g.push({op:"move",data:[t+(b?0:m()),e+(b?0:m())]}):g.push({op:"move",data:[t+(b?0:K(u,a,c)),e+(b?0:K(u,a,c))]})),o?g.push({op:"bcurveTo",data:[d+t+(r-t)*p+m(),f+e+(n-e)*p+m(),d+t+2*(r-t)*p+m(),f+e+2*(n-e)*p+m(),r+(b?0:m()),n+(b?0:m())]}):g.push({op:"bcurveTo",data:[d+t+(r-t)*p+y(),f+e+(n-e)*p+y(),d+t+2*(r-t)*p+y(),f+e+2*(n-e)*p+y(),r+(b?0:y()),n+(b?0:y())]}),g}function P(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+K(e,r),t[0][1]+K(e,r)]),n.push([t[0][0]+K(e,r),t[0][1]+K(e,r)]);for(let a=1;a<t.length;a++)n.push([t[a][0]+K(e,r),t[a][1]+K(e,r)]),a===t.length-1&&n.push([t[a][0]+K(e,r),t[a][1]+K(e,r)]);return I(n,null,r)}function I(t,e,r){let n=t.length,a=[];if(n>3){let i=[],o=1-r.curveTightness;a.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){let r=t[e];i[0]=[r[0],r[1]],i[1]=[r[0]+(o*t[e+1][0]-o*t[e-1][0])/6,r[1]+(o*t[e+1][1]-o*t[e-1][1])/6],i[2]=[t[e+1][
600]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],i[3]=[t[e+1][0],t[e+1][1]],a.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;a.push({op:"lineTo",data:[e[0]+K(t,r),e[1]+K(t,r)]})}}else 3===n?(a.push({op:"move",data:[t[1][0],t[1][1]]}),a.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&a.push(...D(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function $(t,e,r,n,a,i,o,s){let l=[],c=[];if(0===s.roughness){t/=4,c.push([e+n*Math.cos(-t),r+a*Math.sin(-t)]);for(let i=0;i<=2*Math.PI;i+=t){let t=[e+n*Math.cos(i),r+a*Math.sin(i)];l.push(t),c.push(t)}c.push([e+ +n,r+0*a]),c.push([e+n*Math.cos(t),r+a*Math.sin(t)])}else{let u=K(.5,s)-Math.PI/2;c.push([K(i,s)+e+.9*n*Math.cos(u-t),K(i,s)+r+.9*a*Math.sin(u-t)]);let h=2*Math.PI+u-.01;for(let o=u;o<h;o+=t){let t=[K(i,s)+e+n*Math.cos(o),K(i,s)+r+a*Math.sin(o)];l.push(t),c.push(t)}c.push([K(i,s)+e+n*Math.cos(u+2*Math.PI+.5*o),K(i,s)+r+a*Math.sin(u+2*Math.PI+.5*o)]),c.push([K(i,s)+e+.98*n*Math.cos(u+o),K(i,s)+r+.98*a*Math.sin(u+o)]),c.push([K(i,s)+e+.9*n*Math.cos(u+.5*o),K(i,s)+r+.9*a*Math.sin(u+.5*o)])}return[c,l]}function j(t,e,r,n,a,i,o,s,l){let c=i+K(.1,l),u=[];u.push([K(s,l)+e+.9*n*Math.cos(c-t),K(s,l)+r+.9*a*Math.sin(c-t)]);for(let i=c;i<=o;i+=t)u.push([K(s,l)+e+n*Math.cos(i),K(s,l)+r+a*Math.sin(i)]);return u.push([e+n*Math.cos(o),r+a*Math.sin(o)]),u.push([e+n*Math.cos(o),r+a*Math.sin(o)]),I(u,null,l)}function N(t,e=0){let r=t.length;if(r<3)throw Error("A curve must have at least three points.");let n=[];if(3===r)n.push([...t[0]],[...t[1]],[...t[2]],[...t[2]]);else{let r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);let a=[],i=1-e;n.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];a[0]=[e[0],e[1]],a[1]=[e[0]+(i*r[t+1][0]-i*r[t-1][0])/6,e[1]+(i*r[t+1][1]-i*r[t-1][1])/6],a[2]=[r[t+1][0]+(i*r[t][0]-i*r[t+2][0])/6,r[t+1][1]+(i*r[t][1]-i*r[t+2][1])/6],a[3]=[r[t+1][0],r[t+1][1]],n.push(a[1],a[2],a[3])}}return n}function U(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function z(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function F(t,e,r,n,a){let i=a||[],o=t[e],s=t[r-1],l=0,c=1;for(let n=e+1;n<r-1;++n){let e=function(t,e,r){let n=U(e,r);if(0===n)return U(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return U(t,z(e,r,a=Math.max(0,Math.min(1,a))))}(t[n],o,s);e>l&&(l=e,c=n)}return Math.sqrt(l)>n?(F(t,e,c+1,n,i),F(t,c,r,n,i)):(i.length||i.push(o),i.push(s)),i}function B(t,e=.15,r){let n=[],a=(t.length-1)/3;for(let r=0;r<a;r++)!function t(e,r,n,a){let i=a||[];if(function(t,e){let r=t[e+0],n=t[e+1],a=t[e+2],i=t[e+3],o=3*n[0]-2*r[0]-i[0];o*=o;let s=3*n[1]-2*r[1]-i[1];s*=s;let l=3*a[0]-2*i[0]-r[0];l*=l;let c=3*a[1]-2*i[1]-r[1];return c*=c,o<l&&(o=l),s<c&&(s=c),o+s}(e,r)<n){let t=e[r+0];i.length?Math.sqrt(U(i[i.length-1],t))>1&&i.push(t):i.push(t),i.push(e[r+3])}else{let a=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],c=z(a,o,.5),u=z(o,s,.5),h=z(s,l,.5),p=z(c,u,.5),d=z(u,h,.5),f=z(p,d,.5);t([a,c,p,f],0,n,i),t([f,d,h,l],0,n,i)}return i}(t,3*r,e,n);return r&&r>0?F(n,0,n.length,r):n}let H="none";class W{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,n,a){let i=this._o(a);return this._d("line",[k(t,e,r,n,i)],i)}rectangle(t,e,r,n,a){var i,o,s,l;let c=this._o(a),u=[],h=_([[i=t,o=e],[i+(s=r),o],[i+s,o+(l=n)],[i,o+l]],!0,c);if(c.fill){let a=[[t,e],[t+r,e],[t+r,e+n],[t,e+n]];"solid"===c.fillStyle?u.push(T([a],c)):u.push(C([a],c))}return c.stroke!==H&&u.push(h),this._d("rectangle",u,c)}ellipse(t,e,r,n,a){let i=this._o(a),o=[],s=v(r,n,i),l=M(t,e,i,s);if(i.fill)if("solid"===i.fillStyle){let r=M(t,e,i,s).opset;r.type="fillPath",o.push(r)}else o.push(C([l.estimatedPoints],i));return i.stroke!==H&&o.push(l.opset),this._d("ellipse",o,i)}circle(t,e,r,n){let a=this.ellipse(t,e,r,r,n);return a.shape="circle",a}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[_(t,!1,r)],r)}arc(t,e,r,n,a,i,o=!1,s){let l=this._o(s),c=[],u=S(t,e,r,n,a,i,o,!0,l);if(o&&l.fill)if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=S(t,e,r,n,a,i,!0,!1,o);s.type="fillPath",c.push(s)}else c.push(function(t,e,r,n,a,i,o){let s=Math.abs(r/2),l=Math.abs(n/2);s+=K(.01*s,o),l+=K(.01*l,o);let c=a,u=i;for(;c<0;)c+=2*Math.PI,u+=2*Math.PI;u-c>2*Math.PI&&(c=0,u=2*Math.PI);let h=(u-c)/o.curveStepCount,p=[];for(let r=c;r<=u;r+=h)p.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return p.push([t+s*Math.cos(u),e+l*Math.sin(u)]),p.push([t,e]),C([p],o)}(t,e,r,n,a,i,l));
60return l.stroke!==H&&c.push(u),this._d("arc",c,l)}curve(t,e){let r=this._o(e),n=[],a=w(t,r);if(r.fill&&r.fill!==H)if("solid"===r.fillStyle){let e=w(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let n of"number"==typeof t[0][0]?[t]:t)n.length<3?e.push(...n):3===n.length?e.push(...B(N([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...B(N(n),10,(1+r.roughness)/2));e.length&&n.push(C([e],r))}return r.stroke!==H&&n.push(a),this._d("curve",n,r)}polygon(t,e){let r=this._o(e),n=[],a=_(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(T([t],r)):n.push(C([t],r))),r.stroke!==H&&n.push(a),this._d("polygon",n,r)}path(t,e){let r=this._o(e),n=[];if(!t)return this._d("path",n,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=r.fill&&"transparent"!==r.fill&&r.fill!==H,i=r.stroke!==H,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let n=y(m(g(t))),a=[],i=[],o=[0,0],s=[],l=()=>{s.length>=4&&i.push(...B(s,1)),s=[]},c=()=>{l(),i.length&&(a.push(i),i=[])};for(let{key:t,data:e}of n)switch(t){case"M":c(),o=[e[0],e[1]],i.push(o);break;case"L":l(),i.push([e[0],e[1]]);break;case"C":if(!s.length){let t=i.length?i[i.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),i.push([o[0],o[1]])}if(c(),!r)return a;let u=[];for(let t of a){let e=F(t,0,t.length,r);e.length&&u.push(e)}return u}(t,0,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=A(t,r);if(a)if("solid"===r.fillStyle)if(1===s.length){let e=A(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(T(s,r));else n.push(C(s,r));return i&&(o?s.forEach(t=>{n.push(_(t,!1,r))}):n.push(l)),this._d("path",n,r)}opsToPath(t,e){let r="";for(let n of t.ops){let t="number"==typeof e&&e>=0?n.data.map(t=>+t.toFixed(e)):n.data;switch(n.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,n=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:H};break;case"fillPath":e={d:this.opsToPath(t),stroke:H,strokeWidth:0,fill:r.fill||H};break;case"fillSketch":e=this.fillSketch(t,r)}e&&n.push(e)}return n}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||H,strokeWidth:r,fill:H}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class Y{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new W(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.ctx,a=t.options.fixedDecimalPlaceDigits;for(let i of e)switch(i.type){case"path":n.save(),n.strokeStyle="none"===r.stroke?"transparent":r.stroke,n.lineWidth=r.strokeWidth,r.strokeLineDash&&n.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(n.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(n,i,a),n.restore();break;case"fillPath":{n.save(),n.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,i,a,e),n.restore();break}case"fillSketch":this.fillSketch(n,i,r)}}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=n,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,n="nonzero"){for(let n of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?n.data.map(t=>+t.toFixed(r)):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,n,a){let i=this.gen.line(t,e,r,n,a);return this.draw(i),i}rectangle(t,e,r,n,a){let i=this.gen.rectangle(t,e,r,n,a);return this.draw(i),i}ellipse(t,e,r,n,a){let i=this.gen.ellipse(t,e,r,n,a);return this.draw(i),i}circle(t,e,r,n){let a=this.gen.circle(t,e,r,n);return this.draw(a),a}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,n,a,i,o=!1,s){let l=this.gen.arc(t,e,r,n,a,i,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let q="http://www.w3.org/2000/svg";class G{constructor(t,e){this.svg=t,this.gen=new W(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,a=n.createElementNS(q,"g"),i=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=n.createElementNS(q,"path")).setAttribute("d",this.opsToPath(o,i)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=n.createElementNS(q,"path")).setAttribute("d",this.opsToPath(o,i)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,o,r)}e&&a.appendChild(e)}return a}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2);let a=t.createElementNS(q,"path");return a.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),a.setAttribute("stroke",r.fill||""),a.setAttribute("stroke-width",n+""),a.setAttribute("fill","none"),r.fillLineDash&&a.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,n,a){let i=this.gen.line(t,e,r,n,a);return this.draw(i)}rectangle(t,e,r,n,a){let i=this.gen.rectangle(t,e,r,n,a);return this.draw(i)}ellipse(t,e,r,n,a){let i=this.gen.ellipse(t,e,r,n,a);return this.draw(i)}circle(t,e,r,n){let a=this.gen.circle(t,e,r,n);return this.draw(a)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,n,a,i,o=!1,s){let l=this.gen.arc(t,e,r,n,a,i,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var Z={canvas:(t,e)=>new Y(t,e),svg:(t,e)=>new G(t,e),generator:t=>new W(t),newSeed:()=>W.newSeed()}},13588:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",a="week",i="month",o="quarter",s="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
60|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},d="en",f={};f[d]={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(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof k||!(!t||!t[g])},y=function t(e,r,n){var a;if(!e)return d;if("string"==typeof e){var i=e.toLowerCase();f[i]&&(a=i),r&&(f[i]=r,a=i);var o=e.split("-");if(!a&&o.length>1)return t(o[0])}else{var s=e.name;f[s]=e,a=s}return!n&&a&&(d=a),a||!n&&d},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},x={s:p,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+p(Math.floor(r/60),2,"0")+":"+p(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(n,i),o=r-a<0,s=e.clone().add(n+(o?-1:1),i);return+(-(n+(r-a)/(o?a-s:s-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:i,y:s,w:a,d:"day",D:l,h:n,m:r,s:e,ms:t,Q:o})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=y,x.i=m,x.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function p(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var d=p.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(u);if(n){var a=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return x},d.isValid=function(){return this.$d.toString()!==c},d.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},d.isAfter=function(t,e){return b(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<b(t)},d.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,o){var c=this,u=!!x.u(o)||o,h=x.p(t),p=function(t,e){var r=x.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return u?r:r.endOf("day")},d=function(t,e){return x.w(c.toDate()[t].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},f=this.$W,g=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case s:return u?p(1,0):p(31,11);case i:return u?p(1,g):p(0,g+1);case a:var b=this.$locale().weekStart||0,k=(f<b?f+7:f)-b;return p(u?m-k:m+(6-k),g);case"day":case l:return d(y+"Hours",0);case n:return d(y+"Minutes",1);case r:return d(y+"Seconds",2);case e:return d(y+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(a,o){var c,u=x.p(a),h="set"+(this.$u?"UTC":""),p=((c={}).day=h+"Date",c[l]=h+"Date",c[i]=h+"Month",c[s]=h+"FullYear",c[n]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[u],d="day"===u?this.$D+(o-this.$W):o;if(u===i||u===s){var f=this.clone().set(l,1);f.$d[p](d),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[x.p(t)]()},d.add=function(t,o){var l,c=this;t=Number(t);var u=x.p(o),h=function(e){var r=b(c);return x.w(r.date(r.date()+Math.round(e*t)),c)};if(u===i)return this.set(i,this.$M+t);if(u===s)return this.set(s,this.$y+t);if("day"===u)return h(1);if(u===a)return h(7);var p=((l={})[r]=6e4,l[n]=36e5,l[e]=1e3,l)[u]||1,d=this.$d.getTime()+t*p;return x.w(d,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=t||"YYYY-MM-DDTHH:mm:ssZ",a=x.z(this),i=this.$H,o=this.$m,s=this.$M,l=r.weekdays,u=r.months,p=r.meri
60diem,d=function(t,r,a,i){return t&&(t[r]||t(e,n))||a[r].slice(0,i)},f=function(t){return x.s(i%12||12,t,"0")},g=p||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(h,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return x.s(e.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,l,2);case"ddd":return d(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(i);case"HH":return x.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(i,o,!0);case"A":return g(i,o,!1);case"m":return String(o);case"mm":return x.s(o,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(t,l,c){var u,h=this,p=x.p(l),d=b(t),f=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,m=function(){return x.m(h,d)};switch(p){case s:u=m()/12;break;case i:u=m();break;case o:u=m()/3;break;case a:u=(g-f)/6048e5;break;case"day":u=(g-f)/864e5;break;case n:u=g/36e5;break;case r:u=g/6e4;break;case e:u=g/1e3;break;default:u=g}return c?u:x.a(u)},d.daysInMonth=function(){return this.endOf(i).$D},d.$locale=function(){return f[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=y(t,e,!0);return n&&(r.$L=n),r},d.clone=function(){return x.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},p}(),_=k.prototype;return b.prototype=_,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",s],["$D",l]].forEach(function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,k,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[d],b.Ls=f,b.p={},b}()},14002:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>u,GX:()=>c,KX:()=>l,WW:()=>o,ue:()=>i});var n=r(42305),a=r(75103),i=(0,a.K)(t=>{let{handDrawnSeed:e}=(0,n.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),o=(0,a.K)(t=>{let e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,a.K)(t=>{let e=new Map;return t.forEach(t=>{let[r,n]=t.split(":");e.set(r.trim(),null==n?void 0:n.trim())}),e},"styles2Map"),l=(0,a.K)(t=>"color"===t||"font-size"===t||"font-family"===t||"font-weight"===t||"font-style"===t||"text-decoration"===t||"text-align"===t||"text-transform"===t||"line-height"===t||"letter-spacing"===t||"word-spacing"===t||"text-shadow"===t||"text-overflow"===t||"white-space"===t||"word-wrap"===t||"word-break"===t||"overflow-wrap"===t||"hyphens"===t,"isLabelStyle"),c=(0,a.K)(t=>{let{stylesArray:e}=o(t),r=[],n=[],a=[],i=[];return e.forEach(t=>{let e=t[0];l(e)?r.push(t.join(":")+" !important"):(n.push(t.join(":")+" !important"),e.includes("stroke")&&a.push(t.join(":")+" !important"),"fill"===e&&i.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:a,backgroundStyles:i}},"styles2String"),u=(0,a.K)((t,e)=>{var r;let{themeVariables:a,handDrawnSeed:i}=(0,n.D7)(),{nodeBorder:s,mainBkg:l}=a,{stylesMap:c}=o(t);return Object.assign({roughness:.7,fill:c.get("fill")||l,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:c.get("stroke")||s,seed:i,strokeWidth:(null==(r=c.get("stroke-width"))?void 0:r.replace("px",""))||1.3,fillLineDash:[0,0],strokeLineDash:h(c.get("stroke-dasharray"))},e)},"userNodeOverrides"),h=(0,a.K)(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(1===e.length){let t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},15841:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(19608),a=r(91226);let i={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(i.re);if(!e)return;let r=e[1],a=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,c=l?1:17,u=l?8:4,h=s?0:-1,p=l?255:15;return n.A.set({r:(a>>u*(h+3)&p)*c,g:(a>>u*(h+2)&p)*c,b:(a>>u*(h+1)&p)*c,a:s?(a&p)*c/255:1},t)},stringify:t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(n)]}${a.Y[Math.round(255*i)]}`:`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(n)]}`}};var o=r(39344);let s={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:t=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.A.channel.clamp.h(.9*parseFloat(t));case"rad":return o.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.A.channel.clamp.h(360*parseFloat(t))}}return o.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,a,i,l,c,u]=r;return n.A.set({h:s._hue2deg(a),s:o.A.channel.clamp.s(parseFloat(i)),l:o.A.channel.clamp.l(parseFloat(l)),a:c?o.A.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{h:e,s:r,l:n,a}=t;return a<1?`hsla(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(n)}%, ${a})`:`hsl(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(n)}%)`}},l={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",s
60almon:"#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:t=>{t=t.toLowerCase();let e=l.colors[t];if(e)return i.parse(e)},stringify:t=>{let e=i.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},c={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:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(c.re);if(!r)return;let[,a,i,s,l,u,h,p,d]=r;return n.A.set({r:o.A.channel.clamp.r(i?2.55*parseFloat(a):parseFloat(a)),g:o.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.A.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:p?o.A.channel.clamp.a(d?parseFloat(p)/100:parseFloat(p)):1},t)},stringify:t=>{let{r:e,g:r,b:n,a}=t;return a<1?`rgba(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(n)}, ${o.A.lang.round(a)})`:`rgb(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(n)})`}},u={format:{keyword:l,hex:i,rgb:c,rgba:c,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=i.parse(t)||c.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(a.Z.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?i.stringify(t):c.stringify(t)}},18373:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39344),a=r(15841);let i=t=>!((t=>{let{r:e,g:r,b:i}=a.A.parse(t),o=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(i);return n.A.lang.round(o)})(t)>=.5)},19608:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(39344),a=r(91226);class i{constructor(){this.type=a.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=a.Z.ALL}is(t){return this.type===t}}class o{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new i}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:a}=t;void 0===e&&(t.h=n.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=n.A.channel.rgb2hsl(t,"s")),void 0===a&&(t.l=n.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:a}=t;void 0===e&&(t.r=n.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=n.A.channel.hsl2rgb(t,"g")),void 0===a&&(t.b=n.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let s=new o({r:0,g:0,b:0,a:0},"transparent")},28106:(t,e,r)=>{"use strict";r.d(e,{IU:()=>_,Jo:()=>D,T_:()=>S,UQ:()=>k,g0:()=>to,jP:()=>v,lP:()=>x});var n=r(63856),a=r(14002),i=r(29777),o=r(57197),s=r(9206),l=r(48836),c=r(42305),u=r(71785),h=r(75103),p=r(88395),d=r(12980),f=(0,h.K)(function(t,e,r,n,a){let i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6?arguments[6]:void 0;e.arrowTypeStart&&y(t,"start",e.arrowTypeStart,r,n,a,i,o),e.arrowTypeEnd&&y(t,"end",e.arrowTypeEnd,r,n,a,i,o)},"addEdgeMarkers"),g={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1}
60,one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},m=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],y=(0,h.K)(function(t,e,r,n,a,i){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=g[r],c=l&&m.includes(l.type);if(!l)return void u.R.warn("Unknown arrow type: ".concat(r));let h=l.type,p="".concat(a,"_").concat(i,"-").concat(h).concat("start"===e?"Start":"End").concat(o&&c?"-margin":"");if(s&&""!==s.trim()){let r=s.replace(/[^\dA-Za-z]/g,"_"),a="".concat(p,"_").concat(r);if(!document.getElementById(a)){let t=document.getElementById(p);if(t){var d;let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",s),l.fill&&t.setAttribute("fill",s)}),null==(d=t.parentNode)||d.appendChild(e)}}t.attr("marker-".concat(e),"url(".concat(n,"#").concat(a,")"))}else t.attr("marker-".concat(e),"url(".concat(n,"#").concat(p,")"))},"addEdgeMarker"),b=(0,h.K)(t=>{var e,r;return"string"==typeof t?t:null==(r=(0,c.D7)())||null==(e=r.flowchart)?void 0:e.curve},"resolveEdgeCurveType"),x=new Map,k=new Map,_=(0,h.K)(()=>{x.clear(),k.clear()},"clear"),w=(0,h.K)(t=>t?"string"==typeof t?t:t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),v=(0,h.K)(async(t,e)=>{let r,o=(0,c.D7)(),l=(0,c.E)(o),{labelStyles:h}=(0,a.GX)(e);e.labelStyle=h;let d=t.insert("g").attr("class","edgeLabel"),f=d.insert("g").attr("class","label").attr("data-id",e.id),g="markdown"===e.labelType,m=await (0,s.G)(t,e.label,{style:w(e.labelStyle),useHtmlLabels:l,addSvgBackground:!0,isNode:!1,markdown:g,width:void 0},o);f.node().appendChild(m),u.R.info("abc82",e,e.labelType);let y=m.getBBox(),b=y;if(l){let t=m.children[0],e=(0,p.Ltv)(m);b=y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}else{let t=(0,p.Ltv)(m).select("text").node();t&&"function"==typeof t.getBBox&&(b=t.getBBox())}if(f.attr("transform",(0,i.Wg)(b,l)),x.set(e.id,d),e.width=y.width,e.height=y.height,e.startLabelLeft){let a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner"),s=await (0,n.DA)(o,e.startLabelLeft,w(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,p.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,i.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).startLeft=a,M(r,e.startLabelLeft)}if(e.startLabelRight){let a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner"),s=await (0,n.DA)(o,e.startLabelRight,w(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,p.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,i.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).startRight=a,M(r,e.startLabelRight)}if(e.endLabelLeft){let a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner"),s=await (0,n.DA)(a,e.endLabelLeft,w(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,p.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,i.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).endLeft=a,M(r,e.endLabelLeft)}if(e.endLabelRight){let a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner"),s=await (0,n.DA)(a,e.endLabelRight,w(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,p.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,i.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).endRight=a,M(r,e.endLabelRight)}return m},"insertEdgeLabel");function M(t,e){(0,c.E)((0,c.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,h.K)(M,"setTerminalWidth");var S=(0,h.K)((t,e)=>{u.R.debug("Moving label abc88 ",t.id,t.label,x.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=(0,c.D7)(),{subGraphTitleTotalMargin:a}=(0,o.O)(n);if(t.label){let n=x.get(t.id),i=t.x,o=t.y;if(r){let n=l._K.calcLabelPosition(r);u.R.debug("Moving label "+t.label+" from (",i,",",o,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(i=n.x,o=n.y)}n.attr("transform","translate(".concat(i,", ").concat(o+a/2,")"))}if(t.startLabelLeft){let e=k.get(t.id).startLeft,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
60n=e.x,a=e.y}e.attr("transform","translate(".concat(n,", ").concat(a,")"))}if(t.startLabelRight){let e=k.get(t.id).startRight,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);n=e.x,a=e.y}e.attr("transform","translate(".concat(n,", ").concat(a,")"))}if(t.endLabelLeft){let e=k.get(t.id).endLeft,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);n=e.x,a=e.y}e.attr("transform","translate(".concat(n,", ").concat(a,")"))}if(t.endLabelRight){let e=k.get(t.id).endRight,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,a=e.y}e.attr("transform","translate(".concat(n,", ").concat(a,")"))}},"positionEdgeLabel"),A=(0,h.K)((t,e)=>{var r;if(!(null==t?void 0:t.isLabelEdge)||!(null==t||null==(r=t.id)?void 0:r.endsWith("-to-label"))||!Array.isArray(e)||2!==e.length)return e;let[n,a]=e,i=Math.abs(a.x-n.x),o=Math.abs(a.y-n.y);return i<.001||o<.001?e:o>=i?[n,{x:n.x,y:a.y},a]:[n,{x:a.x,y:n.y},a]},"orthogonalizeToLabelClippedPoints"),T=(0,h.K)((t,e)=>{let r=t.x,n=t.y,a=Math.abs(e.x-r),i=Math.abs(e.y-n),o=t.width/2,s=t.height/2;return a>=o||i>=s},"outsideNode"),C=(0,h.K)((t,e,r)=>{u.R.debug("intersection calc abc89:\n  outsidePoint: ".concat(JSON.stringify(e),"\n  insidePoint : ").concat(JSON.stringify(r),"\n  node        : x:").concat(t.x," y:").concat(t.y," w:").concat(t.width," h:").concat(t.height));let n=t.x,a=t.y,i=Math.abs(n-r.x),o=t.width/2,s=r.x<e.x?o-i:o+i,l=t.height/2,c=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*o>Math.abs(n-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;s=h*t/c;let n={x:r.x<e.x?r.x+s:r.x-h+s,y:r.y<e.y?r.y+c-t:r.y-c+t};return 0===s&&(n.x=e.x,n.y=e.y),0===h&&(n.x=e.x),0===c&&(n.y=e.y),u.R.debug("abc89 top/bottom calc, Q ".concat(c,", q ").concat(t,", R ").concat(h,", r ").concat(s),n),n}{let t=c*(s=r.x<e.x?e.x-o-n:n-o-e.x)/h,a=r.x<e.x?r.x+h-s:r.x-h+s,i=r.y<e.y?r.y+t:r.y-t;return u.R.debug("sides calc abc89, Q ".concat(c,", q ").concat(t,", R ").concat(h,", r ").concat(s),{_x:a,_y:i}),0===s&&(a=e.x,i=e.y),0===h&&(a=e.x),0===c&&(i=e.y),{x:a,y:i}}},"intersection"),L=(0,h.K)((t,e)=>{u.R.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],a=!1;return t.forEach(t=>{if(u.R.info("abc88 checking point",t,e),T(e,t)||a)u.R.warn("abc88 outside",t,n),n=t,a||r.push(t);else{let i=C(e,n,t);u.R.debug("abc88 inside",t,n,i),u.R.debug("abc88 intersection",i,e);let o=!1;r.forEach(t=>{o=o||t.x===i.x&&t.y===i.y}),r.some(t=>t.x===i.x&&t.y===i.y)?u.R.warn("abc88 no intersect",i,r):r.push(i),a=!0}}),u.R.debug("returning points",r),r},"cutPathAtIntersect");function O(t){let e=[],r=[];for(let n=1;n<t.length-1;n++){let a=t[n-1],i=t[n],o=t[n+1];a.x===i.x&&i.y===o.y&&Math.abs(i.x-o.x)>5&&Math.abs(i.y-a.y)>5?(e.push(i),r.push(n)):a.y===i.y&&i.x===o.x&&Math.abs(i.x-a.x)>5&&Math.abs(i.y-o.y)>5&&(e.push(i),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,h.K)(O,"extractCornerPoints");var E=(0,h.K)(function(t,e,r){let n=e.x-t.x,a=e.y-t.y,i=r/Math.sqrt(n*n+a*a);return{x:e.x-i*n,y:e.y-i*a}},"findAdjacentPoint"),K=(0,h.K)(function(t){let{cornerPointPositions:e}=O(t),r=[];for(let n=0;n<t.length;n++)if(e.includes(n)){let e=t[n-1],a=t[n+1],i=t[n],o=E(e,i,5),s=E(a,i,5),l=s.x-o.x,c=s.y-o.y;r.push(o);let h=2*Math.sqrt(2),p={x:i.x,y:i.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(u.R.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),p=i.x===o.x?{x:l<0?o.x-5+h:o.x+5-h,y:c<0?o.y-h:o.y+h}:{x:l<0?o.x-h:o.x+h,y:c<0?o.y-5+h:o.y+5-h}):u.R.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(p,s)}else r.push(t[n]);return r},"fixCorners"),R=(0,h.K)((t,e,r)=>{let n=Array(Math.floor((t-e-r)/4)).fill("".concat(2," ").concat(2)).join(" ");return"0 ".concat(e," ").concat(n," ").concat(r)},"generateDashArray"),D=(0,h.K)(function(t,e,r,n,o,s,h){var g;let m,y,x=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(!h)throw Error('insertEdge: missing diagramId for edge "'.concat(e.id,'" — edge IDs require a diagram prefix for uniqueness'));let{handDrawnSeed:k,layout:_}=(0,c.D7)(),w=e.points,v=!1,M=[];for(let t in e.cssCompiledStyles)(0,a.KX)(t)||M.push(e.cssCompiledStyles[t]);if("swimlane"===_){if(s.intersect&&o.intersect&&Array.isArray(w)&&w.length>=2)if(2===w.length)w=[o.intersect(w[0]),s.intersect(w[1])];else{let t=w.slice(1,-1),e=t[0],r=t[t.length-1],n=.5>Math.abs(w[w.length-1].x-r.x)&&.5>Math.abs(w[w.length-1].y-r.y),a=o.intersect(e),i=n?r:s.intersect(r),l=.5>Math.abs(i.x-r.x)&&.5>Math.abs(i.y-r.y);w=[....5>Math.abs(a.x-e.x)&&.5>Math.abs(a.y-e.y)?[]:[a],...t,...l?[]:[i]]}w=A(e,w)}else s.intersect&&o.intersect&&!x&&((w=w.slice(1,e.points.length-1)).unshift(o.intersect(w[0])),w.push(s.intersect(w[w.length-1])));let S=btoa(JSON.stringify(w));e.toCluster&&(u.R.info("to cluster abc88",r.get(e.toCluster)),w=L(e.points,r.get(e.toCluster).node),v=!0),e.fromCluster&&(u.R.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(w,null,2)),w=L(w.reverse(),r.get(e.fromCluster).node).reverse(),v=!0);let T=w.filter(t=>!Number.isNaN(t.y)),C=b(e.curve);"rounded"!==C&&(T=K(T));let O=p.lUB;switch(C){case"linear":case"rounded":O=p.lUB;break;case"basis":default:O=p.qrM;break;case"cardinal":O=p.y8u;break;case"bumpX":O=p.Wi0;break;case"bumpY":O=p.PGM;break;case"catmullRom":O=p.oDi;break;case"monotoneX":O=p.nVG;break;case"monotoneY":O=p.uxU;break;case"natural":O=p.Xf2;break;case"step":O=p.GZz;break;case"stepAfter":O=p.UPb;break;case"stepBefore":O=p.dyv}let{x:E,y:D}=(0,i.RI)(e),I=(0,p.n8j)().x(E).y(D).curve(O);switch(e.thickness){case"normal":default:m="edge-thickness-normal";break;case"thick":m="edge-thickness-thick";break;case"invisible":m="edge-thickness-invisible"}switch(e.pattern){case"solid":default:m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}let j="rounded"===C?P($(T,e),5):I(T),N=Array.isArray(e.style)?e.style:[e.style],U=N.find(t=>null==t?void 0:t.startsWith("stroke:")),z="";e.animate&&(z="edge-animation-fast"),e.animation&&(z="edge-animation-"+e.animation);let F=!1;
60if("handDrawn"===e.look){let r=d.A.svg(t);Object.assign([],T);let n=r.path(j,{roughness:.3,seed:k});m+=" transition";let a=(y=(0,p.Ltv)(n).select("path").attr("id","".concat(h,"-").concat(e.id)).attr("class"," "+m+(e.classes?" "+e.classes:"")+(z?" "+z:"")).attr("style",N?N.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",a),t.node().appendChild(y.node())}else{let r=M.join(";"),n=N?N.reduce((t,e)=>t+e+";",""):"",a=(r?r+";"+n+";":n)+";"+(N?N.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",j).attr("id","".concat(h,"-").concat(e.id)).attr("class"," "+m+(e.classes?" "+e.classes:"")+(z?" "+z:"")).attr("style",a),U=null==(g=a.match(/stroke:([^;]+)/))?void 0:g[1],F=!0===e.animate||!!e.animation||r.includes("animation");let o=y.node(),s="function"==typeof o.getTotalLength?o.getTotalLength():0,l=i.Nq[e.arrowTypeStart]||0,c=i.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!F){let t="dotted"===e.pattern||"dashed"===e.pattern?R(s,l,c):"0 ".concat(l," ").concat(s-l-c," ").concat(c);y.attr("style","stroke-dasharray: ".concat(t,"; stroke-dashoffset: 0;")+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",S),y.attr("data-look",(0,l.KL)(e.look)),e.showPoints&&T.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let B="";((0,c.D7)().flowchart.arrowMarkerAbsolute||(0,c.D7)().state.arrowMarkerAbsolute)&&(B=(B=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),u.R.info("arrowTypeStart",e.arrowTypeStart),u.R.info("arrowTypeEnd",e.arrowTypeEnd);let H=!F&&(null==e?void 0:e.look)==="neo";f(y,e,B,h,n,H,U);let W=Math.floor(w.length/2),Y=w[W];l._K.isLabelCoordinateInPath(Y,y.attr("d"))||(v=!0);let q={};return v&&(q.updatedPath=w),q.originalPath=e.points,q},"insertEdge");function P(t,e){if(t.length<2)return"";let r="",n=t.length;for(let a=0;a<n;a++){let i=t[a],o=t[a-1],s=t[a+1];if(0===a)r+="M".concat(i.x,",").concat(i.y);else if(a===n-1)r+="L".concat(i.x,",").concat(i.y);else{let t=i.x-o.x,n=i.y-o.y,a=s.x-i.x,l=s.y-i.y,c=Math.hypot(t,n),u=Math.hypot(a,l);if(c<1e-5||u<1e-5){r+="L".concat(i.x,",").concat(i.y);continue}let h=t/c,p=n/c,d=a/u,f=l/u,g=Math.acos(Math.max(-1,Math.min(1,h*d+p*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+="L".concat(i.x,",").concat(i.y);continue}let m=Math.min(e/Math.sin(g/2),c/2,u/2),y=i.x-h*m,b=i.y-p*m,x=i.x+d*m,k=i.y+f*m;r+="L".concat(y,",").concat(b),r+="Q".concat(i.x,",").concat(i.y," ").concat(x,",").concat(k)}}return r}function I(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};let r=e.x-t.x,n=e.y-t.y;return{angle:Math.atan2(n,r),deltaX:r,deltaY:n}}function $(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&i.hq[e.arrowTypeStart]){let n=i.hq[e.arrowTypeStart],a=t[0],{angle:o}=I(a,t[1]),s=n*Math.cos(o),l=n*Math.sin(o);r[0].x=a.x+s,r[0].y=a.y+l}let n=t.length;if(n>=2&&i.hq[e.arrowTypeEnd]){let a=i.hq[e.arrowTypeEnd],o=t[n-1],{angle:s}=I(t[n-2],o),l=a*Math.cos(s),c=a*Math.sin(s);r[n-1].x=o.x-l,r[n-1].y=o.y-c}return r}(0,h.K)(P,"generateRoundedPath"),(0,h.K)(I,"calculateDeltaAndAngle"),(0,h.K)($,"applyMarkerOffsetsToPoints");var j=(0,h.K)((t,e,r,n)=>{e.forEach(e=>{ti[e](t,r,n)})},"insertMarkers"),N=(0,h.K)((t,e,r)=>{u.R.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).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"),t.append("marker").attr("id",r+"_"+e+"-extensionStart-margin").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("pol
60ygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd-margin").attr("class","marker extension "+e).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),U=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart-margin").attr("class","marker composition "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd-margin").attr("class","marker composition "+e).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),z=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart-margin").attr("class","marker aggregation "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd-margin").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),F=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).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"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart-margin").attr("class","marker dependency "+e).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd-margin").attr("class","marker dependency "+e).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),B=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart-margin").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd-margin").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),H=(0,h.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).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"),t.append("marker").attr("id",r+"_"+e+"-pointEnd-margin").attr("class","marker "+e).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart-margin").attr("class","marker "+e).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("pol
60ygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),W=(0,h.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).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"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).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"),t.append("marker").attr("id",r+"_"+e+"-circleEnd-margin").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart-margin").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),Y=(0,h.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).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"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).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"),t.append("marker").attr("id",r+"_"+e+"-crossEnd-margin").attr("class","marker cross "+e).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),t.append("marker").attr("id",r+"_"+e+"-crossStart-margin").attr("class","marker cross "+e).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),q=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),G=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{transitionColor:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-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 L11,14 L13,7 L11,0 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill","".concat(a))},"barbNeo"),Z=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),X=(0,h.K)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),V=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").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",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Q=(0,h.K)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),J=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width","".concat(a)),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width","".concat(a))},"only_one_neo"),tt=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a,mainBkg:i}=n,o=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");o.append("circle").attr("fill",null!=i?i:"white").attr("cx",21).attr("cy",9).attr("stroke-width","".concat(a)).attr("r",6),o.append("path").attr("d","M9,0 L9,18").attr("stroke-width","".concat(a));let s=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");s.append("circle").attr("fill",null!=i?i:"white").attr("cx",9).attr("cy",9).attr("stroke-width","".concat(a)).attr("r",6),s.append("path").attr("d","M21,0 L21,18").attr("stroke-width","".concat(a))},"zero_or_one_neo"),te=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width","".concat(a)),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width","".concat(a))},"one_or_more_neo"),tr=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a,mainBkg:i}=n,o=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");o.append("circle").attr("fill",null!=i?i:"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width","".concat(a)),o.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width","".concat(a));let s=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");
60s.append("circle").attr("fill",null!=i?i:"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width","".concat(a)),s.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width","".concat(a))},"zero_or_more_neo"),tn=(0,h.K)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d","M0,0\n      L20,10\n      M20,10\n      L0,20")},"requirement_arrow"),ta=(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width","".concat(a)).attr("viewBox","0 0 25 20").append("path").attr("d","M0,0\n      L20,10\n      M20,10\n      L0,20").attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ti={extension:N,composition:U,aggregation:z,dependency:F,lollipop:B,point:H,circle:W,cross:Y,barb:q,barbNeo:G,only_one:Z,zero_or_one:X,one_or_more:V,zero_or_more:Q,only_one_neo:J,zero_or_one_neo:tt,one_or_more_neo:te,zero_or_more_neo:tr,requirement_arrow:tn,requirement_contains:(0,h.K)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:ta,requirement_contains_neo:(0,h.K)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n,i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),i.selectAll("*").attr("stroke-width","".concat(a))},"requirement_contains_neo")},to=j},29584:(t,e,r)=>{"use strict";r.d(e,{$V:()=>o,Av:()=>n,GX:()=>f,ML:()=>M,NA:()=>h,OG:()=>a,Qb:()=>m,R_:()=>s,Uw:()=>p,VP:()=>l,XZ:()=>k,ZR:()=>x,_u:()=>w,cT:()=>d,i1:()=>_,iq:()=>g,kj:()=>i,pj:()=>u,q:()=>y,ri:()=>v,vC:()=>c,x6:()=>b});let n="[object RegExp]",a="[object String]",i="[object Number]",o="[object Boolean]",s="[object Arguments]",l="[object Symbol]",c="[object Date]",u="[object Map]",h="[object Set]",p="[object Array]",d="[object ArrayBuffer]",f="[object Object]",g="[object DataView]",m="[object Uint8Array]",y="[object Uint8ClampedArray]",b="[object Uint16Array]",x="[object Uint32Array]",k="[object Int8Array]",_="[object Int16Array]",w="[object Int32Array]",v="[object Float32Array]",M="[object Float64Array]"},29777:(t,e,r)=>{"use strict";r.d(e,{Nq:()=>o,RI:()=>c,Wg:()=>a,hq:()=>i});var n=r(75103),a=(0,n.K)((t,e)=>{var r,n;if(e)return"translate("+-t.width/2+", "+-t.height/2+")";let a=null!=(r=t.x)?r:0,i=null!=(n=t.y)?n:0;return"translate("+-(a+t.width/2)+", "+-(i+t.height/2)+")"},"computeLabelTransform"),i={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},o={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function s(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=l(t),e=l(e);let[r,n]=[t.x,t.y],[a,i]=[e.x,e.y],o=a-r,s=i-n;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}(0,n.K)(s,"calculateDeltaAndAngle");var l=(0,n.K)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),c=(0,n.K)(t=>({x:(0,n.K)(function(e,r,n){let a=0,o=l(n[0]).x<l(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){let{angle:e,deltaX:r}=s(n[0],n[1]);a=i[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){let{angle:e,deltaX:r}=s(n[n.length-1],n[n.length-2]);a=i[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let c=Math.abs(l(e).x-l(n[n.length-1]).x),u=Math.abs(l(e).y-l(n[n.length-1]).y),h=Math.abs(l(e).x-l(n[0]).x),p=Math.abs(l(e).y-l(n[0]).y),d=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&u<f){let t=f+1-c;t*="right"===o?-1:1,a-=t}if(h<d&&h>0&&p<d){let t=d+1-h;t*="right"===o?-1:1,a+=t}return l(e).x+a},"x"),y:(0,n.K)(function(e,r,n){let a=0,o=l(n[0]).y<l(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){let{angle:e,deltaY:r}=s(n[0],n[1]);a=i[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){let{angle:e,deltaY:r}=s(n[n.length-1],n[n.length-2]);a=i[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let c=Math.abs(l(e).y-l(n[n.length-1]).y),u=Math.abs(l(e).x-l(n[n.length-1]).x),h=Math.abs(l(e).y-l(n[0]).y),p=Math.abs(l(e).x-l(n[0]).x),d=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&u<f){let t=f+1-c;t*="up"===o?-1:1,a-=t}if(h<d&&h>0&&p<d){let t=d+1-h;t*="up"===o?-1:1,a+=t}return l(e).y+a}
60,"y")}),"getLineFunctionsWithOffset")},36505:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(65157);let a=(t,e)=>(0,n.A)(t,"l",e)},39344:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let n={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:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},a)=>{if(!e)return 2.55*r;t/=360,e/=100;let i=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-i;switch(a){case"r":return 255*n.hue2rgb(o,i,t+1/3);case"g":return 255*n.hue2rgb(o,i,t);case"b":return 255*n.hue2rgb(o,i,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},n)=>{let a=Math.max(t/=255,e/=255,r/=255),i=Math.min(t,e,r),o=(a+i)/2;if("l"===n)return 100*o;if(a===i)return 0;let s=a-i;if("s"===n)return 100*(o>.5?s/(2-a-i):s/(a+i));switch(a){case t:return((e-r)/s+6*(e<r))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return -1}}},a={channel:n,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},42576:(t,e,r)=>{"use strict";function n(t){return null==t||"object"!=typeof t&&"function"!=typeof t}r.d(e,{s:()=>n})},45033:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(65157);let a=(t,e)=>(0,n.A)(t,"l",-e)},45167:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},48836:(t,e,r)=>{"use strict";r.d(e,{pe:()=>A,PX:()=>tt,ru:()=>Q,Un:()=>J,$t:()=>to,Sm:()=>tc,C4:()=>tl,$C:()=>W,rY:()=>tu,sM:()=>B,KL:()=>th,Ib:()=>R,dq:()=>tn,I5:()=>ti,yT:()=>q,vU:()=>E,_K:()=>ts,bH:()=>X});var n,a,i=r(42305),o=r(71785),s=r(75103),l=r(57626),c=r(88395);function u(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");let r=function(...n){let a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);let o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(u.Cache||Map),r}function h(){}u.Cache=Map;var p=r(42576),d=r(97080);function f(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}var g=r(65694);function m(t){if("object"!=typeof t||null==t)return!1;if(null===Object.getPrototypeOf(t))return!0;if("[object Object]"!==Object.prototype.toString.call(t)){let e=t[Symbol.toStringTag];return null!=e&&!!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable&&t.toString()===`[object ${e}]`}let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}var y=r(85519),b=r(29584);function x(t,e,r,n=new Map,a){let i=a?.(t,e,r,n);if(void 0!==i)return i;if((0,p.s)(t))return t;if(n.has(t))return n.get(t);if(Array.isArray(t)){let e=Array(t.length);n.set(t,e);for(let i=0;i<t.length;i++)e[i]=x(t[i],i,r,n,a);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){let e=new Map;for(let[i,o]of(n.set(t,e),t))e.set(i,x(o,i,r,n,a));return e}if(t instanceof Set){let e=new Set;for(let i of(n.set(t,e),t))e.add(x(i,void 0,r,n,a));return e}if((0,g.P)(t))return t.subarray();if((0,d.i)(t)){let e=new(Object.getPrototypeOf(t)).constructor(t.length);n.set(t,e);for(let i=0;i<t.length;i++)e[i]=x(t[i],i,r,n,a);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){let e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),k(e,t,r,n,a),e}if("undefined"!=typeof File&&t instanceof File){let e=new File([t],t.name,{type:t.type});return n.set(t,e),k(e,t,r,n,a),e}if("undefined"!=typeof Blob&&t instanceof Blob){let e=new Blob([t],{type:t.type});return n.set(t,e),k(e,t,r,n,a),e}if(t instanceof Error){let e=structuredClone(t);return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,k(e,t,r,n,a),e}if(t instanceof Boolean){let e=new Boolean(t.valueOf());return n.set(t,e),k(e,t,r,n,a),e}if(t instanceof Number){let e=new Number(t.valueOf());return n.set(t,e),k(e,t,r,n,a),e}if(t instanceof String){let e=new String(t.valueOf());return n.set(t,e),k(e,t,r,n,a),e}if("object"==typeof t&&function(t){switch((0,y.b)(t)){case b.R_:case b.Uw:case b.cT:case b.iq:case b.$V:case b.vC:case b.ri:case b.ML:case b.XZ:case b.i1:case b._u:case b.pj:case b.kj:case b.GX:case b.Av:case b.NA:case b.OG:case b.VP:case b.Qb:case b.q:case b.x6:case b.ZR:return!0;default:return!1}}(t)){let e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),k(e,t,r,n,a),e}return t}function k(t,e,r=t,n,a){let i=[...Object.keys(e),...f(e)];for(let o=0;o<i.length;o++){let s=i[o],l=Object.getOwnPropertyDescriptor(t,s);(null==l||l.writable)&&(t[s]=x(e[s],s,r,n,a))}}function _(t){var e;return e=(e,r,n,a)=>{let i=void 0;if(void 0!==i)return i;if("object"==typeof t){if("[object Object]"===(0,y.b)(t)&&"function"!=typeof t.constructor){let e={};return a.set(t,e),k(e,t,n,a),e}switch(Object.prototype.toString.call(t)){case b.kj:case b.OG:case b.$V:{let e=new t.constructor(t?.valueOf());return k(e,t),e}case b.R_:{let e={};return k(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}},x(t,void 0,t,new Map,e)}var w=r(10096);function v(t){return"object"==typeof t&&null!==t}var M=r(83804),S=r(54265),A="​",T={curveBasis:c.qrM,curveBasisClosed:c.Yu4,curveBasisOpen:c.IA3,curveBumpX:c.Wi0,curveBumpY:c.PGM,curveBundle:c.OEq,curveCardinalClosed:c.olC,curveCardinalOpen:c.IrU,curveCardinal:c.y8u,curveCatmullRomClosed:c.Q7f,curveCatmullRomOpen:c.cVp,curveCatmullRom:c.oDi,curveLinear:c.lUB,curveLinearClosed:c.Lx9,curveMonotoneX:c.nVG,curveMonotoneY:c.uxU,curveNatural:c.Xf2,curveStep:c.GZz,curveStepAfter:c.UPb,curveStepBefore:c.dyv},C=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,L=(0,s.K)(function(t,e){let r=O(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,i.$i)(t),n=(0,i.hH)(n,[...t])}else n=r.args;if(!n)return;let a=(0,i.Ch)(t,e),o="config";return void 0!==n[o]&&("flowchart-v2"===a&&(a="flowchart"),n[a]=n[o],delete n[o]),n},"detectInit"),O=(0,s.K)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{let a,s=RegExp("[%]{2}(?![{]".concat(C.source,")(?=[}][%]{2}).*\n"),"ig");t=t.trim().replace(s,"").replace(/'/gm,'"'),o.R.debug("Detecting diagram directive".concat(null!==e?" type:"+e:""," based on the text:").concat(t));let l=[];for(;null!==(a=i.DB.exec(t));){var r,n;if(a.index===i.DB.lastIndex&&i.DB.lastIndex++,a&&!e||e&&(null==(r=a[1])?void 0:r.match(e))||e&&(null==(n=a[2])?void 0:n.match(e))){let t=a[1]?a[1]:a[2],e=a[3]?a[3].trim():a[4]?JSON.parse(a[4].trim()):null;l.push({type:t,args:e})}}if(0===l.length)return{type:t,args:null};return 1===l.length?l[0]:l}catch(r){return o.R.error("ERROR: ".concat(r.message," - Unable to parse directive type: '").concat(e,"' based on the text: '").concat(t,"'")),{type:void 0,args:null}}},"detectDirective"),E=(0,s.K)(function(t){return t.replace(i.DB,"")},"removeDirectives"),K=(0,s.K)(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return -1},"isSubstringInArray");function R(t,e){var r;return t&&null!=(r=T["curve".concat(t.charAt(0).toUpperCase()+t.slice(1))])?r:e}function D(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,l.J)(r):r}(0,s.K)(R,"interpolateToCurve"),(0,s.K)(D,"formatUrl");var P=(0,s.K)(function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];let a=t.split("."),i=a.length-1,s=a[i],l=window;for(let e=0;e<i;e++)if(!(l=l[a[e]]))return void o.R.error("Function name: ".concat(t," not found in window"));l[s](...r)},"runFunc");function I(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function $(t){let e,r=0;return t.forEach(t=>{r+=I(t,e),e=t}),U(t,r/2)}function j(t){return 1===t.length?t[0]:$(t)}(0,s.K)(I,"distance"),(0,s.K)($,"traverseEdge"),(0,s.K)(j,"calcLabelPosition");var N=(0,s.K)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),U=(0,s.K)((t,e)=>{let r,n=e;for(let e of t){if(r){let t=I(e,r);if(0===t)return r;if(t<n)n-=t;else{let a=n/t;if(a<=0)return r;if(a>=1)return{x:e.x,y:e.y};if(a>0&&a<1)return{x:N((1-a)*r.x+a*e.x,5),y:N((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),z=(0,s.K)((t,e,r)=>{o.R.info("our points ".concat(JSON.stringify(e))),e[0]!==r&&(e=e.reverse());let n=U(e,25),a=t?10:5,i=Math.atan2(e[0].y-n.y,e[0].x-n.x),s={x:0,y:0};return s.x=Math.sin(i)*a+(e[0].x+n.x)/2,s.y=-Math.cos(i)*a+(e[0].y+n.y)/2,s},"calcCardinalityPosition");function F(t,e,r){let n=structuredClone(r);o.R.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();let a=U(n,25+t),i=10+.5*t,s=Math.atan2(n[0].y-a.y,n[0].x-a.x),l={x:0,y:0};
60return"start_left"===e?(l.x=Math.sin(s+Math.PI)*i+(n[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*i+(n[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*i+(n[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*i+(n[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*i+(n[0].x+a.x)/2-5,l.y=-Math.cos(s)*i+(n[0].y+a.y)/2-5):(l.x=Math.sin(s)*i+(n[0].x+a.x)/2,l.y=-Math.cos(s)*i+(n[0].y+a.y)/2),l}function B(t){let e="",r="";for(let n of t)void 0!==n&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}(0,s.K)(F,"calcTerminalLabelPosition"),(0,s.K)(B,"getStylesFromArray");var H=0,W=(0,s.K)(()=>(H++,"id-"+Math.random().toString(36).substr(2,12)+"-"+H),"generateId");function Y(t){let e="",r="0123456789abcdef",n=r.length;for(let a=0;a<t;a++)e+=r.charAt(Math.floor(Math.random()*n));return e}(0,s.K)(Y,"makeRandomHex");var q=(0,s.K)(t=>Y(t.length),"random"),G=(0,s.K)(function(){return{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:""}},"getTextObj"),Z=(0,s.K)(function(t,e){let r=e.text.replace(i.Y2.lineBreakRegex," "),[,n]=ti(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",n),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);let o=a.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),a},"drawSimpleText"),X=u((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),i.Y2.lineBreakRegex.test(t)))return t;let n=t.split(" ").filter(Boolean),a=[],o="";return n.forEach((t,i)=>{let s=J("".concat(t," "),r),l=J(o,r);if(s>e){let{hyphenatedStrings:n,remainingWord:i}=V(t,e,"-",r);a.push(o,...n),o=i}else l+s>=e?(a.push(o),o=t):o=[o,t].filter(Boolean).join(" ");i+1===n.length&&a.push(o)}),a.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>"".concat(t).concat(e).concat(r.fontSize).concat(r.fontWeight).concat(r.fontFamily).concat(r.joinWith)),V=u(function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0;n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let a=[...t],i=[],o="";return a.forEach((t,s)=>{let l="".concat(o).concat(t);if(J(l,n)>=e){let t=a.length===s+1,e="".concat(l).concat(r);i.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:i,remainingWord:o}},function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0;return"".concat(t).concat(e).concat(r).concat(n.fontSize).concat(n.fontWeight).concat(n.fontFamily)});function Q(t,e){return tt(t,e).height}function J(t,e){return tt(t,e).width}(0,s.K)(Q,"calculateTextHeight"),(0,s.K)(J,"calculateTextWidth");var tt=u((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:a=400}=e;if(!t)return{width:0,height:0};let[,o]=ti(r),s=t.split(i.Y2.lineBreakRegex),l=[],u=(0,c.Ltv)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let h=u.append("svg");for(let t of["sans-serif",n]){let e=0,r={width:0,height:0,lineHeight:0};for(let n of s){let i=G();i.text=n||A;let s=Z(h,i).style("font-size",o).style("font-weight",a).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}l.push(r)}h.remove();let p=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[p]},(t,e)=>"".concat(t).concat(e.fontSize).concat(e.fontWeight).concat(e.fontFamily)),te=(n=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}},(0,s.K)(n,"InitIDGenerator"),n),tr=(0,s.K)(function(t){return a=a||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),a.innerHTML=t,unescape(a.textContent)},"entityDecode");function tn(t){return"str"in t}(0,s.K)(tn,"isDetailedError");var ta=(0,s.K)((t,e,r,n)=>{var a;if(!n)return;let i=null==(a=t.node())?void 0:a.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),ti=(0,s.K)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(null!=t?t:"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function to(t,e){return function(t,...e){return function(t,...e){let r=e.slice(0,-1),n=e[e.length-1],a=t;for(let t=0;t<r.length;t++)a=function t(e,r,n,a){if((0,p.s)(e)&&(e=Object(e)),null==r||"object"!=typeof r)return e;if(a.has(r))return function(t){if((0,p.s)(t))return t;if(Array.isArray(t)||(0,d.i)(t)||t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);let e=Object.getPrototypeOf(t);if(null==e)return Object.assign(Object.create(e),t);let r=e.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new r(t);if(t instanceof RegExp){let e=new r(t);return e.lastIndex=t.lastIndex,e}if(t instanceof DataView)return new r(t.buffer.slice(0));if(t instanceof Error){let e;return(e=t instanceof AggregateError?new r(t.errors,t.message,{cause:t.cause}):new r(t.message,{cause:t.cause})).stack=t.stack,Object.assign(e,t),e}return"undefined"!=typeof File&&t instanceof File?new r([t],t.name,{type:t.type,lastModified:t.lastModified}):"object"==typeof t?Object.assign(Object.create(e),t):t}(a.get(r));if(a.set(r,e),Array.isArray(r)){r=r.slice();for(let t=0;t<r.length;t++)t in r||(r[t]=void 0)}let i=[...Object.keys(r),...f(r)];for(let s=0;s<i.length;s++){let l=i[s];if("__proto__"===l)continue;let c=r[l],u=e[l];if((0,w.N)(c)&&(c={...c}),(0,w.N)(u)&&(u={...u}),(0,g.P)(c)&&(c=_(c)),Array.isArray(c))if(Array.isArray(u)){let t=[],e=Reflect.ownKeys(u);for(let r=0;r<e.length;r++){let n=e[r];t[n]=u[n]}u=t}else{var o;if(v(o=u)&&(0,M.X)(o)){let t=[];for(let e=0;e<u.length;e++)t[e]=u[e];u=t}else u=[]}let h=n(u,c,l,e,r,a);void 0!==h?e[l]=h:Array.isArray(c)||v(u)&&v(c)&&(m(u)||m(c)||(0,S.i)(u)||(0,S.i)(c))?e[l]=t(u,c,n,a):null==u&&m(c)?e[l]=t({}
60,c,n,a):null==u&&(0,S.i)(c)?e[l]=_(c):(void 0===u||void 0!==c)&&(e[l]=c)}return e}(a,r[t],n,new Map);return a}(t,...e,h)}({},t,e)}(0,s.K)(to,"cleanAndMerge");var ts={assignWithDepth:i.hH,wrapLabel:X,calculateTextHeight:Q,calculateTextWidth:J,calculateTextDimensions:tt,cleanAndMerge:to,detectInit:L,detectDirective:O,isSubstringInArray:K,interpolateToCurve:R,calcLabelPosition:j,calcCardinalityPosition:z,calcTerminalLabelPosition:F,formatUrl:D,getStylesFromArray:B,generateId:W,random:q,runFunc:P,entityDecode:tr,insertTitle:ta,isLabelCoordinateInPath:tp,parseFontSize:ti,InitIDGenerator:te},tl=(0,s.K)(function(t){let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl\xb0\xb0"+e+"\xb6\xdf":"fl\xb0"+e+"\xb6\xdf"})},"encodeEntities"),tc=(0,s.K)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),tu=(0,s.K)((t,e,r,n)=>{let{counter:a=0,prefix:i,suffix:o}=r;return n||"".concat(i?"".concat(i,"_"):"").concat(t,"_").concat(e,"_").concat(a).concat(o?"_".concat(o):"")},"getEdgeId");function th(t){return null!=t?t:null}function tp(t,e){let r=Math.round(t.x),n=Math.round(t.y),a=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return a.includes(r.toString())||a.includes(n.toString())}(0,s.K)(th,"handleUndefinedAttr"),(0,s.K)(tp,"isLabelCoordinateInPath")},54265:(t,e,r)=>{"use strict";r.d(e,{i:()=>a});var n=r(97080);function a(t){return(0,n.i)(t)}},56379:(t,e,r)=>{"use strict";r.d(e,{A:()=>r5});var n,a=r(70386),i=r(85426),o=r(60734);r(28106),r(63856),r(14002),r(29777),r(57197),r(9206);var s=r(92604),l=r(48836),c=r(42305),u=r(71785),h=r(75103),p=r(86476),d=r(88395),f="comm",g="rule",m="decl",y="@keyframes",b="@layer",x=Math.abs,k=String.fromCharCode;function _(t,e,r){return t.replace(e,r)}function w(t,e){return 0|t.charCodeAt(e)}function v(t,e,r){return t.slice(e,r)}function M(t){return t.length}function S(t,e){return e.push(t),t}function A(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function T(t,e,r,n){switch(t.type){case b:if(t.children.length)break;case"@import":case"@namespace":case m:return t.return=t.return||t.value;case f:return"";case y:return t.return=t.value+"{"+A(t.children,n)+"}";case g:if(!M(t.value=t.props.join(",")))return""}return M(r=A(t.children,n))?t.return=t.value+"{"+r+"}":""}Object.assign;var C=1,L=1,O=0,E=0,K=0,R="";function D(t,e,r,n,a,i,o,s){return{value:t,root:e,parent:r,type:n,props:a,children:i,line:C,column:L,length:o,return:"",siblings:s}}function P(){return K=E<O?w(R,E++):0,L++,10===K&&(L=1,C++),K}function I(){return w(R,E)}function $(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j(t){var e,r;return(e=E-1,r=function t(e){for(;P();)switch(K){case e:return E;case 34:case 39:34!==e&&39!==e&&t(K);break;case 40:41===e&&t(e);break;case 92:P()}return E}(91===t?t+2:40===t?t+1:t),v(R,e,r)).trim()}function N(t,e,r,n,a,i,o,s,l,c,u,h){for(var p=a-1,d=0===a?i:[""],f=d.length,m=0,y=0,b=0;m<n;++m)for(var k=0,w=v(t,p+1,p=x(y=o[m])),M=t;k<f;++k)(M=(y>0?d[k]+" "+w:_(w,/&\f/g,d[k])).trim())&&(l[b++]=M);return D(t,e,r,0===a?g:s,l,c,u,h)}function U(t,e,r,n,a){return D(t,e,r,m,v(t,0,n),v(t,n+1,-1),n,a)}var z=r(81031),F=r(65694),B=r(83804),H=r(10096),W=r(54265);function Y(t){if(null==t)return!0;if((0,B.X)(t))return("function"==typeof t.splice||"string"==typeof t||!!(0,F.P)(t)||!!(0,W.i)(t)||!!(0,H.N)(t))&&0===t.length;if("object"==typeof t||"function"==typeof t){if(t instanceof Map||t instanceof Set)return 0===t.size;let e=Object.keys(t);return!function(t){let e=t?.constructor;return t===("function"==typeof e?e.prototype:Object.prototype)}(t)?0===e.length:0===e.filter(t=>"constructor"!==t).length}return!0}var q={id:"c4",detector:(0,h.K)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(8453),r.e(5678)]).then(r.bind(r,54844));return{id:"c4",diagram:t}},"loader")},G="flowchart",Z=(0,h.K)((t,e)=>{var r,n;return(null==e||null==(r=e.flowchart)?void 0:r.defaultRenderer)!=="dagre-wrapper"&&(null==e||null==(n=e.flowchart)?void 0:n.defaultRenderer)!=="elk"&&/^\s*graph/.test(t)},"detector"),X=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(8385),r.e(7725)]).then(r.bind(r,24969));return{id:G,diagram:t}},"loader"),V={id:G,detector:Z,loader:X},Q="flowchart-v2",J=(0,h.K)((t,e)=>{var r,n,a;return(null==e||null==(r=e.flowchart)?void 0:r.defaultRenderer)!=="dagre-d3"&&((null==e||null==(n=e.flowchart)?void 0:n.defaultRenderer)==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&(null==e||null==(a=e.flowchart)?void 0:a.defaultRenderer)==="dagre-wrapper"||/^\s*flowchart/.test(t))},"detector"),tt=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(8385),r.e(7725)]).then(r.bind(r,24969));return{id:Q,diagram:t}},"loader"),te={id:Q,detector:J,loader:tt},tr="swimlane",tn=(0,h.K)(t=>/^\s*swimlane-beta\b/.test(t),"detector"),ta=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(8385),r.e(197)]).then(r.bind(r,81545));return{id:tr,diagram:t}},"loader"),ti={id:tr,detector:tn,loader:ta}
60,to={id:"er",detector:(0,h.K)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await r.e(4592).then(r.bind(r,14592));return{id:"er",diagram:t}},"loader")},ts="gitGraph",tl=(0,h.K)(t=>/^\s*gitGraph/.test(t),"detector"),tc=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(5191)]).then(r.bind(r,75191));return{id:ts,diagram:t}},"loader"),tu={id:ts,detector:tl,loader:tc},th="gantt",tp=(0,h.K)(t=>/^\s*gantt/.test(t),"detector"),td=(0,h.K)(async()=>{let{diagram:t}=await r.e(9449).then(r.bind(r,69449));return{id:th,diagram:t}},"loader"),tf={id:th,detector:tp,loader:td},tg="info",tm=(0,h.K)(t=>/^\s*info/.test(t),"detector"),ty=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(6966)]).then(r.bind(r,46966));return{id:tg,diagram:t}},"loader"),tb={id:tg,detector:tm,loader:ty},tx={id:"pie",detector:(0,h.K)(t=>/^\s*pie/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(8223)]).then(r.bind(r,58223));return{id:"pie",diagram:t}},"loader")},tk="quadrantChart",t_=(0,h.K)(t=>/^\s*quadrantChart/.test(t),"detector"),tw=(0,h.K)(async()=>{let{diagram:t}=await r.e(5156).then(r.bind(r,75156));return{id:tk,diagram:t}},"loader"),tv={id:tk,detector:t_,loader:tw},tM="xychart",tS=(0,h.K)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tA=(0,h.K)(async()=>{let{diagram:t}=await r.e(3224).then(r.bind(r,23224));return{id:tM,diagram:t}},"loader"),tT={id:tM,detector:tS,loader:tA},tC="requirement",tL=(0,h.K)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tO=(0,h.K)(async()=>{let{diagram:t}=await r.e(3385).then(r.bind(r,63385));return{id:tC,diagram:t}},"loader"),tE={id:tC,detector:tL,loader:tO},tK="sequence",tR=(0,h.K)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tD=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3678),r.e(7993)]).then(r.bind(r,64688));return{id:tK,diagram:t}},"loader"),tP={id:tK,detector:tR,loader:tD},tI="class",t$=(0,h.K)((t,e)=>{var r;return(null==e||null==(r=e.class)?void 0:r.defaultRenderer)!=="dagre-wrapper"&&/^\s*classDiagram/.test(t)},"detector"),tj=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3267),r.e(2247)]).then(r.bind(r,12247));return{id:tI,diagram:t}},"loader"),tN={id:tI,detector:t$,loader:tj},tU="classDiagram",tz=(0,h.K)((t,e)=>{var r;return!!/^\s*classDiagram/.test(t)&&(null==e||null==(r=e.class)?void 0:r.defaultRenderer)==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t)},"detector"),tF=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3267),r.e(8002)]).then(r.bind(r,38002));return{id:tU,diagram:t}},"loader"),tB={id:tU,detector:tz,loader:tF},tH="state",tW=(0,h.K)((t,e)=>{var r;return(null==e||null==(r=e.state)?void 0:r.defaultRenderer)!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t)},"detector"),tY=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(2678),r.e(1375),r.e(3626),r.e(9166),r.e(7892)]).then(r.bind(r,87892));return{id:tH,diagram:t}},"loader"),tq={id:tH,detector:tW,loader:tY},tG="stateDiagram",tZ=(0,h.K)((t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&(null==e||null==(r=e.state)?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),tX=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(9166),r.e(9088)]).then(r.bind(r,59088));return{id:tG,diagram:t}},"loader"),tV={id:tG,detector:tZ,loader:tX},tQ="journey",tJ=(0,h.K)(t=>/^\s*journey/.test(t),"detector"),t0=(0,h.K)(async()=>{let{diagram:t}=await r.e(3558).then(r.bind(r,23558));return{id:tQ,diagram:t}},"loader"),t1={id:tQ,detector:tJ,loader:t0},t2={draw:(0,h.K)((t,e,r)=>{u.R.debug("rendering svg for syntax error\n");let n=(0,a.D)(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),(0,c.a$)(n,100,512,!0),i.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"),i.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"),i.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"),i.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.
60164-16,16v32c0,8.836 7.156,16 16,16z"),i.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"),i.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"),i.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"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version ".concat(r))},"draw")},t3={db:{},renderer:t2,parser:{parse:(0,h.K)(()=>{},"parse")}},t5="flowchart-elk",t6=(0,h.K)(function(t){var e;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&(null==r||null==(e=r.flowchart)?void 0:e.defaultRenderer)==="elk")&&(r.layout="elk",!0)},"detector"),t4=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(8385),r.e(7725)]).then(r.bind(r,24969));return{id:t5,diagram:t}},"loader"),t8={id:t5,detector:t6,loader:t4},t9="timeline",t7=(0,h.K)(t=>/^\s*timeline/.test(t),"detector"),et=(0,h.K)(async()=>{let{diagram:t}=await r.e(1386).then(r.bind(r,41386));return{id:t9,diagram:t}},"loader"),ee={id:t9,detector:t7,loader:et},er="mindmap",en=(0,h.K)(t=>/^\s*mindmap/.test(t),"detector"),ea=(0,h.K)(async()=>{let{diagram:t}=await r.e(4372).then(r.bind(r,24372));return{id:er,diagram:t}},"loader"),ei={id:er,detector:en,loader:ea},eo="kanban",es=(0,h.K)(t=>/^\s*kanban/.test(t),"detector"),el=(0,h.K)(async()=>{let{diagram:t}=await r.e(414).then(r.bind(r,90414));return{id:eo,diagram:t}},"loader"),ec={id:eo,detector:es,loader:el},eu="sankey",eh=(0,h.K)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),ep=(0,h.K)(async()=>{let{diagram:t}=await r.e(9478).then(r.bind(r,59478));return{id:eu,diagram:t}},"loader"),ed={id:eu,detector:eh,loader:ep},ef="packet",eg=(0,h.K)(t=>/^\s*packet(-beta)?/.test(t),"detector"),em=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(1324)]).then(r.bind(r,41324));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:eg,loader:em},eb="radar",ex=(0,h.K)(t=>/^\s*radar-beta/.test(t),"detector"),ek=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(711)]).then(r.bind(r,10711));return{id:eb,diagram:t}},"loader"),e_={id:eb,detector:ex,loader:ek},ew="block",ev=(0,h.K)(t=>/^\s*block(-beta)?/.test(t),"detector"),eM=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6711),r.e(2678),r.e(9325)]).then(r.bind(r,38253));return{id:ew,diagram:t}},"loader"),eS={id:ew,detector:ev,loader:eM},eA="treeView",eT=(0,h.K)(t=>/^\s*treeView-beta/.test(t),"detector"),eC=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(5637)]).then(r.bind(r,45637));return{id:eA,diagram:t}},"loader"),eL={id:eA,detector:eT,loader:eC},eO="architecture",eE=(0,h.K)(t=>/^\s*architecture/.test(t),"detector"),eK=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(836),r.e(2649),r.e(9563)]).then(r.bind(r,79563));return{id:eO,diagram:t}},"loader"),eR={id:eO,detector:eE,loader:eK},eD="eventmodeling",eP=(0,h.K)(t=>/^\s*eventmodeling/.test(t),"detector"),eI=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(4289)]).then(r.bind(r,74289));return{id:eD,diagram:t}},"loader"),e$={id:eD,detector:eP,loader:eI},ej="ishikawa",eN=(0,h.K)(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),eU=(0,h.K)(async()=>{let{diagram:t}=await r.e(8034).then(r.bind(r,88034));return{id:ej,diagram:t}},"loader"),ez={id:ej,detector:eN,loader:eU},eF="venn",eB=(0,h.K)(t=>/^\s*venn-beta/.test(t),"detector"),eH=(0,h.K)(async()=>{let{diagram:t}=await r.e(3943).then(r.bind(r,53943));return{id:eF,diagram:t}},"loader"),eW={id:eF,detector:eB,loader:eH},eY="treemap",eq=(0,h.K)(t=>/^\s*treemap/.test(t),"detector"),eG=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(4303)]).then(r.bind(r,24303));return{id:eY,diagram:t}},"loader"),eZ={id:eY,detector:eq,loader:eG},eX="wardley",eV=(0,h.K)(t=>/^\s*wardley-beta/i.test(t),"detector"),eQ=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(1594)]).then(r.bind(r,81594));return{id:eX,diagram:t}},"loader"),eJ={id:eX,detector:eV,loader:eQ},e0="cynefin",e1=(0,h.K)(t=>/^\s*cynefin-beta(?:[\s:]|$)/.test(t),"detector"),e2=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(4720)]).then(r.bind(r,54720));return{id:e0,diagram:t}},"loader"),e3={id:e0,detector:e1,loader:e2},e5="railroad",e6=(0,h.K)(t=>/^\s*railroad-beta/i.test(t),"detector"),e4=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(7558),r.e(8526)]).then(r.bind(r,28526));return{id:e5,diagram:t}},"loader"),e8={id:e5,detector:e6,loader:e4},e9="railroadEbnf",e7=(0,h.K)(t=>/^\s*railroad-ebnf-beta/i.test(t),"detector"),rt=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(7558),r.e(7885)]).then(r.bind(r,17885));return{id:e9,diagram:t}},"loader"),re={id:e9,detector:e7,loader:rt},rr="railroadAbnf",rn=(0,h.K)(t=>/^\s*railroad-abnf-beta/i.test(t),"detector"),ra=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(7558),r.e(7325)]).then(r.bind(r,97325));return{id:rr,diagram:t}},"loader"),ri={id:rr,detector:rn,loader:ra},ro="railroadPeg",rs=(0,h.K)(t=>/^\s*railroad-peg-beta/i.test(t),"detector"),rl=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(2649),r.e(7558),r.e(3809)]).then(r.bind(r,43809));return{id:ro,diagram:t}},"loader"),rc={id:ro,detector:rs,loader:rl},ru=!1,rh=(0,h.K)(()=>{ru||(ru=!0,(0,c.Js)("error",t3,t=>"error"===t.toLowerCase().trim()),(0,c.Js)("---",{db:{clear:(0,h.K)(()=>{},"clear")},styles:{},renderer:{draw:(0,h.K)(()=>{},"draw")},parser:{parse:(0,h.K)(()=>{throw 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")},"parse")},init:(0,h.K)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,c.Xd)(t8,ei,eR),(0,c.Xd)(q,ec,tB,tN,to,tf,tb,tx,tE,tP,ti,te,V,ee,tu,tV,tq,t1,tv,ed,ey,tT,eS,e$,eL,e_,ez,eZ,e8,re,ri,rc,eW,eJ,e3))},"addDiagrams"),rp=(0,h.K)(async()=>{u.R.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(c.mW).map(async t=>{let[e,{detector:r,loader:n}]=t;if(n)try{(0,c.Gs)(e)}catch(t){try{let{diagram:t,id:e}=await n();(0,c.Js)(e,t,r)}catch(t){throw u.R.error("Failed to load external diagram with key ".concat(e,". Removing from detectors.")),delete c.mW[e],t}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(u.R.error("Failed to load ".concat(t.length," external diagrams")),t))u.R.error(e);throw Error("Failed to load ".concat(t.length," external diagrams"))}},"loadRegisteredDiagrams");function rd(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function rf(t,e,r,n){if(void 0!==t.insert){if(r){let e="chart-desc-".concat(n);t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r="chart-title-".concat(n);t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,h.K)(rd,"setA11yDiagramInfo"),(0,h.K)(rf,"addSVGa11yTitleDescription");var rg=(n=class t{static async fromText(e){var r,n;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,c.zj)(),o=(0,c.Ch)(e,i);e=(0,l.C4)(e)+"\n";try{(0,c.Gs)(o)}catch(n){let t=(0,c.J$)(o);if(!t)throw new c.C0("Diagram ".concat(o," not found."));let{id:e,diagram:r}=await t();(0,c.Js)(e,r)}let{db:s,parser:u,renderer:h,init:p}=(0,c.Gs)(o);return u.parser&&(u.parser.yy=s),null==(r=s.clear)||r.call(s),null==p||p(i),a.title&&(null==(n=s.setDiagramTitle)||n.call(s,a.title)),await u.parse(e),new t(o,e,s,u,h)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}constructor(t,e,r,n,a){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=a}},(0,h.K)(n,"Diagram"),n),rm=[],ry=(0,h.K)(()=>{rm.forEach(t=>{t()}),rm=[]},"attachFunctions"),rb=(0,h.K)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function rx(t){var e;let r=t.match(c.EJ);
60if(!r)return{text:t,metadata:{}};let n=r[1],a=n?r[2].split("\n").map(t=>t.startsWith(n)?t.slice(n.length):t).join("\n"):r[2],o=null!=(e=(0,i.H)(a,{schema:i.r}))?e:{};o="object"!=typeof o||Array.isArray(o)?{}:o;let s={};return o.displayMode&&(s.displayMode=o.displayMode.toString()),o.title&&(s.title=o.title.toString()),o.config&&(s.config=o.config),{text:t.slice(r[0].length),metadata:s}}(0,h.K)(rx,"extractFrontMatter");var rk=(0,h.K)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),r_=(0,h.K)(t=>{let{text:e,metadata:r}=rx(t),{displayMode:n,title:a,config:i={}}=r;return n&&(i.gantt||(i.gantt={}),i.gantt.displayMode=n),{title:a,config:i,text:e}},"processFrontmatter"),rw=(0,h.K)(t=>{var e;let r=null!=(e=l._K.detectInit(t))?e:{},n=l._K.detectDirective(t,"wrap");return Array.isArray(n)?r.wrap=n.some(t=>{let{type:e}=t;return"wrap"===e}):(null==n?void 0:n.type)==="wrap"&&(r.wrap=!0),{text:(0,l.vU)(t),directive:r}},"processDirectives");function rv(t){let e=r_(rk(t)),r=rw(e.text),n=(0,l.$t)(e.config,r.directive);return{code:t=rb(r.text),title:e.title,config:n}}function rM(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,h.K)(rv,"preprocessDiagram"),(0,h.K)(rM,"toBase64");var rS=["foreignobject"],rA=["dominant-baseline"];function rT(t){var e;let r=rv(t);return(0,c.cL)(),(0,c.xA)(null!=(e=r.config)?e:{}),r}async function rC(t,e){rh();try{let{code:e,config:r}=rT(t);return{diagramType:(await rU(e)).type,config:r}}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}}(0,h.K)(rT,"processAndSetConfigs"),(0,h.K)(rC,"parse");var rL=(0,h.K)(function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=(0,c.Df)("{ ".concat(r.join(" !important; ")," !important; }"));return".".concat(t," ").concat(e," ").concat(n)},"cssImportantStyles"),rO=(0,h.K)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,r=new CSSStyleSheet;if(void 0!==t.fontFamily&&r.insertRule(":root { --mermaid-font-family: ".concat(t.fontFamily,"}"),r.cssRules.length),void 0!==t.altFontFamily&&r.insertRule(":root { --mermaid-alt-font-family: ".concat(t.altFontFamily,"}"),r.cssRules.length),e instanceof Map){let n=(0,c.E)(t)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{Y(t.styles)||n.forEach(e=>{r.insertRule(rL(t.id,e,t.styles),r.cssRules.length)}),Y(t.textStyles)||r.insertRule(rL(t.id,"tspan",((null==t?void 0:t.textStyles)||[]).map(t=>t.replace("color","fill"))),r.cssRules.length)})}let n="";if(void 0!==t.themeCSS)if("function"==typeof r.replaceSync){let e=new CSSStyleSheet;e.replaceSync(t.themeCSS),n=(0,c.KG)(e)+"\n"}else n+="".concat(t.themeCSS,"\n");return n+(0,c.KG)(r)},"createCssStyles"),rE=(0,h.K)((t,e)=>A(function(t){var e,r;return r=function t(e,r,n,a,i,o,s,l,c){for(var u,h,p,d,g=0,m=0,y=s,b=0,x=0,A=0,T=1,O=1,z=1,F=0,B=0,H="",W=i,Y=o,q=a,G=H;O;)switch(A=B,B=P()){case 40:108!=A&&58==w(G,y-1)?(F++,G+="("):G+=j(B);break;case 41:F--,G+=")";break;case 34:case 39:case 91:G+=j(B);break;case 9:case 10:case 13:case 32:if(F>0){G+=k(B);break}G+=function(t){for(;K=I();)if(K<33)P();else break;return $(t)>2||$(K)>3?"":" "}(A);break;case 92:G+=function(t,e){for(var r;--e&&P()&&!(K<48)&&!(K>102)&&(!(K>57)||!(K<65))&&(!(K>70)||!(K<97)););return r=E+(e<6&&32==I()&&32==P()),v(R,t,r)}(E-1,7);continue;case 47:switch(I()){case 42:case 47:S((u=function(t,e){for(;P();)if(t+K===57)break;else if(t+K===84&&47===I())break;return"/*"+v(R,e,E-1)+"*"+k(47===t?t:P())}(P(),E),h=r,p=n,d=c,D(u,h,p,f,k(K),v(u,2,-2),0,d)),c),(5==$(A||1)||5==$(I()||1))&&M(G)&&" "!==v(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*T:l[g++]=M(G)*z;case 125*T:case 59:case 0:if(F>0&&B){G+=k(B);break}switch(B){case 0:case 125:O=0;case 59+m:-1==z&&(G=_(G,/\f/g,"")),x>0&&(M(G)-y||0===T)&&S(x>32?U(G+";",a,n,y-1,c):U(_(G," ","")+";",a,n,y-2,c),c);break;case 59:G+=";";default:if(S(q=N(G,r,n,g,m,i,l,H,W=[],Y=[],y,o),o),123===B)if(0===m)t(G,r,q,q,W,o,y,l,Y);else{switch(b){case 99:if(110===w(G,3))break;case 108:if(97===w(G,2))break;default:m=0;case 100:case 109:case 115:}m?t(e,q,q,a&&S(N(e,q,q,0,0,i,l,H,i,W=[],y,Y),Y),i,Y,y,l,a?W:Y):t(G,q,q,q,[""],Y,0,l,Y)}}g=m=x=0,T=z=1,H=G="",y=s;break;case 58:y=1+M(G),x=A;default:if(T<1){if(123==B)--T;else if(125==B&&0==T++&&125==(K=E>0?w(R,--E):0,L--,10===K&&(L=1,C--),K))continue}switch(G+=k(B),B*T){case 38:z=m>0?1:(G+="\f",-1);break;case 44:if(F>0)break;l[g++]=(M(G)-1)*z,z=1;break;
60case 64:45===I()&&(G+=j(P())),b=I(),m=y=M(H=G+=function(t){for(;!$(I());)P();return v(R,t,E)}(E)),B++;break;case 45:45===A&&2==M(G)&&(T=0)}}return o}("",null,null,null,[""],(e=t,C=L=1,O=M(R=e),E=0,t=[]),0,[0],t),R="",r}("".concat(t,"{").concat(e,"}")),function(t){var e=t.length;return function(r,n,a,i){for(var o="",s=0;s<e;s++)o+=t[s](r,n,a,i)||"";return o}}([(0,h.K)(function(e,r,n,a){"rule"===e.type&&Array.isArray(e.props)?e.parent&&e.parent.type===y||(e.props=e.props.map(r=>r===t&&Array.isArray(e.children)&&e.children.every(t=>"decl"===t.type&&new Set(["font-family","font-size","fill"]).has(t.props))||(r.startsWith("".concat(t," "))||r.startsWith("".concat(t,">")))&&!r.startsWith("".concat(t," ||"))?r:"".concat(t," ").concat(r))):e.type.startsWith("@")&&(["@media","@supports",b,"@scope","@container","@starting-style",y].includes(e.type)||(u.R.warn("Removing unsupported at-rule ".concat(e.type," from CSS")),e.type=f))},"addNamespace"),T])),"compileCSS"),rK=(0,h.K)((t,e,r,n)=>{let a=rO(t,r),i=(0,c.tM)(e,a,{...t.themeVariables,theme:t.theme,look:t.look},n);return rE(n,i)},"createUserStyles"),rR=(0,h.K)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=t;return r||e||(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=(n=(0,l.Sm)(n)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),rD=(0,h.K)(function(){var t,e;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,a=(null==n||null==(e=n.viewBox)||null==(t=e.baseVal)?void 0:t.height)?n.viewBox.baseVal.height+"px":"100%",i=rM('<body style="'.concat("margin:0",'">').concat(r,"</body>"));return'<iframe style="width:'.concat("100%",";height:").concat(a,";").concat("border:0;margin:0;",'" src="data:text/html;charset=UTF-8;base64,').concat(i,'" sandbox="').concat("allow-top-navigation-by-user-activation allow-popups",'">\n  ').concat('The "iframe" tag is not supported by your browser.',"\n</iframe>")},"putIntoIFrame"),rP=(0,h.K)((t,e,r,n,a)=>{let i=t.append("div");i.attr("id",r),n&&i.attr("style",n);let o=i.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&o.attr("xmlns:xlink",a),o.append("g"),t},"appendDivSvgG");function rI(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,h.K)(rI,"sandboxedIframe");var r$=(0,h.K)((t,e,r,n)=>{var a,i,o;null==(a=t.getElementById(e))||a.remove(),null==(i=t.getElementById(r))||i.remove(),null==(o=t.getElementById(n))||o.remove()},"removeExistingElements"),rj=(0,h.K)(async function(t,e,r){var n,a,i,o,s,l,p;let f,g;rh();let m=rT(e);e=m.code;let y=(0,c.zj)();u.R.debug(y),e.length>(null!=(p=null==y?void 0:y.maxTextSize)?p:5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let b="#".concat(t),x="i"+t,k="#"+x,_="d"+t,w="#"+_,v=(0,h.K)(()=>{let t=S?k:w,e=(0,d.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),M=(0,d.Ltv)(document.body),S="sandbox"===y.securityLevel,A="loose"===y.securityLevel,T=y.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),S){let t=rI((0,d.Ltv)(r),x);(M=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else M=(0,d.Ltv)(r);rP(M,t,_,"font-family: ".concat(T),"http://www.w3.org/1999/xlink")}else{if(r$(document,t,_,x),S){let t=rI((0,d.Ltv)(document.body),x);(M=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else M=(0,d.Ltv)("body");rP(M,t,_)}try{f=await rg.fromText(e,{title:m.title})}catch(t){if(y.suppressErrorRendering)throw v(),t;f=await rg.fromText("error"),g=t}let C=M.select(w).node(),L=f.type,O=C.firstChild,E=O.firstChild,K=rK(y,L,null==(n=(a=f.renderer).getClasses)?void 0:n.call(a,e,f),b),R=document.createElement("style");R.innerHTML=K,O.insertBefore(R,E);try{await f.renderer.draw(e,t,"11.16.1",f)}catch(r){throw y.suppressErrorRendering?v():t2.draw(e,t,"11.16.1"),r}let D=M.select("".concat(w," svg"));rz(L,D,null==(i=(o=f.db).getAccTitle)?void 0:i.call(o),null==(s=(l=f.db).getAccDescription)?void 0:s.call(l)),M.select('[id="'.concat(t,'"]')).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let P=M.select(w).node().innerHTML;if(u.R.debug("config.arrowMarkerAbsolute",y.arrowMarkerAbsolute),P=rR(P,S,(0,c._3)(y.arrowMarkerAbsolute)),S?P=rD(P,M.select(w+" svg").node()):A||(P=z.A.sanitize(P,{ADD_TAGS:rS,ADD_ATTR:rA,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),ry(),g)throw g;return v(),{diagramType:L,svg:P,bindFunctions:f.db.bindFunctions}},"render");function rN(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,c.hH)({},e);(null==r?void 0:r.fontFamily)&&!(null==(t=r.themeVariables)?void 0:t.fontFamily)&&(r.themeVariables||(r.themeVariables={}),r.themeVariables.fontFamily=r.fontFamily),(0,c.wZ)(r),(null==r?void 0:r.theme)&&r.theme in c.H$?r.themeVariables=c.H$[r.theme].getThemeVariables(r.themeVariables):r&&(r.themeVariables=c.H$.default.getThemeVariables(r.themeVariables));let n="object"==typeof r?(0,c.UU)(r):(0,c.Q2)();(0,u.H)(n.logLevel),rh()}(0,h.K)(rN,"initialize");var rU=(0,h.K)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{code:r}=rv(t);return rg.fromText(r,e)},"getDiagramFromText");function rz(t,e,r,n){rd(e,t),rf(e,r,n,e.attr("id"))}(0,h.K)(rz,"addA11yInfo");var rF=Object.freeze({render:rj,parse:rC,getDiagramFromText:rU,initialize:rN,getConfig:c.zj,setConfig:c.Nk,getSiteConfig:c.Q2,updateSiteConfig:c.B6,reset:(0,h.K)(()=>{(0,c.cL)()},"reset"),globalReset:(0,h.K)(()=>{(0,c.cL)(c.sb)},"globalReset"),defaultConfig:c.sb});(0,u.H)((0,c.zj)().logLevel),(0,c.cL)((0,c.zj)());var rB=(0,h.K)((t,e,r)=>{u.R.warn(t),(0,l.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rH=(0,h.K)(async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{querySelector:".mermaid"};try{await rW(t)}catch(e){if((0,l.dq)(e)&&u.R.error(e.str),r3.parseError&&r3.parseError(e),!t.suppressErrors)throw u.R.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rW=(0,h.K)(async function(){let t,e,{postRenderCallback:r,querySelector:n,nodes:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{querySelector:".mermaid"},i=rF.getConfig();if(u.R.debug("".concat(r?"":"No ","Callback function found")),a)t=a;else if(n)t=document.querySelectorAll(n);else throw Error("Nodes and querySelector are both undefined");u.R.debug("Found ".concat(t.length," diagrams")),(null==i?void 0:i.startOnLoad)!==void 0&&(u.R.debug("Start On Load: "+(null==i?void 0:i.startOnLoad)),rF.updateSiteConfig({startOnLoad:null==i?void 0:i.startOnLoad}
60));let o=new l._K.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),s=[];for(let n of Array.from(t)){if(u.R.info("Rendering diagram: "+n.id),n.getAttribute("data-processed"))continue;n.setAttribute("data-processed","true");let t="mermaid-".concat(o.next());e=n.innerHTML,e=(0,p.T)(l._K.entityDecode(e)).trim().replace(/<br\s*\/?>/gi,"<br/>");let a=l._K.detectInit(e);a&&u.R.debug("Detected early reinit: ",a);try{let{svg:a,bindFunctions:i}=await r1(t,e,n);n.innerHTML=a,r&&await r(t),i&&i(n)}catch(t){rB(t,s,r3.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),rY=(0,h.K)(function(t){rF.initialize(t)},"initialize"),rq=(0,h.K)(async function(t,e,r){u.R.warn("mermaid.init is deprecated. Please use run instead."),t&&rY(t);let n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await rH(n)},"init"),rG=(0,h.K)(async function(t){let{lazyLoad:e=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};rh(),(0,c.Xd)(...t),!1===e&&await rp()},"registerExternalDiagrams"),rZ=(0,h.K)(function(){if(r3.startOnLoad){let{startOnLoad:t}=rF.getConfig();t&&r3.run().catch(t=>u.R.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rZ,!1);var rX=(0,h.K)(function(t){r3.parseError=t},"setParseErrorHandler"),rV=[],rQ=!1,rJ=(0,h.K)(async()=>{if(!rQ){for(rQ=!0;rV.length>0;){let t=rV.shift();if(t)try{await t()}catch(t){u.R.error("Error executing queue",t)}}rQ=!1}},"executeQueue"),r0=(0,h.K)(async(t,e)=>new Promise((r,n)=>{let a=(0,h.K)(()=>new Promise((a,i)=>{rF.parse(t,e).then(t=>{a(t),r(t)},t=>{var e;u.R.error("Error parsing",t),null==(e=r3.parseError)||e.call(r3,t),i(t),n(t)})}),"performCall");rV.push(a),rJ().catch(n)}),"parse"),r1=(0,h.K)((t,e,r)=>new Promise((n,a)=>{let i=(0,h.K)(()=>new Promise((i,o)=>{rF.render(t,e,r).then(t=>{i(t),n(t)},t=>{var e;u.R.error("Error parsing",t),null==(e=r3.parseError)||e.call(r3,t),o(t),a(t)})}),"performCall");rV.push(i),rJ().catch(a)}),"render"),r2=(0,h.K)(()=>Object.keys(c.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),r3={startOnLoad:!0,mermaidAPI:rF,parse:r0,render:r1,init:rq,run:rH,registerExternalDiagrams:rG,registerLayoutLoaders:o.sO,initialize:rY,parseError:void 0,contentLoaded:rZ,setParseErrorHandler:rX,detectType:c.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:r2},r5=r3},57197:(t,e,r)=>{"use strict";r.d(e,{O:()=>o,X:()=>s});var n=r(48836),a=r(42305),i=r(75103),o=(0,i.K)(t=>{var e,r,n,a;let{flowchart:i}=t,o=null!=(n=null==i||null==(e=i.subGraphTitleMargin)?void 0:e.top)?n:0,s=null!=(a=null==i||null==(r=i.subGraphTitleMargin)?void 0:r.bottom)?a:0;return{subGraphTitleTopMargin:o,subGraphTitleBottomMargin:s,subGraphTitleTotalMargin:o+s}},"getSubGraphTitleMargins");async function s(t,e){let r=t.getElementsByTagName("img");if(!r||0===r.length)return;let o=""===e.replace(/<img[^>]*>/g,"").trim();await Promise.all([...r].map(t=>new Promise(e=>{function r(){if(t.style.display="flex",t.style.flexDirection="column",o){let e=(0,a.D7)().fontSize?(0,a.D7)().fontSize:window.getComputedStyle(document.body).fontSize,[r=a.UI.fontSize]=(0,n.I5)(e),i=5*r+"px";t.style.minWidth=i,t.style.maxWidth=i}else t.style.width="100%";e(t)}(0,i.K)(r,"setupImage"),setTimeout(()=>{t.complete&&r()}),t.addEventListener("error",r),t.addEventListener("load",r)})))}(0,i.K)(s,"configureLabelImages")},57626:(t,e,r)=>{"use strict";e.J=function(t){if(!t)return n.BLANK_URL;var e,r=a(t.trim());do e=(r=a(r=r.replace(n.ctrlCharactersRegex,"").replace(n.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(n.htmlCtrlEntityRegex,"").replace(n.ctrlCharactersRegex,"").replace(n.whitespaceEscapeCharsRegex,"").trim())).match(n.ctrlCharactersRegex)||r.match(n.htmlEntitiesRegex)||r.match(n.htmlCtrlEntityRegex)||r.match(n.whitespaceEscapeCharsRegex);while(e&&e.length>0);var i=r;if(!i)return n.BLANK_URL;if(n.relativeFirstCharacters.indexOf(i[0])>-1)return i;var o=i.trimStart(),s=o.match(n.urlSchemeRegex);if(!s)return i;var l=s[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(l))return n.BLANK_URL;var c=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return c;if("http:"===l||"https:"===l){if(!URL.canParse(c))return n.BLANK_URL;var u=new URL(c);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return c};var n=r(45167);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}},59980:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(39344),a=r(19608),i=r(15841),o=r(898);let s=(t,e,r=0,s=1)=>
60{if("number"!=typeof t)return(0,o.A)(t,{a:e});let l=a.A.set({r:n.A.channel.clamp.r(t),g:n.A.channel.clamp.g(e),b:n.A.channel.clamp.b(r),a:n.A.channel.clamp.a(s)});return i.A.stringify(l)}},60734:(t,e,r)=>{"use strict";r.d(e,{XX:()=>p,q7:()=>d,sO:()=>h});var n=r(28106),a=r(63856),i=r(48836),o=r(42305),s=r(71785),l=r(75103),c={common:o.Y2,getConfig:o.zj,insertCluster:a.U,insertEdge:n.Jo,insertEdgeLabel:n.jP,insertMarkers:n.g0,insertNode:a.on,interpolateToCurve:i.Ib,labelHelper:a.Zk,log:s.R,positionEdgeLabel:n.T_},u={},h=(0,l.K)(t=>{for(let e of t)u[e.name]=e},"registerLayoutLoaders");(0,l.K)(()=>{h([{name:"dagre",loader:(0,l.K)(async()=>await Promise.all([r.e(2678),r.e(1375),r.e(3626),r.e(996),r.e(4056)]).then(r.bind(r,54056)),"loader")},{name:"swimlane",loader:(0,l.K)(async()=>await Promise.all([r.e(6705),r.e(2678),r.e(5208),r.e(1375),r.e(996)]).then(r.bind(r,60543)),"loader")},{name:"cose-bilkent",loader:(0,l.K)(async()=>await Promise.all([r.e(836),r.e(4286)]).then(r.bind(r,44286)),"loader")}])},"registerDefaultLayoutLoaders")();var p=(0,l.K)(async(t,e,r)=>{if(!(t.layoutAlgorithm in u))throw Error("Unknown layout algorithm: ".concat(t.layoutAlgorithm));if(t.diagramId)for(let e of t.nodes){let r=e.domId||e.id;e.domId="".concat(t.diagramId,"-").concat(r)}let n=u[t.layoutAlgorithm],a=await n.loader(),{theme:i,themeVariables:o}=t.config,{useGradient:s,gradientStart:l,gradientStop:h}=o,p=e.attr("id");if(e.append("defs").append("filter").attr("id","".concat(p,"-drop-shadow")).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color","".concat((null==i?void 0:i.includes("dark"))?"#FFFFFF":"#000000")),e.append("defs").append("filter").attr("id","".concat(p,"-drop-shadow-small")).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color","".concat((null==i?void 0:i.includes("dark"))?"#FFFFFF":"#000000")),s){let t=e.append("linearGradient").attr("id",e.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("svg:stop").attr("offset","0%").attr("stop-color",l).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",h).attr("stop-opacity",1)}return a.render(t,e,c,{algorithm:n.algorithm},r)},"render"),d=(0,l.K)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{fallback:e="dagre"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t in u)return t;if(e in u)return s.R.warn("Layout algorithm ".concat(t," is not registered. Using ").concat(e," as fallback.")),e;throw Error("Both layout algorithms ".concat(t," and ").concat(e," are not registered."))},"getRegisteredLayoutAlgorithm")},65157:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39344),a=r(15841);let i=(t,e,r)=>{let i=a.A.parse(t),o=i[e],s=n.A.channel.clamp[e](o+r);return o!==s&&(i[e]=s),a.A.stringify(i)}},65694:(t,e,r)=>{"use strict";r.d(e,{P:()=>a});let n="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||function(){return this}();function a(t){return void 0!==n.Buffer&&n.Buffer.isBuffer(t)}},70386:(t,e,r)=>{"use strict";r.d(e,{D:()=>o});var n=r(42305),a=r(75103),i=r(88395),o=(0,a.K)(t=>{let{securityLevel:e}=(0,n.D7)(),r=(0,i.Ltv)("body");if("sandbox"===e){var a,o;let e=null!=(o=null==(a=(0,i.Ltv)("#i".concat(t)).node())?void 0:a.contentDocument)?o:document;r=(0,i.Ltv)(e.body)}return r.select("#".concat(t))},"selectSvgElement")},70745:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(15841),a=r(898);let i=(t,e)=>{let r=n.A.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,a.A)(t,i)}},71785:(t,e,r)=>{"use strict";r.d(e,{H:()=>s,R:()=>o});var n=r(75103),a=r(13588),i={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},o={trace:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"trace"),debug:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"debug"),info:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"info"),warn:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"warn"),error:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"error"),fatal:(0,n.K)(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r]},"fatal")},s=(0,n.K)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal",e=i.fatal;"string"==typeof t?t.toLowerCase()in i&&(e=i[t]):"number"==typeof t&&(e=t),o.trace=()=>{},o.debug=()=>{},o.info=()=>{},o.warn=()=>{},o.error=()=>{},o.fatal=()=>{}
60,e<=i.fatal&&(o.fatal=console.error?console.error.bind(console,l("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",l("FATAL"))),e<=i.error&&(o.error=console.error?console.error.bind(console,l("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",l("ERROR"))),e<=i.warn&&(o.warn=console.warn?console.warn.bind(console,l("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",l("WARN"))),e<=i.info&&(o.info=console.info?console.info.bind(console,l("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",l("INFO"))),e<=i.debug&&(o.debug=console.debug?console.debug.bind(console,l("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",l("DEBUG"))),e<=i.trace&&(o.trace=console.debug?console.debug.bind(console,l("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",l("TRACE")))},"setLogLevel"),l=(0,n.K)(t=>{let e=a().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")},"format")},75103:(t,e,r)=>{"use strict";r.d(e,{K:()=>a,V:()=>i});var n=Object.defineProperty,a=(t,e)=>n(t,"name",{value:e,configurable:!0}),i=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})}},75806:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(15841),a=r(59980);let i=(t,e=100)=>{let r=n.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,((t,e,r=50)=>{let{r:i,g:o,b:s,a:l}=n.A.parse(t),{r:c,g:u,b:h,a:p}=n.A.parse(e),d=r/100,f=2*d-1,g=l-p,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,a.A)(i*m+c*y,o*m+u*y,s*m+h*y,l*d+p*(1-d))})(r,t,e)}},81031:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{A:()=>tx});let a=Object.entries,i=Object.setPrototypeOf,o=Object.isFrozen,s=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,c=Object.freeze,u=Object.seal,h=Object.create,p="undefined"!=typeof Reflect&&Reflect,d=p.apply,f=p.construct;c||(c=function(t){return t}),u||(u=function(t){return t}),d||(d=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return t.apply(e,n)}),f||(f=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});let g=P(Array.prototype.forEach),m=P(Array.prototype.lastIndexOf),y=P(Array.prototype.pop),b=P(Array.prototype.push),x=P(Array.prototype.splice),k=Array.isArray,_=P(String.prototype.toLowerCase),w=P(String.prototype.toString),v=P(String.prototype.match),M=P(String.prototype.replace),S=P(String.prototype.indexOf),A=P(String.prototype.trim),T=P(Number.prototype.toString),C=P(Boolean.prototype.toString),L="undefined"==typeof BigInt?null:P(BigInt.prototype.toString),O="undefined"==typeof Symbol?null:P(Symbol.prototype.toString),E=P(Object.prototype.hasOwnProperty),K=P(Object.prototype.toString),R=P(RegExp.prototype.test),D=(tb=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return f(tb,e)});function P(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return d(t,e,n)}}function I(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(i&&i(t,null),!k(e))return t;let n=e.length;for(;n--;){let a=e[n];if("string"==typeof a){let t=r(a);t!==a&&(o(e)||(e[n]=t),a=t)}t[a]=!0}return t}function $(t){let e=h(null);for(let i of a(t)){var r=function(t){if(Array.isArray(t))return t}(i)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,i,o,s=[],l=!0,c=!1;try{i=(r=r.call(t)).next,!1;for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(i,2)||function(t,e){if(t){if("string"==typeof t)return n(t,2);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(i,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let a=r[0],o=r[1];E(t,a)&&(k(o)?e[a]=function(t){for(let e=0;e<t.length;e++)E(t,e)||(t[e]=null);return t}(o):o&&"object"==typeof o&&o.constructor===Object?e[a]=$(o):e[a]=o)}return e}function j(t,e){for(;null!==t;){let r=l(t,e);if(r){if(r.get)return P(r.get);if("function"==typeof r.value)return P(r.value)}t=s(t)}return function(){return null}}let N=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),U=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),z=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),B=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),H=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=c(["#text"]),Y=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
60spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),q=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Z=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),X=u(/{{[\w\W]*|^[\w\W]*}}/g),V=u(/<%[\w\W]*|^[\w\W]*%>/g),Q=u(/\${[\w\W]*/g),J=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),tt=u(/^aria-[\-\w]+$/),te=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tr=u(/^(?:\w+script|data):/i),tn=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ta=u(/^html$/i),ti=u(/^[a-z][.\w]*(-[.\w]+)+$/i),to=u(/<[/\w!]/g),ts=u(/<[/\w]/g),tl=u(/<\/no(script|embed|frames)/i),tc=u(/\/>/i),tu={element:1,text:3,processingInstruction:7,comment:8,document:9,documentFragment:11},th=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],tp=c(I({},th)),td=function(){let t={};return g(th,e=>{t[e]=u(RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),c(t)}(),tf=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tg=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},tm=function(t,e,r,n){return E(t,e)&&k(t[e])?I(n.base?$(n.base):{},t[e],n.transform):r},ty=function(t,e,r){let n=E(t,e)?t[e]:void 0;return n&&"object"==typeof n?$(n):r()};var tb,tx=function t(){let e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=e=>t(e);
60if(i.version="3.4.15",i.removed=[],!n||!n.document||n.document.nodeType!==tu.document||!n.Element)return i.isSupported=!1,i;let o=n.document,s=o,l=s.currentScript;n.DocumentFragment;let p=n.HTMLTemplateElement,d=n.Node,f=n.Element,P=n.NodeFilter;void 0===n.NamedNodeMap&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let th=n.DOMParser,tb=n.trustedTypes,tx=f.prototype,tk=j(tx,"cloneNode"),t_=j(tx,"remove"),tw=j(tx,"removeAttributeNode"),tv=j(tx,"nextSibling"),tM=j(tx,"childNodes"),tS=j(tx,"parentNode"),tA=j(tx,"shadowRoot"),tT=j(tx,"attributes"),tC=d&&d.prototype?j(d.prototype,"nodeType"):null,tL=d&&d.prototype?j(d.prototype,"nodeName"):null,tO=d&&d.prototype?j(d.prototype,"ownerDocument"):null,tE=function(t){return tC?tC(t):t.nodeType},tK=function(t){return tL?tL(t):t.nodeName};if("function"==typeof p){let t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let tR="",tD=!1,tP=0,tI=function(){if(tP>0)throw D('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},t$=function(t){tI(),tP++;try{return e.createHTML(t)}finally{tP--}},tj=function(t){tI(),tP++;try{return e.createScriptURL(t)}finally{tP--}},tN=o,tU=tN.implementation,tz=tN.createNodeIterator,tF=tN.createDocumentFragment,tB=tN.getElementsByTagName,tH=s.importNode,tW=tg();i.isSupported="function"==typeof a&&"function"==typeof tS&&tU&&void 0!==tU.createHTMLDocument;let tY=te,tq=null,tG=I({},[...N,...U,...z,...B,...W]),tZ=null,tX=I({},[...Y,...q,...G,...Z]),tV=Object.seal(h(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}})),tQ=null,tJ=null,t0=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),t1=!0,t2=!0,t3=!1,t5=!0,t6=!1,t4=!0,t8=!1,t9=!1,t7=null,et=null,ee=!1,er=!1,en=!1,ea=!1,ei=!0,eo=!1,es="user-content-",el=!0,ec=!1,eu={},eh=null,ep=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ed=null,ef=I({},["audio","video","img","source","image","track"]),eg=null,em=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ey="http://www.w3.org/1998/Math/MathML",eb="http://www.w3.org/2000/svg",ex="http://www.w3.org/1999/xhtml",ek=ex,e_=!1,ew=null,ev=I({},[ey,eb,ex],w),eM=c(["mi","mo","mn","ms","mtext"]),eS=I({},eM),eA=c(["annotation-xml"]),eT=I({},eA),eC=I({},["title","style","font","a","script"]),eL=null,eO=["application/xhtml+xml","text/html"],eE=null,eK=null,eR=o.createElement("form"),eD=function(t){return t instanceof RegExp||t instanceof Function},eP=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(eK&&eK===t)return;t&&"object"==typeof t||(t={}),t=$(t),eE="application/xhtml+xml"===(eL=-1===eO.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?w:_,tq=tm(t,"ALLOWED_TAGS",tG,{transform:eE}),tZ=tm(t,"ALLOWED_ATTR",tX,{transform:eE}),ew=tm(t,"ALLOWED_NAMESPACES",ev,{transform:w}),eg=tm(t,"ADD_URI_SAFE_ATTR",em,{transform:eE,base:em}),ed=tm(t,"ADD_DATA_URI_TAGS",ef,{transform:eE,base:ef}),eh=tm(t,"FORBID_CONTENTS",ep,{transform:eE}),tQ=tm(t,"FORBID_TAGS",$({}),{transform:eE}),tJ=tm(t,"FORBID_ATTR",$({}),{transform:eE}),eu=!!E(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?$(t.USE_PROFILES):t.USE_PROFILES),t1=!1!==t.ALLOW_ARIA_ATTR,t2=!1!==t.ALLOW_DATA_ATTR,t3=t.ALLOW_UNKNOWN_PROTOCOLS||!1,t5=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,t6=t.SAFE_FOR_TEMPLATES||!1,t4=!1!==t.SAFE_FOR_XML,t8=t.WHOLE_DOCUMENT||!1,er=t.RETURN_DOM||!1,en=t.RETURN_DOM_FRAGMENT||!1,ea=t.RETURN_TRUSTED_TYPE||!1,ee=t.FORCE_BODY||!1,ei=!1!==t.SANITIZE_DOM,eo=t.SANITIZE_NAMED_PROPS||!1,el=!1!==t.KEEP_CONTENT,ec=t.IN_PLACE||!1,tY=!function(t){try{return R(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?te:t.ALLOWED_URI_REGEXP,ek="string"==typeof t.NAMESPACE?t.NAMESPACE:ex,eS=ty(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>I({},eM)),eT=ty(t,"HTML_INTEGRATION_POINTS",()=>I({},eA));let n=ty(t,"CUSTOM_ELEMENT_HANDLING",()=>h(null));if(tV=h(null),E(n,"tagNameCheck")&&eD(n.tagNameCheck)&&(tV.tagNameCheck=n.tagNameCheck),E(n,"attributeNameCheck")&&eD(n.attributeNameCheck)&&(tV.attributeNameCheck=n.attributeNameCheck),E(n,"allowCustomizedBuiltInElements")&&"boolean"==typeof n.allowCustomizedBuiltInElements&&(tV.allowCustomizedBuiltInElements=n.allowCustomizedBuiltInElements),u(tV),t6&&(t2=!1),en&&(er=!0),eu&&(tq=I({}
60,W),tZ=h(null),!0===eu.html&&(I(tq,N),I(tZ,Y)),!0===eu.svg&&(I(tq,U),I(tZ,q),I(tZ,Z)),!0===eu.svgFilters&&(I(tq,z),I(tZ,q),I(tZ,Z)),!0===eu.mathMl&&(I(tq,B),I(tZ,G),I(tZ,Z))),t0.tagCheck=null,t0.attributeCheck=null,E(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?t0.tagCheck=t.ADD_TAGS:k(t.ADD_TAGS)&&(tq===tG&&(tq=$(tq)),I(tq,t.ADD_TAGS,eE))),E(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?t0.attributeCheck=t.ADD_ATTR:k(t.ADD_ATTR)&&(tZ===tX&&(tZ=$(tZ)),I(tZ,t.ADD_ATTR,eE))),E(t,"ADD_FORBID_CONTENTS")&&k(t.ADD_FORBID_CONTENTS)&&(eh===ep&&(eh=$(eh)),I(eh,t.ADD_FORBID_CONTENTS,eE)),el&&(tq["#text"]=!0),t8&&I(tq,["html","head","body"]),tq.table&&(I(tq,["tbody"]),delete tQ.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw D('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=e;e=t.TRUSTED_TYPES_POLICY;try{tR=t$("")}catch(t){throw e=r,t}}else null===t.TRUSTED_TYPES_POLICY?(e=void 0,tR=""):(void 0===e&&(tD||(r=tf(tb,l),tD=!0),e=r),e&&"string"==typeof tR&&(tR=t$("")));c&&c(t),eK=t},eI=I({},[...U,...z,...F]),e$=I({},[...B,...H]),ej=function(t){var e,r,n;let a=tS(t);a&&a.tagName||(a={namespaceURI:ek,tagName:"template"});let i=_(t.tagName),o=_(a.tagName);return!!ew[t.namespaceURI]&&(t.namespaceURI===eb?(e=a).namespaceURI===ex?"svg"===i:e.namespaceURI===ey?"svg"===i&&("annotation-xml"===o||eS[o]):!!eI[i]:t.namespaceURI===ey?(r=a).namespaceURI===ex?"math"===i:r.namespaceURI===eb?"math"===i&&eT[o]:!!e$[i]:t.namespaceURI===ex?((n=a).namespaceURI!==eb||!!eT[o])&&(n.namespaceURI!==ey||!!eS[o])&&!e$[i]&&(eC[i]||!eI[i]):"application/xhtml+xml"===eL&&!!ew[t.namespaceURI])},eN=function(t){b(i.removed,{element:t});try{tS(t).removeChild(t)}catch(e){if(t_(t),!tS(t))throw D("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},eU=function(t,e,r){try{tw(t,e)}catch(e){try{t.removeAttribute(r)}catch(t){}}},ez=function(t){eH(t);let e=tM(t);if(e){let t=[];g(e,e=>{b(t,e)}),g(t,t=>{try{t_(t)}catch(t){}})}let r=tT(t);if(r)for(let e=r.length-1;e>=0;--e){let n=r[e],a=n&&n.name;"string"==typeof a&&eU(t,n,a)}},eF=function(t,e,r){if(!r)try{r=e.getAttributeNode(t)}catch(t){r=null}b(i.removed,{attribute:r||null,from:e});try{r?tw(e,r):e.removeAttribute(t)}catch(r){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(er||en)try{eN(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},eB=function(t){let e=tT(t);if(e)for(let r=e.length-1;r>=0;--r){let n=e[r],a=n&&n.name;"string"!=typeof a||tZ[eE(a)]||eU(t,n,a)}},eH=function(t){let e=[t];for(;e.length>0;){let t=e.pop();tE(t)===tu.element&&eB(t);let r=tM(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}},eW=function(t,e){return!!t4&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},eY=function(t){if(!t4)return;let e=[t];for(;e.length>0;){let t=e.pop(),r=tE(t);if(r===tu.processingInstruction||r===tu.comment&&R(ts,t.data)){try{t_(t)}catch(t){}continue}if(r===tu.element){let e=eE(tK(t));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&eW("for",e)&&t.removeAttribute("for")}catch(t){}}let n=tM(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},eq=function(t){let r=null,n=null;if(ee)t="<remove></remove>"+t;else{let e=v(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===eL&&ek===ex&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?t$(t):t;if(ek===ex)try{r=new th().parseFromString(a,eL)}catch(t){}if(!r||!r.documentElement){r=tU.createDocument(ek,"template",null);try{r.documentElement.innerHTML=e_?tR:a}catch(t){}}let i=r.body||r.documentElement;return(t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),ek===ex)?tB.call(r,t8?"html":"body")[0]:t8?r.documentElement:i},eG=function(t){let e=tO?tO(t):t.ownerDocument;return tz.call(e||t,t,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},eZ=function(t){return t=M(t,X," "),t=M(t,V," "),t=M(t,Q," ")},eX=function(t){var e;t.normalize();let r=tO?tO(t):t.ownerDocument,n=tz.call(r||t,t,P.SHOW_TEXT|P.SHOW_COMMENT|P.SHOW_CDATA_SECTION|P.SHOW_PROCESSING_INSTRUCTION,null),a=n.nextNode();for(;a;)a.data=eZ(a.data),a=n.nextNode();let i=null==(e=t.querySelectorAll)?void 0:e.call(t,"template");i&&g(i,t=>{eQ(t.content)&&eX(t.content)})},eV=function(t){let e=tL?tL(t):null;return"string"==typeof e&&"form"===eE(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==tT(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==tC(t)||t.childNodes!==tM(t))},eQ=function(t){if(!tC||"object"!=typeof t||null===t)return!1;try{return tC(t)===tu.documentFragment}catch(t){return!1}},eJ=function(t){if(!tC||"object"!=typeof t||null===t)return!1;try{return"number"==typeof tC(t)}catch(t){return!1}};function e0(t,e,r){0!==t.length&&g(t,t=>{t.call(i,e,r,eK)})}let e1=function(t,e){if(t instanceof RegExp)return R(t,e);if(t instanceof Function){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return!!t(e,...n)}return!1},e2=function(t,e,r){if(!tQ[e]&&e9(e)&&e1(tV.tagNameCheck,e))return!1;if(el&&!eh[e]){let e=tS(t),n=tM(t);if(n&&e){let a=n.length;for(let i=a-1;i>=0;--i){let a=t===r?tk(n[i],!0):n[i];e.insertBefore(a,tv(t))}}}return eN(t),!0},e3=function(t,e,r,n){return 0===t.length?e:e===r||e===n?$(e):e},e5=function(t,e){return t!==e&&null===tS(t)&&(ec&&eH(t),!0)},e6=function(t,e){if(e0(tW.beforeSanitizeElements,t,null),e5(t,e))return!0;
60if(eV(t))return eN(t),!0;let r=eE(tK(t));if(tq=e3(tW.uponSanitizeElement,tq,tG,t7),e0(tW.uponSanitizeElement,t,{tagName:r,allowedTags:tq}),e5(t,e))return!0;if(t4&&t.hasChildNodes()&&!eJ(t.firstElementChild)&&R(to,t.textContent)&&R(to,t.innerHTML)||t4&&t.namespaceURI===ex&&tp[r]&&(eJ(t.firstElementChild)||"string"==typeof t.textContent&&R(td[r],t.textContent))||t.nodeType===tu.processingInstruction||t4&&t.nodeType===tu.comment&&R(ts,t.data))return eN(t),!0;if(tQ[r]||!(t0.tagCheck instanceof Function&&t0.tagCheck(r))&&!tq[r]){let n=e2(t,r,e);return!1===n&&e0(tW.afterSanitizeElements,t,null),n}if(tE(t)===tu.element&&!ej(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&R(tl,t.innerHTML))return eN(t),!0;if(t6&&t.nodeType===tu.text){let e=eZ(t.textContent);t.textContent!==e&&(b(i.removed,{element:t.cloneNode()}),t.textContent=e)}return e0(tW.afterSanitizeElements,t,null),!1},e4=function(t,e,r){if(tJ[e]||eW(e,t)||ei&&("id"===e||"name"===e)&&(r in o||r in eR))return!1;let n=tZ[e]||t0.attributeCheck instanceof Function&&t0.attributeCheck(e,t);return!!(t2&&R(J,e)||t1&&R(tt,e))||(n?!(!(eg[e]||R(tY,M(r,tn,"")))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==S(r,"data:")||!ed[t])&&(!t3||R(tr,M(r,tn,""))))||!r:e9(t)&&e1(tV.tagNameCheck,t)&&e1(tV.attributeNameCheck,e,t)||"is"===e&&tV.allowCustomizedBuiltInElements&&e1(tV.tagNameCheck,r))}
60,e8=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),e9=function(t){return!e8[_(t)]&&R(ti,t)},e7=function(t,r,n,a){if(e&&"object"==typeof tb&&"function"==typeof tb.getAttributeType&&!n)switch(tb.getAttributeType(t,r)){case"TrustedHTML":return t$(a);case"TrustedScriptURL":return tj(a)}return a},rt=function(t,e,r,n){try{if(r?t.setAttributeNS(r,e,n):t.setAttribute(e,n),eV(t))return eN(t),!1;return!0}catch(r){return eF(e,t),!1}},re=function(t){e0(tW.beforeSanitizeAttributes,t,null);let e=t.attributes;if(!e||eV(t))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tZ=e3(tW.uponSanitizeAttribute,tZ,tX,et),forceKeepAttr:void 0},n=e.length,a=eE(t.nodeName);for(;n--;){let o=e[n],s=o.name,l=o.namespaceURI,c=o.value,u=eE(s),h="value"===s?c:A(c),p=!1;if(r.attrName=u,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,e0(tW.uponSanitizeAttribute,t,r),h=r.attrValue,eo&&("id"===u||"name"===u)&&0!==S(h,es)&&(eF(s,t,o),h=es+h,p=!0),t4&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)||"attributename"===u&&v(h,"href")){eF(s,t,o);continue}if(!r.forceKeepAttr){if(!r.keepAttr||!t5&&R(tc,h)||(t6&&(h=eZ(h)),!e4(a,u,h))){eF(s,t,o);continue}(h=e7(a,u,l,h))!==c&&rt(t,s,l,h)&&p&&y(i.removed)}}e0(tW.afterSanitizeAttributes,t,null)},rr=function(t){let e=null,r=eG(t);for(e0(tW.beforeSanitizeShadowDOM,t,null);e=r.nextNode();)if(e0(tW.uponSanitizeShadowNode,e,null),e6(e,t),re(e),eQ(e.content)&&rr(e.content),tE(e)===tu.element){let t=tA(e);eQ(t)&&(rn(t),rr(t))}e0(tW.afterSanitizeShadowDOM,t,null)},rn=function(t){let e=[{node:t,shadow:null}];for(;e.length>0;){let t=e.pop();if(t.shadow){rr(t.shadow);continue}let r=t.node,n=tE(r)===tu.element,a=tM(r);if(a)for(let t=a.length-1;t>=0;--t)e.push({node:a[t],shadow:null});if(n){let t=tL?tL(r):null;if("string"==typeof t&&"template"===eE(t)){let t=r.content;eQ(t)&&e.push({node:t,shadow:null})}}if(n){let t=tA(r);eQ(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return i.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,o=null,l=null;if((e_=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eJ(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return T(t);case"boolean":return C(t);case"bigint":return L?L(t):"0";case"symbol":return O?O(t):"Symbol()";case"undefined":default:return K(t);case"function":case"object":{if(null===t)return K(t);let e=j(t,"toString");if("function"==typeof e){let r=e(t);return"string"==typeof r?r:K(r)}return K(t)}}}(t)))throw D("dirty is not a string, aborting");if(!i.isSupported)return t;t9?(tq=t7,tZ=et):eP(r),(tW.uponSanitizeElement.length>0||tW.uponSanitizeAttribute.length>0)&&(tq=$(tq)),tW.uponSanitizeAttribute.length>0&&(tZ=$(tZ)),i.removed=[];let c=ec&&"string"!=typeof t&&eJ(t);if(c){eY(t);let e=tK(t);if("string"==typeof e){let r=eE(e);if(!tq[r]||tQ[r])throw ez(t),D("root node is forbidden and cannot be sanitized in-place")}if(eV(t))throw ez(t),D("root node is clobbered and cannot be sanitized in-place");try{rn(t)}catch(e){throw ez(t),e}}else if(eJ(t))(a=(n=eq("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===tu.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a),rn(n);else{if(!er&&!t6&&!t8&&-1===t.indexOf("<"))return e&&ea?t$(t):t;if(!(n=eq(t)))return er?null:ea?tR:""}n&&ee&&eN(n.firstChild);let u=c?t:n;try{let t=eG(u);for(;o=t.nextNode();)e6(o,u),re(o),eQ(o.content)&&rr(o.content)}catch(e){throw c&&(ez(t),g(i.removed,t=>{t.element&&eH(t.element)})),e}if(c)return g(i.removed,t=>{t.element&&eH(t.element)}),t6&&eX(t),t;if(er){if(t6&&eX(n),en)for(l=tF.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(tZ.shadowroot||tZ.shadowrootmode)&&(l=tH.call(s,l,!0)),l}let h=t8?n.outerHTML:n.innerHTML;return t8&&tq["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(ta,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),t6&&(h=eZ(h)),e&&ea?t$(h):h},i.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};eP(t),t9=!0,t7=tq,et=tZ},i.clearConfig=function(){eK=null,t9=!1,t7=null,et=null,e=r,tR=""},i.isValidAttribute=function(t,e,r){return eK||eP({}),e4(eE(t),eE(e),r)},i.addHook=function(t,e){"function"==typeof e&&E(tW,t)&&b(tW[t],e)},i.removeHook=function(t,e){if(E(tW,t)){if(void 0!==e){let r=m(tW[t],e);return -1===r?void 0:x(tW[t],r,1)[0]}return y(tW[t])}},i.removeHooks=function(t){E(tW,t)&&(tW[t]=[])},i.removeAllHooks=function(){tW=tg()},i}()},83804:(t,e,r)=>{"use strict";function n(t){var e;return null!=t&&"function"!=typeof t&&Number.isSafeInteger(e=t.length)&&e>=0}r.d(e,{X:()=>n})},85426:(t,e,r)=>{"use strict";r.d(e,{H:()=>eN,r:()=>ej});var n,a=r(75103);function i(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t,e){var r,n="";for(r=0;r<e;r+=1)n+=t;return n}function l(t){return 0===t&&-1/0==1/t}(0,a.K)(i,"isNothing"),(0,a.K)(o,"isObject"),(0,a.K)(function(t){return Array.isArray(t)?t:i(t)?[]:[t]},"toArray"),(0,a.K)(function(t,e){var r,n,a,i;if(e)for(r=0,n=(i=Object.keys(e)).length;r<n;r+=1)t[a=i[r]]=e[a];return t},"extend"),(0,a.K)(s,"repeat"),(0,a.K)(l,"isNegativeZero");var c={isNothing:i,isObject:o,repeat:s,isNegativeZero:l};function u(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),n+" "+r):n}function h(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=u(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function p(t,e,r,n,a){var i="",o="",s=Math.floor(a/2)-1;return n-e>s&&(e=n-s+(i=" ... ").length),r-n>s&&(r=n+s-(o=" ...").length),{str:i+t.slice(e,r).replace(/\t/g,"→")+o,pos:n-e+i.length}}function d(t,e){return c.repeat(" ",e-t.length)+t}function f(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],a=[],i=-1;o=r.exec(t.buffer);)a.push(o.index),n.push(o.index+o[0].length),t.position<=o.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var o,s,l,u="",h=Math.min(t.line+e.linesAfter,a.length).toString().length,f=e.maxLength-(e.indent+h+3);for(s=1;s<=e.linesBefore&&!(i-s<0);s++)l=p(t.buffer,n[i-s],a[i-s],t.position-(n[i]-n[i-s]),f),u=c.repeat(" ",e.indent)+d((t.line-s+1).toString(),h)+" | "+l.str+"\n"+u;for(l=p(t.buffer,n[i],a[i],t.position,f),u+=c.repeat(" ",e.indent)+d((t.line+1).toString(),h)+" | "+l.str+"\n"+c.repeat("-",e.indent+h+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(i+s>=a.length);s++)l=p(t.buffer,n[i+s],a[i+s],t.position-(n[i]-n[i+s]),f),u+=c.repeat(" ",e.indent)+d((t.line+s+1).toString(),h)+" | "+l.str+"\n";return u.replace(/\n$/,"")}(0,a.K)(u,"formatError"),(0,a.K)(h,"YAMLException$1"),h.prototype=Object.create(Error.prototype),h.prototype.constructor=h,h.prototype.toString=(0,a.K)(function(t){return this.name+": "+u(this,t)},"toString"),(0,a.K)(p,"getLine"),(0,a.K)(d,"padStart"),(0,a.K)(f,"makeSnippet");var g=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],m=["scalar","sequence","mapping"];function y(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function b(t,e){if(Object.keys(e=e||{}
60).forEach(function(e){if(-1===g.indexOf(e))throw new h('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=y(e.styleAliases||null),-1===m.indexOf(this.kind))throw new h('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function x(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,n){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=n)}),r[e]=t}),r}function k(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,a.K)(n,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(n);return r}function _(t){return this.extend(t)}(0,a.K)(y,"compileStyleAliases"),(0,a.K)(b,"Type$1"),(0,a.K)(x,"compileList"),(0,a.K)(k,"compileMap"),(0,a.K)(_,"Schema$1"),_.prototype.extend=(0,a.K)(function(t){var e=[],r=[];if(t instanceof b)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new h("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof b))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new h("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new h("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof b))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(_.prototype);return n.implicit=(this.implicit||[]).concat(e),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=x(n,"implicit"),n.compiledExplicit=x(n,"explicit"),n.compiledTypeMap=k(n.compiledImplicit,n.compiledExplicit),n},"extend");var w=new _({explicit:[new b("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,a.K)(function(t){return null!==t?t:""},"construct")}),new b("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,a.K)(function(t){return null!==t?t:[]},"construct")}),new b("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,a.K)(function(t){return null!==t?t:{}},"construct")})]});function v(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function M(){return null}function S(t){return null===t}(0,a.K)(v,"resolveYamlNull"),(0,a.K)(M,"constructYamlNull"),(0,a.K)(S,"isNull");var A=new b("tag:yaml.org,2002:null",{kind:"scalar",resolve:v,construct:M,predicate:S,represent:{canonical:(0,a.K)(function(){return"~"},"canonical"),lowercase:(0,a.K)(function(){return"null"},"lowercase"),uppercase:(0,a.K)(function(){return"NULL"},"uppercase"),camelcase:(0,a.K)(function(){return"Null"},"camelcase"),empty:(0,a.K)(function(){return""},"empty")},defaultStyle:"lowercase"});function T(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function C(t){return"true"===t||"True"===t||"TRUE"===t}function L(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,a.K)(T,"resolveYamlBoolean"),(0,a.K)(C,"constructYamlBoolean"),(0,a.K)(L,"isBoolean");var O=new b("tag:yaml.org,2002:bool",{kind:"scalar",resolve:T,construct:C,predicate:L,represent:{lowercase:(0,a.K)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,a.K)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,a.K)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function E(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function K(t){return 48<=t&&t<=55}function R(t){return 48<=t&&t<=57}function D(t){if(null===t)return!1;var e,r=t.length,n=0,a=!1;if(!r)return!1;if(("-"===(e=t[n])||"+"===e)&&(e=t[++n]),"0"===e){if(n+1===r)return!0;
60if("b"===(e=t[++n])){for(n++;n<r;n++)if("_"!==(e=t[n])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!E(t.charCodeAt(n)))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!K(t.charCodeAt(n)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;n<r;n++)if("_"!==(e=t[n])){if(!R(t.charCodeAt(n)))return!1;a=!0}return!!a&&"_"!==e}function P(t){var e,r=t,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(e=r[0])||"+"===e)&&("-"===e&&(n=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)}function I(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!c.isNegativeZero(t)}(0,a.K)(E,"isHexCode"),(0,a.K)(K,"isOctCode"),(0,a.K)(R,"isDecCode"),(0,a.K)(D,"resolveYamlInteger"),(0,a.K)(P,"constructYamlInteger"),(0,a.K)(I,"isInteger");var $=new b("tag:yaml.org,2002:int",{kind:"scalar",resolve:D,construct:P,predicate:I,represent:{binary:(0,a.K)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,a.K)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}
60,"octal"),decimal:(0,a.K)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,a.K)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),j=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function N(t){return null!==t&&!!j.test(t)&&"_"!==t[t.length-1]}function U(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,a.K)(N,"resolveYamlFloat"),(0,a.K)(U,"constructYamlFloat");var z=/^[-+]?[0-9]+e/;function F(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(c.isNegativeZero(t))return"-0.0";return r=t.toString(10),z.test(r)?r.replace("e",".e"):r}function B(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||c.isNegativeZero(t))}(0,a.K)(F,"representYamlFloat"),(0,a.K)(B,"isFloat");var H=new b("tag:yaml.org,2002:float",{kind:"scalar",resolve:N,construct:U,predicate:B,represent:F,defaultStyle:"lowercase"}),W=w.extend({implicit:[A,O,$,H]}),Y=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),q=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]))?))?$");function G(t){return null!==t&&(null!==Y.exec(t)||null!==q.exec(t))}function Z(t){var e,r,n,a,i,o,s,l,c=0,u=null;if(null===(e=Y.exec(t))&&(e=q.exec(t)),null===e)throw Error("Date resolve error");
60if(r=+e[1],n=e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,n,a));if(i=+e[4],o=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c*=1}return e[9]&&(u=(60*e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(u=-u)),l=new Date(Date.UTC(r,n,a,i,o,s,c)),u&&l.setTime(l.getTime()-u),l}function X(t){return t.toISOString()}(0,a.K)(G,"resolveYamlTimestamp"),(0,a.K)(Z,"constructYamlTimestamp"),(0,a.K)(X,"representYamlTimestamp");var V=new b("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:G,construct:Z,instanceOf:Date,represent:X});function Q(t){return"<<"===t||null===t}(0,a.K)(Q,"resolveYamlMerge");var J=new b("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Q}),tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function te(t){if(null===t)return!1;var e,r,n=0,a=t.length;for(r=0;r<a;r++)if(!((e=tt.indexOf(t.charAt(r)))>64)){if(e<0)return!1;n+=6}return n%8==0}function tr(t){var e,r,n=t.replace(/[\r\n=]/g,""),a=n.length,i=0,o=[];for(e=0;e<a;e++)e%4==0&&e&&(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)),i=i<<6|tt.indexOf(n.charAt(e));return 0==(r=a%4*6)?(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)):18===r?(o.push(i>>10&255),o.push(i>>2&255)):12===r&&o.push(i>>4&255),new Uint8Array(o)}function tn(t){var e,r,n="",a=0,i=t.length;for(e=0;e<i;e++)e%3==0&&e&&(n+=tt[a>>18&63],n+=tt[a>>12&63],n+=tt[a>>6&63],n+=tt[63&a]),a=(a<<8)+t[e];return 0==(r=i%3)?(n+=tt[a>>18&63],n+=tt[a>>12&63],n+=tt[a>>6&63],n+=tt[63&a]):2===r?(n+=tt[a>>10&63],n+=tt[a>>4&63],n+=tt[a<<2&63],n+=tt[64]):1===r&&(n+=tt[a>>2&63],n+=tt[a<<4&63],n+=tt[64],n+=tt[64]),n}function ta(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,a.K)(te,"resolveYamlBinary"),(0,a.K)(tr,"constructYamlBinary"),(0,a.K)(tn,"representYamlBinary"),(0,a.K)(ta,"isBinary");var ti=new b("tag:yaml.org,2002:binary",{kind:"scalar",resolve:te,construct:tr,predicate:ta,represent:tn}),to=Object.prototype.hasOwnProperty,ts=Object.prototype.toString;function tl(t){if(null===t)return!0;var e,r,n,a,i,o=[];for(e=0,r=t.length;e<r;e+=1){if(n=t[e],i=!1,"[object Object]"!==ts.call(n))return!1;for(a in n)if(to.call(n,a))if(i)return!1;else i=!0;if(!i||-1!==o.indexOf(a))return!1;o.push(a)}return!0}function tc(t){return null!==t?t:[]}(0,a.K)(tl,"resolveYamlOmap"),(0,a.K)(tc,"constructYamlOmap");var tu=new b("tag:yaml.org,2002:omap",{kind:"sequence",resolve:tl,construct:tc}),th=Object.prototype.toString;function tp(t){var e,r,n,a,i;if(null===t)return!0;for(e=0,i=Array(t.length),r=t.length;e<r;e+=1){if(n=t[e],"[object Object]"!==th.call(n)||1!==(a=Object.keys(n)).length)return!1;i[e]=[a[0],n[a[0]]]}return!0}function td(t){var e,r,n,a,i;if(null===t)return[];for(e=0,i=Array(t.length),r=t.length;e<r;e+=1)a=Object.keys(n=t[e]),i[e]=[a[0],n[a[0]]];return i}(0,a.K)(tp,"resolveYamlPairs"),(0,a.K)(td,"constructYamlPairs");var tf=new b("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:tp,construct:td}),tg=Object.prototype.hasOwnProperty;function tm(t){var e;if(null===t)return!0;for(e in t)if(tg.call(t,e)&&null!==t[e])return!1;return!0}function ty(t){return null!==t?t:{}}(0,a.K)(tm,"resolveYamlSet"),(0,a.K)(ty,"constructYamlSet");var tb=new b("tag:yaml.org,2002:set",{kind:"mapping",resolve:tm,construct:ty}),tx=W.extend({implicit:[V,J],explicit:[ti,tu,tf,tb]}),tk=Object.prototype.hasOwnProperty,t_=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tw=/[\x85\u2028\u2029]/,tv=/[,\[\]\{\}]/,tM=/^(?:!|!!|![a-z\-]+!)$/i,tS=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tA(t){return Object.prototype.toString.call(t)}function tT(t){return 10===t||13===t}function tC(t){return 9===t||32===t}function tL(t){return 9===t||32===t||10===t||13===t}function tO(t){return 44===t||91===t||93===t||123===t||125===t}function tE(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function tK(t){return 120===t?2:117===t?4:8*(85===t)}function tR(t){return 48<=t&&t<=57?t-48:-1}function tD(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"	":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function tP(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function tI(t,e,r){"__proto__"===e?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(0,a.K)(tA,"_class"),(0,a.K)(tT,"is_EOL"),(0,a.K)(tC,"is_WHITE_SPACE"),(0,a.K)(tL,"is_WS_OR_EOL"),(0,a.K)(tO,"is_FLOW_INDICATOR"),(0,a.K)(tE,"fromHexCode"),(0,a.K)(tK,"escapedHexLen"),(0,a.K)(tR,"fromDecimalCode"),(0,a.K)(tD,"simpleEscapeSequence"),(0,a.K)(tP,"charFromCodepoint"),(0,a.K)(tI,"setProperty");var t$=Array(256),tj=Array(256);for(n=0;n<256;n++)t$[n]=+!!tD(n),tj[n]=tD(n);function tN(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tx,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.impl
60icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tU(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=f(r),new h(e,r)}function tz(t,e){throw tU(t,e)}function tF(t,e){t.onWarning&&t.onWarning.call(null,tU(t,e))}(0,a.K)(tN,"State$1"),(0,a.K)(tU,"generateError"),(0,a.K)(tz,"throwError"),(0,a.K)(tF,"throwWarning");var tB={YAML:(0,a.K)(function(t,e,r){var n,a,i;null!==t.version&&tz(t,"duplication of %YAML directive"),1!==r.length&&tz(t,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tz(t,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),1!==a&&tz(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&tF(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,a.K)(function(t,e,r){var n,a;2!==r.length&&tz(t,"TAG directive accepts exactly two arguments"),n=r[0],a=r[1],tM.test(n)||tz(t,"ill-formed tag handle (first argument) of the TAG directive"),tk.call(t.tagMap,n)&&tz(t,'there is a previously declared suffix for "'+n+'" tag handle'),tS.test(a)||tz(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch(e){tz(t,"tag prefix is malformed: "+a)}t.tagMap[n]=a},"handleTagDirective")};function tH(t,e,r,n){var a,i,o,s;if(e<r){if(s=t.input.slice(e,r),n)for(a=0,i=s.length;a<i;a+=1)9===(o=s.charCodeAt(a))||32<=o&&o<=1114111||tz(t,"expected valid JSON character");else t_.test(s)&&tz(t,"the stream contains non-printable characters");t.result+=s}}function tW(t,e,r,n){var a,i,o,s;for(c.isObject(r)||tz(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(a=Object.keys(r)).length;o<s;o+=1)i=a[o],tk.call(e,i)||(tI(e,i,r[i]),n[i]=!0)}function tY(t,e,r,n,a,i,o,s,l){var c,u;if(Array.isArray(a))for(c=0,u=(a=Array.prototype.slice.call(a)).length;c<u;c+=1)Array.isArray(a[c])&&tz(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===tA(a[c])&&(a[c]="[object Object]");if("object"==typeof a&&"[object Object]"===tA(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(c=0,u=i.length;c<u;c+=1)tW(t,e,i[c],r);else tW(t,e,i,r);else!t.json&&!tk.call(r,a)&&tk.call(e,a)&&(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,tz(t,"duplicated mapping key")),tI(e,a,i),delete r[a];return e}function tq(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):tz(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tG(t,e,r){for(var n=0,a=t.input.charCodeAt(t.position);0!==a;){for(;tC(a);)9===a&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(tT(a))for(tq(t),a=t.input.charCodeAt(t.position),n++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==n&&t.lineIndent<r&&tF(t,"deficient indentation"),n}function tZ(t){var e,r=t.position;return!!((45===(e=t.input.charCodeAt(r))||46===e)&&e===t.input.charCodeAt(r+1)&&e===t.input.charCodeAt(r+2)&&(r+=3,0===(e=t.input.charCodeAt(r))||tL(e)))||!1}function tX(t,e){1===e?t.result+=" ":e>1&&(t.result+=c.repeat("\n",e-1))}function tV(t,e,r){var n,a,i,o,s,l,c,u,h=t.kind,p=t.result;if(tL(u=t.input.charCodeAt(t.position))||tO(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u||(63===u||45===u)&&(tL(n=t.input.charCodeAt(t.position+1))||r&&tO(n)))return!1;for(t.kind="scalar",t.result="",a=i=t.position,o=!1;0!==u;){if(58===u){if(tL(n=t.input.charCodeAt(t.position+1))||r&&tO(n))break}else if(35===u){if(tL(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tZ(t)||r&&tO(u))break;else if(tT(u)){if(s=t.line,l=t.lineStart,c=t.lineIndent,tG(t,!1,-1),t.lineIndent>=e){o=!0,u=t.input.charCodeAt(t.position);continue}t.position=i,t.line=s,t.lineStart=l,t.lineIndent=c;break}
60o&&(tH(t,a,i,!1),tX(t,t.line-s),a=i=t.position,o=!1),tC(u)||(i=t.position+1),u=t.input.charCodeAt(++t.position)}return tH(t,a,i,!1),!!t.result||(t.kind=h,t.result=p,!1)}function tQ(t,e){var r,n,a;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=a=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tH(t,n,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;n=t.position,t.position++,a=t.position}else tT(r)?(tH(t,n,a,!0),tX(t,tG(t,!1,e)),n=a=t.position):t.position===t.lineStart&&tZ(t)?tz(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);tz(t,"unexpected end of the stream within a single quoted scalar")}function tJ(t,e){var r,n,a,i,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(s=t.input.charCodeAt(t.position));)if(34===s)return tH(t,r,t.position,!0),t.position++,!0;else if(92===s){if(tH(t,r,t.position,!0),tT(s=t.input.charCodeAt(++t.position)))tG(t,!1,e);else if(s<256&&t$[s])t.result+=tj[s],t.position++;else if((o=tK(s))>0){for(a=o,i=0;a>0;a--)(o=tE(s=t.input.charCodeAt(++t.position)))>=0?i=(i<<4)+o:tz(t,"expected hexadecimal character");t.result+=tP(i),t.position++}else tz(t,"unknown escape sequence");r=n=t.position}else tT(s)?(tH(t,r,n,!0),tX(t,tG(t,!1,e)),r=n=t.position):t.position===t.lineStart&&tZ(t)?tz(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position);tz(t,"unexpected end of the stream within a double quoted scalar")}function t0(t,e){var r,n,a,i,o,s,l,c,u,h,p,d,f=!0,g=t.tag,m=t.anchor,y=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,c=!1,i=[];else{if(123!==d)return!1;o=125,c=!0,i={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=i),d=t.input.charCodeAt(++t.position);0!==d;){if(tG(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=m,t.kind=c?"mapping":"sequence",t.result=i,!0;f?44===d&&tz(t,"expected the node content, but found ','"):tz(t,"missed comma between flow collection entries"),h=u=p=null,s=l=!1,63===d&&tL(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tG(t,!0,e)),r=t.line,n=t.lineStart,a=t.position,t8(t,e,1,!1,!0),h=t.tag,u=t.result,tG(t,!0,e),d=t.input.charCodeAt(t.position),(l||t.line===r)&&58===d&&(s=!0,d=t.input.charCodeAt(++t.position),tG(t,!0,e),t8(t,e,1,!1,!0),p=t.result),c?tY(t,i,y,h,u,p,r,n,a):s?i.push(tY(t,null,y,h,u,p,r,n,a)):i.push(u),tG(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(f=!0,d=t.input.charCodeAt(++t.position)):f=!1}tz(t,"unexpected end of the stream within a flow collection")}function t1(t,e){var r,n,a,i,o=1,s=!1,l=!1,u=e,h=0,p=!1;if(124===(i=t.input.charCodeAt(t.position)))n=!1;else{if(62!==i)return!1;n=!0}for(t.kind="scalar",t.result="";0!==i;)if(43===(i=t.input.charCodeAt(++t.position))||45===i)1===o?o=43===i?3:2:tz(t,"repeat of a chomping mode identifier");else if((a=tR(i))>=0)0===a?tz(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tz(t,"repeat of an indentation width identifier"):(u=e+a-1,l=!0);else break;if(tC(i)){do i=t.input.charCodeAt(++t.position);while(tC(i));if(35===i)do i=t.input.charCodeAt(++t.position);while(!tT(i)&&0!==i)}for(;0!==i;){for(tq(t),t.lineIndent=0,i=t.input.charCodeAt(t.position);(!l||t.lineIndent<u)&&32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>u&&(u=t.lineIndent),tT(i)){h++;continue}if(t.lineIndent<u){3===o?t.result+=c.repeat("\n",s?1+h:h):1===o&&s&&(t.result+="\n");break}for(n?tC(i)?(p=!0,t.result+=c.repeat("\n",s?1+h:h)):p?(p=!1,t.result+=c.repeat("\n",h+1)):0===h?s&&(t.result+=" "):t.result+=c.repeat("\n",h):t.result+=c.repeat("\n",s?1+h:h),s=!0,l=!0,h=0,r=t.position;!tT(i)&&0!==i;)i=t.input.charCodeAt(++t.position);tH(t,r,t.position,!1)}return!0}function t2(t,e){var r,n,a=t.tag,i=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),n=t.input.charCodeAt(t.position);0!==n&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,tz(t,"tab characters must not be used in indentation")),45===n&&tL(t.input.charCodeAt(t.position+1)));){if(s=!0,t.position++,tG(t,!0,-1)&&t.lineIndent<=e){o.push(null),n=t.input.charCodeAt(t.position);continue}if(r=t.line,t8(t,e,3,!1,!0),o.push(t.result),tG(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==n)tz(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}
60return!!s&&(t.tag=a,t.anchor=i,t.kind="sequence",t.result=o,!0)}function t3(t,e,r){var n,a,i,o,s,l,c,u=t.tag,h=t.anchor,p={},d=Object.create(null),f=null,g=null,m=null,y=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=p),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,tz(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),i=t.line,(63===c||58===c)&&tL(n))63===c?(y&&(tY(t,p,d,f,g,null,o,s,l),f=g=m=null),b=!0,y=!0,a=!0):y?(y=!1,a=!0):tz(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=n;else{if(o=t.line,s=t.lineStart,l=t.position,!t8(t,r,2,!1,!0))break;if(t.line===i){for(c=t.input.charCodeAt(t.position);tC(c);)c=t.input.charCodeAt(++t.position);if(58===c)tL(c=t.input.charCodeAt(++t.position))||tz(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(tY(t,p,d,f,g,null,o,s,l),f=g=m=null),b=!0,y=!1,a=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=u,t.anchor=h,!0;tz(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=u,t.anchor=h,!0;tz(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===i||t.lineIndent>e)&&(y&&(o=t.line,s=t.lineStart,l=t.position),t8(t,e,4,!0,a)&&(y?g=t.result:m=t.result),y||(tY(t,p,d,f,g,m,o,s,l),f=g=m=null),tG(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===i||t.lineIndent>e)&&0!==c)tz(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&tY(t,p,d,f,g,null,o,s,l),b&&(t.tag=u,t.anchor=h,t.kind="mapping",t.result=p),b}function t5(t){var e,r,n,a,i=!1,o=!1;if(33!==(a=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&tz(t,"duplication of a tag property"),60===(a=t.input.charCodeAt(++t.position))?(i=!0,a=t.input.charCodeAt(++t.position)):33===a?(o=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,i){do a=t.input.charCodeAt(++t.position);while(0!==a&&62!==a);t.position<t.length?(n=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):tz(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!tL(a);)33===a&&(o?tz(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),tM.test(r)||tz(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),tv.test(n)&&tz(t,"tag suffix cannot contain flow indicator characters")}n&&!tS.test(n)&&tz(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(e){tz(t,"tag name is malformed: "+n)}return i?t.tag=n:tk.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:tz(t,'undeclared tag handle "'+r+'"'),!0}function t6(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&tz(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!tL(r)&&!tO(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&tz(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function t4(t){var e,r,n;if(42!==(n=t.input.charCodeAt(t.position)))return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!tL(n)&&!tO(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&tz(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tk.call(t.anchorMap,r)||tz(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],tG(t,!0,-1),!0}function t8(t,e,r,n,a){var i,o,s,l,c,u,h,p,d,f=1,g=!1,m=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,i=o=s=4===r||3===r,n&&tG(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;t5(t)||t6(t);)tG(t,!0,-1)?(g=!0,s=i,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||a),(1===f||4===r)&&(p=1===r||2===r?e:e+1,d=t.position-t.lineStart,1===f?s&&(t2(t,d)||t3(t,d,p))||t0(t,p)?m=!0:(o&&t1(t,p)||tQ(t,p)||tJ(t,p)?m=!0:t4(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&tz(t,"alias node should not have any properties")):tV(t,p,1===r)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(m=s&&t2(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&tz(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;
60l+=1)if((h=t.implicitTypes[l]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(tk.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(l=0,h=null,c=(u=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l];break}h||tz(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&tz(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):tz(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function t9(t){var e,r,n,a,i=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(a=t.input.charCodeAt(t.position))&&(tG(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===a);){for(o=!0,a=t.input.charCodeAt(++t.position),e=t.position;0!==a&&!tL(a);)a=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),n=[],r.length<1&&tz(t,"directive name must not be less than one character in length");0!==a;){for(;tC(a);)a=t.input.charCodeAt(++t.position);if(35===a){do a=t.input.charCodeAt(++t.position);while(0!==a&&!tT(a));break}if(tT(a))break;for(e=t.position;0!==a&&!tL(a);)a=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}0!==a&&tq(t),tk.call(tB,r)?tB[r](t,r,n):tF(t,'unknown document directive "'+r+'"')}if(tG(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,tG(t,!0,-1)):o&&tz(t,"directives end mark is expected"),t8(t,t.lineIndent-1,4,!1,!0),tG(t,!0,-1),t.checkLineBreaks&&tw.test(t.input.slice(i,t.position))&&tF(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tZ(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tG(t,!0,-1));return}t.position<t.length-1&&tz(t,"end of the stream or a document separator is expected")}function t7(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var r=new tN(t,e),n=t.indexOf("\0");for(-1!==n&&(r.position=n,tz(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)t9(r);return r.documents}function et(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);var n=t7(t,r);if("function"!=typeof e)return n;for(var a=0,i=n.length;a<i;a+=1)e(n[a])}function ee(t,e){var r=t7(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new h("expected a single document in the stream, but found more")}}(0,a.K)(tH,"captureSegment"),(0,a.K)(tW,"mergeMappings"),(0,a.K)(tY,"storeMappingPair"),(0,a.K)(tq,"readLineBreak"),(0,a.K)(tG,"skipSeparationSpace"),(0,a.K)(tZ,"testDocumentSeparator"),(0,a.K)(tX,"writeFoldedLines"),(0,a.K)(tV,"readPlainScalar"),(0,a.K)(tQ,"readSingleQuotedScalar"),(0,a.K)(tJ,"readDoubleQuotedScalar"),(0,a.K)(t0,"readFlowCollection"),(0,a.K)(t1,"readBlockScalar"),(0,a.K)(t2,"readBlockSequence"),(0,a.K)(t3,"readBlockMapping"),(0,a.K)(t5,"readTagProperty"),(0,a.K)(t6,"readAnchorProperty"),(0,a.K)(t4,"readAlias"),(0,a.K)(t8,"composeNode"),(0,a.K)(t9,"readDocument"),(0,a.K)(t7,"loadDocuments"),(0,a.K)(et,"loadAll$1"),(0,a.K)(ee,"load$1");var er={loadAll:et,load:ee},en=Object.prototype.toString,ea=Object.prototype.hasOwnProperty,ei={};ei[0]="\\0",ei[7]="\\a",ei[8]="\\b",ei[9]="\\t",ei[10]="\\n",ei[11]="\\v",ei[12]="\\f",ei[13]="\\r",ei[27]="\\e",ei[34]='\\"',ei[92]="\\\\",ei[133]="\\N",ei[160]="\\_",ei[8232]="\\L",ei[8233]="\\P";var eo=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],es=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function el(t,e){var r,n,a,i,o,s,l;if(null===e)return{};for(a=0,r={},i=(n=Object.keys(e)).length;a<i;a+=1)s=String(e[o=n[a]]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=t.compiledTypeMap.fallback[o])&&ea.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function ec(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else if(t<=0xffffffff)r="U",n=8;else throw new h("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+c.repeat("0",n-e.length)+e}function eu(t){this.schema=t.schema||tx,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=c.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=el(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.impl
60icitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function eh(t,e){for(var r,n=c.repeat(" ",e),a=0,i=-1,o="",s=t.length;a<s;)-1===(i=t.indexOf("\n",a))?(r=t.slice(a),a=s):(r=t.slice(a,i+1),a=i+1),r.length&&"\n"!==r&&(o+=n),o+=r;return o}function ep(t,e){return"\n"+c.repeat(" ",t.indent*e)}function ed(t,e){var r,n;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function ef(t){return 32===t||9===t}function eg(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function em(t){return eg(t)&&65279!==t&&13!==t&&10!==t}function ey(t,e,r){var n=em(t),a=n&&!ef(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||em(e)&&!ef(e)&&35===t||58===e&&a}function eb(t){return eg(t)&&65279!==t&&!ef(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function ex(t){return!ef(t)&&58!==t}function ek(t,e){var r,n=t.charCodeAt(e);return n>=55296&&n<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?(n-55296)*1024+r-56320+65536:n}function e_(t){return/^\n* /.test(t)}function ew(t,e,r,n,a,i,o,s){var l,c=0,u=null,h=!1,p=!1,d=-1!==n,f=-1,g=eb(ek(t,0))&&ex(ek(t,t.length-1));if(e||o)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!eg(c=ek(t,l)))return 5;g=g&&ey(c,u,s),u=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=ek(t,l)))h=!0,d&&(p=p||l-f-1>n&&" "!==t[f+1],f=l);else if(!eg(c))return 5;g=g&&ey(c,u,s),u=c}p=p||d&&l-f-1>n&&" "!==t[f+1]}return h||p?r>9&&e_(t)?5:o?2===i?5:2:p?4:3:!g||o||a(t)?2===i?5:2:1}function ev(t,e,r,n,i){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==eo.indexOf(e)||es.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=n||t.flowLevel>-1&&r>=t.flowLevel;function c(e){return ed(t,e)}switch((0,a.K)(c,"testAmbiguity"),ew(e,l,t.indent,s,c,t.quotingType,t.forceQuotes&&!n,i)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+eM(e,t.indent)+eS(eh(e,o));case 4:return">"+eM(e,t.indent)+eS(eh(eA(e,s),o));case 5:return'"'+eC(e)+'"';default:throw new h("impossible error: invalid scalar style")}}()}function eM(t,e){var r=e_(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function eS(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eA(t,e){for(var r,n,a,i=/(\n+)([^\n]*)/g,o=(i.lastIndex=r=-1!==(r=t.indexOf("\n"))?r:t.length,eT(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];a=i.exec(t);){var l=a[1],c=a[2];n=" "===c[0],o+=l+(s||n||""===c?"":"\n")+eT(c,e),s=n}return o}function eT(t,e){if(""===t||" "===t[0])return t;for(var r,n,a=/ [^ ]/g,i=0,o=0,s=0,l="";r=a.exec(t);)(s=r.index)-i>e&&(n=o>i?o:s,l+="\n"+t.slice(i,n),i=n+1),o=s;return l+="\n",t.length-i>e&&o>i?l+=t.slice(i,o)+"\n"+t.slice(o+1):l+=t.slice(i),l.slice(1)}function eC(t){for(var e,r="",n=0,a=0;a<t.length;n>=65536?a+=2:a++)!(e=ei[n=ek(t,a)])&&eg(n)?(r+=t[a],n>=65536&&(r+=t[a+1])):r+=e||ec(n);return r}function eL(t,e,r){var n,a,i,o="",s=t.tag;for(n=0,a=r.length;n<a;n+=1)i=r[n],t.replacer&&(i=t.replacer.call(r,String(n),i)),(eD(t,e,i,!1,!1)||void 0===i&&eD(t,e,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=s,t.dump="["+o+"]"}function eO(t,e,r,n){var a,i,o,s="",l=t.tag;for(a=0,i=r.length;a<i;a+=1)o=r[a],t.replacer&&(o=t.replacer.call(r,String(a),o)),(eD(t,e+1,o,!0,!0,!1,!0)||void 0===o&&eD(t,e+1,null,!0,!0,!1,!0))&&(n&&""===s||(s+=ep(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function eE(t,e,r){var n,a,i,o,s,l="",c=t.tag,u=Object.keys(r);for(n=0,a=u.length;n<a;n+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),o=r[i=u[n]],t.replacer&&(o=t.replacer.call(r,i,o)),eD(t,e,i,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),eD(t,e,o,!1,
60!1)&&(s+=t.dump,l+=s));t.tag=c,t.dump="{"+l+"}"}function eK(t,e,r,n){var a,i,o,s,l,c,u="",p=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new h("sortKeys must be a boolean or a function");for(a=0,i=d.length;a<i;a+=1)c="",n&&""===u||(c+=ep(t,e)),s=r[o=d[a]],t.replacer&&(s=t.replacer.call(r,o,s)),eD(t,e+1,o,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=ep(t,e)),eD(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?c+=":":c+=": ",c+=t.dump,u+=c));t.tag=p,t.dump=u||"{}"}function eR(t,e,r){var n,a,i,o,s,l;for(i=0,o=(a=r?t.explicitTypes:t.implicitTypes).length;i<o;i+=1)if(((s=a[i]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===en.call(s.represent))n=s.represent(e,l);else if(ea.call(s.represent,l))n=s.represent[l](e,l);else throw new h("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');t.dump=n}return!0}return!1}function eD(t,e,r,n,a,i,o){t.tag=null,t.dump=r,eR(t,r,!1)||eR(t,r,!0);var s=en.call(t.dump),l=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var c,u,p,d="[object Object]"===s||"[object Array]"===s;if(d&&(p=-1!==(u=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||p||2!==t.indent&&e>0)&&(a=!1),p&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(d&&p&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===s)n&&0!==Object.keys(t.dump).length?(eK(t,e,t.dump,a),p&&(t.dump="&ref_"+u+t.dump)):(eE(t,e,t.dump),p&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===s)n&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?eO(t,e-1,t.dump,a):eO(t,e,t.dump,a),p&&(t.dump="&ref_"+u+t.dump)):(eL(t,e,t.dump),p&&(t.dump="&ref_"+u+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&ev(t,t.dump,e,i,l);else{if("[object Undefined]"===s||t.skipInvalid)return!1;throw new h("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(c=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),c="!"===t.tag[0]?"!"+c:"tag:yaml.org,2002:"===c.slice(0,18)?"!!"+c.slice(18):"!<"+c+">",t.dump=c+" "+t.dump)}return!0}function eP(t,e){var r,n,a=[],i=[];for(eI(t,a,i),r=0,n=i.length;r<n;r+=1)e.duplicates.push(a[i[r]]);e.usedDuplicates=Array(n)}function eI(t,e,r){var n,a,i;if(null!==t&&"object"==typeof t)if(-1!==(a=e.indexOf(t)))-1===r.indexOf(a)&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,i=t.length;a<i;a+=1)eI(t[a],e,r);else for(a=0,i=(n=Object.keys(t)).length;a<i;a+=1)eI(t[n[a]],e,r)}(0,a.K)(el,"compileStyleMap"),(0,a.K)(ec,"encodeHex"),(0,a.K)(eu,"State"),(0,a.K)(eh,"indentString"),(0,a.K)(ep,"generateNextLine"),(0,a.K)(ed,"testImplicitResolving"),(0,a.K)(ef,"isWhitespace"),(0,a.K)(eg,"isPrintable"),(0,a.K)(em,"isNsCharOrWhitespace"),(0,a.K)(ey,"isPlainSafe"),(0,a.K)(eb,"isPlainSafeFirst"),(0,a.K)(ex,"isPlainSafeLast"),
60(0,a.K)(ek,"codePointAt"),(0,a.K)(e_,"needIndentIndicator");function e$(t,e){return function(){throw Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,a.K)(ew,"chooseScalarStyle"),(0,a.K)(ev,"writeScalar"),(0,a.K)(eM,"blockHeader"),(0,a.K)(eS,"dropEndingNewline"),(0,a.K)(eA,"foldString"),(0,a.K)(eT,"foldLine"),(0,a.K)(eC,"escapeString"),(0,a.K)(eL,"writeFlowSequence"),(0,a.K)(eO,"writeBlockSequence"),(0,a.K)(eE,"writeFlowMapping"),(0,a.K)(eK,"writeBlockMapping"),(0,a.K)(eR,"detectType"),(0,a.K)(eD,"writeNode"),(0,a.K)(eP,"getDuplicateReferences"),(0,a.K)(eI,"inspectNode"),(0,a.K)(function(t,e){var r=new eu(e=e||{});r.noRefs||eP(t,r);var n=t;return(r.replacer&&(n=r.replacer.call({"":n},"",n)),eD(r,0,n,!0,!0))?r.dump+"\n":""},"dump$1"),(0,a.K)(e$,"renamed");var ej=W,eN=er.load;er.loadAll,e$("safeLoad","load"),e$("safeLoadAll","loadAll"),e$("safeDump","dump")},85519:(t,e,r)=>{"use strict";function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}r.d(e,{b:()=>n})},86476:(t,e,r)=>{"use strict";function n(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Array.from("string"==typeof t?[t]:t);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map(function(t){var e,r;return null!=(r=null==(e=t.match(/[\t ]/g))?void 0:e.length)?r:0})):t},[]);if(a.length){var i=RegExp("\n[	 ]{".concat(Math.min.apply(Math,a),"}"),"g");n=n.map(function(t){return t.replace(i,"\n")})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return e.forEach(function(t,e){var r=o.match(/(?:^|\n)( *)$/),a=r?r[1]:"",i=t;"string"==typeof t&&t.includes("\n")&&(i=String(t).split("\n").map(function(t,e){return 0===e?t:"".concat(a).concat(t)}).join("\n")),o+=i+n[e+1]}),o}r.d(e,{T:()=>n})},88395:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>rk,l78:()=>d,tlR:()=>p,qrM:()=>rR,Yu4:()=>rP,IA3:()=>r$,Wi0:()=>rN,PGM:()=>rU,OEq:()=>rF,y8u:()=>rW,olC:()=>rq,IrU:()=>rZ,oDi:()=>rQ,Q7f:()=>r0,cVp:()=>r2,lUB:()=>rv,Lx9:()=>r5,nVG:()=>ne,uxU:()=>nr,Xf2:()=>ni,GZz:()=>ns,UPb:()=>nc,dyv:()=>nl,GPZ:()=>b.GP,Sk5:()=>k,bEH:()=>X,n8j:()=>rA,T9B:()=>i.A,jkA:()=>o,rLf:()=>rL,WH:()=>function t(){var e,r,n=tn().unknown(void 0),a=n.domain,i=n.range,o=0,s=1,l=!1,c=0,u=0,h=.5;function p(){var t=a().length,n=s<o,p=n?s:o,d=n?o:s;e=(d-p)/Math.max(1,t-c+2*u),l&&(e=Math.floor(e)),p+=(d-p-e*(t-c))*h,r=e*(1-c),l&&(p=Math.round(p),r=Math.round(r));var f=(0,V.A)(t).map(function(t){return p+e*t});return i(n?f.reverse():f)}return delete n.unknown,n.domain=function(t){return arguments.length?(a(t),p()):a()},n.range=function(t){return arguments.length?([o,s]=t,o*=1,s*=1,p()):[o,s]},n.rangeRound=function(t){return[o,s]=t,o*=1,s*=1,l=!0,p()},n.bandwidth=function(){return r},n.step=function(){return e},n.round=function(t){return arguments.length?(l=!!t,p()):l},n.padding=function(t){return arguments.length?(c=Math.min(1,u=+t),p()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),p()):c},n.paddingOuter=function(t){return arguments.length?(u=+t,p()):u},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),p()):h},n.copy=function(){return t(a(),[o,s]).round(l).paddingInner(c).paddingOuter(u).align(h)},Q.C.apply(p(),arguments)},m4Y:()=>ta.A,UMr:()=>tn,w7C:()=>e3,zt:()=>e5,Ltv:()=>e6.A,UAC:()=>tm,DCK:()=>a,TUC:()=>tS,Agd:()=>tf,t6C:()=>tu,wXd:()=>tp,ABi:()=>t_,Ui6:()=>tP,rGn:()=>tA,ucG:()=>th,YPH:()=>tk,Mol:()=>tM,PGu:()=>tw,GuW:()=>tv,hkb:()=>O});var n,a,i=r(71905);function o(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let a of t)null!=(a=e(a,++n,t))&&(r>a||void 0===r&&a>=a)&&(r=a)}return r}function s(t){return t}function l(t){return"translate("+t+",0)"}function c(t){return"translate(0,"+t+")"}function u(){return!this.__axis}function h(t,e){var r=[],n=null,a=null,i=6,o=6,h=3,p="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,d=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?l:c;function m(l){var c=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):s:a,y=Math.max(i,0)+h,b=e.range(),x=+b[0]+
60p,k=+b[b.length-1]+p,_=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),p),w=l.selection?l.selection():l,v=w.selectAll(".domain").data([null]),M=w.selectAll(".tick").data(c,e).order(),S=M.exit(),A=M.enter().append("g").attr("class","tick"),T=M.select("line"),C=M.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),M=M.merge(A),T=T.merge(A.append("line").attr("stroke","currentColor").attr(f+"2",d*i)),C=C.merge(A.append("text").attr("fill","currentColor").attr(f,d*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),l!==w&&(v=v.transition(l),M=M.transition(l),T=T.transition(l),C=C.transition(l),S=S.transition(l).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=_(t))?g(t+p):this.getAttribute("transform")}),A.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:_(t))+p)})),S.remove(),v.attr("d",4===t||2===t?o?"M"+d*o+","+x+"H"+p+"V"+k+"H"+d*o:"M"+p+","+x+"V"+k:o?"M"+x+","+d*o+"V"+p+"H"+k+"V"+d*o:"M"+x+","+p+"H"+k),M.attr("opacity",1).attr("transform",function(t){return g(_(t)+p)}),T.attr(f+"2",d*i),C.attr(f,d*y).text(m),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=_})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),m):n&&n.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(i=o=+t,m):i},m.tickSizeInner=function(t){return arguments.length?(i=+t,m):i},m.tickSizeOuter=function(t){return arguments.length?(o=+t,m):o},m.tickPadding=function(t){return arguments.length?(h=+t,m):h},m.offset=function(t){return arguments.length?(p=+t,m):p},m}function p(t){return h(1,t)}function d(t){return h(3,t)}r(68625);let{abs:f,max:g,min:m}=Math;function y(t){return{type:t}}["w","e"].map(y),["n","s"].map(y),["n","w","e","s","nw","ne","sw","se"].map(y);var b=r(79780);function x(t){var e=0,r=t.children,n=r&&r.length;if(n)for(;--n>=0;)e+=r[n].value;else e=1;t.value=e}function k(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=w)):void 0===e&&(e=_);for(var r,n,a,i,o,s=new S(t),l=[s];r=l.pop();)if((a=e(r.data))&&(o=(a=Array.from(a)).length))for(r.children=a,i=o-1;i>=0;--i)l.push(n=a[i]=new S(a[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(M)}function _(t){return t.children}function w(t){return Array.isArray(t)?t[1]:null}function v(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function M(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function S(t){this.data=t,this.depth=this.height=0,this.parent=null}function A(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}S.prototype=k.prototype={constructor:S,count:function(){return this.eachAfter(x)},each:function(t,e){let r=-1;for(let n of this)t.call(e,n,++r,this);return this},eachAfter:function(t,e){for(var r,n,a,i=this,o=[i],s=[],l=-1;i=o.pop();)if(s.push(i),r=i.children)for(n=0,a=r.length;n<a;++n)o.push(r[n]);for(;i=s.pop();)t.call(e,i,++l,this);return this},eachBefore:function(t,e){for(var r,n,a=this,i=[a],o=-1;a=i.pop();)if(t.call(e,a,++o,this),r=a.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(t,e){let r=-1;for(let n of this)if(t.call(e,n,++r,this))return n},sum:function(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,n=e.children,a=n&&n.length;--a>=0;)r+=n[a].value;e.value=r})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),a=null;for(t=r.pop(),e=n.pop();t===e;)a=t,t=r.pop(),e=n.pop();return a}(e,t),n=[e];e!==r;)n.push(e=e.parent);for(var a=n.length;t!==r;)n.splice(a,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e},copy:function(){return k(this).eachBefore(v)},[Symbol.iterator]:function*(){var t,e,r,n,a=this,i=[a];do for(t=i.reverse(),i=[];a=t.pop();)if(yield a,e=a.children)for(r=0,n=e.length;r<n;++r)i.push(e[r]);while(i.length)}};let T=function t(e){function r(t,r,n,a,i){!function(t,e,r,n,a,i){for(var o,s,l,c,u,h,p,d,f,g,m,y=[],b=e.children,x=0,k=0,_=b.length,w=e.value;x<_;){l=a-r,c=i-n;do u=b[k++].value;while(!u&&k<_);for(h=p=u,f=Math.max(p/(m=u*u*(g=Math.max(c/l,l/c)/(w*t))),m/h);k<_;++k){if(u+=s=b[k].value,s<h&&(h=s),s>p&&(p=s),(d=Math.max(p/(m=u*u*g),m/h))>f){u-=s;break}f=d}y.push(o={value:u,dice:l<c,children:b.slice(x,k)}),o.dice?function(t,e,r,n,a){for(var i,o=t.children,s=-1,l=o.length,c=t.value&&(n-e)/t.value;++s<l;)(i=o[s]).y0=r,i.y1=a,i.x0=e,i.x1=e+=i.value*c}(o,r,n,a,w?n+=c*u/w:i):function(t,e,r,n,a){for(var i,o=t.children,s=-1,l=o.length,c=t.value&&(
60a-r)/t.value;++s<l;)(i=o[s]).x0=e,i.x1=n,i.y0=r,i.y1=r+=i.value*c}(o,r,n,w?r+=l*u/w:a,i),w-=u,x=k}}(e,t,r,n,a,i)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function C(){return 0}function L(t){return function(){return t}}function O(){var t=T,e=!1,r=1,n=1,a=[0],i=C,o=C,s=C,l=C,c=C;function u(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(h),a=[0],e&&t.eachBefore(A),t}function h(e){var r=a[e.depth],n=e.x0+r,u=e.y0+r,h=e.x1-r,p=e.y1-r;h<n&&(n=h=(n+h)/2),p<u&&(u=p=(u+p)/2),e.x0=n,e.y0=u,e.x1=h,e.y1=p,e.children&&(r=a[e.depth+1]=i(e)/2,n+=c(e)-r,u+=o(e)-r,h-=s(e)-r,p-=l(e)-r,h<n&&(n=h=(n+h)/2),p<u&&(u=p=(u+p)/2),t(e,n,u,h,p))}return u.round=function(t){return arguments.length?(e=!!t,u):e},u.size=function(t){return arguments.length?(r=+t[0],n=+t[1],u):[r,n]},u.tile=function(e){return arguments.length?(t=function(t){if("function"!=typeof t)throw Error();return t}(e),u):t},u.padding=function(t){return arguments.length?u.paddingInner(t).paddingOuter(t):u.paddingInner()},u.paddingInner=function(t){return arguments.length?(i="function"==typeof t?t:L(+t),u):i},u.paddingOuter=function(t){return arguments.length?u.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):u.paddingTop()},u.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:L(+t),u):o},u.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:L(+t),u):s},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:L(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:L(+t),u):c},u}var E=r(5077),K=r(53217);let R=Math.PI/180,D=180/Math.PI,P=4/29,I=6/29,$=6/29*3*(6/29),j=6/29*(6/29)*(6/29);function N(t){if(t instanceof U)return new U(t.l,t.a,t.b,t.opacity);if(t instanceof Y)return q(t);t instanceof K.Gw||(t=(0,K.b)(t));var e,r,n=H(t.r),a=H(t.g),i=H(t.b),o=z((.2225045*n+.7168786*a+.0606169*i)/1);return n===a&&a===i?e=r=o:(e=z((.4360747*n+.3850649*a+.1430804*i)/.96422),r=z
60((.0139322*n+.0971045*a+.7141733*i)/.82521)),new U(116*o-16,500*(e-o),200*(o-r),t.opacity)}function U(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function z(t){return t>j?Math.pow(t,1/3):t/$+P}function F(t){return t>I?t*t*t:$*(t-P)}function B(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function H(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function W(t,e,r,n){return 1==arguments.length?function(t){if(t instanceof Y)return new Y(t.h,t.c,t.l,t.opacity);if(t instanceof U||(t=N(t)),0===t.a&&0===t.b)return new Y(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*D;return new Y(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new Y(t,e,r,null==n?1:n)}function Y(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function q(t){if(isNaN(t.h))return new U(t.l,0,0,t.opacity);var e=t.h*R;return new U(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,E.A)(U,function(t,e,r,n){return 1==arguments.length?N(t):new U(t,e,r,null==n?1:n)},(0,E.X)(K.Q1,{brighter(t){return new U(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new U(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;
60return e=.96422*F(e),t=+F(t),r=.82521*F(r),new K.Gw(B(3.1338561*e-1.6168667*t-.4906146*r),B(-.9787684*e+1.9161415*t+.033454*r),B(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,E.A)(Y,W,(0,E.X)(K.Q1,{brighter(t){return new Y(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new Y(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return q(this).rgb()}}));var G=r(85641);function Z(t){return function(e,r){var n=t((e=W(e)).h,(r=W(r)).h),a=(0,G.Ay)(e.c,r.c),i=(0,G.Ay)(e.l,r.l),o=(0,G.Ay)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=a(t),e.l=i(t),e.opacity=o(t),e+""}}}let X=Z(G.lG);Z(G.Ay);var V=r(60966),Q=r(68516);class J extends Map{constructor(t,e=te){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(tt(this,t))}has(t){return super.has(tt(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function tt({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function te(t){return null!==t&&"object"==typeof t?t.valueOf():t}let tr=Symbol("implicit");function tn(){var t=new J,e=[],r=[],n=tr;function a(a){let i=t.get(a);if(void 0===i){if(n!==tr)return n;t.set(a,i=e.push(a)-1)}return r[i%r.length]}return a.domain=function(r){if(!arguments.length)return e.slice();for(let n of(e=[],t=new J,r))t.has(n)||t.set(n,e.push(n)-1);return a},a.range=function(t){return arguments.length?(r=Array.from(t),a):r.slice()},a.unknown=function(t){return arguments.length?(n=t,a):n},a.copy=function(){return tn(e,r).unknown(n)},Q.C.apply(a,arguments),a}var ta=r(61839),ti=r(21677),to=r(41057);let ts=new Date,tl=new Date;function tc(t,e,r,n){function a(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return a.floor=e=>(t(e=new Date(+e)),e),a.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),a.round=t=>{let e=a(t),r=a.ceil(t);return t-e<r-t?e:r},a.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),a.range=(r,n,i)=>{let o,s=[];if(r=a.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return s;do s.push(o=new Date(+r)),e(r,i),t(r);while(o<r&&r<n);return s},a.filter=r=>tc(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(a.count=(e,n)=>(ts.setTime(+e),tl.setTime(+n),t(ts),t(tl),Math.floor(r(ts,tl))),a.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?a.filter(n?e=>n(e)%t==0:e=>a.count(0,e)%t==0):a:null),a}let tu=tc(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);tu.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?tc(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):tu:null,tu.range;let th=tc(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());th.range;let tp=tc(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());tp.range;let td=tc(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());td.range;let tf=tc(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());tf.range;let tg=tc(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());tg.range;let tm=tc(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);tm.range;let ty=tc(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);ty.range;let tb=tc(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function tx(t){return tc(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}tb.range;let tk=tx(0),t_=tx(1),tw=tx(2),tv=tx(3),tM=tx(4),tS=tx(5),tA=tx(6);function tT(t){return tc(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}tk.range,t_.range,tw.range,tv.range,tM.range,tS.range,tA.range;let tC=tT(0),tL=tT(1),tO=tT(2),tE=tT(3),tK=tT(4),tR=tT(5),tD=tT(6);tC.range,tL.range,tO.range,tE.range,tK.range,tR.range,tD.range;let tP=tc(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());tP.range;let tI=tc(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());tI.range;let t$=tc(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());t$.every=t=>isFinite(t=Math.floor(t))&&t>0?tc(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,t$.range;let tj=tc(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function tN(t,e,r,n,a,i){let o=[[th,1,1e3],[th,5,5e3],[th,15,15e3],[th,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,r,n){let a=Math.abs(r-e)/n,i=(0,ti.A)(([,,t])=>t).right(o,a);if(i===o.length)return t.every((0,to.sG)(e/31536e6,r/31536e6,n));if(0===i)return tu.every(Math.max((0,to.sG)(e,r,n),1));let[s,l]=o[a/o[i-1][2]<o[i][2]/a?i-1:i];return s.every(l)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let a=r&&"function"==typeof r.range?r:s(t,e,r),i=a?a.range(t,+e+1):[];return n?i.reverse():i},s]}tj.every=t=>isFinite(t=Math.floor(t))&&t>0?tc(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,tj.range;let[tU,tz]=tN(tj,tI,tC,tb,tg,td),[tF,tB]=tN(t$,tP,tk,tm,tf,tp);function tH(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function tW(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function tY(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var tq={"-":"",_:" ",0:"0"}
vendor: 6,598 bytes, line 60
60,tG=/^\s*\d+/,tZ=/^%/,tX=/[\\^$*+?|[\]().{}]/g;function tV(t,e,r){var n=t<0?"-":"",a=(n?-t:t)+"",i=a.length;return n+(i<r?Array(r-i+1).join(e)+a:a)}function tQ(t){return t.replace(tX,"\\$&")}function tJ(t){return RegExp("^(?:"+t.map(tQ).join("|")+")","i")}function t0(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function t1(t,e,r){var n=tG.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function t2(t,e,r){var n=tG.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function t3(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function t5(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function t6(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function t4(t,e,r){var n=tG.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function t8(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function t9(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function t7(t,e,r){var n=tG.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function et(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function ee(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function er(t,e,r){var n=tG.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function en(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function ea(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function ei(t,e,r){var n=tG.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function eo(t,e,r){var n=tG.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function es(t,e,r){var n=tG.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function el(t,e,r){var n=tZ.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function ec(t,e,r){var n=tG.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function eu(t,e,r){var n=tG.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function eh(t,e){return tV(t.getDate(),e,2)}function ep(t,e){return tV(t.getHours(),e,2)}function ed(t,e){return tV(t.getHours()%12||12,e,2)}function ef(t,e){return tV(1+tm.count(t$(t),t),e,3)}function eg(t,e){return tV(t.getMilliseconds(),e,3)}function em(t,e){return eg(t,e)+"000"}function ey(t,e){return tV(t.getMonth()+1,e,2)}function eb(t,e){return tV(t.getMinutes(),e,2)}function ex(t,e){return tV(t.getSeconds(),e,2)}function ek(t){var e=t.getDay();return 0===e?7:e}function e_(t,e){return tV(tk.count(t$(t)-1,t),e,2)}function ew(t){var e=t.getDay();return e>=4||0===e?tM(t):tM.ceil(t)}function ev(t,e){return t=ew(t),tV(tM.count(t$(t),t)+(4===t$(t).getDay()),e,2)}function eM(t){return t.getDay()}function eS(t,e){return tV(t_.count(t$(t)-1,t),e,2)}function eA(t,e){return tV(t.getFullYear()%100,e,2)}function eT(t,e){return tV((t=ew(t)).getFullYear()%100,e,2)}function eC(t,e){return tV(t.getFullYear()%1e4,e,4)}function eL(t,e){var r=t.getDay();return tV((t=r>=4||0===r?tM(t):tM.ceil(t)).getFullYear()%1e4,e,4)}function eO(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+tV(e/60|0,"0",2)+tV(e%60,"0",2)}function eE(t,e){return tV(t.getUTCDate(),e,2)}function eK(t,e){return tV(t.getUTCHours(),e,2)}function eR(t,e){return tV(t.getUTCHours()%12||12,e,2)}function eD(t,e){return tV(1+ty.count(tj(t),t),e,3)}function eP(t,e){return tV(t.getUTCMilliseconds(),e,3)}function eI(t,e){return eP(t,e)+"000"}function e$(t,e){return tV(t.getUTCMonth()+1,e,2)}function ej(t,e){return tV(t.getUTCMinutes(),e,2)}function eN(t,e){return tV(t.getUTCSeconds(),e,2)}function eU(t){var e=t.getUTCDay();return 0===e?7:e}function ez(t,e){return tV(tC.count(tj(t)-1,t),e,2)}function eF(t){var e=t.getUTCDay();return e>=4||0===e?tK(t):tK.ceil(t)}function eB(t,e){return t=eF(t),tV(tK.count(tj(t),t)+(4===tj(t).getUTCDay()),e,2)}function eH(t){return t.getUTCDay()}function eW(t,e){return tV(tL.count(tj(t)-1,t),e,2)}function eY(t,e){return tV(t.getUTCFullYear()%100,e,2)}function eq(t,e){return tV((t=eF(t)).getUTCFullYear()%100,e,2)}function eG(t,e){return tV(t.getUTCFullYear()%1e4,e,4)}function eZ(t,e){var r=t.getUTCDay();return tV((t=r>=4||0===r?tK(t):tK.ceil(t)).getUTCFullYear()%1e4,e,4)}function eX(){return"+0000"}function eV(){return"%"}function eQ(t){return+t}function eJ(t){return Math.floor(t/1e3)}a=(n=function(t){var e=t.dateTime,r=t.date,n=t.time,a=t.periods,i=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,c=tJ(a),u=t0(a),h=tJ(i),p=t0(i),d=tJ(o),f=t0(o),g=tJ(s),m=t0(s),y=tJ(l),b=t0(l),x={a:function(t){return o[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:eh,e:eh,f:em,g:eT,G:eL,H:ep,I:ed,j:ef,L:eg,m:ey,M:eb,p:function(t){return a[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:eQ,s:eJ,S:ex,u:ek,U:e_,V:ev,w:eM,W:eS,x:null,X:null,y:eA,Y:eC,Z:eO,"%":eV},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:eE,e:eE,f:eI,g:eq,G:eZ,H:eK,I:eR,j:eD,L:eP,m:e$,M:ej,p:function(t){return a[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:eQ,s:eJ,S:eN,u:eU,U:ez,V:eB,w:eH,W:eW,x:null,X:null,y:eY,Y:eG,Z:eX,"%":eV},_={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=f.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=g.exec(e.slice(r));return n?(t.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return M(t,e,r,n)},d:ee,e:ee,f:es,g:t8,G:t4,H:en,I:en,j:er,L:eo,m:et,M:ea,p:function(t,e,r){var n=c.exec(e.slice(r));return n?(t.p=u.get(n[0].toLowerCase()),r+n[0].length):-1},q:t7,Q:ec,s:eu,S:ei,u:t2,U:t3,V:t5,w:t1,W:t6,x:function(t,e,n){return M(t,r,e,n)},X:function(t,e,r){return M(t,n,e,r)},y:t8,Y:t4,Z:t9,"%":el};function w(t,e){return function(r){var n,a,i,o=[],s=-1,l=0,c=t.length;for(r instanceof Date||(r=new Date(+r));++s<c;)37===t.charCodeAt(s)&&(o.push(t.slice(l,s)),null!=(a=tq[n=t.charAt(++s)])?n=t.charAt(++s):a="e"===n?" ":"0",(i=e[n])&&(n=i(r,a)),o.push(n),l=s+1);return o.push(t.slice(l,s)),o.join("")}}function v(t,e){return function(r){var n,a,i=tY(1900,void 0,1);if(M(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);
60if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(!e||"Z"in i||(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(n=(a=(n=tW(tY(i.y,0,1))).getUTCDay())>4||0===a?tL.ceil(n):tL(n),n=ty.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(a=(n=tH(tY(i.y,0,1))).getDay())>4||0===a?t_.ceil(n):t_(n),n=tm.offset(n,(i.V-1)*7),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:+("W"in i)),a="Z"in i?tW(tY(i.y,0,1)).getUTCDay():tH(tY(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,tW(i)):tH(i)}}function M(t,e,r,n){for(var a,i,o=0,s=e.length,l=r.length;o<s;){if(n>=l)return -1;if(37===(a=e.charCodeAt(o++))){if(!(i=_[(a=e.charAt(o++))in tq?e.charAt(o++):a])||(n=i(t,r,n))<0)return -1}else if(a!=r.charCodeAt(n++))return -1}return n}return x.x=w(r,x),x.X=w(n,x),x.c=w(e,x),k.x=w(r,k),k.X=w(n,k),k.c=w(e,k),{format:function(t){var e=w(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=v(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=v(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,n.parse,n.utcFormat,n.utcParse;var e0=r(25822);function e1(t){return new Date(t)}function e2(t){return t instanceof Date?+t:+new Date(+t)}function e3(){return Q.C.apply((function t(e,r,n,a,i,o,s,l,c,u){var h=(0,e0.Ay)(),p=h.invert,d=h.domain,f=u(".%L"),g=u(":%S"),m=u("%I:%M"),y=u("%I %p"),b=u("%a %d"),x=u("%b %d"),k=u("%B"),_=u("%Y");function w(t){return(c(t)<t?f:l(t)<t?g:s(t)<t?m:o(t)<t?y:a(t)<t?i(t)<t?b:x:n(t)<t?k:_)(t)}return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(Array.from(t,e2)):d().map(e1)},h.ticks=function(t){var r=d();return e(r[0],r[r.length-1],null==t?10:t)},h.tickFormat=function(t,e){return null==e?w:u(e)},h.nice=function(t){var e,n,a,i,o,s,l,c=d();return t&&"function"==typeof t.range||(t=r(c[0],c[c.length-1],null==t?10:t)),t?d((e=c,n=t,e=e.slice(),i=0,o=e.length-1,s=e[i],(l=e[o])<s&&(a=i,i=o,o=a,a=s,s=l,l=a),e[i]=n.floor(s),e[o]=n.ceil(l),e)):h},h.copy=function(){return(0,e0.C)(h,t(e,r,n,a,i,o,s,l,c,u))},h})(tF,tB,t$,tP,tk,tm,tf,tp,th,a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}let e5=function(t){for(var e=t.length/6|0,r=Array(e),n=0;n<e;)r[n]="#"+t.slice(6*n,6*++n);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");var e6=r(41175);function e4(t){return function(){return t}}let e8=Math.abs,e9=Math.atan2,e7=Math.cos,rt=Math.max,re=Math.min,rr=Math.sin,rn=Math.sqrt,ra=Math.PI,ri=ra/2,ro=2*ra;function rs(t){return t>=1?ri:t<=-1?-ri:Math.asin(t)}let rl=Math.PI,rc=2*rl,ru=rc-1e-6;function rh(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class rp{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?rh:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return rh;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,a,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+a},${this._y1=+i}`}arcTo(t,e,r,n,a){if(t*=1,e*=1,r*=1,n*=1,(a*=1)<0)throw Error(`negative radius: ${a}`);let i=this._x1,o=this._y1,s=r-t,l=n-e,c=i-t,u=o-e,h=c*c+u*u;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>1e-6)if(Math.abs(u*s-l*c)>1e-6&&a){let p=r-i,d=n-o,f=s*s+l*l,g=Math.sqrt(f),m=Math.sqrt(h),y=a*Math.tan((rl-Math.acos((f+h-(p*p+d*d))/(2*g*m)))/2),b=y/m,x=y/g;Math.abs(b-1)>1e-6&&this._append`L${t+b*c},${e+b*u}`,this._append`A${a},${a},0,0,${+(u*p>c*d)},${this._x1=t+x*s},${this._y1=e+x*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,n,a,i){if(t*=1,e*=1,r*=1,i=!!i,r<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(n),s=r*Math.sin(n),l=t+o,c=e+s,u=1^i,h=i?n-a:a-n;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${l},${c}`,r&&(h<0&&(h=h%rc+rc),h>ru?this._append`A${r},${r},0,1,${u},${t-o},${e-s}A${r},${r},0,1,${u},${this._x1=l},${this._y1=c}`:h>1e-6&&this._append`A${r},${r},0,${+(h>=rl)},${u},${this._x1=t+r*Math.cos(a)},${this._y1=e+r*Math.sin(a)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function rd(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new rp(e)}function rf(t){return t.innerRadius}function rg(t){return t.outerRadius}function rm(t){return t.startAngle}function ry(t){return t.endAngle}function rb(t){return t&&t.padAngle}function rx(t,e,r,n,a,i,o){var s=t-r,l=e-n,c=(o?i:-i)/rn(s*s+l*l),u=c*l,h=-c*s,p=t+u,d=e+h,f=r+u,g=n+h,m=(p+f)/2,y=(d+g)/2,b=f-p,x=g-d,k=b*b+x*x,_=a-i,w=p*g-f*d,v=(x<0?-1:1)*rn(rt(0,_*_*k-w*w)),M=(w*x-b*v)/k,S=(-w*b-x*v)/k,A=(w*x+b*v)/k,T=(-w*b+x*v)/k,C=M-m,L=S-y,O=A-m,E=T-y;return C*C+L*L>O*O+E*E&&(M=A,S=T),{cx:M,cy:S,x01:-u,y01:-h,x11:M*(a/_-1),y11:S*(a/_-1)}}function rk(){var t=rf,e=rg,r=e4(0),n=null,a=rm,i=ry,o=rb,s=null,l=rd(c);function c(){var c,u,h=+t.apply(this,arguments),p=+e.apply(this,arguments),d=a.apply(this,arguments)-ri,f=i.apply(this,arguments)-ri,g=e8(f-d),m=f>d;if(s||(s=c=l()),p<h&&(u=p,p=h,h=u),p>1e-12)if(g>ro-1e-12)s.moveTo(p*e7(d),p*rr(d)),s.arc(0,0,p,d,f,!m),h>1e-12&&(s.moveTo(h*e7(f),h*rr(f)),s.arc(0,0,h,f,d,m));else{var y,b,x=d,k=f,_=d,w=f,v=g,M=g,S=o.apply(this,arguments)/2,A=S>1e-12&&(n?+n.apply(this,arguments):rn(h*h+p*p)),T=re(e8(p-h)/2,+r.apply(this,arguments)),C=T,L=T;if(A>1e-12){var O=rs(A/h*rr(S)),E=rs(A/p*rr(S));(v-=2*O)>1e-12?(O*=m?1:-1,_+=O,w-=O):(v=0,_=w=(d+f)/2),(M-=2*E)>1e-12?(E*=m?1:-1,x+=E,k-=E):(M=0,x=k=(d+f)/2)}var K=p*e7(x),R=p*rr(x),D=h*e7(w),P=h*rr(w);if(T>1e-12){var I,$=p*e7(k),j=p*rr(k),N=h*e7(_),U=h*rr(_);if(g<ra)if(I=function(t,e,r,n,a,i,o,s){var l=r-t,c=n-e,u=o-a,h=s-i,p=h*l-u*c;if(!(p*p<1e-12))return p=(u*(e-i)-h*(t-a))/p,[t+p*l,e+p*c]}(K,R,N,U,$,j,D,P)){var z,F=K-I[0],B=R-I[1],H=$-I[0],W=j-I[1],Y=1/rr(((z=(F*H+B*W)/(rn(F*F+B*B)*rn(H*H+W*W)))>1?0:z<-1?ra:Math.acos(z))/2),q=rn(I[0]*I[0]+I[1]*I[1]);C=re(T,(h-q)/(Y-1)),L=re(T,(p-q)/(Y+1))}else C=L=0}M>1e-12?L>1e-12?(y=rx(N,U,K,R,p,L,m),b=rx($,j,D,P,p,L,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),L<T?s.arc(y.cx,y.cy,L,e9(y.y01,y.x01),e9(b.y01,b.x01),!m):(s.arc(y.
vendor: 16,384 bytes, line 60
60cx,y.cy,L,e9(y.y01,y.x01),e9(y.y11,y.x11),!m),s.arc(0,0,p,e9(y.cy+y.y11,y.cx+y.x11),e9(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,L,e9(b.y11,b.x11),e9(b.y01,b.x01),!m))):(s.moveTo(K,R),s.arc(0,0,p,x,k,!m)):s.moveTo(K,R),h>1e-12&&v>1e-12?C>1e-12?(y=rx(D,P,$,j,h,-C,m),b=rx(K,R,N,U,h,-C,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),C<T?s.arc(y.cx,y.cy,C,e9(y.y01,y.x01),e9(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,C,e9(y.y01,y.x01),e9(y.y11,y.x11),!m),s.arc(0,0,h,e9(y.cy+y.y11,y.cx+y.x11),e9(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,C,e9(b.y11,b.x11),e9(b.y01,b.x01),!m))):s.arc(0,0,h,w,_,m):s.lineTo(D,P)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+a.apply(this,arguments)+ +i.apply(this,arguments))/2-ra/2;return[e7(n)*r,rr(n)*r]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:e4(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:e4(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:e4(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:e4(+t),c):n},c.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:e4(+t),c):a},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:e4(+t),c):i},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:e4(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function r_(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function rw(t){this._context=t}function rv(t){return new rw(t)}function rM(t){return t[0]}function rS(t){return t[1]}function rA(t,e){var r=e4(!0),n=null,a=rv,i=null,o=rd(s);function s(s){var l,c,u,h=(s=r_(s)).length,p=!1;for(null==n&&(i=a(u=o())),l=0;l<=h;++l)!(l<h&&r(c=s[l],l,s))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(c,l,s),+e(c,l,s));if(u)return i=null,u+""||null}return t="function"==typeof t?t:void 0===t?rM:e4(t),e="function"==typeof e?e:void 0===e?rS:e4(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:e4(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:e4(+t),s):e},s.defined=function(t){return arguments.length?(r="function"==typeof t?t:e4(!!t),s):r},s.curve=function(t){return arguments.length?(a=t,null!=n&&(i=a(n)),s):a},s.context=function(t){return arguments.length?(null==t?n=i=null:i=a(n=t),s):n},s}function rT(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function rC(t){return t}function rL(){var t=rC,e=rT,r=null,n=e4(0),a=e4(ro),i=e4(0);function o(o){var s,l,c,u,h,p=(o=r_(o)).length,d=0,f=Array(p),g=Array(p),m=+n.apply(this,arguments),y=Math.min(ro,Math.max(-ro,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/p,i.apply(this,arguments)),x=b*(y<0?-1:1);for(s=0;s<p;++s)(h=g[f[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(o[t],o[e])}),s=0,c=d?(y-p*x)/d:0;s<p;++s,m=u)u=m+((h=g[l=f[s]])>0?h*c:0)+x,g[l]={data:o[l],index:s,value:h,startAngle:m,endAngle:u,padAngle:b};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:e4(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:e4(+t),o):n},o.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:e4(+t),o):a},o.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:e4(+t),o):i},o}function rO(){}function rE(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function rK(t){this._context=t}function rR(t){return new rK(t)}function rD(t){this._context=t}function rP(t){return new rD(t)}function rI(t){this._context=t}function r$(t){return new rI(t)}rp.prototype,Array.prototype.slice,rw.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},rK.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:rE(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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:rE(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},rD.prototype={areaStart:rO,areaEnd:rO,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:rE(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},rI.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:rE(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class rj{constructor(t,e){this._context=t,this._x=e}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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function rN(t){return new rj(t,!0)}function rU(t){return new rj(t,!1)}function rz(t,e){this._basis=new rK(t),this._beta=e}rz.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,a=t[0],i=e[0],o=t[r]-a,s=e[r]-i,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+n*o),this._beta*e[l]+(1-this._beta)*(i+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let rF=function t(e){function r(t){return 1===e?new rK(t):new rz(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function rB(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function rH(t,e){this._context=t,this._k=(1-e)/6}rH.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:rB(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:rB(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let rW=function t(e){function r(t){return new rH(t,e)}return r.tension=function(e){return t(+e)},r}(0);function rY(t,e){this._context=t,this._k=(1-e)/6}rY.prototype={areaStart:rO,areaEnd:rO,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rB(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let rq=function t(e){function r(t){return new rY(t,e)}return r.tension=function(e){return t(+e)},r}(0);function rG(t,e){this._context=t,this._k=(1-e)/6}rG.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(t,e){switch(t*=1,e*=1,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:rB(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let rZ=function t(e){function r(t){return new rG(t,e)}return r.tension=function(e){return t(+e)},r}(0);function rX(t,e,r){var n=t._x1,a=t._y1,i=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(n,a,i,o,t._x2,t._y2)}function rV(t,e){this._context=t,this._alpha=e}rV.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(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:rX(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let rQ=function t(e){function r(t){return e?new rV(t,e):new rH(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function rJ(t,e){this._context=t,this._alpha=e}rJ.prototype={areaStart:rO,areaEnd:rO,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(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rX(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let r0=function t(e){function r(t){return e?new rJ(t,e):new rY(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function r1(t,e){this._context=t,this._alpha=e}r1.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(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,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:rX(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let r2=function t(e){function r(t){return e?new r1(t,e):new rG(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function r3(t){this._context=t}function r5(t){return new r3(t)}function r6(t,e,r){var n=t._x1-t._x0,a=e-t._x1,i=(t._y1-t._y0)/(n||a<0&&-0),o=(r-t._y1)/(a||n<0&&-0);return((i<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs((i*a+o*n)/(n+a)))||0}function r4(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function r8(t,e,r){var n=t._x0,a=t._y0,i=t._x1,o=t._y1,s=(i-n)/3;t._context.bezierCurveTo(n+s,a+s*e,i-s,o-s*r,i,o)}function r9(t){this._context=t}function r7(t){this._context=new nt(t)}function nt(t){this._context=t}function ne(t){return new r9(t)}function nr(t){return new r7(t)}function nn(t){this._context=t}function na(t){var e,r,n=t.length-1,a=Array(n),i=Array(n),o=Array(n);for(a[0]=0,i[0]=2,o[0]=t[0]+2*t[1],e=1;e<n-1;++e)a[e]=1,i[e]=4,o[e]=4*t[e]+2*t[e+1];for(a[n-1]=2,i[n-1]=7,o[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=a[e]/i[e-1],i[e]-=r,o[e]-=r*o[e-1];for(a[n-1]=o[n-1]/i[n-1],e=n-2;e>=0;--e)a[e]=(o[e]-a[e+1])/i[e];for(e=0,i[n-1]=(t[n]+a[n-1])/2;e<n-1;++e)i[e]=2*t[e+1]-a[e+1];return[a,i]}function ni(t){return new nn(t)}function no(t,e){this._context=t,this._t=e}function ns(t){return new no(t,.5)}function nl(t){return new no(t,0)}function nc(t){return new no(t,1)}r3.prototype={areaStart:rO,areaEnd:rO,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},r9.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point
60){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:r8(this,this._t0,r4(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,r8(this,r4(this,r=r6(this,t,e)),r);break;default:r8(this,this._t0,r=r6(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(r7.prototype=Object.create(r9.prototype)).point=function(t,e){r9.prototype.point.call(this,e,t)},nt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,a,i){this._context.bezierCurveTo(e,t,n,r,i,a)}},nn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=na(t),a=na(e),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],a[0][i],n[1][i],a[1][i],t[o],e[o]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},no.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},r(92862)},91226:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>i});var n=r(39344);let a={};for(let t=0;t<=255;t++)a[t]=n.A.unit.dec2hex(t);let i={ALL:0,RGB:1,HSL:2}},92604:(t,e,r)=>{"use strict";r.d(e,{WY:()=>S,dn:()=>M,pC:()=>w,Gc:()=>x});var n=r(42305),a=r(71785),i=r(75103);let o=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...s,...l}),u=Object.freeze({...c,body:"",hidden:!1});function h(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}(t,e);for(let n in u)n in l?n in t&&!(n in r)&&(r[n]=l[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function p(t,e,r){let n=t.icons,a=t.aliases||Object.create(null),i={};function o(t){i=h(n[t]||a[t],i)}return o(e),r.forEach(o),h(t,i)}let d=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let n=t.split(f);if(null===n||!n.length)return t;let a=[],i=n.shift(),o=g.test(i);for(;;){if(o){let t=parseFloat(i);isNaN(t)?a.push(i):a.push(Math.ceil(t*e*r)/r)}else a.push(i);if(void 0===(i=n.shift()))return a.join("");o=!o}}let y=/\sid="(\S+)"/g,b=new Map;var x={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},k=new Map,_=new Map,w=(0,i.K)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
60if(a.R.debug("Registering icon pack:",e.name),"loader"in e)_.set(e.name,e.loader);else if("icons"in e)k.set(e.name,e.icons);else throw a.R.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),v=(0,i.K)(async(t,e)=>{let r=((t,e,r,n="")=>{let a=t.split(":");if("@"===t.slice(0,1)){if(a.length<2||a.length>3)return null;n=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){let t=a.pop(),r=a.pop(),i={provider:a.length>0?a[0]:n,prefix:r,name:t};return e&&!o(i)?null:i}let i=a[0],s=i.split("-");if(s.length>1){let t={provider:n,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&""===n){let t={provider:n,prefix:"",name:i};return e&&!o(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw Error("Invalid icon name: ".concat(t));let n=r.prefix||e;if(!n)throw Error("Icon name must contain a prefix: ".concat(t));let i=k.get(n);if(!i){let t=_.get(n);if(!t)throw Error("Icon set not found: ".concat(r.prefix));try{i={...await t(),prefix:n},k.set(n,i)}catch(t){throw a.R.error(t),Error("Failed to load icon set: ".concat(r.prefix))}}let s=function(t,e){if(t.icons[e])return p(t,e,[]);let r=function(t,e){let r=t.icons,n=t.aliases||Object.create(null),a=Object.create(null);return(e||Object.keys(r).concat(Object.keys(n))).forEach(function t(e){if(r[e])return a[e]=[];if(!(e in a)){a[e]=null;let r=n[e]&&n[e].parent,i=r&&t(r);i&&(a[e]=[r].concat(i))}return a[e]}),a}(t,[e])[e];return r?p(t,e,r):null}(i,r.name);if(!s)throw Error("Icon not found: ".concat(t));return s},"getRegisteredIconData"),M=(0,i.K)(async t=>{try{return await v(t),!0}catch(t){return!1}},"isIconAvailable"),S=(0,i.K)(async(t,e,r)=>{let i;try{i=await v(t,null==e?void 0:e.fallbackPrefix)}catch(t){a.R.error(t),i=x}let o=function(t,e){let r,n,a={...c,...t},i={...d,...e},o={left:a.left,top:a.top,width:a.width,height:a.height},s=a.body;[a,i].forEach(t=>{let e,r=[],n=t.hFlip,a=t.vFlip,i=t.rotate;switch(n?a?i+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):a&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),i<0&&(i-=4*Math.floor(i/4)),i%=4){case 1:r.unshift("rotate(90 "+(e=o.height/2+o.top).toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:r.unshift("rotate(-90 "+(e=o.width/2+o.left).toString()+" "+e.toString()+")")}i%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var n,a;let i=function(t,e="defs"){let r="",n=t.indexOf("<"+e);for(;n>=0;){let a=t.indexOf(">",n),i=t.indexOf("</"+e);if(-1===a||-1===i)break;let o=t.indexOf(">",i);if(-1===o)break;r+=t.slice(a+1,i).trim(),t=t.slice(0,n).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return n=i.defs,a=e+i.content+r,n?"<defs>"+n+"</defs>"+a:a}(s,'<g transform="'+r.join(" ")+'">',"</g>"))});let l=i.width,u=i.height,h=o.width,p=o.height;null===l?r=m(n=null===u?"1em":"auto"===u?p:u,h/p):(r="auto"===l?h:l,n=null===u?m(r,p/h):"auto"===u?p:u);let f={},g=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(f[t]=e.toString())};g("width",r),g("height",n);let y=[o.left,o.top,h,p];return f.viewBox=y.join(" "),{attributes:f,viewBox:y,body:s}}(i,e),s=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t){let e,r=[];for(;e=y.exec(t);)r.push(e[1]);if(!r.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return r.forEach(e=>{let r=function(t){t=t.replace(/[0-9]+$/,"")||"a";let e=b.get(t)||0;return b.set(t,e+1),e?`${t}${e}`:t}(e),a=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(o.body),{...o.attributes,...r});return(0,n.jZ)(s,(0,n.zj)())},"getIconSVG")},97080:(t,e,r)=>{"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,{i:()=>n})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.