PageSourceSearch

https://app.conqr.ai/_next/static/chunks/1838.c9fa24567a538d2b.js

js conqr.ai collected 2026-10-02 01:13:22 UTC 340,556 bytes, 74 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1838],{1149:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(16176),a=r(78899),i=r(13621);let s=function(t){return(0,n.A)(t,i.A,a.A)}},3017:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return null!=t&&"object"==typeof t}},3151:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(11246).A.Uint8Array},3419:(t,e,r)=>{"use strict";r.d(e,{N:()=>a});var n=r(65846);function a(t){return null!==t&&"object"==typeof t&&"[object Arguments]"===(0,n.b)(t)}},4889:(t,e,r)=>{"use strict";function n(t){return null==t||"object"!=typeof t&&"function"!=typeof t}r.d(e,{s:()=>n})},5792:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=Object.prototype;let a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},6880:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(7817).A)("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},7705:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(11583),a=r(53032),i=r(62400);function s(t){var e=this.__data__=new n.A(t);this.size=e.size}s.prototype.clear=function(){this.__data__=new n.A,this.size=0},s.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},s.prototype.get=function(t){return this.__data__.get(t)},s.prototype.has=function(t){return this.__data__.has(t)},s.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.A){var s=r.__data__;if(!a.A||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new i.A(s)}return r.set(t,e),this.size=r.size,this};let o=s},9284:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return function(r){return t(e(r))}}},9766:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(59691),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=i&&i.exports===a&&n.A.process;let o=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return s&&s.binding&&s.binding("util")}catch(t){}}()},10269:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(66419),a=r(88725),i=r(36488);let s=function(t,e){return(0,i.A)((0,a.A)(t,e,n.A),t+"")}},10697:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},11095:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(11246),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=i&&i.exports===a?n.A.Buffer:void 0;let o=(s?s.isBuffer:void 0)||function(){return!1}},11246:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(59691),a="object"==typeof self&&self&&self.Object===Object&&self;let i=n.A||a||Function("return this")()},11490:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(){return[]}},11498:(t,e,r)=>{"use strict";r.d(e,{A:()=>W});var n=r(7705),a=r(29313);let i=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var s=r(92476);let o=function(t,e,r,n,o,l){var c=1&r,u=t.length,h=e.length;if(u!=h&&!(c&&h>u))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var p=-1,g=!0,y=2&r?new a.A:void 0;for(l.set(t,e),l.set(e,t);++p<u;){var m=t[p],b=e[p];if(n)var k=c?n(b,m,p,e,t,l):n(m,b,p,t,e,l);if(void 0!==k){if(k)continue;g=!1;break}if(y){if(!i(e,function(t,e){if(!(0,s.A)(y,e)&&(m===t||o(m,t,r,n,l)))return y.push(e)})){g=!1;break}}else if(!(m===b||o(m,b,r,n,l))){g=!1;break}}return l.delete(t),l.delete(e),g};var l=r(83698),c=r(3151),u=r(42615);let h=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r};var d=r(24652),f=l.A?l.A.prototype:void 0,p=f?f.valueOf:void 0;let g=function(t,e,r,n,a,i,s){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new c.A(t),new c.A(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,u.A)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var l=h;case"[object Set]":var f=1&n;if(l||(l=d.A),t.size!=e.size&&!f)break;var g=s.get(t);if(g)return g==e;n|=2,s.set(t,e);var y=o(l(t),l(e),n,a,i,s);return s.delete(t),y;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1};var y=r(1149),m=Object.prototype.hasOwnProperty;let b=function(t,e,r,n,a,i){var s=1&r,o=(0,y.A)(t),l=o.length;if(l!=(0,y.A)(e).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in e:m.call(e,u)))return!1}var h=i.get(t),d=i.get(e);if(h&&d)return h==e&&d==t;var f=!0;i.set(t,e),i.set(e,t);for(var p=s;++c<l;){var g=t[u=o[c]],b=e[u];if(n)var k=s?n(b,g,u,e,t,i):n(g,b,u,t,e,i);if(!(void 0===k?g===b||a(g,b,r,n,i):k)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var w=t.constructor,x=e.constructor;w!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(f=!1)}return i.delete(t),i.delete(e),f};var k=r(19089),w=r(48030),x=r(11095),_=r(87001),v="[object Arguments]",A="[object Array]",M="[object Object]",S=Object.prototype.hasOwnProperty;let K=function(t,e,r,a,i,s){var l=(0,w.A)(t),c=(0,w.A)(e),u=l?A:(0,k.A)(t),h=c?A:(0,k.A)(e);u=u==v?M:u,h=h==v?M:h;var d=u==M,f=h==M,p=u==h;if(p&&(0,x.A)(t)){if(!(0,x.A)(e))return!1;l=!0,d=!1}if(p&&!d)return s||(s=new n.A),l||(0,_.A)(t)?o(t,e,r,a,i,s):g(t,e,u,r,a,i,s);if(!(1&r)){var y=d&&S.call(t,"__wrapped__"),m=f&&S.call(e,"__wrapped__");
1if(y||m){var K=y?t.value():t,L=m?e.value():e;return s||(s=new n.A),i(K,L,r,a,s)}}return!!p&&(s||(s=new n.A),b(t,e,r,a,i,s))};var L=r(3017);let $=function t(e,r,n,a,i){return e===r||(null!=e&&null!=r&&((0,L.A)(e)||(0,L.A)(r))?K(e,r,n,a,t,i):e!=e&&r!=r)},O=function(t,e,r,a){var i=r.length,s=i,o=!a;if(null==t)return!s;for(t=Object(t);i--;){var l=r[i];if(o&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i<s;){var c=(l=r[i])[0],u=t[c],h=l[1];if(o&&l[2]){if(void 0===u&&!(c in t))return!1}else{var d=new n.A;if(a)var f=a(u,h,c,t,e,d);if(!(void 0===f?$(h,u,3,a,d):f))return!1}}return!0};var C=r(15710);let T=function(t){return t==t&&!(0,C.A)(t)};var R=r(13621);let j=function(t){for(var e=(0,R.A)(t),r=e.length;r--;){var n=e[r],a=t[n];e[r]=[n,a,T(a)]}return e},E=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},P=function(t){var e=j(t);return 1==e.length&&e[0][2]?E(e[0][0],e[0][1]):function(r){return r===t||O(r,t,e)}};var D=r(80365);let I=function(t,e,r){var n=null==t?void 0:(0,D.A)(t,e);return void 0===n?r:n};var N=r(69001),F=r(32221),B=r(66934),z=r(66419),q=r(47102);let U=function(t){return(0,F.A)(t)?(0,q.A)((0,B.A)(t)):function(e){return(0,D.A)(e,t)}},W=function(t){if("function"==typeof t)return t;if(null==t)return z.A;if("object"==typeof t){var e,r;return(0,w.A)(t)?(e=t[0],r=t[1],(0,F.A)(e)&&T(r)?E((0,B.A)(e),r):function(t){var n=I(t,e);return void 0===n&&n===r?(0,N.A)(t,e):$(r,n,3)}):P(t)}return U(t)}},11583:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(42615);let a=function(t,e){for(var r=t.length;r--;)if((0,n.A)(t[r][0],e))return r;return -1};var i=Array.prototype.splice;function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)},s.prototype.get=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]},s.prototype.has=function(t){return a(this.__data__,t)>-1},s.prototype.set=function(t,e){var r=this.__data__,n=a(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};let o=s},13621:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(75967),a=r(54470),i=r(30921);let s=function(t){return(0,i.A)(t)?(0,n.A)(t):(0,a.A)(t)}},15710:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},16092:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(23989),a=r(19922);let i=function(t,e){var r=[];return(0,a.A)(t,function(t,n,a){e(t,n,a)&&r.push(t)}),r};var s=r(11498),o=r(48030);let l=function(t,e){return((0,o.A)(t)?n.A:i)(t,(0,s.A)(e,3))}},16176:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(84607),a=r(48030);let i=function(t,e,r){var i=e(t);return(0,a.A)(t)?i:(0,n.A)(i,r(t))}},17695:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(67779),a=r(3017);let i=function(t){return(0,a.A)(t)&&"[object Arguments]"==(0,n.A)(t)};var s=Object.prototype,o=s.hasOwnProperty,l=s.propertyIsEnumerable;let c=i(function(){return arguments}())?i:function(t){return(0,a.A)(t)&&o.call(t,"callee")&&!l.call(t,"callee")}},18509:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(98329);let a=(t,e)=>(0,n.A)(t,"l",e)},18841:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(48030),a=r(32221),i=r(62400);function s(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var s=t.apply(this,n);return r.cache=i.set(a,s)||i,s};return r.cache=new(s.Cache||i.A),r}s.Cache=i.A;var o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,c=function(t){var e=s(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,a){e.push(n?a.replace(l,"$1"):r||t)}),e}),u=r(61210);let h=function(t,e){return(0,n.A)(t)?t:(0,a.A)(t,e)?[t]:c((0,u.A)(t))}},19089:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(52686),a=r(11246),i=(0,n.A)(a.A,"DataView"),s=r(53032),o=(0,n.A)(a.A,"Promise"),l=r(43222),c=(0,n.A)(a.A,"WeakMap"),u=r(67779),h=r(89810),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,h.A)(i),b=(0,h.A)(s.A),k=(0,h.A)(o),w=(0,h.A)(l.A),x=(0,h.A)(c),_=u.A;(i&&_(new i(new ArrayBuffer(1)))!=y||s.A&&_(new s.A)!=d||o&&_(o.resolve())!=f||l.A&&_(new l.A)!=p||c&&_(new c)!=g)&&(_=function(t){var e=(0,u.A)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,h.A)(r):"";if(n)switch(n){case m:return y;case b:return d;case k:return f;case w:return p;case x:return g}return e});let v=_},19372:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(52686);let a=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},19922:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n,a=r(54278),i=r(30921);let s=(n=a.A,function(t,e){if(null==t)return t;if(!(0,i.A)(t))return n(t,e);for(var r=t.length,a=-1,s=Object(t);++a<r&&!1!==e(s[a],a,s););return t})},23989:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length,a=0,i=[];++r<n;){var s=t[r];e(s,r,t)&&(i[a++]=s)}return i}},24652:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},26827:(t,e)=>{"use strict";
1Object.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"},27406:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>i});var n=r(61966);let a={};for(let t=0;t<=255;t++)a[t]=n.A.unit.dec2hex(t);let i={ALL:0,RGB:1,HSL:2}},29205:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>h,GX:()=>u,KX:()=>c,WW:()=>o,ue:()=>i});var n=r(14331),a=r(50967),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"),s=(0,a.K)(t=>Array.isArray(t)?t:t?t.split(";").map(t=>t.trim()).filter(Boolean):[],"normalizeStyleList"),o=(0,a.K)(t=>{let e=l([...t.cssCompiledStyles||[],...t.cssStyles||[],...s(t.labelStyle)]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),l=(0,a.K)(t=>{let e=new Map;return t.forEach(t=>{let[r,n]=t.split(":");e.set(r.trim(),n?.trim())}),e},"styles2Map"),c=(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"),u=(0,a.K)(t=>{let{stylesArray:e}=o(t),r=[],n=[],a=[],i=[];return e.forEach(t=>{let e=t[0];c(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"),h=(0,a.K)((t,e)=>{let{themeVariables:r,handDrawnSeed:a}=(0,n.D7)(),{nodeBorder:i,mainBkg:s}=r,{stylesMap:l}=o(t);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||i,seed:a,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),d=(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")},29313:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(62400);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n.A;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},a.prototype.has=function(t){return this.__data__.has(t)};let i=a},30921:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(47697),a=r(10697);let i=function(t){return null!=t&&(0,a.A)(t.length)&&!(0,n.A)(t)}},32221:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(48030),a=r(52577),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;let o=function(t,e){if((0,n.A)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,a.A)(t))||s.test(t)||!i.test(t)||null!=e&&t in Object(e)}},34727:(t,e,r)=>{"use strict";r.d(e,{W6:()=>tW,GZ:()=>tZ,lT:()=>tO});var n=r(67710),a=r(64249),i=r(14331),s=r(64129),o=r(50967),l=r(43995),c=r(59708),u=r(66470);function h(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var d=h(),f={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(y.caret,"$1"),r=r.replace(t,a),n},getRegex:()=>new RegExp(r,e)};return n}var g=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),y={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
vendor: 4,134 bytes, line 1
1:/\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")},m=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,b=/(?:[*+-]|\d{1,9}[.)])/,k=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,w=p(k).replace(/bull/g,b).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(k).replace(/bull/g,b).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(),_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,v=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",v).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),M=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,b).getRegex(),S="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",K=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,L=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|/?>)[\\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",K).replace("tag",S).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$=p(_).replace("hr",m).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",S).getRegex(),O={blockquote:p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",$).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}
vendor: 8,787 bytes, lines 1-12
1(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:m,html:L,lheading:w,list:M,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:$,table:f,text:/^[^\n]+/},C=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",m).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",S).getRegex(),T={...O,lheading:x,table:C,paragraph:p(_).replace("hr",m).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",C).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",S).getRegex()},R={...O,html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",K).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:f,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(_).replace("hr",m).replace("heading",` *#{1,6} *[^
2]`).replace("lheading",w).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},j=/^( {2,}|\\)\n(?!\s*$)/,E=/[\p{P}\p{S}]/u,P=/[\s\p{P}\p{S}]/u,D=/[^\s\p{P}\p{S}]/u,I=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,P).getRegex(),N=/(?!~)[\p{P}\p{S}]/u,F=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",g?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),B=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,z=p(B,"u").replace(/punct/g,E).getRegex(),q=p(B,"u").replace(/punct/g,N).getRegex(),U="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",W=p(U,"gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,P).replace(/punct/g,E).getRegex(),Y=p(U,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,N).getRegex(),H=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,D).replace(/punctSpace/g,P).replace(/punct/g,E).getRegex(),X=p(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),G=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(),Z=p(K).replace("(?:--\x3e|$)","--\x3e").getRegex(),V=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",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,J=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=p(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",v).getRegex(),te=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",v).getRegex(),tr=p("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",te).getRegex(),tn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ta={_backpedal:f,anyPunctuation:X,autolink:G,blockSkip:F,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:f,emStrongLDelim:z,emStrongRDelimAst:W,emStrongRDelimUnd:H,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:J,nolink:te,punctuation:I,reflink:tt,reflinkSearch:tr,tag:V,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:f},ti={...ta,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",Q).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Q).getRegex()},ts={...ta,emStrongRDelimAst:Y,emStrongLDelim:q,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tn).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",tn).getRegex()},to={...ts,br:p(j).replace("{2,}","*").getRegex(),text:p(ts.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},tl={normal:O,gfm:T,pedantic:R},tc={normal:ta,gfm:ts,breaks:to,pedantic:ti},tu={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},th=t=>tu[t];function td(t,e){if(e){if(y.escapeTest.test(t))return t.replace(y.escapeReplace,th)}else if(y.escapeTestNoEncode.test(t))return t.replace(y.escapeReplaceNoEncode,th);return t}function tf(t){try{t=encodeURI(t).replace(y.percentDecode,"%")}catch{return null}return t}function tp(t,e){let r=t.replace(y.findPipe,(t,e,r)=>{let n=!1,a=e;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"}).split(y.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(y.slashPipe,"|");return r}function tg(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 ty(t,e,r,n,a){let i=e.href,s=e.title||null,o=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:s,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,l}var tm=class{options;rules;lexer;constructor(t){this.options=t||d}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:tg(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=tg(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:tg(e[0],`
6`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=tg(e[0],`
7`).split(`
8`),r="",n="",a=[];for(;t.length>0;){let e=!1,i=[],s;for(s=0;s<t.length;s++)if(this.rules.other.blockquoteStart.test(t[s]))i.push(t[s]),e=!0;else if(e)break;else i.push(t[s]);t=t.slice(s);let o=i.join(`
9`),l=o.replace(this.rules.other.blockquoteSetextReplace,`
10    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
11${o}`:o,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),s=!1;for(;t;){let r=!1,n="",o="";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,o=l.trimStart()):u?h=e[1].length+1:(h=(h=e[2].search(this.rules.other.nonSpaceChar))>4?1:h,o=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),s=this.rules.other.htmlBeginRegex(h);for(;t;){let d=t.split(`
21`,1)[0],f;if(c=d,f=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting,"  "):c.replace(this.rules.other.tabCharGlobal,"    "),a.test(c)||i.test(c)||s.test(c)||e.test(c)||r.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=`
22`+f.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;o+=`
23`+c}u||c.trim()||(u=!0),n+=d+`
24`,t=t.substring(d.length+1),l=f.slice(h)}}a.loose||(s?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(s=!0));let d=null,f;this.options.gfm&&(d=this.rules.other.listIsTask.exec(o))&&(f="[ ] "!==d[0],o=o.replace(this.rules.other.listReplaceTask,"")),a.items.push({type:"list_item",raw:n,task:!!d,checked:f,loose:!1,text:o,tokens:[]}),a.raw+=n}let o=a.items.at(-1);if(!o)return;o.raw=o.raw.trimEnd(),o.text=o.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=tg(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)),ty(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 ty(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,s=r,o=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]){s+=i;continue}if((n[5]||n[6])&&r%3&&!((r+i)%3)){o+=i;continue}if((s-=i)>0)continue;i=Math.min(i,i+s+o);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}}}},tb=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||d,this.options.tokenizer=this.options.tokenizer||new tm,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:y,block:tl.normal,inline:tc.normal};this.options.pedantic?(e.block=tl.pedantic,e.inline=tc.pedantic):this.options.gfm&&(e.block=tl.gfm,this.options.breaks?e.inline=tc.breaks:e.inline=tc.gfm),this.tokenizer.rules=e}static get rules(){return{block:tl,inline:tc}}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(y.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(y.tabCharGlobal,"    ").replace(y.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,s="";for(;t;){let r;if(i||(s=""),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,s))||(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)&&(s=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}},tk=class{options;parser;constructor(t){this.options=t||d}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(y.notSpaceStart)?.[0],a=t.replace(y.endingNewline,"")+`
41`;return n?'<pre><code class="language-'+td(n)+'">'+(r?a:td(a,!0))+`</code></pre>
42`:"<pre><code>"+(r?a:td(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+" "+td(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>${td(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=tf(t);if(null===a)return n;let i='<a href="'+(t=a)+'"';return e&&(i+=' title="'+td(e)+'"'),i+=">"+n+"</a>"}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=tf(t);if(null===a)return td(r);t=a;let i=`<img src="${t}" alt="${r}"`;return e&&(i+=` title="${td(e)}"`),i+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:td(t.text)}},tw=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||d,this.options.renderer=this.options.renderer||new tk,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tw}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,s=this.renderer.text(i);for(;n+1<t.length&&"text"===t[n+1].type;)i=t[++n],s+=`
59`+this.renderer.text(i);e?r+=this.renderer.paragraph({type:"paragraph",raw:s,text:s,tokens:[{type:"text",raw:s,text:s,escaped:!0}]}):r+=s;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}},t_=class{options;block;constructor(t){this.options=t||d}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?tb.lex:tb.lexInline}provideParser(){return this.block?tx.parse:tx.parseInline}},tv=new class{defaults=h();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tx;Renderer=tk;TextRenderer=tw;Lexer=tb;Tokenizer=tm;Hooks=t_;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 tk(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 tm(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 t_;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];t_.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async&&t_.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 tb.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?tb.lex:tb.lexInline)(r,a),i=a.hooks?await a.hooks.processAllTokens(n):n;a.walkTokens&&await Promise.all(this.walkTokens(i,a.walkTokens));let s=await (a.hooks?await a.hooks.provideParser():t?tx.parse:tx.parseInline)(i,a);return a.hooks?await a.hooks.postprocess(s):s})().catch(i);try{a.hooks&&(e=a.hooks.preprocess(e));let r=(a.hooks?a.hooks.provideLexer():t?tb.lex:tb.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>"+td(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function tA(t,e){return tv.parse(t,e)}tA.options=tA.setOptions=function(t){return tv.setOptions(t),tA.defaults=tv.defaults,d=tA.defaults,tA},tA.getDefaults=h,tA.defaults=d,tA.use=function(...t){return tv.use(...t),tA.defaults=tv.defaults,d=tA.defaults,tA},tA.walkTokens=function(t,e){return tv.walkTokens(t,e)},tA.parseInline=tv.parseInline,tA.Parser=tx,tA.parser=tx.parse,tA.Renderer=tk,tA.TextRenderer=tw,tA.Lexer=tb,tA.lexer=tb.lex,tA.Tokenizer=tm,tA.Hooks=t_,tA.parse=tA,tA.options,tA.setOptions,tA.use,tA.walkTokens,tA.parseInline,tx.parse,tb.lex;var tM=r(50024),tS="undefined"!=typeof performance&&"function"==typeof performance.now,tK=(0,o.K)(()=>tS?performance.now():0,"now"),tL="\uD83E\uDDDC ",t$={parse:"tertiary",prepare:"secondary",measure:"primary",layout:"primary-dark",layoutCore:"error",draw:"primary-light",paint:"secondary-dark",serialize:"tertiary-dark",render:"primary-light"};(class{constructor(){this.enabled=!1,this.autoPrint=!0,this.records=[],this.maxRecords=200,this.roots=[],this.stack=[],this.buckets={}}static{(0,o.K)(this,"Profiler")}enable(){return this.enabled=!0,this}disable(){return this.enabled=!1,this}start(t){this.enabled&&(this.roots=[],this.stack=[],this.buckets={},this.begin(t))}tickSync(t,e){if(!this.enabled)return e();let r=tK();try{return e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tK()-r)}}async tick(t,e){if(!this.enabled)return e();let r=tK();try{return await e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tK()-r)}}stop(){if(!this.enabled)return;for(;this.stack.length>0;)this.end();let t=this.roots.at(-1),e=this.runLabel??t?.name;return t&&(this.records.push({label:e??t.name,tree:t,buckets:{...this.buckets}}),this.records.length>this.maxRecords&&this.records.splice(0,this.records.length-this.maxRecords),this.autoPrint&&this.printSummary(t,e)),this.runLabel=void 0,t}begin(t){if(!this.enabled)return;let e={name:t,start:tK(),duration:-1,children:[]},r=this.stack.at(-1);if(r?r.children.push(e):this.roots.push(e),this.stack.push(e),tS&&"function"==typeof performance.mark)try{performance.mark(`${tL}${t} \u25B6`)}catch{}}end(){if(!this.enabled)return;let t=this.stack.pop();if(!t)return;let e=tK();if(t.duration=e-t.start,tS&&"function"==typeof performance.measure)try{performance.measure(`${tL}${t.name}`,{start:t.start,end:e,detail:{devtools:{dataType:"track-entry",track:"Mermaid render",trackGroup:"Mermaid",color:t$[t.name]??"primary",tooltipText:`${t.name} \u2014 ${t.duration.toFixed(1)} ms`}}})}catch{}}async span(t,e){if(!this.enabled)return e();this.begin(t);try{return await e()}finally{this.end()}}report(){return this.records.at(-1)?.tree??this.roots.at(-1)}clear(){this.records.length=0,this.roots=[],this.stack=[],this.runLabel=void 0}reset(){this.roots=[],this.stack=[]}printSummary(t=this.report(),e){if(!t)return;let r=t.duration,n=e&&e!==t.name?`${t.name} [${e}]`:t.name,a=["ms        %    phase"],i=(0,o.K)((t,e)=>{let n="  ".repeat(e),s=t.duration.toFixed(1).padStart(8),o=r>0?`${(t.duration/r*100).toFixed(0).padStart(3)}%`:"   -";for(let r of(a.push(`${s}  ${o}  ${n}${t.name}`),t.children))i(r,e+1);if(t.children.length>0){let e=t.children.reduce((t,e)=>t+e.duration,0),r=t.duration-e;if(r>.5){let t=r.toFixed(1).padStart(8);a.push(`${t}       ${n}  (self)`)}}},"walk");i(t,0);let s=Object.keys(this.buckets);if(s.length>0)for(let t of(a.push("—— buckets (summed) ——"),s))a.push(`${this.buckets[t].toFixed(1).padStart(8)}       ${t}`);console.log(`${tL}mermaid render profile \xb7 ${n}
61${a.join("\n")}`)}}),globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:"0.0.0"};var tO=l.extend({raf(t){"function"==typeof queueMicrotask?queueMicrotask(t):setTimeout(t,0)}}).extend(c);function tC(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,tM.T)(r)}function tT(t){return t.split(/\\n|\n|<br\s*\/?>/gi).map(t=>t.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(t=>({content:t,type:"normal"}))??[])}function tR(t,e={}){let r=tC(t,e),n=tA.lexer(r),a=[[]],i=0;function s(t,e="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})})}
61):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[i].push({content:t.text,type:"normal"})}return(0,o.K)(s,"processNode"),n.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?a[i].push({content:t.text,type:"normal"}):a[i].push({content:t.raw,type:"normal"})}),a}function tj(t){return t?`<p>${t.replace(/\\n|\n/g,"<br />")}</p>`:""}function tE(t,{markdownAutoWrap:e}={}){let r=tA.lexer(t);function n(t){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>${t.tokens?.map(n).join("")}</strong>`;if("em"===t.type)return`<em>${t.tokens?.map(n).join("")}</em>`;if("paragraph"===t.type)return`<p>${t.tokens?.map(n).join("")}</p>`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return s.R.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,o.K)(n,"output"),r.map(n).join("")}function tP(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tD(t,e){return tI(t,[],tP(e.content),e.type)}function tI(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];let[a,...i]=r,s=[...e,a];return t([{content:s.join(""),type:n}])?tI(t,s,i,n):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function tN(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tF(t,e)}function tF(t,e,r=[],n=[]){if(0===t.length)return n.length>0&&r.push(n),r.length>0?r:[];let a="";" "===t[0].content&&(a=" ",t.shift());let i=t.shift()??{content:" ",type:"normal"},s=[...n];if(""!==a&&s.push({content:a,type:"normal"}),s.push(i),e(s))return tF(t,e,r,s);if(n.length>0)r.push(n),t.unshift(i);else if(i.content){let[n,a]=tD(e,i);r.push([n]),a.content&&t.unshift(a)}return tF(t,e,r)}function tB(t,e){e&&t.attr("style",e)}async function tz(t,e,r,n,a=!1,s=(0,i.zj)()){let o=t.append("foreignObject");o.attr("width",`${Math.min(10*r,16384)}px`),o.attr("height",`${Math.min(10*r,16384)}px`);let l=o.append("xhtml:div"),c=(0,i.Wi)(e.label)?await (0,i.dj)(e.label.replace(i.Y2.lineBreakRegex,"\n"),s):(0,i.jZ)(e.label,s),u=e.isNode?"nodeLabel":"edgeLabel",h=l.append("span");return h.html(c),tB(h,e.labelStyle),h.attr("class",`${u} ${n}`),tB(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"),(await tO.measure(()=>l.node().getBoundingClientRect())).width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px")),o.node()}function tq(t,e,r,n=!1){let 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 tU(t,e,r){let n=t.append("text"),a=tq(n,1,e);tX(a,r);let i=a.node().getComputedTextLength();return n.remove(),i}function tW(t,e,r){let n=t.append("text"),a=tq(n,1,e);tX(a,[{content:r,type:"normal"}]);let i=a.node()?.getBoundingClientRect();return i&&n.remove(),i}function tY(t,e,r,n=!1,a=!1){let i=e.append("g"),s=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,o.K)(e=>tU(i,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tN(e,r))tX(tq(l,c,1.1,a),t),c++}if(!n)return l.node();{let t=l.node().getBBox();return s.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),i.node()}}function tH(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 tX(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(tH(e.content)):n.text(" "+tH(e.content))})}async function tG(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,a,s)=>(r.push((async()=>{let r=`${a}:${s}`;return await (0,n.dn)(r)?await (0,n.WY)(r,void 0,{class:"label-icon"}):`<i class='${(0,i.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let a=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>a.shift()??"")}(0,o.K)(tC,"preprocessMarkdown"),(0,o.K)(tT,"nonMarkdownToLines"),(0,o.K)(tR,"markdownToLines"),(0,o.K)(tj,"nonMarkdownToHTML"),(0,o.K)(tE,"markdownToHTML"),(0,o.K)(tP,"splitTextToChars"),(0,o.K)(tD,"splitWordToFitWidth"),(0,o.K)(tI,"splitWordToFitWidthRecursion"),(0,o.K)(tN,"splitLineToFitWidth"),(0,o.K)(tF,"splitLineToFitWidthRecursion"),(0,o.K)(tB,"applyStyle"),(0,o.K)(tz,"addHtmlSpan"),(0,o.K)(tq,"createTspan"),(0,o.K)(tU,"computeWidthOfText"),
61(0,o.K)(tW,"computeDimensionOfText"),(0,o.K)(tY,"createFormattedText"),(0,o.K)(tH,"decodeHTMLEntities"),(0,o.K)(tX,"updateTextContentAndStyles"),(0,o.K)(tG,"replaceIconSubstring");var tZ=(0,o.K)(async(t,e="",{style:r="",isTitle:n=!1,classes:o="",useHtmlLabels:l=!0,markdown:c=!0,isNode:h=!0,width:d=200,addSvgBackground:f=!1}={},p)=>{if(s.R.debug("XYZ createText",e,r,n,o,l,h,"addSvgBackground: ",f),l){let n=c?tE(e,p):tj(e),s=await tG((0,a.Sm)(n),p),l=e.replace(/\\\\/g,"\\"),u={isNode:h,label:(0,i.Wi)(e)?l:s,labelStyle:r.replace("fill:","color:")};return await tz(t,u,d,o,f,p)}{let i=(0,a.Sm)(e.replace(/<br\s*\/?>/g,"<br/>")),s=tY(d,t,c?tR(i.replace("<br>","<br/>"),p):tT(i),!!e&&f,!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,u.Ltv)(s).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,u.Ltv)(s).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,u.Ltv)(s).select("text").attr("style",e)}return n?(0,u.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,u.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("row",!0),s}},"createText")},34888:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(61966),a=r(36607),i=r(49950),s=r(89902);let o=(t,e,r=0,o=1)=>{if("number"!=typeof t)return(0,s.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(o)});return i.A.stringify(l)}},36488:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(41081),a=r(19372),i=r(66419),s=a.A?function(t,e){return(0,a.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,n.A)(e),writable:!0})}:i.A,o=Date.now;let l=function(t){var e=0,r=0;return function(){var n=o(),a=16-(n-r);if(r=n,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(s)},36607:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(61966),a=r(27406);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 s{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 o=new s({r:0,g:0,b:0,a:0},"transparent")},37626:(t,e,r)=>{"use strict";r.d(e,{T:()=>n.T});var n=r(67199)},38204:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(84607),a=r(83698),i=r(17695),s=r(48030),o=a.A?a.A.isConcatSpreadable:void 0;let l=function(t){return(0,s.A)(t)||(0,i.A)(t)||!!(o&&t&&t[o])},c=function t(e,r,a,i,s){var o=-1,c=e.length;for(a||(a=l),s||(s=[]);++o<c;){var u=e[o];r>0&&a(u)?r>1?t(u,r-1,a,i,s):(0,n.A)(s,u):i||(s[s.length]=u)}return s}},39047:(t,e,r)=>{"use strict";r.d(e,{I:()=>w,U:()=>k}
61);var n=r(71053),a=r(18175),i=r(29205),s=r(34727),o=r(14331),l=r(64129),c=r(50967),u=r(66470),h=r(73928),d=(0,c.K)(async(t,e)=>{let r,n,c=(0,o.D7)(),{themeVariables:d,handDrawnSeed:f}=c,{clusterBkg:p,clusterBorder:g}=d,{labelStyles:y,nodeStyles:m,borderStyles:b,backgroundStyles:k}=(0,i.GX)(e),w=t.insert("g").attr("class","cluster swimlane "+(e.cssClasses||"")).attr("id",e.id).attr("data-id",e.id).attr("data-et","cluster").attr("data-look",e.look),x=(0,o._3)(c.flowchart.htmlLabels),_="LR"===e.direction,v=w.insert("g").attr("class","cluster-label swimlane-label"),A=await (0,s.GZ)(v,e.label,{style:e.labelStyle,useHtmlLabels:x,isNode:!0,width:e.width}),M=A.getBBox();if(x){let t=A.children[0],e=(0,u.Ltv)(A);M=t.getBoundingClientRect(),e.attr("width",M.width),e.attr("height",M.height)}let S=e.padding??0,K=e.width<=M.width+S?M.width+S:e.width;e.width<=M.width+S?e.diff=(K-e.width)/2-S:e.diff=-S;let L=e.height,$=e.y-L/2,O=e.y+L/2,C=e.x-K/2,T=void 0!==e.swimlaneContentTop?e.swimlaneContentTop:$+L/3,R=4*!!_,j=M.height+2*R;if(_){let t=Math.max(j,M.height+2*R),a=C+t,s=Math.max(0,K-t);if("handDrawn"===e.look){let o=h.A.svg(w),l=(0,i.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:3,seed:f}),c=(0,i.Fr)(e,{roughness:.7,fill:"none",stroke:g,seed:f}),u=o.rectangle(C,$,t,L,l);r=w.insert(()=>u,":first-child");let d=o.rectangle(a,$,s,L,c);n=w.insert(()=>d,":first-child"),r.select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",k.join(";").replace("fill","stroke"))}else r=w.insert("rect",":first-child"),n=w.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",m).attr("x",C).attr("y",$).attr("width",t).attr("height",L).attr("fill",p).attr("stroke",g),n.attr("class","swimlane-body").attr("style",m).attr("x",a).attr("y",$).attr("width",s).attr("height",L).attr("fill","none").attr("stroke",g);let o=C+t/2,l=e.y;v.attr("transform",`translate(${o}, ${l}) rotate(-90) translate(${-M.width/2}, ${-M.height/2})`)}else{let t=Math.min(j,Math.max(0,T-$)),a=$+t,s=Math.max(0,O-a),o=e.x-K/2;if("handDrawn"===e.look){let l=h.A.svg(w),c=(0,i.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:3,seed:f}),u=(0,i.Fr)(e,{roughness:.7,fill:"none",stroke:g,seed:f}),d=l.rectangle(o,$,K,t,c);r=w.insert(()=>d,":first-child");let y=l.rectangle(o,a,K,s,u);n=w.insert(()=>y,":first-child"),r.select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",k.join(";").replace("fill","stroke"))}else r=w.insert("rect",":first-child"),n=w.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",m).attr("x",o).attr("y",$).attr("width",K).attr("height",t).attr("fill",p).attr("stroke",g),n.attr("class","swimlane-body").attr("style",m).attr("x",o).attr("y",a).attr("width",K).attr("height",s).attr("fill","none").attr("stroke",g);let l=e.x-M.width/2,c=$+(t-M.height)/2;v.attr("transform",`translate(${l}, ${c})`)}if(l.R.trace("Swimlane data ",e,JSON.stringify(e)),y){let t=v.select("span");t&&t.attr("style",y)}return e.offsetX=0,e.width=K,e.height=L,e.offsetY=M.height-S/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:w,labelBBox:M}},"swimlane"),f=(0,c.K)(async(t,e)=>{let r,c;l.R.info("Creating subgraph rect for ",e.id,e);let d=(0,o.D7)(),{themeVariables:f,handDrawnSeed:p}=d,{clusterBkg:g,clusterBorder:y}=f,{labelStyles:m,nodeStyles:b,borderStyles:k,backgroundStyles:w}=(0,i.GX)(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),_=(0,o.E)(d),v=x.insert("g").attr("class","cluster-label "),A=(r="markdown"===e.labelType?await (0,s.GZ)(v,e.label,{style:e.labelStyle,useHtmlLabels:_,isNode:!0,width:e.width}):await (0,a.DA)(v,e.label,e.labelStyle||"",!1,!0)).getBBox();if((0,o.E)(d)){let t=r.children[0],e=(0,u.Ltv)(r);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}let M=e.width<=A.width+e.padding?A.width+e.padding:e.width;e.width<=A.width+e.padding?e.diff=(M-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height,K=e.x-M/2,L=e.y-S/2;if(l.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.A.svg(x),r=(0,i.Fr)(e,{roughness:.7,fill:g,stroke:y,fillWeight:3,seed:p}),n=t.path((0,a.FA)(K,L,M,S,0),r);(c=x.insert(()=>(l.R.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",k.join(";")),c.select("path").attr("style",w.join(";").replace("fill","stroke"))}else(c=x.insert("rect",":first-child")).attr("style",b).attr("rx",e.rx).attr("ry",e.ry).attr("x",K).attr("y",L).attr("width",M).attr("height",S);let{subGraphTitleTopMargin:$}=(0,n.Oi)(d);if(v.attr("transform",`translate(${e.x-A.width/2}
61, ${e.y-e.height/2+$})`),m){let t=v.select("span");t&&t.attr("style",m)}let O=c.node().getBBox();return e.offsetX=0,e.width=O.width,e.height=O.height,e.offsetY=A.height-e.padding/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:x,labelBBox:A}},"rect"),p=(0,c.K)((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.domId),n=r.insert("rect",":first-child"),i=0*e.padding,s=i/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-s).attr("y",e.y-e.height/2-s).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");let o=n.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),g=(0,c.K)(async(t,e)=>{let r,n=(0,o.D7)(),{themeVariables:i,handDrawnSeed:s}=n,{altBackground:l,compositeBackground:c,compositeTitleBackground:d,nodeBorder:f}=i,p=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look),g=p.insert("g",":first-child"),y=p.insert("g").attr("class","cluster-label"),m=p.append("rect"),b=await (0,a.DA)(y,e.label,e.labelStyle,void 0,!0),k=b.getBBox();if((0,o.E)(n)){let t=b.children[0],e=(0,u.Ltv)(b);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}let w=0*e.padding,x=(e.width<=k.width+e.padding?k.width+e.padding:e.width)+w;e.width<=k.width+e.padding?e.diff=(x-e.width)/2-e.padding:e.diff=-e.padding;let _=e.height+w,v=e.height+w-k.height-6,A=e.x-x/2,M=e.y-_/2;e.width=x;let S=e.y-e.height/2-w/2+k.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),n=h.A.svg(p),i=e.rx||e.ry?n.path((0,a.FA)(A,M,x,_,10),{roughness:.7,fill:d,fillStyle:"solid",stroke:f,seed:s}):n.rectangle(A,M,x,_,{seed:s});r=p.insert(()=>i,":first-child");let o=n.rectangle(A,S,x,v,{fill:t?l:c,fillStyle:t?"hachure":"solid",stroke:f,seed:s});r=p.insert(()=>i,":first-child"),m=p.insert(()=>o)}else(r=g.insert("rect",":first-child")).attr("class","outer").attr("x",A).attr("y",M).attr("width",x).attr("height",_).attr("data-look",e.look),m.attr("class","inner").attr("x",A).attr("y",S).attr("width",x).attr("height",v);return y.attr("transform",`translate(${e.x-k.width/2}, ${M+1-3*!(0,o.E)(n)})`),e.height=r.node().getBBox().height,e.offsetX=0,e.offsetY=k.height-e.padding/2,e.labelBBox=k,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:p,labelBBox:k}},"roundedWithTitle"),y=(0,c.K)(async(t,e)=>{let r;l.R.info("Creating subgraph rect for ",e.id,e);let c=(0,o.D7)(),{themeVariables:d,handDrawnSeed:f}=c,{clusterBkg:p,clusterBorder:g}=d,{labelStyles:y,nodeStyles:m,borderStyles:b,backgroundStyles:k}=(0,i.GX)(e),w=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),x=(0,o.E)(c),_=w.insert("g").attr("class","cluster-label "),v=await (0,s.GZ)(_,e.label,{style:e.labelStyle,useHtmlLabels:x,isNode:!0,width:e.width}),A=v.getBBox();if((0,o.E)(c)){let t=v.children[0],e=(0,u.Ltv)(v);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}let M=e.width<=A.width+e.padding?A.width+e.padding:e.width;e.width<=A.width+e.padding?e.diff=(M-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height,K=e.x-M/2,L=e.y-S/2;if(l.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.A.svg(w),n=(0,i.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:4,seed:f}),s=t.path((0,a.FA)(K,L,M,S,e.rx),n);(r=w.insert(()=>(l.R.debug("Rough node insert CXC",s),s),":first-child")).select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",k.join(";").replace("fill","stroke"))}else(r=w.insert("rect",":first-child")).attr("style",m).attr("rx",e.rx).attr("ry",e.ry).attr("x",K).attr("y",L).attr("width",M).attr("height",S);let{subGraphTitleTopMargin:$}=(0,n.Oi)(c);if(_.attr("transform",`translate(${e.x-A.width/2}, ${e.y-e.height/2+$})`),y){let t=_.select("span");t&&t.attr("style",y)}let O=r.node().getBBox();return e.offsetX=0,e.width=O.width,e.height=O.height,e.offsetY=A.height-e.padding/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:w,labelBBox:A}}
61,"kanbanSection"),m={rect:f,squareRect:f,roundedWithTitle:g,noteGroup:p,divider:(0,c.K)((t,e)=>{let r,{themeVariables:n,handDrawnSeed:i}=(0,o.D7)(),{nodeBorder:s}=n,l=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look),c=l.insert("g",":first-child"),u=0*e.padding,d=e.width+u;e.diff=-e.padding;let f=e.height+u,p=e.x-d/2,g=e.y-f/2;if(e.width=d,"handDrawn"===e.look){let t=h.A.svg(l).rectangle(p,g,d,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:s,seed:i});r=l.insert(()=>t,":first-child")}else{r=c.insert("rect",":first-child");let t="outer";e.look,t="divider",r.attr("class",t).attr("x",p).attr("y",g).attr("width",d).attr("height",f).attr("data-look",e.look)}return e.height=r.node().getBBox().height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:l,labelBBox:{}}},"divider"),kanbanSection:y,swimlane:d},b=new Map,k=(0,c.K)(async(t,e)=>{let r=e.shape||"rect",n=await m[r](t,e);return b.set(e.id,n),n},"insertCluster"),w=(0,c.K)(()=>{b=new Map},"clear")},39078:(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 s=i.trimStart(),o=s.match(n.urlSchemeRegex);if(!o)return i;var l=o[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(l))return n.BLANK_URL;var c=s.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(26827);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}},39831:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>r3});var n=r(80241);r(41743);var a=r(67357),i=r(96105);r(39047),r(63537),r(71053),r(18175),r(29205),r(34727);var s=r(67710),o=r(64249),l=r(14331),c=r(64129),u=r(50967),h=r(50024),d=r(66470),f="comm",p="rule",g="decl",y="@keyframes",m="@layer",b=Math.abs,k=String.fromCharCode;function w(t,e,r){return t.replace(e,r)}function x(t,e){return 0|t.charCodeAt(e)}function _(t,e,r){return t.slice(e,r)}function v(t){return t.length}function A(t,e){return e.push(t),t}function M(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function S(t,e,r,n){switch(t.type){case m:if(t.children.length)break;case"@import":case"@namespace":case g:return t.return=t.return||t.value;case f:return"";case y:return t.return=t.value+"{"+M(t.children,n)+"}";case p:if(!v(t.value=t.props.join(",")))return""}return v(r=M(t.children,n))?t.return=t.value+"{"+r+"}":""}Object.assign;var K=1,L=1,$=0,O=0,C=0,T="";function R(t,e,r,n,a,i,s,o){return{value:t,root:e,parent:r,type:n,props:a,children:i,line:K,column:L,length:s,return:"",siblings:o}}function j(){return C=O<$?x(T,O++):0,L++,10===C&&(L=1,K++),C}function E(){return x(T,O)}function P(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 D(t){var e,r;return(e=O-1,r=function t(e){for(;j();)switch(C){case e:return O;case 34:case 39:34!==e&&39!==e&&t(C);break;case 40:41===e&&t(e);break;case 92:j()}return O}(91===t?t+2:40===t?t+1:t),_(T,e,r)).trim()}function I(t,e,r,n,a,i,s,o,l,c,u,h){for(var d=a-1,f=0===a?i:[""],g=f.length,y=0,m=0,k=0;y<n;++y)for(var x=0,v=_(t,d+1,d=b(m=s[y])),A=t;x<g;++x)(A=(m>0?f[x]+" "+v:w(v,/&\f/g,f[x])).trim())&&(l[k++]=A);return R(t,e,r,0===a?p:o,l,c,u,h)}function N(t,e,r,n,a){return R(t,e,r,g,_(t,0,n),_(t,n+1,-1),n,a)}var F=r(41010),B=r(60807),z=r(83142),q=r(3419),U=r(92412);function W(t){if(null==t)return!0;
61if((0,z.X)(t))return("function"==typeof t.splice||"string"==typeof t||!!(0,B.P)(t)||!!(0,U.i)(t)||!!(0,q.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 Y={id:"c4",detector:(0,u.K)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,u.K)(async()=>{let{diagram:t}=await r.e(7582).then(r.bind(r,67582));return{id:"c4",diagram:t}},"loader")},H="flowchart",X=(0,u.K)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),G=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(5522),r.e(4144)]).then(r.bind(r,84144));return{id:H,diagram:t}},"loader"),Z={id:H,detector:X,loader:G},V="flowchart-v2",Q=(0,u.K)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),J=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(5522),r.e(4144)]).then(r.bind(r,84144));return{id:V,diagram:t}},"loader"),tt={id:V,detector:Q,loader:J},te="swimlane",tr=(0,u.K)(t=>/^\s*swimlane-beta\b/.test(t),"detector"),tn=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(5522),r.e(8909)]).then(r.bind(r,48909));return{id:te,diagram:t}},"loader"),ta={id:te,detector:tr,loader:tn},ti={id:"er",detector:(0,u.K)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,u.K)(async()=>{let{diagram:t}=await r.e(6649).then(r.bind(r,56649));return{id:"er",diagram:t}},"loader")},ts="gitGraph",to=(0,u.K)(t=>/^\s*gitGraph/.test(t),"detector"),tl=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(3265)]).then(r.bind(r,63265));return{id:ts,diagram:t}},"loader"),tc={id:ts,detector:to,loader:tl},tu="gantt",th=(0,u.K)(t=>/^\s*gantt/.test(t),"detector"),td=(0,u.K)(async()=>{let{diagram:t}=await r.e(7836).then(r.bind(r,47836));return{id:tu,diagram:t}},"loader"),tf={id:tu,detector:th,loader:td},tp="info",tg=(0,u.K)(t=>/^\s*info/.test(t),"detector"),ty=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(741)]).then(r.bind(r,30741));return{id:tp,diagram:t}},"loader"),tm={id:tp,detector:tg,loader:ty},tb={id:"pie",detector:(0,u.K)(t=>/^\s*pie/.test(t),"detector"),loader:(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(8732)]).then(r.bind(r,68732));return{id:"pie",diagram:t}},"loader")},tk="quadrantChart",tw=(0,u.K)(t=>/^\s*quadrantChart/.test(t),"detector"),tx=(0,u.K)(async()=>{let{diagram:t}=await r.e(6522).then(r.bind(r,6522));return{id:tk,diagram:t}},"loader"),t_={id:tk,detector:tw,loader:tx},tv="xychart",tA=(0,u.K)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tM=(0,u.K)(async()=>{let{diagram:t}=await r.e(4763).then(r.bind(r,64763));return{id:tv,diagram:t}},"loader"),tS={id:tv,detector:tA,loader:tM},tK="requirement",tL=(0,u.K)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),t$=(0,u.K)(async()=>{let{diagram:t}=await r.e(8605).then(r.bind(r,78605));return{id:tK,diagram:t}},"loader"),tO={id:tK,detector:tL,loader:t$},tC="sequence",tT=(0,u.K)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tR=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(9754),r.e(9565)]).then(r.bind(r,99241));return{id:tC,diagram:t}},"loader"),tj={id:tC,detector:tT,loader:tR},tE="class",tP=(0,u.K)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tD=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1072),r.e(3915)]).then(r.bind(r,33915));return{id:tE,diagram:t}},"loader"),tI={id:tE,detector:tP,loader:tD},tN="classDiagram",tF=(0,u.K)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tB=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1072),r.e(3926)]).then(r.bind(r,83926));return{id:tN,diagram:t}},"loader"),tz={id:tN,detector:tF,loader:tB},tq="state",tU=(0,u.K)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tW=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(2499),r.e(7926),r.e(1589)]).then(r.bind(r,41589));return{id:tq,diagram:t}},"loader"),tY={id:tq,detector:tU,loader:tW},tH="stateDiagram",tX=(0,u.K)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tG=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(7926),r.e(7768)]).then(r.bind(r,67768));return{id:tH,diagram:t}},"loader"),tZ={id:tH,detector:tX,loader:tG},tV="journey",tQ=(0,u.K)(t=>/^\s*journey/.test(t),"detector"),tJ=(0,u.K)(async()=>{let{diagram:t}=await r.e(9183).then(r.bind(r,79183));return{id:tV,diagram:t}},"loader"),t0={id:tV,detector:tQ,loader:tJ},t1={draw:(0,u.K)((t,e,r)=>{c.R.debug("rendering svg for syntax error\n");let a=(0,n.D)(e),i=a.append("g");a.attr("viewBox","0 0 2412 512"),(0,l.a$)(a,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.
61164-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 ${r}`)},"draw")},t2={db:{},renderer:t1,parser:{parse:(0,u.K)(()=>{},"parse")}},t3="flowchart-elk",t5=(0,u.K)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),t6=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(5522),r.e(4144)]).then(r.bind(r,84144));return{id:t3,diagram:t}},"loader"),t9={id:t3,detector:t5,loader:t6},t4="timeline",t8=(0,u.K)(t=>/^\s*timeline/.test(t),"detector"),t7=(0,u.K)(async()=>{let{diagram:t}=await r.e(4505).then(r.bind(r,44505));return{id:t4,diagram:t}},"loader"),et={id:t4,detector:t8,loader:t7},ee="mindmap",er=(0,u.K)(t=>/^\s*mindmap/.test(t),"detector"),en=(0,u.K)(async()=>{let{diagram:t}=await r.e(6243).then(r.bind(r,96243));return{id:ee,diagram:t}},"loader"),ea={id:ee,detector:er,loader:en},ei="kanban",es=(0,u.K)(t=>/^\s*kanban/.test(t),"detector"),eo=(0,u.K)(async()=>{let{diagram:t}=await r.e(9243).then(r.bind(r,69243));return{id:ei,diagram:t}},"loader"),el={id:ei,detector:es,loader:eo},ec="sankey",eu=(0,u.K)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),eh=(0,u.K)(async()=>{let{diagram:t}=await r.e(5742).then(r.bind(r,75742));return{id:ec,diagram:t}},"loader"),ed={id:ec,detector:eu,loader:eh},ef="packet",ep=(0,u.K)(t=>/^\s*packet(-beta)?/.test(t),"detector"),eg=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(1853)]).then(r.bind(r,71853));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:ep,loader:eg},em="radar",eb=(0,u.K)(t=>/^\s*radar-beta/.test(t),"detector"),ek=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(7327)]).then(r.bind(r,67327));return{id:em,diagram:t}},"loader"),ew={id:em,detector:eb,loader:ek},ex="block",e_=(0,u.K)(t=>/^\s*block(-beta)?/.test(t),"detector"),ev=(0,u.K)(async()=>{let{diagram:t}=await r.e(1406).then(r.bind(r,21406));return{id:ex,diagram:t}},"loader"),eA={id:ex,detector:e_,loader:ev},eM="treeView",eS=(0,u.K)(t=>/^\s*treeView-beta/.test(t),"detector"),eK=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(9299)]).then(r.bind(r,59299));return{id:eM,diagram:t}},"loader"),eL={id:eM,detector:eS,loader:eK},e$="architecture",eO=(0,u.K)(t=>/^\s*architecture/.test(t),"detector"),eC=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(7634),r.e(9125),r.e(5896)]).then(r.bind(r,5896));return{id:e$,diagram:t}},"loader"),eT={id:e$,detector:eO,loader:eC},eR="eventmodeling",ej=(0,u.K)(t=>/^\s*eventmodeling/.test(t),"detector"),eE=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(2626)]).then(r.bind(r,32626));return{id:eR,diagram:t}},"loader"),eP={id:eR,detector:ej,loader:eE},eD="ishikawa",eI=(0,u.K)(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),eN=(0,u.K)(async()=>{let{diagram:t}=await r.e(5047).then(r.bind(r,55047));return{id:eD,diagram:t}},"loader"),eF={id:eD,detector:eI,loader:eN},eB="venn",ez=(0,u.K)(t=>/^\s*venn-beta/.test(t),"detector"),eq=(0,u.K)(async()=>{let{diagram:t}=await r.e(815).then(r.bind(r,20815));return{id:eB,diagram:t}},"loader"),eU={id:eB,detector:ez,loader:eq},eW="treemap",eY=(0,u.K)(t=>/^\s*treemap/.test(t),"detector"),eH=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(8657)]).then(r.bind(r,78657));return{id:eW,diagram:t}},"loader"),eX={id:eW,detector:eY,loader:eH},eG="wardley",eZ=(0,u.K)(t=>/^\s*wardley-beta/i.test(t),"detector"),eV=(0,u.K)(async()=>{let{diagram:t}
61=await Promise.all([r.e(6358),r.e(9125),r.e(165)]).then(r.bind(r,165));return{id:eG,diagram:t}},"loader"),eQ={id:eG,detector:eZ,loader:eV},eJ="cynefin",e0=(0,u.K)(t=>/^\s*cynefin-beta(?:[\s:]|$)/.test(t),"detector"),e1=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(9955)]).then(r.bind(r,29955));return{id:eJ,diagram:t}},"loader"),e2={id:eJ,detector:e0,loader:e1},e3="railroad",e5=(0,u.K)(t=>/^\s*railroad-beta/i.test(t),"detector"),e6=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(5272),r.e(7988)]).then(r.bind(r,77988));return{id:e3,diagram:t}},"loader"),e9={id:e3,detector:e5,loader:e6},e4="railroadEbnf",e8=(0,u.K)(t=>/^\s*railroad-ebnf-beta/i.test(t),"detector"),e7=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(5272),r.e(5818)]).then(r.bind(r,25818));return{id:e4,diagram:t}},"loader"),rt={id:e4,detector:e8,loader:e7},re="railroadAbnf",rr=(0,u.K)(t=>/^\s*railroad-abnf-beta/i.test(t),"detector"),rn=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(5272),r.e(2196)]).then(r.bind(r,82196));return{id:re,diagram:t}},"loader"),ra={id:re,detector:rr,loader:rn},ri="railroadPeg",rs=(0,u.K)(t=>/^\s*railroad-peg-beta/i.test(t),"detector"),ro=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6358),r.e(9125),r.e(5272),r.e(8568)]).then(r.bind(r,38568));return{id:ri,diagram:t}},"loader"),rl={id:ri,detector:rs,loader:ro},rc=!1,ru=(0,u.K)(()=>{rc||(rc=!0,(0,l.Js)("error",t2,t=>"error"===t.toLowerCase().trim()),(0,l.Js)("---",{db:{clear:(0,u.K)(()=>{},"clear")},styles:{},renderer:{draw:(0,u.K)(()=>{},"draw")},parser:{parse:(0,u.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,u.K)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,l.Xd)(t9,ea,eT),(0,l.Xd)(Y,el,tz,tI,ti,tf,tm,tb,tO,tj,ta,tt,Z,et,tc,tZ,tY,t0,t_,ed,ey,tS,eA,eP,eL,ew,eF,eX,e9,rt,ra,rl,eU,eQ,e2))},"addDiagrams"),rh=(0,u.K)(async()=>{c.R.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(l.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,l.Gs)(t)}catch{try{let{diagram:t,id:n}=await r();(0,l.Js)(n,t,e)}catch(e){throw c.R.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete l.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(c.R.error(`Failed to load ${t.length} external diagrams`),t))c.R.error(e);throw Error(`Failed to load ${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-${n}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${n}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,u.K)(rd,"setA11yDiagramInfo"),(0,u.K)(rf,"addSVGa11yTitleDescription");var rp=class t{constructor(t,e,r,n,a){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=a}static{(0,u.K)(this,"Diagram")}static async fromText(e,r={}){let n=(0,l.zj)(),a=(0,l.Ch)(e,n);e=(0,o.C4)(e)+"\n";try{(0,l.Gs)(a)}catch{let t=(0,l.J$)(a);if(!t)throw new l.C0(`Diagram ${a} not found.`);let{id:e,diagram:r}=await t();(0,l.Js)(e,r)}let{db:i,parser:s,renderer:c,init:u}=(0,l.Gs)(a);return s.parser&&(s.parser.yy=i),i.clear?.(),u?.(n),r.title&&i.setDiagramTitle?.(r.title),await s.parse(e),new t(a,e,i,s,c)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},rg=[],ry=(0,u.K)(()=>{rg.forEach(t=>{t()}),rg=[]},"attachFunctions"),rm=(0,u.K)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function rb(t){let e=t.match(l.EJ);if(!e)return{text:t,metadata:{}};let r=e[1],n=r?e[2].split("\n").map(t=>t.startsWith(r)?t.slice(r.length):t).join("\n"):e[2],i=(0,a.H)(n,{schema:a.r})??{};i="object"!=typeof i||Array.isArray(i)?{}:i;let s={};return i.displayMode&&(s.displayMode=i.displayMode.toString()),i.title&&(s.title=i.title.toString()),i.config&&(s.config=i.config),{text:t.slice(e[0].length),metadata:s}}(0,u.K)(rb,"extractFrontMatter");var rk=(0,u.K)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>
61"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),rw=(0,u.K)(t=>{let{text:e,metadata:r}=rb(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"),rx=(0,u.K)(t=>{let e=o._K.detectInit(t)??{},r=o._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,o.vU)(t),directive:e}},"processDirectives");function r_(t){let e=rw(rk(t)),r=rx(e.text),n=(0,o.$t)(e.config,r.directive);return{code:t=rm(r.text),title:e.title,config:n}}function rv(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,u.K)(r_,"preprocessDiagram"),(0,u.K)(rv,"toBase64");var rA=["foreignobject"],rM=["dominant-baseline"];function rS(t){let e=r_(t);return(0,l.cL)(),(0,l.xA)(e.config??{}),e}async function rK(t,e){ru();try{let{code:e,config:r}=rS(t);return{diagramType:(await rN(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,u.K)(rS,"processAndSetConfigs"),(0,u.K)(rK,"parse");var rL=(0,u.K)((t,e,r=[])=>{let n=(0,l.Df)(`{ ${r.join(" !important; ")} !important; }`);return`.${t} ${e} ${n}`},"cssImportantStyles"),r$=(0,u.K)((t,e=new Map)=>{let r=new CSSStyleSheet;if(void 0!==t.fontFamily&&r.insertRule(`:root { --mermaid-font-family: ${t.fontFamily}}`,r.cssRules.length),void 0!==t.altFontFamily&&r.insertRule(`:root { --mermaid-alt-font-family: ${t.altFontFamily}}`,r.cssRules.length),e instanceof Map){let n=(0,l.E)(t)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{W(t.styles)||n.forEach(e=>{r.insertRule(rL(t.id,e,t.styles),r.cssRules.length)}),W(t.textStyles)||r.insertRule(rL(t.id,"tspan",(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,l.KG)(e)+"\n"}else n+=`${t.themeCSS}
62`;return n+(0,l.KG)(r)},"createCssStyles"),rO=(0,u.K)((t,e)=>M(function(t){var e,r;return r=function t(e,r,n,a,i,s,o,l,c){for(var u,h,d,p,g=0,y=0,m=o,b=0,M=0,S=0,$=1,F=1,B=1,z=0,q=0,U="",W=i,Y=s,H=a,X=U;F;)switch(S=q,q=j()){case 40:108!=S&&58==x(X,m-1)?(z++,X+="("):X+=D(q);break;case 41:z--,X+=")";break;case 34:case 39:case 91:X+=D(q);break;case 9:case 10:case 13:case 32:if(z>0){X+=k(q);break}X+=function(t){for(;C=E();)if(C<33)j();else break;return P(t)>2||P(C)>3?"":" "}(S);break;case 92:X+=function(t,e){for(var r;--e&&j()&&!(C<48)&&!(C>102)&&(!(C>57)||!(C<65))&&(!(C>70)||!(C<97)););return r=O+(e<6&&32==E()&&32==j()),_(T,t,r)}(O-1,7);continue;case 47:switch(E()){case 42:case 47:A((u=function(t,e){for(;j();)if(t+C===57)break;else if(t+C===84&&47===E())break;return"/*"+_(T,e,O-1)+"*"+k(47===t?t:j())}(j(),O),h=r,d=n,p=c,R(u,h,d,f,k(C),_(u,2,-2),0,p)),c),(5==P(S||1)||5==P(E()||1))&&v(X)&&" "!==_(X,-1,void 0)&&(X+=" ");break;default:X+="/"}break;case 123*$:l[g++]=v(X)*B;case 125*$:case 59:case 0:if(z>0&&q){X+=k(q);break}switch(q){case 0:case 125:F=0;case 59+y:-1==B&&(X=w(X,/\f/g,"")),M>0&&(v(X)-m||0===$)&&A(M>32?N(X+";",a,n,m-1,c):N(w(X," ","")+";",a,n,m-2,c),c);break;case 59:X+=";";default:if(A(H=I(X,r,n,g,y,i,l,U,W=[],Y=[],m,s),s),123===q)if(0===y)t(X,r,H,H,W,s,m,l,Y);else{switch(b){case 99:if(110===x(X,3))break;case 108:if(97===x(X,2))break;default:y=0;case 100:case 109:case 115:}y?t(e,H,H,a&&A(I(e,H,H,0,0,i,l,U,i,W=[],m,Y),Y),i,Y,m,l,a?W:Y):t(X,H,H,H,[""],Y,0,l,Y)}}g=y=M=0,$=B=1,U=X="",m=o;break;case 58:m=1+v(X),M=S;default:if($<1){if(123==q)--$;else if(125==q&&0==$++&&125==(C=O>0?x(T,--O):0,L--,10===C&&(L=1,K--),C))continue}switch(X+=k(q),q*$){case 38:B=y>0?1:(X+="\f",-1);break;case 44:if(z>0)break;l[g++]=(v(X)-1)*B,B=1;break;case 64:45===E()&&(X+=D(j())),b=E(),y=m=v(U=X+=function(t){for(;!P(E());)j();return _(T,t,O)}(O)),q++;break;case 45:45===S&&2==v(X)&&($=0)}}return s}("",null,null,null,[""],(e=t,K=L=1,$=v(T=e),O=0,t=[]),0,[0],t),T="",r}(`${t}{${e}}`),function(t){var e=t.length;return function(r,n,a,i){for(var s="",o=0;o<e;o++)s+=t[o](r,n,a,i)||"";return s}}([(0,u.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(`${t} `)||r.startsWith(`${t}>`))&&!r.startsWith(`${t} ||`)?r:`${t} ${r}`)):e.type.startsWith("@")&&(["@media","@supports",m,"@scope","@container","@starting-style",y].includes(e.type)||(c.R.warn(`Removing unsupported at-rule ${e.type} from CSS`),e.type=f))},"addNamespace"),S])),"compileCSS"),rC=(0,u.K)((t,e,r,n)=>{let a=r$(t,r),i=(0,l.tM)(e,a,{...t.themeVariables,theme:t.theme,look:t.look},n);return rO(n,i)},"createUserStyles"),rT=(0,u.K)((t="",e,r)=>{let n=t;return r||e||(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=(n=(0,o.Sm)(n)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),rR=(0,u.K)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",
62n=rv(`<body style="margin:0">${t}</body>`);return`<iframe style="width:100%;height:${r};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="allow-top-navigation-by-user-activation allow-popups">
63  The "iframe" tag is not supported by your browser.
64</iframe>`},"putIntoIFrame"),rj=(0,u.K)((t,e,r,n,a)=>{let i=t.append("div");i.attr("id",r),n&&i.attr("style",n);let s=i.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&s.attr("xmlns:xlink",a),s.append("g"),t},"appendDivSvgG");function rE(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,u.K)(rE,"sandboxedIframe");var rP=(0,u.K)((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),rD=(0,u.K)(async function(t,e,r){let n,a;ru();let i=rS(e);e=i.code;let s=(0,l.zj)();c.R.debug(s),e.length>(s?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let o=`#${t}`,h="i"+t,f="#"+h,p="d"+t,g="#"+p,y=(0,u.K)(()=>{let t=b?f:g,e=(0,d.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),m=(0,d.Ltv)(document.body),b="sandbox"===s.securityLevel,k="loose"===s.securityLevel,w=s.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){let t=rE((0,d.Ltv)(r),h);(m=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else m=(0,d.Ltv)(r);rj(m,t,p,`font-family: ${w}`,"http://www.w3.org/1999/xlink")}else{if(rP(document,t,p,h),b){let t=rE((0,d.Ltv)(document.body),h);(m=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else m=(0,d.Ltv)("body");rj(m,t,p)}try{n=await rp.fromText(e,{title:i.title})}catch(t){if(s.suppressErrorRendering)throw y(),t;n=await rp.fromText("error"),a=t}let x=m.select(g).node(),_=n.type,v=x.firstChild,A=v.firstChild,M=rC(s,_,n.renderer.getClasses?.(e,n),o),S=document.createElement("style");S.innerHTML=M,v.insertBefore(S,A);try{await n.renderer.draw(e,t,"11.17.0",n)}catch(r){throw s.suppressErrorRendering?y():t1.draw(e,t,"11.17.0"),r}let K=m.select(`${g} svg`);rF(_,K,n.db.getAccTitle?.(),n.db.getAccDescription?.());let L=(0,u.K)(()=>{m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let e=m.select(g).node().innerHTML;return c.R.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),e=rT(e,b,(0,l._3)(s.arrowMarkerAbsolute)),b?e=rR(e,m.select(g+" svg").node()):k||(e=F.A.sanitize(e,{ADD_TAGS:rA,ADD_ATTR:rM,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),ry(),e},"serializeSvg")();if(a)throw a;return y(),{diagramType:_,svg:L,bindFunctions:n.db.bindFunctions}},"render");function rI(t={}){let e=(0,l.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,l.wZ)(e),e?.theme&&e.theme in l.H$?e.themeVariables=l.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=l.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,l.UU)(e):(0,l.Q2)();(0,c.H)(r.logLevel),ru()}(0,u.K)(rI,"initialize");var rN=(0,u.K)((t,e={})=>{let{code:r}=r_(t);return rp.fromText(r,e)},"getDiagramFromText");function rF(t,e,r,n){rd(e,t),rf(e,r,n,e.attr("id"))}(0,u.K)(rF,"addA11yInfo");var rB=Object.freeze({render:rD,parse:rK,getDiagramFromText:rN,initialize:rI,getConfig:l.zj,setConfig:l.Nk,getSiteConfig:l.Q2,updateSiteConfig:l.B6,reset:(0,u.K)(()=>{(0,l.cL)()},"reset"),globalReset:(0,u.K)(()=>{(0,l.cL)(l.sb)},"globalReset"),defaultConfig:l.sb});(0,c.H)((0,l.zj)().logLevel),(0,l.cL)((0,l.zj)());var rz=(0,u.K)((t,e,r)=>{c.R.warn(t),(0,o.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"),rq=(0,u.K)(async function(t={querySelector:".mermaid"}){try{await rU(t)}catch(e){if((0,o.dq)(e)&&c.R.error(e.str),r2.parseError&&r2.parseError(e),!t.suppressErrors)throw c.R.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rU=(0,u.K)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n,a,i=rB.getConfig();if(c.R.debug(`${!t?"No ":""}Callback function found`),r)n=r;else if(e)n=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");c.R.debug(`Found ${n.length} diagrams`),i?.startOnLoad!==void 0&&(c.R.debug("Start On Load: "+i?.startOnLoad),rB.updateSiteConfig({startOnLoad:i?.startOnLoad}
64));let s=new o._K.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),l=[];for(let e of Array.from(n)){if(c.R.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${s.next()}`;a=e.innerHTML,a=(0,h.T)(o._K.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let n=o._K.detectInit(a);n&&c.R.debug("Detected early reinit: ",n);try{let{svg:n,bindFunctions:i}=await r0(r,a,e);e.innerHTML=n,t&&await t(r),i&&i(e)}catch(t){rz(t,l,r2.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),rW=(0,u.K)(function(t){rB.initialize(t)},"initialize"),rY=(0,u.K)(async function(t,e,r){c.R.warn("mermaid.init is deprecated. Please use run instead."),t&&rW(t);let n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await rq(n)},"init"),rH=(0,u.K)(async(t,{lazyLoad:e=!0}={})=>{ru(),(0,l.Xd)(...t),!1===e&&await rh()},"registerExternalDiagrams"),rX=(0,u.K)(function(){if(r2.startOnLoad){let{startOnLoad:t}=rB.getConfig();t&&r2.run().catch(t=>c.R.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rX,!1);var rG=(0,u.K)(function(t){r2.parseError=t},"setParseErrorHandler"),rZ=[],rV=!1,rQ=(0,u.K)(async()=>{if(!rV){for(rV=!0;rZ.length>0;){let t=rZ.shift();if(t)try{await t()}catch(t){c.R.error("Error executing queue",t)}}rV=!1}},"executeQueue"),rJ=(0,u.K)(async(t,e)=>new Promise((r,n)=>{let a=(0,u.K)(()=>new Promise((a,i)=>{rB.parse(t,e).then(t=>{a(t),r(t)},t=>{c.R.error("Error parsing",t),r2.parseError?.(t),i(t),n(t)})}),"performCall");rZ.push(a),rQ().catch(n)}),"parse"),r0=(0,u.K)((t,e,r)=>new Promise((n,a)=>{let i=(0,u.K)(()=>new Promise((i,s)=>{rB.render(t,e,r).then(t=>{i(t),n(t)},t=>{c.R.error("Error parsing",t),r2.parseError?.(t),s(t),a(t)})}),"performCall");rZ.push(i),rQ().catch(a)}),"render"),r1=(0,u.K)(()=>Object.keys(l.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),r2={startOnLoad:!0,mermaidAPI:rB,parse:rJ,render:r0,init:rY,run:rq,registerExternalDiagrams:rH,registerLayoutLoaders:i.sO,initialize:rW,parseError:void 0,contentLoaded:rX,setParseErrorHandler:rG,detectType:l.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:r1},r3=r2},40325:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(49950),a=r(89902);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)}},41081:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(){return t}}},41743:(t,e,r)=>{"use strict";r.d(e,{B:()=>d,OS:()=>K,dc:()=>M,ju:()=>y,sc:()=>O,sv:()=>p,xY:()=>R});var n=r(39047),a=r(63537),i=r(71053),s=r(18175),o=r(64249),l=r(14331),c=r(64129),u=r(50967),h=r(37626);function d(t,{edgePathsClass:e="edges edgePath"}={}){let r=t.insert("g").attr("class","root"),n=r.insert("g").attr("class","clusters"),a=r.insert("g").attr("class",e);return{clusters:n,edgePaths:a,edgeLabels:r.insert("g").attr("class","edgeLabels"),nodes:r.insert("g").attr("class","nodes"),rootGroups:r}}async function f(t,e){if(e.label){let{shapeSvg:r,bbox:n}=await (0,s.Zk)(t,e);e.labelBBox={width:n.width,height:n.height},r.remove()}else e.labelBBox={width:0,height:0}}async function p(t,e,r){let n=await (0,i.on)(t,e,r),a=n.node()?.getBBox()??{width:0,height:0};return e.width=a.width,e.height=a.height,n}async function g(t,e){let n=new h.T({multigraph:!0,compound:!0}),i=[...e.edges],s=(0,l.D7)(),o=d(t),{edgeLabels:c,nodes:u}=o,g=new Map,y=null!=t.node();for(let t of(await Promise.all(e.nodes.map(async t=>{if(t.isGroup)y&&await f(u,t),n.setNode(t.id,{...t});else{if(y){let e=await p(u,t,{config:s,dir:t.dir});g.set(t.id,e)}n.setNode(t.id,{...t})}})),i))y&&(0,a.a6)(t)&&await (0,a.jP)(c,t),n.setEdge(t.start,t.end,{...t},t.id),e.edges.some(e=>e.id===t.id)||e.edges.push(t);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:n}=await r.e(9765).then(r.bind(r,9765));n(t,e)}return{graph:n,groups:o,nodeElements:g}}(0,u.K)(d,"createLayoutElementGroups"),(0,u.K)(f,"measureGroupLabel"),(0,u.K)(p,"insertMeasuredNode"),(0,u.K)(g,"createGraphWithElements");var y=new Map,m=new Map,b=new Map,k=(0,u.K)(()=>{m.clear(),b.clear(),y.clear()},"clear"),w=(0,u.K)((t,e)=>{let r=m.get(e)||[];return c.R.trace("In isDescendant",e," ",t," = ",r.includes(t)),r.includes(t)},"isDescendant"),x=(0,u.K)((t,e)=>{let r=m.get(e)||[];return c.R.info("Descendants of ",e," is ",r),c.R.info("Edge is ",t),t.v!==e&&t.w!==e&&(r?r.includes(t.v)||w(t.v,e)||w(t.w,e)||r.includes(t.w):(c.R.debug("Tilt, ",e,",not in descendants"),!1))},"edgeInCluster"),_=(0,u.K)((t,e,r,n)=>{c.R.debug("Copying children of ",t,"root",n,"data",e.node(t),n);let a=e.children(t)||[];t!==n&&a.push(t),c.R.debug("Copying (nodes) clusterId",t,"nodes",a),a.forEach(a=>{if(e.children(a).length>0)_(a,e,r,n);else{let i=e.node(a);c.R.info("cp ",a," to ",n," with parent ",t),r.setNode(a,i),n!==e.parent(a)&&(c.R.debug("Setting parent",a,e.parent(a)),r.setParent(a,e.parent(a))),t!==n&&a!==t?(c.R.debug("Setting parent",a,t),r.setParent(a,t)):(c.R.info("In copy ",t,"root",n,"data",e.node(t),n),c.R.debug("Not Setting parent for node=",a,"cluster!==rootId",t!==n,"node!==clusterId",a!==t));let s=e.edges(a);
64c.R.debug("Copying Edges",s),s.forEach(a=>{c.R.info("Edge",a);let i=e.edge(a.v,a.w,a.name);c.R.info("Edge data",i,n);try{x(a,n)?(c.R.info("Copying as ",a.v,a.w,i,a.name),r.setEdge(a.v,a.w,i,a.name),c.R.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]))):c.R.info("Skipping copy of edge ",a.v,"--\x3e",a.w," rootId: ",n," clusterId:",t)}catch(t){c.R.error(t)}})}c.R.debug("Removing node",a),e.removeNode(a)})},"copy"),v=(0,u.K)((t,e)=>{let r=e.children(t),n=[...r];for(let a of r)b.set(a,t),n=[...n,...v(a,e)];return n},"extractDescendants"),A=(0,u.K)((t,e,r)=>{let n=t.edges().filter(t=>t.v===e||t.w===e),a=t.edges().filter(t=>t.v===r||t.w===r),i=n.map(t=>({v:t.v===e?r:t.v,w:t.w===e?e:t.w})),s=a.map(t=>({v:t.v,w:t.w}));return i.filter(t=>s.some(e=>t.v===e.v&&t.w===e.w))},"findCommonEdges"),M=(0,u.K)((t,e,r)=>{let n,a=e.children(t);if(c.R.trace("Searching children of id ",t,a),a.length<1)return t;for(let t of a){let a=M(t,e,r),i=A(e,r,a);if(a)if(!(i.length>0))return a;else n=a}return n},"findNonClusterChild"),S=(0,u.K)(t=>y.has(t)&&y.get(t).externalConnections&&y.has(t)?y.get(t).id:t,"getAnchorId"),K=(0,u.K)((t,e)=>{if(!t||e>10)return void c.R.debug("Opting out, no graph ");for(let e of(c.R.debug("Opting in, graph "),t.nodes().forEach(function(e){t.children(e).length>0&&(c.R.debug("Cluster identified",e," Replacement id in edges: ",M(e,t,e)),m.set(e,v(e,t)),y.set(e,{id:M(e,t,e),clusterData:t.node(e)}))}),t.nodes().forEach(function(e){let r=t.children(e),n=t.edges();r.length>0?(c.R.debug("Cluster identified",e,m),n.forEach(t=>{w(t.v,e)^w(t.w,e)&&(c.R.debug("Edge: ",t," leaves cluster ",e),c.R.debug("Descendants of XXX ",e,": ",m.get(e)),y.get(e).externalConnections=!0)})):c.R.debug("Not a cluster ",e,m)}),y.keys())){let r=y.get(e).id,n=t.parent(r);n!==e&&y.has(n)&&!y.get(n).externalConnections&&(y.get(e).id=n);let a=t.edges().some(t=>t.v===e);if(r&&y.get(e)?.externalConnections&&a&&C(t,r,e)){let n=T(t,e,t.parent(r));n&&(y.get(e).id=n)}}
64t.edges().forEach(function(e){let r=t.edge(e);c.R.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),c.R.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let n=e.v,a=e.w;if(c.R.debug("Fix XXX",y,"ids:",e.v,e.w,"Translating: ",y.get(e.v)," --- ",y.get(e.w)),y.get(e.v)||y.get(e.w)){if(c.R.debug("Fixing and trying - removing XXX",e.v,e.w,e.name),n=S(e.v),a=S(e.w),t.removeEdge(e.v,e.w,e.name),n!==e.v){let a=t.parent(n);y.get(a).externalConnections=!0,r.fromCluster=e.v}if(a!==e.w){let n=t.parent(a);y.get(n).externalConnections=!0,r.toCluster=e.w}c.R.debug("Fix Replacing with XXX",n,a,e.name),t.setEdge(n,a,r,e.name)}}),L(t,0),c.R.trace(y)},"adjustClustersAndEdges"),L=(0,u.K)((t,e)=>{if(e>10)return void c.R.error("Bailing out");let r=t.nodes(),n=!1;for(let e of r){let r=t.children(e);n=n||r.length>0}if(!n)return void c.R.debug("Done, no node has children",t.nodes());for(let n of(c.R.debug("Nodes = ",r,e),r))if(c.R.debug("Extracting node",n,y,y.has(n)&&!y.get(n).externalConnections,!t.parent(n),t.node(n),t.children("D")," Depth ",e),y.has(n))if(!y.get(n).externalConnections&&t.children(n)&&t.children(n).length>0){c.R.debug("Cluster without external connections, without a parent and with children",n,e);let r="TB"===t.graph().rankdir?"LR":"TB";y.get(n)?.clusterData?.dir&&(r=y.get(n).clusterData.dir,c.R.debug("Fixing dir",y.get(n).clusterData.dir,r));let a=new h.T({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});_(n,t,a,n),t.setNode(n,{clusterNode:!0,id:n,clusterData:y.get(n).clusterData,label:y.get(n).label,graph:a})}else c.R.debug("Cluster ** ",n," **not meeting the criteria !externalConnections:",!y.get(n).externalConnections," no parent: ",!t.parent(n)," children ",t.children(n)&&t.children(n).length>0,t.children("D"),e),c.R.debug(y);else c.R.debug("Not a cluster",n,e);for(let n of(r=t.nodes(),c.R.debug("New list of nodes",r),r)){let r=t.node(n);c.R.debug(" Now next level",n,r),r?.clusterNode&&L(r.graph,e+1)}},"extractor"),$=(0,u.K)((t,e)=>{if(0===e.length)return[];let r=Object.assign([],e);return e.forEach(e=>{let n=t.children(e),a=$(t,n);r=[...r,...a]}),r},"sorter"),O=(0,u.K)(t=>$(t,t.children()),"sortNodesByHierarchy"),C=(0,u.K)((t,e,r)=>{let n=t.parent(e);for(;n&&n!==r;){let e=y.get(n);if(e&&!e.externalConnections)return!0;n=t.parent(n)}return!1},"isNodeInExtractableCluster"),T=(0,u.K)((t,e,r)=>{for(let n of t.children(e)??[]){if(n===r||w(n,r))continue;let a=M(n,t,e);if(a&&!C(t,a,e))return a}return null},"findSafeAnchorNode");function R({prepareLayout:t,measureLayout:e,runLayoutCore:r,paintLayout:n,afterPaint:i,paintOptions:s}){let o=e??E;return(0,u.K)(async function(e,l,c,u){let h=l.select("g");(0,a.g0)(h,e.markers,e.type,e.diagramId),j();let d={element:h,helpers:c,options:u};d.preparedLayout=await t?.(e,d);let f=await o(e,d),p=await r(e,d),g={...d,measure:f};n?await n(e,g,p):await P(e,g,s),await i?.(e,g,p)},"render")}function j(){(0,i.IU)(),(0,a.IU)(),(0,n.I)(),k()}async function E(t,{element:e}){return await g(e,t)}async function P(t,e,r={}){let{measure:n}=e,{groups:a}=n;for(let n of r.getNodes?.(t,e)??t.nodes)r.skipNode?.(n,e)||await D(a,n,e,r);let i=N(t.nodes);for(let n of t.edges)F(n,r)||await B(a,n,i,t,r,e)}async function D(t,e,r,a){e.clusterNode?(0,i.U_)(e):I(e,r,a)?await (0,n.U)(t.clusters,e):(0,i.U_)(e)}function I(t,e,r){return!0===t.isGroup&&(r.isCluster?.(t,e)??!0)}function N(t){let e=new Map;for(let r of t)r?.id&&e.set(r.id,r);return e}function F(t,e){return t.isLayoutOnly||!!e.skipEdge?.(t)}async function B(t,e,r,n,i,s){let o=(0,a.Jo)(t.edgePaths,{...e},i.clusterDb??new Map,n.type,z(e.start,e,r,s,i),z(e.end,e,r,s,i),n.diagramId,q(e,i));(0,a.a6)(e)&&(a.lP.has(e.id)||await (0,a.jP)(t.edgeLabels,e),U(e,o))}function z(t,e,r,n,a){return a.getEdgeNode?.(t,e,n)??(t?r.get(t)??{}:{})}function q(t,e){return"function"==typeof e.skipIntersect?e.skipIntersect(t):e.skipIntersect??!1}function U(t,e){let r=e?.updatedPath??e?.originalPath,n=(0,l.zj)(),{subGraphTitleTotalMargin:s}=(0,i.Oi)({flowchart:n.flowchart??{}});if(t.label){let n=a.lP.get(t.id),i=t.x,l=t.y;if(r){let n=o._K.calcLabelPosition(r);c.R.debug("Moving label "+t.label+" from (",i,",",l,") to (",n.x,",",n.y,") abc88"),e?.updatedPath&&(i=n.x,l=n.y)}n.attr("transform",`translate(${i}, ${l+s/2})`)}if(t?.startLabelLeft){let e=a.UQ.get(t.id).startLeft,n=t?.x,i=t?.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){let e=a.UQ.get(t.id).startRight,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){let e=a.UQ.get(t.id).endLeft,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){let e=a.UQ.get(t.id).endRight,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}}(0,u.K)(R,"createCommonLayoutRenderer"),(0,u.K)(j,"clearLayoutRenderState"),(0,u.K)(E,"defaultMeasureLayout"),(0,u.K)(P,"paintLayoutData"),(0,u.K)(D,"paintLayoutNode"),(0,u.K)(I,"shouldPaintAsCluster"),(0,u.K)(N,"buildNodeLookup"),(0,u.K)(F,"shouldSkipPaintEdge"),(0,u.K)(B,"paintLayoutE
64dge"),(0,u.K)(z,"getRenderedNode"),(0,u.K)(q,"shouldSkipIntersect"),(0,u.K)(U,"positionRenderedEdgeLabel")},42615:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return t===e||t!=t&&e!=e}},43222:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52686),a=r(11246);let i=(0,n.A)(a.A,"Set")},43995:function(t,e,r){var n;!function(e){"use strict";var a=function(){},i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function s(){this.reads=[],this.writes=[],this.raf=i.bind(e),a("initialized",this)}function o(t){t.scheduled||(t.scheduled=!0,t.raf(l.bind(null,t)),a("flush scheduled"))}function l(t){a("flush");var e,r=t.writes,n=t.reads;try{a("flushing reads",n.length),t.runTasks(n),a("flushing writes",r.length),t.runTasks(r)}catch(t){e=t}if(t.scheduled=!1,(n.length||r.length)&&o(t),e)if(a("task errored",e.message),t.catch)t.catch(e);else throw e}function c(t,e){var r=t.indexOf(e);return!!~r&&!!t.splice(r,1)}s.prototype={constructor:s,runTasks:function(t){var e;for(a("run tasks");e=t.shift();)e()},measure:function(t,e){a("measure");var r=e?t.bind(e):t;return this.reads.push(r),o(this),r},mutate:function(t,e){a("mutate");var r=e?t.bind(e):t;return this.writes.push(r),o(this),r},clear:function(t){return a("clear",t),c(this.reads,t)||c(this.writes,t)},extend:function(t){if(a("extend",t),"object"!=typeof t)throw Error("expected object");var e=Object.create(this);return function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var u=e.fastdom=e.fastdom||new s;void 0===(n=(function(){return u}).call(u,r,u,t))||(t.exports=n)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},47102:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){return null==e?void 0:e[t]}}},47697:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(67779),a=r(15710);let i=function(t){if(!(0,a.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},48030:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=Array.isArray},49270:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},49950:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(36607),a=r(27406);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),s=r.length,o=s%4==0,l=s>4,c=l?1:17,u=l?8:4,h=o?0:-1,d=l?255:15;return n.A.set({r:(a>>u*(h+3)&d)*c,g:(a>>u*(h+2)&d)*c,b:(a>>u*(h+1)&d)*c,a:o?(a&d)*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 s=r(61966);let o={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(o.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return s.A.channel.clamp.h(.9*parseFloat(t));case"rad":return s.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.A.channel.clamp.h(360*parseFloat(t))}}return s.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(o.re);if(!r)return;let[,a,i,l,c,u]=r;return n.A.set({h:o._hue2deg(a),s:s.A.channel.clamp.s(parseFloat(i)),l:s.A.channel.clamp.l(parseFloat(l)),a:c?s.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(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(n)}%, ${a})`:`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.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
64almon:"#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,o,l,u,h,d,f]=r;return n.A.set({r:s.A.channel.clamp.r(i?2.55*parseFloat(a):parseFloat(a)),g:s.A.channel.clamp.g(l?2.55*parseFloat(o):parseFloat(o)),b:s.A.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:d?s.A.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:n,a}=t;return a<1?`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)}, ${s.A.lang.round(a)})`:`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)})`}},u={format:{keyword:l,hex:i,rgb:c,rgba:c,hsl:o,hsla:o},parse:t=>{if("string"!=typeof t)return t;let e=i.parse(t)||c.parse(t)||o.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?o.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?i.stringify(t):c.stringify(t)}},50024:(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 s=n[0];return e.forEach(function(t,e){var r=s.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")),s+=i+n[e+1]}),s}r.d(e,{T:()=>n})},50967:(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})}},52577:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(67779),a=r(3017);let i=function(t){return"symbol"==typeof t||(0,a.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},52686:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(47697),a=r(11246).A["__core-js_shared__"],i=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),s=r(15710),o=r(89810),l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,h=c.hasOwnProperty,d=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let f=function(t){return!!(0,s.A)(t)&&(!i||!(i in t))&&((0,n.A)(t)?d:l).test((0,o.A)(t))},p=function(t,e){var r=null==t?void 0:t[e];return f(r)?r:void 0}},53032:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52686),a=r(11246);let i=(0,n.A)(a.A,"Map")},54278:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(90475),a=r(13621);let i=function(t,e){return t&&(0,n.A)(t,e,a.A)}},54470:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(5792),a=(0,r(9284).A)(Object.keys,Object),i=Object.prototype.hasOwnProperty;let s=function(t){if(!(0,n.A)(t))return a(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},55308:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(49950),a=r(34888);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:s,b:o,a:l}=n.A.parse(t),{r:c,g:u,b:h,a:d}=n.A.parse(e),f=r/100,p=2*f-1,g=l-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y;return(0,a.A)(i*y+c*m,s*y+u*m,o*y+h*m,l*f+d*(1-f))})(r,t,e)}},59691:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n="object"==typeof global&&global&&global.Object===Object&&global},59708:(t,e,r)=>{var n;!function(){var e={initialize:function(){this._tasks=new Map},mutate:function(t,e){return a(this,"mutate",t,e)},measure:function(t,e){return a(this,"measure",t,e)},clear:function(t){var e=this._tasks,r=e.get(t);this.fastdom.clear(r),e.delete(t)}};function a(t,e,r,n){var a,i=t._tasks,s=t.fastdom,o=new Promise(function(t,l){a=s[e](function(){i.delete(o);try{t(n?r.call(n):r())}catch(t){l(t)}},n)});return i.set(o,a),o}void 0===(n=(function(){return e}).call(e,r,e,t))||(t.exports=n)}()},60807:(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)}},61210:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});
64var n=r(83698),a=r(91243),i=r(48030),s=r(52577),o=1/0,l=n.A?n.A.prototype:void 0,c=l?l.toString:void 0;let u=function t(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,a.A)(e,t)+"";if((0,s.A)(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-o?"-0":r},h=function(t){return null==t?"":u(t)}},61309:(t,e,r)=>{"use strict";r.d(e,{$V:()=>s,Av:()=>n,GX:()=>p,ML:()=>A,NA:()=>h,OG:()=>a,Qb:()=>y,R_:()=>o,Uw:()=>d,VP:()=>l,XZ:()=>w,ZR:()=>k,_u:()=>_,cT:()=>f,i1:()=>x,iq:()=>g,kj:()=>i,pj:()=>u,q:()=>m,ri:()=>v,vC:()=>c,x6:()=>b});let n="[object RegExp]",a="[object String]",i="[object Number]",s="[object Boolean]",o="[object Arguments]",l="[object Symbol]",c="[object Date]",u="[object Map]",h="[object Set]",d="[object Array]",f="[object ArrayBuffer]",p="[object Object]",g="[object DataView]",y="[object Uint8Array]",m="[object Uint8ClampedArray]",b="[object Uint16Array]",k="[object Uint32Array]",w="[object Int8Array]",x="[object Int16Array]",_="[object Int32Array]",v="[object Float32Array]",A="[object Float64Array]"},61966:(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)=>
64{if(!e)return 2.55*r;t/=360,e/=100;let i=(r/=100)<.5?r*(1+e):r+e-r*e,s=2*r-i;switch(a){case"r":return 255*n.hue2rgb(s,i,t+1/3);case"g":return 255*n.hue2rgb(s,i,t);case"b":return 255*n.hue2rgb(s,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),s=(a+i)/2;if("l"===n)return 100*s;if(a===i)return 0;let o=a-i;if("s"===n)return 100*(s>.5?o/(2-a-i):o/(a+i));switch(a){case t:return((e-r)/o+6*(e<r))*60;case e:return((r-t)/o+2)*60;case r:return((t-e)/o+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}`}}}},62400:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=(0,r(52686).A)(Object,"create"),a=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=function(){this.__data__=n?n(null):{},this.size=0},s.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},s.prototype.get=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0},s.prototype.has=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)},s.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};var o=r(11583),l=r(53032);let c=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},u=function(t,e){var r=t.__data__;return c(e)?r["string"==typeof e?"string":"hash"]:r.map};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(l.A||o.A),string:new s}},h.prototype.delete=function(t){var e=u(this,t).delete(t);return this.size-=!!e,e},h.prototype.get=function(t){return u(this,t).get(t)},h.prototype.has=function(t){return u(this,t).has(t)},h.prototype.set=function(t,e){var r=u(this,t),n=r.size;return r.set(t,e),this.size+=+(r.size!=n),this};let d=h},63537:(t,e,r)=>{"use strict";r.d(e,{IU:()=>S,Jo:()=>F,T_:()=>C,UQ:()=>M,a6:()=>K,g0:()=>td,hq:()=>p,jP:()=>$,lP:()=>A});var n=r(71053),a=r(18175),i=r(29205),s=r(34727),o=r(64249),l=r(14331),c=r(64129),u=r(50967),h=r(66470),d=r(73928),f=(0,u.K)((t,e)=>{if(e)return"translate("+-t.width/2+", "+-t.height/2+")";let r=t.x??0,n=t.y??0;return"translate("+-(r+t.width/2)+", "+-(n+t.height/2)+")"},"computeLabelTransform"),p={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},g={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function y(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=m(t),e=m(e);let[r,n]=[t.x,t.y],[a,i]=[e.x,e.y],s=a-r,o=i-n;return{angle:Math.atan(o/s),deltaX:s,deltaY:o}}(0,u.K)(y,"calculateDeltaAndAngle");var m=(0,u.K)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),b=(0,u.K)(t=>({x:(0,u.K)(function(e,r,n){let a=0,i=m(n[0]).x<m(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(p,t.arrowTypeStart)){let{angle:e,deltaX:r}=y(n[0],n[1]);a=p[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(p,t.arrowTypeEnd)){let{angle:e,deltaX:r}=y(n[n.length-1],n[n.length-2]);a=p[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let s=Math.abs(m(e).x-m(n[n.length-1]).x),o=Math.abs(m(e).y-m(n[n.length-1]).y),l=Math.abs(m(e).x-m(n[0]).x),c=Math.abs(m(e).y-m(n[0]).y),u=p[t.arrowTypeStart],h=p[t.arrowTypeEnd];if(s<h&&s>0&&o<h){let t=h+1-s;t*="right"===i?-1:1,a-=t}if(l<u&&l>0&&c<u){let t=u+1-l;t*="right"===i?-1:1,a+=t}return m(e).x+a},"x"),y:(0,u.K)(function(e,r,n){let a=0,i=m(n[0]).y<m(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(p,t.arrowTypeStart)){let{angle:e,deltaY:r}=y(n[0],n[1]);a=p[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(p,t.arrowTypeEnd)){let{angle:e,deltaY:r}=y(n[n.length-1],n[n.length-2]);a=p[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let s=Math.abs(m(e).y-m(n[n.length-1]).y),o=Math.abs(m(e).x-m(n[n.length-1]).x),l=Math.abs(m(e).y-m(n[0]).y),c=Math.abs(m(e).x-m(n[0]).x),u=p[t.arrowTypeStart],h=p[t.arrowTypeEnd];if(s<h&&s>0&&o<h){let t=h+1-s;t*="up"===i?-1:1,a-=t}if(l<u&&l>0&&c<u){let t=u+1-l;t*="up"===i?-1:1,a+=t}return m(e).y+a}
64,"y")}),"getLineFunctionsWithOffset"),k=(0,u.K)((t,e,r,n,a,i=!1,s)=>{e.arrowTypeStart&&_(t,"start",e.arrowTypeStart,r,n,a,i,s),e.arrowTypeEnd&&_(t,"end",e.arrowTypeEnd,r,n,a,i,s)},"addEdgeMarkers"),w={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},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}},x=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],_=(0,u.K)((t,e,r,n,a,i,s=!1,o)=>{if(!r||"none"===r)return;let l=w[r],u=l&&x.includes(l.type);if(!l)return void c.R.warn(`Unknown arrow type: ${r}`);let h=l.type,d=`${a}_${i}-${h}${"start"===e?"Start":"End"}${s&&u?"-margin":""}`;if(o&&""!==o.trim()){let r=o.replace(/[^\dA-Za-z]/g,"_"),a=`${d}_${r}`;if(!document.getElementById(a)){let t=document.getElementById(d);if(t){let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",o),l.fill&&t.setAttribute("fill",o)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${n}#${a})`)}else t.attr(`marker-${e}`,`url(${n}#${d})`)},"addEdgeMarker"),v=(0,u.K)(t=>"string"==typeof t?t:(0,l.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),A=new Map,M=new Map,S=(0,u.K)(()=>{A.clear(),M.clear()},"clear"),K=(0,u.K)(t=>!!(t.label||t.startLabelLeft||t.startLabelRight||t.endLabelLeft||t.endLabelRight),"hasEdgeLabel"),L=(0,u.K)(t=>t?"string"==typeof t?t:t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),$=(0,u.K)(async(t,e)=>{let r,n,o,u=(0,l.D7)(),d=(0,l.E)(u),{labelStyles:p}=(0,i.GX)(e);e.labelStyle=p;let g=t.insert("g").attr("class","edgeLabel"),y=g.insert("g").attr("class","label").attr("data-id",e.id),m="markdown"===e.labelType,b=await (0,s.GZ)(t,e.label,{style:L(e.labelStyle),useHtmlLabels:d,addSvgBackground:!0,isNode:!1,markdown:m,width:void 0},u);if(y.node().appendChild(b),c.R.info("abc82",e,e.labelType),d){let t=b.children[0],e=(0,h.Ltv)(b);n=r=await s.lT.measure(()=>t.getBoundingClientRect()),e.attr("width",r.width),e.attr("height",r.height)}else{let t=(0,h.Ltv)(b).select("text").node();await s.lT.measure(()=>{r=b.getBBox(),n=t&&"function"==typeof t.getBBox?t.getBBox():r})}if(y.attr("transform",f(n,d)),A.set(e.id,g),e.width=r.width,e.height=r.height,e.startLabelLeft){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),i=await (0,a.DA)(n,e.startLabelLeft,L(e.labelStyle)||"",!1,!1);o=i;let s=i.getBBox();if(d){let t=i.children[0],e=(0,h.Ltv)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).startLeft=r,O(o,e.startLabelLeft)}if(e.startLabelRight){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),i=await (0,a.DA)(n,e.startLabelRight,L(e.labelStyle)||"",!1,!1);o=i;let s=i.getBBox();if(d){let t=i.children[0],e=(0,h.Ltv)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).startRight=r,O(o,e.startLabelRight)}if(e.endLabelLeft){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),i=await (0,a.DA)(r,e.endLabelLeft,L(e.labelStyle)||"",!1,!1);o=i;let s=i.getBBox();if(d){let t=i.children[0],e=(0,h.Ltv)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).endLeft=r,O(o,e.endLabelLeft)}if(e.endLabelRight){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),i=await (0,a.DA)(r,e.endLabelRight,L(e.labelStyle)||"",!1,!1);o=i;let s=i.getBBox();if(d){let t=i.children[0],e=(0,h.Ltv)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).endRight=r,O(o,e.endLabelRight)}return b},"insertEdgeLabel");function O(t,e){(0,l.E)((0,l.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,u.K)(O,"setTerminalWidth");var C=(0,u.K)((t,e)=>{c.R.debug("Moving label abc88 ",t.id,t.label,A.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,a=(0,l.D7)(),{subGraphTitleTotalMargin:i}=(0,n.Oi)(a);if(t.label){let n=A.get(t.id),a=t.x,s=t.y;if(r){let n=o._K.calcLabelPosition(r);c.R.debug("Moving label "+t.label+" from (",a,",",s,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(a=n.x,s=n.y)}n.attr("transform",`translate(${a}, ${s+i/2})`)}if(t.startLabelLeft){let e=M.get(t.id).startLeft,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
64n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.startLabelRight){let e=M.get(t.id).startRight,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.endLabelLeft){let e=M.get(t.id).endLeft,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.endLabelRight){let e=M.get(t.id).endRight,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}},"positionEdgeLabel"),T=(0,u.K)((t,e)=>{if(!t?.isLabelEdge||!t?.id?.endsWith("-to-label")||!Array.isArray(e)||2!==e.length)return e;let[r,n]=e,a=Math.abs(n.x-r.x),i=Math.abs(n.y-r.y);return a<.001||i<.001?e:i>=a?[r,{x:r.x,y:n.y},n]:[r,{x:n.x,y:r.y},n]},"orthogonalizeToLabelClippedPoints"),R=(0,u.K)((t,e)=>{let r=t.x,n=t.y,a=Math.abs(e.x-r),i=Math.abs(e.y-n),s=t.width/2,o=t.height/2;return a>=s||i>=o},"outsideNode"),j=(0,u.K)((t,e,r)=>{c.R.debug(`intersection calc abc89:
65  outsidePoint: ${JSON.stringify(e)}
66  insidePoint : ${JSON.stringify(r)}
67  node        : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,a=t.y,i=Math.abs(n-r.x),s=t.width/2,o=r.x<e.x?s-i:s+i,l=t.height/2,u=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*s>Math.abs(n-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;o=h*t/u;let n={x:r.x<e.x?r.x+o:r.x-h+o,y:r.y<e.y?r.y+u-t:r.y-u+t};return 0===o&&(n.x=e.x,n.y=e.y),0===h&&(n.x=e.x),0===u&&(n.y=e.y),c.R.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${h}, r ${o}`,n),n}{let t=u*(o=r.x<e.x?e.x-s-n:n-s-e.x)/h,a=r.x<e.x?r.x+h-o:r.x-h+o,i=r.y<e.y?r.y+t:r.y-t;return c.R.debug(`sides calc abc89, Q ${u}, q ${t}, R ${h}, r ${o}`,{_x:a,_y:i}),0===o&&(a=e.x,i=e.y),0===h&&(a=e.x),0===u&&(i=e.y),{x:a,y:i}}},"intersection"),E=(0,u.K)((t,e)=>{c.R.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],a=!1;return t.forEach(t=>{if(c.R.info("abc88 checking point",t,e),R(e,t)||a)c.R.warn("abc88 outside",t,n),n=t,a||r.push(t);else{let i=j(e,n,t);c.R.debug("abc88 inside",t,n,i),c.R.debug("abc88 intersection",i,e);let s=!1;r.forEach(t=>{s=s||t.x===i.x&&t.y===i.y}),r.some(t=>t.x===i.x&&t.y===i.y)?c.R.warn("abc88 no intersect",i,r):r.push(i),a=!0}}),c.R.debug("returning points",r),r},"cutPathAtIntersect");function P(t){let e=[],r=[];for(let n=1;n<t.length-1;n++){let a=t[n-1],i=t[n],s=t[n+1];a.x===i.x&&i.y===s.y&&Math.abs(i.x-s.x)>5&&Math.abs(i.y-a.y)>5?(e.push(i),r.push(n)):a.y===i.y&&i.x===s.x&&Math.abs(i.x-a.x)>5&&Math.abs(i.y-s.y)>5&&(e.push(i),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,u.K)(P,"extractCornerPoints");var D=(0,u.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"),I=(0,u.K)(function(t){let{cornerPointPositions:e}=P(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],s=D(e,i,5),o=D(a,i,5),l=o.x-s.x,u=o.y-s.y;r.push(s);let h=2*Math.sqrt(2),d={x:i.x,y:i.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(c.R.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),d=i.x===s.x?{x:l<0?s.x-5+h:s.x+5-h,y:u<0?s.y-h:s.y+h}:{x:l<0?s.x-h:s.x+h,y:u<0?s.y-5+h:s.y+5-h}):c.R.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(d,o)}else r.push(t[n]);return r},"fixCorners"),N=(0,u.K)((t,e,r)=>{let n=Math.floor((t-e-r)/4),a=Array(Number.isFinite(n)?Math.max(0,n):0).fill("2 2").join(" ");return`0 ${e} ${a} ${r}`},"generateDashArray"),F=(0,u.K)(function(t,e,r,n,a,s,u,f=!1){let p,y;if(!u)throw Error(`insertEdge: missing diagramId for edge "${e.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:m,layout:w}=(0,l.D7)(),x=e.points,_=!1,A=[];for(let t in e.cssCompiledStyles)(0,i.KX)(t)||A.push(e.cssCompiledStyles[t]);if("swimlane"===w){if(s.intersect&&a.intersect&&Array.isArray(x)&&x.length>=2)if(2===x.length)x=[a.intersect(x[0]),s.intersect(x[1])];else{let t=x.slice(1,-1),e=t[0],r=t[t.length-1],n=.5>Math.abs(x[x.length-1].x-r.x)&&.5>Math.abs(x[x.length-1].y-r.y),i=a.intersect(e),o=n?r:s.intersect(r),l=.5>Math.abs(o.x-r.x)&&.5>Math.abs(o.y-r.y);x=[....5>Math.abs(i.x-e.x)&&.5>Math.abs(i.y-e.y)?[]:[i],...t,...l?[]:[o]]}x=T(e,x)}else s.intersect&&a.intersect&&!f&&((x=x.slice(1,e.points.length-1)).unshift(a.intersect(x[0])),x.push(s.intersect(x[x.length-1])));let M=btoa(JSON.stringify(x));e.toCluster&&(c.R.info("to cluster abc88",r.get(e.toCluster)),x=E(e.points,r.get(e.toCluster).node),_=!0),e.fromCluster&&(c.R.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(x,null,2)),x=E(x.reverse(),r.get(e.fromCluster).node).reverse(),_=!0);let S=x.filter(t=>!Number.isNaN(t.y)),K=v(e.curve);"rounded"!==K&&(S=I(S));let L=h.lUB;switch(K){case"linear":case"rounded":L=h.lUB;break;case"basis":default:L=h.qrM;break;case"cardinal":L=h.y8u;break;case"bumpX":L=h.Wi0;break;case"bumpY":L=h.PGM;break;case"catmullRom":L=h.oDi;break;case"monotoneX":L=h.nVG;break;case"monotoneY":L=h.uxU;break;case"natural":L=h.Xf2;break;case"step":L=h.GZz;break;case"stepAfter":L=h.UPb;break;case"stepBefore":L=h.dyv}let{x:$,y:O}=b(e),C=(0,h.n8j)().x($).y(O).curve(L);switch(e.thickness){case"normal":default:p="edge-thickness-normal";break;case"thick":p="edge-thickness-thick";break;case"invisible":p="edge-thickness-invisible"}switch(e.pattern){case"solid":default:p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed"}let R="rounded"===K?B(q(S,e),5):C(S),j=Array.isArray(e.style)?e.style:[e.style],P=j.find(t=>t?.startsWith("stroke:")),D="";e.animate&&(D="edge-animation-fast"),e.animation&&(D="edge-animation-"+e.animation);let F=!1;
67if("handDrawn"===e.look){let r=d.A.svg(t);Object.assign([],S);let n=r.path(R,{roughness:.3,seed:m});p+=" transition";let a=(y=(0,h.Ltv)(n).select("path").attr("id",`${u}-${e.id}`).attr("class"," "+p+(e.classes?" "+e.classes:"")+(D?" "+D:"")).attr("style",j?j.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",a),t.node().appendChild(y.node())}else{let r=A.join(";"),n=j?j.reduce((t,e)=>t+e+";",""):"",a=(r?r+";"+n+";":n)+";"+(j?j.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",R).attr("id",`${u}-${e.id}`).attr("class"," "+p+(e.classes?" "+e.classes:"")+(D?" "+D:"")).attr("style",a),P=a.match(/stroke:([^;]+)/)?.[1],F=!0===e.animate||!!e.animation||r.includes("animation");let i=y.node(),s="function"==typeof i.getTotalLength?i.getTotalLength():0,o=g[e.arrowTypeStart]||0,l=g[e.arrowTypeEnd]||0;if("neo"===e.look&&!F){let t="dotted"===e.pattern||"dashed"===e.pattern?N(s,o,l):`0 ${o} ${s-o-l} ${l}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;y.attr("style",r+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",M),y.attr("data-look",(0,o.KL)(e.look)),e.showPoints&&S.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let z="";((0,l.D7)().flowchart.arrowMarkerAbsolute||(0,l.D7)().state.arrowMarkerAbsolute)&&(z=(z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),c.R.info("arrowTypeStart",e.arrowTypeStart),c.R.info("arrowTypeEnd",e.arrowTypeEnd);let U=!F&&e?.look==="neo";k(y,e,z,u,n,U,P);let W=Math.floor(x.length/2),Y=x[W];o._K.isLabelCoordinateInPath(Y,y.attr("d"))||(_=!0);let H={};return _&&(H.updatedPath=x),H.originalPath=e.points,H},"insertEdge");function B(t,e){if(t.length<2)return"";let r="",n=t.length;for(let a=0;a<n;a++){let i=t[a],s=t[a-1],o=t[a+1];if(0===a)r+=`M${i.x},${i.y}`;else if(a===n-1)r+=`L${i.x},${i.y}`;else{let t=i.x-s.x,n=i.y-s.y,a=o.x-i.x,l=o.y-i.y,c=Math.hypot(t,n),u=Math.hypot(a,l);if(c<1e-5||u<1e-5){r+=`L${i.x},${i.y}`;continue}let h=t/c,d=n/c,f=a/u,p=l/u,g=Math.acos(Math.max(-1,Math.min(1,h*f+d*p)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${i.x},${i.y}`;continue}let y=Math.min(e/Math.sin(g/2),c/2,u/2),m=i.x-h*y,b=i.y-d*y,k=i.x+f*y,w=i.y+p*y;r+=`L${m},${b}Q${i.x},${i.y} ${k},${w}`}}return r}function z(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 q(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&p[e.arrowTypeStart]){let n=p[e.arrowTypeStart],a=t[0],{angle:i}=z(a,t[1]),s=n*Math.cos(i),o=n*Math.sin(i);r[0].x=a.x+s,r[0].y=a.y+o}let n=t.length;if(n>=2&&p[e.arrowTypeEnd]){let a=p[e.arrowTypeEnd],i=t[n-1],{angle:s}=z(t[n-2],i),o=a*Math.cos(s),l=a*Math.sin(s);r[n-1].x=i.x-o,r[n-1].y=i.y-l}return r}(0,u.K)(B,"generateRoundedPath"),(0,u.K)(z,"calculateDeltaAndAngle"),(0,u.K)(q,"applyMarkerOffsetsToPoints");var U=(0,u.K)((t,e,r,n)=>{e.forEach(e=>{th[e](t,r,n)})},"insertMarkers"),W=(0,u.K)((t,e,r)=>{c.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("polygon").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("pol
67ygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),Y=(0,u.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"),H=(0,u.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"),X=(0,u.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"),G=(0,u.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"),Z=(0,u.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
67ygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),V=(0,u.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"),Q=(0,u.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"),J=(0,u.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"),tt=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.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",`${a}`)},"barbNeo"),te=(0,u.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"),tr=(0,u.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"),tn=(0,u.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"),ta=(0,u.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"),ti=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.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",`${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",`${a}`)},"only_one_neo"),ts=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:a,mainBkg:i}=n,s=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");
67s.append("circle").attr("fill",i??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${a}`).attr("r",6),s.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${a}`);let o=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");o.append("circle").attr("fill",i??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${a}`).attr("r",6),o.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${a}`)},"zero_or_one_neo"),to=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.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",`${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",`${a}`)},"one_or_more_neo"),tl=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:a,mainBkg:i}=n,s=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");s.append("circle").attr("fill",i??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${a}`),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${a}`);let o=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");o.append("circle").attr("fill",i??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${a}`),o.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${a}`)},"zero_or_more_neo"),tc=(0,u.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
68      L20,10
69      M20,10
70      L0,20`)},"requirement_arrow"),tu=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.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",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
71      L20,10
72      M20,10
73      L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),th={extension:W,composition:Y,aggregation:H,dependency:X,lollipop:G,point:Z,circle:V,cross:Q,barb:J,barbNeo:tt,only_one:te,zero_or_one:tr,one_or_more:tn,zero_or_more:ta,only_one_neo:ti,zero_or_one_neo:ts,one_or_more_neo:to,zero_or_more_neo:tl,requirement_arrow:tc,requirement_contains:(0,u.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:tu,requirement_contains_neo:(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:a}=n,i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_c
73ontainsStart").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",`${a}`)},"requirement_contains_neo")},td=U},64129:(t,e,r)=>{"use strict";r.d(e,{H:()=>o,R:()=>s});var n=r(50967),a=r(76552),i={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},s={trace:(0,n.K)((...t)=>{},"trace"),debug:(0,n.K)((...t)=>{},"debug"),info:(0,n.K)((...t)=>{},"info"),warn:(0,n.K)((...t)=>{},"warn"),error:(0,n.K)((...t)=>{},"error"),fatal:(0,n.K)((...t)=>{},"fatal")},o=(0,n.K)(function(t="fatal"){let e=i.fatal;"string"==typeof t?t.toLowerCase()in i&&(e=i[t]):"number"==typeof t&&(e=t),s.trace=()=>{},s.debug=()=>{},s.info=()=>{},s.warn=()=>{},s.error=()=>{},s.fatal=()=>{},e<=i.fatal&&(s.fatal=console.error?console.error.bind(console,l("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",l("FATAL"))),e<=i.error&&(s.error=console.error?console.error.bind(console,l("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",l("ERROR"))),e<=i.warn&&(s.warn=console.warn?console.warn.bind(console,l("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,l("WARN"))),e<=i.info&&(s.info=console.info?console.info.bind(console,l("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",l("INFO"))),e<=i.debug&&(s.debug=console.debug?console.debug.bind(console,l("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",l("DEBUG"))),e<=i.trace&&(s.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${e} : ${t} : `},"format")},64249:(t,e,r)=>{"use strict";r.d(e,{pe:()=>M,PX:()=>J,ru:()=>V,Un:()=>Q,$t:()=>ti,Sm:()=>tl,C4:()=>to,$C:()=>U,rY:()=>tc,sM:()=>z,KL:()=>tu,Ib:()=>T,dq:()=>tr,I5:()=>ta,yT:()=>Y,vU:()=>O,_K:()=>ts,bH:()=>G});var n,a=r(14331),i=r(64129),s=r(50967),o=r(39078),l=r(66470);function c(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 s=t.apply(this,n);return r.cache=i.set(a,s)||i,s};return r.cache=new(c.Cache||Map),r}function u(){}c.Cache=Map;var h=r(4889),d=r(94059);function f(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}var p=r(60807);function g(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(65846),m=r(61309);function b(t,e,r,n=new Map,a){let i=a?.(t,e,r,n);if(void 0!==i)return i;if((0,h.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]=b(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,s]of(n.set(t,e),t))e.set(i,b(s,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(b(i,void 0,r,n,a));return e}if((0,p.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]=b(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 m.R_:case m.Uw:case m.cT:case m.iq:case m.$V:case m.vC:case m.ri:case m.ML:case m.XZ:case m.i1:case m._u:case m.pj:case m.kj:case m.GX:case m.Av:case m.NA:case m.OG:case m.VP:case m.Qb:case m.q:case m.x6:case m.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 s=0;s<i.length;s++){let o=i[s],l=Object.getOwnPropertyDescriptor(t,o);(null==l||l.writable)&&(t[o]=b(e[o],o,r,n,a))}}function w(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 m.kj:case m.OG:case m.$V:{let e=new t.constructor(t?.valueOf());return k(e,t),e}case m.R_:{let e={};return k(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}},b(t,void 0,t,new Map,e)}var x=r(3419);function _(t){return"object"==typeof t&&null!==t}var v=r(83142),A=r(92412),M="​",S={curveBasis:l.qrM,curveBasisClosed:l.Yu4,curveBasisOpen:l.IA3,curveBumpX:l.Wi0,curveBumpY:l.PGM,curveBundle:l.OEq,curveCardinalClosed:l.olC,curveCardinalOpen:l.IrU,curveCardinal:l.y8u,curveCatmullRomClosed:l.Q7f,curveCatmullRomOpen:l.cVp,curveCatmullRom:l.oDi,
73curveLinear:l.lUB,curveLinearClosed:l.Lx9,curveMonotoneX:l.nVG,curveMonotoneY:l.uxU,curveNatural:l.Xf2,curveStep:l.GZz,curveStepAfter:l.UPb,curveStepBefore:l.dyv},K=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,L=(0,s.K)(function(t,e){let r=$(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,a.$i)(t),n=(0,a.hH)(n,[...t])}else n=r.args;if(!n)return;let i=(0,a.Ch)(t,e),s="config";return void 0!==n[s]&&("flowchart-v2"===i&&(i="flowchart"),n[i]=n[s],delete n[s]),n},"detectInit"),$=(0,s.K)(function(t,e=null){try{let r,n=RegExp(`[%]{2}(?![{]${K.source})(?=[}][%]{2}).*
74`,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),i.R.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let s=[];for(;null!==(r=a.DB.exec(t));)if(r.index===a.DB.lastIndex&&a.DB.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;s.push({type:t,args:e})}if(0===s.length)return{type:t,args:null};return 1===s.length?s[0]:s}catch(r){return i.R.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),O=(0,s.K)(function(t){return t.replace(a.DB,"")},"removeDirectives"),C=(0,s.K)(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return -1},"isSubstringInArray");function T(t,e){return t?S[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function R(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,o.J)(r):r}(0,s.K)(T,"interpolateToCurve"),(0,s.K)(R,"formatUrl");var j=(0,s.K)((t,...e)=>{let r=t.split("."),n=r.length-1,a=r[n],s=window;for(let e=0;e<n;e++)if(!(s=s[r[e]]))return void i.R.error(`Function name: ${t} not found in window`);s[a](...e)},"runFunc");function E(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function P(t){let e,r=0;return t.forEach(t=>{r+=E(t,e),e=t}),N(t,r/2)}function D(t){return 1===t.length?t[0]:P(t)}(0,s.K)(E,"distance"),(0,s.K)(P,"traverseEdge"),(0,s.K)(D,"calcLabelPosition");var I=(0,s.K)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),N=(0,s.K)((t,e)=>{let r,n=e;for(let e of t){if(r){let t=E(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:I((1-a)*r.x+a*e.x,5),y:I((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),F=(0,s.K)((t,e,r)=>{i.R.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let n=N(e,25),a=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),o={x:0,y:0};return o.x=Math.sin(s)*a+(e[0].x+n.x)/2,o.y=-Math.cos(s)*a+(e[0].y+n.y)/2,o},"calcCardinalityPosition");function B(t,e,r){let n=structuredClone(r);i.R.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();let a=N(n,25+t),s=10+.5*t,o=Math.atan2(n[0].y-a.y,n[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(o+Math.PI)*s+(n[0].x+a.x)/2,l.y=-Math.cos(o+Math.PI)*s+(n[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(o-Math.PI)*s+(n[0].x+a.x)/2-5,l.y=-Math.cos(o-Math.PI)*s+(n[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(o)*s+(n[0].x+a.x)/2-5,l.y=-Math.cos(o)*s+(n[0].y+a.y)/2-5):(l.x=Math.sin(o)*s+(n[0].x+a.x)/2,l.y=-Math.cos(o)*s+(n[0].y+a.y)/2),l}function z(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)(B,"calcTerminalLabelPosition"),(0,s.K)(z,"getStylesFromArray");var q=0,U=(0,s.K)(()=>(q++,"id-"+Math.random().toString(36).substr(2,12)+"-"+q),"generateId");function W(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)(W,"makeRandomHex");var Y=(0,s.K)(t=>W(t.length),"random"),H=(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"),X=(0,s.K)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,n]=ta(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);let s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.attr("fill",e.fill),s.text(r),i},"drawSimpleText"),G=c((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.lineBreakRegex.test(t)))return t;
74let n=t.split(" ").filter(Boolean),i=[],s="";return n.forEach((t,a)=>{let o=Q(`${t} `,r),l=Q(s,r);if(o>e){let{hyphenatedStrings:n,remainingWord:a}=Z(t,e,"-",r);i.push(s,...n),s=a}else l+o>=e?(i.push(s),s=t):s=[s,t].filter(Boolean).join(" ");a+1===n.length&&i.push(s)}),i.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),Z=c((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let a=[...t],i=[],s="";return a.forEach((t,o)=>{let l=`${s}${t}`;if(Q(l,n)>=e){let t=a.length===o+1,e=`${l}${r}`;i.push(t?l:e),s=""}else s=l}),{hyphenatedStrings:i,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function V(t,e){return J(t,e).height}function Q(t,e){return J(t,e).width}(0,s.K)(V,"calculateTextHeight"),(0,s.K)(Q,"calculateTextWidth");var J=c((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};let[,s]=ta(r),o=t.split(a.Y2.lineBreakRegex),c=[],u=(0,l.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 o){let a=H();a.text=n||M;let o=X(h,a).style("font-size",s).style("font-weight",i).style("font-family",t),l=(o._groups||o)[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))}c.push(r)}h.remove();let d=isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1;return c[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),tt=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,s.K)(this,"InitIDGenerator")}},te=(0,s.K)(function(t){return n=n||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),n.innerHTML=t,unescape(n.textContent)},"entityDecode");function tr(t){return"str"in t}(0,s.K)(tr,"isDetailedError");var tn=(0,s.K)((t,e,r,n)=>{if(!n)return;let a=t.node()?.getBBox();a&&t.append("text").text(n).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",e)},"insertTitle"),ta=(0,s.K)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function ti(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,h.s)(e)&&(e=Object(e)),null==r||"object"!=typeof r)return e;if(a.has(r))return function(t){if((0,h.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++)r[t]=r[t]??void 0}let i=[...Object.keys(r),...f(r)];for(let o=0;o<i.length;o++){let l=i[o];if("__proto__"===l)continue;let c=r[l],u=e[l];if((0,x.N)(c)&&(c={...c}),(0,x.N)(u)&&(u={...u}),(0,p.P)(c)&&(c=w(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 s;if(_(s=u)&&(0,v.X)(s)){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)||_(u)&&_(c)&&(g(u)||g(c)||(0,A.i)(u)||(0,A.i)(c))?e[l]=t(u,c,n,a):null==u&&g(c)?e[l]=t({}
74,c,n,a):null==u&&(0,A.i)(c)?e[l]=w(c):(void 0===u||void 0!==c)&&(e[l]=c)}return e}(a,r[t],n,new Map);return a}(t,...e,u)}({},t,e)}(0,s.K)(ti,"cleanAndMerge");var ts={assignWithDepth:a.hH,wrapLabel:G,calculateTextHeight:V,calculateTextWidth:Q,calculateTextDimensions:J,cleanAndMerge:ti,detectInit:L,detectDirective:$,isSubstringInArray:C,interpolateToCurve:T,calcLabelPosition:D,calcCardinalityPosition:F,calcTerminalLabelPosition:B,formatUrl:R,getStylesFromArray:z,generateId:U,random:Y,runFunc:j,entityDecode:te,insertTitle:tn,isLabelCoordinateInPath:th,parseFontSize:ta,InitIDGenerator:tt},to=(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"),tl=(0,s.K)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),tc=(0,s.K)((t,e,{counter:r=0,prefix:n,suffix:a},i)=>i||`${n?`${n}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function tu(t){return t??null}function th(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)(tu,"handleUndefinedAttr"),(0,s.K)(th,"isLabelCoordinateInPath")},65376:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e,r,n){for(var a=t.length,i=r+(n?1:-1);n?i--:++i<a;)if(e(t[i],i,t))return i;return -1}},65846:(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})},66419:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return t}},66470:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>eO,l78:()=>d,tlR:()=>h,qrM:()=>eI.Ay,Yu4:()=>eP.A,IA3:()=>eD.A,Wi0:()=>eN.dJ,PGM:()=>eN.kl,OEq:()=>eB,y8u:()=>eW,olC:()=>eH,IrU:()=>eG,oDi:()=>eQ,Q7f:()=>e0,cVp:()=>e2,lUB:()=>e5.A,Lx9:()=>e3.A,nVG:()=>e6.G,uxU:()=>e6.N,Xf2:()=>e9.A,GZz:()=>e4.Ay,UPb:()=>e4.Ps,dyv:()=>e4.Ko,GPZ:()=>tZ.GP,Sk5:()=>tQ,bEH:()=>em,n8j:()=>eC.A,T9B:()=>a.A,jkA:()=>i.A,rLf:()=>eE,WH:()=>eb.WH,m4Y:()=>eb.m4,UMr:()=>eb.UM,w7C:()=>eb.w7,zt:()=>ek,Ltv:()=>ew,UAC:()=>rr.UA,DCK:()=>ri.DC,TUC:()=>rn.TU,Agd:()=>re.Ag,t6C:()=>e8.y,wXd:()=>rt.wX,ABi:()=>rn.AB,Ui6:()=>ra.Ui,rGn:()=>rn.rG,ucG:()=>e7.R,YPH:()=>rn.YP,Mol:()=>rn.Mo,PGu:()=>rn.PG,GuW:()=>rn.Gu,hkb:()=>t8});var n,a=r(94661),i=r(7651);function s(t){return t}function o(t){return"translate("+t+",0)"}function l(t){return"translate(0,"+t+")"}function c(){return!this.__axis}function u(t,e){var r=[],n=null,a=null,i=6,u=6,h=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?o:l;function y(o){var l=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,y=null==a?e.tickFormat?e.tickFormat.apply(e,r):s:a,m=Math.max(i,0)+h,b=e.range(),k=+b[0]+d,w=+b[b.length-1]+d,x=(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(),d),_=o.selection?o.selection():o,v=_.selectAll(".domain").data([null]),A=_.selectAll(".tick").data(l,e).order(),M=A.exit(),S=A.enter().append("g").attr("class","tick"),K=A.select("line"),L=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(S),K=K.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*i)),L=L.merge(S.append("text").attr("fill","currentColor").attr(p,f*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==_&&(v=v.transition(o),A=A.transition(o),K=K.transition(o),L=L.transition(o),M=M.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=x(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:x(t))+d)})),M.remove(),v.attr("d",4===t||2===t?u?"M"+f*u+","+k+"H"+d+"V"+w+"H"+f*u:"M"+d+","+k+"V"+w:u?"M"+k+","+f*u+"V"+d+"H"+w+"V"+f*u:"M"+k+","+d+"H"+w),A.attr("opacity",1).attr("transform",function(t){return g(x(t)+d)}),K.attr(p+"2",f*i),L.attr(p,f*m).text(y),_.filter(c).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),_.each(function(){this.__axis=x})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),y):n&&n.slice()},y.tickFormat=function(t){return arguments.length?(a=t,y):a},y.tickSize=function(t){return arguments.length?(i=u=+t,y):i},y.tickSizeInner=function(t){return arguments.length?(i=+t,y):i},y.tickSizeOuter=function(t){return arguments.length?(u=+t,y):u},y.tickPadding=function(t){return arguments.length?(h=+t,y):h}
74,y.offset=function(t){return arguments.length?(d=+t,y):d},y}function h(t){return u(1,t)}function d(t){return u(3,t)}function f(){}function p(t){return null==t?f:function(){return this.querySelector(t)}}function g(){return[]}function y(t){return null==t?g:function(){return this.querySelectorAll(t)}}function m(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}var k=Array.prototype.find;function w(){return this.firstElementChild}var x=Array.prototype.filter;function _(){return Array.from(this.children)}function v(t){return Array(t.length)}function A(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function M(t,e,r,n,a,i){for(var s,o=0,l=e.length,c=i.length;o<c;++o)(s=e[o])?(s.__data__=i[o],n[o]=s):r[o]=new A(t,i[o]);for(;o<l;++o)(s=e[o])&&(a[o]=s)}function S(t,e,r,n,a,i,s){var o,l,c,u=new Map,h=e.length,d=i.length,f=Array(h);for(o=0;o<h;++o)(l=e[o])&&(f[o]=c=s.call(l,l.__data__,o,e)+"",u.has(c)?a[o]=l:u.set(c,l));for(o=0;o<d;++o)c=s.call(t,i[o],o,i)+"",(l=u.get(c))?(n[o]=l,l.__data__=i[o],u.delete(c)):r[o]=new A(t,i[o]);for(o=0;o<h;++o)(l=e[o])&&u.get(f[o])===l&&(a[o]=l)}function K(t){return t.__data__}function L(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}A.prototype={constructor:A,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var $="http://www.w3.org/1999/xhtml";let O={svg:"http://www.w3.org/2000/svg",xhtml:$,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function C(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),O.hasOwnProperty(e)?{space:O[e],local:t}:t}function T(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function R(t,e){return t.style.getPropertyValue(e)||T(t).getComputedStyle(t,null).getPropertyValue(e)}function j(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new P(t)}function P(t){this._node=t,this._names=j(t.getAttribute("class")||"")}function D(t,e){for(var r=E(t),n=-1,a=e.length;++n<a;)r.add(e[n])}function I(t,e){for(var r=E(t),n=-1,a=e.length;++n<a;)r.remove(e[n])}function N(){this.textContent=""}function F(){this.innerHTML=""}function B(){this.nextSibling&&this.parentNode.appendChild(this)}function z(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function q(t){var e=C(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===$&&e.documentElement.namespaceURI===$?e.createElement(t):e.createElementNS(r,t)}})(e)}function U(){return null}function W(){var t=this.parentNode;t&&t.removeChild(this)}function Y(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function H(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function X(t){return function(){var e=this.__on;if(e){for(var r,n=0,a=-1,i=e.length;n<i;++n)(r=e[n],t.type&&r.type!==t.type||r.name!==t.name)?e[++a]=r:this.removeEventListener(r.type,r.listener,r.options);++a?e.length=a:delete this.__on}}}function G(t,e,r){return function(){var n,a=this.__on,i=function(t){e.call(this,t,this.__data__)};if(a){for(var s=0,o=a.length;s<o;++s)if((n=a[s]).type===t.type&&n.name===t.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=i,n.options=r),n.value=e;return}}this.addEventListener(t.type,i,r),n={type:t.type,name:t.name,value:e,listener:i,options:r},a?a.push(n):this.__on=[n]}}function Z(t,e,r){var n=T(t),a=n.CustomEvent;"function"==typeof a?a=new a(e,r):(a=n.document.createEvent("Event"),r?(a.initEvent(e,r.bubbles,r.cancelable),a.detail=r.detail):a.initEvent(e,!1,!1)),t.dis
74patchEvent(a)}P.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var V=[null];function Q(t,e){this._groups=t,this._parents=e}function J(){return new Q([[document.documentElement]],V)}Q.prototype=J.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=p(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,s,o=e[a],l=o.length,c=n[a]=Array(l),u=0;u<l;++u)(i=o[u])&&(s=t.call(i,i.__data__,u,o))&&("__data__"in i&&(s.__data__=i.__data__),c[u]=s);return new Q(n,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=y(t);for(var r=this._groups,n=r.length,a=[],i=[],s=0;s<n;++s)for(var o,l=r[s],c=l.length,u=0;u<c;++u)(o=l[u])&&(a.push(t.call(o,o.__data__,u,l)),i.push(o));return new Q(a,i)},selectChild:function(t){var e;return this.select(null==t?w:(e="function"==typeof t?t:b(t),function(){return k.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?_:(e="function"==typeof t?t:b(t),function(){return x.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=m(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,s=e[a],o=s.length,l=n[a]=[],c=0;c<o;++c)(i=s[c])&&t.call(i,i.__data__,c,s)&&l.push(i);return new Q(n,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,K);var r=e?S:M,n=this._parents,a=this._groups;"function"!=typeof t&&(b=t,t=function(){return b});for(var i=a.length,s=Array(i),o=Array(i),l=Array(i),c=0;c<i;++c){var u=n[c],h=a[c],d=h.length,f="object"==typeof(m=t.call(u,u&&u.__data__,c,n))&&"length"in m?m:Array.from(m),p=f.length,g=o[c]=Array(p),y=s[c]=Array(p);r(u,h,g,y,l[c]=Array(d),f,e);for(var m,b,k,w,x=0,_=0;x<p;++x)if(k=g[x]){for(x>=_&&(_=x+1);!(w=y[_])&&++_<p;);k._next=w||null}}return(s=new Q(s,n))._enter=o,s._exit=l,s},enter:function(){return new Q(this._enter||this._groups.map(v),this._parents)},exit:function(){return new Q(this._exit||this._groups.map(v),this._parents)},join:function(t,e,r){var n=this.enter(),a=this,i=this.exit();return"function"==typeof t?(n=t(n))&&(n=n.selection()):n=n.append(t+""),null!=e&&(a=e(a))&&(a=a.selection()),null==r?i.remove():r(i),n&&a?n.merge(a).order():a},merge:function(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,a=r.length,i=n.length,s=Math.min(a,i),o=Array(a),l=0;l<s;++l)for(var c,u=r[l],h=n[l],d=u.length,f=o[l]=Array(d),p=0;p<d;++p)(c=u[p]||h[p])&&(f[p]=c);for(;l<a;++l)o[l]=r[l];return new Q(o,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n,a=t[e],i=a.length-1,s=a[i];--i>=0;)(n=a[i])&&(s&&4^n.compareDocumentPosition(s)&&s.parentNode.insertBefore(n,s),s=n);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=L);for(var r=this._groups,n=r.length,a=Array(n),i=0;i<n;++i){for(var s,o=r[i],l=o.length,c=a[i]=Array(l),u=0;u<l;++u)(s=o[u])&&(c[u]=s);c.sort(e)}return new Q(a,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],a=0,i=n.length;a<i;++a){var s=n[a];if(s)return s}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var a,i=e[r],s=0,o=i.length;s<o;++s)(a=i[s])&&t.call(a,a.__data__,s,i);return this},attr:function(t,e){var r=C(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==e?r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?r.local?function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}:function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}:r.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):R(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=j(t+"");
74if(arguments.length<2){for(var n=E(this.node()),a=-1,i=r.length;++a<i;)if(!n.contains(r[a]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?D:I)(this,t)}}:e?function(t){return function(){D(this,t)}}:function(t){return function(){I(this,t)}})(r,e))},text:function(t){return arguments.length?this.each(null==t?N:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?F:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(B)},lower:function(){return this.each(z)},append:function(t){var e="function"==typeof t?t:q(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var r="function"==typeof t?t:q(t),n=null==e?U:"function"==typeof e?e:p(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(W)},clone:function(t){return this.select(t?H:Y)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var n,a,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),s=i.length;if(arguments.length<2){var o=this.node().__on;if(o){for(var l,c=0,u=o.length;c<u;++c)for(n=0,l=o[c];n<s;++n)if((a=i[n]).type===l.type&&a.name===l.name)return l.value}return}for(n=0,o=e?G:X;n<s;++n)this.each(o(i[n],e,r));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return Z(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return Z(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n,a=t[e],i=0,s=a.length;i<s;++i)(n=a[i])&&(yield n)}};var tt={value:()=>{}};function te(){for(var t,e=0,r=arguments.length,n={};e<r;++e){if(!(t=arguments[e]+"")||t in n||/[\s.]/.test(t))throw Error("illegal type: "+t);n[t]=[]}return new tr(n)}function tr(t){this._=t}function tn(t,e,r){for(var n=0,a=t.length;n<a;++n)if(t[n].name===e){t[n]=tt,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=r&&t.push({name:e,value:r}),t}tr.prototype=te.prototype={constructor:tr,on:function(t,e){var r,n=this._,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),i=-1,s=a.length;if(arguments.length<2){for(;++i<s;)if((r=(t=a[i]).type)&&(r=function(t,e){for(var r,n=0,a=t.length;n<a;++n)if((r=t[n]).name===e)return r.value}(n[r],t.name)))return r;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++i<s;)if(r=(t=a[i]).type)n[r]=tn(n[r],t.name,e);else if(null==e)for(r in n)n[r]=tn(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new tr(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,a=Array(r),i=0;i<r;++i)a[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(n=this._[t],i=0,r=n.length;i<r;++i)n[i].value.apply(e,a)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var n=this._[t],a=0,i=n.length;a<i;++a)n[a].value.apply(e,r)}};var ta,ti,ts=0,to=0,tl=0,tc=0,tu=0,th=0,td="object"==typeof performance&&performance.now?performance:Date,tf="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tp(){return tu||(tf(tg),tu=td.now()+th)}function tg(){tu=0}function ty(){this._call=this._time=this._next=null}function tm(t,e,r){var n=new ty;return n.restart(t,e,r),n}function tb(){tu=(tc=td.now())+th,ts=to=0;try{tp(),++ts;for(var t,e=ta;e;)(t=tu-e._time)>=0&&e._call.call(void 0,t),e=e._next;--ts}finally{ts=0,function(){for(var t,e,r=ta,n=1/0;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:ta=e);ti=t,tw(n)}(),tu=0}}function tk(){var t=td.now(),e=t-tc;e>1e3&&(th-=e,tc=t)}function tw(t){!ts&&(to&&(to=clearTimeout(to)),t-tu>24?(t<1/0&&(to=setTimeout(tb,t-td.now()-th)),tl&&(tl=clearInterval(tl))):(tl||(tc=td.now(),tl=setInterval(tk,1e3)),ts=1,tf(tb)))}function tx(t,e,r){var n=new ty;return e=null==e?0:+e,n.restart(r=>{n.stop(),t(r+e)},e,r),n}ty.prototype=tm.prototype={constructor:ty,restart:function(t,e,r){if("function"!=typeof t)throw TypeError("callback is not a function");r=(null==r?tp():+r)+(null==e?0:+e),this._next||ti===this||(ti?ti._next=this:ta=this,ti=this),this._call=t,this._time=r,tw()},stop:function(){this._call&&(this._call=null,this._time=1/0,tw())}};var t_=te("start","end","cancel","interrupt"),tv=[];function tA(t,e,r,n,a,i){var s=t.__transition;if(s){if(r in s)return}else t.__transition={};!function(t,e,r){var n,a=t.__transition;function i(l){var c,u,h,d;if(1!==r.state)return o();for(c in a)if((d=a[c]).name===r.name){if(3===d.state)return tx(i);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete a[c]):+c<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete a[c])}if(tx(function(){3===r.state&&(r.state=4,r.timer.restart(s,r.delay,r.time),s(l))}),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(c=0,r.state=3,n=Array(h=r.tween.length),u=-1;c<h;++c)(d=r.tween[c].value.call(t,t.__data__,r.index,r.group))&&(n[++u]=d);n.length=u+1}}function s(e){for(var a=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(o),r.state=5,1
74),i=-1,s=n.length;++i<s;)n[i].call(t,a);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),o())}function o(){for(var n in r.state=6,r.timer.stop(),delete a[e],a)return;delete t.__transition}a[e]=r,r.timer=tm(function(t){r.state=1,r.timer.restart(i,r.delay,r.time),r.delay<=t&&i(t-r.delay)},0,r.time)}(t,r,{name:e,index:n,group:a,on:t_,tween:tv,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function tM(t,e){var r=tK(t,e);if(r.state>0)throw Error("too late; already scheduled");return r}function tS(t,e){var r=tK(t,e);if(r.state>3)throw Error("too late; already running");return r}function tK(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}var tL=r(7819),t$=180/Math.PI,tO={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tC(t,e,r,n,a,i){var s,o,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(o=Math.sqrt(r*r+n*n))&&(r/=o,n/=o,l/=o),t*n<e*r&&(t=-t,e=-e,l=-l,s=-s),{translateX:a,translateY:i,rotate:Math.atan2(e,t)*t$,skewX:Math.atan(l)*t$,scaleX:s,scaleY:o}}function tT(t,e,r,n){function a(t){return t.length?t.pop()+" ":""}return function(i,s){var o,l,c,u,h=[],d=[];return i=t(i),s=t(s),!function(t,n,a,i,s,o){if(t!==a||n!==i){var l=s.push("translate(",null,e,null,r);o.push({i:l-4,x:(0,tL.A)(t,a)},{i:l-2,x:(0,tL.A)(n,i)})}else(a||i)&&s.push("translate("+a+e+i+r)}(i.translateX,i.translateY,s.translateX,s.translateY,h,d),o=i.rotate,l=s.rotate,o!==l?(o-l>180?l+=360:l-o>180&&(o+=360),d.push({i:h.push(a(h)+"rotate(",null,n)-2,x:(0,tL.A)(o,l)})):l&&h.push(a(h)+"rotate("+l+n),c=i.skewX,u=s.skewX,c!==u?d.push({i:h.push(a(h)+"skewX(",null,n)-2,x:(0,tL.A)(c,u)}):u&&h.push(a(h)+"skewX("+u+n),!function(t,e,r,n,i,s){if(t!==r||e!==n){var o=i.push(a(i)+"scale(",null,",",null,")");s.push({i:o-4,x:(0,tL.A)(t,r)},{i:o-2,x:(0,tL.A)(e,n)})}else(1!==r||1!==n)&&i.push(a(i)+"scale("+r+","+n+")")}(i.scaleX,i.scaleY,s.scaleX,s.scaleY,h,d),i=s=null,function(t){for(var e,r=-1,n=d.length;++r<n;)h[(e=d[r]).i]=e.x(t);return h.join("")}}}var tR=tT(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tO:tC(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tj=tT(function(t){return null==t?tO:(n||(n=document.createElementNS("http://www.w3.org/2000/svg","g")),n.setAttribute("transform",t),t=n.transform.baseVal.consolidate())?tC((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tO},", ",")",")");function tE(t,e,r){var n=t._id;return t.each(function(){var t=tS(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)}),function(t){return tK(t,n).value[e]}}var tP=r(56157),tD=r(25034),tI=r(29027);function tN(t,e){var r;return("number"==typeof e?tL.A:e instanceof tP.Ay?tD.Ay:(r=(0,tP.Ay)(e))?(e=r,tD.Ay):tI.A)(t,e)}var tF=J.prototype.constructor;function tB(t){return function(){this.style.removeProperty(t)}}var tz=0;function tq(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}var tU=J.prototype;tq.prototype=(function(t){return J().transition(t)}).prototype={constructor:tq,select:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=p(t));for(var n=this._groups,a=n.length,i=Array(a),s=0;s<a;++s)for(var o,l,c=n[s],u=c.length,h=i[s]=Array(u),d=0;d<u;++d)(o=c[d])&&(l=t.call(o,o.__data__,d,c))&&("__data__"in o&&(l.__data__=o.__data__),h[d]=l,tA(h[d],e,r,d,h,tK(o,r)));return new tq(i,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=y(t));for(var n=this._groups,a=n.length,i=[],s=[],o=0;o<a;++o)for(var l,c=n[o],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,f=t.call(l,l.__data__,h,c),p=tK(l,r),g=0,m=f.length;g<m;++g)(d=f[g])&&tA(d,e,r,g,f,p);i.push(f),s.push(l)}return new tq(i,s,e,r)},selectChild:tU.selectChild,selectChildren:tU.selectChildren,filter:function(t){"function"!=typeof t&&(t=m(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,s=e[a],o=s.length,l=n[a]=[],c=0;c<o;++c)(i=s[c])&&t.call(i,i.__data__,c,s)&&l.push(i);return new tq(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,r=t._groups,n=e.length,a=r.length,i=Math.min(n,a),s=Array(n),o=0;o<i;++o)for(var l,c=e[o],u=r[o],h=c.length,d=s[o]=Array(h),f=0;f<h;++f)(l=c[f]||u[f])&&(d[f]=l);for(;o<n;++o)s[o]=e[o];return new tq(s,this._parents,this._name,this._id)},selection:function(){return new tF(this._groups,this._parents)}
74,transition:function(){for(var t=this._name,e=this._id,r=++tz,n=this._groups,a=n.length,i=0;i<a;++i)for(var s,o=n[i],l=o.length,c=0;c<l;++c)if(s=o[c]){var u=tK(s,e);tA(s,t,r,c,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new tq(n,this._parents,t,r)},call:tU.call,nodes:tU.nodes,node:tU.node,size:tU.size,empty:tU.empty,each:tU.each,on:function(t,e){var r,n,a,i,s,o,l=this._id;return arguments.length<2?tK(this.node(),l).on.on(t):this.each((r=l,n=t,a=e,o=(n+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tM:tS,function(){var t=o(this,r),e=t.on;e!==i&&(s=(i=e).copy()).on(n,a),t.on=s}))},attr:function(t,e){var r=C(t),n="transform"===r?tj:tN;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var n,a,i;return function(){var s,o,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local))===(o=l+"")?null:s===n&&o===a?i:(a=o,i=e(n=s,l))}}:function(t,e,r){var n,a,i;return function(){var s,o,l=r(this);return null==l?void this.removeAttribute(t):(s=this.getAttribute(t))===(o=l+"")?null:s===n&&o===a?i:(a=o,i=e(n=s,l))}})(r,n,tE(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var n,a,i=r+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===i?null:s===n?a:a=e(n=s,r)}}:function(t,e,r){var n,a,i=r+"";return function(){var s=this.getAttribute(t);return s===i?null:s===n?a:a=e(n=s,r)}})(r,n,e))},attrTween:function(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();var n=C(t);return this.tween(r,(n.local?function(t,e){var r,n;function a(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&function(e){this.setAttributeNS(t.space,t.local,a.call(this,e))}),r}return a._value=e,a}:function(t,e){var r,n;function a(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&function(e){this.setAttribute(t,a.call(this,e))}),r}return a._value=e,a})(n,e))},style:function(t,e,r){var n,a,i,s,o,l,c,u,h,d,f,p,g,y,m,b,k,w,x,_,v,A="transform"==(t+="")?tR:tN;return null==e?this.styleTween(t,(n=t,function(){var t=R(this,n),e=(this.style.removeProperty(n),R(this,n));return t===e?null:t===a&&e===i?s:s=A(a=t,i=e)})).on("end.style."+t,tB(t)):"function"==typeof e?this.styleTween(t,(o=t,l=tE(this,"style."+t,e),function(){var t=R(this,o),e=l(this),r=e+"";return null==e&&(this.style.removeProperty(o),r=e=R(this,o)),t===r?null:t===c&&r===u?h:(u=r,h=A(c=t,e))})).each((d=this._id,k="end."+(b="style."+(f=t)),function(){var t=tS(this,d),e=t.on,r=null==t.value[b]?m||(m=tB(f)):void 0;(e!==p||y!==r)&&(g=(p=e).copy()).on(k,y=r),t.on=g})):this.styleTween(t,(w=t,v=e+"",function(){var t=R(this,w);return t===v?null:t===x?_:_=A(x=t,e)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();return this.tween(n,function(t,e,r){var n,a;function i(){var i=e.apply(this,arguments);return i!==a&&(n=(a=i)&&function(e){this.style.setProperty(t,i.call(this,e),r)}),n}return i._value=e,i}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tE(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,r;function n(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&function(t){this.textContent=n.call(this,t)}),e}return n._value=t,n}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,a=tK(this.node(),r).tween,i=0,s=a.length;i<s;++i)if((n=a[i]).name===t)return n.value;return null}return this.each((null==e?function(t,e){var r,n;return function(){var a=tS(this,t),i=a.tween;if(i!==r){n=r=i;for(var s=0,o=n.length;s<o;++s)if(n[s].name===e){(n=n.slice()).splice(s,1);break}}a.tween=n}}:function(t,e,r){var n,a;if("function"!=typeof r)throw Error();return function(){var i=tS(this,t),s=i.tween;if(s!==n){a=(n=s).slice();for(var o={name:e,value:r},l=0,c=a.length;l<c;++l)if(a[l].name===e){a[l]=o;break}l===c&&a.push(o)}i.tween=a}})(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tM(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tM(this,t).delay=e}})(e,t)):tK(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tS(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tS(this,t).duration=e}})(e,t)):tK(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tS(this,t).ease=e}}(e,t)):tK(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var r=t.apply(this,arguments);if("function"!=typeof r)throw Error();tS(this,e).ease=r}))},end:function(){var t,e,r=this,n=r._id,a=r.size();return new Promise(function(i,s){var o={value:s},l={value:function(){0==--a&&i()}};r.each(function(){var r=tS(this,n),a=r.on;a!==t&&((e=(t=a).copy())._.cancel.push(o),e._.interrupt.push(o),e._.end.push(l)),r.on=e}),0===a&&i()})},[Symbol.iterator]:tU[Symbol.iterator]};var tW={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};J.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var r,n,a,i=t.__transition,s=!0;if(i){for(a in e=null==e?null:e+"",i){if((r=i[a]).name!==e){s=!1;continue}
74n=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete i[a]}s&&delete t.__transition}}(this,t)})},J.prototype.transition=function(t){var e,r;t instanceof tq?(e=t._id,t=t._name):(e=++tz,(r=tW).time=tp(),t=null==t?null:t+"");for(var n=this._groups,a=n.length,i=0;i<a;++i)for(var s,o=n[i],l=o.length,c=0;c<l;++c)(s=o[c])&&tA(s,t,e,c,o,r||function(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return r}(s,e));return new tq(n,this._parents,t,e)};let{abs:tY,max:tH,min:tX}=Math;function tG(t){return{type:t}}["w","e"].map(tG),["n","s"].map(tG),["n","w","e","s","nw","ne","sw","se"].map(tG);var tZ=r(50560);function tV(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 tQ(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=t0)):void 0===e&&(e=tJ);for(var r,n,a,i,s,o=new t3(t),l=[o];r=l.pop();)if((a=e(r.data))&&(s=(a=Array.from(a)).length))for(r.children=a,i=s-1;i>=0;--i)l.push(n=a[i]=new t3(a[i])),n.parent=r,n.depth=r.depth+1;return o.eachBefore(t2)}function tJ(t){return t.children}function t0(t){return Array.isArray(t)?t[1]:null}function t1(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function t2(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function t3(t){this.data=t,this.depth=this.height=0,this.parent=null}function t5(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)}t3.prototype=tQ.prototype={constructor:t3,count:function(){return this.eachAfter(tV)},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,s=[i],o=[],l=-1;i=s.pop();)if(o.push(i),r=i.children)for(n=0,a=r.length;n<a;++n)s.push(r[n]);for(;i=o.pop();)t.call(e,i,++l,this);return this},eachBefore:function(t,e){for(var r,n,a=this,i=[a],s=-1;a=i.pop();)if(t.call(e,a,++s,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 tQ(this).eachBefore(t1)},[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 t6=function t(e){function r(t,r,n,a,i){!function(t,e,r,n,a,i){for(var s,o,l,c,u,h,d,f,p,g,y,m=[],b=e.children,k=0,w=0,x=b.length,_=e.value;k<x;){l=a-r,c=i-n;do u=b[w++].value;while(!u&&w<x);for(h=d=u,p=Math.max(d/(y=u*u*(g=Math.max(c/l,l/c)/(_*t))),y/h);w<x;++w){if(u+=o=b[w].value,o<h&&(h=o),o>d&&(d=o),(f=Math.max(d/(y=u*u*g),y/h))>p){u-=o;break}p=f}m.push(s={value:u,dice:l<c,children:b.slice(k,w)}),s.dice?function(t,e,r,n,a){for(var i,s=t.children,o=-1,l=s.length,c=t.value&&(n-e)/t.value;++o<l;)(i=s[o]).y0=r,i.y1=a,i.x0=e,i.x1=e+=i.value*c}(s,r,n,a,_?n+=c*u/_:i):function(t,e,r,n,a){for(var i,s=t.children,o=-1,l=s.length,c=t.value&&(a-r)/t.value;++o<l;)(i=s[o]).x0=e,i.x1=n,i.y0=r,i.y1=r+=i.value*c}(s,r,n,_?r+=l*u/_:a,i),_-=u,k=w}}(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 t9(){return 0}function t4(t){return function(){return t}}function t8(){var t=t6,e=!1,r=1,n=1,a=[0],i=t9,s=t9,o=t9,l=t9,c=t9;function u(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(h),a=[0],e&&t.eachBefore(t5),t}function h(e){var r=a[e.depth],n=e.x0+r,u=e.y0+r,h=e.x1-r,d=e.y1-r;
74h<n&&(n=h=(n+h)/2),d<u&&(u=d=(u+d)/2),e.x0=n,e.y0=u,e.x1=h,e.y1=d,e.children&&(r=a[e.depth+1]=i(e)/2,n+=c(e)-r,u+=s(e)-r,h-=o(e)-r,d-=l(e)-r,h<n&&(n=h=(n+h)/2),d<u&&(u=d=(u+d)/2),t(e,n,u,h,d))}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:t4(+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?(s="function"==typeof t?t:t4(+t),u):s},u.paddingRight=function(t){return arguments.length?(o="function"==typeof t?t:t4(+t),u):o},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:t4(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:t4(+t),u):c},u}var t7=r(90521);let et=Math.PI/180,ee=180/Math.PI,er=4/29,en=6/29,ea=6/29*3*(6/29),ei=6/29*(6/29)*(6/29);function es(t){if(t instanceof eo)return new eo(t.l,t.a,t.b,t.opacity);if(t instanceof ef)return ep(t);t instanceof tP.Gw||(t=(0,tP.b)(t));var e,r,n=eh(t.r),a=eh(t.g),i=eh(t.b),s=el((.2225045*n+.7168786*a+.0606169*i)/1);return n===a&&a===i?e=r=s:(e=el((.4360747*n+.3850649*a+.1430804*i)/.96422),r=el((.0139322*n+.0971045*a+.7141733*i)/.82521)),new eo(116*s-16,500*(e-s),200*(s-r),t.opacity)}function eo(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function el(t){return t>ei?Math.pow(t,1/3):t/ea+er}function ec(t){return t>en?t*t*t:ea*(t-er)}
74function eu(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eh(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ed(t,e,r,n){return 1==arguments.length?function(t){if(t instanceof ef)return new ef(t.h,t.c,t.l,t.opacity);if(t instanceof eo||(t=es(t)),0===t.a&&0===t.b)return new ef(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ee;return new ef(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ef(t,e,r,null==n?1:n)}function ef(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function ep(t){if(isNaN(t.h))return new eo(t.l,0,0,t.opacity);var e=t.h*et;return new eo(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,t7.A)(eo,function(t,e,r,n){return 1==arguments.length?es(t):new eo(t,e,r,null==n?1:n)},(0,t7.X)(tP.Q1,{brighter(t){return new eo(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new eo(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;return e=.96422*ec(e),t=+ec(t),r=.82521*ec(r),new tP.Gw(eu(3.1338561*e-1.6168667*t-.4906146*r),eu(-.9787684*e+1.9161415*t+.033454*r),eu(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,t7.A)(ef,ed,(0,t7.X)(tP.Q1,{brighter(t){return new ef(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ef(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return ep(this).rgb()}}));var eg=r(46133);function ey(t){return function(e,r){var n=t((e=ed(e)).h,(r=ed(r)).h),a=(0,eg.Ay)(e.c,r.c),i=(0,eg.Ay)(e.l,r.l),s=(0,eg.Ay)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=a(t),e.l=i(t),e.opacity=s(t),e+""}}}let em=ey(eg.lG);ey(eg.Ay);var eb=r(67005);let ek=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");function ew(t){return"string"==typeof t?new Q([[document.querySelector(t)]],[document.documentElement]):new Q([[t]],V)}var ex=r(94737),e_=r(72555),ev=r(12328);function eA(t){return t.innerRadius}function eM(t){return t.outerRadius}function eS(t){return t.startAngle}function eK(t){return t.endAngle}function eL(t){return t&&t.padAngle}function e$(t,e,r,n,a,i,s){var o=t-r,l=e-n,c=(s?i:-i)/(0,e_.RZ)(o*o+l*l),u=c*l,h=-c*o,d=t+u,f=e+h,p=r+u,g=n+h,y=(d+p)/2,m=(f+g)/2,b=p-d,k=g-f,w=b*b+k*k,x=a-i,_=d*g-p*f,v=(k<0?-1:1)*(0,e_.RZ)((0,e_.T9)(0,x*x*w-_*_)),A=(_*k-b*v)/w,M=(-_*b-k*v)/w,S=(_*k+b*v)/w,K=(-_*b+k*v)/w,L=A-y,$=M-m,O=S-y,C=K-m;return L*L+$*$>O*O+C*C&&(A=S,M=K),{cx:A,cy:M,x01:-u,y01:-h,x11:A*(a/x-1),y11:M*(a/x-1)}}function eO(){var t=eA,e=eM,r=(0,ex.A)(0),n=null,a=eS,i=eK,s=eL,o=null,l=(0,ev.i)(c);function c(){var c,u,h=+t.apply(this,arguments),d=+e.apply(this,arguments),f=a.apply(this,arguments)-e_.TW,p=i.apply(this,arguments)-e_.TW,g=(0,e_.tn)(p-f),y=p>f;if(o||(o=c=l()),d<h&&(u=d,d=h,h=u),d>e_.Ni)if(g>e_.FA-e_.Ni)o.moveTo(d*(0,e_.gn)(f),d*(0,e_.F8)(f)),o.arc(0,0,d,f,p,!y),h>e_.Ni&&(o.moveTo(h*(0,e_.gn)(p),h*(0,e_.F8)(p)),o.arc(0,0,h,p,f,y));else{var m,b,k=f,w=p,x=f,_=p,v=g,A=g,M=s.apply(this,arguments)/2,S=M>e_.Ni&&(n?+n.apply(this,arguments):(0,e_.RZ)(h*h+d*d)),K=(0,e_.jk)((0,e_.tn)(d-h)/2,+r.apply(this,arguments)),L=K,$=K;if(S>e_.Ni){var O=(0,e_.qR)(S/h*(0,e_.F8)(M)),C=(0,e_.qR)(S/d*(0,e_.F8)(M));(v-=2*O)>e_.Ni?(O*=y?1:-1,x+=O,_-=O):(v=0,x=_=(f+p)/2),(A-=2*C)>e_.Ni?(C*=y?1:-1,k+=C,w-=C):(A=0,k=w=(f+p)/2)}var T=d*(0,e_.gn)(k),R=d*(0,e_.F8)(k),j=h*(0,e_.gn)(_),E=h*(0,e_.F8)(_);if(K>e_.Ni){var P,D=d*(0,e_.gn)(w),I=d*(0,e_.F8)(w),N=h*(0,e_.gn)(x),F=h*(0,e_.F8)(x);if(g<e_.pi)if(P=function(t,e,r,n,a,i,s,o){var l=r-t,c=n-e,u=s-a,h=o-i,d=h*l-u*c;if(!(d*d<e_.Ni))return d=(u*(e-i)-h*(t-a))/d,[t+d*l,e+d*c]}(T,R,N,F,D,I,j,E)){var B=T-P[0],z=R-P[1],q=D-P[0],U=I-P[1],W=1/(0,e_.F8)((0,e_.HQ)((B*q+z*U)/((0,e_.RZ)(B*B+z*z)*(0,e_.RZ)(q*q+U*U)))/2),Y=(0,e_.RZ)(P[0]*P[0]+P[1]*P[1]);L=(0,e_.jk)(K,(h-Y)/(W-1)),$=(0,e_.jk)(K,(d-Y)/(W+1))}else L=$=0}A>e_.Ni?$>e_.Ni?(m=e$(N,F,T,R,d,$,y),b=e$(D,I,j,E,d,$,y),o.moveTo(m.cx+m.x01,m.cy+m.y01),$<K?o.arc(m.cx,m.cy,$,(0,e_.FP)(m.y01,m.x01),(0,e_.FP)(b.y01,b.x01),!y):(o.arc(m.cx,m.cy,$,(0,e_.FP)(m.y01,m.x01),(0,e_.FP)(m.y11,m.x11),!y),o.arc(0,0,d,(0,e_.FP)(m.cy+m.y11,m.cx+m.x11),(0,e_.FP)(b.cy+b.y11,b.cx+b.x11),!y),o.arc(b.cx,b.cy,$,(0,e_.FP)(b.y11,b.x11),(0,e_.FP)(b.y01,b.x01),!y))):(o.moveTo(T,R),o.arc(0,0,d,k,w,!y)):o.moveTo(T,R),h>e_.Ni&&v>e_.Ni?L>e_.Ni?(m=e$(j,E,D,I,h,-L,y),b=e$(T,R,N,F,h,-L,y),o.lineTo(m.cx+m.x01,m.cy+m.y01),L<K?o.arc(m.cx,m.cy,L,(0,e_.FP)(m.y01,m.x01),(0,e_.FP)(b.y01,b.x01),!y):(o.arc(m.cx,m.cy,L,(0,e_.FP)(m.y01,m.x01),(0,e_.FP)(m.y11,m.x11),!y),o.arc(0,0,h,(0,e_.FP)(m.cy+m.y11,m.cx+m.x11),(0,e_.FP)(b.cy+b.y11,b.cx+b.x11),y),o.arc(b.cx,b.cy,L,(0,e_.FP)(b.y11,b.x11),(0,e_.FP)(b.y01,b.x01),!y))):o.arc(0,0,h,_,x,y):o.lineTo(j,E)}else o.moveTo(0,0);if(o.closePath(),c)return o=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-e_.pi/2;return[(0,e_.gn)(n)*r,(0,e_.F8)(n)*r]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,ex.A)(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,ex.A)(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,ex.A)(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,ex.A)(+t),c):n},c.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,ex.A)(+t),c):a},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,ex.A)(+t),c):i},c.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:(0,ex.A)(+t),c):s},c.context=function(t){return arguments.length?(o=null==t?null:t,c):o},c}var eC=r(62063),eT=r(7938);function eR(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function ej(t){return t}function eE(){var t=ej,e=eR,r=null,n=(0,ex.A)(0),a=(0,ex.A)(e_.FA),i=(0,ex.A)(0);function s(s){var o,l,c,u,h,d=(s=(0,eT.A)(s)).length,f=0,p=Array(d),g=Array(d),y=+n.apply(this,arguments),m=Math.min(e_.FA,Math.max(-e_.FA,a.apply(this,arguments)-y)),b=Math.min(Math.abs(m)/d,i.apply(this,arguments)),k=b*(m<0?-1:1);for(o=0;o<d;++o)(h=g[p[o]=o]=+t(s[o],o,s))>0&&(f+=h);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(s[t],s[e])}),o=0,c=f?(m-d*k)/f:0;o<d;++o,y=u)u=y+((h=g[l=p[o]])>0?h*c:0)+k,g[l]={data:s[l],index:o,value:h,startAngle:y,endAngle:u,padAngle:b};return g}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,ex.A)(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,ex.A)(+t),s):n},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,ex.A)(+t),s):a},s.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,ex.A)(+t),s):i},s}var eP=r(98213),eD=r(50989),eI=r(94169),eN=r(12357);function eF(t,e){this._basis=new eI.xO(t),this._beta=e}eF.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],s=t[r]-a,o=e[r]-i,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+n*s),this._beta*e[l]+(1-this._beta)*(i+n*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let eB=function t(e){function r(t){return 1===e?new eI.xO(t):new eF(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var ez=r(50054);function eq(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 eU(t,e){this._context=t,this._k=(1-e)/6}eU.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:eq(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:eq(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 eW=function t(e){function r(t){return new eU(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eY(t,e){this._context=t,this._k=(1-e)/6}eY.prototype={areaStart:ez.A,areaEnd:ez.A,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:eq(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 eH=function t(e){function r(t){return new eY(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eX(t,e){this._context=t,this._k=(1-e)/6}eX.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:eq(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 eG=function t(e){function r(t){return new eX(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eZ(t,e,r){var n=t._x1,a=t._y1,i=t._x2,s=t._y2;if(t._l01_a>e_.Ni){var o=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*o-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*o-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>e_.Ni){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,s=(s*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(n,a,i,s,t._x2,t._y2)}function eV(t,e){this._context=t,this._alpha=e}eV.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:eZ(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 eQ=function t(e){function r(t){return e?new eV(t,e):new eU(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function eJ(t,e){this._context=t,this._alpha=e}eJ.prototype={areaStart:ez.A,areaEnd:ez.A,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:eZ(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 e0=function t(e){function r(t){return e?new eJ(t,e):new eY(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function e1(t,e){this._context=t,this._alpha=e}e1.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:eZ(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 e2=function t(e){function r(t){return e?new e1(t,e):new eX(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var e3=r(13004),e5=r(32104),e6=r(2186),e9=r(85870),e4=r(99931),e8=r(8053),e7=r(91584),rt=r(96568),re=r(86022),rr=r(11686),rn=r(30848),ra=r(51586),ri=r(61570);function rs(t,e,r){this.k=t,this.x=e,this.y=r}rs.prototype={constructor:rs,scale:function(t){return 1===t?this:new rs(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new rs(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new rs(1,0,0);rs.prototype},66934:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52577),a=1/0;let i=function(t){if("string"==typeof t||(0,n.A)(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}},67199:(t,e,r)=>{"use strict";r.d(e,{T:()=>P});var n=r(41081),a=r(47697),i=r(13621),s=r(16092),o=r(54470),l=r(19089),c=r(17695),u=r(48030),h=r(30921),d=r(11095),f=r(5792),p=r(87001),g=Object.prototype.hasOwnProperty;let y=function(t){if(null==t)return!0;
74if((0,h.A)(t)&&((0,u.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,d.A)(t)||(0,p.A)(t)||(0,c.A)(t)))return!t.length;var e=(0,l.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.A)(t))return!(0,o.A)(t).length;for(var r in t)if(g.call(t,r))return!1;return!0};var m=r(90621),b=r(77051),k=r(38204),w=r(10269),x=r(29313),_=r(65376);let v=function(t){return t!=t},A=function(t,e,r){for(var n=r-1,a=t.length;++n<a;)if(t[n]===e)return n;return -1},M=function(t,e){return!!(null==t?0:t.length)&&(e==e?A(t,e,0):(0,_.A)(t,v,0))>-1},S=function(t,e,r){for(var n=-1,a=null==t?0:t.length;++n<a;)if(r(e,t[n]))return!0;return!1};var K=r(92476),L=r(43222),$=r(24652),O=L.A&&1/(0,$.A)(new L.A([,-0]))[1]==1/0?function(t){return new L.A(t)}:function(){};let C=function(t,e,r){var n=-1,a=M,i=t.length,s=!0,o=[],l=o;if(r)s=!1,a=S;else if(i>=200){var c=e?null:O(t);if(c)return(0,$.A)(c);s=!1,a=K.A,l=new x.A}else l=e?[]:o;t:for(;++n<i;){var u=t[n],h=e?e(u):u;if(u=r||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),o.push(u)}else a(l,h,r)||(l!==o&&l.push(h),o.push(u))}return o};var T=r(70902),R=(0,w.A)(function(t){return C((0,k.A)(t,1,T.A,!0))}),j=r(98819),E=r(91429);class P{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=n.A(void 0),this._defaultEdgeLabelFn=n.A(void 0),this._nodes={}
74,this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return a.A(t)||(t=n.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return i.A(this._nodes)}sources(){var t=this;return s.A(this.nodes(),function(e){return y(t._in[e])})}sinks(){var t=this;return s.A(this.nodes(),function(e){return y(t._out[e])})}setNodes(t,e){var r=arguments,n=this;return m.A(t,function(t){r.length>1?n.setNode(t,e):n.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);
74delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],m.A(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),m.A(i.A(this._in[t]),e),delete this._in[t],delete this._preds[t],m.A(i.A(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(b.A(e))e="\0";else{e+="";for(var r=e;!b.A(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(b.A(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return i.A(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return i.A(e)}successors(t){var e=this._sucs[t];if(e)return i.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return R(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;m.A(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),m.A(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var n={};return this._isCompound&&m.A(e.nodes(),function(t){e.setParent(t,function t(a){var i=r.parent(a);return void 0===i||e.hasNode(i)?(n[a]=i,i):i in n?n[i]:t(i)}(t))}),e}setDefaultEdgeLabel(t){return a.A(t)||(t=n.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return j.A(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return E.A(t,function(t,a){return n.length>1?r.setEdge(t,a,e):r.setEdge(t,a),a}),this}setEdge(){var t,e,r,n,a=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(t=i.v,e=i.w,r=i.name,2==arguments.length&&(n=arguments[1],a=!0)):(t=i,e=arguments[1],r=arguments[3],arguments.length>2&&(n=arguments[2],a=!0)),t=""+t,e=""+e,b.A(r)||(r=""+r);var s=N(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,s))return a&&(this._edgeLabels[s]=n),this;if(!b.A(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=a?n:this._defaultEdgeLabelFn(t,e,r);var o=function(t,e,r,n){var a=""+e,i=""+r;if(!t&&a>i){var s=a;a=i,i=s}var o={v:a,w:i};return n&&(o.name=n),o}(this._isDirected,t,e,r);return t=o.v,e=o.w,Object.freeze(o),this._edgeObjs[s]=o,D(this._preds[e],t),D(this._sucs[t],e),this._in[e][s]=o,this._out[t][s]=o,this._edgeCount++,this}edge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r),a=this._edgeObjs[n];return a&&(t=a.v,e=a.w,delete this._edgeLabels[n],delete this._edgeObjs[n],I(this._preds[e],t),I(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=j.A(r);return e?s.A(n,function(t){return t.v===e}):n}}outEdges(t,e){var r=this._out[t];if(r){var n=j.A(r);return e?s.A(n,function(t){return t.w===e}):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function D(t,e){t[e]?t[e]++:t[e]=1}function I(t,e){--t[e]||delete t[e]}function N(t,e,r,n){var a=""+e,i=""+r;if(!t&&a>i){var s=a;a=i,i=s}return a+"\x01"+i+"\x01"+(b.A(n)?"\0":n)}function F(t,e){return N(t,e.v,e.w,e.name)}P.prototype._nodeCount=0,P.prototype._edgeCount=0},67357:(t,e,r)=>{"use strict";r.d(e,{H:()=>tK,r:()=>tS});var n,a,i,s,o,l,c,u,h,d,f,p,g,y,m,b,k,w,x,_,v,A,M,S,K,L,$,O,C,T,R,j,E,P,D,I,N,F,B,z,q,U,W,Y,H,
74X,G=r(50967);function Z(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(0,G.K)(Z,"getDefaultExportFromCjs");var V={},Q={},J={};function tt(){if(n)return J;function t(t){return null==t}function e(t){return"object"==typeof t&&null!==t}function r(e){return Array.isArray(e)?e:t(e)?[]:[e]}function a(t,e){if(e){let r=Object.keys(e);for(let n=0,a=r.length;n<a;n+=1){let a=r[n];t[a]=e[a]}}return t}function i(t,e){let r="";for(let n=0;n<e;n+=1)r+=t;return r}function s(t){return 0===t&&-1/0==1/t}return n=1,(0,G.K)(t,"isNothing"),(0,G.K)(e,"isObject"),(0,G.K)(r,"toArray"),(0,G.K)(a,"extend"),(0,G.K)(i,"repeat"),(0,G.K)(s,"isNegativeZero"),J.isNothing=t,J.isObject=e,J.toArray=r,J.repeat=i,J.isNegativeZero=s,J.extend=a,J}function te(){if(i)return a;function t(t,e){let 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 e(e,r){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}return i=1,(0,G.K)(t,"formatError"),(0,G.K)(e,"YAMLException2"),e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=(0,G.K)(function(e){return this.name+": "+t(this,e)},"toString"),a=e}function tr(){if(o)return s;o=1;let t=tt();function e(t,e,r,n,a){let i="",s="",o=Math.floor(a/2)-1;return n-e>o&&(e=n-o+(i=" ... ").length),r-n>o&&(r=n+o-(s=" ...").length),{str:i+t.slice(e,r).replace(/\t/g,"→")+s,pos:n-e+i.length}}function r(e,r){return t.repeat(" ",r-e.length)+e}function n(n,a){let i;if(a=Object.create(a||null),!n.buffer)return null;a.maxLength||(a.maxLength=79),"number"!=typeof a.indent&&(a.indent=1),"number"!=typeof a.linesBefore&&(a.linesBefore=3),"number"!=typeof a.linesAfter&&(a.linesAfter=2);let s=/\r?\n|\r|\0/g,o=[0],l=[],c=-1;for(;i=s.exec(n.buffer);)l.push(i.index),o.push(i.index+i[0].length),n.position<=i.index&&c<0&&(c=o.length-2);c<0&&(c=o.length-1);let u="",h=Math.min(n.line+a.linesAfter,l.length).toString().length,d=a.maxLength-(a.indent+h+3);for(let i=1;i<=a.linesBefore&&!(c-i<0);i++){let s=e(n.buffer,o[c-i],l[c-i],n.position-(o[c]-o[c-i]),d);u=t.repeat(" ",a.indent)+r((n.line-i+1).toString(),h)+" | "+s.str+"\n"+u}let f=e(n.buffer,o[c],l[c],n.position,d);u+=t.repeat(" ",a.indent)+r((n.line+1).toString(),h)+" | "+f.str+"\n"+t.repeat("-",a.indent+h+3+f.pos)+"^\n";for(let i=1;i<=a.linesAfter&&!(c+i>=l.length);i++){let s=e(n.buffer,o[c+i],l[c+i],n.position-(o[c]-o[c+i]),d);u+=t.repeat(" ",a.indent)+r((n.line+i+1).toString(),h)+" | "+s.str+"\n"}return u.replace(/\n$/,"")}return(0,G.K)(e,"getLine"),(0,G.K)(r,"padStart"),(0,G.K)(n,"makeSnippet"),s=n}function tn(){if(c)return l;c=1;let t=te(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];function n(t){let e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function a(a,i){if(Object.keys(i=i||{}).forEach(function(r){if(-1===e.indexOf(r))throw new t('Unknown option "'+r+'" is met in definition of "'+a+'" YAML type.')}),this.options=i,this.tag=a,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(t){return t},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=n(i.styleAliases||null),-1===r.indexOf(this.kind))throw new t('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}return(0,G.K)(n,"compileStyleAliases"),(0,G.K)(a,"Type2"),l=a}function ta(){if(h)return u;h=1;let t=te(),e=tn();function r(t,e){let r=[];return t[e].forEach(function(t){let 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 n(){let t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function e(e){e.multi?(t.multi[e.kind].push(e),t.multi.fallback.push(e)):t[e.kind][e.tag]=t.fallback[e.tag]=e}(0,G.K)(e,"collectType");for(let t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(e);return t}function a(t){return this.extend(t)}
74return(0,G.K)(r,"compileList"),(0,G.K)(n,"compileMap"),(0,G.K)(a,"Schema2"),a.prototype.extend=(0,G.K)(function(i){let s=[],o=[];if(i instanceof e)o.push(i);else if(Array.isArray(i))o=o.concat(i);else if(i&&(Array.isArray(i.implicit)||Array.isArray(i.explicit)))i.implicit&&(s=s.concat(i.implicit)),i.explicit&&(o=o.concat(i.explicit));else throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.forEach(function(r){if(!(r instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(r.loadKind&&"scalar"!==r.loadKind)throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(r.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),o.forEach(function(r){if(!(r instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let l=Object.create(a.prototype);return l.implicit=(this.implicit||[]).concat(s),l.explicit=(this.explicit||[]).concat(o),l.compiledImplicit=r(l,"implicit"),l.compiledExplicit=r(l,"explicit"),l.compiledTypeMap=n(l.compiledImplicit,l.compiledExplicit),l},"extend"),u=a}function ti(){return f?d:(f=1,d=new(tn())("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,G.K)(function(t){return null!==t?t:""},"construct")}))}function ts(){return g?p:(g=1,p=new(tn())("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,G.K)(function(t){return null!==t?t:[]},"construct")}))}function to(){return m?y:(m=1,y=new(tn())("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,G.K)(function(t){return null!==t?t:{}},"construct")}))}function tl(){return k?b:(k=1,b=new(ta())({explicit:[ti(),ts(),to()]}))}function tc(){if(x)return w;x=1;let t=tn();function e(t){if(null===t)return!0;let e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function r(){return null}function n(t){return null===t}return(0,G.K)(e,"resolveYamlNull"),(0,G.K)(r,"constructYamlNull"),(0,G.K)(n,"isNull"),w=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{canonical:(0,G.K)(function(){return"~"},"canonical"),lowercase:(0,G.K)(function(){return"null"},"lowercase"),uppercase:(0,G.K)(function(){return"NULL"},"uppercase"),camelcase:(0,G.K)(function(){return"Null"},"camelcase"),empty:(0,G.K)(function(){return""},"empty")},defaultStyle:"lowercase"})}function tu(){if(v)return _;v=1;let t=tn();function e(t){if(null===t)return!1;let e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function r(t){return"true"===t||"True"===t||"TRUE"===t}function n(t){return"[object Boolean]"===Object.prototype.toString.call(t)}return(0,G.K)(e,"resolveYamlBoolean"),(0,G.K)(r,"constructYamlBoolean"),(0,G.K)(n,"isBoolean"),_=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{lowercase:(0,G.K)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,G.K)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,G.K)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"})}function th(){if(M)return A;M=1;let t=tt(),e=tn();function r(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function n(t){return t>=48&&t<=55}function a(t){return t>=48&&t<=57}function i(t){if(null===t)return!1;let e=t.length,i=0,o=!1;if(!e)return!1;let l=t[i];if(("-"===l||"+"===l)&&(l=t[++i]),"0"===l){if(i+1===e)return!0;if("b"===(l=t[++i])){for(i++;i<e;i++){if("0"!==(l=t[i])&&"1"!==l)return!1;o=!0}return o&&isFinite(s(t))}if("x"===l){for(i++;i<e;i++){if(!r(t.charCodeAt(i)))return!1;o=!0}return o&&isFinite(s(t))}if("o"===l){for(i++;i<e;i++){if(!n(t.charCodeAt(i)))return!1;o=!0}return o&&isFinite(s(t))}}for(;i<e;i++){if(!a(t.charCodeAt(i)))return!1;o=!0}return!!o&&isFinite(s(t))}function s(t){let e=t,r=1,n=e[0];if(("-"===n||"+"===n)&&("-"===n&&(r=-1),n=(e=e.slice(1))[0]),"0"===e)return 0;if("0"===n){if("b"===e[1])return r*parseInt(e.slice(2),2);if("x"===e[1])return r*parseInt(e.slice(2),16);if("o"===e[1])return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function o(t){return s(t)}function l(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!t.isNegativeZero(e)}
74return(0,G.K)(r,"isHexCode"),(0,G.K)(n,"isOctCode"),(0,G.K)(a,"isDecCode"),(0,G.K)(i,"resolveYamlInteger"),(0,G.K)(s,"parseYamlInteger"),(0,G.K)(o,"constructYamlInteger"),(0,G.K)(l,"isInteger"),A=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:i,construct:o,predicate:l,represent:{binary:(0,G.K)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,G.K)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,G.K)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,G.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"]}})}function td(){if(K)return S;K=1;let t=tt(),e=tn(),r=RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),n=RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function a(t){return null!==t&&!!r.test(t)&&(!!isFinite(parseFloat(t,10))||n.test(t))}function i(t){let e=t.toLowerCase(),r="-"===e[0]?-1:1;return("+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,G.K)(a,"resolveYamlFloat"),(0,G.K)(i,"constructYamlFloat");let s=/^[-+]?[0-9]+e/;function o(e,r){if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(e))return"-0.0";let n=e.toString(10);return s.test(n)?n.replace("e",".e"):n}function l(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||t.isNegativeZero(e))}return(0,G.K)(o,"representYamlFloat"),(0,G.K)(l,"isFloat"),S=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:a,construct:i,predicate:l,represent:o,defaultStyle:"lowercase"})}function tf(){return $?L:($=1,L=tl().extend({implicit:[tc(),tu(),th(),td()]}))}function tp(){return C?O:(C=1,O=tf())}function tg(){if(R)return T;R=1;let t=tn(),e=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=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 n(t){return null!==t&&(null!==e.exec(t)||null!==r.exec(t))}function a(t){let n=0,a=null,i=e.exec(t);if(null===i&&(i=r.exec(t)),null===i)throw Error("Date resolve error");let s=+i[1],o=i[2]-1,l=+i[3];if(!i[4])return new Date(Date.UTC(s,o,l));let c=+i[4],u=+i[5],h=+i[6];if(i[7]){for(n=i[7].slice(0,3);n.length<3;)n+="0";n*=1}i[9]&&(a=(60*i[10]+ +(i[11]||0))*6e4,"-"===i[9]&&(a=-a));let d=new Date(Date.UTC(s,o,l,c,u,h,n));return a&&d.setTime(d.getTime()-a),d}function i(t){return t.toISOString()}return(0,G.K)(n,"resolveYamlTimestamp"),(0,G.K)(a,"constructYamlTimestamp"),(0,G.K)(i,"representYamlTimestamp"),T=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:n,construct:a,instanceOf:Date,represent:i})}function ty(){if(E)return j;E=1;let t=tn();function e(t){return"<<"===t||null===t}return(0,G.K)(e,"resolveYamlMerge"),j=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e})}function tm(){if(D)return P;D=1;let t=tn(),e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function r(t){if(null===t)return!1;let r=0,n=t.length;for(let a=0;a<n;a++){let n=e.indexOf(t.charAt(a));if(!(n>64)){if(n<0)return!1;r+=6}}return r%8==0}function n(t){let r=t.replace(/[\r\n=]/g,""),n=r.length,a=0,i=[];for(let t=0;t<n;t++)t%4==0&&t&&(i.push(a>>16&255),i.push(a>>8&255),i.push(255&a)),a=a<<6|e.indexOf(r.charAt(t));let s=n%4*6;return 0===s?(i.push(a>>16&255),i.push(a>>8&255),i.push(255&a)):18===s?(i.push(a>>10&255),i.push(a>>2&255)):12===s&&i.push(a>>4&255),new Uint8Array(i)}function a(t){let r="",n=0,a=t.length;for(let i=0;i<a;i++)i%3==0&&i&&(r+=e[n>>18&63],r+=e[n>>12&63],r+=e[n>>6&63],r+=e[63&n]),n=(n<<8)+t[i];let i=a%3;return 0===i?(r+=e[n>>18&63],r+=e[n>>12&63],r+=e[n>>6&63],r+=e[63&n]):2===i?(r+=e[n>>10&63],r+=e[n>>4&63],r+=e[n<<2&63],r+=e[64]):1===i&&(r+=e[n>>2&63],r+=e[n<<4&63],r+=e[64],r+=e[64]),r}function i(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}return(0,G.K)(r,"resolveYamlBinary"),(0,G.K)(n,"constructYamlBinary"),(0,G.K)(a,"representYamlBinary"),(0,G.K)(i,"isBinary"),P=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:n,predicate:i,represent:a})}function tb(){if(N)return I;N=1;let t=tn(),e=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function n(t){if(null===t)return!0;let n=[];for(let a=0,i=t.length;a<i;a+=1){let i,s=t[a],o=!1;if("[object Object]"!==r.call(s))return!1;for(i in s)if(e.call(s,i))if(o)return!1;else o=!0;if(!o||-1!==n.indexOf(i))return!1;n.push(i)}return!0}function a(t){return null!==t?t:[]}return(0,G.K)(n,"resolveYamlOmap"),(0,G.K)(a,"constructYamlOmap"),I=new t("tag:yaml.org,2002:omap",{
74kind:"sequence",resolve:n,construct:a})}function tk(){if(B)return F;B=1;let t=tn(),e=Object.prototype.toString;function r(t){if(null===t)return!0;let r=Array(t.length);for(let n=0,a=t.length;n<a;n+=1){let a=t[n];if("[object Object]"!==e.call(a))return!1;let i=Object.keys(a);if(1!==i.length)return!1;r[n]=[i[0],a[i[0]]]}return!0}function n(t){if(null===t)return[];let e=Array(t.length);for(let r=0,n=t.length;r<n;r+=1){let n=t[r],a=Object.keys(n);e[r]=[a[0],n[a[0]]]}return e}return(0,G.K)(r,"resolveYamlPairs"),(0,G.K)(n,"constructYamlPairs"),F=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:n})}function tw(){if(q)return z;q=1;let t=tn(),e=Object.prototype.hasOwnProperty;function r(t){if(null===t)return!0;for(let r in t)if(e.call(t,r)&&null!==t[r])return!1;return!0}function n(t){return null!==t?t:{}}return(0,G.K)(r,"resolveYamlSet"),(0,G.K)(n,"constructYamlSet"),z=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:n})}function tx(){return W?U:(W=1,U=tp().extend({implicit:[tg(),ty()],explicit:[tm(),tb(),tk(),tw()]}))}function t_(){if(Y)return Q;Y=1;let t=tt(),e=te(),r=tr(),n=tx(),a=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[\x85\u2028\u2029]/,o=/[,\[\]{}]/,l=/^(?:!|!!|![0-9A-Za-z-]+!)$/,c=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(t){return Object.prototype.toString.call(t)}function h(t){return 10===t||13===t}function d(t){return 9===t||32===t}function f(t){return 9===t||32===t||10===t||13===t}function p(t){return 44===t||91===t||93===t||123===t||125===t}function g(t){if(t>=48&&t<=57)return t-48;let e=32|t;return e>=97&&e<=102?e-97+10:-1}function y(t){return 120===t?2:117===t?4:8*(85===t)}function m(t){return t>=48&&t<=57?t-48:-1}function b(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:case 9:return"	";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1b";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xa0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function k(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function w(t,e,r){"__proto__"===e?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(0,G.K)(u,"_class"),(0,G.K)(h,"isEol"),(0,G.K)(d,"isWhiteSpace"),(0,G.K)(f,"isWsOrEol"),(0,G.K)(p,"isFlowIndicator"),(0,G.K)(g,"fromHexCode"),(0,G.K)(y,"escapedHexLen"),(0,G.K)(m,"fromDecimalCode"),(0,G.K)(b,"simpleEscapeSequence"),(0,G.K)(k,"charFromCodepoint"),(0,G.K)(w,"setProperty");let x=Array(256),_=Array(256);for(let t=0;t<256;t++)x[t]=+!!b(t),_[t]=b(t);function v(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||n,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:100,this.maxTotalMergeKeys="number"==typeof e.maxTotalMergeKeys?e.maxTotalMergeKeys:1e4,this.implicitTypes=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.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function A(t,n){let a={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return a.snippet=r(a),new e(n,a)}function M(t,e){throw A(t,e)}function S(t,e){t.onWarning&&t.onWarning.call(null,A(t,e))}function K(t,e,r){let n=t.anchorMapTransactions;if(0!==n.length){let r=n[n.length-1];a.call(r,e)||(r[e]={existed:a.call(t.anchorMap,e),value:t.anchorMap[e]})}t.anchorMap[e]=r}function L(t){t.anchorMapTransactions.push(Object.create(null))}function $(t){let e=t.anchorMapTransactions.pop(),r=t.anchorMapTransactions;if(0===r.length)return;let n=r[r.length-1],i=Object.keys(e);for(let t=0,r=i.length;t<r;t+=1){let r=i[t];a.call(n,r)||(n[r]=e[r])}}function O(t){let e=t.anchorMapTransactions.pop(),r=Object.keys(e);for(let n=r.length-1;n>=0;n-=1){let a=e[r[n]];a.existed?t.anchorMap[r[n]]=a.value:delete t.anchorMap[r[n]]}}function C(t){return{position:t.position,line:t.line,lineStart:t.lineStart,lineIndent:t.lineIndent,firstTabInLine:t.firstTabInLine,tag:t.tag,anchor:t.anchor,kind:t.kind,result:t.result}}function T(t,e){t.position=e.position,t.line=e.line,t.lineStart=e.lineStart,t.lineIndent=e.lineIndent,t.firstTabInLine=e.firstTabInLine,t.tag=e.tag,t.anchor=e.anchor,t.kind=e.kind,t.result=e.result}
74(0,G.K)(v,"State"),(0,G.K)(A,"generateError"),(0,G.K)(M,"throwError"),(0,G.K)(S,"throwWarning"),(0,G.K)(K,"storeAnchor"),(0,G.K)(L,"beginAnchorTransaction"),(0,G.K)($,"commitAnchorTransaction"),(0,G.K)(O,"rollbackAnchorTransaction"),(0,G.K)(C,"snapshotState"),(0,G.K)(T,"restoreState");let R={YAML:(0,G.K)(function(t,e,r){null!==t.version&&M(t,"duplication of %YAML directive"),1!==r.length&&M(t,"YAML directive accepts exactly one argument");let n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);null===n&&M(t,"ill-formed argument of the YAML directive");let a=parseInt(n[1],10),i=parseInt(n[2],10);1!==a&&M(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&S(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,G.K)(function(t,e,r){let n;2!==r.length&&M(t,"TAG directive accepts exactly two arguments");let i=r[0];n=r[1],l.test(i)||M(t,"ill-formed tag handle (first argument) of the TAG directive"),a.call(t.tagMap,i)&&M(t,'there is a previously declared suffix for "'+i+'" tag handle'),c.test(n)||M(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){M(t,"tag prefix is malformed: "+n)}t.tagMap[i]=n},"handleTagDirective")};function j(t,e,r,n){if(e<r){let a=t.input.slice(e,r);if(n)for(let e=0,r=a.length;e<r;
74e+=1){let r=a.charCodeAt(e);9===r||r>=32&&r<=1114111||M(t,"expected valid JSON character")}else i.test(a)&&M(t,"the stream contains non-printable characters");t.result+=a}}function E(e,r,n,i){t.isObject(n)||M(e,"cannot merge mappings; the provided source object is unacceptable");let s=Object.keys(n);for(let t=0,o=s.length;t<o;t+=1){let o=s[t];-1!==e.maxTotalMergeKeys&&++e.totalMergeKeys>e.maxTotalMergeKeys&&M(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),a.call(r,o)||(w(r,o,n[o]),i[o]=!0)}}function P(t,e,r,n,i,s,o,l,c){if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(let e=0,r=i.length;e<r;e+=1)Array.isArray(i[e])&&M(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===u(i[e])&&(i[e]="[object Object]")}if("object"==typeof i&&"[object Object]"===u(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(s))for(let n=0,a=s.length;n<a;n+=1)E(t,e,s[n],r);else E(t,e,s,r);else!t.json&&!a.call(r,i)&&a.call(e,i)&&(t.line=o||t.line,t.lineStart=l||t.lineStart,t.position=c||t.position,M(t,"duplicated mapping key")),w(e,i,s),delete r[i];return e}function D(t){let e=t.input.charCodeAt(t.position);10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):M(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function I(t,e,r){let n=0,a=t.input.charCodeAt(t.position);for(;0!==a;){for(;d(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(h(a))for(D(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&&S(t,"deficient indentation"),n}function N(t){let e=t.position,r=t.input.charCodeAt(e);return!!((45===r||46===r)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,0===(r=t.input.charCodeAt(e))||f(r)))||!1}function F(e,r){1===r?e.result+=" ":r>1&&(e.result+=t.repeat("\n",r-1))}function B(t,e,r){let n,a,i,s,o,l,c=t.kind,u=t.result,g=t.input.charCodeAt(t.position);if(f(g)||p(g)||35===g||38===g||42===g||33===g||124===g||62===g||39===g||34===g||37===g||64===g||96===g)return!1;if(63===g||45===g){let e=t.input.charCodeAt(t.position+1);if(f(e)||r&&p(e))return!1}for(t.kind="scalar",t.result="",n=a=t.position,i=!1;0!==g;){if(58===g){let e=t.input.charCodeAt(t.position+1);if(f(e)||r&&p(e))break}else if(35===g){if(f(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&N(t)||r&&p(g))break;else if(h(g)){if(s=t.line,o=t.lineStart,l=t.lineIndent,I(t,!1,-1),t.lineIndent>=e){i=!0,g=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=o,t.lineIndent=l;break}i&&(j(t,n,a,!1),F(t,t.line-s),n=a=t.position,i=!1),d(g)||(a=t.position+1),g=t.input.charCodeAt(++t.position)}return j(t,n,a,!1),!!t.result||(t.kind=c,t.result=u,!1)}function z(t,e){let r,n,a=t.input.charCodeAt(t.position);if(39!==a)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(a=t.input.charCodeAt(t.position));)if(39===a){if(j(t,r,t.position,!0),39!==(a=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,n=t.position}else h(a)?(j(t,r,n,!0),F(t,I(t,!1,e)),r=n=t.position):t.position===t.lineStart&&N(t)?M(t,"unexpected end of the document within a single quoted scalar"):(t.position++,d(a)||(n=t.position));M(t,"unexpected end of the stream within a single quoted scalar")}function q(t,e){let r,n,a,i=t.input.charCodeAt(t.position);if(34!==i)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(i=t.input.charCodeAt(t.position));)if(34===i)return j(t,r,t.position,!0),t.position++,!0;else if(92===i){if(j(t,r,t.position,!0),h(i=t.input.charCodeAt(++t.position)))I(t,!1,e);else if(i<256&&x[i])t.result+=_[i],t.position++;else if((a=y(i))>0){let e=a,r=0;for(;e>0;e--)(a=g(i=t.input.charCodeAt(++t.position)))>=0?r=(r<<4)+a:M(t,"expected hexadecimal character");t.result+=k(r),t.position++}else M(t,"unknown escape sequence");r=n=t.position}else h(i)?(j(t,r,n,!0),F(t,I(t,!1,e)),r=n=t.position):t.position===t.lineStart&&N(t)?M(t,"unexpected end of the document within a double quoted scalar"):(t.position++,d(i)||(n=t.position));M(t,"unexpected end of the stream within a double quoted scalar")}function U(t,e){let r,n,a,i,s,o,l,c,u,h,d,p=!0,g=t.tag,y=t.anchor,m=Object.create(null),b=t.input.charCodeAt(t.position);if(91===b)s=93,c=!1,i=[];else{if(123!==b)return!1;s=125,c=!0,i={}}for(null!==t.anchor&&K(t,t.anchor,i),b=t.input.charCodeAt(++t.position);0!==b;){if(I(t,!0,e),(b=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=g,t.anchor=y,t.kind=c?"mapping":"sequence",t.result=i,!0;p?44===b&&M(t,"expected the node content, but found ','"):M(t,"missed comma between flow collection entries"),h=u=d=null,o=l=!1,63===b&&f(t.input.charCodeAt(t.position+1))&&(o=l=!0,t.position++,I(t,!0,e)),r=t.line,n=t.lineStart,a=t.position,ta(t,e,1,!1,!0),h=t.tag,u=t.result,I(t,!0,e),b=t.input.charCodeAt(t.position),(l||t.line===r)&&58===b&&(o=!0,b=t.input.charCodeAt(++t.position),I(t,!0,e),ta(t,e,1,!1,!0),d=t.result),c?P(t,i,m,h,u,d,r,n,a):o?i.push(P(t,null,m,h,u,d,r,n,a)):i.push(u),I(t,!0,e),44===(b=t.input.charCodeAt(t.position))?(p=!0,b=t.input.charCodeAt(++t.position)):p=!1}M(t,"unexpected end of the stream within a flow collection")}function W(e,r){let n,a,i=1,s=!1,o=!1,l=r,c=0,u=!1,f=e.input.charCodeAt(e.position);if(124===f)n=!1;else{if(62!==f)return!1;n=!0}for(e.kind="scalar",e.result="";0!==f;)if(43===(f=e.input.charCodeAt(++e.position))||45===f)1===i?i=43===f?3:2:M(e,"repeat of a chomping mode identifier");else if((a=m(f))>=0)0===a?M(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?M(e,"repeat of an indentation width identifier"):(l=r+a-1,o=!0);else break;if(d(f)){do f=e.input.charCodeAt(++e.position);while(d(f));if(35===f)do f=e.input.charCodeAt(++e.position);while(!h(f)&&0!==f)}for(;0!==f;){for(D(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&32===f;)e.lineIndent++,f=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),h(f)){c++;continue}if(o||0!==l||M(e,"missing indentation for block scalar"),e.lineIndent<l){3===i?e.result+=t.repeat("\n",s?1+c:c):1===i&&s&&(e.result+="\n");break}n?d(f)?(u=!0,e.result+=t.repeat("\n",s?1+c:c)):u?(u=!1,e.result+=t.repeat("\n",c+1)):0===c?s&&
74(e.result+=" "):e.result+=t.repeat("\n",c):e.result+=t.repeat("\n",s?1+c:c),s=!0,o=!0,c=0;let r=e.position;for(;!h(f)&&0!==f;)f=e.input.charCodeAt(++e.position);j(e,r,e.position,!1)}return!0}function H(t,e){let r=t.tag,n=t.anchor,a=[],i=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&K(t,t.anchor,a);let s=t.input.charCodeAt(t.position);for(;0!==s&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,M(t,"tab characters must not be used in indentation")),45===s&&f(t.input.charCodeAt(t.position+1)));){if(i=!0,t.position++,I(t,!0,-1)&&t.lineIndent<=e){a.push(null),s=t.input.charCodeAt(t.position);continue}let r=t.line;if(ta(t,e,3,!1,!0),a.push(t.result),I(t,!0,-1),s=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==s)M(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return!!i&&(t.tag=r,t.anchor=n,t.kind="sequence",t.result=a,!0)}function X(t,e,r){let n,a,i,s,o=t.tag,l=t.anchor,c={},u=Object.create(null),h=null,p=null,g=null,y=!1,m=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&K(t,t.anchor,c);let b=t.input.charCodeAt(t.position);for(;0!==b;){y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,M(t,"tab characters must not be used in indentation"));let k=t.input.charCodeAt(t.position+1),w=t.line;if((63===b||58===b)&&f(k))63===b?(y&&(P(t,c,u,h,p,null,a,i,s),h=p=g=null),m=!0,y=!0,n=!0):y?(y=!1,n=!0):M(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,b=k;else{if(a=t.line,i=t.lineStart,s=t.position,!ta(t,r,2,!1,!0))break;if(t.line===w){for(b=t.input.charCodeAt(t.position);d(b);)b=t.input.charCodeAt(++t.position);if(58===b)f(b=t.input.charCodeAt(++t.position))||M(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(P(t,c,u,h,p,null,a,i,s),h=p=g=null),m=!0,y=!1,n=!1,h=t.tag,p=t.result;else{if(!m)return t.tag=o,t.anchor=l,!0;M(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!m)return t.tag=o,t.anchor=l,!0;M(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===w||t.lineIndent>e)&&(y&&(a=t.line,i=t.lineStart,s=t.position),ta(t,e,4,!0,n)&&(y?p=t.result:g=t.result),y||(P(t,c,u,h,p,g,a,i,s),h=p=g=null),I(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===w||t.lineIndent>e)&&0!==b)M(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&P(t,c,u,h,p,null,a,i,s),m&&(t.tag=o,t.anchor=l,t.kind="mapping",t.result=c),m}function Z(t){let e,r,n=!1,i=!1,s=t.input.charCodeAt(t.position);if(33!==s)return!1;null!==t.tag&&M(t,"duplication of a tag property"),60===(s=t.input.charCodeAt(++t.position))?(n=!0,s=t.input.charCodeAt(++t.position)):33===s?(i=!0,e="!!",s=t.input.charCodeAt(++t.position)):e="!";let u=t.position;if(n){do s=t.input.charCodeAt(++t.position);while(0!==s&&62!==s);t.position<t.length?(r=t.input.slice(u,t.position),s=t.input.charCodeAt(++t.position)):M(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!f(s);)33===s&&(i?M(t,"tag suffix cannot contain exclamation marks"):(e=t.input.slice(u-1,t.position+1),l.test(e)||M(t,"named tag handle cannot contain such characters"),i=!0,u=t.position+1)),s=t.input.charCodeAt(++t.position);r=t.input.slice(u,t.position),o.test(r)&&M(t,"tag suffix cannot contain flow indicator characters")}r&&!c.test(r)&&M(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){M(t,"tag name is malformed: "+r)}return n?t.tag=r:a.call(t.tagMap,e)?t.tag=t.tagMap[e]+r:"!"===e?t.tag="!"+r:"!!"===e?t.tag="tag:yaml.org,2002:"+r:M(t,'undeclared tag handle "'+e+'"'),!0}function V(t){let e=t.input.charCodeAt(t.position);if(38!==e)return!1;null!==t.anchor&&M(t,"duplication of an anchor property"),e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e)&&!p(e);)e=t.input.charCodeAt(++t.position);return t.position===r&&M(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(r,t.position),!0}function J(t){let e=t.input.charCodeAt(t.position);if(42!==e)return!1;e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e)&&!p(e);)e=t.input.charCodeAt(++t.position);t.position===r&&M(t,"name of an alias node must contain at least one character");let n=t.input.slice(r,t.position);return a.call(t.anchorMap,n)||M(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],I(t,!0,-1),!0}function tn(t,e,r,n){let a=C(t);return(L(t),T(t,e),t.tag=null,t.anchor=null,t.kind=null,t.result=null,X(t,r,n)&&"mapping"===t.kind)?($(t),!0):(O(t),T(t,a),!1)}function ta(t,e,r,n,i){let s,o,l,c,u,h=1,d=!1,f=!1,p=null;t.depth>=t.maxDepth&&M(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;let g=s=o=4===r||3===r;if(n&&I(t,!0,-1)&&(d=!0,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)),1===h)for(;;){let r=t.input.charCodeAt(t.position),n=C(t);if(d&&(33===r&&null!==t.tag||38===r&&null!==t.anchor)||!Z(t)&&!V(t))break;null===p&&(p=n),I(t,!0,-1)?(d=!0,o=g,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)):o=!1}if(o&&(o=d||i),1===h||4===r)if(c=1===r||2===r?e:e+1,u=t.position-t.lineStart,1===h)if(o&&(H(t,u)||X(t,u,c))||U(t,c))f=!0;else{let e=t.input.charCodeAt(t.position);null!==p&&g&&!o&&124!==e&&62!==e&&tn(t,p,p.position-p.lineStart,c)||s&&W(t,c)||z(t,c)||q(t,c)?f=!0:J(t)?(f=!0,(null!==t.tag||null!==t.anchor)&&M(t,"alias node should not have any properties")):B(t,c,1===r)&&(f=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&K(t,t.anchor,t.result)}else 0===h&&(f=o&&H(t,u));if(null===t.tag)null!==t.anchor&&K(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&M(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,r=t.implicitTypes.length;e<r;e+=1)if((l=t.implicitTypes[e]).resolve(t.result)){t.result=l.construct(t.result),t.tag=l.tag,null!==t.anchor&&K(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(a.call(t.typeMap[t.kind||"fallback"],t.tag))l=t.typeMap[t.kind||"fallback"][t.tag];else{l=null;let e=t.typeMap.multi[t.kind||"fallback"];for(let r=0,n=e.length;r<n;r+=1)if(t.tag.slice(0,e[r].tag.length)===e[r].tag){l=e[r];break}}l||M(t,"unknown tag !<"+t.tag+">"),null!==t.result&&l.kind!==t.kind&&M(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+l.kind+'", not "'+t.kind+'"'),l.resolve(t.result,t.tag)?(t.result=l.construct(t.result,t.tag),null!==t.anchor&&K(t,t.anchor,t.result)):M(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||f}function ti(t){let e,r=t.position,n=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(e=t.input.charCodeAt(t.position))&&(I(t,!0,-1),e=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===e);){n=!0,e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e);)e=t.input.charCodeAt(++t.position);let i=t.input.slice(r,t.position),s=[];for(i.length<1&&M(t,"directive name must not be less than one character in length");0!==e;){for(;d(e);)e=t.input.charCodeAt(++t.position);if(35===e){do e=t.input.charCodeAt(++t.position);while(0!==e&&!h(e));break}if(h(e))break;for(r=t.position;0!==e&&!f(e);)e=t.input.charCodeAt(++t.position);s.push(t.input.slice(r,t.position))}0!==e&&D(t),a.call(R,i)?R[i](t,i,s):S(t,'unknown document directive "'+i+'"')}if(I(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,I(t,!0,-1)):n&&M(t,"directives end mark is expected"),ta(t,t.lineIndent-1,4,!1,!0),I(t,!0,-1),t.checkLineBreaks&&s.test(t.input.slice(r,t.position))&&S(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&N(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,I(t,!0,-1));return}t.position<t.length-1&&M(t,"end of the stream or a document separator is expected")}function ts(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)));let r=new v(t,e),n=t.indexOf("\0");for(-1!==n&&(r.position=n,M(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;)ti(r);return r.documents}function to(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);let n=ts(t,r);if("function"!=typeof e)return n;for(let t=0,r=n.length;t<r;t+=1)e(n[t])}function tl(t,r){let n=ts(t,r);if(0!==n.length){if(1===n.length)return n[0];throw new e("expected a single document in the stream, but found more")}}
74return(0,G.K)(j,"captureSegment"),(0,G.K)(E,"mergeMappings"),(0,G.K)(P,"storeMappingPair"),(0,G.K)(D,"readLineBreak"),(0,G.K)(I,"skipSeparationSpace"),(0,G.K)(N,"testDocumentSeparator"),(0,G.K)(F,"writeFoldedLines"),(0,G.K)(B,"readPlainScalar"),(0,G.K)(z,"readSingleQuotedScalar"),(0,G.K)(q,"readDoubleQuotedScalar"),(0,G.K)(U,"readFlowCollection"),(0,G.K)(W,"readBlockScalar"),(0,G.K)(H,"readBlockSequence"),(0,G.K)(X,"readBlockMapping"),(0,G.K)(Z,"readTagProperty"),(0,G.K)(V,"readAnchorProperty"),(0,G.K)(J,"readAlias"),(0,G.K)(tn,"tryReadBlockMappingFromProperty"),(0,G.K)(ta,"composeNode"),(0,G.K)(ti,"readDocument"),(0,G.K)(ts,"loadDocuments"),(0,G.K)(to,"loadAll2"),(0,G.K)(tl,"load2"),Q.loadAll=to,Q.load=tl,Q}(0,G.K)(tt,"requireCommon"),(0,G.K)(te,"requireException"),(0,G.K)(tr,"requireSnippet"),(0,G.K)(tn,"requireType"),(0,G.K)(ta,"requireSchema"),(0,G.K)(ti,"requireStr"),(0,G.K)(ts,"requireSeq"),(0,G.K)(to,"requireMap"),(0,G.K)(tl,"requireFailsafe"),(0,G.K)(tc,"require_null"),(0,G.K)(tu,"requireBool"),(0,G.K)(th,"requireInt"),(0,G.K)(td,"requireFloat"),(0,G.K)(tf,"requireJson"),(0,G.K)(tp,"requireCore"),(0,G.K)(tg,"requireTimestamp"),(0,G.K)(ty,"requireMerge"),(0,G.K)(tm,"requireBinary"),(0,G.K)(tb,"requireOmap"),(0,G.K)(tk,"requirePairs"),(0,G.K)(tw,"requireSet"),(0,G.K)(tx,"require_default"),(0,G.K)(t_,"requireLoader");var tv={};function tA(){if(H)return tv;H=1;let t=tt(),e=te(),r=tx(),n=Object.prototype.toString,a=Object.prototype.hasOwnProperty,i={};i[0]="\\0",i[7]="\\a",i[8]="\\b",i[9]="\\t",i[10]="\\n",i[11]="\\v",i[12]="\\f",i[13]="\\r",i[27]="\\e",i[34]='\\"',i[92]="\\\\",i[133]="\\N",i[160]="\\_",i[8232]="\\L",i[8233]="\\P";let s=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],o=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(t,e){if(null===e)return{};let r={},n=Object.keys(e);for(let i=0,s=n.length;i<s;i+=1){let s=n[i],o=String(e[s]);"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2));let l=t.compiledTypeMap.fallback[s];l&&a.call(l.styleAliases,o)&&(o=l.styleAliases[o]),r[s]=o}return r}function c(r){let n,a,i=r.toString(16).toUpperCase();if(r<=255)n="x",a=2;else if(r<=65535)n="u",a=4;else if(r<=0xffffffff)n="U",a=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+t.repeat("0",a-i.length)+i}function u(e){this.schema=e.schema||r,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=t.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=l(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?2:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h(e,r){let n=t.repeat(" ",r),a=0,i="",s=e.length;for(;a<s;){let t,r=e.indexOf("\n",a);-1===r?(t=e.slice(a),a=s):(t=e.slice(a,r+1),a=r+1),t.length&&"\n"!==t&&(i+=n),i+=t}return i}function d(e,r){return"\n"+t.repeat(" ",e.indent*r)}function f(t,e){for(let r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function p(t){return 32===t||9===t}function g(t){return t>=32&&t<=126||t>=161&&t<=55295&&8232!==t&&8233!==t||t>=57344&&t<=65533&&65279!==t||t>=65536&&t<=1114111}function y(t){return g(t)&&65279!==t&&13!==t&&10!==t}function m(t,e,r){let n=y(t),a=n&&!p(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||y(e)&&!p(e)&&35===t||58===e&&a}function b(t){return g(t)&&65279!==t&&!p(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 k(t){return!p(t)&&58!==t}function w(t,e){let 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 x(t){return/^\n* /.test(t)}function _(t,e,r,n,a,i,s,o){let l,c=0,u=null,h=!1,d=!1,f=-1!==n,p=-1,y=b(w(t,0))&&k(w(t,t.length-1));if(e||s)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!g(c=w(t,l)))return 5;y=y&&m(c,u,o),u=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=w(t,l)))h=!0,f&&(d=d||l-p-1>n&&" "!==t[p+1],p=l);else if(!g(c))return 5;y=y&&m(c,u,o),u=c}d=d||f&&l-p-1>n&&" "!==t[p+1]}return h||d?r>9&&x(t)?5:s?2===i?5:2:d?4:3:!y||s||a(t)?2===i?5:2:1}function v(t,r,n,a,i){t.dump=function(){if(0===r.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==s.indexOf(r)||o.test(r)))return 2===t.quotingType?'"'+r+'"':"'"+r+"'";let l=t.indent*Math.max(1,n),c=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-l),u=a||t.flowLevel>-1&&n>=t.flowLevel;function d(e){return f(t,e)}switch((0,G.K)(d,"testAmbiguity"),_(r,u,t.indent,c,d,t.quotingType,t.forceQuotes&&!a,i)){case 1:return r;case 2:return"'"+r.replace(/'/g,"''")+"'";case 3:return"|"+A(r,t.indent)+M(h(r,l));case 4:return">"+A(r,t.indent)+M(h(S(r,c),l));case 5:return'"'+L(r)+'"';default:throw new e("impossible error: invalid scalar style")}}()}function A(t,e){let r=x(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function M(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function S(t,e){let r,n,a,i=/(\n+)([^\n]*)/g,s=(i.lastIndex=a=-1!==(a=t.indexOf("\n"))?a:t.length,K(t.slice(0,a),e)),o="\n"===t[0]||" "===t[0];for(;n=i.exec(t);){let t=n[1],a=n[2];r=" "===a[0],s+=t+(o||r||""===a?"":"\n")+K(a,e),o=r}return s}function K(t,e){let r,n;if(""===t||" "===t[0])return t;let a=/ [^ ]/g,i=0,s=0,o=0,l="";for(;r=a.exec(t);)(o=r.index)-i>e&&(n=s>i?s:o,l+="\n"+t.slice(i,n),i=n+1),s=o;return l+="\n",t.length-i>e&&s>i?l+=t.slice(i,s)+"\n"+t.slice(s+1):l+=t.slice(i),l.slice(1)}function L(t){let e="",r=0;for(let n=0;n<t.length;r>=65536?n+=2:n++){let a=i[r=w(t,n)];!a&&g(r)?(e+=t[n],r>=65536&&(e+=t[n+1])):e+=a||c(r)}return e}function $(t,e,r){let n="",a=t.tag;for(let a=0,i=r.length;a<i;a+=1){let i=r[a];
74t.replacer&&(i=t.replacer.call(r,String(a),i)),(j(t,e,i,!1,!1)||void 0===i&&j(t,e,null,!1,!1))&&(""!==n&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump)}t.tag=a,t.dump="["+n+"]"}function O(t,e,r,n){let a="",i=t.tag;for(let i=0,s=r.length;i<s;i+=1){let s=r[i];t.replacer&&(s=t.replacer.call(r,String(i),s)),(j(t,e+1,s,!0,!0,!1,!0)||void 0===s&&j(t,e+1,null,!0,!0,!1,!0))&&(n&&""===a||(a+=d(t,e)),t.dump&&10===t.dump.charCodeAt(0)?a+="-":a+="- ",a+=t.dump)}t.tag=i,t.dump=a||"[]"}function C(t,e,r){let n="",a=t.tag,i=Object.keys(r);for(let a=0,s=i.length;a<s;a+=1){let s="";""!==n&&(s+=", "),t.condenseFlow&&(s+='"');let o=i[a],l=r[o];t.replacer&&(l=t.replacer.call(r,o,l)),j(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),j(t,e,l,!1,!1)&&(s+=t.dump,n+=s))}t.tag=a,t.dump="{"+n+"}"}function T(t,r,n,a){let i="",s=t.tag,o=Object.keys(n);if(!0===t.sortKeys)o.sort();else if("function"==typeof t.sortKeys)o.sort(t.sortKeys);else if(t.sortKeys)throw new e("sortKeys must be a boolean or a function");for(let e=0,s=o.length;e<s;e+=1){let s="";a&&""===i||(s+=d(t,r));let l=o[e],c=n[l];if(t.replacer&&(c=t.replacer.call(n,l,c)),!j(t,r+1,l,!0,!0,!0))continue;let u=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024;u&&(t.dump&&10===t.dump.charCodeAt(0)?s+="?":s+="? "),s+=t.dump,u&&(s+=d(t,r)),j(t,r+1,c,!0,u)&&(t.dump&&10===t.dump.charCodeAt(0)?s+=":":s+=": ",s+=t.dump,i+=s)}t.tag=s,t.dump=i||"{}"}function R(t,r,i){let s=i?t.explicitTypes:t.implicitTypes;for(let o=0,l=s.length;o<l;o+=1){let l=s[o];if((l.instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof r&&r instanceof l.instanceOf)&&(!l.predicate||l.predicate(r))){if(i?l.multi&&l.representName?t.tag=l.representName(r):t.tag=l.tag:t.tag="?",l.represent){let i,s=t.styleMap[l.tag]||l.defaultStyle;if("[object Function]"===n.call(l.represent))i=l.represent(r,s);else if(a.call(l.represent,s))i=l.represent[s](r,s);else throw new e("!<"+l.tag+'> tag resolver accepts not "'+s+'" style');t.dump=i}return!0}}return!1}function j(t,r,a,i,s,o,l){let c,u;t.tag=null,t.dump=a,R(t,a,!1)||R(t,a,!0);let h=n.call(t.dump),d=i;i&&(i=t.flowLevel<0||t.flowLevel>r);let f="[object Object]"===h||"[object Array]"===h;if(f&&(u=-1!==(c=t.duplicates.indexOf(a))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&r>0)&&(s=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(f&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===h)i&&0!==Object.keys(t.dump).length?(T(t,r,t.dump,s),u&&(t.dump="&ref_"+c+t.dump)):(C(t,r,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===h)i&&0!==t.dump.length?(t.noArrayIndent&&!l&&r>0?O(t,r-1,t.dump,s):O(t,r,t.dump,s),u&&(t.dump="&ref_"+c+t.dump)):($(t,r,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===h)"?"!==t.tag&&v(t,t.dump,r,o,d);else{if("[object Undefined]"===h||t.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+h)}if(null!==t.tag&&"?"!==t.tag){let e=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21");e="!"===t.tag[0]?"!"+e:"tag:yaml.org,2002:"===e.slice(0,18)?"!!"+e.slice(18):"!<"+e+">",t.dump=e+" "+t.dump}}return!0}function E(t,e){let r=[],n=[];P(t,r,n);let a=n.length;for(let t=0;t<a;t+=1)e.duplicates.push(r[n[t]]);e.usedDuplicates=Array(a)}function P(t,e,r){if(null!==t&&"object"==typeof t){let n=e.indexOf(t);if(-1!==n)-1===r.indexOf(n)&&r.push(n);else if(e.push(t),Array.isArray(t))for(let n=0,a=t.length;n<a;n+=1)P(t[n],e,r);else{let n=Object.keys(t);for(let a=0,i=n.length;a<i;a+=1)P(t[n[a]],e,r)}}}function D(t,e){let r=new u(e=e||{});r.noRefs||E(t,r);let n=t;return(r.replacer&&(n=r.replacer.call({"":n},"",n)),j(r,0,n,!0,!0))?r.dump+"\n":""}return(0,G.K)(l,"compileStyleMap"),(0,G.K)(c,"encodeHex"),(0,G.K)(u,"State"),(0,G.K)(h,"indentString"),(0,G.K)(d,"generateNextLine"),(0,G.K)(f,"testImplicitResolving"),(0,G.K)(p,"isWhitespace"),(0,G.K)(g,"isPrintable"),(0,G.K)(y,"isNsCharOrWhitespace"),(0,G.K)(m,"isPlainSafe"),(0,G.K)(b,"isPlainSafeFirst"),(0,G.K)(k,"isPlainSafeLast"),
74(0,G.K)(w,"codePointAt"),(0,G.K)(x,"needIndentIndicator"),(0,G.K)(_,"chooseScalarStyle"),(0,G.K)(v,"writeScalar"),(0,G.K)(A,"blockHeader"),(0,G.K)(M,"dropEndingNewline"),(0,G.K)(S,"foldString"),(0,G.K)(K,"foldLine"),(0,G.K)(L,"escapeString"),(0,G.K)($,"writeFlowSequence"),(0,G.K)(O,"writeBlockSequence"),(0,G.K)(C,"writeFlowMapping"),(0,G.K)(T,"writeBlockMapping"),(0,G.K)(R,"detectType"),(0,G.K)(j,"writeNode"),(0,G.K)(E,"getDuplicateReferences"),(0,G.K)(P,"inspectNode"),(0,G.K)(D,"dump2"),tv.dump=D,tv}function tM(){if(X)return V;X=1;let t=t_(),e=tA();function r(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.")}}return(0,G.K)(r,"renamed"),V.Type=tn(),V.Schema=ta(),V.FAILSAFE_SCHEMA=tl(),V.JSON_SCHEMA=tf(),V.CORE_SCHEMA=tp(),V.DEFAULT_SCHEMA=tx(),V.load=t.load,V.loadAll=t.loadAll,V.dump=e.dump,V.YAMLException=te(),V.types={binary:tm(),float:td(),map:to(),null:tc(),pairs:tk(),set:tw(),timestamp:tg(),bool:tu(),int:th(),merge:ty(),omap:tb(),seq:ts(),str:ti()},V.safeLoad=r("safeLoad","load"),V.safeLoadAll=r("safeLoadAll","loadAll"),V.safeDump=r("safeDump","dump"),V}(0,G.K)(tA,"requireDumper"),(0,G.K)(tM,"requireJsYaml");var{JSON_SCHEMA:tS,load:tK}=Z(tM())},67710:(t,e,r)=>{"use strict";r.d(e,{WY:()=>M,dn:()=>A,pC:()=>_,Gc:()=>k});var n=r(14331),a=r(64129),i=r(50967);let s=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),o=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...o,...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 d(t,e,r){let n=t.icons,a=t.aliases||Object.create(null),i={};function s(t){i=h(n[t]||a[t],i)}return s(e),r.forEach(s),h(t,i)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...l}),p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(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(p);if(null===n||!n.length)return t;let a=[],i=n.shift(),s=g.test(i);for(;;){if(s){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("");s=!s}}let m=/\sid="(\S+)"/g,b=new Map;var k={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},w=new Map,x=new Map,_=(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.');if(a.R.debug("Registering icon pack:",e.name),"loader"in e)x.set(e.name,e.loader);else if("icons"in e)w.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&&!s(i)?null:i}let i=a[0],o=i.split("-");if(o.length>1){let t={provider:n,prefix:o.shift(),name:o.join("-")};return e&&!s(t)?null:t}if(r&&""===n){let t={provider:n,prefix:"",name:i};return e&&!s(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw Error(`Icon name must contain a prefix: ${t}`);let i=w.get(n);if(!i){let t=x.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{i={...await t(),prefix:n},w.set(n,i)}catch(t){throw a.R.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let o=function(t,e){if(t.icons[e])return d(t,e,[]);let r=function(t,e){let r=t.icons,n=t.aliases||Object.create(null),a=Object.create(null);
74return(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?d(t,e,r):null}(i,r.name);if(!o)throw Error(`Icon not found: ${t}`);return o},"getRegisteredIconData"),A=(0,i.K)(async t=>{try{return await v(t),!0}catch{return!1}},"isIconAvailable"),M=(0,i.K)(async(t,e,r)=>{let i;try{i=await v(t,e?.fallbackPrefix)}catch(t){a.R.error(t),i=k}let s=function(t,e){let r,n,a={...c,...t},i={...f,...e},s={left:a.left,top:a.top,width:a.width,height:a.height},o=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("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),r.push("scale(-1 1)"),s.top=s.left=0):a&&(r.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),r.push("scale(1 -1)"),s.top=s.left=0),i<0&&(i-=4*Math.floor(i/4)),i%=4){case 1:r.unshift("rotate(90 "+(e=s.height/2+s.top).toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:r.unshift("rotate(-90 "+(e=s.width/2+s.left).toString()+" "+e.toString()+")")}i%2==1&&(s.left!==s.top&&(e=s.left,s.left=s.top,s.top=e),s.width!==s.height&&(e=s.width,s.width=s.height,s.height=e)),r.length&&(o=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 s=t.indexOf(">",i);if(-1===s)break;r+=t.slice(a+1,i).trim(),t=t.slice(0,n).trim()+t.slice(s+1)}return{defs:r,content:t}}(t);return n=i.defs,a=e+i.content+r,n?"<defs>"+n+"</defs>"+a:a}(o,'<g transform="'+r.join(" ")+'">',"</g>"))});let l=i.width,u=i.height,h=s.width,d=s.height;null===l?r=y(n=null===u?"1em":"auto"===u?d:u,h/d):(r="auto"===l?h:l,n=null===u?y(r,d/h):"auto"===u?d:u);let p={},g=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(p[t]=e.toString())};g("width",r),g("height",n);let m=[s.left,s.top,h,d];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:o}}(i,e),o=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=m.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"),"")}(s.body),{...s.attributes,...r});return(0,n.jZ)(o,(0,n.zj)())},"getIconSVG")},67779:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(83698),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,o=n.A?n.A.toStringTag:void 0;let l=function(t){var e=i.call(t,o),r=t[o];try{t[o]=void 0;var n=!0}catch(t){}var a=s.call(t);return n&&(e?t[o]=r:delete t[o]),a};var c=Object.prototype.toString,u=n.A?n.A.toStringTag:void 0;let h=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):c.call(t)}},69001:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let n=function(t,e){return null!=t&&e in Object(t)};var a=r(71077);let i=function(t,e){return null!=t&&(0,a.A)(t,e,n)}},70902:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(30921),a=r(3017);let i=function(t){return(0,a.A)(t)&&(0,n.A)(t)}},71053:(t,e,r)=>{"use strict";r.d(e,{IU:()=>h,Oi:()=>o,U7:()=>u,U_:()=>d,on:()=>c});var n=r(18175),a=r(64249),i=r(64129),s=r(50967),o=(0,s.K)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins"),l=new Map;async function c(t,e,r){let i,s;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let o=e.shape?n.nq[e.shape]:void 0;if(!o)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let n;"sandbox"===r.config.securityLevel?n="_top":e.linkTarget&&(n=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",n??null),s=await o(i,e,r)}else i=s=await o(t,e,r);return i.attr("data-look",(0,a.KL)(e.look)),e.tooltip&&s.attr("title",e.tooltip),l.set(e.id,i),e.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}
74(0,s.K)(c,"insertNode");var u=(0,s.K)((t,e)=>{l.set(e.id,t)},"setNodeElem"),h=(0,s.K)(()=>{l.clear()},"clear"),d=(0,s.K)(t=>{let e=l.get(t.id);i.R.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode")},71077:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(18841),a=r(17695),i=r(48030),s=r(97490),o=r(10697),l=r(66934);let c=function(t,e,r){e=(0,n.A)(e,t);for(var c=-1,u=e.length,h=!1;++c<u;){var d=(0,l.A)(e[c]);if(!(h=null!=t&&r(t,d)))break;t=t[d]}return h||++c!=u?h:!!(u=null==t?0:t.length)&&(0,o.A)(u)&&(0,s.A)(d,u)&&((0,i.A)(t)||(0,a.A)(t))}},73142:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){return t(e)}}},73928:(t,e,r)=>{"use strict";function n(t,e,r){if(t&&t.length){let[n,a]=e,i=Math.PI/180*r,s=Math.cos(i),o=Math.sin(i);for(let e of t){let[t,r]=e;e[0]=(t-n)*s-(r-a)*o+n,e[1]=(t-n)*o+(r-a)*s+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 s=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(s=i),function(t,e,r,a=1){let i=Math.max(e,.1),s=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,o=[0,0];if(r)for(let t of s)n(t,o,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 s=[];e=Math.max(e,.1);let o=[];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]);o.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(o.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)),!o.length)return s;let l=[],c=o[0].ymin,u=0;for(;l.length||o.length;){if(o.length){let t=-1;for(let e=0;e<o.length&&!(o[e].ymin>c);e++)t=e;o.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;s.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 s}(s,i,a);if(r){for(let t of s)n(t,o,-r);let t=[];l.forEach(e=>t.push(...e)),n(t,o,-r)}return l}(t,i,a,s||1)}r.d(e,{A:()=>G});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 s(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 o 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,o=[],l=.5*r*Math.cos(i),c=.5*r*Math.sin(i);for(let[t,e]of n)s([t,e])&&o.push([[t[0]-l,t[1]+c],[...e]],[[t[0]+l,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(o,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 o of t){let t=s(o),l=Math.ceil(t/n)-1,c=t-l*n,u=(o[0][0]+o[1][0])/2-n/4,h=Math.min(o[0][1],o[1][1]);for(let t=0;t<l;t++){let s=u-i+2*Math.random()*i,o=h+c+t*n-i+2*Math.random()*i,l=this.helper.ellipse(s,o,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=s(t),o=Math.floor(i/(r+n)),l=(i+n-o*(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<o;t++){let i=t*(r+n),s=i+r,o=[c[0]+i*Math.cos(h)+l*Math.cos(h),c[1]+i*Math.sin(h)+l*Math.sin(h)],u=[c[0]+s*Math.cos(h)+l*Math.cos(h),c[1]+s*Math.sin(h)+l*Math.sin(h)];a.push(...this.helper.doubleLineOps(o[0],o[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(s(t)/(2*e)),i=t[0],o=t[1];i[0]>o[0]&&(i=t[1],o=t[0]);let l=Math.atan((o[1]-i[1])/(o[0]-i[0]));for(let t=0;t<a;t++){let a=2*t*e,s=2*(t+1)*e,o=Math.sqrt(2*Math.pow(e,2)),c=[i[0]+a*Math.cos(l),i[1]+a*Math.sin(l)],u=[i[0]+s*Math.cos(l),i[1]+s*Math.sin(l)],h=[c[0]+o*Math.cos(l+Math.PI/4),c[1]+o*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 d={};class f{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let p={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;
74)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 s=0,o=[];if("BOD"===n){if("M"!==i.text&&"m"!==i.text)return g("M0,0"+t);a++,s=p[i.text],n=i.text}else 1===i.type?s=p[n]:(a++,s=p[i.text],n=i.text);if(!(a+s<r.length))throw Error("Path data ended short");for(let t=a;t<a+s;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+n+","+e.text);o[o.length]=+e.text}if("number"!=typeof p[n])throw Error("Bad segment: "+n);{let t={key:n,data:o};e.push(t),a+=s,i=r[a],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function y(t){let e=0,r=0,n=0,a=0,i=[];for(let{key:s,data:o}of t)switch(s){case"M":i.push({key:"M",data:[...o]}),[e,r]=o,[n,a]=o;break;case"m":e+=o[0],r+=o[1],i.push({key:"M",data:[e,r]}),n=e,a=r;break;case"L":i.push({key:"L",data:[...o]}),[e,r]=o;break;case"l":e+=o[0],r+=o[1],i.push({key:"L",data:[e,r]});break;case"C":i.push({key:"C",data:[...o]}),e=o[4],r=o[5];break;case"c":{let t=o.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:[...o]}),e=o[2],r=o[3];break;case"q":{let t=o.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:[...o]}),e=o[5],r=o[6];break;case"a":e+=o[5],r+=o[6],i.push({key:"A",data:[o[0],o[1],o[2],o[3],o[4],e,r]});break;case"H":i.push({key:"H",data:[...o]}),e=o[0];break;case"h":e+=o[0],i.push({key:"H",data:[e]});break;case"V":i.push({key:"V",data:[...o]}),r=o[0];break;case"v":r+=o[0],i.push({key:"V",data:[r]});break;case"S":i.push({key:"S",data:[...o]}),e=o[2],r=o[3];break;case"s":{let t=o.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:[...o]}),e=o[0],r=o[1];break;case"t":e+=o[0],r+=o[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 m(t){let e=[],r="",n=0,a=0,i=0,s=0,o=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,s]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],a=u[5],o=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-o),i=a+(a-l)):(t=n,i=a),e.push({key:"C",data:[t,i,...u]}),o=u[0],l=u[1],n=u[2],a=u[3];break}case"T":{let[t,i]=u,s=0,c=0;"Q"===r||"T"===r?(s=n+(n-o),c=a+(a-l)):(s=n,c=a);let h=n+2*(s-n)/3,d=a+2*(c-a)/3,f=t+2*(s-t)/3,p=i+2*(c-i)/3;e.push({key:"C",data:[h,d,f,p,t,i]}),o=s,l=c,n=t,a=i;break}case"Q":{let[t,r,i,s]=u,c=n+2*(t-n)/3,h=a+2*(r-a)/3,d=i+2*(t-i)/3,f=s+2*(r-s)/3;e.push({key:"C",data:[c,h,d,f,i,s]}),o=t,l=r,n=i,a=s;break}case"A":{let t=Math.abs(u[0]),r=Math.abs(u[1]),i=u[2],s=u[3],o=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,s,o,l,c,u){let h=Math.PI*o/180,d=[],f=0,p=0,g=0,y=0;if(u)[f,p,g,y]=u;else{[e,r]=b(e,r,-h),[n,a]=b(n,a,-h);let t=(e-n)/2,o=(r-a)/2,u=t*t/(i*i)+o*o/(s*s);u>1&&(i*=u=Math.sqrt(u),s*=u);let d=i*i,m=s*s,k=(l===c?-1:1)*Math.sqrt(Math.abs((d*m-d*o*o-m*t*t)/(d*o*o+m*t*t)));g=k*i*o/s+(e+n)/2,y=-(k*s)*t/i+(r+a)/2,f=Math.asin(parseFloat(((r-y)/s).toFixed(9))),p=Math.asin(parseFloat(((a-y)/s).toFixed(9))),e<g&&(f=Math.PI-f),n<g&&(p=Math.PI-p),f<0&&(f=2*Math.PI+f),p<0&&(p=2*Math.PI+p),c&&f>p&&(f-=2*Math.PI),!c&&p>f&&(p-=2*Math.PI)}let m=p-f;if(Math.abs(m)>120*Math.PI/180){let e=p,r=n,l=a;d=t(n=g+i*Math.cos(p=c&&p>f?f+120*Math.PI/180*1:f+-(120*Math.PI/180*1)),a=y+s*Math.sin(p),r,l,i,s,o,0,c,[p,e,g,y])}m=p-f;let k=Math.cos(f),w=Math.cos(p),x=Math.tan(m/4),_=4/3*i*x,v=4/3*s*x,A=[e,r],M=[e+_*Math.sin(f),r-v*k],S=[n+_*Math.sin(p),a-v*w],K=[n,a];if(M[0]=2*A[0]-M[0],M[1]=2*A[1]-M[1],u)return[M,S,K].concat(d);{d=[M,S,K].concat(d);let t=[];for(let e=0;e<d.length;
vendor: 5,585 bytes, line 74
74e+=3){let r=b(d[e][0],d[e][1],h),n=b(d[e+1][0],d[e+1][1],h),a=b(d[e+2][0],d[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,s,o).forEach(function(t){e.push({key:"C",data:t})}),n=l,a=c);break}case"Z":e.push({key:"Z",data:[]}),n=i,a=s}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 k={randOffset:function(t,e){return T(t,e)},randOffsetWithRange:function(t,e,r){return C(t,e,r)},ellipse:function(t,e,r,n,a){let i=v(r,n,a);return A(t,e,a,i).opset},doubleLineOps:function(t,e,r,n,a){return R(t,e,r,n,a,!0)}};function w(t,e,r,n,a){return{type:"path",ops:R(t,e,r,n,a)}}function x(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?w(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function _(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,n=E(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:E(r[0],1.5*(1+.22*e.roughness),$(e));for(let t=1;t<r.length;t++){let i=r[t];if(i.length){let t=E(i,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:E(i,1.5*(1+.22*e.roughness),$(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),s=Math.abs(e/2),o=1-r.curveFitting;return i+=T(i*o,r),s+=T(s*o,r),{increment:a,rx:i,ry:s}}function A(t,e,r,n){let[a,i]=D(n.increment,t,e,n.rx,n.ry,1,n.increment*C(.1,C(.4,1,r),r),r),s=P(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=D(n.increment,t,e,n.rx,n.ry,1.5,0,r),i=P(a,null,r);s=s.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:s}}}function M(t,e,r,n,a,i,s,o,l){let c=Math.abs(r/2),u=Math.abs(n/2);c+=T(.01*c,l),u+=T(.01*u,l);let h=a,d=i;for(;h<0;)h+=2*Math.PI,d+=2*Math.PI;d-h>2*Math.PI&&(h=0,d=2*Math.PI);let f=Math.min(2*Math.PI/l.curveStepCount/2,(d-h)/2),p=I(f,t,e,c,u,h,d,1,l);if(!l.disableMultiStroke){let r=I(f,t,e,c,u,h,d,1.5,l);p.push(...r)}return s&&(o?p.push(...R(t,e,t+c*Math.cos(h),e+u*Math.sin(h),l),...R(t,e,t+c*Math.cos(d),e+u*Math.sin(d),l)):p.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+c*Math.cos(h),e+u*Math.sin(h)]})),{type:"path",ops:p}}function S(t,e){let r=m(y(g(t))),n=[],a=[0,0],i=[0,0];for(let{key:t,data:s}of r)switch(t){case"M":i=[s[0],s[1]],a=[s[0],s[1]];break;case"L":n.push(...R(i[0],i[1],s[0],s[1],e)),i=[s[0],s[1]];break;case"C":{let[t,r,a,o,l,c]=s;n.push(...function(t,e,r,n,a,i,s,o){let l=[],c=[o.maxRandomnessOffset||1,(o.maxRandomnessOffset||1)+.3],u=[0,0],h=o.disableMultiStroke?1:2,d=o.preserveVertices;for(let f=0;f<h;f++)0===f?l.push({op:"move",data:[s[0],s[1]]}):l.push({op:"move",data:[s[0]+(d?0:T(c[0],o)),s[1]+(d?0:T(c[0],o))]}),u=d?[a,i]:[a+T(c[f],o),i+T(c[f],o)],l.push({op:"bcurveTo",data:[t+T(c[f],o),e+T(c[f],o),r+T(c[f],o),n+T(c[f],o),u[0],u[1]]});return l}(t,r,a,o,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 K(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]+T(t,e),n[0][1]+T(t,e)]});for(let i=1;i<a;i++)r.push({op:"lineTo",data:[n[i][0]+T(t,e),n[i][1]+T(t,e)]})}}return{type:"fillPath",ops:r}}function L(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!d[r])switch(r){case"zigzag":d[r]||(d[r]=new o(e));break;case"cross-hatch":d[r]||(d[r]=new l(e));break;case"dots":d[r]||(d[r]=new c(e));break;case"dashed":d[r]||(d[r]=new u(e));break;case"zigzag-line":d[r]||(d[r]=new h(e));break;default:d[r="hachure"]||(d[r]=new i(e))}return d[r]})(e,k).fillPolygons(t,e)}function $(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 f(t.seed||0)),t.randomizer.next()}function C(t,e,r,n=1){return r.roughness*n*(O(r)*(e-t)+t)}function T(t,e,r=1){return C(-t,t,e,r)}function R(t,e,r,n,a,i=!1){let s=i?a.disableMultiStrokeFill:a.disableMultiStroke,o=j(t,e,r,n,a,!0,!1);if(s)return o;let l=j(t,e,r,n,a,!0,!0);return o.concat(l)}function j(t,e,r,n,a,i,s){let o=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(o),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let u=a.maxRandomnessOffset||0;u*u*100>o&&(u=l/10);let h=u/2,d=.2+.2*O(a),f=a.bowing*a.maxRandomnessOffset*(n-e)/200,p=a.bowing*a.maxRandomnessOffset*(t-r)/200;f=T(f,a,c),p=T(p,a,c);let g=[],y=()=>T(h,a,c),m=()=>T(u,a,c),b=a.preserveVertices;return i&&(s?g.push({op:"move",data:[t+(b?0:y()),e+(b?0:y())]}):g.push({op:"move",data:[t+(b?0:T(u,a,c)),e+(b?0:T(u,a,c))]})),s?g.push({op:"bcurveTo",data:[f+t+(r-t)*d+y(),p+e+(n-e)*d+y(),f+t+2*(r-t)*d+y(),p+e+2*(n-e)*d+y(),r+(b?0:y()),n+(b?0:y())]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*d+m(),p+e+(n-e)*d+m(),f+t+2*(r-t)*d+m(),p+e+2*(n-e)*d+m(),r+(b?0:m()),n+(b?0:m())]}),g}function E(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+T(e,r),t[0][1]+T(e,r)]),n.push([t[0][0]+T(e,r),t[0][1]+T(e,r)]);for(let a=1;a<t.length;a++)n.push([t[a][0]+T(e,r),t[a][1]+T(e,r)]),a===t.length-1&&n.push([t[a][0]+T(e,r),t[a][1]+T(e,r)]);return P(n,null,r)}function P(t,e,r){let n=t.length,a=[];if(n>3){let i=[],s=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]+(s*t[e+1][0]-s*t[e-1][0])/6,r[1]+(s*t[e+1][1]-s*t[e-1][1])/6],i[2]=[t[e+1][
740]+(s*t[e][0]-s*t[e+2][0])/6,t[e+1][1]+(s*t[e][1]-s*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]+T(t,r),e[1]+T(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(...j(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function D(t,e,r,n,a,i,s,o){let l=[],c=[];if(0===o.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=T(.5,o)-Math.PI/2;c.push([T(i,o)+e+.9*n*Math.cos(u-t),T(i,o)+r+.9*a*Math.sin(u-t)]);let h=2*Math.PI+u-.01;for(let s=u;s<h;s+=t){let t=[T(i,o)+e+n*Math.cos(s),T(i,o)+r+a*Math.sin(s)];l.push(t),c.push(t)}c.push([T(i,o)+e+n*Math.cos(u+2*Math.PI+.5*s),T(i,o)+r+a*Math.sin(u+2*Math.PI+.5*s)]),c.push([T(i,o)+e+.98*n*Math.cos(u+s),T(i,o)+r+.98*a*Math.sin(u+s)]),c.push([T(i,o)+e+.9*n*Math.cos(u+.5*s),T(i,o)+r+.9*a*Math.sin(u+.5*s)])}return[c,l]}function I(t,e,r,n,a,i,s,o,l){let c=i+T(.1,l),u=[];u.push([T(o,l)+e+.9*n*Math.cos(c-t),T(o,l)+r+.9*a*Math.sin(c-t)]);for(let i=c;i<=s;i+=t)u.push([T(o,l)+e+n*Math.cos(i),T(o,l)+r+a*Math.sin(i)]);return u.push([e+n*Math.cos(s),r+a*Math.sin(s)]),u.push([e+n*Math.cos(s),r+a*Math.sin(s)]),P(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 F(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function B(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function z(t,e,r,n,a){let i=a||[],s=t[e],o=t[r-1],l=0,c=1;for(let n=e+1;n<r-1;++n){let e=function(t,e,r){let n=F(e,r);if(0===n)return F(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return F(t,B(e,r,a=Math.max(0,Math.min(1,a))))}(t[n],s,o);e>l&&(l=e,c=n)}return Math.sqrt(l)>n?(z(t,e,c+1,n,i),z(t,c,r,n,i)):(i.length||i.push(s),i.push(o)),i}function q(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],s=3*n[0]-2*r[0]-i[0];s*=s;let o=3*n[1]-2*r[1]-i[1];o*=o;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,s<l&&(s=l),o<c&&(o=c),s+o}(e,r)<n){let t=e[r+0];i.length?Math.sqrt(F(i[i.length-1],t))>1&&i.push(t):i.push(t),i.push(e[r+3])}else{let a=e[r+0],s=e[r+1],o=e[r+2],l=e[r+3],c=B(a,s,.5),u=B(s,o,.5),h=B(o,l,.5),d=B(c,u,.5),f=B(u,h,.5),p=B(d,f,.5);t([a,c,d,p],0,n,i),t([p,f,h,l],0,n,i)}return i}(t,3*r,e,n);return r&&r>0?z(n,0,n.length,r):n}let U="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",[w(t,e,r,n,i)],i)}rectangle(t,e,r,n,a){var i,s,o,l;let c=this._o(a),u=[],h=x([[i=t,s=e],[i+(o=r),s],[i+o,s+(l=n)],[i,s+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(K([a],c)):u.push(L([a],c))}return c.stroke!==U&&u.push(h),this._d("rectangle",u,c)}ellipse(t,e,r,n,a){let i=this._o(a),s=[],o=v(r,n,i),l=A(t,e,i,o);if(i.fill)if("solid"===i.fillStyle){let r=A(t,e,i,o).opset;r.type="fillPath",s.push(r)}else s.push(L([l.estimatedPoints],i));return i.stroke!==U&&s.push(l.opset),this._d("ellipse",s,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",[x(t,!1,r)],r)}arc(t,e,r,n,a,i,s=!1,o){let l=this._o(o),c=[],u=M(t,e,r,n,a,i,s,!0,l);if(s&&l.fill)if("solid"===l.fillStyle){let s=Object.assign({},l);s.disableMultiStroke=!0;let o=M(t,e,r,n,a,i,!0,!1,s);o.type="fillPath",c.push(o)}else c.push(function(t,e,r,n,a,i,s){let o=Math.abs(r/2),l=Math.abs(n/2);o+=T(.01*o,s),l+=T(.01*l,s);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)/s.curveStepCount,d=[];for(let r=c;r<=u;r+=h)d.push([t+o*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+o*Math.cos(u),e+l*Math.sin(u)]),d.push([t,e]),L([d],s)}(t,e,r,n,a,i,l));
74return l.stroke!==U&&c.push(u),this._d("arc",c,l)}curve(t,e){let r=this._o(e),n=[],a=_(t,r);if(r.fill&&r.fill!==U)if("solid"===r.fillStyle){let e=_(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(...q(N([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...q(N(n),10,(1+r.roughness)/2));e.length&&n.push(L([e],r))}return r.stroke!==U&&n.push(a),this._d("curve",n,r)}polygon(t,e){let r=this._o(e),n=[],a=x(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(K([t],r)):n.push(L([t],r))),r.stroke!==U&&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!==U,i=r.stroke!==U,s=!!(r.simplification&&r.simplification<1),o=function(t,e,r){let n=m(y(g(t))),a=[],i=[],s=[0,0],o=[],l=()=>{o.length>=4&&i.push(...q(o,1)),o=[]},c=()=>{l(),i.length&&(a.push(i),i=[])};for(let{key:t,data:e}of n)switch(t){case"M":c(),s=[e[0],e[1]],i.push(s);break;case"L":l(),i.push([e[0],e[1]]);break;case"C":if(!o.length){let t=i.length?i[i.length-1]:s;o.push([t[0],t[1]])}o.push([e[0],e[1]]),o.push([e[2],e[3]]),o.push([e[4],e[5]]);break;case"Z":l(),i.push([s[0],s[1]])}if(c(),!r)return a;let u=[];for(let t of a){let e=z(t,0,t.length,r);e.length&&u.push(e)}return u}(t,0,s?4-4*(r.simplification||1):(1+r.roughness)/2),l=S(t,r);if(a)if("solid"===r.fillStyle)if(1===o.length){let e=S(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(K(o,r));else n.push(L(o,r));return i&&(s?o.forEach(t=>{n.push(x(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:U};break;case"fillPath":e={d:this.opsToPath(t),stroke:U,strokeWidth:0,fill:r.fill||U};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||U,strokeWidth:r,fill:U}}_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,s=!1,o){let l=this.gen.arc(t,e,r,n,a,i,s,o);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 H="http://www.w3.org/2000/svg";class X{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(H,"g"),i=t.options.fixedDecimalPlaceDigits;for(let s of e){let e=null;switch(s.type){case"path":(e=n.createElementNS(H,"path")).setAttribute("d",this.opsToPath(s,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(H,"path")).setAttribute("d",this.opsToPath(s,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,s,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(H,"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,s=!1,o){let l=this.gen.arc(t,e,r,n,a,i,s,o);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 G={canvas:(t,e)=>new Y(t,e),svg:(t,e)=>new X(t,e),generator:t=>new W(t),newSeed:()=>W.newSeed()}},74040:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(61966),a=r(49950);let i=t=>!((t=>{let{r:e,g:r,b:i}
74=a.A.parse(t),s=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(i);return n.A.lang.round(s)})(t)>=.5)},75967:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});let n=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};var a=r(17695),i=r(48030),s=r(11095),o=r(97490),l=r(87001),c=Object.prototype.hasOwnProperty;let u=function(t,e){var r=(0,i.A)(t),u=!r&&(0,a.A)(t),h=!r&&!u&&(0,s.A)(t),d=!r&&!u&&!h&&(0,l.A)(t),f=r||u||h||d,p=f?n(t.length,String):[],g=p.length;for(var y in t)(e||c.call(t,y))&&!(f&&("length"==y||h&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,o.A)(y,g)))&&p.push(y);return p}},76552:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",a="week",i="month",s="quarter",o="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}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},f="en",p={};p[f]={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",y=function(t){return t instanceof w||!(!t||!t[g])},m=function t(e,r,n){var a;if(!e)return f;if("string"==typeof e){var i=e.toLowerCase();p[i]&&(a=i),r&&(p[i]=r,a=i);var s=e.split("-");if(!a&&s.length>1)return t(s[0])}else{var o=e.name;p[o]=e,a=o}return!n&&a&&(f=a),a||!n&&f},b=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new w(r)},k={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(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),s=r-a<0,o=e.clone().add(n+(s?-1:1),i);return+(-(n+(r-a)/(s?a-o:o-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:i,y:o,w:a,d:"day",D:l,h:n,m:r,s:e,ms:t,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};k.l=m,k.i=y,k.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function d(t){this.$L=m(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var f=d.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(k.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()},f.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()},f.$utils=function(){return k},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},f.isAfter=function(t,e){return b(t)<this.startOf(e)},f.isBefore=function(t,e){return this.endOf(e)<b(t)},f.$g=function(t,e,r){return k.u(t)?this[e]:this.set(r,t)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,s){var c=this,u=!!k.u(s)||s,h=k.p(t),d=function(t,e){var r=k.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return u?r:r.endOf("day")},f=function(t,e){return k.w(c.toDate()[t].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},p=this.$W,g=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case o:return u?d(1,0):d(31,11);case i:return u?d(1,g):d(0,g+1);case a:var b=this.$locale().weekStart||0,w=(p<b?p+7:p)-b;return d(u?y-w:y+(6-w),g);case"day":case l:return f(m+"Hours",0);case n:return f(m+"Minutes",1);case r:return f(m+"Seconds",2);case e:return f(m+"Milliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(a,s){var c,u=k.p(a),h="set"+(this.$u?"UTC":""),d=((c={}).day=h+"Date",c[l]=h+"Date",c[i]=h+"Month",c[o]=h+"FullYear",c[n]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[u],f="day"===u?this.$D+(s-this.$W):s;if(u===i||u===o){var p=this.clone().set(l,1);p.$d[d](f),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](f);return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.get=function(t){return this[k.p(t)]()},f.add=function(t,s){var l,c=this;t=Number(t);var u=k.p(s),h=function(e){var r=b(c);return k.w(r.date(r.date()+Math.round(e*t)),c)};if(u===i)return this.set(i,this.$M+t);if(u===o)return this.set(o,this.$y+t);if("day"===u)return h(1);if(u===a)return h(7);var d=((l={})[r]=6e4,l[n]=36e5,l[e]=1e3,l)[u]||1,f=this.$d.getTime()+t*d;return k.w(f,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.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=k.z(this),i=this.$H,s=this.$m,o=this.$M,l=r.weekdays,u=r.months,d=r.meri
74diem,f=function(t,r,a,i){return t&&(t[r]||t(e,n))||a[r].slice(0,i)},p=function(t){return k.s(i%12||12,t,"0")},g=d||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 k.s(e.$y,4,"0");case"M":return o+1;case"MM":return k.s(o+1,2,"0");case"MMM":return f(r.monthsShort,o,u,3);case"MMMM":return f(u,o);case"D":return e.$D;case"DD":return k.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,l,2);case"ddd":return f(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return g(i,s,!0);case"A":return g(i,s,!1);case"m":return String(s);case"mm":return k.s(s,2,"0");case"s":return String(e.$s);case"ss":return k.s(e.$s,2,"0");case"SSS":return k.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(t,l,c){var u,h=this,d=k.p(l),f=b(t),p=(f.utcOffset()-this.utcOffset())*6e4,g=this-f,y=function(){return k.m(h,f)};switch(d){case o:u=y()/12;break;case i:u=y();break;case s:u=y()/3;break;case a:u=(g-p)/6048e5;break;case"day":u=(g-p)/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:k.a(u)},f.daysInMonth=function(){return this.endOf(i).$D},f.$locale=function(){return p[this.$L]},f.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=m(t,e,!0);return n&&(r.$L=n),r},f.clone=function(){return k.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},d}(),x=w.prototype;return b.prototype=x,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",l]].forEach(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,w,b),t.$i=!0),b},b.locale=m,b.isDayjs=y,b.unix=function(t){return b(1e3*t)},b.en=p[f],b.Ls=p,b.p={},b}()},77051:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return void 0===t}},78899:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(23989),a=r(11490),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;let o=s?function(t){return null==t?[]:(t=Object(t),(0,n.A)(s(t),function(e){return i.call(t,e)}))}:a.A},80241:(t,e,r)=>{"use strict";r.d(e,{D:()=>s});var n=r(14331),a=r(50967),i=r(66470),s=(0,a.K)(t=>{let{securityLevel:e}=(0,n.D7)(),r=(0,i.Ltv)("body");if("sandbox"===e){let e=(0,i.Ltv)(`#i${t}`),n=e.node()?.contentDocument??document;r=(0,i.Ltv)(n.body)}return r.select(`#${t}`)},"selectSvgElement")},80365:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(18841),a=r(66934);let i=function(t,e){e=(0,n.A)(e,t);for(var r=0,i=e.length;null!=t&&r<i;)t=t[(0,a.A)(e[r++])];return r&&r==i?t:void 0}},81941:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(98329);let a=(t,e)=>(0,n.A)(t,"l",-e)},83142:(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})},83698:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(11246).A.Symbol},84175:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(7817).A)("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},84607:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}},87001:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(67779),a=r(10697),i=r(3017),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var o=r(73142),l=r(9766),c=l.A&&l.A.isTypedArray;let u=c?(0,o.A)(c):function(t){return(0,i.A)(t)&&(0,a.A)(t.length)&&!!s[(0,n.A)(t)]}},88725:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let n=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var a=Math.max;let i=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var i=arguments,s=-1,o=a(i.length-e,0),l=Array(o);++s<o;)l[s]=i[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=i[s];return c[e]=r(l),n(t,this,c)}}},89810:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=Function.prototype.toString;let a=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},89902:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(61966),a=r(49950);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)}},90475:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e,r){for(var n=-1,a=Object(t),i=r(t),s=i.length;s--;){var o=i[++n];if(!1===e(a[o],o,a))break}return t}},90621:(t,e,r)=>{"use strict";r.d(e,{A:()=>
74o});var n=r(49270),a=r(19922),i=r(92693),s=r(48030);let o=function(t,e){return((0,s.A)(t)?n.A:a.A)(t,(0,i.A)(e))}},91243:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a}},91429:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});let n=function(t,e,r,n){var a=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++a]);++a<i;)r=e(r,t[a],a,t);return r};var a=r(19922),i=r(11498);let s=function(t,e,r,n,a){return a(t,function(t,a,i){r=n?(n=!1,t):e(r,t,a,i)}),r};var o=r(48030);let l=function(t,e,r){var l=(0,o.A)(t)?n:s,c=arguments.length<3;return l(t,(0,i.A)(e,4),r,c,a.A)}},92412:(t,e,r)=>{"use strict";r.d(e,{i:()=>a});var n=r(94059);function a(t){return(0,n.i)(t)}},92476:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return t.has(e)}},92693:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(66419);let a=function(t){return"function"==typeof t?t:n.A}},94059:(t,e,r)=>{"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,{i:()=>n})},96105:(t,e,r)=>{"use strict";r.d(e,{XX:()=>p,q7:()=>g,sO:()=>f});var n=r(39047),a=r(63537),i=r(71053),s=r(18175),o=r(64249),l=r(14331),c=r(64129),u=r(50967),h={common:l.Y2,getConfig:l.zj,insertCluster:n.U,insertEdge:a.Jo,insertEdgeLabel:a.jP,insertMarkers:a.g0,insertNode:i.on,interpolateToCurve:o.Ib,labelHelper:s.Zk,log:c.R,positionEdgeLabel:a.T_},d={},f=(0,u.K)(t=>{for(let e of t)d[e.name]=e},"registerLayoutLoaders");(0,u.K)(()=>{f([{name:"dagre",loader:(0,u.K)(async()=>await Promise.all([r.e(2499),r.e(1203)]).then(r.bind(r,91203)),"loader")},{name:"swimlane",loader:(0,u.K)(async()=>await r.e(8514).then(r.bind(r,70914)),"loader")},{name:"cose-bilkent",loader:(0,u.K)(async()=>await Promise.all([r.e(7634),r.e(3862)]).then(r.bind(r,43862)),"loader")}])},"registerDefaultLayoutLoaders")();var p=(0,u.K)(async(t,e)=>{if(!(t.layoutAlgorithm in d))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);if(t.diagramId)for(let e of t.nodes){let r=e.domId||e.id;e.domId=`${t.diagramId}-${r}`}let r=d[t.layoutAlgorithm],n=await r.loader(),{theme:a,themeVariables:i}=t.config,{useGradient:s,gradientStart:o,gradientStop:l}=i,c=e.attr("id");if(e.append("defs").append("filter").attr("id",`${c}-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",`${a?.includes("dark")?"#FFFFFF":"#000000"}`),e.append("defs").append("filter").attr("id",`${c}-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",`${a?.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",o).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",l).attr("stop-opacity",1)}return n.render(t,e,h,{algorithm:r.algorithm})},"render"),g=(0,u.K)((t="",{fallback:e="dagre"}={})=>{if(t in d)return t;if(e in d)return c.R.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},97490:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=/^(?:0|[1-9]\d*)$/;let a=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},98329:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(61966),a=r(49950);let i=(t,e,r)=>{let i=a.A.parse(t),s=i[e],o=n.A.channel.clamp[e](s+r);return s!==o&&(i[e]=o),a.A.stringify(i)}},98819:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(91243),a=r(13621);let i=function(t){var e;return null==t?[]:(e=(0,a.A)(t),(0,n.A)(e,function(e){return t[e]}))}}}]);

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.