PageSourceSearch

https://onefirewall.ai/_next/static/chunks/40059.602de4bd16419523.js

js onefirewall.ai collected 2026-10-02 00:46:52 UTC 332,296 bytes, 74 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40059],{1970:(t,e,r)=>{"use strict";r.d(e,{D:()=>s});var n=r(90278),a=r(95573),i=r(7471),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")},3837:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(39308),a=r(91122),i=r(45633),s=r(66455);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)}},7181:(t,e,r)=>{"use strict";r.d(e,{F:()=>a});var n=r(95573),a=(0,n.K)((t,e)=>{let{theme:r,themeVariables:a}=e,{useGradient:i,gradientStart:s,gradientStop:o}=a??{},l=t.attr("id"),c=r?.includes("dark")?"#FFFFFF":"#000000",u=(0,n.K)((e,r,n)=>t.append("defs").append("filter").attr("id",e).attr("height",r).attr("width",r).append("feDropShadow").attr("dx",n).attr("dy",n).attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",c),"dropShadow");if(u(`${l}-drop-shadow`,"130%","4"),u(`${l}-drop-shadow-small`,"150%","2"),!i)return;let h=t.append("linearGradient").attr("id",`${l}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");h.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),h.append("svg:stop").attr("offset","100%").attr("stop-color",o).attr("stop-opacity",1)},"insertLookDefs")},7471:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>eO,l78:()=>d,tlR:()=>h,qrM:()=>eN.Ay,Yu4:()=>eD.A,IA3:()=>eI.A,Wi0:()=>ej.dJ,PGM:()=>ej.kl,OEq:()=>ez,y8u:()=>eq,olC:()=>eY,IrU:()=>eG,oDi:()=>eQ,Q7f:()=>e0,cVp:()=>e2,lUB:()=>e5.A,Lx9:()=>e3.A,nVG:()=>e8.G,uxU:()=>e8.N,Xf2:()=>e9.A,GZz:()=>e6.Ay,UPb:()=>e6.Ps,dyv:()=>e6.Ko,GPZ:()=>tZ.GP,Sk5:()=>tQ,bEH:()=>ey,n8j:()=>e$.A,T9B:()=>a.A,jkA:()=>i.A,rLf:()=>eP,WH:()=>eb.WH,m4Y:()=>eb.m4,UMr:()=>eb.UM,w7C:()=>eb.w7,zt:()=>ek,Ltv:()=>ex,UAC:()=>rr.UA,DCK:()=>ri.DC,TUC:()=>rn.TU,Agd:()=>re.Ag,t6C:()=>e4.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:()=>t4});var n,a=r(15088),i=r(77722);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,p=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?o:l;function m(o){var l=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):s:a,y=Math.max(i,0)+h,b=e.range(),k=+b[0]+d,x=+b[b.length-1]+d,w=(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]),S=_.selectAll(".tick").data(l,e).order(),A=S.exit(),M=S.enter().append("g").attr("class","tick"),T=S.select("line"),L=S.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),S=S.merge(M),T=T.merge(M.append("line").attr("stroke","currentColor").attr(f+"2",p*i)),L=L.merge(M.append("text").attr("fill","currentColor").attr(f,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==_&&(v=v.transition(o),S=S.transition(o),T=T.transition(o),L=L.transition(o),A=A.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=w(t))?g(t+d):this.getAttribute("transform")}),M.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:w(t))+d)})),A.remove(),v.attr("d",4===t||2===t?u?"M"+p*u+","+k+"H"+d+"V"+x+"H"+p*u:"M"+d+","+k+"V"+x:u?"M"+k+","+p*u+"V"+d+"H"+x+"V"+p*u:"M"+k+","+d+"H"+x),S.attr("opacity",1).attr("transform",function(t){return g(w(t)+d)}),T.attr(f+"2",p*i),L.attr(f,p*y).text(m),_.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=w})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m}
1,m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),m):n&&n.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(i=u=+t,m):i},m.tickSizeInner=function(t){return arguments.length?(i=+t,m):i},m.tickSizeOuter=function(t){return arguments.length?(u=+t,m):u},m.tickPadding=function(t){return arguments.length?(h=+t,m):h},m.offset=function(t){return arguments.length?(d=+t,m):d},m}function h(t){return u(1,t)}function d(t){return u(3,t)}function p(){}function f(t){return null==t?p:function(){return this.querySelector(t)}}function g(){return[]}function m(t){return null==t?g:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}var k=Array.prototype.find;function x(){return this.firstElementChild}var w=Array.prototype.filter;function _(){return Array.from(this.children)}function v(t){return Array(t.length)}function S(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function A(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 S(t,i[o]);for(;o<l;++o)(s=e[o])&&(a[o]=s)}function M(t,e,r,n,a,i,s){var o,l,c,u=new Map,h=e.length,d=i.length,p=Array(h);for(o=0;o<h;++o)(l=e[o])&&(p[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 S(t,i[o]);for(o=0;o<h;++o)(l=e[o])&&u.get(p[o])===l&&(a[o]=l)}function T(t){return t.__data__}function L(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}S.prototype={constructor:S,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 K="http://www.w3.org/1999/xhtml";let O={svg:"http://www.w3.org/2000/svg",xhtml:K,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function $(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 C(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function E(t,e){return t.style.getPropertyValue(e)||C(t).getComputedStyle(t,null).getPropertyValue(e)}function R(t){return t.trim().split(/^|\s+/)}function P(t){return t.classList||new D(t)}function D(t){this._node=t,this._names=R(t.getAttribute("class")||"")}function I(t,e){for(var r=P(t),n=-1,a=e.length;++n<a;)r.add(e[n])}function N(t,e){for(var r=P(t),n=-1,a=e.length;++n<a;)r.remove(e[n])}function j(){this.textContent=""}function F(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function B(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function U(t){var e=$(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===K&&e.documentElement.namespaceURI===K?e.createElement(t):e.createElementNS(r,t)}})(e)}function W(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Y(){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=C(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
1patchEvent(a)}D.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=f(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=m(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?x:(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 w.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=y(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,T);var r=e?M:A,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,p="object"==typeof(y=t.call(u,u&&u.__data__,c,n))&&"length"in y?y:Array.from(y),f=p.length,g=o[c]=Array(f),m=s[c]=Array(f);r(u,h,g,m,l[c]=Array(d),p,e);for(var y,b,k,x,w=0,_=0;w<f;++w)if(k=g[w]){for(w>=_&&(_=w+1);!(x=m[_])&&++_<f;);k._next=x||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,p=o[l]=Array(d),f=0;f<d;++f)(c=u[f]||h[f])&&(p[f]=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=$(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)):E(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=R(t+"");
1if(arguments.length<2){for(var n=P(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)?I:N)(this,t)}}:e?function(t){return function(){I(this,t)}}:function(t){return function(){N(this,t)}})(r,e))},text:function(t){return arguments.length?this.each(null==t?j:("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(z)},lower:function(){return this.each(B)},append:function(t){var e="function"==typeof t?t:U(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var r="function"==typeof t?t:U(t),n=null==e?W:"function"==typeof e?e:f(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(q)},clone:function(t){return this.select(t?Y:H)},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,tp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tf(){return tu||(tp(tg),tu=td.now()+th)}function tg(){tu=0}function tm(){this._call=this._time=this._next=null}function ty(t,e,r){var n=new tm;return n.restart(t,e,r),n}function tb(){tu=(tc=td.now())+th,ts=to=0;try{tf(),++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,tx(n)}(),tu=0}}function tk(){var t=td.now(),e=t-tc;e>1e3&&(th-=e,tc=t)}function tx(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,tp(tb)))}function tw(t,e,r){var n=new tm;return e=null==e?0:+e,n.restart(r=>{n.stop(),t(r+e)},e,r),n}tm.prototype=ty.prototype={constructor:tm,restart:function(t,e,r){if("function"!=typeof t)throw TypeError("callback is not a function");r=(null==r?tf():+r)+(null==e?0:+e),this._next||ti===this||(ti?ti._next=this:ta=this,ti=this),this._call=t,this._time=r,tx()},stop:function(){this._call&&(this._call=null,this._time=1/0,tx())}};var t_=te("start","end","cancel","interrupt"),tv=[];function tS(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 tw(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(tw(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
1),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=ty(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 tA(t,e){var r=tT(t,e);if(r.state>0)throw Error("too late; already scheduled");return r}function tM(t,e){var r=tT(t,e);if(r.state>3)throw Error("too late; already running");return r}function tT(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}var tL=r(90088),tK=180/Math.PI,tO={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function t$(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)*tK,skewX:Math.atan(l)*tK,scaleX:s,scaleY:o}}function tC(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 tE=tC(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tO:t$(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tR=tC(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())?t$((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tO},", ",")",")");function tP(t,e,r){var n=t._id;return t.each(function(){var t=tM(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)}),function(t){return tT(t,n).value[e]}}var tD=r(36120),tI=r(81361),tN=r(23596);function tj(t,e){var r;return("number"==typeof e?tL.A:e instanceof tD.Ay?tI.Ay:(r=(0,tD.Ay)(e))?(e=r,tI.Ay):tN.A)(t,e)}var tF=J.prototype.constructor;function tz(t){return function(){this.style.removeProperty(t)}}var tB=0;function tU(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}var tW=J.prototype;tU.prototype=(function(t){return J().transition(t)}).prototype={constructor:tU,select:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=f(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,tS(h[d],e,r,d,h,tT(o,r)));return new tU(i,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=m(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,p=t.call(l,l.__data__,h,c),f=tT(l,r),g=0,y=p.length;g<y;++g)(d=p[g])&&tS(d,e,r,g,p,f);i.push(p),s.push(l)}return new tU(i,s,e,r)},selectChild:tW.selectChild,selectChildren:tW.selectChildren,filter:function(t){"function"!=typeof t&&(t=y(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 tU(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),p=0;p<h;
1++p)(l=c[p]||u[p])&&(d[p]=l);for(;o<n;++o)s[o]=e[o];return new tU(s,this._parents,this._name,this._id)},selection:function(){return new tF(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,r=++tB,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=tT(s,e);tS(s,t,r,c,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new tU(n,this._parents,t,r)},call:tW.call,nodes:tW.nodes,node:tW.node,size:tW.size,empty:tW.empty,each:tW.each,on:function(t,e){var r,n,a,i,s,o,l=this._id;return arguments.length<2?tT(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})?tA:tM,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=$(t),n="transform"===r?tR:tj;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,tP(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=$(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,p,f,g,m,y,b,k,x,w,_,v,S="transform"==(t+="")?tE:tj;return null==e?this.styleTween(t,(n=t,function(){var t=E(this,n),e=(this.style.removeProperty(n),E(this,n));return t===e?null:t===a&&e===i?s:s=S(a=t,i=e)})).on("end.style."+t,tz(t)):"function"==typeof e?this.styleTween(t,(o=t,l=tP(this,"style."+t,e),function(){var t=E(this,o),e=l(this),r=e+"";return null==e&&(this.style.removeProperty(o),r=e=E(this,o)),t===r?null:t===c&&r===u?h:(u=r,h=S(c=t,e))})).each((d=this._id,k="end."+(b="style."+(p=t)),function(){var t=tM(this,d),e=t.on,r=null==t.value[b]?y||(y=tz(p)):void 0;(e!==f||m!==r)&&(g=(f=e).copy()).on(k,m=r),t.on=g})):this.styleTween(t,(x=t,v=e+"",function(){var t=E(this,x);return t===v?null:t===w?_:_=S(w=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=tP(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=tT(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=tM(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=tM(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(){tA(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tA(this,t).delay=e}})(e,t)):tT(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tM(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tM(this,t).duration=e}})(e,t)):tT(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(){tM(this,t).ease=e}}(e,t)):tT(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();tM(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=tM(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]:tW[Symbol.iterator]};var tq={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}
1n=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 tU?(e=t._id,t=t._name):(e=++tB,(r=tq).time=tf(),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])&&tS(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 tU(n,this._parents,t,e)};let{abs:tH,max:tY,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(84688);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 t8=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,p,f,g,m,y=[],b=e.children,k=0,x=0,w=b.length,_=e.value;k<w;){l=a-r,c=i-n;do u=b[x++].value;while(!u&&x<w);for(h=d=u,f=Math.max(d/(m=u*u*(g=Math.max(c/l,l/c)/(_*t))),m/h);x<w;++x){if(u+=o=b[x].value,o<h&&(h=o),o>d&&(d=o),(p=Math.max(d/(m=u*u*g),m/h))>f){u-=o;break}f=p}y.push(s={value:u,dice:l<c,children:b.slice(k,x)}),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=x}}(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 t6(t){return function(){return t}}function t4(){var t=t8,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;
1h<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:t6(+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:t6(+t),u):s},u.paddingRight=function(t){return arguments.length?(o="function"==typeof t?t:t6(+t),u):o},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:t6(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:t6(+t),u):c},u}var t7=r(88962);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 ep)return ef(t);t instanceof tD.Gw||(t=(0,tD.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)}
1function 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 ep)return new ep(t.h,t.c,t.l,t.opacity);if(t instanceof eo||(t=es(t)),0===t.a&&0===t.b)return new ep(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ee;return new ep(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ep(t,e,r,null==n?1:n)}function ep(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function ef(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)(tD.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 tD.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)(ep,ed,(0,t7.X)(tD.Q1,{brighter(t){return new ep(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ep(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return ef(this).rgb()}}));var eg=r(13464);function em(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 ey=em(eg.lG);em(eg.Ay);var eb=r(65309);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 ex(t){return"string"==typeof t?new Q([[document.querySelector(t)]],[document.documentElement]):new Q([[t]],V)}var ew=r(65162),e_=r(82440),ev=r(19654);function eS(t){return t.innerRadius}function eA(t){return t.outerRadius}function eM(t){return t.startAngle}function eT(t){return t.endAngle}function eL(t){return t&&t.padAngle}function eK(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,p=e+h,f=r+u,g=n+h,m=(d+f)/2,y=(p+g)/2,b=f-d,k=g-p,x=b*b+k*k,w=a-i,_=d*g-f*p,v=(k<0?-1:1)*(0,e_.RZ)((0,e_.T9)(0,w*w*x-_*_)),S=(_*k-b*v)/x,A=(-_*b-k*v)/x,M=(_*k+b*v)/x,T=(-_*b+k*v)/x,L=S-m,K=A-y,O=M-m,$=T-y;return L*L+K*K>O*O+$*$&&(S=M,A=T),{cx:S,cy:A,x01:-u,y01:-h,x11:S*(a/w-1),y11:A*(a/w-1)}}function eO(){var t=eS,e=eA,r=(0,ew.A)(0),n=null,a=eM,i=eT,s=eL,o=null,l=(0,ev.i)(c);function c(){var c,u,h=+t.apply(this,arguments),d=+e.apply(this,arguments),p=a.apply(this,arguments)-e_.TW,f=i.apply(this,arguments)-e_.TW,g=(0,e_.tn)(f-p),m=f>p;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)(p),d*(0,e_.F8)(p)),o.arc(0,0,d,p,f,!m),h>e_.Ni&&(o.moveTo(h*(0,e_.gn)(f),h*(0,e_.F8)(f)),o.arc(0,0,h,f,p,m));else{var y,b,k=p,x=f,w=p,_=f,v=g,S=g,A=s.apply(this,arguments)/2,M=A>e_.Ni&&(n?+n.apply(this,arguments):(0,e_.RZ)(h*h+d*d)),T=(0,e_.jk)((0,e_.tn)(d-h)/2,+r.apply(this,arguments)),L=T,K=T;if(M>e_.Ni){var O=(0,e_.qR)(M/h*(0,e_.F8)(A)),$=(0,e_.qR)(M/d*(0,e_.F8)(A));(v-=2*O)>e_.Ni?(O*=m?1:-1,w+=O,_-=O):(v=0,w=_=(p+f)/2),(S-=2*$)>e_.Ni?($*=m?1:-1,k+=$,x-=$):(S=0,k=x=(p+f)/2)}var C=d*(0,e_.gn)(k),E=d*(0,e_.F8)(k),R=h*(0,e_.gn)(_),P=h*(0,e_.F8)(_);if(T>e_.Ni){var D,I=d*(0,e_.gn)(x),N=d*(0,e_.F8)(x),j=h*(0,e_.gn)(w),F=h*(0,e_.F8)(w);if(g<e_.pi)if(D=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]}(C,E,j,F,I,N,R,P)){var z=C-D[0],B=E-D[1],U=I-D[0],W=N-D[1],q=1/(0,e_.F8)((0,e_.HQ)((z*U+B*W)/((0,e_.RZ)(z*z+B*B)*(0,e_.RZ)(U*U+W*W)))/2),H=(0,e_.RZ)(D[0]*D[0]+D[1]*D[1]);L=(0,e_.jk)(T,(h-H)/(q-1)),K=(0,e_.jk)(T,(d-H)/(q+1))}else L=K=0}S>e_.Ni?K>e_.Ni?(y=eK(j,F,C,E,d,K,m),b=eK(I,N,R,P,d,K,m),o.moveTo(y.cx+y.x01,y.cy+y.y01),K<T?o.arc(y.cx,y.cy,K,(0,e_.FP)(y.y01,y.x01),(0,e_.FP)(b.y01,b.x01),!m):(o.ar
1c(y.cx,y.cy,K,(0,e_.FP)(y.y01,y.x01),(0,e_.FP)(y.y11,y.x11),!m),o.arc(0,0,d,(0,e_.FP)(y.cy+y.y11,y.cx+y.x11),(0,e_.FP)(b.cy+b.y11,b.cx+b.x11),!m),o.arc(b.cx,b.cy,K,(0,e_.FP)(b.y11,b.x11),(0,e_.FP)(b.y01,b.x01),!m))):(o.moveTo(C,E),o.arc(0,0,d,k,x,!m)):o.moveTo(C,E),h>e_.Ni&&v>e_.Ni?L>e_.Ni?(y=eK(R,P,I,N,h,-L,m),b=eK(C,E,j,F,h,-L,m),o.lineTo(y.cx+y.x01,y.cy+y.y01),L<T?o.arc(y.cx,y.cy,L,(0,e_.FP)(y.y01,y.x01),(0,e_.FP)(b.y01,b.x01),!m):(o.arc(y.cx,y.cy,L,(0,e_.FP)(y.y01,y.x01),(0,e_.FP)(y.y11,y.x11),!m),o.arc(0,0,h,(0,e_.FP)(y.cy+y.y11,y.cx+y.x11),(0,e_.FP)(b.cy+b.y11,b.cx+b.x11),m),o.arc(b.cx,b.cy,L,(0,e_.FP)(b.y11,b.x11),(0,e_.FP)(b.y01,b.x01),!m))):o.arc(0,0,h,_,w,m):o.lineTo(R,P)}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,ew.A)(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,ew.A)(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,ew.A)(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,ew.A)(+t),c):n},c.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,ew.A)(+t),c):a},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,ew.A)(+t),c):i},c.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:(0,ew.A)(+t),c):s},c.context=function(t){return arguments.length?(o=null==t?null:t,c):o},c}var e$=r(52476),eC=r(26207);function eE(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function eR(t){return t}function eP(){var t=eR,e=eE,r=null,n=(0,ew.A)(0),a=(0,ew.A)(e_.FA),i=(0,ew.A)(0);function s(s){var o,l,c,u,h,d=(s=(0,eC.A)(s)).length,p=0,f=Array(d),g=Array(d),m=+n.apply(this,arguments),y=Math.min(e_.FA,Math.max(-e_.FA,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/d,i.apply(this,arguments)),k=b*(y<0?-1:1);for(o=0;o<d;++o)(h=g[f[o]=o]=+t(s[o],o,s))>0&&(p+=h);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(s[t],s[e])}),o=0,c=p?(y-d*k)/p:0;o<d;++o,m=u)u=m+((h=g[l=f[o]])>0?h*c:0)+k,g[l]={data:s[l],index:o,value:h,startAngle:m,endAngle:u,padAngle:b};return g}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,ew.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,ew.A)(+t),s):n},s.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,ew.A)(+t),s):a},s.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,ew.A)(+t),s):i},s}var eD=r(71280),eI=r(37092),eN=r(83996),ej=r(37966);function eF(t,e){this._basis=new eN.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 ez=function t(e){function r(t){return 1===e?new eN.xO(t):new eF(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var eB=r(98126);function eU(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 eW(t,e){this._context=t,this._k=(1-e)/6}eW.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:eU(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:eU(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 eq=function t(e){function r(t){return new eW(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eH(t,e){this._context=t,this._k=(1-e)/6}eH.prototype={areaStart:eB.A,areaEnd:eB.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:eU(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 eY=function t(e){function r(t){return new eH(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:eU(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 eW(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:eB.A,areaEnd:eB.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 eH(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(6063),e5=r(9263),e8=r(30045),e9=r(35375),e6=r(15992),e4=r(95576),e7=r(23019),rt=r(84839),re=r(13865),rr=r(7803),rn=r(45891),ra=r(70939),ri=r(71820);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},9460:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39308),a=r(45633);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)}},13062:(t,e,r)=>{"use strict";r.d(e,{WY:()=>A,dn:()=>S,pC:()=>_,Gc:()=>k}
1);var n=r(90278),a=r(37395),i=r(95573);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,n,a=(r={},!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0),(n=((t.rotate||0)+(e.rotate||0))%4)&&(r.rotate=n),r);for(let r in u)r in l?r in t&&!(r in a)&&(a[r]=l[r]):r in e?a[r]=e[r]:r in t&&(a[r]=t[r]);return a}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 p=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let n=t.split(f);if(null===n||!n.length)return t;let a=[],i=n.shift(),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 y=/\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},x=new Map,w=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)w.set(e.name,e.loader);else if("icons"in e)x.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=x.get(n);if(!i){let t=w.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{i={...await t(),prefix:n},x.set(n,i)}catch(t){throw a.R.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let o=function(t,e){var r;let n,a,i;if(t.icons[e])return d(t,e,[]);let s=(r=[e],n=t.icons,a=t.aliases||Object.create(null),i=Object.create(null),(r||Object.keys(n).concat(Object.keys(a))).forEach(function t(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let r=a[e]&&a[e].parent,n=r&&t(r);n&&(i[e]=[r].concat(n))}return i[e]}),i)[e];return s?d(t,e,s):null}(i,r.name);if(!o)throw Error(`Icon not found: ${t}`);return o},"getRegisteredIconData"),S=(0,i.K)(async t=>{try{return await v(t),!0}catch{return!1}},"isIconAvailable"),A=(0,i.K)(async(t,e,r)=>{var i;let s,o,l,u,h,d,f,g,x,w,_,S,A,M;try{s=await v(t,e?.fallbackPrefix)}catch(t){a.R.error(t),s=k}let T=(i=s,u={...c,...i},h={...p,...e},d={left:u.left,top:u.top,width:u.width,height:u.height},f=u.body,[u,h].forEach(t=>{var e,r,n,a;let i,s,o=[],l=t.hFlip,c=t.vFlip,u=t.rotate;switch(l?c?u+=2:(o.push("translate("+(d.width+d.left).toString()+" "+(0-d.top).toString()+")"),o.push("scale(-1 1)"),d.top=d.left=0):c&&(o.push("translate("+(0-d.left).toString()+" "+(d.height+d.top).toString()+")"),o.push("scale(1 -1)"),d.top=d.left=0),u<0&&(u-=4*Math.floor(u/4)),u%=4){case 1:o.unshift("rotate(90 "+(i=d.height/2+d.top).toString()+" "+i.toString()+")");break;case 2:o.unshift("rotate(180 "+(d.width/2+d.left).toString()+" "+(d.height/2+d.top).toString()+")");break;case 3:o.unshift("rotate(-90 "+(i=d.width/2+d.left).toString()+" "+i.toString()+")")}u%2==1&&(d.left!==d.top&&(i=d.left,d.left=d.top,d.top=i),d.width!==d.height&&(i=d.width,d.width=d.height,d.height=i)),o.length&&(e=f,r='<g transform="'+o.join(" ")+'">',n=(s=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}}(e)).defs,a=r+s.content+"</g>
1",f=n?"<defs>"+n+"</defs>"+a:a)}),g=h.width,x=h.height,w=d.width,_=d.height,null===g?o=m(l=null===x?"1em":"auto"===x?_:x,w/_):(o="auto"===g?w:g,l=null===x?m(o,_/w):"auto"===x?_:x),S={},(A=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(S[t]=e.toString())})("width",o),A("height",l),S.viewBox=(M=[d.left,d.top,w,_]).join(" "),{attributes:S,viewBox:M,body:f}),L=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t){let e,r=[];for(;e=y.exec(t);)r.push(e[1]);if(!r.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return r.forEach(e=>{var r;let a,i=(r=(r=e).replace(/[0-9]+$/,"")||"a",a=b.get(r)||0,b.set(r,a+1),a?`${r}${a}`:r),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(T.body),{...T.attributes,...r});return(0,n.jZ)(L,(0,n.zj)())},"getIconSVG")},16581:(t,e,r)=>{"use strict";r.d(e,{IU:()=>h,Oi:()=>o,U7:()=>u,U_:()=>d,on:()=>c});var n=r(16452),a=r(85650),i=r(37395),s=r(95573),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}(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")},23407:(t,e,r)=>{"use strict";r.d(e,{H:()=>tT,r:()=>tM});var n,a,i,s,o,l,c,u,h,d,p,f,g,m,y,b,k,x,w,_,v,S,A,M,T,L,K,O,$,C,E,R,P,D,I,N,j,F,z,B,U,W,q,H,Y,X,G=r(95573);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 p=e(n.buffer,o[c],l[c],n.position,d);u+=t.repeat(" ",a.indent)+r((n.line+1).toString(),h)+" | "+p.str+"\n"+t.repeat("-",a.indent+h+3+p.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$/,"")}
1return(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)}return(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 p?d:(p=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?f:(g=1,f=new(tn())("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,G.K)(function(t){return null!==t?t:[]},"construct")}))}function to(){return y?m:(y=1,m=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(w)return x;w=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"),x=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(A)return S;A=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;
1if("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)}return(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"),S=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)}
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(T)return M;T=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"),M=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:a,construct:i,predicate:l,represent:o,defaultStyle:"lowercase"})}function tp(){return K?L:(K=1,L=tl().extend({implicit:[tc(),tu(),th(),td()]}))}function tf(){return $?O:($=1,O=tp())}function tg(){if(E)return C;E=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"),C=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:n,construct:a,instanceOf:Date,represent:i})}function tm(){if(P)return R;P=1;let t=tn();function e(t){return"<<"===t||null===t}return(0,G.K)(e,"resolveYamlMerge"),R=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e})}function ty(){if(I)return D;I=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"),D=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:n,predicate:i,represent:a})}function tb(){if(j)return N;j=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"),N=new t("tag:yaml.org,2002:omap",{
1kind:"sequence",resolve:n,construct:a})}function tk(){if(z)return F;z=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 tx(){if(U)return B;U=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"),B=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:n})}function tw(){return q?W:(q=1,W=tf().extend({implicit:[tg(),tm()],explicit:[ty(),tb(),tk(),tx()]}))}function t_(){if(H)return Q;H=1;let t=tt(),e=te(),r=tr(),n=tw(),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 p(t){return 9===t||32===t||10===t||13===t}function f(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 m(t){return 120===t?2:117===t?4:8*(85===t)}function y(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 x(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)(p,"isWsOrEol"),(0,G.K)(f,"isFlowIndicator"),(0,G.K)(g,"fromHexCode"),(0,G.K)(m,"escapedHexLen"),(0,G.K)(y,"fromDecimalCode"),(0,G.K)(b,"simpleEscapeSequence"),(0,G.K)(k,"charFromCodepoint"),(0,G.K)(x,"setProperty");let w=Array(256),_=Array(256);for(let t=0;t<256;t++)w[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 S(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 A(t,e){throw S(t,e)}function M(t,e){t.onWarning&&t.onWarning.call(null,S(t,e))}function T(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 K(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 $(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 C(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}
1(0,G.K)(v,"State"),(0,G.K)(S,"generateError"),(0,G.K)(A,"throwError"),(0,G.K)(M,"throwWarning"),(0,G.K)(T,"storeAnchor"),(0,G.K)(L,"beginAnchorTransaction"),(0,G.K)(K,"commitAnchorTransaction"),(0,G.K)(O,"rollbackAnchorTransaction"),(0,G.K)($,"snapshotState"),(0,G.K)(C,"restoreState");let E={YAML:(0,G.K)(function(t,e,r){null!==t.version&&A(t,"duplication of %YAML directive"),1!==r.length&&A(t,"YAML directive accepts exactly one argument");let n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);null===n&&A(t,"ill-formed argument of the YAML directive");let a=parseInt(n[1],10),i=parseInt(n[2],10);1!==a&&A(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&M(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,G.K)(function(t,e,r){let n;2!==r.length&&A(t,"TAG directive accepts exactly two arguments");let i=r[0];n=r[1],l.test(i)||A(t,"ill-formed tag handle (first argument) of the TAG directive"),a.call(t.tagMap,i)&&A(t,'there is a previously declared suffix for "'+i+'" tag handle'),c.test(n)||A(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){A(t,"tag prefix is malformed: "+n)}t.tagMap[i]=n},"handleTagDirective")};function R(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;
1e+=1){let r=a.charCodeAt(e);9===r||r>=32&&r<=1114111||A(t,"expected valid JSON character")}else i.test(a)&&A(t,"the stream contains non-printable characters");t.result+=a}}function P(e,r,n,i){t.isObject(n)||A(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&&A(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),a.call(r,o)||(x(r,o,n[o]),i[o]=!0)}}function D(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])&&A(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)P(t,e,s[n],r);else P(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,A(t,"duplicated mapping key")),x(e,i,s),delete r[i];return e}function I(t){let e=t.input.charCodeAt(t.position);10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):A(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function N(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(I(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&&M(t,"deficient indentation"),n}function j(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))||p(r)))||!1}function F(e,r){1===r?e.result+=" ":r>1&&(e.result+=t.repeat("\n",r-1))}function z(t,e,r){let n,a,i,s,o,l,c=t.kind,u=t.result,g=t.input.charCodeAt(t.position);if(p(g)||f(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(p(e)||r&&f(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(p(e)||r&&f(e))break}else if(35===g){if(p(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&j(t)||r&&f(g))break;else if(h(g)){if(s=t.line,o=t.lineStart,l=t.lineIndent,N(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&&(R(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 R(t,n,a,!1),!!t.result||(t.kind=c,t.result=u,!1)}function B(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(R(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)?(R(t,r,n,!0),F(t,N(t,!1,e)),r=n=t.position):t.position===t.lineStart&&j(t)?A(t,"unexpected end of the document within a single quoted scalar"):(t.position++,d(a)||(n=t.position));A(t,"unexpected end of the stream within a single quoted scalar")}function U(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 R(t,r,t.position,!0),t.position++,!0;else if(92===i){if(R(t,r,t.position,!0),h(i=t.input.charCodeAt(++t.position)))N(t,!1,e);else if(i<256&&w[i])t.result+=_[i],t.position++;else if((a=m(i))>0){let e=a,r=0;for(;e>0;e--)(a=g(i=t.input.charCodeAt(++t.position)))>=0?r=(r<<4)+a:A(t,"expected hexadecimal character");t.result+=k(r),t.position++}else A(t,"unknown escape sequence");r=n=t.position}else h(i)?(R(t,r,n,!0),F(t,N(t,!1,e)),r=n=t.position):t.position===t.lineStart&&j(t)?A(t,"unexpected end of the document within a double quoted scalar"):(t.position++,d(i)||(n=t.position));A(t,"unexpected end of the stream within a double quoted scalar")}function W(t,e){let r,n,a,i,s,o,l,c,u,h,d,f=!0,g=t.tag,m=t.anchor,y=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&&T(t,t.anchor,i),b=t.input.charCodeAt(++t.position);0!==b;){if(N(t,!0,e),(b=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=g,t.anchor=m,t.kind=c?"mapping":"sequence",t.result=i,!0;f?44===b&&A(t,"expected the node content, but found ','"):A(t,"missed comma between flow collection entries"),h=u=d=null,o=l=!1,63===b&&p(t.input.charCodeAt(t.position+1))&&(o=l=!0,t.position++,N(t,!0,e)),r=t.line,n=t.lineStart,a=t.position,ta(t,e,1,!1,!0),h=t.tag,u=t.result,N(t,!0,e),b=t.input.charCodeAt(t.position),(l||t.line===r)&&58===b&&(o=!0,b=t.input.charCodeAt(++t.position),N(t,!0,e),ta(t,e,1,!1,!0),d=t.result),c?D(t,i,y,h,u,d,r,n,a):o?i.push(D(t,null,y,h,u,d,r,n,a)):i.push(u),N(t,!0,e),44===(b=t.input.charCodeAt(t.position))?(f=!0,b=t.input.charCodeAt(++t.position)):f=!1}A(t,"unexpected end of the stream within a flow collection")}function q(e,r){let n,a,i=1,s=!1,o=!1,l=r,c=0,u=!1,p=e.input.charCodeAt(e.position);if(124===p)n=!1;else{if(62!==p)return!1;n=!0}for(e.kind="scalar",e.result="";0!==p;)if(43===(p=e.input.charCodeAt(++e.position))||45===p)1===i?i=43===p?3:2:A(e,"repeat of a chomping mode identifier");else if((a=y(p))>=0)0===a?A(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?A(e,"repeat of an indentation width identifier"):(l=r+a-1,o=!0);else break;if(d(p)){do p=e.input.charCodeAt(++e.position);while(d(p));if(35===p)do p=e.input.charCodeAt(++e.position);while(!h(p)&&0!==p)}for(;0!==p;){for(I(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&32===p;)e.lineIndent++,p=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),h(p)){c++;continue}if(o||0!==l||A(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(p)?(u=!0,e.result+=t.repeat("\n",s?1+c:c)):u?(u=!1,e.result+=t.repeat("\n",c+1)):0===c?s&&
1(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(p)&&0!==p;)p=e.input.charCodeAt(++e.position);R(e,r,e.position,!1)}return!0}function Y(t,e){let r=t.tag,n=t.anchor,a=[],i=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&T(t,t.anchor,a);let s=t.input.charCodeAt(t.position);for(;0!==s&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,A(t,"tab characters must not be used in indentation")),45===s&&p(t.input.charCodeAt(t.position+1)));){if(i=!0,t.position++,N(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),N(t,!0,-1),s=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==s)A(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,f=null,g=null,m=!1,y=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&T(t,t.anchor,c);let b=t.input.charCodeAt(t.position);for(;0!==b;){m||-1===t.firstTabInLine||(t.position=t.firstTabInLine,A(t,"tab characters must not be used in indentation"));let k=t.input.charCodeAt(t.position+1),x=t.line;if((63===b||58===b)&&p(k))63===b?(m&&(D(t,c,u,h,f,null,a,i,s),h=f=g=null),y=!0,m=!0,n=!0):m?(m=!1,n=!0):A(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===x){for(b=t.input.charCodeAt(t.position);d(b);)b=t.input.charCodeAt(++t.position);if(58===b)p(b=t.input.charCodeAt(++t.position))||A(t,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(D(t,c,u,h,f,null,a,i,s),h=f=g=null),y=!0,m=!1,n=!1,h=t.tag,f=t.result;else{if(!y)return t.tag=o,t.anchor=l,!0;A(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return t.tag=o,t.anchor=l,!0;A(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===x||t.lineIndent>e)&&(m&&(a=t.line,i=t.lineStart,s=t.position),ta(t,e,4,!0,n)&&(m?f=t.result:g=t.result),m||(D(t,c,u,h,f,g,a,i,s),h=f=g=null),N(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===x||t.lineIndent>e)&&0!==b)A(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return m&&D(t,c,u,h,f,null,a,i,s),y&&(t.tag=o,t.anchor=l,t.kind="mapping",t.result=c),y}function Z(t){let e,r,n=!1,i=!1,s=t.input.charCodeAt(t.position);if(33!==s)return!1;null!==t.tag&&A(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)):A(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!p(s);)33===s&&(i?A(t,"tag suffix cannot contain exclamation marks"):(e=t.input.slice(u-1,t.position+1),l.test(e)||A(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)&&A(t,"tag suffix cannot contain flow indicator characters")}r&&!c.test(r)&&A(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){A(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:A(t,'undeclared tag handle "'+e+'"'),!0}function V(t){let e=t.input.charCodeAt(t.position);if(38!==e)return!1;null!==t.anchor&&A(t,"duplication of an anchor property"),e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!p(e)&&!f(e);)e=t.input.charCodeAt(++t.position);return t.position===r&&A(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&&!p(e)&&!f(e);)e=t.input.charCodeAt(++t.position);t.position===r&&A(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)||A(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],N(t,!0,-1),!0}function tn(t,e,r,n){let a=$(t);return(L(t),C(t,e),t.tag=null,t.anchor=null,t.kind=null,t.result=null,X(t,r,n)&&"mapping"===t.kind)?(K(t),!0):(O(t),C(t,a),!1)}function ta(t,e,r,n,i){let s,o,l,c,u,h=1,d=!1,p=!1,f=null;t.depth>=t.maxDepth&&A(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&&N(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=$(t);if(d&&(33===r&&null!==t.tag||38===r&&null!==t.anchor)||!Z(t)&&!V(t))break;null===f&&(f=n),N(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&&(Y(t,u)||X(t,u,c))||W(t,c)
1)p=!0;else{let e=t.input.charCodeAt(t.position);null!==f&&g&&!o&&124!==e&&62!==e&&tn(t,f,f.position-f.lineStart,c)||s&&q(t,c)||B(t,c)||U(t,c)?p=!0:J(t)?(p=!0,(null!==t.tag||null!==t.anchor)&&A(t,"alias node should not have any properties")):z(t,c,1===r)&&(p=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&T(t,t.anchor,t.result)}else 0===h&&(p=o&&Y(t,u));if(null===t.tag)null!==t.anchor&&T(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&A(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&&T(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||A(t,"unknown tag !<"+t.tag+">"),null!==t.result&&l.kind!==t.kind&&A(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&&T(t,t.anchor,t.result)):A(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||p}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))&&(N(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&&!p(e);)e=t.input.charCodeAt(++t.position);let i=t.input.slice(r,t.position),s=[];for(i.length<1&&A(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&&!p(e);)e=t.input.charCodeAt(++t.position);s.push(t.input.slice(r,t.position))}0!==e&&I(t),a.call(E,i)?E[i](t,i,s):M(t,'unknown document directive "'+i+'"')}if(N(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,N(t,!0,-1)):n&&A(t,"directives end mark is expected"),ta(t,t.lineIndent-1,4,!1,!0),N(t,!0,-1),t.checkLineBreaks&&s.test(t.input.slice(r,t.position))&&M(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&j(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,N(t,!0,-1));return}t.position<t.length-1&&A(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,A(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")}}return(0,G.K)(R,"captureSegment"),(0,G.K)(P,"mergeMappings"),(0,G.K)(D,"storeMappingPair"),(0,G.K)(I,"readLineBreak"),(0,G.K)(N,"skipSeparationSpace"),(0,G.K)(j,"testDocumentSeparator"),(0,G.K)(F,"writeFoldedLines"),(0,G.K)(z,"readPlainScalar"),(0,G.K)(B,"readSingleQuotedScalar"),(0,G.K)(U,"readDoubleQuotedScalar"),(0,G.K)(W,"readFlowCollection"),(0,G.K)(q,"readBlockScalar"),(0,G.K)(Y,"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.
1K)(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)(tp,"requireJson"),(0,G.K)(tf,"requireCore"),(0,G.K)(tg,"requireTimestamp"),(0,G.K)(tm,"requireMerge"),(0,G.K)(ty,"requireBinary"),(0,G.K)(tb,"requireOmap"),(0,G.K)(tk,"requirePairs"),(0,G.K)(tx,"requireSet"),(0,G.K)(tw,"require_default"),(0,G.K)(t_,"requireLoader");var tv={};function tS(){if(Y)return tv;Y=1;let t=tt(),e=te(),r=tw(),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 p(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 f(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 m(t){return g(t)&&65279!==t&&13!==t&&10!==t}function y(t,e,r){let n=m(t),a=n&&!f(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||m(e)&&!f(e)&&35===t||58===e&&a}function b(t){return g(t)&&65279!==t&&!f(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!f(t)&&58!==t}function x(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 w(t){return/^\n* /.test(t)}function _(t,e,r,n,a,i,s,o){let l,c=0,u=null,h=!1,d=!1,p=-1!==n,f=-1,m=b(x(t,0))&&k(x(t,t.length-1));if(e||s)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!g(c=x(t,l)))return 5;m=m&&y(c,u,o),u=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=x(t,l)))h=!0,p&&(d=d||l-f-1>n&&" "!==t[f+1],f=l);else if(!g(c))return 5;m=m&&y(c,u,o),u=c}d=d||p&&l-f-1>n&&" "!==t[f+1]}return h||d?r>9&&w(t)?5:s?2===i?5:2:d?4:3:!m||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 p(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"|"+S(r,t.indent)+A(h(r,l));case 4:return">"+S(r,t.indent)+A(h(M(r,c),l));case 5:return'"'+L(r)+'"';default:throw new e("impossible error: invalid scalar style")}}()}function S(t,e){let r=w(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function A(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function M(t,e){let r,n,a,i=/(\n+)([^\n]*)/g,s=(i.lastIndex=a=-1!==(a=t.indexOf("\n"))?a:t.length,T(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")+T(a,e),o=r}return s}function T(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=x(t,n)];!a&&g(r)?(e+=t[n],r>=65536&&(e+=t[n+1])):e+=a||c(r)}return e}function K(t,e,r){let n="",a=t.tag;for(let a=0,i=r.length;a<i;a+=1){let i=r[a];t.replacer&&(i=t.replacer.call(r,String(a),i)),(R(t,e,i,!1,!1)||void 0===i&&R(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)),(R(t,e+1,s,!0,!0,!1,!0)||void 0===s&&R(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 $(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];
1t.replacer&&(l=t.replacer.call(r,o,l)),R(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),R(t,e,l,!1,!1)&&(s+=t.dump,n+=s))}t.tag=a,t.dump="{"+n+"}"}function C(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)),!R(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)),R(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 E(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 R(t,r,a,i,s,o,l){let c,u;t.tag=null,t.dump=a,E(t,a,!1)||E(t,a,!0);let h=n.call(t.dump),d=i;i&&(i=t.flowLevel<0||t.flowLevel>r);let p="[object Object]"===h||"[object Array]"===h;if(p&&(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(p&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===h)i&&0!==Object.keys(t.dump).length?(C(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 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)):(K(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 P(t,e){let r=[],n=[];D(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 D(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)D(t[n],e,r);else{let n=Object.keys(t);for(let a=0,i=n.length;a<i;a+=1)D(t[n[a]],e,r)}}}function I(t,e){let r=new u(e=e||{});r.noRefs||P(t,r);let n=t;return(r.replacer&&(n=r.replacer.call({"":n},"",n)),R(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)(p,"testImplicitResolving"),(0,G.K)(f,"isWhitespace"),(0,G.K)(g,"isPrintable"),(0,G.K)(m,"isNsCharOrWhitespace"),(0,G.K)(y,"isPlainSafe"),(0,G.K)(b,"isPlainSafeFirst"),(0,G.K)(k,"isPlainSafeLast"),
1(0,G.K)(x,"codePointAt"),(0,G.K)(w,"needIndentIndicator"),(0,G.K)(_,"chooseScalarStyle"),(0,G.K)(v,"writeScalar"),(0,G.K)(S,"blockHeader"),(0,G.K)(A,"dropEndingNewline"),(0,G.K)(M,"foldString"),(0,G.K)(T,"foldLine"),(0,G.K)(L,"escapeString"),(0,G.K)(K,"writeFlowSequence"),(0,G.K)(O,"writeBlockSequence"),(0,G.K)($,"writeFlowMapping"),(0,G.K)(C,"writeBlockMapping"),(0,G.K)(E,"detectType"),(0,G.K)(R,"writeNode"),(0,G.K)(P,"getDuplicateReferences"),(0,G.K)(D,"inspectNode"),(0,G.K)(I,"dump2"),tv.dump=I,tv}function tA(){if(X)return V;X=1;let t=t_(),e=tS();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=tp(),V.CORE_SCHEMA=tf(),V.DEFAULT_SCHEMA=tw(),V.load=t.load,V.loadAll=t.loadAll,V.dump=e.dump,V.YAMLException=te(),V.types={binary:ty(),float:td(),map:to(),null:tc(),pairs:tk(),set:tx(),timestamp:tg(),bool:tu(),int:th(),merge:tm(),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)(tS,"requireDumper"),(0,G.K)(tA,"requireJsYaml");var{JSON_SCHEMA:tM,load:tT}=Z(tA())},25885:(t,e,r)=>{"use strict";r.d(e,{XX:()=>y,q7:()=>k,sO:()=>g});var n=r(7181),a=r(58134),i=r(92609),s=r(16581),o=r(16452),l=r(85650),c=r(90278),u=r(37395),h=r(95573),d={common:c.Y2,getConfig:c.zj,insertCluster:a.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:s.on,interpolateToCurve:l.Ib,labelHelper:o.Zk,log:u.R,positionEdgeLabel:i.T_},p=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],f=Object.create(null),g=(0,h.K)(t=>{for(let e of t)f[e.name]=e},"registerLayoutLoaders"),m=(0,h.K)(()=>{let t=(0,h.K)(async()=>await Promise.all([r.e(86640),r.e(91815),r.e(19653),r.e(77084)]).then(r.bind(r,77084)),"loader");return[{name:"elk",loader:t,algorithm:"elk.layered"},...p.map(e=>({name:e,loader:t,algorithm:e}))]},"elkLayoutLoaders");(0,h.K)(()=>{g([{name:"dagre",loader:(0,h.K)(async()=>await Promise.all([r.e(91815),r.e(19653),r.e(91849)]).then(r.bind(r,91849)),"loader")},{name:"swimlane",loader:(0,h.K)(async()=>await Promise.all([r.e(32971),r.e(91815),r.e(19653),r.e(44675)]).then(r.bind(r,51489)),"loader")},{name:"cose-bilkent",loader:(0,h.K)(async()=>await Promise.all([r.e(836),r.e(51508)]).then(r.bind(r,51508)),"loader")},...m()])},"registerDefaultLayoutLoaders")();var y=(0,h.K)(async(t,e)=>{if(!Object.hasOwn(f,t.layoutAlgorithm))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=f[t.layoutAlgorithm],a=await r.loader();return(0,n.F)(e,t.config),a.render(t,e,d,{algorithm:r.algorithm})},"render"),b="dagre",k=(0,h.K)((t="",{fallback:e=b}={})=>
1{if(Object.hasOwn(f,t))return t;for(let r of[e,b])if(Object.hasOwn(f,r))return u.R.warn(`Layout algorithm ${t} is not registered. Using ${r} as fallback.`),r;throw Error(`Neither layout algorithm ${t}, ${e}, nor ${b} is registered.`)},"getRegisteredLayoutAlgorithm")},28445:(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){let t;for(let t of s)n(t,o,-r);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 p{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;
1)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=f[i.text],n=i.text}else 1===i.type?s=f[n]:(a++,s=f[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 f[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 m(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 y(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,p=t+2*(s-t)/3,f=i+2*(c-i)/3;e.push({key:"C",data:[h,d,p,f,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,p=s+2*(r-s)/3;e.push({key:"C",data:[c,h,d,p,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=[],p=0,f=0,g=0,m=0;if(u)[p,f,g,m]=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,y=s*s,k=(l===c?-1:1)*Math.sqrt(Math.abs((d*y-d*o*o-y*t*t)/(d*o*o+y*t*t)));g=k*i*o/s+(e+n)/2,m=-(k*s)*t/i+(r+a)/2,p=Math.asin(parseFloat(((r-m)/s).toFixed(9))),f=Math.asin(parseFloat(((a-m)/s).toFixed(9))),e<g&&(p=Math.PI-p),n<g&&(f=Math.PI-f),p<0&&(p=2*Math.PI+p),f<0&&(f=2*Math.PI+f),c&&p>f&&(p-=2*Math.PI),!c&&f>p&&(f-=2*Math.PI)}let y=f-p;if(Math.abs(y)>120*Math.PI/180){let e=f,r=n,l=a;d=t(n=g+i*Math.cos(f=c&&f>p?p+120*Math.PI/180*1:p+-(120*Math.PI/180*1)),a=m+s*Math.sin(f),r,l,i,s,o,0,c,[f,e,g,m])}y=f-p;let k=Math.cos(p),x=Math.cos(f),w=Math.tan(y/4),_=4/3*i*w,v=4/3*s*w,S=[e,r],A=[e+_*Math.sin(p),r-v*k],M=[n+_*Math.sin(f),a-v*x],T=[n,a];if(A[0]=2*S[0]-A[0],A[1]=2*S[1]-A[1],u)return[A,M,T].concat(d);{d=[A,M,T].concat(d);let t=[];for(let e=0;e<d.length;
1e+=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 C(t,e)},randOffsetWithRange:function(t,e,r){return $(t,e,r)},ellipse:function(t,e,r,n,a){let i=v(r,n,a);return S(t,e,a,i).opset},doubleLineOps:function(t,e,r,n,a){return E(t,e,r,n,a,!0)}};function x(t,e,r,n,a){return{type:"path",ops:E(t,e,r,n,a)}}function w(t,e,r){let n=(t||[]).length;if(n>2){let a=[];for(let e=0;e<n-1;e++)a.push(...E(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...E(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===n?x(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=P(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:P(r[0],1.5*(1+.22*e.roughness),K(e));for(let t=1;t<r.length;t++){let i=r[t];if(i.length){let t=P(i,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:P(i,1.5*(1+.22*e.roughness),K(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+=C(i*o,r),s+=C(s*o,r),{increment:a,rx:i,ry:s}}function S(t,e,r,n){let[a,i]=I(n.increment,t,e,n.rx,n.ry,1,n.increment*$(.1,$(.4,1,r),r),r),s=D(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=I(n.increment,t,e,n.rx,n.ry,1.5,0,r),i=D(a,null,r);s=s.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:s}}}function A(t,e,r,n,a,i,s,o,l){let c=Math.abs(r/2),u=Math.abs(n/2);c+=C(.01*c,l),u+=C(.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 p=Math.min(2*Math.PI/l.curveStepCount/2,(d-h)/2),f=N(p,t,e,c,u,h,d,1,l);if(!l.disableMultiStroke){let r=N(p,t,e,c,u,h,d,1.5,l);f.push(...r)}return s&&(o?f.push(...E(t,e,t+c*Math.cos(h),e+u*Math.sin(h),l),...E(t,e,t+c*Math.cos(d),e+u*Math.sin(d),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+c*Math.cos(h),e+u*Math.sin(h)]})),{type:"path",ops:f}}function M(t,e){let r=y(m(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(...E(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 p=0;p<h;p++)0===p?l.push({op:"move",data:[s[0],s[1]]}):l.push({op:"move",data:[s[0]+(d?0:C(c[0],o)),s[1]+(d?0:C(c[0],o))]}),u=d?[a,i]:[a+C(c[p],o),i+C(c[p],o)],l.push({op:"bcurveTo",data:[t+C(c[p],o),e+C(c[p],o),r+C(c[p],o),n+C(c[p],o),u[0],u[1]]});return l}(t,r,a,o,l,c,i,e)),i=[l,c];break}case"Z":n.push(...E(i[0],i[1],a[0],a[1],e)),i=[a[0],a[1]]}return{type:"path",ops:n}}function T(t,e){let r=[];for(let n of t)if(n.length){let t=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+C(t,e),n[0][1]+C(t,e)]});for(let i=1;i<a;i++)r.push({op:"lineTo",data:[n[i][0]+C(t,e),n[i][1]+C(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 K(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 p(t.seed||0)),t.randomizer.next()}function $(t,e,r,n=1){return r.roughness*n*(O(r)*(e-t)+t)}function C(t,e,r=1){return $(-t,t,e,r)}function E(t,e,r,n,a,i=!1){let s=i?a.disableMultiStrokeFill:a.disableMultiStroke,o=R(t,e,r,n,a,!0,!1);if(s)return o;let l=R(t,e,r,n,a,!0,!0);return o.concat(l)}function R(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),p=a.bowing*a.maxRandomnessOffset*(n-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;p=C(p,a,c),f=C(f,a,c);let g=[],m=a.preserveVertices;return i&&(s?g.push({op:"move",data:[t+(m?0:C(h,a,c)),e+(m?0:C(h,a,c))]}):g.push({op:"move",data:[t+(m?0:C(u,a,c)),e+(m?0:C(u,a,c))]})),s?g.push({op:"bcurveTo",data:[p+t+(r-t)*d+C(h,a,c),f+e+(n-e)*d+C(h,a,c),p+t+2*(r-t)*d+C(h,a,c),f+e+2*(n-e)*d+C(h,a,c),r+(m?0:C(h,a,c)),n+(m?0:C(h,a,c))]}):g.push({op:"bcurveTo",data:[p+t+(r-t)*d+C(u,a,c),f+e+(n-e)*d+C(u,a,c),p+t+2*(r-t)*d+C(u,a,c),f+e+2*(n-e)*d+C(u,a,c),r+(m?0:C(u,a,c)),n+(m?0:C(u,a,c))]}),g}function P(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+C(e,r),t[0][1]+C(e,r)]),n.push([t[0][0]+C(e,r),t[0][1]+C(e,r)]);for(let a=1;a<t.length;a++)n.push([t[a][0]+C(e,r),t[a][1]+C(e,r)]),a===t.length-1&&n.push([t[a][0]+C(e,r),t[a][1]+C(e,r)]);return D(n,null,r)}function D(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][
10]+(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]+C(t,r),e[1]+C(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(...R(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function I(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=C(.5,o)-Math.PI/2;c.push([C(i,o)+e+.9*n*Math.cos(u-t),C(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=[C(i,o)+e+n*Math.cos(s),C(i,o)+r+a*Math.sin(s)];l.push(t),c.push(t)}c.push([C(i,o)+e+n*Math.cos(u+2*Math.PI+.5*s),C(i,o)+r+a*Math.sin(u+2*Math.PI+.5*s)]),c.push([C(i,o)+e+.98*n*Math.cos(u+s),C(i,o)+r+.98*a*Math.sin(u+s)]),c.push([C(i,o)+e+.9*n*Math.cos(u+.5*s),C(i,o)+r+.9*a*Math.sin(u+.5*s)])}return[c,l]}function N(t,e,r,n,a,i,s,o,l){let c=i+C(.1,l),u=[];u.push([C(o,l)+e+.9*n*Math.cos(c-t),C(o,l)+r+.9*a*Math.sin(c-t)]);for(let i=c;i<=s;i+=t)u.push([C(o,l)+e+n*Math.cos(i),C(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)]),D(u,null,l)}function j(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 z(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function B(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,z(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?(B(t,e,c+1,n,i),B(t,c,r,n,i)):(i.length||i.push(s),i.push(o)),i}function U(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,s,o,l,c,u,h,d,p=a||[];if(i=e[r+0],s=e[r+1],o=e[r+2],l=e[r+3],c=3*s[0]-2*i[0]-l[0],c*=c,u=3*s[1]-2*i[1]-l[1],u*=u,h=3*o[0]-2*l[0]-i[0],h*=h,d=3*o[1]-2*l[1]-i[1],d*=d,c<h&&(c=h),u<d&&(u=d),c+u<n){let t=e[r+0];p.length?Math.sqrt(F(p[p.length-1],t))>1&&p.push(t):p.push(t),p.push(e[r+3])}else{let a=e[r+0],i=e[r+1],s=e[r+2],o=e[r+3],l=z(a,i,.5),c=z(i,s,.5),u=z(s,o,.5),h=z(l,c,.5),d=z(c,u,.5),f=z(h,d,.5);t([a,l,h,f],0,n,p),t([f,d,u,o],0,n,p)}return p}(t,3*r,e,n);return r&&r>0?B(n,0,n.length,r):n}let W="none";class q{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",[x(t,e,r,n,i)],i)}rectangle(t,e,r,n,a){var i,s,o,l;let c=this._o(a),u=[],h=w([[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(T([a],c)):u.push(L([a],c))}return c.stroke!==W&&u.push(h),this._d("rectangle",u,c)}
1ellipse(t,e,r,n,a){let i=this._o(a),s=[],o=v(r,n,i),l=S(t,e,i,o);if(i.fill)if("solid"===i.fillStyle){let r=S(t,e,i,o).opset;r.type="fillPath",s.push(r)}else s.push(L([l.estimatedPoints],i));return i.stroke!==W&&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",[w(t,!1,r)],r)}arc(t,e,r,n,a,i,s=!1,o){let l=this._o(o),c=[],u=A(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=A(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+=C(.01*o,s),l+=C(.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));return l.stroke!==W&&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!==W)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(...U(j([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...U(j(n),10,(1+r.roughness)/2));e.length&&n.push(L([e],r))}return r.stroke!==W&&n.push(a),this._d("curve",n,r)}polygon(t,e){let r=this._o(e),n=[],a=w(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(T([t],r)):n.push(L([t],r))),r.stroke!==W&&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!==W,i=r.stroke!==W,s=!!(r.simplification&&r.simplification<1),o=function(t,e,r){let n=y(m(g(t))),a=[],i=[],s=[0,0],o=[],l=()=>{o.length>=4&&i.push(...U(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=B(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=M(t,r);if(a)if("solid"===r.fillStyle)if(1===o.length){let e=M(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(T(o,r));else n.push(L(o,r));return i&&(s?o.forEach(t=>{n.push(w(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:W};break;case"fillPath":e={d:this.opsToPath(t),stroke:W,strokeWidth:0,fill:r.fill||W};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||W,strokeWidth:r,fill:W}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class H{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new q(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(
1);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 Y="http://www.w3.org/2000/svg";class X{constructor(t,e){this.svg=t,this.gen=new q(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,a=n.createElementNS(Y,"g"),i=t.options.fixedDecimalPlaceDigits;for(let s of e){let e=null;switch(s.type){case"path":(e=n.createElementNS(Y,"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(Y,"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(Y,"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 H(t,e),svg:(t,e)=>new X(t,e),generator:t=>new q(t),newSeed:()=>q.newSeed()}},29628:(t,e,r)=>{"use strict";let n;function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{A:()=>tk});let i=Object.entries,s=Object.setPrototypeOf,o=Object.isFrozen,l=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,u=Object.freeze,h=Object.
1seal,d=Object.create,p="undefined"!=typeof Reflect&&Reflect,f=p.apply,g=p.construct;u||(u=function(t){return t}),h||(h=function(t){return t}),f||(f=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return t.apply(e,n)}),g||(g=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});let m=D(Array.prototype.forEach),y=D(Array.prototype.lastIndexOf),b=D(Array.prototype.pop),k=D(Array.prototype.push),x=D(Array.prototype.splice),w=Array.isArray,_=D(String.prototype.toLowerCase),v=D(String.prototype.toString),S=D(String.prototype.match),A=D(String.prototype.replace),M=D(String.prototype.indexOf),T=D(String.prototype.trim),L=D(Number.prototype.toString),K=D(Boolean.prototype.toString),O="undefined"==typeof BigInt?null:D(BigInt.prototype.toString),$="undefined"==typeof Symbol?null:D(Symbol.prototype.toString),C=D(Object.prototype.hasOwnProperty),E=D(Object.prototype.toString),R=D(RegExp.prototype.test),P=(tb=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return g(tb,e)});function D(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return f(t,e,n)}}function I(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(s&&s(t,null),!w(e))return t;let n=e.length;for(;n--;){let a=e[n];if("string"==typeof a){let t=r(a);t!==a&&(o(e)||(e[n]=t),a=t)}t[a]=!0}return t}function N(t){let e=d(null);for(let n of i(t)){var r=function(t){if(Array.isArray(t))return t}(n)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,i,s,o=[],l=!0,c=!1;try{i=(r=r.call(t)).next,!1;for(;!(l=(n=i.call(r)).done)&&(o.push(n.value),2!==o.length);l=!0);}catch(t){c=!0,a=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(n,2)||function(t,e){if(t){if("string"==typeof t)return a(t,2);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,2):void 0}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let i=r[0],s=r[1];C(t,i)&&(w(s)?e[i]=function(t){for(let e=0;e<t.length;e++)C(t,e)||(t[e]=null);return t}(s):s&&"object"==typeof s&&s.constructor===Object?e[i]=N(s):e[i]=s)}return e}function j(t,e){for(;null!==t;){let r=c(t,e);if(r){if(r.get)return D(r.get);if("function"==typeof r.value)return D(r.value)}t=l(t)}return function(){return null}}let F=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),z=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),q=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),H=u(["#text"]),Y=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),X=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Z=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),V=h(/{{[\w\W]*|^[\w\W]*}}/g),Q=h(/<%[\w\W]*|^[\w\W]*%>/g),J=h(/\${[\w\W]*/g),tt=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),te=h(/^aria-[\-\w]+$/),tr=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tn=h(/^(?:\w+script|data):/i),ta=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ti=h(/^html$/i),ts=h(/^[a-z][.\w]*(-[.\w]+)+$/i),to=h(/<[/\w!]/g),tl=h(/<[/\w]/g),tc=h(/<\/no(script|embed|frames)/i),tu=h(/\/>/i),th=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],td=u(I({},th)),tp=(n={},m(th,t=>{n[t]=h(RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),u(n)),tf=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tg=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},tm=function(t,e,r,n){return C(t,e)&&w(t[e])?I(n.base?N(n.base):{},t[e],n.transform):r},ty=function(t,e,r){let n=C(t,e)?t[e]:void 0;return n&&"object"==typeof n?N(n):r()};var tb,tk=function t(){let e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=e=>t(e);
1if(a.version="3.4.15",a.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return a.isSupported=!1,a;let s=n.document,o=s,l=o.currentScript;n.DocumentFragment;let c=n.HTMLTemplateElement,p=n.Node,f=n.Element,g=n.NodeFilter;void 0===n.NamedNodeMap&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let D=n.DOMParser,th=n.trustedTypes,tb=f.prototype,tk=j(tb,"cloneNode"),tx=j(tb,"remove"),tw=j(tb,"removeAttributeNode"),t_=j(tb,"nextSibling"),tv=j(tb,"childNodes"),tS=j(tb,"parentNode"),tA=j(tb,"shadowRoot"),tM=j(tb,"attributes"),tT=p&&p.prototype?j(p.prototype,"nodeType"):null,tL=p&&p.prototype?j(p.prototype,"nodeName"):null,tK=p&&p.prototype?j(p.prototype,"ownerDocument"):null,tO=function(t){return tT?tT(t):t.nodeType},t$=function(t){return tL?tL(t):t.nodeName};if("function"==typeof c){let t=s.createElement("template");t.content&&t.content.ownerDocument&&(s=t.content.ownerDocument)}let tC="",tE=!1,tR=0,tP=function(){if(tR>0)throw P('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},tD=function(t){tP(),tR++;try{return e.createHTML(t)}finally{tR--}},tI=function(t){tP(),tR++;try{return e.createScriptURL(t)}finally{tR--}},tN=s,tj=tN.implementation,tF=tN.createNodeIterator,tz=tN.createDocumentFragment,tB=tN.getElementsByTagName,tU=o.importNode,tW=tg();a.isSupported="function"==typeof i&&"function"==typeof tS&&tj&&void 0!==tj.createHTMLDocument;let tq=tr,tH=null,tY=I({},[...F,...z,...B,...W,...H]),tX=null,tG=I({},[...Y,...X,...G,...Z]),tZ=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tV=null,tQ=null,tJ=Object.seal(d(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),t0=!0,t1=!0,t2=!1,t3=!0,t5=!1,t8=!0,t9=!1,t6=!1,t4=null,t7=null,et=!1,ee=!1,er=!1,en=!1,ea=!0,ei=!1,es="user-content-",eo=!0,el=!1,ec={},eu=null,eh=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ed=null,ep=I({},["audio","video","img","source","image","track"]),ef=null,eg=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),em="http://www.w3.org/1998/Math/MathML",ey="http://www.w3.org/2000/svg",eb="http://www.w3.org/1999/xhtml",ek=eb,ex=!1,ew=null,e_=I({},[em,ey,eb],v),ev=u(["mi","mo","mn","ms","mtext"]),eS=I({},ev),eA=u(["annotation-xml"]),eM=I({},eA),eT=I({},["title","style","font","a","script"]),eL=null,eK=["application/xhtml+xml","text/html"],eO=null,e$=null,eC=s.createElement("form"),eE=function(t){return t instanceof RegExp||t instanceof Function},eR=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e$&&e$===t)return;t&&"object"==typeof t||(t={}),t=N(t),eO="application/xhtml+xml"===(eL=-1===eK.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?v:_,tH=tm(t,"ALLOWED_TAGS",tY,{transform:eO}),tX=tm(t,"ALLOWED_ATTR",tG,{transform:eO}),ew=tm(t,"ALLOWED_NAMESPACES",e_,{transform:v}),ef=tm(t,"ADD_URI_SAFE_ATTR",eg,{transform:eO,base:eg}),ed=tm(t,"ADD_DATA_URI_TAGS",ep,{transform:eO,base:ep}),eu=tm(t,"FORBID_CONTENTS",eh,{transform:eO}),tV=tm(t,"FORBID_TAGS",N({}),{transform:eO}),tQ=tm(t,"FORBID_ATTR",N({}),{transform:eO}),ec=!!C(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?N(t.USE_PROFILES):t.USE_PROFILES),t0=!1!==t.ALLOW_ARIA_ATTR,t1=!1!==t.ALLOW_DATA_ATTR,t2=t.ALLOW_UNKNOWN_PROTOCOLS||!1,t3=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,t5=t.SAFE_FOR_TEMPLATES||!1,t8=!1!==t.SAFE_FOR_XML,t9=t.WHOLE_DOCUMENT||!1,ee=t.RETURN_DOM||!1,er
1=t.RETURN_DOM_FRAGMENT||!1,en=t.RETURN_TRUSTED_TYPE||!1,et=t.FORCE_BODY||!1,ea=!1!==t.SANITIZE_DOM,ei=t.SANITIZE_NAMED_PROPS||!1,eo=!1!==t.KEEP_CONTENT,el=t.IN_PLACE||!1,tq=!function(t){try{return R(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?tr:t.ALLOWED_URI_REGEXP,ek="string"==typeof t.NAMESPACE?t.NAMESPACE:eb,eS=ty(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>I({},ev)),eM=ty(t,"HTML_INTEGRATION_POINTS",()=>I({},eA));let n=ty(t,"CUSTOM_ELEMENT_HANDLING",()=>d(null));if(tZ=d(null),C(n,"tagNameCheck")&&eE(n.tagNameCheck)&&(tZ.tagNameCheck=n.tagNameCheck),C(n,"attributeNameCheck")&&eE(n.attributeNameCheck)&&(tZ.attributeNameCheck=n.attributeNameCheck),C(n,"allowCustomizedBuiltInElements")&&"boolean"==typeof n.allowCustomizedBuiltInElements&&(tZ.allowCustomizedBuiltInElements=n.allowCustomizedBuiltInElements),h(tZ),t5&&(t1=!1),er&&(ee=!0),ec&&(tH=I({},H),tX=d(null),!0===ec.html&&(I(tH,F),I(tX,Y)),!0===ec.svg&&(I(tH,z),I(tX,X),I(tX,Z)),!0===ec.svgFilters&&(I(tH,B),I(tX,X),I(tX,Z)),!0===ec.mathMl&&(I(tH,W),I(tX,G),I(tX,Z))),tJ.tagCheck=null,tJ.attributeCheck=null,C(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?tJ.tagCheck=t.ADD_TAGS:w(t.ADD_TAGS)&&(tH===tY&&(tH=N(tH)),I(tH,t.ADD_TAGS,eO))),C(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?tJ.attributeCheck=t.ADD_ATTR:w(t.ADD_ATTR)&&(tX===tG&&(tX=N(tX)),I(tX,t.ADD_ATTR,eO))),C(t,"ADD_FORBID_CONTENTS")&&w(t.ADD_FORBID_CONTENTS)&&(eu===eh&&(eu=N(eu)),I(eu,t.ADD_FORBID_CONTENTS,eO)),eo&&(tH["#text"]=!0),t9&&I(tH,["html","head","body"]),tH.table&&(I(tH,["tbody"]),delete tV.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw P('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw P('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=e;e=t.TRUSTED_TYPES_POLICY;try{tC=tD("")}catch(t){throw e=r,t}}else null===t.TRUSTED_TYPES_POLICY?(e=void 0,tC=""):(void 0===e&&(tE||(r=tf(th,l),tE=!0),e=r),e&&"string"==typeof tC&&(tC=tD("")));u&&u(t),e$=t},eP=I({},[...z,...B,...U]),eD=I({},[...W,...q]),eI=function(t){var e,r,n;let a=tS(t);a&&a.tagName||(a={namespaceURI:ek,tagName:"template"});let i=_(t.tagName),s=_(a.tagName);return!!ew[t.namespaceURI]&&(t.namespaceURI===ey?(e=a).namespaceURI===eb?"svg"===i:e.namespaceURI===em?"svg"===i&&("annotation-xml"===s||eS[s]):!!eP[i]:t.namespaceURI===em?(r=a).namespaceURI===eb?"math"===i:r.namespaceURI===ey?"math"===i&&eM[s]:!!eD[i]:t.namespaceURI===eb?((n=a).namespaceURI!==ey||!!eM[s])&&(n.namespaceURI!==em||!!eS[s])&&!eD[i]&&(eT[i]||!eP[i]):"application/xhtml+xml"===eL&&!!ew[t.namespaceURI])},eN=function(t){k(a.removed,{element:t});try{tS(t).removeChild(t)}catch(e){if(tx(t),!tS(t))throw P("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ej=function(t,e,r){try{tw(t,e)}catch(e){try{t.removeAttribute(r)}catch(t){}}},eF=function(t){eU(t);let e=tv(t);if(e){let t=[];m(e,e=>{k(t,e)}),m(t,t=>{try{tx(t)}catch(t){}})}let r=tM(t);if(r)for(let e=r.length-1;e>=0;--e){let n=r[e],a=n&&n.name;"string"==typeof a&&ej(t,n,a)}},ez=function(t,e,r){if(!r)try{r=e.getAttributeNode(t)}catch(t){r=null}k(a.removed,{attribute:r||null,from:e});try{r?tw(e,r):e.removeAttribute(t)}catch(r){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(ee||er)try{eN(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},eB=function(t){let e=tM(t);if(e)for(let r=e.length-1;r>=0;--r){let n=e[r],a=n&&n.name;"string"!=typeof a||tX[eO(a)]||ej(t,n,a)}},eU=function(t){let e=[t];for(;e.length>0;){let t=e.pop();1===tO(t)&&eB(t);let r=tv(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}},eW=function(t,e){return!!t8&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},eq=function(t){if(!t8)return;let e=[t];for(;e.length>0;){let t=e.pop(),r=tO(t);if(7===r||8===r&&R(tl,t.data)){try{tx(t)}catch(t){}continue}if(1===r){let e=eO(t$(t));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&eW("for",e)&&t.removeAttribute("for")}catch(t){}}let n=tv(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},eH=function(t){let r=null,n=null;if(et)t="<remove></remove>"+t;else{let e=S(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===eL&&ek===eb&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?tD(t):t;if(ek===eb)try{r=new D().parseFromString(a,eL)}catch(t){}if(!r||!r.documentElement){r=tj.createDocument(ek,"template",null);try{r.documentElement.innerHTML=ex?tC:a}catch(t){}}let i=r.body||r.documentElement;return(t&&n&&i.insertBefore(s.createTextNode(n),i.childNodes[0]||null),ek===eb)?tB.call(r,t9?"html":"body")[0]:t9?r.documentElement:i},eY=function(t){let e=tK?tK(t):t.ownerDocument;return tF.call(e||t,t,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT|g.SHOW_PROCESSING_INSTRUCTION|g.SHOW_CDATA_SECTION,null)},eX=function(t){return t=A(t,V," "),t=A(t,Q," "),t=A(t,J," ")},eG=function(t){var e;t.normalize();let r=tK?tK(t):t.ownerDocument,n=tF.call(r||t,t,g.SHOW_TEXT|g.SHOW_COMMENT|g.SHOW_CDATA_SECTION|g.SHOW_PROCESSING_INSTRUCTION,null),a=n.nextNode();for(;a;)a.data=eX(a.data),a=n.nextNode();let i=null==(e=t.querySelectorAll)?void 0:e.call(t,"template");i&&m(i,t=>{eV(t.content)&&eG(t.content)})},eZ=function(t){let e=tL?tL(t):null;return"string"==typeof e&&"form"===eO(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==tM(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==tT(t)||t.childNodes!==tv(t))},eV=function(t){if(!tT||"object"!=typeof t||null===t)return!1;try{return 11===tT(t)}catch(t){return!1}},eQ=function(t){if(!tT||"object"!=typeof t||null===t)return!1;try{return"number"==typeof tT(t)}catch(t){return!1}};function eJ(t,e,r){0!==t.length&&m(t,t=>{t.call(a,e,r,e$)})}let e0=function(t,e){if(t instanceof RegExp)return R(t,e);if(t instanceof Function){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return!!t(e,...n)}return!1},e1=function(t,e,r){if(!tV[e]&&e6(e)&&e0(tZ.tagNameCheck,e))return!1;if(eo&&!eu[e]){let e=tS(t),n=tv(t);if(n&&e){let a=n.length;for(let i=a-1;i>=0;--i){let a=t===r?tk(n[i],!0):n[i];e.insertBefore(a,t_(t))}}}return eN(t),!0},e2=function(t,e,r,n){return 0===t.length?e:e===r||e===n?N(e):e},e3=function(t,e){return t!==e&&null===tS(t)&&(el&&eU(t),!0)},e5=function(t,e){if(eJ(tW.beforeSanitizeElements,t,null),e3(t,e))return!0;
1if(eZ(t))return eN(t),!0;let r=eO(t$(t));if(tH=e2(tW.uponSanitizeElement,tH,tY,t4),eJ(tW.uponSanitizeElement,t,{tagName:r,allowedTags:tH}),e3(t,e))return!0;if(t8&&t.hasChildNodes()&&!eQ(t.firstElementChild)&&R(to,t.textContent)&&R(to,t.innerHTML)||t8&&t.namespaceURI===eb&&td[r]&&(eQ(t.firstElementChild)||"string"==typeof t.textContent&&R(tp[r],t.textContent))||7===t.nodeType||t8&&8===t.nodeType&&R(tl,t.data))return eN(t),!0;if(tV[r]||!(tJ.tagCheck instanceof Function&&tJ.tagCheck(r))&&!tH[r]){let n=e1(t,r,e);return!1===n&&eJ(tW.afterSanitizeElements,t,null),n}if(1===tO(t)&&!eI(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&R(tc,t.innerHTML))return eN(t),!0;if(t5&&3===t.nodeType){let e=eX(t.textContent);t.textContent!==e&&(k(a.removed,{element:t.cloneNode()}),t.textContent=e)}return eJ(tW.afterSanitizeElements,t,null),!1},e8=function(t,e,r){if(tQ[e]||eW(e,t)||ea&&("id"===e||"name"===e)&&(r in s||r in eC))return!1;let n=tX[e]||tJ.attributeCheck instanceof Function&&tJ.attributeCheck(e,t);return!!(t1&&R(tt,e)||t0&&R(te,e))||(n?!(!(ef[e]||R(tq,A(r,ta,"")))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==M(r,"data:")||!ed[t])&&(!t2||R(tn,A(r,ta,""))))||!r:e6(t)&&e0(tZ.tagNameCheck,t)&&e0(tZ.attributeNameCheck,e,t)||"is"===e&&tZ.allowCustomizedBuiltInElements&&e0(tZ.tagNameCheck,r))},e9=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),e6=function(t){return!e9[_(t)]&&R(ts,t)},e4=function(t,r,n,a){if(e&&"object"==typeof th&&"function"==typeof th.getAttributeType&&!n)switch(th.getAttributeType(t,r)){case"TrustedHTML":return tD(a);case"TrustedScriptURL":return tI(a)}return a},e7=function(t,e,r,n){try{if(r?t.setAttributeNS(r,e,n):t.setAttribute(e,n),eZ(t))return eN(t),!1;return!0}catch(r){return ez(e,t),!1}},rt=function(t){eJ(tW.beforeSanitizeAttributes,t,null);let e=t.attributes;if(!e||eZ(t))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tX=e2(tW.uponSanitizeAttribute,tX,tG,t7),forceKeepAttr:void 0},n=e.length,i=eO(t.nodeName);for(;n--;){let s=e[n],o=s.name,l=s.namespaceURI,c=s.value,u=eO(o),h="value"===o?c:T(c),d=!1;if(r.attrName=u,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,eJ(tW.uponSanitizeAttribute,t,r),h=r.attrValue,ei&&("id"===u||"name"===u)&&0!==M(h,es)&&(ez(o,t,s),h=es+h,d=!0),t8&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)||"attributename"===u&&S(h,"href")){ez(o,t,s);continue}if(!r.forceKeepAttr){if(!r.keepAttr||!t3&&R(tu,h)||(t5&&(h=eX(h)),!e8(i,u,h))){ez(o,t,s);continue}(h=e4(i,u,l,h))!==c&&e7(t,o,l,h)&&d&&b(a.removed)}}eJ(tW.afterSanitizeAttributes,t,null)},re=function(t){let e=null,r=eY(t);for(eJ(tW.beforeSanitizeShadowDOM,t,null);e=r.nextNode();)if(eJ(tW.uponSanitizeShadowNode,e,null),e5(e,t),rt(e),eV(e.content)&&re(e.content),1===tO(e)){let t=tA(e);eV(t)&&(rr(t),re(t))}eJ(tW.afterSanitizeShadowDOM,t,null)},rr=function(t){let e=[{node:t,shadow:null}];for(;e.length>0;){let t=e.pop();if(t.shadow){re(t.shadow);continue}let r=t.node,n=1===tO(r),a=tv(r);if(a)for(let t=a.length-1;t>=0;--t)e.push({node:a[t],shadow:null});if(n){let t=tL?tL(r):null;if("string"==typeof t&&"template"===eO(t)){let t=r.content;eV(t)&&e.push({node:t,shadow:null})}}if(n){let t=tA(r);eV(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return a.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,s=null,l=null;if((ex=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eQ(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return L(t);case"boolean":return K(t);case"bigint":return O?O(t):"0";case"symbol":return $?$(t):"Symbol()";case"undefined":default:return E(t);case"function":case"object":{if(null===t)return E(t);let e=j(t,"toString");if("function"==typeof e){let r=e(t);return"string"==typeof r?r:E(r)}return E(t)}}}(t)))throw P("dirty is not a string, aborting");if(!a.isSupported)return t;t6?(tH=t4,tX=t7):eR(r),(tW.uponSanitizeElement.length>0||tW.uponSanitizeAttribute.length>0)&&(tH=N(tH)),tW.uponSanitizeAttribute.length>0&&(tX=N(tX)),a.removed=[];let c=el&&"string"!=typeof t&&eQ(t);if(c){eq(t);let e=t$(t);if("string"==typeof e){let r=eO(e);if(!tH[r]||tV[r])throw eF(t),P("root node is forbidden and cannot be sanitized in-place")}if(eZ(t))throw eF(t),P("root node is clobbered and cannot be sanitized in-place");try{rr(t)}catch(e){throw eF(t),e}}else if(eQ(t))1===(i=(n=eH("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i),rr(n);else{if(!ee&&!t5&&!t9&&-1===t.indexOf("<"))return e&&en?tD(t):t;if(!(n=eH(t)))return ee?null:en?tC:""}n&&et&&eN(n.firstChild);let u=c?t:n;try{let t=eY(u);for(;s=t.nextNode();)e5(s,u),rt(s),eV(s.content)&&re(s.content)}catch(e){throw c&&(eF(t),m(a.removed,t=>{t.element&&eU(t.element)})),e}if(c)return m(a.removed,t=>{t.element&&eU(t.element)}),t5&&eG(t),t;if(ee){if(t5&&eG(n),er)for(l=tz.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(tX.shadowroot||tX.shadowrootmode)&&(l=tU.call(o,l,!0)),l}let h=t9?n.outerHTML:n.innerHTML;return t9&&tH["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(ti,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),t5&&(h=eX(h)),e&&en?tD(h):h},a.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};eR(t),t6=!0,t4=tH,t7=tX},a.clearConfig=function(){e$=null,t6=!1,t4=null,t7=null,e=r,tC=""},a.isValidAttribute=function(t,e,r){return e$||eR({}),e8(eO(t),eO(e),r)},a.addHook=function(t,e){"function"!=typeof e||C(tW,t)&&k(tW[t],e)},a.removeHook=function(t,e){if(C(tW,t)){if(void 0!==e){let r=y(tW[t],e);return -1===r?void 0:x(tW[t],r,1)[0]}return b(tW[t])}},a.removeHooks=function(t){C(tW,t)&&(tW[t]=[])},a.removeAllHooks=function(){tW=tg()},a}()},35541:(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})},37395:(t,e,r)=>{"use strict";r.d(e,{H:()=>o,R:()=>s});var n=r(95573),a=r(62141),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")},39308:(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)=>
1{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}`}}}},40899:(t,e,r)=>{"use strict";r.d(e,{Fx:()=>a,Hu:()=>c,Ic:()=>i,P1:()=>s,XE:()=>h,nw:()=>u,rq:()=>l});var n=r(95573),a=new Set(["redux-color","redux-dark-color"]),i=(0,n.K)(t=>Array.isArray(t)&&t.length>0,"hasPalette"),s=(0,n.K)((t,e)=>null!=t&&a.has(t)&&i(e),"isColorTheme"),o=/^[\w-]+$/,l=(0,n.K)(t=>{let e="string"==typeof t||"number"==typeof t?String(t):"";return o.test(e)?e:"classic"},"safeLook"),c=(0,n.K)(t=>i(t)?t.length:0,"paletteSlotCount"),u=(0,n.K)((t,e)=>i(e)?c(e):"number"==typeof t&&Number.isInteger(t)&&t>0&&t<=64?t:12,"colorSlotCount"),h=(0,n.K)((t,e,r,n)=>{if(void 0===e||!s(r,n))return;let a=e%c(n);t.attr("data-color-id",`color-${a}`)},"stampColorSlot")},41939:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39308),a=r(45633);let i=t=>!((t=>{let{r:e,g:r,b:i}=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)},45633:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(91122),a=r(82797);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(39308);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
1almon:"#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,p]=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(p?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)}},47828:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},55248:(t,e,r)=>{"use strict";r.d(e,{W6:()=>tZ,GZ:()=>t1,lT:()=>tF,O6:()=>tO});var n=r(13062),a=r(85650),i=r(90278),s=r(37395),o=r(95573);function l(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var c=l(),u={exec:()=>null};function h(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(p.caret,"$1"),r=r.replace(t,a),n},getRegex:()=>new RegExp(r,e)};return n}var d=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),p={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},f=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,g=/(?:[*+-]|\d{1,9}[.)])/,m=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,y=h(m).replace(/bull/g,g).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(),b=h(m).replace(/bull/g,g).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),k=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,x=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,w=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",x).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),_=h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,g).getRegex(),v="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,A=h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
1)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",S).replace("tag",v).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),M=h(k).replace("hr",f).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",v).getRegex(),T={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",M).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:w,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:f,html:A,lheading:y,list:_,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:M,table:u,text:/^[^\n]+/},L=h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",f).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",v).getRegex(),K={...T,lheading:b,table:L,paragraph:h(k).replace("hr",f).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",L).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",v).getRegex()},O={...T,html:h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",S).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:u,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(k).replace("hr",f).replace("heading",` *#{1,6} *[^
2]`).replace("lheading",y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},$=/^( {2,}|\\)\n(?!\s*$)/,C=/[\p{P}\p{S}]/u,E=/[\s\p{P}\p{S}]/u,R=/[^\s\p{P}\p{S}]/u,P=h(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,E).getRegex(),D=/(?!~)[\p{P}\p{S}]/u,I=h(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",d?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),N=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,j=h(N,"u").replace(/punct/g,C).getRegex(),F=h(N,"u").replace(/punct/g,D).getRegex(),z="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",B=h(z,"gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,E).replace(/punct/g,C).getRegex(),U=h(z,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,D).getRegex(),W=h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,E).replace(/punct/g,C).getRegex(),q=h(/\\(punct)/,"gu").replace(/punct/g,C).getRegex(),H=h(/^<(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(),Y=h(S).replace("(?:--\x3e|$)","--\x3e").getRegex(),X=h("^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",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),G=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Z=h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",G).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),V=h(/^!?\[(label)\]\[(ref)\]/).replace("label",G).replace("ref",x).getRegex(),Q=h(/^!?\[(ref)\](?:\[\])?/).replace("ref",x).getRegex(),J=h("reflink|nolink(?!\\()","g").replace("reflink",V).replace("nolink",Q).getRegex(),tt=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,te={_backpedal:u,anyPunctuation:q,autolink:H,blockSkip:I,br:$,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:u,emStrongLDelim:j,emStrongRDelimAst:B,emStrongRDelimUnd:W,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:Z,nolink:Q,punctuation:P,reflink:V,reflinkSearch:J,tag:X,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:u},tr={...te,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",G).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G).getRegex()},tn={...te,emStrongRDelimAst:U,emStrongLDelim:F,url:h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tt).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:h(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tt).getRegex()},ta={...tn,br:h($).replace("{2,}","*").getRegex(),text:h(tn.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ti={normal:T,gfm:K,pedantic:O},ts={normal:te,gfm:tn,breaks:ta,pedantic:tr},to={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tl=t=>to[t];function tc(t,e){if(e){if(p.escapeTest.test(t))return t.replace(p.escapeReplace,tl)}else if(p.escapeTestNoEncode.test(t))return t.replace(p.escapeReplaceNoEncode,tl);return t}function tu(t){try{t=encodeURI(t).replace(p.percentDecode,"%")}catch{return null}return t}function th(t,e){let r=t.replace(p.findPipe,(t,e,r)=>{let n=!1,a=e;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"}).split(p.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(p.slashPipe,"|");return r}function td(t,e,r){let n=t.length;if(0===n)return"";let a=0;for(;a<n;){let i=t.charAt(n-a-1);if(i!==e||r)if(i!==e&&r)a++;else break;else a++}return t.slice(0,n-a)}function tp(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 tf=class{options;rules;lexer;constructor(t){this.options=t||c}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:td(t,`
3`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(null===n)return e;let a=n[1];return e.split(`
4`).map(t=>{let e=t.match(r.other.beginningSpace);if(null===e)return t;let[n]=e;return n.length>=a.length?t.slice(a.length):t}).join(`
5`)}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=td(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:td(e[0],`
6`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=td(e[0],`
7`).split(`
8`),r="",n="",a=[];for(;t.length>0;){let e=!1,i=[],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],p;if(c=d,p=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(p.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=`
22`+p.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=p.slice(h)}}a.loose||(s?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(s=!0));let d=null,p;this.options.gfm&&(d=this.rules.other.listIsTask.exec(o))&&(p="[ ] "!==d[0],o=o.replace(this.rules.other.listReplaceTask,"")),a.items.push({type:"list_item",raw:n,task:!!d,checked:p,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=th(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(th(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t=e[1].charAt(e[1].length-1)===`
26`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=td(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let e=0;e<t.length;e++)if("\\"===t[e])e++;else if("("===t[e])r++;else if(")"===t[e]&&--r<0)return e;return r>0?-2:-1}(e[2],0);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)),tp(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 tp(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}}}},tg=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||c,this.options.tokenizer=this.options.tokenizer||new tf,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:p,block:ti.normal,inline:ts.normal};this.options.pedantic?(e.block=ti.pedantic,e.inline=ts.pedantic):this.options.gfm&&(e.block=ti.gfm,this.options.breaks?e.inline=ts.breaks:e.inline=ts.gfm),this.tokenizer.rules=e}static get rules(){return{block:ti,inline:ts}}static lex(e,r){return new t(r).lex(e)}static lexInline(e,r){return new t(r).inlineTokens(e)}lex(t){t=t.replace(p.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(p.tabCharGlobal,"    ").replace(p.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}},tm=class{options;parser;constructor(t){this.options=t||c}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(p.notSpaceStart)?.[0],a=t.replace(p.endingNewline,"")+`
41`;return n?'<pre><code class="language-'+tc(n)+'">'+(r?a:tc(a,!0))+`</code></pre>
42`:"<pre><code>"+(r?a:tc(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+" "+tc(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>${tc(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=tu(t);if(null===a)return n;let i='<a href="'+(t=a)+'"';return e&&(i+=' title="'+tc(e)+'"'),i+=">"+n+"</a>"}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=tu(t);if(null===a)return tc(r);t=a;let i=`<img src="${t}" alt="${r}"`;return e&&(i+=` title="${tc(e)}"`),i+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:tc(t.text)}},ty=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""}},tb=class t{options;renderer;textRenderer;constructor(t){this.options=t||c,this.options.renderer=this.options.renderer||new tm,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ty}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}},tk=class{options;block;constructor(t){this.options=t||c}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?tg.lex:tg.lexInline}provideParser(){return this.block?tb.parse:tb.parseInline}},tx=new class{defaults=l();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tb;Renderer=tm;TextRenderer=ty;Lexer=tg;Tokenizer=tf;Hooks=tk;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(let n of t)switch(r=r.concat(e.call(this,n)),n.type){case"table":for(let t of n.header)r=r.concat(this.walkTokens(t.tokens,e));for(let t of n.rows)for(let n of t)r=r.concat(this.walkTokens(n.tokens,e));break;case"list":r=r.concat(this.walkTokens(n.items,e));break;default:{let t=n;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(n=>{let a=t[n].flat(1/0);r=r.concat(this.walkTokens(a,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let n=t.renderer.apply(this,e);return!1===n&&(n=r.apply(this,e)),n}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new tm(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 tf(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=t.tokenizer[r],a=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new tk;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=t.hooks[r],a=e[r];tk.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async&&tk.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(e,t);return a.call(e,r)})();let i=n.call(e,t);return a.call(e,i)}:e[r]=(...t)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(e,t);return!1===r&&(r=await a.apply(e,t)),r})();let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,n=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(n.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tg.lex(t,e??this.defaults)}parser(t,e){return tb.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?tg.lex:tg.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?tb.parse:tb.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?tg.lex:tg.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?tb.parse:tb.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>"+tc(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function tw(t,e){return tx.parse(t,e)}tw.options=tw.setOptions=function(t){return tx.setOptions(t),tw.defaults=tx.defaults,c=tw.defaults,tw},tw.getDefaults=l,tw.defaults=c,tw.use=function(...t){return tx.use(...t),tw.defaults=tx.defaults,c=tw.defaults,tw},tw.walkTokens=function(t,e){return tx.walkTokens(t,e)},tw.parseInline=tx.parseInline,tw.Parser=tb,tw.parser=tb.parse,tw.Renderer=tm,tw.TextRenderer=ty,tw.Lexer=tg,tw.lexer=tg.lex,tw.Tokenizer=tf,tw.Hooks=tk,tw.parse=tw,tw.options,tw.setOptions,tw.use,tw.walkTokens,tw.parseInline,tb.parse,tg.lex;var t_=r(35541),tv=r(7471),tS="undefined"!=typeof performance&&"function"==typeof performance.now,tA=(0,o.K)(()=>tS?performance.now():0,"now"),tM="\uD83E\uDDDC ",tT={parse:"tertiary",prepare:"secondary",measure:"primary",layout:"primary-dark",layoutCore:"error",draw:"primary-light",paint:"secondary-dark",serialize:"tertiary-dark",render:"primary-light"};function tL(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,t_.T)(r)}function tK(t){return t.split(/\\n|\n|<br\s*\/?>/gi).map(t=>t.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(t=>({content:t,type:"normal"}))??[])}function tO(t,e={}){let r=tL(t,e),n=tw.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})})}
60):"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 t$(t){return t?`<p>${t.replace(/\\n|\n/g,"<br />")}</p>`:""}function tC(t,{markdownAutoWrap:e}={}){let r=tw.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("")}(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=tA();try{return e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tA()-r)}}async tick(t,e){if(!this.enabled)return e();let r=tA();try{return await e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tA()-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:tA(),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(`${tM}${t} \u25B6`)}catch{}}end(){if(!this.enabled)return;let t=this.stack.pop();if(!t)return;let e=tA();if(t.duration=e-t.start,tS&&"function"==typeof performance.measure)try{performance.measure(`${tM}${t.name}`,{start:t.start,end:e,detail:{devtools:{dataType:"track-entry",track:"Mermaid render",trackGroup:"Mermaid",color:tT[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(`${tM}mermaid render profile \xb7 ${n}
61${a.join("\n")}`)}}),globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:"0.0.0"},(0,o.K)(tL,"preprocessMarkdown"),(0,o.K)(tK,"nonMarkdownToLines"),(0,o.K)(tO,"markdownToLines"),(0,o.K)(t$,"nonMarkdownToHTML"),(0,o.K)(tC,"markdownToHTML");var tE=function(t){var e=function(){},r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function n(){this.reads=[],this.writes=[],this.raf=r.bind(t),e("initialized",this)}function a(t){t.scheduled||(t.scheduled=!0,t.raf(i.bind(null,t)),e("flush scheduled"))}function i(t){e("flush");var r,n=t.writes,i=t.reads;try{e("flushing reads",i.length),t.runTasks(i),e("flushing writes",n.length),t.runTasks(n)}catch(t){r=t}if(t.scheduled=!1,(i.length||n.length)&&a(t),r)if(e("task errored",r.message),t.catch)t.catch(r);else throw r}function s(t,e){var r=t.indexOf(e);return!!~r&&!!t.splice(r,1)}function l(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}return(0,o.K)(n,"FastDom"),n.prototype={constructor:n,runTasks:(0,o.K)(function(t){var r;for(e("run tasks");r=t.shift();)r()},"runTasks"),measure:(0,o.K)(function(t,r){e("measure");var n=r?t.bind(r):t;return this.reads.push(n),a(this),n},"measure"),mutate:(0,o.K)(function(t,r){e("mutate");var n=r?t.bind(r):t;return this.writes.push(n),a(this),n},"mutate"),clear:(0,o.K)(function(t){return e("clear",t),s(this.reads,t)||s(this.writes,t)},"clear"),extend:(0,o.K)(function(t){if(e("extend",t),"object"!=typeof t)throw Error("expected object");var r=Object.create(this);return l(r,t),r.fastdom=this,r.initialize&&r.initialize(),r},"extend"),catch:null},(0,o.K)(a,"scheduleFlush"),(0,o.K)(i,"flush"),(0,o.K)(s,"remove"),(0,o.K)(l,"mixin"),t.fastdom=t.fastdom||new n}("undefined"!=typeof window?window:globalThis),tR={initialize:(0,o.K)(function(){this._tasks=new Map},"initialize"),mutate:(0,o.K)(function(t,e){return tP(this,"mutate",t,e)},"mutate"),measure:(0,o.K)(function(t,e){return tP(this,"measure",t,e)},"measure"),clear:(0,o.K)(function(t){var e=this._tasks,r=e.get(t);this.fastdom.clear(r),e.delete(t)},"clear")};function tP(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}(0,o.K)(tP,"create");var{initialize:tD,mutate:tI,measure:tN,clear:tj}=tR,tF=tE.extend({raf(t){"function"==typeof queueMicrotask?queueMicrotask(t):setTimeout(t,0)}}).extend(tR);function tz(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tB(t,e){return tU(t,[],tz(e.content),e.type)}function tU(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}])?tU(t,s,i,n):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function tW(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tq(t,e)}function tq(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 tq(t,e,r,s);if(n.length>0)r.push(n),t.unshift(i);else if(i.content){let[n,a]=tB(e,i);r.push([n]),a.content&&t.unshift(a)}return tq(t,e,r)}function tH(t,e){e&&t.attr("style",e)}async function tY(t,e,r,n,a=!1,s=(0,i.zj)(),o=0){let l=t.append("foreignObject");l.attr("width",`${Math.min(10*r,16384)}px`),l.attr("height",`${Math.min(10*r,16384)}px`);let c=l.append("xhtml:div"),u=(0,i.Wi)(e.label)?await (0,i.dj)(e.label.replace(i.Y2.lineBreakRegex,"\n"),s):(0,i.jZ)(e.label,s),h=e.isNode?"nodeLabel":"edgeLabel",d=c.append("span");d.html(u),tH(d,e.labelStyle),d.attr("class",`${h} ${n}`),tH(c,e.labelStyle),c.style("display","table-cell"),c.style("white-space","nowrap"),c.style("line-height","1.5"),r!==1/0&&(c.style("max-width",r+"px"),c.style("text-align","center")),c.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&c.attr("class","labelBkg");let p=await tF.measure(()=>c.node().getBoundingClientRect());return p.width===r?(c.style("display","table"),c.style("white-space","break-spaces"),c.style("width",r+"px")):p.width<o&&(c.style("display","table"),c.style("width",o+"px"),c.style("text-align","center")),l.node()}function tX(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 tG(t,e,r){let n=t.append("text"),a=tX(n,1,e);tJ(a,r);let i=a.node().getComputedTextLength();return n.remove(),i}function tZ(t,e,r){let n=t.append("text"),a=tX(n,1,e);tJ(a,[{content:r,type:"normal"}]);let i=a.node()?.getBoundingClientRect();return i&&n.remove(),i}function tV(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=>tG(i,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tW(e,r))tJ(tX(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 tQ(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 tJ(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(tQ(e.content)):n.text(" "+tQ(e.content))})}async function t0(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)(tz,"splitTextToChars"),(0,o.K)(tB,"splitWordToFitWidth"),(0,o.K)(tU,"splitWordToFitWidthRecursion"),(0,o.K)(tW,"splitLineToFitWidth"),(0,o.K)(tq,"splitLineToFitWidthRecursion"),(0,o.K)(tH,"applyStyle"),(0,o.K)(tY,"addHtmlSpan"),(0,o.K)(tX,"createTspan"),(0,o.K)(tG,"computeWidthOfText"),
61(0,o.K)(tZ,"computeDimensionOfText"),(0,o.K)(tV,"createFormattedText"),(0,o.K)(tQ,"decodeHTMLEntities"),(0,o.K)(tJ,"updateTextContentAndStyles"),(0,o.K)(t0,"replaceIconSubstring");var t1=(0,o.K)(async(t,e="",{style:r="",isTitle:n=!1,classes:o="",useHtmlLabels:l=!0,markdown:c=!0,isNode:u=!0,width:h=200,minWidth:d=0,addSvgBackground:p=!1}={},f)=>{if(s.R.debug("XYZ createText",e,r,n,o,l,u,"addSvgBackground: ",p),l){let n=c?tC(e,f):t$(e),s=await t0((0,a.Sm)(n),f),l=e.replace(/\\\\/g,"\\"),g={isNode:u,label:(0,i.Wi)(e)?l:s,labelStyle:r.replace("fill:","color:")};return await tY(t,g,h,o,p,f,d)}{let i=(0,a.Sm)(e.replace(/<br\s*\/?>/g,"<br/>")),s=tV(h,t,c?tO(i.replace("<br>","<br/>"),f):tK(i),!!e&&p,!u);if(u){/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,tv.Ltv)(s).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,tv.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,tv.Ltv)(s).select("text").attr("style",e)}return n?(0,tv.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,tv.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("row",!0),s}},"createText")},56208:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(45633),a=r(66455);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)}},57830:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(9460);let a=(t,e)=>(0,n.A)(t,"l",e)},58134:(t,e,r)=>{"use strict";r.d(e,{IU:()=>T,U:()=>M,qV:()=>S});var n=r(16581),a=r(16452),i=r(86181),s=r(55248),o=r(40899),l=r(90278),c=r(37395),u=r(95573),h=r(7471),d=r(28445),p=(0,u.K)(async(t,e)=>{let r,n,u=(0,l.D7)(),{theme:p,themeVariables:f,handDrawnSeed:g}=u,{clusterBkg:m,clusterBorder:y,borderColorArray:b}=f,{labelStyles:k,nodeStyles:x,borderStyles:w,backgroundStyles:_}=(0,i.GX)(e),v=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);(0,o.XE)(v,e.colorIndex,p,b);let S=(0,l._3)(u.flowchart.htmlLabels),A="LR"===e.direction,M=v.insert("g").attr("class","cluster-label swimlane-label"),T=await (0,s.GZ)(M,e.label,{style:e.labelStyle,useHtmlLabels:S,isNode:!0,width:e.width}),L=T.getBBox();if(S){let t=T.children[0],e=(0,h.Ltv)(T);L=t.getBoundingClientRect(),e.attr("width",L.width),e.attr("height",L.height)}let K=e.padding??0,O=e.width<=L.width+K?L.width+K:e.width;e.width<=L.width+K?e.diff=(O-e.width)/2-K:e.diff=-K;let $=e.height,C=e.y-$/2,E=e.y+$/2,R=e.x-O/2,P=void 0!==e.swimlaneContentTop?e.swimlaneContentTop:C+$/3,D=4*!!A,I=L.height+2*D;if(A){let t=Math.max(I,L.height+2*D),a=R+t,s=Math.max(0,O-t);if("handDrawn"===e.look){let o=d.A.svg(v),l=(0,i.Fr)(e,{roughness:.7,fill:m,stroke:y,seed:g}),c=(0,i.Fr)(e,{roughness:.7,fill:"none",stroke:y,seed:g}),u=o.rectangle(R,C,t,$,l);r=v.insert(()=>u,":first-child").attr("class","swimlane-title");let h=o.rectangle(a,C,s,$,c);n=v.insert(()=>h,":first-child").attr("class","swimlane-body"),r.select("path:nth-child(2)").attr("style",w.join(";")),r.select("path").attr("style",_.join(";").replace("fill","stroke"))}else r=v.insert("rect",":first-child"),n=v.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",x).attr("x",R).attr("y",C).attr("width",t).attr("height",$).attr("fill",m).attr("stroke",y),n.attr("class","swimlane-body").attr("style",x).attr("x",a).attr("y",C).attr("width",s).attr("height",$).attr("fill","none").attr("stroke",y);let o=R+t/2,l=e.y;M.attr("transform",`translate(${o}, ${l}) rotate(-90) translate(${-L.width/2}, ${-L.height/2})`)}else{let t=Math.min(I,Math.max(0,P-C)),a=C+t,s=Math.max(0,E-a),o=e.x-O/2;if("handDrawn"===e.look){let l=d.A.svg(v),c=(0,i.Fr)(e,{roughness:.7,fill:m,stroke:y,fillWeight:3,seed:g}),u=(0,i.Fr)(e,{roughness:.7,fill:"none",stroke:y,seed:g}),h=l.rectangle(o,C,O,t,c);r=v.insert(()=>h,":first-child").attr("class","swimlane-title");let p=l.rectangle(o,a,O,s,u);n=v.insert(()=>p,":first-child").attr("class","swimlane-body"),r.select("path:nth-child(2)").attr("style",w.join(";")),r.select("path").attr("style",_.join(";").replace("fill","stroke"))}else r=v.insert("rect",":first-child"),n=v.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",x).attr("x",o).attr("y",C).attr("width",O).attr("height",t).attr("fill",m).attr("stroke",y),n.attr("class","swimlane-body").attr("style",x).attr("x",o).attr("y",a).attr("width",O).attr("height",s).attr("fill","none").attr("stroke",y);let l=e.x-L.width/2,c=C+(t-L.height)/2;M.attr("transform",`translate(${l}, ${c})`)}if(c.R.trace("Swimlane data ",e,JSON.stringify(e)),k){let t=M.select("span");t&&t.attr("style",k)}return e.offsetX=0,e.width=O,e.height=$,e.offsetY=L.height-K/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:v,labelBBox:L}},"swimlane"),f=(0,u.K)(async(t,e)=>{let r,u;c.R.info("Creating subgraph rect for ",e.id,e);let p=(0,l.D7)(),{theme:f,themeVariables:g,handDrawnSeed:m}=p,{clusterBkg:y,clusterBorder:b,borderColorArray:k}=g,{labelStyles:x,nodeStyles:w,borderStyles:_,backgroundStyles:v}=(0,i.GX)(e),S=t.insert("g").attr("class","cluster "+e.cssClasse
61s).attr("id",e.domId).attr("data-look",e.look);(0,o.XE)(S,e.colorIndex,f,k);let A=(0,l.E)(p),M=S.insert("g").attr("class","cluster-label "),T=(r="markdown"===e.labelType?await (0,s.GZ)(M,e.label,{style:e.labelStyle,useHtmlLabels:A,isNode:!0,width:e.width}):await (0,a.DA)(M,e.label,e.labelStyle||"",!1,!0)).getBBox();if((0,l.E)(p)){let t=r.children[0],e=(0,h.Ltv)(r);T=t.getBoundingClientRect(),e.attr("width",T.width),e.attr("height",T.height)}let L=e.width<=T.width+e.padding?T.width+e.padding:e.width;e.width<=T.width+e.padding?e.diff=(L-e.width)/2-e.padding:e.diff=-e.padding;let K=e.height,O=e.x-L/2,$=e.y-K/2;if(c.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=d.A.svg(S),r=(0,i.Fr)(e,{roughness:.7,fill:y,stroke:b,fillWeight:3,seed:m}),n=t.path((0,a.FA)(O,$,L,K,0),r);(u=S.insert(()=>(c.R.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",_.join(";")),u.select("path").attr("style",v.join(";").replace("fill","stroke"))}else(u=S.insert("rect",":first-child")).attr("style",w).attr("rx",e.rx).attr("ry",e.ry).attr("x",O).attr("y",$).attr("width",L).attr("height",K);let{subGraphTitleTopMargin:C}=(0,n.Oi)(p);if(M.attr("transform",`translate(${e.x-T.width/2}, ${e.y-e.height/2+C})`),x){let t=M.select("span");t&&t.attr("style",x)}let E=u.node().getBBox();return e.offsetX=0,e.width=E.width,e.height=E.height,e.offsetY=T.height-e.padding/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:S,labelBBox:T}},"rect"),g=(0,u.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"),m=(0,u.K)(async(t,e)=>{let r,n=(0,l.D7)(),{theme:i,themeVariables:s,handDrawnSeed:c}=n,{altBackground:u,borderColorArray:p,compositeBackground:f,compositeTitleBackground:g,nodeBorder:m}=s,y=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look);(0,o.XE)(y,e.colorIndex,i,p);let b=y.insert("g",":first-child"),k=y.insert("g").attr("class","cluster-label"),x=y.append("rect"),w=await (0,a.DA)(k,e.label,e.labelStyle,void 0,!0),_=w.getBBox();if((0,l.E)(n)){let t=w.children[0],e=(0,h.Ltv)(w);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}let v=0*e.padding,S=(e.width<=_.width+e.padding?_.width+e.padding:e.width)+v;e.width<=_.width+e.padding?e.diff=(S-e.width)/2-e.padding:e.diff=-e.padding;let A=e.height+v,M=e.height+v-_.height-6,T=e.x-S/2,L=e.y-A/2;e.width=S;let K=e.y-e.height/2-v/2+_.height+2;if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),n=d.A.svg(y),i=e.rx||e.ry?n.path((0,a.FA)(T,L,S,A,10),{roughness:.7,fill:g,fillStyle:"solid",stroke:m,seed:c}):n.rectangle(T,L,S,A,{seed:c});r=y.insert(()=>i,":first-child");let s=n.rectangle(T,K,S,M,{fill:t?u:f,fillStyle:t?"hachure":"solid",stroke:m,seed:c});r=y.insert(()=>i,":first-child"),x=y.insert(()=>s),r.attr("class","outer"),x.attr("class","inner")}else(r=b.insert("rect",":first-child")).attr("class","outer").attr("x",T).attr("y",L).attr("width",S).attr("height",A).attr("data-look",e.look),x.attr("class","inner").attr("x",T).attr("y",K).attr("width",S).attr("height",M);return k.attr("transform",`translate(${e.x-_.width/2}, ${L+1-3*!(0,l.E)(n)})`),e.height=r.node().getBBox().height,e.offsetX=0,e.offsetY=_.height-e.padding/2,e.labelBBox=_,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:y,labelBBox:_}},"roundedWithTitle"),y=(0,u.K)(async(t,e)=>{let r;c.R.info("Creating subgraph rect for ",e.id,e);let o=(0,l.D7)(),{themeVariables:u,handDrawnSeed:p}=o,{clusterBkg:f,clusterBorder:g}=u,{labelStyles:m,nodeStyles:y,borderStyles:b,backgroundStyles:k}=(0,i.GX)(e),x=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),w=(0,l.E)(o),_=x.insert("g").attr("class","cluster-label "),v=await (0,s.GZ)(_,e.label,{style:e.labelStyle,useHtmlLabels:w,isNode:!0,width:e.width}),S=v.getBBox();if((0,l.E)(o)){let t=v.children[0],e=(0,h.Ltv)(v);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}let A=e.width<=S.width+e.padding?S.width+e.padding:e.width;e.width<=S.width+e.padding?e.diff=(A-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,T=e.x-A/2,L=e.y-M/2;if(c.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=d.A.svg(x),n=(0,i.Fr)(e,{roughness:.7,fill:f,stroke:g,fillWeight:4,seed:p}),s=t.path((0,a.FA)(T,L,A,M,e.rx),n);(r=x.insert(()=>(c.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=x.insert("rect",":first-child")).attr("style",y).attr("rx",e.rx).attr("ry",e.ry).attr("x",T).attr("y",L).attr("width",A).attr("height",M);let{subGraphTitleTopMargin:K}=(0,n.Oi)(o);if(_.attr("transform",`translate(${e.x-S.width/2}
61, ${e.y-e.height/2+K})`),m){let t=_.select("span");t&&t.attr("style",m)}let O=r.node().getBBox();return e.offsetX=0,e.width=O.width,e.height=O.height,e.offsetY=S.height-e.padding/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:x,labelBBox:S}},"kanbanSection"),b=(0,u.K)((t,e)=>{let r,{theme:n,themeVariables:i,handDrawnSeed:s}=(0,l.D7)(),{altBackground:c,nodeBorder:u,borderColorArray:h}=i,p=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look);(0,o.XE)(p,e.colorIndex,n,h);let f=p.insert("g",":first-child"),g=0*e.padding,m=e.width+g;e.diff=-e.padding;let y=e.height+g,b=e.x-m/2,k=e.y-y/2;if(e.width=m,"handDrawn"===e.look){let t=d.A.svg(p).rectangle(b,k,m,y,{fill:c??"#efefef",fillStyle:"solid",roughness:.5,strokeLineDash:[5],stroke:u,seed:s});r=p.insert(()=>t,":first-child").attr("class","divider")}else{r=f.insert("rect",":first-child");let t="outer";e.look,t="divider",r.attr("class",t).attr("x",b).attr("y",k).attr("width",m).attr("height",y).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:p,labelBBox:{}}}
61,"divider"),k=(0,u.K)(async(t,e,r)=>{let u;c.R.info(`Creating ${r.cssClass} for `,e.id,e);let p=(0,l.D7)(),{theme:f,themeVariables:g,handDrawnSeed:m}=p,{borderColorArray:y}=g,{labelStyles:b,borderStyles:k}=(0,i.GX)(e),x=t.insert("g").attr("class","cluster "+r.cssClass+" "+e.cssClasses).attr("id",e.domId??e.id).attr("data-look",e.look);(0,o.XE)(x,e.colorIndex,f,y);let w=(0,l.E)(p),_=x.insert("g").attr("class","cluster-label"),v={width:0,height:0},S=e.label?.trim();if(S){let t;if(v=(t="markdown"===e.labelType?await (0,s.GZ)(_,e.label,{style:e.labelStyle,useHtmlLabels:w,isNode:!0,width:e.width}):await (0,a.DA)(_,e.label,e.labelStyle||"",!1,!0)).getBBox(),w){let e=t.children[0],r=(0,h.Ltv)(t);v=e.getBoundingClientRect(),r.attr("width",v.width),r.attr("height",v.height)}}let A=e.width<=v.width+e.padding?v.width+e.padding:e.width;e.width<=v.width+e.padding?e.diff=(A-e.width)/2-e.padding:e.diff=-e.padding;let M=e.height,T=e.x-A/2,L=e.y-M/2;if("handDrawn"===e.look){let t=d.A.svg(x),n=(0,i.Fr)(e,{roughness:r.roughness,fill:r.fill,stroke:r.stroke,strokeWidth:r.strokeWidth,seed:m,..."none"===r.fill?{fillWeight:0}:{fillStyle:"solid"},...r.strokeDash?{strokeLineDash:r.strokeDash}:{}}),s=t.path((0,a.FA)(T,L,A,M,r.rx),n);(u=x.insert(()=>s,":first-child")).select("path:nth-child(2)").attr("style",k.join(";"))}else(u=x.insert("rect",":first-child")).attr("rx",r.rx).attr("ry",r.rx).attr("x",T).attr("y",L).attr("width",A).attr("height",M).attr("fill",r.fill).attr("stroke",r.stroke).attr("stroke-width",r.strokeWidth+"px"),r.strokeDash&&u.attr("stroke-dasharray",r.strokeDash.join(", "));if(S){let{subGraphTitleTopMargin:t}=(0,n.Oi)(p);if(_.attr("transform",`translate(${e.x-v.width/2}, ${e.y-e.height/2+t})`),b){let t=_.select("span");t&&t.attr("style",b)}}let K=u.node().getBBox();return e.offsetX=0,e.width=K.width,e.height=K.height,e.offsetY=v.height-e.padding/2,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:x,labelBBox:v}},"createContainerGroup"),x=(0,u.K)(async(t,e)=>{let{themeVariables:r}=(0,l.D7)();return k(t,e,{cssClass:"flow-cluster",rx:10,fill:"none",stroke:r.flowContainerStroke||r.secondaryBorderColor,strokeWidth:.75,roughness:.7})},"flowGroup"),w=(0,u.K)((t,e)=>{let r=t.boundaryType||"rect",n="package"===r?20:t.padding,a="package"===r?e.height+10:0,i=Math.max(t.width,e.width+n),s="package"===r?Math.max(t.height,a+2*t.padding):t.height,o=t.x-i/2,l=t.y-s/2;return{boundaryType:r,width:i,height:s,x:o,y:l,bodyY:l+a,bodyHeight:s-a,tabHeight:a,tabWidth:"package"===r?Math.min(i,Math.max(80,e.width+20)):0}},"getUsecaseSystemBoundaryGeometry"),_={rect:f,squareRect:f,roundedWithTitle:m,noteGroup:g,divider:b,kanbanSection:y,flowGroup:x,usecaseSystemBoundary:(0,u.K)(async(t,e)=>{c.R.info("Creating usecase system boundary for ",e.id,e);let r=(0,l.D7)(),{theme:u,themeVariables:p,handDrawnSeed:f}=r,{clusterBkg:g,clusterBorder:m,borderColorArray:y}=p,{labelStyles:b,nodeStyles:k}=(0,i.GX)(e),{stylesMap:x}=(0,i.WW)(e),_=e.boundaryType||"rect",v=t.insert("g").attr("class",`cluster usecase-system-boundary usecase-system-boundary-${_} ${e.cssClasses}`).attr("id","string"==typeof e.domId?e.domId:e.id).attr("data-boundary-type",_).attr("data-look",e.look);(0,o.XE)(v,e.colorIndex,u,y);let S=(0,l.E)(r),A=v.insert("g").attr("class","cluster-label system-boundary-title"),M=await (0,s.GZ)(A,e.label,{style:b,useHtmlLabels:S,isNode:!0}),T=M.getBBox();if(S){let t=M.children[0],e=(0,h.Ltv)(M);T=t.getBoundingClientRect(),e.attr("width",T.width),e.attr("height",T.height)}let{width:L,height:K,x:O,y:$,bodyY:C,bodyHeight:E,tabHeight:R,tabWidth:P}=w(e,T);e.diff=e.width<=T.width+e.padding?(L-e.width)/2-e.padding:-e.padding;let D=(0,i.Fr)(e,{fill:x.get("fill")||g,stroke:x.get("stroke")||m,strokeWidth:x.get("stroke-width")?.replace("px","")||1,seed:f});if("handDrawn"===e.look){let t=d.A.svg(v),e=t.rectangle(O,C,L,E,D);if(v.insert(()=>e,":first-child").attr("class","boundary-body label-container"),"package"===_){let e=t.rectangle(O,$,P,R,D);v.insert(()=>e,":first-child").attr("class","boundary-tab system-boundary-package-tab label-container")}}else v.insert("rect",":first-child").attr("class","boundary-body label-container").attr("style",k).attr("x",O).attr("y",C).attr("width",L).attr("height",E),"package"===_&&v.insert("rect",":first-child").attr("class","boundary-tab system-boundary-package-tab label-container").attr("style",k).attr("x",O).attr("y",$).attr("width",P).attr("height",R);let{subGraphTitleTopMargin:I}=(0,n.Oi)(r);return"package"===_?A.attr("transform",`translate(${O+(P-T.width)/2}, ${$+(R-T.height)/2})`):A.attr("transform",`translate(${e.x-T.width/2}, ${$+I})`),b&&(A.attr("style",b),A.select("span").attr("style",b)),e.offsetX=0,e.width=L,e.height=K,e.offsetY=T.height-e.padding/2,e.labelBBox=T,e.intersect=function(t){return(0,a.nM)(e,t)},{cluster:v,labelBBox:T}},"usecaseSystemBoundary"),swimlane:p},v=new Set(["noteGroup","divider"]),S=(0,u.K)(t=>!v.has(t??"rect"),"clusterPaintsTitle"),A=new Map,M=(0,u.K)(async(t,e)=>{let r=e.shape||"rect",n=await _[r](t,e);
61return A.set(e.id,n),n},"insertCluster"),T=(0,u.K)(()=>{A=new Map},"clear")},62141: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},p="en",f={};f[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof x||!(!t||!t[g])},y=function t(e,r,n){var a;if(!e)return p;if("string"==typeof e){var i=e.toLowerCase();f[i]&&(a=i),r&&(f[i]=r,a=i);var s=e.split("-");if(!a&&s.length>1)return t(s[0])}else{var o=e.name;f[o]=e,a=o}return!n&&a&&(p=a),a||!n&&p},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new x(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=y,k.i=m,k.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var x=function(){function d(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=d.prototype;return p.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()},p.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()},p.$utils=function(){return k},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},p.isAfter=function(t,e){return b(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<b(t)},p.$g=function(t,e,r){return k.u(t)?this[e]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.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")},p=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)},f=this.$W,g=this.$M,m=this.$D,y="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,x=(f<b?f+7:f)-b;return d(u?m-x:m+(6-x),g);case"day":case l:return p(y+"Hours",0);case n:return p(y+"Minutes",1);case r:return p(y+"Seconds",2);case e:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$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],p="day"===u?this.$D+(s-this.$W):s;if(u===i||u===o){var f=this.clone().set(l,1);f.$d[d](p),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[k.p(t)]()},p.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,p=this.$d.getTime()+t*d;return k.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.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
61diem,p=function(t,r,a,i){return t&&(t[r]||t(e,n))||a[r].slice(0,i)},f=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 p(r.monthsShort,o,u,3);case"MMMM":return p(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 p(r.weekdaysMin,e.$W,l,2);case"ddd":return p(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 f(1);case"hh":return f(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(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,c){var u,h=this,d=k.p(l),p=b(t),f=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,m=function(){return k.m(h,p)};switch(d){case o:u=m()/12;break;case i:u=m();break;case s:u=m()/3;break;case a:u=(g-f)/6048e5;break;case"day":u=(g-f)/864e5;break;case n:u=g/36e5;break;case r:u=g/6e4;break;case e:u=g/1e3;break;default:u=g}return c?u:k.a(u)},p.daysInMonth=function(){return this.endOf(i).$D},p.$locale=function(){return f[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=y(t,e,!0);return n&&(r.$L=n),r},p.clone=function(){return k.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},d}(),w=x.prototype;return b.prototype=w,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",o],["$D",l]].forEach(function(t){w[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,x,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[p],b.Ls=f,b.p={},b}()},66455:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(39308),a=r(45633);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)}},72170:(t,e,r)=>{"use strict";r.d(e,{i:()=>a});var n=r(42233);function a(t){return(0,n.i)(t)}},79092:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(45633),a=r(3837);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),p=r/100,f=2*p-1,g=l-d,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,a.A)(i*m+c*y,s*m+u*y,o*m+h*y,l*p+d*(1-p))})(r,t,e)}},82797:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>i});var n=r(39308);let a={};for(let t=0;t<=255;t++)a[t]=n.A.unit.dec2hex(t);let i={ALL:0,RGB:1,HSL:2}},85211:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>r0});var n=r(1970),a=r(23407),i=r(25885);r(7181),r(58134),r(92609),r(16581),r(16452),r(86181),r(55248);var s=r(13062);r(40899);var o=r(85650),l=r(90278),c=r(37395),u=r(95573),h=r(35541),d=r(7471),p="comm",f="rule",g="decl",m="@keyframes",y="@layer",b=Math.abs,k=String.fromCharCode;function x(t,e,r){return t.replace(e,r)}function w(t,e){return 0|t.charCodeAt(e)}function _(t,e,r){return t.slice(e,r)}function v(t){return t.length}function S(t,e){return e.push(t),t}function A(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function M(t,e,r,n){switch(t.type){case y:if(t.children.length)break;case"@import":case"@namespace":case g:return t.return=t.return||t.value;case p:return"";case m:return t.return=t.value+"{"+A(t.children,n)+"}";case f:if(!v(t.value=t.props.join(",")))return""}return v(r=A(t.children,n))?t.return=t.value+"{"+r+"}":""}var T=1,L=1,K=0,O=0,$=0,C="";function E(t,e,r,n,a,i,s,o){return{value:t,root:e,parent:r,type:n,props:a,children:i,line:T,column:L,length:s,return:"",siblings:o}}function R(){return $=O<K?w(C,O++):0,L++,10===$&&(L=1,T++),$}function P(){return w(C,O)}function D(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 I(t){var e,r;return(e=O-1,r=function t(e){for(;R();)switch($){case e:return O;case 34:case 39:34!==e&&39!==e&&t($);break;case 40:41===e&&t(e);break;case 92:R()}return O}(91===t?t+2:40===t?t+1:t),_(C,e,r)).trim()}function N(t,e,r,n,a,i,s,o,l,c,u,h){for(var d=a-1,p=0===a?i:[""],g=p.length,m=0,y=0,k=0;m<n;++m)for(var w=0,v=_(t,d+1,d=b(y=s[m])),S=t;w<g;++w)(S=(y>0?p[w]+" "+v:x(v,/&\f/g,p[w])).trim())&&(l[k++]=S);return E(t,e,r,0===a?f:o,l,c,u,h)}function j(t,e,r,n,a){return E(t,e,r,g,_(t,0,n),_(t,n+1,-1),n,a)}var F=r(29628),z=r(78775),B=r(6864),U=r(27885),W=r(72170);function q(t){if(null==t)return!0;
61if((0,B.X)(t))return("function"==typeof t.splice||"string"==typeof t||!!(0,z.P)(t)||!!(0,W.i)(t)||!!(0,U.N)(t))&&0===t.length;if("object"==typeof t||"function"==typeof t){let e;if(t instanceof Map||t instanceof Set)return 0===t.size;let r=Object.keys(t);return(e=t?.constructor,t===("function"==typeof e?e.prototype:Object.prototype))?0===r.filter(t=>"constructor"!==t).length:0===r.length}return!0}var H={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 Promise.all([r.e(38086),r.e(3441)]).then(r.bind(r,64111));return{id:"c4",diagram:t}},"loader")},Y="flowchart-v2",X=(0,u.K)(t=>/^\s*(graph|flowchart)/.test(t),"detector"),G=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(90703),r.e(62534)]).then(r.bind(r,70091));return{id:Y,diagram:t}},"loader"),Z={id:Y,detector:X,loader:G},V="agentflow",Q=(0,u.K)(t=>/^\s*agentflow-beta\b/.test(t),"detector"),J=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(54506),r.e(93007)]).then(r.bind(r,47184));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(90703),r.e(80949)]).then(r.bind(r,51890));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(72209).then(r.bind(r,72209));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(25587),r.e(89340),r.e(97782)]).then(r.bind(r,97782));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(19381).then(r.bind(r,19381));return{id:tu,diagram:t}},"loader"),tp={id:tu,detector:th,loader:td},tf="info",tg=(0,u.K)(t=>/^\s*info/.test(t),"detector"),tm=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(6165)]).then(r.bind(r,6165));return{id:tf,diagram:t}},"loader"),ty={id:tf,detector:tg,loader:tm},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(25587),r.e(89340),r.e(86202)]).then(r.bind(r,86202));return{id:"pie",diagram:t}},"loader")},tk="quadrantChart",tx=(0,u.K)(t=>/^\s*quadrantChart/.test(t),"detector"),tw=(0,u.K)(async()=>{let{diagram:t}=await r.e(99349).then(r.bind(r,99349));return{id:tk,diagram:t}},"loader"),t_={id:tk,detector:tx,loader:tw},tv="xychart",tS=(0,u.K)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tA=(0,u.K)(async()=>{let{diagram:t}=await r.e(21498).then(r.bind(r,21498));return{id:tv,diagram:t}},"loader"),tM={id:tv,detector:tS,loader:tA},tT="requirement",tL=(0,u.K)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tK=(0,u.K)(async()=>{let{diagram:t}=await r.e(47667).then(r.bind(r,47667));return{id:tT,diagram:t}},"loader"),tO={id:tT,detector:tL,loader:tK},t$="sequence",tC=(0,u.K)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tE=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(36220),r.e(43882)]).then(r.bind(r,11562));return{id:t$,diagram:t}},"loader"),tR={id:t$,detector:tC,loader:tE},tP="classDiagram",tD=(0,u.K)(t=>/^\s*classDiagram/.test(t),"detector"),tI=(0,u.K)(async()=>{let{diagram:t}=await r.e(5004).then(r.bind(r,5004));return{id:tP,diagram:t}},"loader"),tN={id:tP,detector:tD,loader:tI},tj="stateDiagram",tF=(0,u.K)(t=>/^\s*stateDiagram/.test(t),"detector"),tz=(0,u.K)(async()=>{let{diagram:t}=await r.e(11305).then(r.bind(r,11305));return{id:tj,diagram:t}},"loader"),tB={id:tj,detector:tF,loader:tz},tU="journey",tW=(0,u.K)(t=>/^\s*journey/.test(t),"detector"),tq=(0,u.K)(async()=>{let{diagram:t}=await r.e(49205).then(r.bind(r,49205));return{id:tU,diagram:t}},"loader"),tH={id:tU,detector:tW,loader:tq},tY={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")},tX={db:{},renderer:tY,parser:{parse:(0,u.K)(()=>{},"parse")}},tG="flowchart-elk",tZ=(0,u.K)((t,e={})=>!!/^\s*flowchart-elk/.test(t)&&(e.layout="elk",!0),"detector"),tV=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(90703),r.e(62534)]).then(r.bind(r,70091));return{id:tG,diagram:t}},"loader"),tQ={id:tG,detector:tZ,loader:tV},tJ="timeline",t0=(0,u.K)(t=>/^\s*timeline/.test(t),"detector"),t1=(0,u.K)(async()=>{let{diagram:t}=await r.e(75102).then(r.bind(r,75102));return{id:tJ,diagram:t}},"loader"),t2={id:tJ,detector:t0,loader:t1},t3="mindmap",t5=(0,u.K)(t=>/^\s*mindmap/.test(t),"detector"),t8=(0,u.K)(async()=>{let{diagram:t}=await r.e(65427).then(r.bind(r,65427));return{id:t3,diagram:t}},"loader"),t9={id:t3,detector:t5,loader:t8},t6="kanban",t4=(0,u.K)(t=>/^\s*kanban/.test(t),"detector"),t7=(0,u.K)(async()=>{let{diagram:t}=await r.e(50843).then(r.bind(r,50843));return{id:t6,diagram:t}},"loader"),et={id:t6,detector:t4,loader:t7},ee="sankey",er=(0,u.K)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),en=(0,u.K)(async()=>{let{diagram:t}=await r.e(79929).then(r.bind(r,79929));return{id:ee,diagram:t}},"loader"),ea={id:ee,detector:er,loader:en},ei="packet",es=(0,u.K)(t=>/^\s*packet(-beta)?/.test(t),"detector"),eo=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(11965)]).then(r.bind(r,11965));return{id:ei,diagram:t}},"loader"),el={id:ei,detector:es,loader:eo},ec="radar",eu=(0,u.K)(t=>/^\s*radar-beta/.test(t),"detector"),eh=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(95137)]).then(r.bind(r,95137));return{id:ec,diagram:t}},"loader"),ed={id:ec,detector:eu,loader:eh},ep="block",ef=(0,u.K)(t=>/^\s*block(-beta)?/.test(t),"detector"),eg=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(91815),r.e(82445)]).then(r.bind(r,82445));return{id:ep,diagram:t}},"loader"),em={id:ep,detector:ef,loader:eg},ey="treeView",eb=(0,u.K)(t=>/^\s*treeView-beta/.test(t),"detector"),ek=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(99864)]).then(r.bind(r,99864));return{id:ey,diagram:t}},"loader"),ex={id:ey,detector:eb,loader:ek},ew="architecture",e_=(0,u.K)(t=>/^\s*architecture/.test(t),"detector"),ev=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(836),r.e(89340),r.e(4453)]).then(r.bind(r,26834));return{id:ew,diagram:t}},"loader"),eS={id:ew,detector:e_,loader:ev},eA="eventmodeling",eM=(0,u.K)(t=>/^\s*eventmodeling/.test(t),"detector"),eT=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(48234)]).then(r.bind(r,48234));return{id:eA,diagram:t}},"loader"),eL={id:eA,detector:eM,loader:eT},eK="ishikawa",eO=(0,u.K)(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),e$=(0,u.K)(async()=>{let{diagram:t}=await r.e(64742).then(r.bind(r,64742));return{id:eK,diagram:t}},"loader"),eC={id:eK,detector:eO,loader:e$},eE="venn",eR=(0,u.K)(t=>/^\s*venn-beta/.test(t),"detector"),eP=(0,u.K)(async()=>{let{diagram:t}=await r.e(23957).then(r.bind(r,23957));return{id:eE,diagram:t}},"loader"),eD={id:eE,detector:eR,loader:eP},eI="treemap",eN=(0,u.K)(t=>/^\s*treemap/.test(t),"detector"),ej=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(32e3)]).then(r.bind(r,32e3));return{id:eI,diagram:t}},"loader"),eF={id:eI,detector:eN,loader:ej},ez="usecase",eB=(0,u.K)(t=>/^\s*usecase-beta(?:\s|$)/.test(t),"detector"),eU=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(53281),r.e(55478)]).then(r.bind(r,53278));return{id:ez,diagram:t}},"loader"),eW={id:ez,detector:eB,loader:eU},eq="wardley",eH=(0,u.K)(t=>/^\s*wardley-beta/i.test(t),"detector"),eY=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(28008)]).then(r.bind(r,28008));return{id:eq,diagram:t}},"loader"),eX={id:eq,detector:eH,loader:eY},eG="cynefin",eZ=(0,u.K)(t=>/^\s*cynefin-beta(?:[\s:]|$)/.test(t),"detector"),eV=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(44319)]).then(r.bind(r,44319));return{id:eG,diagram:t}},"loader"),eQ={id:eG,detector:eZ,loader:eV},eJ="railroad",e0=(0,u.K)(t=>/^\s*railroad-beta/i.test(t),"detector"),e1=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(27751),r.e(92778)]).then(r.bind(r,92778));return{id:eJ,diagram:t}},"loader"),e2={id:eJ,detector:e0,loader:e1},e3="railroadEbnf",e5=(0,u.K)(t=>/^\s*railroad-ebnf-beta/i.test(t),"detector"),e8=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(27751),r.e(83429)]).then(r.bind(r,83429));return{id:e3,diagram:t}},"loader"),e9={id:e3,detector:e5,loader:e8},e6="railroadAbnf",e4=(0,u.K)(t=>/^\s*railroad-abnf-beta/i.test(t),"detector"),e7=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(27751),r.e(42180)]).then(r.bind(r,19799));return{id:e6,diagram:t}},"loader"),rt={id:e6,detector:e4,loader:e7},re="railroadPeg",rr=(0,u.K)(t=>/^\s*railroad-peg-beta/i.test(t),"detector"),rn=(0,u.K)(async()=>{let{diagram:t}=await Promise.all([r.e(25587),r.e(89340),r.e(27751),r.e(56363)]).then(r.bind(r,56363));return{id:re,diagram:t}},"loader"),ra={id:re,detector:rr,loader:rn},ri=!1,rs=(0,u.K)(()=>{ri||(ri=!0,(0,l.Js)("error",tX,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)(tQ,t9,eS),(0,l.Xd)(tt,H,et,tN,ti,tp,ty,tb,tO,tR,ta,Z,t2,tc,tB,tH,t_,ea,el,tM,em,eL,ex,ed,eC,eF,e2,e9,rt,ra,eD,eX,eQ,eW))},"addDiagrams"),ro=(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 rl(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function rc(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)(rl,"setA11yDiagramInfo"),(0,u.K)(rc,"addSVGa11yTitleDescription");var ru=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="string"==typeof e?{raw:e,cleaned:e}:e,a=(0,l.zj)(),i=(0,l.Ch)(n.cleaned,a);try{(0,l.Gs)(i)}catch{let t=(0,l.J$)(i);if(!t)throw new l.C0(`Diagram ${i} not found.`);let{id:e,diagram:r}=await t();(0,l.Js)(e,r)}let{db:s,parser:u,renderer:h,init:d}=(0,l.Gs)(i);u.parser&&(u.parser.yy=s),s.clear?.(),d?.(a),r.title&&s.setDiagramTitle?.(r.title);let p=n.cleaned;if(s.preserveCommentsWhenParsing&&n.withComments){let t=a.maxTextSize??l.UI.maxTextSize;n.withComments.length>t?c.R.warn(`Comment-preserving source exceeds maxTextSize (${n.withComments.length} > ${t}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):p=n.withComments}let f=(0,o.C4)(p)+"\n";return n.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(n.frontmatterLineOffset),await u.parse(f),new t(i,f,s,u,h)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},rh=[],rd=(0,u.K)(()=>{rh.forEach(t=>{t()}),rh=[]},"attachFunctions"),rp=(0,u.K)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function rf(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)(rf,"extractFrontMatter");var rg=(0,u.K)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>
61"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),rm=(0,u.K)(t=>{let{text:e,metadata:r}=rf(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"),ry=(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 rb(t){let e=rg(t),r=rm(e),n=ry(r.text),a=(0,o.$t)(r.config,n.directive),i=n.text;return{code:{raw:t,cleaned:rp(i),withComments:i,frontmatterLineOffset:e.length>r.text.length?(e.substring(0,e.length-r.text.length).match(/\n/g)??[]).length:0},title:r.title,config:a}}function rk(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,u.K)(rb,"preprocessDiagram"),(0,u.K)(rk,"toBase64");var rx=["foreignobject"],rw=["dominant-baseline"];function r_(t){let e,r=rb(t);(0,l.cL)();try{e=(0,l.Ch)(r.code.cleaned,(0,l.zj)())}catch{e=void 0}return(0,l.yj)(e),(0,l.xA)(r.config??{}),r}async function rv(t,e){rs();try{let{code:e,config:r}=r_(t);return{diagramType:(await ru.fromText(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}finally{(0,l.yj)(void 0)}}(0,u.K)(r_,"processAndSetConfigs"),(0,u.K)(rv,"parse");var rS=(0,u.K)((t,e,r=[])=>{let n=(0,l.Df)(`{ ${r.join(" !important; ")} !important; }`);return`.${t} ${e} ${n}`},"cssImportantStyles"),rA=(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=>{q(t.styles)||n.forEach(e=>{r.insertRule(rS(t.id,e,t.styles),r.cssRules.length)}),q(t.textStyles)||r.insertRule(rS(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"),rM=(0,u.K)((t,e)=>{var r,n,a,i,s;return A((a=function t(e,r,n,a,i,s,o,l,c){for(var u,h,d,f,g=0,m=0,y=o,b=0,A=0,M=0,K=1,F=1,z=1,B=0,U=0,W="",q=i,H=s,Y=a,X=W;F;)switch(M=U,U=R()){case 40:108!=M&&58==w(X,y-1)?(B++,X+="("):X+=I(U);break;case 41:B--,X+=")";break;case 34:case 39:case 91:X+=I(U);break;case 9:case 10:case 13:case 32:if(B>0){X+=k(U);break}X+=function(t){for(;$=P();)if($<33)R();else break;return D(t)>2||D($)>3?"":" "}(M);break;case 92:X+=function(t,e){for(var r;--e&&R()&&!($<48)&&!($>102)&&(!($>57)||!($<65))&&(!($>70)||!($<97)););return r=O+(e<6&&32==P()&&32==R()),_(C,t,r)}(O-1,7);continue;case 47:switch(P()){case 42:case 47:S((u=function(t,e){for(;R();)if(t+$===57)break;else if(t+$===84&&47===P())break;return"/*"+_(C,e,O-1)+"*"+k(47===t?t:R())}(R(),O),h=r,d=n,f=c,E(u,h,d,p,k($),_(u,2,-2),0,f)),c),(5==D(M||1)||5==D(P()||1))&&v(X)&&" "!==_(X,-1,void 0)&&(X+=" ");break;default:X+="/"}break;case 123*K:l[g++]=v(X)*z;case 125*K:case 59:case 0:if(B>0&&U){X+=k(U);break}switch(U){case 0:case 125:F=0;case 59+m:-1==z&&(X=x(X,/\f/g,"")),A>0&&(v(X)-y||0===K)&&S(A>32?j(X+";",a,n,y-1,c):j(x(X," ","")+";",a,n,y-2,c),c);break;case 59:X+=";";default:if(S(Y=N(X,r,n,g,m,i,l,W,q=[],H=[],y,s),s),123===U)if(0===m)t(X,r,Y,Y,q,s,y,l,H);else{switch(b){case 99:if(110===w(X,3))break;case 108:if(97===w(X,2))break;default:m=0;case 100:case 109:case 115:}m?t(e,Y,Y,a&&S(N(e,Y,Y,0,0,i,l,W,i,q=[],y,H),H),i,H,y,l,a?q:H):t(X,Y,Y,Y,[""],H,0,l,H)}}g=m=A=0,K=z=1,W=X="",y=o;break;case 58:y=1+v(X),A=M;default:if(K<1){if(123==U)--K;else if(125==U&&0==K++&&125==($=O>0?w(C,--O):0,L--,10===$&&(L=1,T--),$))continue}switch(X+=k(U),U*K){case 38:z=m>0?1:(X+="\f",-1);break;case 44:if(B>0)break;l[g++]=(v(X)-1)*z,z=1;break;case 64:45===P()&&(X+=I(R())),b=P(),m=y=v(W=X+=function(t){for(;!D(P());)R();return _(C,t,O)}(O)),U++;break;case 45:45===M&&2==v(X)&&(K=0)}}return s}("",null,null,null,[""],(n=r=`${t}{${e}}`,T=L=1,K=v(C=n),O=0,r=[]),0,[0],r),C="",a),(s=(i=[(0,u.K)(function(e,r,n,a){"rule"===e.type&&Array.isArray(e.props)?e.parent&&e.parent.type===m||(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",y,"@scope","@container","@starting-style",m].includes(e.type)||(c.R.warn(`Removing unsupported at-rule ${e.type} from CSS`),e.type=p))},"addNamespace"),M]).length,function(t,e,r,n){for(var a="",o=0;o<s;o++)a+=i[o](t,e,r,n)||"";return a}))},"compileCSS"),rT=(0,u.K)((t,e,r,n)=>{let a=rA(t,r),i=(0,l.tM)(e,a,{...t.themeVariables,theme:t.theme,look:t.look},n);return rM(n,i)},"createUserStyles"),rL=(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"),rK=(0,u.K)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",
62n=rk(`<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"),rO=(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 r$(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,u.K)(r$,"sandboxedIframe");var rC=(0,u.K)((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),rE=(0,u.K)(async function(t,e,r){let n,a;rs();let i=r_(e),s=i.code;e=s.cleaned;let o=(0,l.zj)();c.R.debug(o),e.length>(o?.maxTextSize??5e4)&&(s={raw:e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",cleaned:e});let h=`#${t}`,p="i"+t,f="#"+p,g="d"+t,m="#"+g,y=(0,u.K)(()=>{let t=k?f:m,e=(0,d.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),b=(0,d.Ltv)(document.body),k="sandbox"===o.securityLevel,x="loose"===o.securityLevel,w=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),k){let t=r$((0,d.Ltv)(r),p);(b=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else b=(0,d.Ltv)(r);rO(b,t,g,`font-family: ${w}`,"http://www.w3.org/1999/xlink")}else{if(rC(document,t,g,p),k){let t=r$((0,d.Ltv)(document.body),p);(b=(0,d.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else b=(0,d.Ltv)("body");rO(b,t,g)}try{n=await ru.fromText(s,{title:i.title})}catch(t){if(o.suppressErrorRendering)throw y(),t;n=await ru.fromText("error"),a=t}let _=b.select(m).node(),v=n.type,S=_.firstChild,A=S.firstChild,M=rT(o,v,n.renderer.getClasses?.(e,n),h),T=document.createElement("style");T.innerHTML=M,S.insertBefore(T,A);try{await n.renderer.draw(e,t,"12.0.0",n)}catch(r){throw o.suppressErrorRendering?y():tY.draw(e,t,"12.0.0"),r}rI(v,b.select(`${m} svg`),n.db.getAccTitle?.(),n.db.getAccDescription?.());let L=(0,u.K)(()=>{b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let e=b.select(m).node().innerHTML;return c.R.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),e=rL(e,k,(0,l._3)(o.arrowMarkerAbsolute)),k?e=rK(e,b.select(m+" svg").node()):x||(e=F.A.sanitize(e,{ADD_TAGS:rx,ADD_ATTR:rw,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),rd(),e},"serializeSvg")();if(a)throw a;return y(),{diagramType:v,svg:L,bindFunctions:n.db.bindFunctions}},"renderDiagram"),rR=(0,u.K)(async function(t,e,r){try{return await rE(t,e,r)}finally{(0,l.yj)(void 0)}},"render");function rP(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);let r=l.sb.theme;e?.theme&&Object.hasOwn(l.H$,e.theme)?e.themeVariables=l.H$[e.theme].getThemeVariables(e.themeVariables):e&&(null!=e.theme&&"null"!==e.theme&&(e.theme=r),e.themeVariables=l.H$[r].getThemeVariables(e.themeVariables));let n="object"==typeof e?(0,l.UU)(e):(0,l.Q2)();(0,c.H)(n.logLevel),rs()}(0,u.K)(rP,"initialize");var rD=(0,u.K)((t,e={})=>{let{code:r}=rb(t);return ru.fromText(r,e)},"getDiagramFromText");function rI(t,e,r,n){rl(e,t),rc(e,r,n,e.attr("id"))}(0,u.K)(rI,"addA11yInfo");var rN=Object.freeze({render:rR,parse:rv,getDiagramFromText:rD,initialize:rP,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 rj=(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"),rF=(0,u.K)(async function(t={querySelector:".mermaid"}){try{await rz(t)}catch(e){if((0,o.dq)(e)&&c.R.error(e.str),rJ.parseError&&rJ.parseError(e),!t.suppressErrors)throw c.R.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rz=(0,u.K)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n,a,i=rN.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),rN.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 rV(r,a,e);e.innerHTML=n,t&&await t(r),i&&i(e)}catch(t){rj(t,l,rJ.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),rB=(0,u.K)(function(t){rN.initialize(t)},"initialize"),rU=(0,u.K)(async function(t,e,r){c.R.warn("mermaid.init is deprecated. Please use run instead."),t&&rB(t);let n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await rF(n)},"init"),rW=(0,u.K)(async(t,{lazyLoad:e=!0}={})=>{rs(),(0,l.Xd)(...t),!1===e&&await ro()},"registerExternalDiagrams"),rq=(0,u.K)(function(){if(rJ.startOnLoad){let{startOnLoad:t}=rN.getConfig();t&&rJ.run().catch(t=>c.R.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rq,!1);var rH=(0,u.K)(function(t){rJ.parseError=t},"setParseErrorHandler"),rY=[],rX=!1,rG=(0,u.K)(async()=>{if(!rX){for(rX=!0;rY.length>0;){let t=rY.shift();if(t)try{await t()}catch(t){c.R.error("Error executing queue",t)}}rX=!1}},"executeQueue"),rZ=(0,u.K)(async(t,e)=>new Promise((r,n)=>{let a=(0,u.K)(()=>new Promise((a,i)=>{rN.parse(t,e).then(t=>{a(t),r(t)},t=>{c.R.error("Error parsing",t),rJ.parseError?.(t),i(t),n(t)})}),"performCall");rY.push(a),rG().catch(n)}),"parse"),rV=(0,u.K)((t,e,r)=>new Promise((n,a)=>{let i=(0,u.K)(()=>new Promise((i,s)=>{rN.render(t,e,r).then(t=>{i(t),n(t)},t=>{c.R.error("Error parsing",t),rJ.parseError?.(t),s(t),a(t)})}),"performCall");rY.push(i),rG().catch(a)}),"render"),rQ=(0,u.K)(()=>Object.keys(l.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),rJ={startOnLoad:!0,mermaidAPI:rN,parse:rZ,render:rV,init:rU,run:rF,registerExternalDiagrams:rW,registerLayoutLoaders:i.sO,initialize:rB,parseError:void 0,contentLoaded:rq,setParseErrorHandler:rH,detectType:l.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:rQ},r0=rJ},85650:(t,e,r)=>{"use strict";r.d(e,{pe:()=>_,PX:()=>Z,ru:()=>X,Un:()=>G,$t:()=>tr,Sm:()=>ti,C4:()=>ta,$C:()=>z,rY:()=>ts,sM:()=>j,KL:()=>to,Ib:()=>K,dq:()=>J,I5:()=>te,yT:()=>U,vU:()=>T,_K:()=>tn,bH:()=>H});var n,a=r(90278),i=r(37395),s=r(95573),o=r(95569),l=r(7471);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}c.Cache=Map;var u=r(83965),h=r(11731),d=r(42233),p=r(70571),f=r(78775),g=r(50922);function m(t){if("object"!=typeof t||null==t)return!1;if(null===Object.getPrototypeOf(t))return!0;if("[object Object]"!==Object.prototype.toString.call(t)){let e=t[Symbol.toStringTag];return null!=e&&!!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable&&t.toString()===`[object ${e}]`}let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}var y=r(34852),b=r(27885);function k(t){return"object"==typeof t&&null!==t}var x=r(6864),w=r(72170),_="​",v={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,curveLinear:l.lUB,curveLinearClosed:l.Lx9,curveMonotoneX:l.nVG,curveMonotoneY:l.uxU,curveNatural:l.Xf2,curveStep:l.GZz,curveStepAfter:l.UPb,curveStepBefore:l.dyv},S=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,A=(0,s.K)(function(t,e){let r=M(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"),M=(0,s.K)(function(t,e=null){try{let r,n=RegExp(`[%]{2}(?![{]${S.source})(?=[}][%]{2}).*
65`,"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"),T=(0,s.K)(function(t){return t.replace(a.DB,"")},"removeDirectives"),L=(0,s.K)(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return -1},"isSubstringInArray");function K(t,e){return t?v[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function O(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,o.J)(r):r}(0,s.K)(K,"interpolateToCurve"),(0,s.K)(O,"formatUrl");var $=(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 C(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function E(t){let e,r=0;return t.forEach(t=>{r+=C(t,e),e=t}),D(t,r/2)}function R(t){return 1===t.length?t[0]:E(t)}(0,s.K)(C,"distance"),(0,s.K)(E,"traverseEdge"),(0,s.K)(R,"calcLabelPosition");var P=(0,s.K)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),D=(0,s.K)((t,e)=>{let r,n=e;for(let e of t){if(r){let t=C(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:P((1-a)*r.x+a*e.x,5),y:P((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),I=(0,s.K)((t,e,r)=>{i.R.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let n=D(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 N(t,e,r){let n=structuredClone(r);i.R.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();let a=D(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};
65return"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 j(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)(N,"calcTerminalLabelPosition"),(0,s.K)(j,"getStylesFromArray");var F=0,z=(0,s.K)(()=>(F++,"id-"+Math.random().toString(36).substr(2,12)+"-"+F),"generateId");function B(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)(B,"makeRandomHex");var U=(0,s.K)(t=>B(t.length),"random"),W=(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"),q=(0,s.K)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,n]=te(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"),H=c((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.hasBreaks(t)))return t;let n=t.split(" ").filter(Boolean),i=[],s="";return n.forEach((t,a)=>{let o=G(`${t} `,r),l=G(s,r);if(o>e){let{hyphenatedStrings:n,remainingWord:a}=Y(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}`),Y=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(G(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 X(t,e){return Z(t,e).height}function G(t,e){return Z(t,e).width}(0,s.K)(X,"calculateTextHeight"),(0,s.K)(G,"calculateTextWidth");var Z=c((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};let[,s]=te(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=W();a.text=n||_;let o=q(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}`),V=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")}},Q=(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 J(t){return"str"in t}(0,s.K)(J,"isDetailedError");var tt=(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"),te=(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 tr(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++)t in r||(r[t]=void 0)}let i=[...Object.keys(r),...(0,p.O)(r)];for(let o=0;o<i.length;o++){let l=i[o];if((0,g.w)(l))continue;let c=r[l],u=e[l];if((0,b.N)(c)&&(c={...c}),(0,b.N)(u)&&(u={...u}),(0,f.P)(c)&&(c=(0,y.m)(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(k(s=u)&&(0,x.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)||k(u)&&k(c)&&(m(u)||m(c)||(0,w.i)(u)||(0,w.i)(c))?e[l]=t(u,c,n,a):null==u&&m(c)?e[l]=t({}
65,c,n,a):null==u&&(0,w.i)(c)?e[l]=(0,y.m)(c):(void 0===u||void 0!==c)&&(e[l]=c)}return e}(a,r[t],n,new Map);return a}(t,...e,u.l)}({},t,e)}(0,s.K)(tr,"cleanAndMerge");var tn={assignWithDepth:a.hH,wrapLabel:H,calculateTextHeight:X,calculateTextWidth:G,calculateTextDimensions:Z,cleanAndMerge:tr,detectInit:A,detectDirective:M,isSubstringInArray:L,interpolateToCurve:K,calcLabelPosition:R,calcCardinalityPosition:I,calcTerminalLabelPosition:N,formatUrl:O,getStylesFromArray:j,generateId:z,random:U,runFunc:$,entityDecode:Q,insertTitle:tt,isLabelCoordinateInPath:tl,parseFontSize:te,InitIDGenerator:V},ta=(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"),ti=(0,s.K)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),ts=(0,s.K)((t,e,{counter:r=0,prefix:n,suffix:a},i)=>i||`${n?`${n}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function to(t){return t??null}function tl(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)(to,"handleUndefinedAttr"),(0,s.K)(tl,"isLabelCoordinateInPath")},85860:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(9460);let a=(t,e)=>(0,n.A)(t,"l",-e)},86181:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>h,GX:()=>u,KX:()=>c,WW:()=>o,ue:()=>i});var n=r(90278),a=r(95573),i=(0,a.K)(t=>{let{handDrawnSeed:e}=(0,n.D7)();return{fill:t,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,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:1.5,hachureGap:1.5,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")},91122:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(39308),a=r(82797);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")},92609:(t,e,r)=>{"use strict";r.d(e,{IU:()=>M,Jo:()=>F,Nq:()=>g,T_:()=>$,UQ:()=>A,a6:()=>T,g0:()=>tf,hq:()=>f,jP:()=>K,lP:()=>S});var n=r(16581),a=r(16452),i=r(86181),s=r(55248),o=r(85650),l=r(90278),c=r(37395),u=r(95573),h=r(7471),d=r(28445),p=(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"),f={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 m(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=y(t),e=y(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)(m,"calculateDeltaAndAngle");var y=(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=y(n[0]).x<y(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(f,t.arrowTypeStart)){let{angle:e,deltaX:r}=m(n[0],n[1]);a=f[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(f,t.arrowTypeEnd)){let{angle:e,deltaX:r}=m(n[n.length-1],n[n.length-2]);a=f[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let s=Math.abs(y(e).x-y(n[n.length-1]).x),o=Math.abs(y(e).y-y(n[n.length-1]).y),l=Math.abs(y(e).x-y(n[0]).x),c=Math.abs(y(e).y-y(n[0]).y),u=f[t.arrowTypeStart],h=f[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 y(e).x+a},"x"),y:(0,u.K)(function(e,r,n){let a=0,i=y(n[0]).y<y(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(f,t.arrowTypeStart)){let{angle:e,deltaY:r}=m(n[0],n[1]);a=f[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(f,t.arrowTypeEnd)){let{angle:e,deltaY:r}=m(n[n.length-1],n[n.length-2]);a=f[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let s=Math.abs(y(e).y-y(n[n.length-1]).y),o=Math.abs(y(e).x-y(n[n.length-1]).x),l=Math.abs(y(e).y-y(n[0]).y),c=Math.abs(y(e).x-y(n[0]).x),u=f[t.arrowTypeStart],h=f[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 y(e).y+a}
65,"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"),x={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},arrow_hierarchy:{type:"hierarchy",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}},w=["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=x[r],u=l&&w.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"),S=new Map,A=new Map,M=(0,u.K)(()=>{S.clear(),A.clear()},"clear"),T=(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"),K=(0,u.K)(async(t,e)=>{let r,n,o,u=(0,l.D7)(),d=(0,l.E)(u),{labelStyles:f}=(0,i.GX)(e);e.labelStyle=f;let g=t.insert("g").attr("class","edgeLabel"),m=g.insert("g").attr("class","label").attr("data-id",e.id),y="markdown"===e.labelType,b=await (0,s.GZ)(t,e.label,{style:L(e.labelStyle),useHtmlLabels:d,addSvgBackground:!0,isNode:!1,markdown:y,width:void 0},u);if(m.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(m.attr("transform",p(n,d)),S.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",p(s,d)),A.get(e.id)||A.set(e.id,{}),A.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",p(s,d)),A.get(e.id)||A.set(e.id,{}),A.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",p(s,d)),A.get(e.id)||A.set(e.id,{}),A.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",p(s,d)),A.get(e.id)||A.set(e.id,{}),A.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 $=(0,u.K)((t,e)=>{c.R.debug("Moving label abc88 ",t.id,t.label,S.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=S.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=A.get(t.id).startLeft,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
65n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.startLabelRight){let e=A.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=A.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=A.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"),C=(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"),E=(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"),R=(0,u.K)((t,e,r)=>{c.R.debug(`intersection calc abc89:
66  outsidePoint: ${JSON.stringify(e)}
67  insidePoint : ${JSON.stringify(r)}
68  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"),P=(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),E(e,t)||a)c.R.warn("abc88 outside",t,n),n=t,a||r.push(t);else{let i=R(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 D(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)(D,"extractCornerPoints");var I=(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"),N=(0,u.K)(function(t){let{cornerPointPositions:e}=D(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=I(e,i,5),o=I(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"),j=(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,p=!1){let f,m;if(!u)throw Error(`insertEdge: missing diagramId for edge "${e.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:y,layout:x}=(0,l.D7)(),w=e.points,_=!1,S=[];for(let t in e.cssCompiledStyles)(0,i.KX)(t)||S.push(e.cssCompiledStyles[t]);if("swimlane"===x){if(s.intersect&&a.intersect&&Array.isArray(w)&&w.length>=2)if(2===w.length)w=[a.intersect(w[0]),s.intersect(w[1])];else{let t=w.slice(1,-1),e=t[0],r=t[t.length-1],n=.5>Math.abs(w[w.length-1].x-r.x)&&.5>Math.abs(w[w.length-1].y-r.y),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);w=[....5>Math.abs(i.x-e.x)&&.5>Math.abs(i.y-e.y)?[]:[i],...t,...l?[]:[o]]}w=C(e,w)}else s.intersect&&a.intersect&&!p&&((w=w.slice(1,e.points.length-1)).unshift(a.intersect(w[0])),w.push(s.intersect(w[w.length-1])));let A=btoa(JSON.stringify(w));e.toCluster&&(c.R.info("to cluster abc88",r.get(e.toCluster)),w=P(e.points,r.get(e.toCluster).node),_=!0),e.fromCluster&&(c.R.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(w,null,2)),w=P(w.reverse(),r.get(e.fromCluster).node).reverse(),_=!0);let M=w.filter(t=>!Number.isNaN(t.y)),T=v(e.curve);"rounded"!==T&&(M=N(M));let L=h.lUB;switch(T){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:K,y:O}=b(e),$=(0,h.n8j)().x(K).y(O).curve(L);switch(e.thickness){case"normal":default:f="edge-thickness-normal";break;case"thick":f="edge-thickness-thick";break;case"invisible":f="edge-thickness-invisible"}switch(e.pattern){case"solid":default:f+=" edge-pattern-solid";break;case"dotted":f+=" edge-pattern-dotted";break;case"dashed":f+=" edge-pattern-dashed"}let E="rounded"===T?z(U(M,e),5):$(M),R=Array.isArray(e.style)?e.style:[e.style],D=R.find(t=>t?.startsWith("stroke:")),I="";e.animate&&(I="edge-animation-fast"),e.animation&&(I="edge-animation-"+e.animation);let F=!1;
68if("handDrawn"===e.look){let r=d.A.svg(t);Object.assign([],M);let n=r.path(E,{roughness:.3,seed:y});f+=" transition";let a=(m=(0,h.Ltv)(n).select("path").attr("id",`${u}-${e.id}`).attr("class"," "+f+(e.classes?" "+e.classes:"")+(I?" "+I:"")).attr("style",R?R.reduce((t,e)=>t+";"+e,""):"")).attr("d");m.attr("d",a),t.node().appendChild(m.node())}else{let r=S.join(";"),n=R?R.reduce((t,e)=>t+e+";",""):"",a=(r?r+";"+n+";":n)+";"+(R?R.reduce((t,e)=>t+";"+e,""):"");m=t.append("path").attr("d",E).attr("id",`${u}-${e.id}`).attr("class"," "+f+(e.classes?" "+e.classes:"")+(I?" "+I:"")).attr("style",a),D=a.match(/stroke:([^;]+)/)?.[1],F=!0===e.animate||!!e.animation||r.includes("animation");let i=m.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?j(s,o,l):`0 ${o} ${s-o-l} ${l}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;m.attr("style",r+m.attr("style"))}}m.attr("data-edge",!0),m.attr("data-et","edge"),m.attr("data-id",e.id),m.attr("data-points",A),m.attr("data-look",(0,o.KL)(e.look)),e.showPoints&&M.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let B="";((0,l.D7)().flowchart.arrowMarkerAbsolute||(0,l.D7)().state.arrowMarkerAbsolute)&&(B=(B=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 W=!F&&e?.look==="neo";k(m,e,B,u,n,W,D);let q=Math.floor(w.length/2),H=w[q];o._K.isLabelCoordinateInPath(H,m.attr("d"))||(_=!0);let Y={};return _&&(Y.updatedPath=w),Y.originalPath=e.points,Y},"insertEdge");function z(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,p=a/u,f=l/u,g=Math.acos(Math.max(-1,Math.min(1,h*p+d*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${i.x},${i.y}`;continue}let m=Math.min(e/Math.sin(g/2),c/2,u/2),y=i.x-h*m,b=i.y-d*m,k=i.x+p*m,x=i.y+f*m;r+=`L${y},${b}Q${i.x},${i.y} ${k},${x}`}}return r}function B(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 U(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&f[e.arrowTypeStart]){let n=f[e.arrowTypeStart],a=t[0],{angle:i}=B(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&&f[e.arrowTypeEnd]){let a=f[e.arrowTypeEnd],i=t[n-1],{angle:s}=B(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)(z,"generateRoundedPath"),(0,u.K)(B,"calculateDeltaAndAngle"),(0,u.K)(U,"applyMarkerOffsetsToPoints");var W=(0,u.K)((t,e,r,n)=>{e.forEach(e=>{tp[e](t,r,n)})},"insertMarkers"),q=(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").attr("markerUnits","userSpaceOnUse").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
68ygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),H=(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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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"),Y=(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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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").attr("markerUnits","userSpaceOnUse").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
68ygon").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");
68s.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
69      L20,10
70      M20,10
71      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
72      L20,10
73      M20,10
74      L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),th=(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"),td=(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_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),i.selectAll("*").attr("stroke-width",`${a}`)}
74,"requirement_contains_neo"),tp={extension:q,composition:H,aggregation:Y,dependency:X,lollipop:G,point:Z,circle:V,cross:Q,barb:J,barbNeo:tt,hierarchy:(0,u.K)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-hierarchyEnd").attr("class","marker hierarchy "+e).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),t.append("marker").attr("id",r+"_"+e+"-hierarchyStart").attr("class","marker hierarchy "+e).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),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:th,requirement_arrow_neo:tu,requirement_contains_neo:td},tf=W},95569:(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(47828);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}},95573:(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})}}}]);

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.