diff --git "a/build/static/js/main.00a565df.js" "b/build/static/js/main.00a565df.js" new file mode 100644--- /dev/null +++ "b/build/static/js/main.00a565df.js" @@ -0,0 +1,3 @@ +/*! For license information please see main.00a565df.js.LICENSE.txt */ +(()=>{var t={1954(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(43101),i=r(55009),o=Object.prototype.hasOwnProperty;const a=function(t,e,r){var a=t[e];o.call(t,e)&&(0,i.A)(a,r)&&(void 0!==r||e in t)||(0,n.A)(t,e,r)}},2086(t,e,r){"use strict";t.exports=r(95082)},5316(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(99709),i=r(87043),o=r(11444);e.orderBy=function(t,e,r,a){if(null==t)return[];r=a?void 0:r,Array.isArray(t)||(t=Object.values(t)),Array.isArray(e)||(e=null==e?[null]:[e]),0===e.length&&(e=[null]),Array.isArray(r)||(r=null==r?[]:[r]),r=r.map(t=>String(t));const s=(t,e)=>{let r=t;for(let n=0;n(Array.isArray(t)&&1===t.length&&(t=t[0]),null==t||"function"===typeof t||Array.isArray(t)||i.isKey(t)?t:{key:t,path:o.toPath(t)}));return t.map(t=>({original:t,criteria:l.map(e=>((t,e)=>null==e||null==t?e:"object"===typeof t&&"key"in t?Object.hasOwn(e,t.key)?e[t.key]:s(e,t.path):"function"===typeof t?t(e):Array.isArray(t)?s(e,t):"object"===typeof e?e[t]:e)(e,t))})).slice().sort((t,e)=>{for(let i=0;it.original)}},5827(t,e,r){"use strict";r.d(e,{vD:()=>a,wX:()=>o});var n=r(73870),i=r(72203);const o=(0,n.f)(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt)},(t,e)=>{t.setTime(+t+e*i.rR)},(t,e)=>(e-t)/i.rR,t=>t.getMinutes()),a=(o.range,(0,n.f)(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*i.rR)},(t,e)=>(e-t)/i.rR,t=>t.getUTCMinutes()));a.range},5896(t,e){"use strict";function r(t,e){var r=t.length;t.push(e);t:for(;0>>1,i=t[n];if(!(0>>1;no(l,r))Ao(c,l)?(t[n]=c,t[A]=r,n=A):(t[n]=l,t[s]=r,n=s);else{if(!(Ao(c,r)))break t;t[n]=c,t[A]=r,n=A}}}return e}function o(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}if(e.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var A=[],c=[],u=1,h=null,d=3,f=!1,p=!1,g=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(t){for(var e=n(c);null!==e;){if(null===e.callback)i(c);else{if(!(e.startTime<=t))break;i(c),e.sortIndex=e.expirationTime,r(A,e)}e=n(c)}}function C(t){if(g=!1,w(t),!p)if(null!==n(A))p=!0,x||(x=!0,B());else{var e=n(c);null!==e&&L(C,e.startTime-t)}}var B,x=!1,F=-1,k=5,D=-1;function E(){return!!m||!(e.unstable_now()-Dt&&E());){var a=h.callback;if("function"===typeof a){h.callback=null,d=h.priorityLevel;var s=a(h.expirationTime<=t);if(t=e.unstable_now(),"function"===typeof s){h.callback=s,w(t),r=!0;break e}h===n(A)&&i(A),w(t)}else i(A);h=n(A)}if(null!==h)r=!0;else{var l=n(c);null!==l&&L(C,l.startTime-t),r=!1}}break t}finally{h=null,d=o,f=!1}r=void 0}}finally{r?B():x=!1}}}if("function"===typeof b)B=function(){b(S)};else if("undefined"!==typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=S,B=function(){T.postMessage(null)}}else B=function(){y(S,0)};function L(t,r){F=y(function(){t(e.unstable_now())},r)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_forceFrameRate=function(t){0>t||125a?(t.sortIndex=o,r(c,t),null===n(A)&&t===n(c)&&(g?(v(F),F=-1):g=!0,L(C,o-a))):(t.sortIndex=s,r(A,t),p||f||(p=!0,x||(x=!0,B()))),t},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(t){var e=d;return function(){var r=d;d=e;try{return t.apply(this,arguments)}finally{d=r}}}},6739(t,e,r){"use strict";r.d(e,{F8:()=>l,FA:()=>d,FP:()=>i,HQ:()=>f,Ni:()=>c,RZ:()=>A,T9:()=>a,TW:()=>h,gn:()=>o,jk:()=>s,pi:()=>u,qR:()=>p,tn:()=>n});const n=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,l=Math.sin,A=Math.sqrt,c=1e-12,u=Math.PI,h=u/2,d=2*u;function f(t){return t>1?0:t<-1?u:Math.acos(t)}function p(t){return t>=1?h:t<=-1?-h:Math.asin(t)}},7820(t,e,r){t.exports=r(65414).throttle},7840(t,e,r){"use strict";r.d(e,{A:()=>B});const n=(0,r(9885).A)(Object,"create");const i=function(){this.__data__=n?n(null):{},this.size=0};const o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var a=Object.prototype.hasOwnProperty;const s=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0};var l=Object.prototype.hasOwnProperty;const A=function(t){var e=this.__data__;return n?void 0!==e[t]:l.call(e,t)};const c=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++eo});const n=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var i=Math.max;const o=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),l=Array(s);++ao,he:()=>i});var n=r(73870);const i=(0,n.f)(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());i.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,n.f)(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null;i.range;const o=(0,n.f)(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());o.every=t=>isFinite(t=Math.floor(t))&&t>0?(0,n.f)(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null;o.range},9500(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(14802),i=r(53239);const o=function(t){return(0,i.A)(t)&&"[object Arguments]"==(0,n.A)(t)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,A=o(function(){return arguments}())?o:function(t){return(0,i.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")};const c=A},9859(t,e,r){t.exports=r(47231).range},9885(t,e,r){"use strict";r.d(e,{A:()=>m});var n=r(64067);const i=r(54306).A["__core-js_shared__"];var o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();const a=function(t){return!!o&&o in t};var s=r(37664),l=r(66166),A=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,h=c.toString,d=u.hasOwnProperty,f=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(t){return!(!(0,s.A)(t)||a(t))&&((0,n.A)(t)?f:A).test((0,l.A)(t))};const g=function(t,e){return null==t?void 0:t[e]};const m=function(t,e){var r=g(t,e);return p(r)?r:void 0}},9921(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isObjectLike=function(t){return"object"===typeof t&&null!==t}},11444(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(30418),i=r(13272);e.toPath=function(t){if(Array.isArray(t))return t.map(i.toKey);if("symbol"===typeof t)return[t];const e=[],r=(t=n.toString(t)).length;if(0===r)return e;let o=0,a="",s="",l=!1;for(46===t.charCodeAt(0)&&(e.push(""),o++);o=n)&&(r=n);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r=i)&&(r=i)}return r}r.d(e,{A:()=>n})},12104(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(31203),i=r(9921);e.isArrayLikeObject=function(t){return i.isObjectLike(t)&&n.isArrayLike(t)}},12897(t,e,r){var n=r(43693);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}t.exports=function(t){for(var e=1;eo});var n=r(83477);function i(t){this._context=t}function o(t){return new i(t)}i.prototype={areaStart:n.A,areaEnd:n.A,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}}},13272(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.toKey=function(t){var e;return"string"===typeof t||"symbol"===typeof t?t:Object.is(null===t||void 0===t||null===(e=t.valueOf)||void 0===e?void 0:e.call(t),-0)?"-0":String(t)}},13460(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(47790);const i=function(t,e){var r=e?(0,n.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},13719(t,e,r){"use strict";r.d(e,{Nq:()=>a,RI:()=>A,Wg:()=>i,hq:()=>o});var n=r(32748),i=(0,n.K2)((t,e)=>{var r,n;if(e)return"translate("+-t.width/2+", "+-t.height/2+")";const i=null!==(r=t.x)&&void 0!==r?r:0,o=null!==(n=t.y)&&void 0!==n?n:0;return"translate("+-(i+t.width/2)+", "+-(o+t.height/2)+")"},"computeLabelTransform"),o={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},a={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function s(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=l(t),e=l(e);const[r,n]=[t.x,t.y],[i,o]=[e.x,e.y],a=i-r,s=o-n;return{angle:Math.atan(s/a),deltaX:a,deltaY:s}}(0,n.K2)(s,"calculateDeltaAndAngle");var l=(0,n.K2)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),A=(0,n.K2)(t=>({x:(0,n.K2)(function(e,r,n){let i=0;const a=l(n[0]).x=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(o,t.arrowTypeEnd)){const{angle:e,deltaX:r}=s(n[n.length-1],n[n.length-2]);i=o[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}const A=Math.abs(l(e).x-l(n[n.length-1]).x),c=Math.abs(l(e).y-l(n[n.length-1]).y),u=Math.abs(l(e).x-l(n[0]).x),h=Math.abs(l(e).y-l(n[0]).y),d=o[t.arrowTypeStart],f=o[t.arrowTypeEnd];if(A0&&c0&&h=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(o,t.arrowTypeEnd)){const{angle:e,deltaY:r}=s(n[n.length-1],n[n.length-2]);i=o[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}const A=Math.abs(l(e).y-l(n[n.length-1]).y),c=Math.abs(l(e).x-l(n[n.length-1]).x),u=Math.abs(l(e).y-l(n[0]).y),h=Math.abs(l(e).x-l(n[0]).x),d=o[t.arrowTypeStart],f=o[t.arrowTypeEnd];if(A0&&c0&&hn})},14431(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t){return function(){return t}}},14802(t,e,r){"use strict";r.d(e,{A:()=>h});var n=r(75622),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n.A?n.A.toStringTag:void 0;const l=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(l){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i};var A=Object.prototype.toString;const c=function(t){return A.call(t)};var u=n.A?n.A.toStringTag:void 0;const h=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):c(t)}},14910(t,e,r){"use strict";r.d(e,{A:()=>u});var n=r(14802),i=r(33903),o=r(53239),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;const s=function(t){return(0,o.A)(t)&&(0,i.A)(t.length)&&!!a[(0,n.A)(t)]};var l=r(17328),A=r(46662),c=A.A&&A.A.isTypedArray;const u=c?(0,l.A)(c):s},15261(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(56433);e.cloneDeep=function(t){return n.cloneDeepWithImpl(t,void 0,t,new Map,void 0)}},15527(t,e,r){"use strict";function n(t){return t[0]}function i(t){return t[1]}r.d(e,{x:()=>n,y:()=>i})},17170(t,e,r){"use strict";r.d(e,{A:()=>i});const 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=>{const 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+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:(t,e)=>{let{h:r,s:i,l:o}=t;if(!i)return 2.55*o;r/=360,i/=100,o/=100;const a=o<.5?o*(1+i):o+i-o*i,s=2*o-a;switch(e){case"r":return 255*n.hue2rgb(s,a,r+1/3);case"g":return 255*n.hue2rgb(s,a,r);case"b":return 255*n.hue2rgb(s,a,r-1/3)}},rgb2hsl:(t,e)=>{let{r:r,g:n,b:i}=t;r/=255,n/=255,i/=255;const o=Math.max(r,n,i),a=Math.min(r,n,i),s=(o+a)/2;if("l"===e)return 100*s;if(o===a)return 0;const l=o-a;if("s"===e)return 100*(s>.5?l/(2-o-a):l/(o+a));switch(o){case r:return 60*((n-i)/l+(ne>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=>{const e=Math.round(t).toString(16);return e.length>1?e:"0".concat(e)}}}},17235(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(20286);const i=(0,r(55674).A)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const a=function(t){if(!(0,n.A)(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},17283(t){"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new i(n,o||t,a),l=r?r+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],s]:t._events[l].push(s):(t._events[l]=s,t._eventsCount++),t}function a(t,e){0===--t._eventsCount?t._events=new n:delete t._events[e]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);in});const n=function(t){return function(e){return t(e)}}},17330(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(29323);e.property=function(t){return function(e){return n.get(e,t)}}},17590(t,e,r){"use strict";r.d(e,{A:()=>h});var n=r(17235),i=r(37280),o=r(9500),a=r(45386),s=r(33493),l=r(81375),A=r(20286),c=r(14910),u=Object.prototype.hasOwnProperty;const h=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,a.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,i.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,A.A)(t))return!(0,n.A)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},17770(t,e,r){t.exports=r(29323).get},17840(t,e,r){"use strict";r.d(e,{Ay:()=>b,Gw:()=>F,Q1:()=>i,Qh:()=>x,b:()=>B});var n=r(18860);function i(){}var o=.7,a=1/o,s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,u=new RegExp("^rgb\\(".concat(s,",").concat(s,",").concat(s,"\\)$")),h=new RegExp("^rgb\\(".concat(A,",").concat(A,",").concat(A,"\\)$")),d=new RegExp("^rgba\\(".concat(s,",").concat(s,",").concat(s,",").concat(l,"\\)$")),f=new RegExp("^rgba\\(".concat(A,",").concat(A,",").concat(A,",").concat(l,"\\)$")),p=new RegExp("^hsl\\(".concat(l,",").concat(A,",").concat(A,"\\)$")),g=new RegExp("^hsla\\(".concat(l,",").concat(A,",").concat(A,",").concat(l,"\\)$")),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function y(){return this.rgb().formatHex()}function v(){return this.rgb().formatRgb()}function b(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=c.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?w(e):3===r?new F(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?C(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?C(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=u.exec(t))?new F(e[1],e[2],e[3],1):(e=h.exec(t))?new F(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?C(e[1],e[2],e[3],e[4]):(e=f.exec(t))?C(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=p.exec(t))?T(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?T(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?w(m[t]):"transparent"===t?new F(NaN,NaN,NaN,0):null}function w(t){return new F(t>>16&255,t>>8&255,255&t,1)}function C(t,e,r,n){return n<=0&&(t=e=r=NaN),new F(t,e,r,n)}function B(t){return t instanceof i||(t=b(t)),t?new F((t=t.rgb()).r,t.g,t.b,t.opacity):new F}function x(t,e,r,n){return 1===arguments.length?B(t):new F(t,e,r,null==n?1:n)}function F(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function k(){return"#".concat(_(this.r)).concat(_(this.g)).concat(_(this.b))}function D(){const t=E(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(S(this.r),", ").concat(S(this.g),", ").concat(S(this.b)).concat(1===t?")":", ".concat(t,")"))}function E(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function S(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function _(t){return((t=S(t))<16?"0":"")+t.toString(16)}function T(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new U(t,e,r,n)}function L(t){if(t instanceof U)return new U(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=b(t)),!t)return new U;if(t instanceof U)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,l=a-o,A=(a+o)/2;return l?(s=e===a?(r-n)/l+6*(r0&&A<1?0:s,new U(s,l,A,t.opacity)}function U(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function O(t){return(t=(t||0)%360)<0?t+360:t}function I(t){return Math.max(0,Math.min(1,t||0))}function N(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}(0,n.A)(i,b,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:y,formatHex:y,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return L(this).formatHsl()},formatRgb:v,toString:v}),(0,n.A)(F,x,(0,n.X)(i,{brighter(t){return t=null==t?a:Math.pow(a,t),new F(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new F(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new F(S(this.r),S(this.g),S(this.b),E(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:k,formatHex:k,formatHex8:function(){return"#".concat(_(this.r)).concat(_(this.g)).concat(_(this.b)).concat(_(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:D,toString:D})),(0,n.A)(U,function(t,e,r,n){return 1===arguments.length?L(t):new U(t,e,r,null==n?1:n)},(0,n.X)(i,{brighter(t){return t=null==t?a:Math.pow(a,t),new U(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?o:Math.pow(o,t),new U(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new F(N(t>=240?t-240:t+120,i,n),N(t,i,n),N(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new U(O(this.h),I(this.s),I(this.l),E(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=E(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(O(this.h),", ").concat(100*I(this.s),"%, ").concat(100*I(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}))},18205(t,e,r){"use strict";function n(t,e,r){if(t&&t.length){const[n,i]=e,o=Math.PI/180*r,a=Math.cos(o),s=Math.sin(o);for(const e of t){const[t,r]=e;e[0]=(t-n)*a-(r-i)*s+n,e[1]=(t-n)*s+(r-i)*a+i}}}function i(t,e){return t[0]===e[0]&&t[1]===e[1]}function o(t,e,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const a=r,s=Math.max(e,.1),l=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,A=[0,0];if(a)for(const i of l)n(i,A,a);const c=function(t,e,r){const n=[];for(const c of t){const t=[...c];i(t[0],t[t.length-1])||t.push([t[0][0],t[0][1]]),t.length>2&&n.push(t)}const o=[];e=Math.max(e,.1);const a=[];for(const i of n)for(let t=0;tt.ymine.ymin?1:t.xe.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!a.length)return o;let s=[],l=a[0].ymin,A=0;for(;s.length||a.length;){if(a.length){let t=-1;for(let e=0;el);e++)t=e;a.splice(0,t+1).forEach(t=>{s.push({s:l,edge:t})})}if(s=s.filter(t=>!(t.edge.ymax<=l)),s.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||A%e==0)&&s.length>1)for(let t=0;t=s.length)break;const r=s[t].edge,n=s[e].edge;o.push([[Math.round(r.x),l],[Math.round(n.x),l]])}l+=r,s.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),A++}return o}(l,s,o);if(a){for(const t of l)n(t,A,-a);!function(t,e,r){const i=[];t.forEach(t=>i.push(...t)),n(i,e,r)}(c,A,-a)}return c}function a(t,e){var r;const n=e.hachureAngle+90;let i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let a=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(a=i),o(t,i,n,a||1)}r.d(e,{A:()=>it});class s{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){const r=[];for(const n of t)r.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return r}}function l(t){const e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class A extends s{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth),r=Math.max(r,.1);const n=a(t,Object.assign({},e,{hachureGap:r})),i=Math.PI/180*e.hachureAngle,o=[],s=.5*r*Math.cos(i),A=.5*r*Math.sin(i);for(const[a,c]of n)l([a,c])&&o.push([[a[0]-s,a[1]+A],[...c]],[[a[0]+s,a[1]-A],[...c]]);return{type:"fillSketch",ops:this.renderLines(o,e)}}}class c extends s{fillPolygons(t,e){const r=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),i=this._fillPolygons(t,n);return r.ops=r.ops.concat(i.ops),r}}class u{constructor(t){this.helper=t}fillPolygons(t,e){const r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){const r=[];let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let i=e.fillWeight;i<0&&(i=e.strokeWidth/2);const o=n/4;for(const a of t){const t=l(a),s=t/n,A=Math.ceil(s)-1,c=t-A*n,u=(a[0][0]+a[1][0])/2-n/4,h=Math.min(a[0][1],a[1][1]);for(let a=0;a{const o=l(t),a=Math.floor(o/(r+n)),s=(o+n-a*(r+n))/2;let A=t[0],c=t[1];A[0]>c[0]&&(A=t[1],c=t[0]);const u=Math.atan((c[1]-A[1])/(c[0]-A[0]));for(let l=0;l{const i=l(t),o=Math.round(i/(2*e));let a=t[0],s=t[1];a[0]>s[0]&&(a=t[1],s=t[0]);const A=Math.atan((s[1]-a[1])/(s[0]-a[0]));for(let l=0;ln%2?t+r:t+e);o.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":o.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{const t=s.map((t,n)=>n%2?t+r:t+e);o.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":o.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],o.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":o.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],o.push({key:"H",data:[e]});break;case"V":o.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],o.push({key:"V",data:[r]});break;case"S":o.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{const t=s.map((t,n)=>n%2?t+r:t+e);o.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":o.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],o.push({key:"T",data:[e,r]});break;case"Z":case"z":o.push({key:"Z",data:[]}),e=n,r=i}return o}function b(t){const e=[];let r="",n=0,i=0,o=0,a=0,s=0,l=0;for(const{key:A,data:c}of t){switch(A){case"M":e.push({key:"M",data:[...c]}),[n,i]=c,[o,a]=c;break;case"C":e.push({key:"C",data:[...c]}),n=c[4],i=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[n,i]=c;break;case"H":n=c[0],e.push({key:"L",data:[n,i]});break;case"V":i=c[0],e.push({key:"L",data:[n,i]});break;case"S":{let t=0,o=0;"C"===r||"S"===r?(t=n+(n-s),o=i+(i-l)):(t=n,o=i),e.push({key:"C",data:[t,o,...c]}),s=c[0],l=c[1],n=c[2],i=c[3];break}case"T":{const[t,o]=c;let a=0,A=0;"Q"===r||"T"===r?(a=n+(n-s),A=i+(i-l)):(a=n,A=i);const u=n+2*(a-n)/3,h=i+2*(A-i)/3,d=t+2*(a-t)/3,f=o+2*(A-o)/3;e.push({key:"C",data:[u,h,d,f,t,o]}),s=a,l=A,n=t,i=o;break}case"Q":{const[t,r,o,a]=c,A=n+2*(t-n)/3,u=i+2*(r-i)/3,h=o+2*(t-o)/3,d=a+2*(r-a)/3;e.push({key:"C",data:[A,u,h,d,o,a]}),s=t,l=r,n=o,i=a;break}case"A":{const t=Math.abs(c[0]),r=Math.abs(c[1]),o=c[2],a=c[3],s=c[4],l=c[5],A=c[6];0===t||0===r?(e.push({key:"C",data:[n,i,l,A,l,A]}),n=l,i=A):n===l&&i===A||(C(n,i,l,A,t,r,o,a,s).forEach(function(t){e.push({key:"C",data:t})}),n=l,i=A);break}case"Z":e.push({key:"Z",data:[]}),n=o,i=a}r=A}return e}function w(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function C(t,e,r,n,i,o,a,s,l,A){const c=(u=a,Math.PI*u/180);var u;let h=[],d=0,f=0,p=0,g=0;if(A)[d,f,p,g]=A;else{[t,e]=w(t,e,-c),[r,n]=w(r,n,-c);const a=(t-r)/2,A=(e-n)/2;let u=a*a/(i*i)+A*A/(o*o);u>1&&(u=Math.sqrt(u),i*=u,o*=u);const h=i*i,m=o*o,y=h*m-h*A*A-m*a*a,v=h*A*A+m*a*a,b=(s===l?-1:1)*Math.sqrt(Math.abs(y/v));p=b*i*A/o+(t+r)/2,g=b*-o*a/i+(e+n)/2,d=Math.asin(parseFloat(((e-g)/o).toFixed(9))),f=Math.asin(parseFloat(((n-g)/o).toFixed(9))),tf&&(d-=2*Math.PI),!l&&f>d&&(f-=2*Math.PI)}let m=f-d;if(Math.abs(m)>120*Math.PI/180){const t=f,e=r,s=n;f=l&&f>d?d+120*Math.PI/180*1:d+120*Math.PI/180*-1,h=C(r=p+i*Math.cos(f),n=g+o*Math.sin(f),e,s,i,o,a,0,l,[f,t,p,g])}m=f-d;const y=Math.cos(d),v=Math.sin(d),b=Math.cos(f),B=Math.sin(f),x=Math.tan(m/4),F=4/3*i*x,k=4/3*o*x,D=[t,e],E=[t+F*v,e-k*y],S=[r+F*B,n-k*b],_=[r,n];if(E[0]=2*D[0]-E[0],E[1]=2*D[1]-E[1],A)return[E,S,_].concat(h);{h=[E,S,_].concat(h);const t=[];for(let e=0;e2){const i=[];for(let e=0;e2*Math.PI&&(d=0,f=2*Math.PI);const p=2*Math.PI/l.curveStepCount,g=Math.min(p/2,(f-d)/2),m=H(g,A,c,u,h,d,f,1,l);if(!l.disableMultiStroke){const t=H(g,A,c,u,h,d,f,1.5,l);m.push(...t)}return a&&(s?m.push(...M(A,c,A+u*Math.cos(d),c+h*Math.sin(d),l),...M(A,c,A+u*Math.cos(f),c+h*Math.sin(f),l)):m.push({op:"lineTo",data:[A,c]},{op:"lineTo",data:[A+u*Math.cos(d),c+h*Math.sin(d)]})),{type:"path",ops:m}}function _(t,e){const r=b(v(y(t))),n=[];let i=[0,0],o=[0,0];for(const{key:a,data:s}of r)switch(a){case"M":o=[s[0],s[1]],i=[s[0],s[1]];break;case"L":n.push(...M(o[0],o[1],s[0],s[1],e)),o=[s[0],s[1]];break;case"C":{const[t,r,i,a,l,A]=s;n.push(...K(t,r,i,a,l,A,o,e)),o=[l,A];break}case"Z":n.push(...M(o[0],o[1],i[0],i[1],e)),o=[i[0],i[1]]}return{type:"path",ops:n}}function T(t,e){const r=[];for(const n of t)if(n.length){const t=e.maxRandomnessOffset||0,i=n.length;if(i>2){r.push({op:"move",data:[n[0][0]+N(t,e),n[0][1]+N(t,e)]});for(let o=1;o3&&void 0!==arguments[3]?arguments[3]:1;return r.roughness*n*(O(r)*(e-t)+t)}function N(t,e){return I(-t,t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)}function M(t,e,r,n,i){const o=arguments.length>5&&void 0!==arguments[5]&&arguments[5]?i.disableMultiStrokeFill:i.disableMultiStroke,a=Q(t,e,r,n,i,!0,!1);if(o)return a;const s=Q(t,e,r,n,i,!0,!0);return a.concat(s)}function Q(t,e,r,n,i,o,a){const s=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(s);let A=1;A=l<200?1:l>500?.4:-.0016668*l+1.233334;let c=i.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);const u=c/2,h=.2+.2*O(i);let d=i.bowing*i.maxRandomnessOffset*(n-e)/200,f=i.bowing*i.maxRandomnessOffset*(t-r)/200;d=N(d,i,A),f=N(f,i,A);const p=[],g=()=>N(u,i,A),m=()=>N(c,i,A),y=i.preserveVertices;return o&&(a?p.push({op:"move",data:[t+(y?0:g()),e+(y?0:g())]}):p.push({op:"move",data:[t+(y?0:N(c,i,A)),e+(y?0:N(c,i,A))]})),a?p.push({op:"bcurveTo",data:[d+t+(r-t)*h+g(),f+e+(n-e)*h+g(),d+t+2*(r-t)*h+g(),f+e+2*(n-e)*h+g(),r+(y?0:g()),n+(y?0:g())]}):p.push({op:"bcurveTo",data:[d+t+(r-t)*h+m(),f+e+(n-e)*h+m(),d+t+2*(r-t)*h+m(),f+e+2*(n-e)*h+m(),r+(y?0:m()),n+(y?0:m())]}),p}function P(t,e,r){if(!t.length)return[];const n=[];n.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]),n.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]);for(let i=1;i3){const o=[],a=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+21&&void 0!==arguments[1]?arguments[1]:0;const r=t.length;if(r<3)throw new Error("A curve must have at least three points.");const n=[];if(3===r)n.push(z(t[0]),z(t[1]),z(t[2]),z(t[2]));else{const r=[];r.push(t[0],t[0]);for(let e=1;e1&&i.push(r)):i.push(r),i.push(t[e+3])}else{const n=.5,o=t[e+0],a=t[e+1],s=t[e+2],l=t[e+3],A=G(o,a,n),c=G(a,s,n),u=G(s,l,n),h=G(A,c,n),d=G(c,u,n),f=G(h,d,n);X([o,A,h,f],0,r,i),X([f,d,u,l],0,r,i)}var o,a;return i}function Y(t,e){return J(t,0,t.length,e)}function J(t,e,r,n,i){const o=i||[],a=t[e],s=t[r-1];let l=0,A=1;for(let c=e+1;cl&&(l=e,A=c)}return Math.sqrt(l)>n?(J(t,e,A+1,n,o),J(t,A,r,n,o)):(o.length||o.push(a),o.push(s)),o}function Z(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2?arguments[2]:void 0;const n=[],i=(t.length-1)/3;for(let o=0;o0?J(n,0,n.length,r):n}const $="none";class tt{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(Math.random()*2**31)}_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,i){const o=this._o(i);return this._d("line",[x(t,e,r,n,o)],o)}rectangle(t,e,r,n,i){const o=this._o(i),a=[],s=function(t,e,r,n,i){return function(t,e){return F(t,!0,e)}([[t,e],[t+r,e],[t+r,e+n],[t,e+n]],i)}(t,e,r,n,o);if(o.fill){const i=[[t,e],[t+r,e],[t+r,e+n],[t,e+n]];"solid"===o.fillStyle?a.push(T([i],o)):a.push(L([i],o))}return o.stroke!==$&&a.push(s),this._d("rectangle",a,o)}ellipse(t,e,r,n,i){const o=this._o(i),a=[],s=D(r,n,o),l=E(t,e,o,s);if(o.fill)if("solid"===o.fillStyle){const r=E(t,e,o,s).opset;r.type="fillPath",a.push(r)}else a.push(L([l.estimatedPoints],o));return o.stroke!==$&&a.push(l.opset),this._d("ellipse",a,o)}circle(t,e,r,n){const i=this.ellipse(t,e,r,r,n);return i.shape="circle",i}linearPath(t,e){const r=this._o(e);return this._d("linearPath",[F(t,!1,r)],r)}arc(t,e,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0;const l=this._o(s),A=[],c=S(t,e,r,n,i,o,a,!0,l);if(a&&l.fill)if("solid"===l.fillStyle){const a=Object.assign({},l);a.disableMultiStroke=!0;const s=S(t,e,r,n,i,o,!0,!1,a);s.type="fillPath",A.push(s)}else A.push(function(t,e,r,n,i,o,a){const s=t,l=e;let A=Math.abs(r/2),c=Math.abs(n/2);A+=N(.01*A,a),c+=N(.01*c,a);let u=i,h=o;for(;u<0;)u+=2*Math.PI,h+=2*Math.PI;h-u>2*Math.PI&&(u=0,h=2*Math.PI);const d=(h-u)/a.curveStepCount,f=[];for(let p=u;p<=h;p+=d)f.push([s+A*Math.cos(p),l+c*Math.sin(p)]);return f.push([s+A*Math.cos(h),l+c*Math.sin(h)]),f.push([s,l]),L([f],a)}(t,e,r,n,i,o,l));return l.stroke!==$&&A.push(c),this._d("arc",A,l)}curve(t,e){const r=this._o(e),n=[],i=k(t,r);if(r.fill&&r.fill!==$)if("solid"===r.fillStyle){const e=k(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{const e=[],i=t;if(i.length){const t="number"==typeof i[0][0]?[i]:i;for(const n of t)n.length<3?e.push(...n):3===n.length?e.push(...Z(q([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...Z(q(n),10,(1+r.roughness)/2))}e.length&&n.push(L([e],r))}return r.stroke!==$&&n.push(i),this._d("curve",n,r)}polygon(t,e){const r=this._o(e),n=[],i=F(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(T([t],r)):n.push(L([t],r))),r.stroke!==$&&n.push(i),this._d("polygon",n,r)}path(t,e){const r=this._o(e),n=[];if(!t)return this._d("path",n,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const i=r.fill&&"transparent"!==r.fill&&r.fill!==$,o=r.stroke!==$,a=!!(r.simplification&&r.simplification<1),s=function(t,e,r){const n=b(v(y(t))),i=[];let o=[],a=[0,0],s=[];const l=()=>{s.length>=4&&o.push(...Z(s,1)),s=[]},A=()=>{l(),o.length&&(i.push(o),o=[])};for(const{key:u,data:h}of n)switch(u){case"M":A(),a=[h[0],h[1]],o.push(a);break;case"L":l(),o.push([h[0],h[1]]);break;case"C":if(!s.length){const t=o.length?o[o.length-1]:a;s.push([t[0],t[1]])}s.push([h[0],h[1]]),s.push([h[2],h[3]]),s.push([h[4],h[5]]);break;case"Z":l(),o.push([a[0],a[1]])}if(A(),!r)return i;const c=[];for(const u of i){const t=Y(u,r);t.length&&c.push(t)}return c}(t,0,a?4-4*(r.simplification||1):(1+r.roughness)/2),l=_(t,r);if(i)if("solid"===r.fillStyle)if(1===s.length){const 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 n.push(T(s,r));else n.push(L(s,r));return o&&(a?s.forEach(t=>{n.push(F(t,!1,r))}):n.push(l)),this._d("path",n,r)}opsToPath(t,e){let r="";for(const n of t.ops){const t="number"==typeof e&&e>=0?n.data.map(t=>+t.toFixed(e)):n.data;switch(n.op){case"move":r+="M".concat(t[0]," ").concat(t[1]," ");break;case"bcurveTo":r+="C".concat(t[0]," ").concat(t[1],", ").concat(t[2]," ").concat(t[3],", ").concat(t[4]," ").concat(t[5]," ");break;case"lineTo":r+="L".concat(t[0]," ").concat(t[1]," ")}}return r.trim()}toPaths(t){const e=t.sets||[],r=t.options||this.defaultOptions,n=[];for(const i of e){let t=null;switch(i.type){case"path":t={d:this.opsToPath(i),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:$};break;case"fillPath":t={d:this.opsToPath(i),stroke:$,strokeWidth:0,fill:r.fill||$};break;case"fillSketch":t=this.fillSketch(i,r)}t&&n.push(t)}return n}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||$,strokeWidth:r,fill:$}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class et{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new tt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.ctx,i=t.options.fixedDecimalPlaceDigits;for(const o of e)switch(o.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,o,i),n.restore();break;case"fillPath":{n.save(),n.fillStyle=r.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,o,i,e),n.restore();break}case"fillSketch":this.fillSketch(n,o,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){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"nonzero";t.beginPath();for(const i of e.ops){const e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.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,i){const o=this.gen.line(t,e,r,n,i);return this.draw(o),o}rectangle(t,e,r,n,i){const o=this.gen.rectangle(t,e,r,n,i);return this.draw(o),o}ellipse(t,e,r,n,i){const o=this.gen.ellipse(t,e,r,n,i);return this.draw(o),o}circle(t,e,r,n){const i=this.gen.circle(t,e,r,n);return this.draw(i),i}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0;const l=this.gen.arc(t,e,r,n,i,o,a,s);return this.draw(l),l}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){const r=this.gen.path(t,e);return this.draw(r),r}}const rt="http://www.w3.org/2000/svg";class nt{constructor(t,e){this.svg=t,this.gen=new tt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,i=n.createElementNS(rt,"g"),o=t.options.fixedDecimalPlaceDigits;for(const a of e){let e=null;switch(a.type){case"path":e=n.createElementNS(rt,"path"),e.setAttribute("d",this.opsToPath(a,o)),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","".concat(r.strokeLineDashOffset));break;case"fillPath":e=n.createElementNS(rt,"path"),e.setAttribute("d",this.opsToPath(a,o)),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,a,r)}e&&i.appendChild(e)}return i}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2);const i=t.createElementNS(rt,"path");return i.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),i.setAttribute("stroke",r.fill||""),i.setAttribute("stroke-width",n+""),i.setAttribute("fill","none"),r.fillLineDash&&i.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&i.setAttribute("stroke-dashoffset","".concat(r.fillLineDashOffset)),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,n,i){const o=this.gen.line(t,e,r,n,i);return this.draw(o)}rectangle(t,e,r,n,i){const o=this.gen.rectangle(t,e,r,n,i);return this.draw(o)}ellipse(t,e,r,n,i){const o=this.gen.ellipse(t,e,r,n,i);return this.draw(o)}circle(t,e,r,n){const i=this.gen.circle(t,e,r,n);return this.draw(i)}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0;const l=this.gen.arc(t,e,r,n,i,o,a,s);return this.draw(l)}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r)}path(t,e){const r=this.gen.path(t,e);return this.draw(r)}}var it={canvas:(t,e)=>new et(t,e),svg:(t,e)=>new nt(t,e),generator:t=>new tt(t),newSeed:()=>tt.newSeed()}},18860(t,e,r){"use strict";function n(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function i(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}r.d(e,{A:()=>n,X:()=>i})},19039(t,e,r){"use strict";r.d(e,{R:()=>o});var n=r(73870),i=r(72203);const o=(0,n.f)(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*i.Tt)},(t,e)=>(e-t)/i.Tt,t=>t.getUTCSeconds());o.range},19554(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(32139);function i(t){return(t=(0,n.f)(Math.abs(t)))?t[1]:NaN}},19972(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.eq=function(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}},20004(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(1954),i=r(43101);const o=function(t,e,r,o){var a=!r;r||(r={});for(var s=-1,l=e.length;++si});var n=Object.prototype;const i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},21458(t,e,r){"use strict";r.d(e,{A:()=>p});var n=r(24186),i=r(95481);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const r=e[1],i=parseInt(r,16),a=r.length,s=a%4===0,l=a>4,A=l?1:17,c=l?8:4,u=s?0:-1,h=l?255:15;return n.A.set({r:(i>>c*(u+3)&h)*A,g:(i>>c*(u+2)&h)*A,b:(i>>c*(u+1)&h)*A,a:s?(i&h)*A/255:1},t)},stringify:t=>{const{r:e,g:r,b:n,a:o}=t;return o<1?"#".concat(i.Y[Math.round(e)]).concat(i.Y[Math.round(r)]).concat(i.Y[Math.round(n)]).concat(i.Y[Math.round(255*o)]):"#".concat(i.Y[Math.round(e)]).concat(i.Y[Math.round(r)]).concat(i.Y[Math.round(n)])}},a=o;var s=r(17170);const l={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=>{const e=t.match(l.hueRe);if(e){const[,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=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const r=t.match(l.re);if(!r)return;const[,i,o,a,A,c]=r;return n.A.set({h:l._hue2deg(i),s:s.A.channel.clamp.s(parseFloat(o)),l:s.A.channel.clamp.l(parseFloat(a)),a:A?s.A.channel.clamp.a(c?parseFloat(A)/100:parseFloat(A)):1},t)},stringify:t=>{const{h:e,s:r,l:n,a:i}=t;return i<1?"hsla(".concat(s.A.lang.round(e),", ").concat(s.A.lang.round(r),"%, ").concat(s.A.lang.round(n),"%, ").concat(i,")"):"hsl(".concat(s.A.lang.round(e),", ").concat(s.A.lang.round(r),"%, ").concat(s.A.lang.round(n),"%)")}},A=l,c={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=c.colors[t];if(e)return a.parse(e)},stringify:t=>{const e=a.stringify(t);for(const r in c.colors)if(c.colors[r]===e)return r}},u=c,h={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=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const r=t.match(h.re);if(!r)return;const[,i,o,a,l,A,c,u,d]=r;return n.A.set({r:s.A.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:s.A.channel.clamp.g(l?2.55*parseFloat(a):parseFloat(a)),b:s.A.channel.clamp.b(c?2.55*parseFloat(A):parseFloat(A)),a:u?s.A.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i<1?"rgba(".concat(s.A.lang.round(e),", ").concat(s.A.lang.round(r),", ").concat(s.A.lang.round(n),", ").concat(s.A.lang.round(i),")"):"rgb(".concat(s.A.lang.round(e),", ").concat(s.A.lang.round(r),", ").concat(s.A.lang.round(n),")")}},d=h,f={format:{keyword:c,hex:a,rgb:h,rgba:h,hsl:l,hsla:l},parse:t=>{if("string"!==typeof t)return t;const e=a.parse(t)||d.parse(t)||A.parse(t)||u.parse(t);if(e)return e;throw new Error('Unsupported color format: "'.concat(t,'"'))},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.Z.HSL)||void 0===t.data.r?A.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?d.stringify(t):a.stringify(t)},p=f},21499(t,e,r){"use strict";r.d(e,{A:()=>n});const n=r(54306).A.Uint8Array},21718(t,e,r){"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,{WH:()=>h,Mb:()=>ce,Cr:()=>ue,yj:()=>de,q9:()=>fe,xh:()=>he,jo:()=>rt,U4:()=>c,m4:()=>et,ZE:()=>ut,UM:()=>u,hq:()=>f,RW:()=>bt,QL:()=>Lt,WT:()=>Ut,af:()=>Bt,ex:()=>ne,M3:()=>ie,ui:()=>ae,T:()=>le,ye:()=>se,nV:()=>oe,Bv:()=>wt,aX:()=>pt,c3:()=>Ot,w7:()=>$t,Pp:()=>te,Vr:()=>$});class o extends Map{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A;if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[r,n]of t)this.set(r,n)}get(t){return super.get(a(this,t))}has(t){return super.has(a(this,t))}set(t,e){return super.set(s(this,t),e)}delete(t){return super.delete(l(this,t))}}Set;function a(t,e){let{_intern:r,_key:n}=t;const i=n(e);return r.has(i)?r.get(i):e}function s(t,e){let{_intern:r,_key:n}=t;const i=n(e);return r.has(i)?r.get(i):(r.set(i,e),e)}function l(t,e){let{_intern:r,_key:n}=t;const i=n(e);return r.has(i)&&(e=r.get(i),r.delete(i)),e}function A(t){return null!==t&&"object"===typeof t?t.valueOf():t}const c=Symbol("implicit");function u(){var t=new o,e=[],r=[],i=c;function a(n){let o=t.get(n);if(void 0===o){if(i!==c)return i;t.set(n,o=e.push(n)-1)}return r[o%r.length]}return a.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new o;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return a},a.range=function(t){return arguments.length?(r=Array.from(t),a):r.slice()},a.unknown=function(t){return arguments.length?(i=t,a):i},a.copy=function(){return u(e,r).unknown(i)},n.apply(a,arguments),a}function h(){var t,e,r=u().unknown(void 0),i=r.domain,o=r.range,a=0,s=1,l=!1,A=0,c=0,d=.5;function f(){var r=i().length,n=s=p?10:o>=g?5:o>=m?2:1;let s,l,A;return i<0?(A=Math.pow(10,-i)/a,s=Math.round(t*A),l=Math.round(e*A),s/Ae&&--l,A=-A):(A=Math.pow(10,i)*a,s=Math.round(t/A),l=Math.round(e/A),s*Ae&&--l),l0))return[];if((t=+t)===(e=+e))return[t];const n=e=i))return[];const s=o-i+1,l=new Array(s);if(n)if(a<0)for(let A=0;Ae?1:t>=e?0:NaN}function B(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function x(t){let e,r,n;function i(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;r(t[e],n)<0?i=e+1:o=e}while(iC(t(e),r),n=(e,r)=>t(e)-r):(e=t===C||t===B?t:F,r=t,n=t),{left:i,center:function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o=i(t,e,r,(arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length)-1);return o>r&&n(t[o-1],e)>-n(t[o],e)?o-1:o},right:function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;if(i>>1;r(t[e],n)<=0?i=e+1:o=e}while(ie&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(a[0],a[t-1])),n=t>2?W:q,i=o=null,u}function u(e){return null==e||isNaN(e=+e)?r:(i||(i=n(a.map(t),s,l)))(t(A(e)))}return u.invert=function(r){return A(e((o||(o=n(s,a.map(t),O.A)))(r)))},u.domain=function(t){return arguments.length?(a=Array.from(t,R),c()):a.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=j,c()},u.clamp=function(t){return arguments.length?(A=!!t||K,c()):A!==K},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,n){return t=r,e=n,c()}}function X(){return G()(K,K)}var Y=r(30276),J=r(19554);var Z=r(49741);function $(t,e,r,n){var i,o=w(t,e,r);switch((n=(0,Y.A)(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,J.A)(e)/3)))-(0,J.A)(Math.abs(t)))}(o,a))||(n.precision=i),(0,Z.s)(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,J.A)(e)-(0,J.A)(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(t){return Math.max(0,-(0,J.A)(Math.abs(t)))}(o))||(n.precision=i-2*("%"===n.type))}return(0,Z.GP)(n)}function tt(t){var e=t.domain;return t.ticks=function(t){var r=e();return v(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return $(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,s=o.length-1,l=o[a],A=o[s],c=10;for(A0;){if((i=b(l,A,r))===n)return o[a]=l,o[s]=A,e(o);if(i>0)l=Math.floor(l/i)*i,A=Math.ceil(A/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,A=Math.floor(A*i)/i}n=i}return t},t}function et(){var t=X();return t.copy=function(){return V(t,et())},n.apply(t,arguments),tt(t)}function rt(t){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,R),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return rt(t).unknown(e)},t=arguments.length?Array.from(t,R):[0,1],tt(r)}function nt(t,e){var r,n=0,i=(t=t.slice()).length-1,o=t[n],a=t[i];return a-t(-e,r)}function ct(t){const e=t(it,ot),r=e.domain;let n,i,o=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(o),i=function(t){return 10===t?lt:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),r()[0]<0?(n=At(n),i=At(i),t(at,st)):t(it,ot),e}return e.base=function(t){return arguments.length?(o=+t,a()):o},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],s=e[e.length-1];const l=s0){for(;u<=h;++u)for(A=1;As)break;f.push(c)}}else for(;u<=h;++u)for(A=o-1;A>=1;--A)if(c=u>0?A/i(-u):A*i(u),!(cs)break;f.push(c)}2*f.length{if(null==t&&(t=10),null==r&&(r=10===o?"s":","),"function"!==typeof r&&(o%1||null!=(r=(0,Y.A)(r)).precision||(r.trim=!0),r=(0,Z.GP)(r)),t===1/0)return r;const a=Math.max(1,o*t/e.ticks().length);return t=>{let e=t/i(Math.round(n(t)));return e*or(nt(r(),{floor:t=>i(Math.floor(n(t))),ceil:t=>i(Math.ceil(n(t)))})),e}function ut(){const t=ct(G()).domain([1,10]);return t.copy=()=>V(t,ut()).base(t.base()),n.apply(t,arguments),t}function ht(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function dt(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function ft(t){var e=1,r=t(ht(e),dt(e));return r.constant=function(r){return arguments.length?t(ht(e=+r),dt(e)):e},tt(r)}function pt(){var t=ft(G());return t.copy=function(){return V(t,pt()).constant(t.constant())},n.apply(t,arguments)}function gt(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function mt(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function yt(t){return t<0?-t*t:t*t}function vt(t){var e=t(K,K),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(K,K):.5===r?t(mt,yt):t(gt(r),gt(1/r)):r},tt(e)}function bt(){var t=vt(G());return t.copy=function(){return V(t,bt()).exponent(t.exponent())},n.apply(t,arguments),t}function wt(){return bt.apply(null,arguments).exponent(.5)}function Ct(t){return Math.sign(t)*t*t}function Bt(){var t,e=X(),r=[0,1],i=!1;function o(r){var n=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(e(r));return isNaN(n)?t:i?Math.round(n):n}return o.invert=function(t){return e.invert(Ct(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((r=Array.from(t,R)).map(Ct)),o):r.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return Bt(e.domain(),r).round(i).clamp(e.clamp()).unknown(t)},n.apply(o,arguments),tt(o)}var xt=r(11963),Ft=r(53305);function kt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C;if(t===C)return Dt;if("function"!==typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}function Dt(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(te?1:0)}function Et(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4?arguments[4]:void 0;if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(i=void 0===i?Dt:kt(i);n>r;){if(n-r>600){const o=n-r+1,a=e-r+1,s=Math.log(o),l=.5*Math.exp(2*s/3),A=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1);Et(t,e,Math.max(r,Math.floor(e-a*l/o+A)),Math.min(n,Math.floor(e+(o-a)*l/o+A)),i)}const o=t[e];let a=r,s=n;for(St(t,r,e),i(t[n],o)>0&&St(t,r,n);a0;)--s}0===i(t[r],o)?St(t,r,s):(++s,St(t,s,n)),s<=e&&(r=s+1),e<=s&&(n=s-1)}return t}function St(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function _t(t,e,r){if(t=Float64Array.from(function*(t,e){if(void 0===e)for(let r of t)null!=r&&(r=+r)>=r&&(yield r);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n=+n)>=n&&(yield n)}}(t,r)),(n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return(0,Ft.A)(t);if(e>=1)return(0,xt.A)(t);var n,i=(n-1)*e,o=Math.floor(i),a=(0,xt.A)(Et(t,o).subarray(0,o+1));return a+((0,Ft.A)(t.subarray(o+1))-a)*(i-o)}}function Tt(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;if((n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(+r(t[o+1],o+1,t)-a)*(i-o)}}function Lt(){var t,e=[],r=[],i=[];function o(){var t=0,n=Math.max(1,r.length);for(i=new Array(n-1);++t0?i[n-1]:e[0],n=i?[o[i-1],r]:[o[n-1],o[n]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return o.slice()},s.copy=function(){return Ut().domain([e,r]).range(a).unknown(t)},n.apply(tt(s),arguments)}function Ot(){var t,e=[.5],r=[0,1],i=1;function o(n){return null!=n&&n<=n?r[S(e,n,0,i)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return Ot().domain(e).range(r).unknown(t)},n.apply(o,arguments)}var It=r(72203),Nt=r(40566),Mt=r(19039),Qt=r(5827),Pt=r(62269),jt=r(26409),Rt=r(99215),Ht=r(79477),Kt=r(8574);function zt(t,e,r,n,i,o){const a=[[Mt.R,1,It.Tt],[Mt.R,5,5*It.Tt],[Mt.R,15,15*It.Tt],[Mt.R,30,30*It.Tt],[o,1,It.rR],[o,5,5*It.rR],[o,15,15*It.rR],[o,30,30*It.rR],[i,1,It.JJ],[i,3,3*It.JJ],[i,6,6*It.JJ],[i,12,12*It.JJ],[n,1,It.Nm],[n,2,2*It.Nm],[r,1,It.Fq],[e,1,It.Pv],[e,3,3*It.Pv],[t,1,It.MP]];function s(e,r,n){const i=Math.abs(r-e)/n,o=x(t=>{let[,,e]=t;return e}).right(a,i);if(o===a.length)return t.every(w(e/It.MP,r/It.MP,n));if(0===o)return Nt.y.every(Math.max(w(e,r,n),1));const[s,l]=a[i/a[o-1][2]e(n/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(r,n)=>_t(t,n/e))},r.copy=function(){return le(e).domain(t)},i.apply(r,arguments)}function Ae(){var t,e,r,n,i,o,a,s=0,l=.5,A=1,c=1,u=K,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(c*tw,Jo:()=>U,T_:()=>F,g0:()=>ot,jP:()=>B});var n=r(89379),i=r(13719),o=r(56565),a=r(91674),s=r(24203),l=r(63614),A=r(84571),c=r(45420),u=r(32748),h=r(68973),d=r(18205),f=(0,u.K2)(function(t,e,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0;e.arrowTypeStart&&m(t,"start",e.arrowTypeStart,r,n,i,o,a),e.arrowTypeEnd&&m(t,"end",e.arrowTypeEnd,r,n,i,o,a)},"addEdgeMarkers"),p={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},g=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],m=(0,u.K2)(function(t,e,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0;const l=p[r],A=l&&g.includes(l.type);if(!l)return void u.Rm.warn("Unknown arrow type: ".concat(r));const c=l.type,h="start"===e?"Start":"End",d=a&&A?"-margin":"",f="".concat(i,"_").concat(o,"-").concat(c).concat(h).concat(d);if(s&&""!==s.trim()){const r=s.replace(/[^\dA-Za-z]/g,"_"),i="".concat(f,"_").concat(r);if(!document.getElementById(i)){const t=document.getElementById(f);if(t){var m;const e=t.cloneNode(!0);e.id=i;e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",s),l.fill&&t.setAttribute("fill",s)}),null===(m=t.parentNode)||void 0===m||m.appendChild(e)}}t.attr("marker-".concat(e),"url(".concat(n,"#").concat(i,")"))}else t.attr("marker-".concat(e),"url(".concat(n,"#").concat(f,")"))},"addEdgeMarker"),y=(0,u.K2)(t=>{var e;return"string"===typeof t?t:null===(e=(0,c.D7)())||void 0===e||null===(e=e.flowchart)||void 0===e?void 0:e.curve},"resolveEdgeCurveType"),v=new Map,b=new Map,w=(0,u.K2)(()=>{v.clear(),b.clear()},"clear"),C=(0,u.K2)(t=>t?"string"===typeof t?t:t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),B=(0,u.K2)(async(t,e)=>{const r=(0,c.D7)();let n=(0,c.E)(r);const{labelStyles:a}=(0,s.GX)(e);e.labelStyle=a;const A=t.insert("g").attr("class","edgeLabel"),d=A.insert("g").attr("class","label").attr("data-id",e.id),f="markdown"===e.labelType,p=await(0,l.GZ)(t,e.label,{style:C(e.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1,markdown:f,width:void 0},r);d.node().appendChild(p),u.Rm.info("abc82",e,e.labelType);let g,m=p.getBBox(),y=m;if(n){const t=p.children[0],e=(0,h.Ltv)(p);m=t.getBoundingClientRect(),y=m,e.attr("width",m.width),e.attr("height",m.height)}else{const t=(0,h.Ltv)(p).select("text").node();t&&"function"===typeof t.getBBox&&(y=t.getBBox())}if(d.attr("transform",(0,i.Wg)(y,n)),v.set(e.id,A),e.width=m.width,e.height=m.height,e.startLabelLeft){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),s=await(0,o.DA)(a,e.startLabelLeft,C(e.labelStyle)||"",!1,!1);g=s;let l=s.getBBox();if(n){const t=s.children[0],e=(0,h.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}a.attr("transform",(0,i.Wg)(l,n)),b.get(e.id)||b.set(e.id,{}),b.get(e.id).startLeft=r,x(g,e.startLabelLeft)}if(e.startLabelRight){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),s=await(0,o.DA)(a,e.startLabelRight,C(e.labelStyle)||"",!1,!1);g=s,a.node().appendChild(s);let l=s.getBBox();if(n){const t=s.children[0],e=(0,h.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}a.attr("transform",(0,i.Wg)(l,n)),b.get(e.id)||b.set(e.id,{}),b.get(e.id).startRight=r,x(g,e.startLabelRight)}if(e.endLabelLeft){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),s=await(0,o.DA)(a,e.endLabelLeft,C(e.labelStyle)||"",!1,!1);g=s;let l=s.getBBox();if(n){const t=s.children[0],e=(0,h.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}a.attr("transform",(0,i.Wg)(l,n)),r.node().appendChild(s),b.get(e.id)||b.set(e.id,{}),b.get(e.id).endLeft=r,x(g,e.endLabelLeft)}if(e.endLabelRight){const r=t.insert("g").attr("class","edgeTerminals"),a=r.insert("g").attr("class","inner"),s=await(0,o.DA)(a,e.endLabelRight,C(e.labelStyle)||"",!1,!1);g=s;let l=s.getBBox();if(n){const t=s.children[0],e=(0,h.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}a.attr("transform",(0,i.Wg)(l,n)),r.node().appendChild(s),b.get(e.id)||b.set(e.id,{}),b.get(e.id).endRight=r,x(g,e.endLabelRight)}return p},"insertEdgeLabel");function x(t,e){(0,c.E)((0,c.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,u.K2)(x,"setTerminalWidth");var F=(0,u.K2)((t,e)=>{u.Rm.debug("Moving label abc88 ",t.id,t.label,v.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath;const n=(0,c.D7)(),{subGraphTitleTotalMargin:i}=(0,a.O)(n);if(t.label){const n=v.get(t.id);let o=t.x,a=t.y;if(r){const n=A._K.calcLabelPosition(r);u.Rm.debug("Moving label "+t.label+" from (",o,",",a,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(o=n.x,a=n.y)}n.attr("transform","translate(".concat(o,", ").concat(a+i/2,")"))}if(t.startLabelLeft){const e=b.get(t.id).startLeft;let n=t.x,i=t.y;if(r){const e=A._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);n=e.x,i=e.y}e.attr("transform","translate(".concat(n,", ").concat(i,")"))}if(t.startLabelRight){const e=b.get(t.id).startRight;let n=t.x,i=t.y;if(r){const e=A._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);n=e.x,i=e.y}e.attr("transform","translate(".concat(n,", ").concat(i,")"))}if(t.endLabelLeft){const e=b.get(t.id).endLeft;let n=t.x,i=t.y;if(r){const e=A._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);n=e.x,i=e.y}e.attr("transform","translate(".concat(n,", ").concat(i,")"))}if(t.endLabelRight){const e=b.get(t.id).endRight;let n=t.x,i=t.y;if(r){const e=A._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);n=e.x,i=e.y}e.attr("transform","translate(".concat(n,", ").concat(i,")"))}},"positionEdgeLabel"),k=(0,u.K2)((t,e)=>{const r=t.x,n=t.y,i=Math.abs(e.x-r),o=Math.abs(e.y-n),a=t.width/2,s=t.height/2;return i>=a||o>=s},"outsideNode"),D=(0,u.K2)((t,e,r)=>{u.Rm.debug("intersection calc abc89:\n outsidePoint: ".concat(JSON.stringify(e),"\n insidePoint : ").concat(JSON.stringify(r),"\n node : x:").concat(t.x," y:").concat(t.y," w:").concat(t.width," h:").concat(t.height));const n=t.x,i=t.y,o=Math.abs(n-r.x),a=t.width/2;let s=r.xMath.abs(n-e.x)*l){let t=r.y{u.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(t=>{if(u.Rm.info("abc88 checking point",t,e),k(e,t)||i)u.Rm.warn("abc88 outside",t,n),n=t,i||r.push(t);else{const o=D(e,n,t);u.Rm.debug("abc88 inside",t,n,o),u.Rm.debug("abc88 intersection",o,e);let a=!1;r.forEach(t=>{a=a||t.x===o.x&&t.y===o.y}),r.some(t=>t.x===o.x&&t.y===o.y)?u.Rm.warn("abc88 no intersect",o,r):r.push(o),i=!0}}),u.Rm.debug("returning points",r),r},"cutPathAtIntersect");function S(t){const e=[],r=[];for(let n=1;n5&&Math.abs(o.y-i.y)>5||i.y===o.y&&o.x===a.x&&Math.abs(o.x-i.x)>5&&Math.abs(o.y-a.y)>5)&&(e.push(o),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,u.K2)(S,"extractCornerPoints");var _=(0,u.K2)(function(t,e,r){const n=e.x-t.x,i=e.y-t.y,o=r/Math.sqrt(n*n+i*i);return{x:e.x-o*n,y:e.y-o*i}},"findAdjacentPoint"),T=(0,u.K2)(function(t){const{cornerPointPositions:e}=S(t),r=[];for(let n=0;n10&&Math.abs(i.y-e.y)>=10){u.Rm.debug("Corner point fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y));const t=5;h=o.x===a.x?{x:l<0?a.x-t+c:a.x+t-c,y:A<0?a.y-c:a.y+c}:{x:l<0?a.x-c:a.x+c,y:A<0?a.y-t+c:a.y+t-c}}else u.Rm.debug("Corner point skipping fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y));r.push(h,s)}else r.push(t[n]);return r},"fixCorners"),L=(0,u.K2)((t,e,r)=>{const n=t-e-r,i=Math.floor(n/4),o=Array(i).fill("".concat(2," ").concat(2)).join(" ");return"0 ".concat(e," ").concat(o," ").concat(r)},"generateDashArray"),U=(0,u.K2)(function(t,e,r,n,o,a,l){let p=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(!l)throw new Error('insertEdge: missing diagramId for edge "'.concat(e.id,'" \u2014 edge IDs require a diagram prefix for uniqueness'));const{handDrawnSeed:g}=(0,c.D7)();let m=e.points,v=!1;const b=o;var w=a;const C=[];for(const i in e.cssCompiledStyles)(0,s.KX)(i)||C.push(e.cssCompiledStyles[i]);u.Rm.debug("UIO intersect check",e.points,w.x,b.x),w.intersect&&b.intersect&&!p&&(m=m.slice(1,e.points.length-1),m.unshift(b.intersect(m[0])),u.Rm.debug("Last point UIO",e.start,"--\x3e",e.end,m[m.length-1],w,w.intersect(m[m.length-1])),m.push(w.intersect(m[m.length-1])));const B=btoa(JSON.stringify(m));e.toCluster&&(u.Rm.info("to cluster abc88",r.get(e.toCluster)),m=E(e.points,r.get(e.toCluster).node),v=!0),e.fromCluster&&(u.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(m,null,2)),m=E(m.reverse(),r.get(e.fromCluster).node).reverse(),v=!0);let x=m.filter(t=>!Number.isNaN(t.y));const F=y(e.curve);"rounded"!==F&&(x=T(x));let k=h.lUB;switch(F){case"linear":case"rounded":k=h.lUB;break;case"basis":default:k=h.qrM;break;case"cardinal":k=h.y8u;break;case"bumpX":k=h.Wi0;break;case"bumpY":k=h.PGM;break;case"catmullRom":k=h.oDi;break;case"monotoneX":k=h.nVG;break;case"monotoneY":k=h.uxU;break;case"natural":k=h.Xf2;break;case"step":k=h.GZz;break;case"stepAfter":k=h.UPb;break;case"stepBefore":k=h.dyv}const{x:D,y:S}=(0,i.RI)(e),_=(0,h.n8j)().x(D).y(S).curve(k);let U,I;switch(e.thickness){case"normal":default:U="edge-thickness-normal";break;case"thick":U="edge-thickness-thick";break;case"invisible":U="edge-thickness-invisible"}switch(e.pattern){case"solid":default:U+=" edge-pattern-solid";break;case"dotted":U+=" edge-pattern-dotted";break;case"dashed":U+=" edge-pattern-dashed"}let M="rounded"===F?O(N(x,e),5):_(x);const Q=Array.isArray(e.style)?e.style:[e.style];let P=Q.find(t=>null===t||void 0===t?void 0:t.startsWith("stroke:")),j="";e.animate&&(j="edge-animation-fast"),e.animation&&(j="edge-animation-"+e.animation);let R=!1;if("handDrawn"===e.look){const r=d.A.svg(t);Object.assign([],x);const n=r.path(M,{roughness:.3,seed:g});U+=" transition",I=(0,h.Ltv)(n).select("path").attr("id","".concat(l,"-").concat(e.id)).attr("class"," "+U+(e.classes?" "+e.classes:"")+(j?" "+j:"")).attr("style",Q?Q.reduce((t,e)=>t+";"+e,""):"");let i=I.attr("d");I.attr("d",i),t.node().appendChild(I.node())}else{var H;const r=C.join(";"),n=Q?Q.reduce((t,e)=>t+e+";",""):"",o=(r?r+";"+n+";":n)+";"+(Q?Q.reduce((t,e)=>t+";"+e,""):"");I=t.append("path").attr("d",M).attr("id","".concat(l,"-").concat(e.id)).attr("class"," "+U+(e.classes?" "+e.classes:"")+(j?" "+j:"")).attr("style",o),P=null===(H=o.match(/stroke:([^;]+)/))||void 0===H?void 0:H[1],R=!0===e.animate||!!e.animation||r.includes("animation");const a=I.node(),s="function"===typeof a.getTotalLength?a.getTotalLength():0,A=i.Nq[e.arrowTypeStart]||0,c=i.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!R){const t="dotted"===e.pattern||"dashed"===e.pattern?L(s,A,c):"0 ".concat(A," ").concat(s-A-c," ").concat(c),r="stroke-dasharray: ".concat(t,"; stroke-dashoffset: 0;");I.attr("style",r+I.attr("style"))}}I.attr("data-edge",!0),I.attr("data-et","edge"),I.attr("data-id",e.id),I.attr("data-points",B),I.attr("data-look",(0,A.KL)(e.look)),e.showPoints&&x.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let K="";((0,c.D7)().flowchart.arrowMarkerAbsolute||(0,c.D7)().state.arrowMarkerAbsolute)&&(K=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,K=K.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),u.Rm.info("arrowTypeStart",e.arrowTypeStart),u.Rm.info("arrowTypeEnd",e.arrowTypeEnd);const z=!R&&"neo"===(null===e||void 0===e?void 0:e.look);f(I,e,K,l,n,z,P);const q=m[Math.floor(m.length/2)];A._K.isLabelCoordinateInPath(q,I.attr("d"))||(v=!0);let W={};return v&&(W.updatedPath=m),W.originalPath=e.points,W},"insertEdge");function O(t,e){if(t.length<2)return"";let r="";const n=t.length,i=1e-5;for(let o=0;o(0,n.A)({},t));if(t.length>=2&&i.hq[e.arrowTypeStart]){const n=i.hq[e.arrowTypeStart],o=t[0],a=t[1],{angle:s}=I(o,a),l=n*Math.cos(s),A=n*Math.sin(s);r[0].x=o.x+l,r[0].y=o.y+A}const o=t.length;if(o>=2&&i.hq[e.arrowTypeEnd]){const n=i.hq[e.arrowTypeEnd],a=t[o-1],s=t[o-2],{angle:l}=I(s,a),A=n*Math.cos(l),c=n*Math.sin(l);r[o-1].x=a.x-A,r[o-1].y=a.y-c}return r}(0,u.K2)(O,"generateRoundedPath"),(0,u.K2)(I,"calculateDeltaAndAngle"),(0,u.K2)(N,"applyMarkerOffsetsToPoints");var M=(0,u.K2)((t,e,r,n)=>{e.forEach(e=>{it[e](t,r,n)})},"insertMarkers"),Q=(0,u.K2)((t,e,r)=>{u.Rm.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",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("marker").attr("id",r+"_"+e+"-extensionStart-margin").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd-margin").attr("class","marker extension "+e).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),P=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart-margin").attr("class","marker composition "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd-margin").attr("class","marker composition "+e).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),j=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart-margin").attr("class","marker aggregation "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd-margin").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),R=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart-margin").attr("class","marker dependency "+e).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd-margin").attr("class","marker dependency "+e).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),H=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart-margin").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd-margin").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),K=(0,u.K2)((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("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),z=(0,u.K2)((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.K2)((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"),W=(0,u.K2)((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"),V=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{transitionColor:o}=i;t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill","".concat(o))},"barbNeo"),G=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),X=(0,u.K2)((t,e,r)=>{const 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");const i=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");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),Y=(0,u.K2)((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"),J=(0,u.K2)((t,e,r)=>{const 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");const i=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");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),Z=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o}=i;t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width","".concat(o)),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width","".concat(o))},"only_one_neo"),$=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o,mainBkg:a}=i,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");s.append("circle").attr("fill",null!==a&&void 0!==a?a:"white").attr("cx",21).attr("cy",9).attr("stroke-width","".concat(o)).attr("r",6),s.append("path").attr("d","M9,0 L9,18").attr("stroke-width","".concat(o));const l=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");l.append("circle").attr("fill",null!==a&&void 0!==a?a:"white").attr("cx",9).attr("cy",9).attr("stroke-width","".concat(o)).attr("r",6),l.append("path").attr("d","M21,0 L21,18").attr("stroke-width","".concat(o))},"zero_or_one_neo"),tt=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o}=i;t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width","".concat(o)),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width","".concat(o))},"one_or_more_neo"),et=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o,mainBkg:a}=i,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",null!==a&&void 0!==a?a:"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width","".concat(o)),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width","".concat(o));const l=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");l.append("circle").attr("fill",null!==a&&void 0!==a?a:"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width","".concat(o)),l.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width","".concat(o))},"zero_or_more_neo"),rt=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d","M0,0\n L20,10\n M20,10\n L0,20")},"requirement_arrow"),nt=(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o}=i;t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width","".concat(o)).attr("viewBox","0 0 25 20").append("path").attr("d","M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin","miter")},"requirement_arrow_neo"),it={extension:Q,composition:P,aggregation:j,dependency:R,lollipop:H,point:K,circle:z,cross:q,barb:W,barbNeo:V,only_one:G,zero_or_one:X,one_or_more:Y,zero_or_more:J,only_one_neo:Z,zero_or_one_neo:$,one_or_more_neo:tt,zero_or_more_neo:et,requirement_arrow:rt,requirement_contains:(0,u.K2)((t,e,r)=>{const n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:nt,requirement_contains_neo:(0,u.K2)((t,e,r)=>{const n=(0,c.zj)(),{themeVariables:i}=n,{strokeWidth:o}=i,a=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");a.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),a.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),a.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),a.selectAll("*").attr("stroke-width","".concat(o))},"requirement_contains_neo")},ot=M},24186(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(17170),i=r(95481);const o=class{constructor(){this.type=i.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.Z.ALL}is(t){return this.type===t}};const a=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:r,l:i}=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===i&&(t.l=n.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:r,b:i}=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===i&&(t.b=n.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(i.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(i.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},24203(t,e,r){"use strict";r.d(e,{Fr:()=>c,GX:()=>A,KX:()=>l,WW:()=>a,ue:()=>o});var n=r(45420),i=r(32748),o=(0,i.K2)(t=>{const{handDrawnSeed:e}=(0,n.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),a=(0,i.K2)(t=>{const e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,i.K2)(t=>{const e=new Map;return t.forEach(t=>{const[r,n]=t.split(":");e.set(r.trim(),null===n||void 0===n?void 0:n.trim())}),e},"styles2Map"),l=(0,i.K2)(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"),A=(0,i.K2)(t=>{const{stylesArray:e}=a(t),r=[],n=[],i=[],o=[];return e.forEach(t=>{const e=t[0];l(e)?r.push(t.join(":")+" !important"):(n.push(t.join(":")+" !important"),e.includes("stroke")&&i.push(t.join(":")+" !important"),"fill"===e&&o.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:o}},"styles2String"),c=(0,i.K2)((t,e)=>{var r;const{themeVariables:i,handDrawnSeed:o}=(0,n.D7)(),{nodeBorder:s,mainBkg:l}=i,{stylesMap:A}=a(t);return Object.assign({roughness:.7,fill:A.get("fill")||l,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:A.get("stroke")||s,seed:o,strokeWidth:(null===(r=A.get("stroke-width"))||void 0===r?void 0:r.replace("px",""))||1.3,fillLineDash:[0,0],strokeLineDash:u(A.get("stroke-dasharray"))},e)},"userNodeOverrides"),u=(0,i.K2)(t=>{if(!t)return[0,0];const e=t.trim().split(/\s+/).map(Number);if(1===e.length){const t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},24704(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const r=/^(?:0|[1-9]\d*)$/;e.isIndex=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&to});var n=r(17170),i=r(21458);const o=(t,e,r)=>{const o=i.A.parse(t),a=o[e],s=n.A.channel.clamp[e](a+r);return a!==s&&(o[e]=s),i.A.stringify(o)}},25140(t,e,r){"use strict";r.d(e,{A:()=>h});var n=r(42476);const i=function(){this.__data__=new n.A,this.size=0};const o=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const a=function(t){return this.__data__.get(t)};const s=function(t){return this.__data__.has(t)};var l=r(38438),A=r(7840);const c=function(t,e){var r=this.__data__;if(r instanceof n.A){var i=r.__data__;if(!l.A||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new A.A(i)}return r.set(t,e),this.size=r.size,this};function u(t){var e=this.__data__=new n.A(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c;const h=u},25722(t,e,r){"use strict";function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var i,o,a,s,l,A,c,u,h,d,f,p,g,m;r.d(e,{i:()=>x});const y=Math.PI,v=2*y,b=1e-6,w=v-b;function C(t){this._+=t[0];for(let e=1,r=t.length;e=0))throw new Error("invalid digits: ".concat(t));if(e>15)return C;const r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;eb)if(Math.abs(p*l-d*f)>b&&o){let A=r-a,c=i-s,m=l*l+d*d,v=A*A+c*c,w=Math.sqrt(m),C=Math.sqrt(g),B=o*Math.tan((y-Math.acos((m+g-v)/(2*w*C)))/2),x=B/C,F=B/w;Math.abs(x-1)>b&&this._append(u||(u=n(["L",",",""])),t+x*f,e+x*p),this._append(h||(h=n(["A",",",",0,0,",",",",",""])),o,o,+(p*A>f*c),this._x1=t+F*l,this._y1=e+F*d)}else this._append(c||(c=n(["L",",",""])),this._x1=t,this._y1=e);else;}arc(t,e,r,i,o,a){if(t=+t,e=+e,a=!!a,(r=+r)<0)throw new Error("negative radius: ".concat(r));let s=r*Math.cos(i),l=r*Math.sin(i),A=t+s,c=e+l,u=1^a,h=a?i-o:o-i;null===this._x1?this._append(d||(d=n(["M",",",""])),A,c):(Math.abs(this._x1-A)>b||Math.abs(this._y1-c)>b)&&this._append(f||(f=n(["L",",",""])),A,c),r&&(h<0&&(h=h%v+v),h>w?this._append(p||(p=n(["A",",",",0,1,",",",",","A",",",",0,1,",",",",",""])),r,r,u,t-s,e-l,r,r,u,this._x1=A,this._y1=c):h>b&&this._append(g||(g=n(["A",",",",0,",",",",",",",""])),r,r,+(h>=y),u,this._x1=t+r*Math.cos(o),this._y1=e+r*Math.sin(o)))}rect(t,e,r,i){this._append(m||(m=n(["M",",","h","v","h","Z"])),this._x0=this._x1=+t,this._y0=this._y1=+e,r=+r,+i,-r)}toString(){return this._}}function x(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError("invalid digits: ".concat(r));e=t}return t},()=>new B(e)}},25920(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(9885);const i=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}()},25990(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.getTag=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}},26409(t,e,r){"use strict";r.d(e,{TW:()=>s,UA:()=>o,dA:()=>a});var n=r(73870),i=r(72203);const o=(0,n.f)(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.rR)/i.Nm,t=>t.getDate()-1),a=(o.range,(0,n.f)(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/i.Nm,t=>t.getUTCDate()-1)),s=(a.range,(0,n.f)(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/i.Nm,t=>Math.floor(t/i.Nm)));s.range},27260(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(56770);e.toFinite=function(t){if(!t)return 0===t?t:0;if((t=n.toNumber(t))===1/0||t===-1/0){return(t<0?-1:1)*Number.MAX_VALUE}return t===t?t:0}},27599(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});e.argumentsTag="[object Arguments]",e.arrayBufferTag="[object ArrayBuffer]",e.arrayTag="[object Array]",e.bigInt64ArrayTag="[object BigInt64Array]",e.bigUint64ArrayTag="[object BigUint64Array]",e.booleanTag="[object Boolean]",e.dataViewTag="[object DataView]",e.dateTag="[object Date]",e.errorTag="[object Error]",e.float32ArrayTag="[object Float32Array]",e.float64ArrayTag="[object Float64Array]",e.functionTag="[object Function]",e.int16ArrayTag="[object Int16Array]",e.int32ArrayTag="[object Int32Array]",e.int8ArrayTag="[object Int8Array]",e.mapTag="[object Map]",e.numberTag="[object Number]",e.objectTag="[object Object]",e.regexpTag="[object RegExp]",e.setTag="[object Set]",e.stringTag="[object String]",e.symbolTag="[object Symbol]",e.uint16ArrayTag="[object Uint16Array]",e.uint32ArrayTag="[object Uint32Array]",e.uint8ArrayTag="[object Uint8Array]",e.uint8ClampedArrayTag="[object Uint8ClampedArray]"},28194(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(17170),i=r(21458);const o=t=>{const{r:e,g:r,b:o}=i.A.parse(t),a=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(o);return n.A.lang.round(a)},a=t=>o(t)>=.5,s=t=>!a(t)},29323(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(67260),i=r(82489),o=r(13272),a=r(11444);e.get=function t(e,r,s){if(null==e)return s;switch(typeof r){case"string":{if(n.isUnsafeProperty(r))return s;const o=e[r];return void 0===o?i.isDeepKey(r)?t(e,a.toPath(r),s):s:o}case"number":case"symbol":{"number"===typeof r&&(r=o.toKey(r));const t=e[r];return void 0===t?s:t}default:{var l;if(Array.isArray(r))return function(t,e,r){if(0===e.length)return r;let i=t;for(let o=0;oi});var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=n.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},30418(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.toString=function t(e){if(null==e)return"";if("string"===typeof e)return e;if(Array.isArray(e))return e.map(t).join(",");const r=String(e);return"0"===r&&Object.is(Number(e),-0)?"-0":r}},31203(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(48420);e.isArrayLike=function(t){return null!=t&&"function"!==typeof t&&n.isLength(t.length)}},31293(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(54830);e.debounce=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"!==typeof r&&(r={});const{leading:i=!1,trailing:o=!0,maxWait:a}=r,s=Array(2);let l;i&&(s[0]="leading"),o&&(s[1]="trailing");let A=null;const c=n.debounce(function(){for(var e=arguments.length,r=new Array(e),n=0;n=a)?(l=t.apply(this,r),A=Date.now(),c.cancel(),c.schedule(),l):(c.apply(this,r),l)};return u.cancel=c.cancel,u.flush=()=>(c.flush(),l),u}},32139(t,e,r){"use strict";function n(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}r.d(e,{A:()=>n,f:()=>i})},32682(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isPlainObject=function(t){if("object"!==typeof t)return!1;if(null==t)return!1;if(null===Object.getPrototypeOf(t))return!0;if("[object Object]"!==Object.prototype.toString.call(t)){var e;const r=t[Symbol.toStringTag];if(null==r)return!1;return!!(null!==(e=Object.getOwnPropertyDescriptor(t,Symbol.toStringTag))&&void 0!==e&&e.writable)&&t.toString()==="[object ".concat(r,"]")}let r=t;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}},32715(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(39599),i=r(17330),o=r(63808),a=r(78845);e.iteratee=function(t){if(null==t)return n.identity;switch(typeof t){case"function":return t;case"object":return Array.isArray(t)&&2===t.length?a.matchesProperty(t[0],t[1]):o.matches(t);case"string":case"symbol":case"number":return i.property(t)}}},32748(t,e,r){"use strict";r.d(e,{He:()=>A,K2:()=>o,Rm:()=>l,VA:()=>a});var n=r(60446),i=Object.defineProperty,o=(t,e)=>i(t,"name",{value:e,configurable:!0}),a=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},s={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:o(function(){},"trace"),debug:o(function(){},"debug"),info:o(function(){},"info"),warn:o(function(){},"warn"),error:o(function(){},"error"),fatal:o(function(){},"fatal")},A=o(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal",e=s.fatal;"string"===typeof t?t.toLowerCase()in s&&(e=s[t]):"number"===typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=s.fatal&&(l.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",c("FATAL"))),e<=s.error&&(l.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",c("ERROR"))),e<=s.warn&&(l.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",c("WARN"))),e<=s.info&&(l.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",c("INFO"))),e<=s.debug&&(l.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("DEBUG"))),e<=s.trace&&(l.trace=console.debug?console.debug.bind(console,c("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("TRACE")))},"setLogLevel"),c=o(t=>{const e=n().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")},"format")},32777(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isSymbol=function(t){return"symbol"===typeof t||t instanceof Symbol}},33493(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(64067),i=r(33903);const o=function(t){return null!=t&&(0,i.A)(t.length)&&!(0,n.A)(t)}},33635(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(82284);function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function o(){o=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,n,o){var a=RegExp(t,n);return e.set(a,o||e.get(t)),i(a,r.prototype)}function a(t,r){var n=e.get(r);return Object.keys(n).reduce(function(e,r){var i=n[r];if("number"==typeof i)e[r]=t[i];else{for(var o=0;void 0===t[i[o]]&&o+1]+)(>|$)/g,function(t,e,r){if(""===r)return t;var n=o[e];return Array.isArray(n)?"$"+n.join("$"):"number"==typeof n?"$"+n:""}))}if("function"==typeof i){var s=this;return t[Symbol.replace].call(this,r,function(){var t=arguments;return"object"!=(0,n.A)(t[t.length-1])&&(t=[].slice.call(t)).push(a(t,s)),i.apply(this,t)})}return t[Symbol.replace].call(this,r,i)},o.apply(this,arguments)}},33799(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(24704),i=r(31203),o=r(60870),a=r(19972);e.isIterateeCall=function(t,e,r){return!!o.isObject(r)&&(!!("number"===typeof e&&i.isArrayLike(r)&&n.isIndex(e)&&en});const n=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},35248(t,e,r){"use strict";function n(t){this._context=t}function i(t){return new n(t)}r.d(e,{A:()=>i}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}}},35303(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(82489),i=r(24704),o=r(86321),a=r(11444);e.has=function(t,e){let r;if(r=Array.isArray(e)?e:"string"===typeof e&&n.isDeepKey(e)&&null==(null===t||void 0===t?void 0:t[e])?a.toPath(e):[e],0===r.length)return!1;let s=t;for(let n=0;nB});var n=r(9885),i=r(54306);const o=(0,n.A)(i.A,"DataView");var a=r(38438);const s=(0,n.A)(i.A,"Promise");var l=r(45172);const A=(0,n.A)(i.A,"WeakMap");var c=r(14802),u=r(66166),h="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",g="[object DataView]",m=(0,u.A)(o),y=(0,u.A)(a.A),v=(0,u.A)(s),b=(0,u.A)(l.A),w=(0,u.A)(A),C=c.A;(o&&C(new o(new ArrayBuffer(1)))!=g||a.A&&C(new a.A)!=h||s&&C(s.resolve())!=d||l.A&&C(new l.A)!=f||A&&C(new A)!=p)&&(C=function(t){var e=(0,c.A)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,u.A)(r):"";if(n)switch(n){case m:return g;case y:return h;case v:return d;case b:return f;case w:return p}return e});const B=C},37515(t,e,r){"use strict";r.d(e,{A:()=>A});var n=r(14431),i=r(25920),o=r(42041);const a=i.A?function(t,e){return(0,i.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,n.A)(e),writable:!0})}:o.A;var s=Date.now;const l=function(t){var e=0,r=0;return function(){var n=s(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}};const A=l(a)},37664(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},38396(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(85508);e.cloneDeep=function(t){return n.cloneDeepWith(t)}},38419(t,e,r){"use strict";r.d(e,{A:()=>n});const n=t=>()=>t},38438(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(9885),i=r(54306);const o=(0,n.A)(i.A,"Map")},39397(t,e,r){t.exports=r(32682).isPlainObject},39599(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.identity=function(t){return t}},40566(t,e,r){"use strict";r.d(e,{y:()=>i});var n=r(73870);const i=(0,n.f)(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,n.f)(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):i:null);i.range},41710(t,e,r){"use strict";r.d(e,{H:()=>nr,r:()=>rr});var n=r(32748);function i(t){return"undefined"===typeof t||null===t}function o(t){return"object"===typeof t&&null!==t}function a(t){return Array.isArray(t)?t:i(t)?[]:[t]}function s(t,e){var r,n,i,o;if(e)for(r=0,n=(o=Object.keys(e)).length;rs&&(e=n-s+(o=" ... ").length),r-n>s&&(r=n+s-(a=" ...").length),{str:o+t.slice(e,r).replace(/\t/g,"\u2192")+a,pos:n-e+o.length}}function p(t,e){return c.repeat(" ",e-t.length)+t}function g(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!==typeof e.indent&&(e.indent=1),"number"!==typeof e.linesBefore&&(e.linesBefore=3),"number"!==typeof e.linesAfter&&(e.linesAfter=2);for(var r,n=/\r?\n|\r|\0/g,i=[0],o=[],a=-1;r=n.exec(t.buffer);)o.push(r.index),i.push(r.index+r[0].length),t.position<=r.index&&a<0&&(a=i.length-2);a<0&&(a=i.length-1);var s,l,A="",u=Math.min(t.line+e.linesAfter,o.length).toString().length,h=e.maxLength-(e.indent+u+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=f(t.buffer,i[a-s],o[a-s],t.position-(i[a]-i[a-s]),h),A=c.repeat(" ",e.indent)+p((t.line-s+1).toString(),u)+" | "+l.str+"\n"+A;for(l=f(t.buffer,i[a],o[a],t.position,h),A+=c.repeat(" ",e.indent)+p((t.line+1).toString(),u)+" | "+l.str+"\n",A+=c.repeat("-",e.indent+u+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=f(t.buffer,i[a+s],o[a+s],t.position-(i[a]-i[a+s]),h),A+=c.repeat(" ",e.indent)+p((t.line+s+1).toString(),u)+" | "+l.str+"\n";return A.replace(/\n$/,"")}(0,n.K2)(f,"getLine"),(0,n.K2)(p,"padStart"),(0,n.K2)(g,"makeSnippet");var m=g,y=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],v=["scalar","sequence","mapping"];function b(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function w(t,e){if(e=e||{},Object.keys(e).forEach(function(e){if(-1===y.indexOf(e))throw new d('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=b(e.styleAliases||null),-1===v.indexOf(this.kind))throw new d('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}(0,n.K2)(b,"compileStyleAliases"),(0,n.K2)(w,"Type$1");var C=w;function B(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,n){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=n)}),r[e]=t}),r}function x(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,n.K2)(i,"collectType"),t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,n.K2)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,n.K2)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,n.K2)(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"]}}),H=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function K(t){return null!==t&&!(!H.test(t)||"_"===t[t.length-1])}function z(t){var e,r;return r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:r*parseFloat(e,10)}(0,n.K2)(K,"resolveYamlFloat"),(0,n.K2)(z,"constructYamlFloat");var q=/^[-+]?[0-9]+e/;function W(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(c.isNegativeZero(t))return"-0.0";return r=t.toString(10),q.test(r)?r.replace("e",".e"):r}function V(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!==0||c.isNegativeZero(t))}(0,n.K2)(W,"representYamlFloat"),(0,n.K2)(V,"isFloat");var G=new C("tag:yaml.org,2002:float",{kind:"scalar",resolve:K,construct:z,predicate:V,represent:W,defaultStyle:"lowercase"}),X=k.extend({implicit:[_,O,R,G]}),Y=X,J=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Z=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function $(t){return null!==t&&(null!==J.exec(t)||null!==Z.exec(t))}function tt(t){var e,r,n,i,o,a,s,l,A=0,c=null;if(null===(e=J.exec(t))&&(e=Z.exec(t)),null===e)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(A=e[7].slice(0,3);A.length<3;)A+="0";A=+A}return e[9]&&(c=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(r,n,i,o,a,s,A)),c&&l.setTime(l.getTime()-c),l}function et(t){return t.toISOString()}(0,n.K2)($,"resolveYamlTimestamp"),(0,n.K2)(tt,"constructYamlTimestamp"),(0,n.K2)(et,"representYamlTimestamp");var rt=new C("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:$,construct:tt,instanceOf:Date,represent:et});function nt(t){return"<<"===t||null===t}(0,n.K2)(nt,"resolveYamlMerge");var it=new C("tag:yaml.org,2002:merge",{kind:"scalar",resolve:nt}),ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function at(t){if(null===t)return!1;var e,r,n=0,i=t.length,o=ot;for(r=0;r64)){if(e<0)return!1;n+=6}return n%8===0}function st(t){var e,r,n=t.replace(/[\r\n=]/g,""),i=n.length,o=ot,a=0,s=[];for(e=0;e>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(n.charAt(e));return 0===(r=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===r?(s.push(a>>10&255),s.push(a>>2&255)):12===r&&s.push(a>>4&255),new Uint8Array(s)}function lt(t){var e,r,n="",i=0,o=t.length,a=ot;for(e=0;e>18&63],n+=a[i>>12&63],n+=a[i>>6&63],n+=a[63&i]),i=(i<<8)+t[e];return 0===(r=o%3)?(n+=a[i>>18&63],n+=a[i>>12&63],n+=a[i>>6&63],n+=a[63&i]):2===r?(n+=a[i>>10&63],n+=a[i>>4&63],n+=a[i<<2&63],n+=a[64]):1===r&&(n+=a[i>>2&63],n+=a[i<<4&63],n+=a[64],n+=a[64]),n}function At(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,n.K2)(at,"resolveYamlBinary"),(0,n.K2)(st,"constructYamlBinary"),(0,n.K2)(lt,"representYamlBinary"),(0,n.K2)(At,"isBinary");var ct=new C("tag:yaml.org,2002:binary",{kind:"scalar",resolve:at,construct:st,predicate:At,represent:lt}),ut=Object.prototype.hasOwnProperty,ht=Object.prototype.toString;function dt(t){if(null===t)return!0;var e,r,n,i,o,a=[],s=t;for(e=0,r=s.length;e>10),56320+(t-65536&1023))}function Rt(t,e,r){"__proto__"===e?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(0,n.K2)(Tt,"_class"),(0,n.K2)(Lt,"is_EOL"),(0,n.K2)(Ut,"is_WHITE_SPACE"),(0,n.K2)(Ot,"is_WS_OR_EOL"),(0,n.K2)(It,"is_FLOW_INDICATOR"),(0,n.K2)(Nt,"fromHexCode"),(0,n.K2)(Mt,"escapedHexLen"),(0,n.K2)(Qt,"fromDecimalCode"),(0,n.K2)(Pt,"simpleEscapeSequence"),(0,n.K2)(jt,"charFromCodepoint"),(0,n.K2)(Rt,"setProperty");var Ht,Kt=new Array(256),zt=new Array(256);for(Ht=0;Ht<256;Ht++)Kt[Ht]=Pt(Ht)?1:0,zt[Ht]=Pt(Ht);function qt(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||xt,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,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.firstTabInLine=-1,this.documents=[]}function Wt(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=m(r),new d(e,r)}function Vt(t,e){throw Wt(t,e)}function Gt(t,e){t.onWarning&&t.onWarning.call(null,Wt(t,e))}(0,n.K2)(qt,"State$1"),(0,n.K2)(Wt,"generateError"),(0,n.K2)(Vt,"throwError"),(0,n.K2)(Gt,"throwWarning");var Xt={YAML:(0,n.K2)(function(t,e,r){var n,i,o;null!==t.version&&Vt(t,"duplication of %YAML directive"),1!==r.length&&Vt(t,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&Vt(t,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),o=parseInt(n[2],10),1!==i&&Vt(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&Gt(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,n.K2)(function(t,e,r){var n,i;2!==r.length&&Vt(t,"TAG directive accepts exactly two arguments"),n=r[0],i=r[1],St.test(n)||Vt(t,"ill-formed tag handle (first argument) of the TAG directive"),Ft.call(t.tagMap,n)&&Vt(t,'there is a previously declared suffix for "'+n+'" tag handle'),_t.test(i)||Vt(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(o){Vt(t,"tag prefix is malformed: "+i)}t.tagMap[n]=i},"handleTagDirective")};function Yt(t,e,r,n){var i,o,a,s;if(e1&&(t.result+=c.repeat("\n",e-1))}function ne(t,e,r){var n,i,o,a,s,l,A,c,u=t.kind,h=t.result;if(Ot(c=t.input.charCodeAt(t.position))||It(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c)return!1;if((63===c||45===c)&&(Ot(n=t.input.charCodeAt(t.position+1))||r&&It(n)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,a=!1;0!==c;){if(58===c){if(Ot(n=t.input.charCodeAt(t.position+1))||r&&It(n))break}else if(35===c){if(Ot(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&ee(t)||r&&It(c))break;if(Lt(c)){if(s=t.line,l=t.lineStart,A=t.lineIndent,te(t,!1,-1),t.lineIndent>=e){a=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=A;break}}a&&(Yt(t,i,o,!1),re(t,t.line-s),i=o=t.position,a=!1),Ut(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return Yt(t,i,o,!1),!!t.result||(t.kind=u,t.result=h,!1)}function ie(t,e){var r,n,i;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(Yt(t,n,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;n=t.position,t.position++,i=t.position}else Lt(r)?(Yt(t,n,i,!0),re(t,te(t,!1,e)),n=i=t.position):t.position===t.lineStart&&ee(t)?Vt(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Vt(t,"unexpected end of the stream within a single quoted scalar")}function oe(t,e){var r,n,i,o,a,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return Yt(t,r,t.position,!0),t.position++,!0;if(92===s){if(Yt(t,r,t.position,!0),Lt(s=t.input.charCodeAt(++t.position)))te(t,!1,e);else if(s<256&&Kt[s])t.result+=zt[s],t.position++;else if((a=Mt(s))>0){for(i=a,o=0;i>0;i--)(a=Nt(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:Vt(t,"expected hexadecimal character");t.result+=jt(o),t.position++}else Vt(t,"unknown escape sequence");r=n=t.position}else Lt(s)?(Yt(t,r,n,!0),re(t,te(t,!1,e)),r=n=t.position):t.position===t.lineStart&&ee(t)?Vt(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}Vt(t,"unexpected end of the stream within a double quoted scalar")}function ae(t,e){var r,n,i,o,a,s,l,A,c,u,h,d,f=!0,p=t.tag,g=t.anchor,m=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))a=93,A=!1,o=[];else{if(123!==d)return!1;a=125,A=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),d=t.input.charCodeAt(++t.position);0!==d;){if(te(t,!0,e),(d=t.input.charCodeAt(t.position))===a)return t.position++,t.tag=p,t.anchor=g,t.kind=A?"mapping":"sequence",t.result=o,!0;f?44===d&&Vt(t,"expected the node content, but found ','"):Vt(t,"missed comma between flow collection entries"),h=null,s=l=!1,63===d&&Ot(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,te(t,!0,e)),r=t.line,n=t.lineStart,i=t.position,de(t,e,1,!1,!0),u=t.tag,c=t.result,te(t,!0,e),d=t.input.charCodeAt(t.position),!l&&t.line!==r||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),te(t,!0,e),de(t,e,1,!1,!0),h=t.result),A?Zt(t,o,m,u,c,h,r,n,i):s?o.push(Zt(t,null,m,u,c,h,r,n,i)):o.push(c),te(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(f=!0,d=t.input.charCodeAt(++t.position)):f=!1}Vt(t,"unexpected end of the stream within a flow collection")}function se(t,e){var r,n,i,o,a=1,s=!1,l=!1,A=e,u=0,h=!1;if(124===(o=t.input.charCodeAt(t.position)))n=!1;else{if(62!==o)return!1;n=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)1===a?a=43===o?3:2:Vt(t,"repeat of a chomping mode identifier");else{if(!((i=Qt(o))>=0))break;0===i?Vt(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?Vt(t,"repeat of an indentation width identifier"):(A=e+i-1,l=!0)}if(Ut(o)){do{o=t.input.charCodeAt(++t.position)}while(Ut(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!Lt(o)&&0!==o)}for(;0!==o;){for($t(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!l||t.lineIndentA&&(A=t.lineIndent),Lt(o))u++;else{if(t.lineIndente)&&0!==n)Vt(t,"bad indentation of a sequence entry");else if(t.lineIndente)&&(m&&(a=t.line,s=t.lineStart,l=t.position),de(t,e,4,!0,i)&&(m?p=t.result:g=t.result),m||(Zt(t,h,d,f,p,g,a,s,l),f=p=g=null),te(t,!0,-1),A=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==A)Vt(t,"bad indentation of a mapping entry");else if(t.lineIndente?f=1:t.lineIndent===e?f=0:t.lineIndente?f=1:t.lineIndent===e?f=0:t.lineIndent tag; it should be "scalar", not "'+t.kind+'"'),l=0,A=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&Vt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):Vt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function fe(t){var e,r,n,i,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(te(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(a=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!Ot(i);)i=t.input.charCodeAt(++t.position);for(n=[],(r=t.input.slice(e,t.position)).length<1&&Vt(t,"directive name must not be less than one character in length");0!==i;){for(;Ut(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!Lt(i));break}if(Lt(i))break;for(e=t.position;0!==i&&!Ot(i);)i=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}0!==i&&$t(t),Ft.call(Xt,r)?Xt[r](t,r,n):Gt(t,'unknown document directive "'+r+'"')}te(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,te(t,!0,-1)):a&&Vt(t,"directives end mark is expected"),de(t,t.lineIndent-1,4,!1,!0),te(t,!0,-1),t.checkLineBreaks&&Dt.test(t.input.slice(o,t.position))&&Gt(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&ee(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,te(t,!0,-1)):t.position=55296&&n<=56319&&e+1=56320&&r<=57343?1024*(n-55296)+r-56320+65536:n}function Qe(t){return/^\n* /.test(t)}(0,n.K2)(De,"State"),(0,n.K2)(Ee,"indentString"),(0,n.K2)(Se,"generateNextLine"),(0,n.K2)(_e,"testImplicitResolving"),(0,n.K2)(Te,"isWhitespace"),(0,n.K2)(Le,"isPrintable"),(0,n.K2)(Ue,"isNsCharOrWhitespace"),(0,n.K2)(Oe,"isPlainSafe"),(0,n.K2)(Ie,"isPlainSafeFirst"),(0,n.K2)(Ne,"isPlainSafeLast"),(0,n.K2)(Me,"codePointAt"),(0,n.K2)(Qe,"needIndentIndicator");function Pe(t,e,r,n,i,o,a,s){var l,A=0,c=null,u=!1,h=!1,d=-1!==n,f=-1,p=Ie(Me(t,0))&&Ne(Me(t,t.length-1));if(e||a)for(l=0;l=65536?l+=2:l++){if(!Le(A=Me(t,l)))return 5;p=p&&Oe(A,c,s),c=A}else{for(l=0;l=65536?l+=2:l++){if(10===(A=Me(t,l)))u=!0,d&&(h=h||l-f-1>n&&" "!==t[f+1],f=l);else if(!Le(A))return 5;p=p&&Oe(A,c,s),c=A}h=h||d&&l-f-1>n&&" "!==t[f+1]}return u||h?r>9&&Qe(t)?5:a?2===o?5:2:h?4:3:!p||a||i(t)?2===o?5:2:1}function je(t,e,r,i,o){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==Be.indexOf(e)||xe.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var a=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-a),l=i||t.flowLevel>-1&&r>=t.flowLevel;function A(e){return _e(t,e)}switch((0,n.K2)(A,"testAmbiguity"),Pe(e,l,t.indent,s,A,t.quotingType,t.forceQuotes&&!i,o)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+Re(e,t.indent)+He(Ee(e,a));case 4:return">"+Re(e,t.indent)+He(Ee(Ke(e,s),a));case 5:return'"'+qe(e)+'"';default:throw new d("impossible error: invalid scalar style")}}()}function Re(t,e){var r=Qe(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function He(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function Ke(t,e){for(var r,n,i=/(\n+)([^\n]*)/g,o=function(){var r=t.indexOf("\n");return r=-1!==r?r:t.length,i.lastIndex=r,ze(t.slice(0,r),e)}(),a="\n"===t[0]||" "===t[0];n=i.exec(t);){var s=n[1],l=n[2];r=" "===l[0],o+=s+(a||r||""===l?"":"\n")+ze(l,e),a=r}return o}function ze(t,e){if(""===t||" "===t[0])return t;for(var r,n,i=/ [^ ]/g,o=0,a=0,s=0,l="";r=i.exec(t);)(s=r.index)-o>e&&(n=a>o?a:s,l+="\n"+t.slice(o,n),o=n+1),a=s;return l+="\n",t.length-o>e&&a>o?l+=t.slice(o,a)+"\n"+t.slice(a+1):l+=t.slice(o),l.slice(1)}function qe(t){for(var e,r="",n=0,i=0;i=65536?i+=2:i++)n=Me(t,i),!(e=Ce[n])&&Le(n)?(r+=t[i],n>=65536&&(r+=t[i+1])):r+=e||ke(n);return r}function We(t,e,r){var n,i,o,a="",s=t.tag;for(n=0,i=r.length;n1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Je(t,e,a,!1,!1)&&(l+=s+=t.dump));t.tag=A,t.dump="{"+l+"}"}function Xe(t,e,r,n){var i,o,a,s,l,A,c="",u=t.tag,h=Object.keys(r);if(!0===t.sortKeys)h.sort();else if("function"===typeof t.sortKeys)h.sort(t.sortKeys);else if(t.sortKeys)throw new d("sortKeys must be a boolean or a function");for(i=0,o=h.length;i1024)&&(t.dump&&10===t.dump.charCodeAt(0)?A+="?":A+="? "),A+=t.dump,l&&(A+=Se(t,e)),Je(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?A+=":":A+=": ",c+=A+=t.dump));t.tag=u,t.dump=c||"{}"}function Ye(t,e,r){var n,i,o,a,s,l;for(o=0,a=(i=r?t.explicitTypes:t.implicitTypes).length;o tag resolver accepts not "'+l+'" style');n=s.represent[l](e,l)}t.dump=n}return!0}return!1}function Je(t,e,r,n,i,o,a){t.tag=null,t.dump=r,Ye(t,r,!1)||Ye(t,r,!0);var s,l=ve.call(t.dump),A=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var c,u,h="[object Object]"===l||"[object Array]"===l;if(h&&(u=-1!==(c=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(i=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(h&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===l)n&&0!==Object.keys(t.dump).length?(Xe(t,e,t.dump,i),u&&(t.dump="&ref_"+c+t.dump)):(Ge(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===l)n&&0!==t.dump.length?(t.noArrayIndent&&!a&&e>0?Ve(t,e-1,t.dump,i):Ve(t,e,t.dump,i),u&&(t.dump="&ref_"+c+t.dump)):(We(t,e,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(t.skipInvalid)return!1;throw new d("unacceptable kind of an object to dump "+l)}"?"!==t.tag&&je(t,t.dump,e,o,A)}null!==t.tag&&"?"!==t.tag&&(s=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),s="!"===t.tag[0]?"!"+s:"tag:yaml.org,2002:"===s.slice(0,18)?"!!"+s.slice(18):"!<"+s+">",t.dump=s+" "+t.dump)}return!0}function Ze(t,e){var r,n,i=[],o=[];for($e(t,i,o),r=0,n=o.length;rn});const n=function(t){return t}},42476(t,e,r){"use strict";r.d(e,{A:()=>h});const n=function(){this.__data__=[],this.size=0};var i=r(55009);const o=function(t,e){for(var r=t.length;r--;)if((0,i.A)(t[r][0],e))return r;return-1};var a=Array.prototype.splice;const s=function(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():a.call(e,r,1),--this.size,!0)};const l=function(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]};const A=function(t){return o(this.__data__,t)>-1};const c=function(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++ei});var n=r(25920);const i=function(t,e,r){"__proto__"==e&&n.A?(0,n.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},43693(t,e,r){var n=r(77736);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},44288(t,e){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function y(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}function v(){}function b(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,g(w,y.prototype),w.isPureReactComponent=!0;var C=Array.isArray;function B(){}var x={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function k(t,e,n){var i=n.ref;return{$$typeof:r,type:t,key:e,ref:void 0!==i?i:null,props:n}}function D(t){return"object"===typeof t&&null!==t&&t.$$typeof===r}var E=/\/+/g;function S(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function _(t,e,i,o,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l,A,c=!1;if(null===t)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case r:case n:c=!0;break;case h:return _((c=t._init)(t._payload),e,i,o,a)}}if(c)return a=a(t),c=""===o?"."+S(t,0):o,C(a)?(i="",null!=c&&(i=c.replace(E,"$&/")+"/"),_(a,e,i,"",function(t){return t})):null!=a&&(D(a)&&(l=a,A=i+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+c,a=k(l.type,A,l.props)),e.push(a)),1;c=0;var u,d=""===o?".":o+":";if(C(t))for(var p=0;po});var n=r(33493),i=r(53239);const o=function(t){return(0,i.A)(t)&&(0,n.A)(t)}},45172(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(9885),i=r(54306);const o=(0,n.A)(i.A,"Set")},45386(t,e,r){"use strict";r.d(e,{A:()=>n});const n=Array.isArray},45420(t,e,r){"use strict";r.d(e,{C0:()=>L,xA:()=>Tt,hH:()=>P,Dl:()=>se,IU:()=>xe,Wt:()=>ve,Y2:()=>ce,a$:()=>de,sb:()=>yt,ME:()=>Ie,UI:()=>pt,Ch:()=>O,mW:()=>U,DB:()=>_,_3:()=>vt,EJ:()=>S,m7:()=>Ee,iN:()=>ke,zj:()=>St,D7:()=>Ue,Gs:()=>Re,J$:()=>M,ab:()=>_e,E:()=>Qt,Q2:()=>Dt,P$:()=>G,ID:()=>Jt,TM:()=>Mt,Wi:()=>ae,H1:()=>Pt,QO:()=>te,Js:()=>je,Xd:()=>I,dj:()=>Ae,cL:()=>Lt,$i:()=>gt,jZ:()=>qt,oB:()=>Ne,wZ:()=>Ft,EI:()=>De,SV:()=>Fe,Nk:()=>Et,XV:()=>Oe,ke:()=>Se,UU:()=>xt,ot:()=>fe,mj:()=>Me,tM:()=>ye,H$:()=>ct,B6:()=>kt});var n=r(89379),i=r(32748),o=r(21458),a=r(46453);const s=(t,e)=>{const r=o.A.parse(t),n={};for(const i in e)e[i]&&(n[i]=r[i]+e[i]);return(0,a.A)(t,n)};var l=r(56471);const A=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50;const{r:n,g:i,b:a,a:s}=o.A.parse(t),{r:A,g:c,b:u,a:h}=o.A.parse(e),d=r/100,f=2*d-1,p=s-h,g=((f*p===-1?f:(f+p)/(1+f*p))+1)/2,m=1-g,y=n*g+A*m,v=i*g+c*m,b=a*g+u*m,w=s*d+h*(1-d);return(0,l.A)(y,v,b,w)},c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const r=o.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,A(r,t,e)};var u,h,d,f,p,g,m,y,v,b,w,C,B,x,F=r(85554),k=r(86362),D=r(28194),E=r(87977),S=/^-{3}\s*[\n\r]([^]*?)[\n\r]-{3}\s*[\n\r]+/,_=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,T=/\s*%%.*\n/gm,L=(u=class extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}},(0,i.K2)(u,"UnknownDiagramError"),u),U={},O=(0,i.K2)(function(t,e){t=t.replace(S,"").replace(_,"").replace(T,"\n");for(const[r,{detector:n}]of Object.entries(U)){if(n(t,e))return r}throw new L("No diagram type detected matching given configuration for text: ".concat(t))},"detectType"),I=(0,i.K2)(function(){for(var t=arguments.length,e=new Array(t),r=0;r{U[t]&&i.Rm.warn("Detector with key ".concat(t," already exists. Overwriting.")),U[t]={detector:e,loader:r},i.Rm.debug("Detector with key ".concat(t," added").concat(r?" with loader":""))},"addDetector"),M=(0,i.K2)(t=>U[t].loader,"getDiagramLoader"),Q=(0,i.K2)(function(t,e){let{depth:r=2,clobber:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={depth:r,clobber:n};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(e=>Q(t,e,i)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(e=>{t.includes(e)||t.push(e)}),t):void 0===t||r<=0?void 0!==t&&null!==t&&"object"===typeof t&&"object"===typeof e?Object.assign(t,e):e:(void 0!==e&&"object"===typeof t&&"object"===typeof e&&Object.keys(e).forEach(i=>{"object"!==typeof e[i]||null===e[i]||void 0!==t[i]&&"object"!==typeof t[i]?(n||"object"!==typeof t[i]&&"object"!==typeof e[i])&&(t[i]=e[i]):(void 0===t[i]&&(t[i]=Array.isArray(e[i])?[]:{}),t[i]=Q(t[i],e[i],{depth:r-1,clobber:n}))}),t)},"assignWithDepth"),P=Q,j="#ffffff",R="#f2f2f2",H=(0,i.K2)((t,e)=>s(t,e?{s:-40,l:10}:{s:-40,l:-10}),"mkBorder"),K=(h=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p,g,m,y,v,b,w,C,B,x,E,S,_,T,L,U,O,I,N;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||(0,F.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,F.A)(this.mainBkg,10)):(this.rowOdd=this.rowOdd||(0,k.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,k.A)(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.darkMode)for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(h,"Theme"),h),z=(0,i.K2)(t=>{const e=new K;return e.calculate(t),e},"getThemeVariables"),q=(d=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,k.A)(this.primaryColor,16),this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,k.A)(c("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,l.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.clusterBkg="#302F3D",this.sectionBkgColor=(0,F.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,F.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,l.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,l.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,k.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,F.A)(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p,g,m,y,v,b,w,C,B,x,E;this.secondBkg=(0,k.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,k.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,k.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=c(this.doneTaskBkgColor),this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=s(this.primaryColor,{h:64}),this.fillType3=s(this.secondaryColor,{h:64}),this.fillType4=s(this.primaryColor,{h:-64}),this.fillType5=s(this.secondaryColor,{h:-64}),this.fillType6=s(this.primaryColor,{h:128}),this.fillType7=s(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330});for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(d,"Theme"),d),W=(0,i.K2)(t=>{const e=new q;return e.calculate(t),e},"getThemeVariables"),V=(f=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=s(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.clusterBkg="#FBFBFF",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=(0,l.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",this.updateColors()}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p,g,m,y,v,b,w,C,B,x,E,S,_,T,L,U,O,I,N;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,F.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,F.A)(this.tertiaryColor,40);for(let s=0;s{"calculated"===this[t]&&(this[t]=void 0)}),"object"!==typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(f,"Theme"),f),G=(0,i.K2)(t=>{const e=new V;return e.calculate(t),e},"getThemeVariables"),X=(p=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,k.A)("#cde498",10),this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.primaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p,g,m,y,v,b,w,C,B,x,E,S,_,T,L,U,O,I,N;this.actorBorder=(0,F.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,F.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,F.A)(this.tertiaryColor,40);for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(p,"Theme"),p),Y=(0,i.K2)(t=>{const e=new X;return e.calculate(t),e},"getThemeVariables"),J=(g=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,k.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||(0,k.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p,g,m,y,v,b,w,C,B,x,E;this.secondBkg=(0,k.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,k.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(g,"Theme"),g),Z=(0,i.K2)(t=>{const e=new J;return e.calculate(t),e},"getThemeVariables"),$=(m=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor);const p="#ECECFE",g="#E9E9F1",m=s(p,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||m,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||g,this.sectionBkgColor2=this.sectionBkgColor2||p,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||p,this.activeTaskBorderColor=this.activeTaskBorderColor||p,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(p,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||p,this.cScale1=this.cScale1||g,this.cScale2=this.cScale2||m,this.cScale3=this.cScale3||s(p,{h:30}),this.cScale4=this.cScale4||s(p,{h:60}),this.cScale5=this.cScale5||s(p,{h:90}),this.cScale6=this.cScale6||s(p,{h:120}),this.cScale7=this.cScale7||s(p,{h:150}),this.cScale8=this.cScale8||s(p,{h:210,l:150}),this.cScale9=this.cScale9||s(p,{h:270}),this.cScale10=this.cScale10||s(p,{h:300}),this.cScale11=this.cScale11||s(p,{h:330}),this.darkMode)for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(m,"Theme"),m),tt=(0,i.K2)(t=>{const e=new $;return e.calculate(t),e},"getThemeVariables"),et=(y=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,k.A)(this.primaryColor,16),this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,k.A)(c("#323D47"),10),this.border1="#ccc",this.border2=(0,l.A)(255,255,255,.25),this.arrowheadColor=c(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.darkMode)for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(y,"Theme"),y),rt=(0,i.K2)(t=>{const e=new et;return e.calculate(t),e},"getThemeVariables"),nt=(v=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=H("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.noteFontWeight=600,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor);const g="#ECECFE",m="#E9E9F1",y=s(g,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||y,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||m,this.sectionBkgColor2=this.sectionBkgColor2||g,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||g,this.activeTaskBorderColor=this.activeTaskBorderColor||g,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(g,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(v,"Theme"),v),it=(0,i.K2)(t=>{const e=new nt;return e.calculate(t),e},"getThemeVariables"),ot=(b=class{constructor(){var t,e;this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,k.A)(this.primaryColor,16),this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,k.A)(c("#323D47"),10),this.border1="#ccc",this.border2=(0,l.A)(255,255,255,.25),this.arrowheadColor=c(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=null!==(t=this.noteBkgColor)&&void 0!==t?t:"#FEF9C3",this.noteTextColor=null!==(e=this.noteTextColor)&&void 0!==e?e:"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||s(this.primaryColor,{h:30}),this.cScale4=this.cScale4||s(this.primaryColor,{h:60}),this.cScale5=this.cScale5||s(this.primaryColor,{h:90}),this.cScale6=this.cScale6||s(this.primaryColor,{h:120}),this.cScale7=this.cScale7||s(this.primaryColor,{h:150}),this.cScale8=this.cScale8||s(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||s(this.primaryColor,{h:270}),this.cScale10=this.cScale10||s(this.primaryColor,{h:300}),this.cScale11=this.cScale11||s(this.primaryColor,{h:330}),this.darkMode)for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(b,"Theme"),b),at=(0,i.K2)(t=>{const e=new ot;return e.calculate(t),e},"getThemeVariables"),st=(w=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=H(this.primaryColor,this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.filterColor="#000000"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor);const g="#ECECFE",m="#E9E9F1",y=s(g,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||y,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||m,this.sectionBkgColor2=this.sectionBkgColor2||g,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||g,this.activeTaskBorderColor=this.activeTaskBorderColor||g,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(g,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(w,"Theme"),w),lt=(0,i.K2)(t=>{const e=new st;return e.calculate(t),e},"getThemeVariables"),At=(C=class{constructor(){var t,e;this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,k.A)(this.primaryColor,16),this.tertiaryColor=s(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=H(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,k.A)(c("#323D47"),10),this.border1="#ccc",this.border2=(0,l.A)(255,255,255,.25),this.arrowheadColor=c(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=null!==(t=this.noteBkgColor)&&void 0!==t?t:"#FEF9C3",this.noteTextColor=null!==(e=this.noteTextColor)&&void 0!==e?e:"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.filterColor="#FFFFFF"}updateColors(){var t,e,r,n,i,o,a,l,A,u,h,d,f,p;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||s(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||s(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||H(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||H(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||H(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||H(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,F.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,F.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.rootLabelColor="#FFFFFF",this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,k.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let s=0;s{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},(0,i.K2)(C,"Theme"),C),ct={base:{getThemeVariables:z},dark:{getThemeVariables:W},default:{getThemeVariables:G},forest:{getThemeVariables:Y},neutral:{getThemeVariables:Z},neo:{getThemeVariables:tt},"neo-dark":{getThemeVariables:rt},redux:{getThemeVariables:it},"redux-dark":{getThemeVariables:at},"redux-color":{getThemeVariables:lt},"redux-dark-color":{getThemeVariables:(0,i.K2)(t=>{const e=new At;return e.calculate(t),e},"getThemeVariables")}},ut={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showDataLabelOutsideBar:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},venn:{useMaxWidth:!0,width:800,height:450,padding:8,useDebugLayout:!1},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},ht=(0,n.A)((0,n.A)({},ut),{},{deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:ct.default.getThemeVariables(),sequence:(0,n.A)((0,n.A)({},ut.sequence),{},{messageFont:(0,i.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:(0,i.K2)(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:(0,i.K2)(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")}),class:{hideEmptyMembersBox:!1},gantt:(0,n.A)((0,n.A)({},ut.gantt),{},{tickInterval:void 0,useWidth:void 0}),c4:(0,n.A)((0,n.A)({},ut.c4),{},{useWidth:void 0,personFont:(0,i.K2)(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:(0,n.A)((0,n.A)({},ut.flowchart),{},{inheritDir:!1}),external_personFont:(0,i.K2)(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:(0,i.K2)(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:(0,i.K2)(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:(0,i.K2)(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:(0,i.K2)(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:(0,i.K2)(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:(0,i.K2)(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:(0,i.K2)(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:(0,i.K2)(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:(0,i.K2)(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:(0,i.K2)(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:(0,i.K2)(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:(0,i.K2)(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:(0,i.K2)(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:(0,i.K2)(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:(0,i.K2)(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:(0,i.K2)(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:(0,i.K2)(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:(0,i.K2)(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:(0,i.K2)(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:(0,i.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")}),pie:(0,n.A)((0,n.A)({},ut.pie),{},{useWidth:984}),xyChart:(0,n.A)((0,n.A)({},ut.xyChart),{},{useWidth:void 0}),requirement:(0,n.A)((0,n.A)({},ut.requirement),{},{useWidth:void 0}),packet:(0,n.A)({},ut.packet),treeView:(0,n.A)((0,n.A)({},ut.treeView),{},{useWidth:void 0}),radar:(0,n.A)({},ut.radar),ishikawa:(0,n.A)({},ut.ishikawa),treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:(0,n.A)({},ut.venn)}),dt=(0,i.K2)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.keys(t).reduce((r,n)=>Array.isArray(t[n])?r:"object"===typeof t[n]&&null!==t[n]?[...r,e+n,...dt(t[n],"")]:[...r,e+n],[])},"keyify"),ft=new Set(dt(ht,"")),pt=ht,gt=(0,i.K2)(t=>{if(i.Rm.debug("sanitizeDirective called with",t),"object"===typeof t&&null!=t)if(Array.isArray(t))t.forEach(t=>gt(t));else{for(const e of Object.keys(t)){if(i.Rm.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!ft.has(e)||null==t[e]){i.Rm.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"===typeof t[e]){i.Rm.debug("sanitizing object",e),gt(t[e]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)e.includes(n)&&(i.Rm.debug("sanitizing css option",e),t[e]=mt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const r=t.themeVariables[e];null!==r&&void 0!==r&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}i.Rm.debug("After sanitization",t)}},"sanitizeDirective"),mt=(0,i.K2)(t=>{let e=0,r=0;for(const n of t){if(e!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),"evaluate"),bt=P({},yt),wt=[],Ct=P({},yt),Bt=(0,i.K2)((t,e)=>{let r=P({},t),n={};for(const i of e)_t(i),n=P(n,i);if(r=P(r,n),n.theme&&n.theme in ct){const t=P({},x),e=P(t.themeVariables||{},n.themeVariables);r.theme&&r.theme in ct&&(r.themeVariables=ct[r.theme].getThemeVariables(e))}return Nt(Ct=r),Ct},"updateCurrentConfig"),xt=(0,i.K2)(t=>(bt=P({},yt),bt=P(bt,t),t.theme&&ct[t.theme]&&(bt.themeVariables=ct[t.theme].getThemeVariables(t.themeVariables)),Bt(bt,wt),bt),"setSiteConfig"),Ft=(0,i.K2)(t=>{x=P({},t)},"saveConfigFromInitialize"),kt=(0,i.K2)(t=>(bt=P(bt,t),Bt(bt,wt),bt),"updateSiteConfig"),Dt=(0,i.K2)(()=>P({},bt),"getSiteConfig"),Et=(0,i.K2)(t=>(Nt(t),P(Ct,t),St()),"setConfig"),St=(0,i.K2)(()=>P({},Ct),"getConfig"),_t=(0,i.K2)(t=>{var e;t&&(["secure",...null!==(e=bt.secure)&&void 0!==e?e:[]].forEach(e=>{Object.hasOwn(t,e)&&(i.Rm.debug("Denied attempt to modify a secure key ".concat(e),t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{"string"===typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"===typeof t[e]&&_t(t[e])}))},"sanitize"),Tt=(0,i.K2)(t=>{var e;gt(t),!t.fontFamily||null!==(e=t.themeVariables)&&void 0!==e&&e.fontFamily||(t.themeVariables=(0,n.A)((0,n.A)({},t.themeVariables),{},{fontFamily:t.fontFamily})),wt.push(t),Bt(bt,wt)},"addDirective"),Lt=(0,i.K2)(function(){Bt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:bt,wt=[])},"reset"),Ut={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},Ot={},It=(0,i.K2)(t=>{Ot[t]||(i.Rm.warn(Ut[t]),Ot[t]=!0)},"issueWarning"),Nt=(0,i.K2)(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&It("LAZY_LOAD_DEPRECATED")},"checkConfig"),Mt=(0,i.K2)(()=>{let t={};x&&(t=P(t,x));for(const e of wt)t=P(t,e);return t},"getUserDefinedConfig"),Qt=(0,i.K2)(t=>{var e,r,n,i;return void 0!=(null===(e=t.flowchart)||void 0===e?void 0:e.htmlLabels)&&It("FLOWCHART_HTML_LABELS_DEPRECATED"),vt(null===(r=null!==(n=t.htmlLabels)&&void 0!==n?n:null===(i=t.flowchart)||void 0===i?void 0:i.htmlLabels)||void 0===r||r)},"getEffectiveHtmlLabels"),Pt=//gi,jt=(0,i.K2)(t=>{if(!t)return[""];return Yt(t).replace(/\\n/g,"#br#").split("#br#")},"getRows"),Rt=(()=>{let t=!1;return()=>{t||(Ht(),t=!0)}})();function Ht(){const t="data-temp-href-target";E.default.addHook("beforeSanitizeAttributes",e=>{var r;"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,null!==(r=e.getAttribute("target"))&&void 0!==r?r:"")}),E.default.addHook("afterSanitizeAttributes",e=>{var r;"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",null!==(r=e.getAttribute(t))&&void 0!==r?r:""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}(0,i.K2)(Ht,"setupDompurifyHooks");var Kt=(0,i.K2)(t=>{Rt();return E.default.sanitize(t)},"removeScript"),zt=(0,i.K2)((t,e)=>{if(Qt(e)){const r=e.securityLevel;"antiscript"===r||"strict"===r||"sandbox"===r?t=Kt(t):"loose"!==r&&(t=(t=(t=Yt(t)).replace(//g,">")).replace(/=/g,"="),t=Xt(t))}return t},"sanitizeMore"),qt=(0,i.K2)((t,e)=>t?t=e.dompurifyConfig?E.default.sanitize(zt(t,e),e.dompurifyConfig).toString():E.default.sanitize(zt(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),Wt=(0,i.K2)((t,e)=>"string"===typeof t?qt(t,e):t.flat().map(t=>qt(t,e)),"sanitizeTextOrArray"),Vt=(0,i.K2)(t=>Pt.test(t),"hasBreaks"),Gt=(0,i.K2)(t=>t.split(Pt),"splitBreaks"),Xt=(0,i.K2)(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),Yt=(0,i.K2)(t=>t.replace(Pt,"#br#"),"breakToPlaceholder"),Jt=(0,i.K2)(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),Zt=(0,i.K2)(function(){for(var t=arguments.length,e=new Array(t),r=0;r!isNaN(t));return Math.max(...n)},"getMax"),$t=(0,i.K2)(function(){for(var t=arguments.length,e=new Array(t),r=0;r!isNaN(t));return Math.min(...n)},"getMin"),te=(0,i.K2)(function(t){const e=t.split(/(,)/),r=[];for(let n=0;n0&&n+1Math.max(0,t.split(e).length-1),"countOccurrence"),re=(0,i.K2)((t,e)=>{const r=ee(t,"~"),n=ee(e,"~");return 1===r&&1===n},"shouldCombineSets"),ne=(0,i.K2)(t=>{const e=ee(t,"~");let r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);const n=[...t];let i=n.indexOf("~"),o=n.lastIndexOf("~");for(;-1!==i&&-1!==o&&i!==o;)n[i]="<",n[o]=">",i=n.indexOf("~"),o=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),ie=(0,i.K2)(()=>void 0!==window.MathMLElement,"isMathMLSupported"),oe=/\$\$(.*)\$\$/g,ae=(0,i.K2)(t=>{var e,r;return(null!==(e=null===(r=t.match(oe))||void 0===r?void 0:r.length)&&void 0!==e?e:0)>0},"hasKatex"),se=(0,i.K2)(async(t,e)=>{const r=document.createElement("div");r.innerHTML=await Ae(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";const n=document.querySelector("body");null===n||void 0===n||n.insertAdjacentElement("beforeend",r);const i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),le=(0,i.K2)(async(t,e)=>{if(!ae(t))return t;if(!(ie()||e.legacyMathML||e.forceLegacyMathML))return t.replace(oe,"MathML is unsupported in this environment.");{const{default:n}=await r.e(349).then(r.bind(r,70349)),i=e.forceLegacyMathML||!ie()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(Pt).map(t=>ae(t)?'
'.concat(t,"
"):"
".concat(t,"
")).join("").replace(oe,(t,e)=>n.renderToString(e,{throwOnError:!0,displayMode:!0,output:i}).replace(/\n/g," ").replace(//g,""))}},"renderKatexUnsanitized"),Ae=(0,i.K2)(async(t,e)=>qt(await le(t,e),e),"renderKatexSanitized"),ce={getRows:jt,sanitizeText:qt,sanitizeTextOrArray:Wt,hasBreaks:Vt,splitBreaks:Gt,lineBreakRegex:Pt,removeScript:Kt,getUrl:Jt,evaluate:vt,getMax:Zt,getMin:$t},ue=(0,i.K2)(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),he=(0,i.K2)(function(t,e,r){let n=new Map;return r?(n.set("width","100%"),n.set("style","max-width: ".concat(e,"px;"))):(n.set("height",t),n.set("width",e)),n},"calculateSvgSizeAttrs"),de=(0,i.K2)(function(t,e,r,n){const i=he(e,r,n);ue(t,i)},"configureSvgSize"),fe=(0,i.K2)(function(t,e,r,n){const o=e.node().getBBox(),a=o.width,s=o.height;i.Rm.info("SVG bounds: ".concat(a,"x").concat(s),o);let l=0,A=0;i.Rm.info("Graph bounds: ".concat(l,"x").concat(A),t),l=a+2*r,A=s+2*r,i.Rm.info("Calculated bounds: ".concat(l,"x").concat(A)),de(e,A,l,n);const c="".concat(o.x-r," ").concat(o.y-r," ").concat(o.width+2*r," ").concat(o.height+2*r);e.attr("viewBox",c)},"setupGraphViewbox"),pe={},ge=(0,i.K2)((t,e,r,o)=>{var a,s;let l="";return t in pe&&pe[t]?l=pe[t]((0,n.A)((0,n.A)({},r),{},{svgId:o})):i.Rm.warn("No theme found for ".concat(t))," & {\n font-family: ".concat(r.fontFamily,";\n font-size: ").concat(r.fontSize,";\n fill: ").concat(r.textColor,"\n }\n @keyframes edge-animation-frame {\n from {\n stroke-dashoffset: 0;\n }\n }\n @keyframes dash {\n to {\n stroke-dashoffset: 0;\n }\n }\n & .edge-animation-slow {\n stroke-dasharray: 9,5 !important;\n stroke-dashoffset: 900;\n animation: dash 50s linear infinite;\n stroke-linecap: round;\n }\n & .edge-animation-fast {\n stroke-dasharray: 9,5 !important;\n stroke-dashoffset: 900;\n animation: dash 20s linear infinite;\n stroke-linecap: round;\n }\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ").concat(r.errorBkgColor,";\n }\n & .error-text {\n fill: ").concat(r.errorTextColor,";\n stroke: ").concat(r.errorTextColor,";\n }\n\n & .edge-thickness-normal {\n stroke-width: ").concat(null!==(a=r.strokeWidth)&&void 0!==a?a:1,"px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n & .edge-thickness-invisible {\n stroke-width: 0;\n fill: none;\n }\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ").concat(r.lineColor,";\n stroke: ").concat(r.lineColor,";\n }\n & .marker.cross {\n stroke: ").concat(r.lineColor,";\n }\n\n & svg {\n font-family: ").concat(r.fontFamily,";\n font-size: ").concat(r.fontSize,";\n }\n & p {\n margin: 0\n }\n\n ").concat(l,"\n .node .neo-node {\n stroke: ").concat(r.nodeBorder,';\n }\n\n [data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {\n stroke: ').concat(r.useGradient?"url("+o+"-gradient)":r.nodeBorder,";\n filter: ").concat(r.dropShadow?r.dropShadow.replace("url(#drop-shadow)","url(".concat(o,"-drop-shadow)")):"none",';\n }\n\n\n [data-look="neo"].node path {\n stroke: ').concat(r.useGradient?"url("+o+"-gradient)":r.nodeBorder,";\n stroke-width: ").concat(null!==(s=r.strokeWidth)&&void 0!==s?s:1,'px;\n }\n\n [data-look="neo"].node .outer-path {\n filter: ').concat(r.dropShadow?r.dropShadow.replace("url(#drop-shadow)","url(".concat(o,"-drop-shadow)")):"none",';\n }\n\n [data-look="neo"].node .neo-line path {\n stroke: ').concat(r.nodeBorder,';\n filter: none;\n }\n\n [data-look="neo"].node circle{\n stroke: ').concat(r.useGradient?"url("+o+"-gradient)":r.nodeBorder,";\n filter: ").concat(r.dropShadow?r.dropShadow.replace("url(#drop-shadow)","url(".concat(o,"-drop-shadow)")):"none",';\n }\n\n [data-look="neo"].node circle .state-start{\n fill: #000000;\n }\n\n [data-look="neo"].icon-shape .icon {\n fill: ').concat(r.useGradient?"url("+o+"-gradient)":r.nodeBorder,";\n filter: ").concat(r.dropShadow?r.dropShadow.replace("url(#drop-shadow)","url(".concat(o,"-drop-shadow)")):"none",';\n }\n\n [data-look="neo"].icon-shape .icon-neo path {\n stroke: ').concat(r.useGradient?"url("+o+"-gradient)":r.nodeBorder,";\n filter: ").concat(r.dropShadow?r.dropShadow.replace("url(#drop-shadow)","url(".concat(o,"-drop-shadow)")):"none",";\n }\n\n ").concat(e,"\n")},"getStyles"),me=(0,i.K2)((t,e)=>{void 0!==e&&(pe[t]=e)},"addStylesForDiagram"),ye=ge,ve={};(0,i.VA)(ve,{clear:()=>xe,getAccDescription:()=>Ee,getAccTitle:()=>ke,getDiagramTitle:()=>_e,setAccDescription:()=>De,setAccTitle:()=>Fe,setDiagramTitle:()=>Se});var be="",we="",Ce="",Be=(0,i.K2)(t=>qt(t,St()),"sanitizeText"),xe=(0,i.K2)(()=>{be="",Ce="",we=""},"clear"),Fe=(0,i.K2)(t=>{be=Be(t).replace(/^\s+/g,"")},"setAccTitle"),ke=(0,i.K2)(()=>be,"getAccTitle"),De=(0,i.K2)(t=>{Ce=Be(t).replace(/\n\s+/g,"\n")},"setAccDescription"),Ee=(0,i.K2)(()=>Ce,"getAccDescription"),Se=(0,i.K2)(t=>{we=Be(t)},"setDiagramTitle"),_e=(0,i.K2)(()=>we,"getDiagramTitle"),Te=i.Rm,Le=i.He,Ue=St,Oe=Et,Ie=yt,Ne=(0,i.K2)(t=>qt(t,Ue()),"sanitizeText"),Me=fe,Qe=(0,i.K2)(()=>ve,"getCommonDb"),Pe={},je=(0,i.K2)((t,e,r)=>{var n;Pe[t]&&Te.warn("Diagram with id ".concat(t," already registered. Overwriting.")),Pe[t]=e,r&&N(t,r),me(t,e.styles),null===(n=e.injectUtils)||void 0===n||n.call(e,Te,Le,Ue,Ne,Me,Qe(),()=>{})},"registerDiagram"),Re=(0,i.K2)(t=>{if(t in Pe)return Pe[t];throw new He(t)},"getDiagram"),He=(B=class extends Error{constructor(t){super("Diagram ".concat(t," not found."))}},(0,i.K2)(B,"DiagramNotFoundError"),B)},45869(t,e,r){"use strict";r.d(e,{A:()=>c});const n=function(t,e){for(var r=-1,n=Array(t);++ro});var n=r(17170),i=r(21458);const o=(t,e)=>{const r=i.A.parse(t);for(const i in e)r[i]=n.A.channel.clamp[i](e[i]);return i.A.stringify(r)}},46662(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(58187),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i&&n.A.process;const s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}()},46672(t,e,r){"use strict";var n=r(65043);function i(t){var e="https://react.dev/errors/"+t;if(1i});var n=r(21499);const i=function(t){var e=new t.constructor(t.byteLength);return new n.A(e).set(new n.A(t)),e}},48420(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isLength=function(t){return Number.isSafeInteger(t)&&t>=0}},49645(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(96392),i=r(8346),o=r(31203);e.last=function(t){if(o.isArrayLike(t))return n.last(i.toArray(t))}},49741(t,e,r){"use strict";r.d(e,{GP:()=>u,s:()=>h});var n=r(19554);var i=r(30276);var o,a=r(32139);function s(t,e){var r=(0,a.f)(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const l={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:a.A,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>s(100*t,e),r:s,s:function(t,e){var r=(0,a.f)(t,e);if(!r)return t+"";var n=r[0],i=r[1],s=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=n.length;return s===l?n:s>l?n+new Array(s-l+1).join("0"):s>0?n.slice(0,s)+"."+n.slice(s):"0."+new Array(1-s).join("0")+(0,a.f)(t,Math.max(0,e+s-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function A(t){return t}var c,u,h,d=Array.prototype.map,f=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function p(t){var e,r,a=void 0===t.grouping||void 0===t.thousands?A:(e=d.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(r)}),s=void 0===t.currency?"":t.currency[0]+"",c=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",h=void 0===t.numerals?A:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(d.call(t.numerals,String)),p=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"\u2212":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,i.A)(t)).fill,r=t.align,n=t.sign,A=t.symbol,d=t.zero,y=t.width,v=t.comma,b=t.precision,w=t.trim,C=t.type;"n"===C?(v=!0,C="g"):l[C]||(void 0===b&&(b=12),w=!0,C="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var B="$"===A?s:"#"===A&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",x="$"===A?c:/[%p]/.test(C)?p:"",F=l[C],k=/[defgprs%]/.test(C);function D(t){var i,s,l,A=B,c=x;if("c"===C)c=F(t)+c,t="";else{var p=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:F(Math.abs(t),b),w&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),p&&0===+t&&"+"!==n&&(p=!1),A=(p?"("===n?n:g:"-"===n||"("===n?"":n)+A,c=("s"===C?f[8+o/3]:"")+c+(p&&"("===n?")":""),k)for(i=-1,s=t.length;++i(l=t.charCodeAt(i))||l>57){c=(46===l?u+t.slice(i+1):t.slice(i))+c,t=t.slice(0,i);break}}v&&!d&&(t=a(t,1/0));var D=A.length+t.length+c.length,E=D>1)+A+t+c+E.slice(D);break;default:t=E+A+t+c}return h(t)}return b=void 0===b?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),D.toString=function(){return t+""},D}return{format:y,formatPrefix:function(t,e){var r=y(((t=(0,i.A)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,n.A)(e)/3))),a=Math.pow(10,-o),s=f[8+o/3];return function(t){return r(a*t)+s}}}}c=p({thousands:",",grouping:[3],currency:["$",""]}),u=c.format,h=c.formatPrefix},50010(t,e,r){"use strict";function n(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}r.d(e,{A:()=>n})},51103(t,e,r){"use strict";r.d(e,{A:()=>a});var n=r(83477),i=r(84047);function o(t){this._context=t}function a(t){return new o(t)}o.prototype={areaStart:n.A,areaEnd:n.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:(0,i.zx)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},53239(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t){return null!=t&&"object"==typeof t}},53305(t,e,r){"use strict";function n(t,e){let r;if(void 0===e)for(const n of t)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}r.d(e,{A:()=>n})},54306(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(58187),i="object"==typeof self&&self&&self.Object===Object&&self;const o=n.A||i||Function("return this")()},54623(t,e,r){"use strict";function n(t,e){this._context=t,this._t=e}function i(t){return new n(t,.5)}function o(t){return new n(t,0)}function a(t){return new n(t,1)}r.d(e,{Ay:()=>i,Ko:()=>o,Ps:()=>a}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}}},54830(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.debounce=function(t,e){let r,{signal:n,edges:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=null;const a=null!=i&&i.includes("leading"),s=null==i||i.includes("trailing"),l=()=>{null!==o&&(t.apply(r,o),r=void 0,o=null)};let A=null;const c=()=>{null!=A&&clearTimeout(A),A=setTimeout(()=>{A=null,s&&l(),u()},e)},u=()=>{null!==A&&(clearTimeout(A),A=null),r=void 0,o=null},h=function(){if(null!==n&&void 0!==n&&n.aborted)return;r=this;for(var t=arguments.length,e=new Array(t),i=0;i{l()},null===n||void 0===n||n.addEventListener("abort",u,{once:!0}),h}},55009(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t,e){return t===e||t!==t&&e!==e}},55674(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t,e){return function(r){return t(e(r))}}},56421(t,e,r){"use strict";r.d(e,{Ay:()=>a});var n=r(17840);function i(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}var o=r(57220);const a=function t(e){var r=(0,o.uN)(e);function i(t,e){var i=r((t=(0,n.Qh)(t)).r,(e=(0,n.Qh)(e)).r),a=r(t.g,e.g),s=r(t.b,e.b),l=(0,o.Ay)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=a(e),t.b=s(e),t.opacity=l(e),t+""}}return i.gamma=t,i}(1);function s(t){return function(e){var r,i,o=e.length,a=new Array(o),s=new Array(o),l=new Array(o);for(r=0;r=1?(r=1,e-1):Math.floor(r*e),o=t[n],a=t[n+1],s=n>0?t[n-1]:2*o-a,l=n3&&void 0!==arguments[3]?arguments[3]:new Map,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;const u=null===c||void 0===c?void 0:c(t,e,r,n);if(void 0!==u)return u;if(a.isPrimitive(t))return t;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let i=0;i2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;const a=[...Object.keys(e),...n.getSymbols(e)];for(let n=0;ns});var n=r(17170),i=r(24186),o=r(21458),a=r(46453);const s=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if("number"!==typeof t)return(0,a.A)(t,{a:e});const l=i.A.set({r:n.A.channel.clamp.r(t),g:n.A.channel.clamp.g(e),b:n.A.channel.clamp.b(r),a:n.A.channel.clamp.a(s)});return o.A.stringify(l)}},56565(t,e,r){"use strict";r.d(e,{DA:()=>C,IU:()=>T,U:()=>_,U7:()=>Le,U_:()=>Oe,Zk:()=>h,aP:()=>Se,gh:()=>Ue,lC:()=>f,on:()=>Te});var n=r(89379),i=r(91674),o=r(24203),a=r(63614),s=r(84571),l=r(45420),A=r(32748),c=r(68973),u=r(18205),h=(0,A.K2)(async(t,e,r)=>{var n,o,A;let u;const h=e.useHtmlLabels||(0,l._3)(null===(n=(0,l.D7)())||void 0===n?void 0:n.htmlLabels);u=r||"node default";const d=t.insert("g").attr("class",u).attr("id",e.domId||e.id),f=d.insert("g").attr("class","label").attr("style",(0,s.KL)(e.labelStyle));let p;p=void 0===e.label?"":"string"===typeof e.label?e.label:e.label[0];const g=!!e.icon||!!e.img,m="markdown"===e.labelType,y=await(0,a.GZ)(f,(0,l.jZ)((0,s.Sm)(p),(0,l.D7)()),{useHtmlLabels:h,width:e.width||(null===(o=(0,l.D7)().flowchart)||void 0===o?void 0:o.wrappingWidth),classes:m?"markdown-node-label":"",style:e.labelStyle,addSvgBackground:g,markdown:m},(0,l.D7)());let v=y.getBBox();const b=(null!==(A=null===e||void 0===e?void 0:e.padding)&&void 0!==A?A:0)/2;if(h){const t=y.children[0],e=(0,c.Ltv)(y);await(0,i.X)(t,p),v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height)}return h?f.attr("transform","translate("+-v.width/2+", "+-v.height/2+")"):f.attr("transform","translate(0, "+-v.height/2+")"),e.centerLabel&&f.attr("transform","translate("+-v.width/2+", "+-v.height/2+")"),f.insert("rect",":first-child"),{shapeSvg:d,bbox:v,halfPadding:b,label:f}},"labelHelper"),d=(0,A.K2)(async(t,e,r)=>{var n,i;const o=null!==(n=r.useHtmlLabels)&&void 0!==n?n:(0,l.E)((0,l.D7)()),A=t.insert("g").attr("class","label").attr("style",r.labelStyle||""),u=await(0,a.GZ)(A,(0,l.jZ)((0,s.Sm)(e),(0,l.D7)()),{useHtmlLabels:o,width:r.width||(null===(i=(0,l.D7)())||void 0===i||null===(i=i.flowchart)||void 0===i?void 0:i.wrappingWidth),style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let h=u.getBBox();const d=r.padding/2;if((0,l.E)((0,l.D7)())){const t=u.children[0],e=(0,c.Ltv)(u);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}return o?A.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"):A.attr("transform","translate(0, "+-h.height/2+")"),r.centerLabel&&A.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),A.insert("rect",":first-child"),{shapeSvg:t,bbox:h,halfPadding:d,label:A}},"insertLabel"),f=(0,A.K2)((t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds"),p=(0,A.K2)((t,e)=>("handDrawn"===t.look?"rough-node":"node")+" "+t.cssClasses+" "+(e||""),"getNodeClasses");function g(t){const e=t.map((t,e)=>"".concat(0===e?"M":"L").concat(t.x,",").concat(t.y));return e.push("Z"),e.join(" ")}function m(t,e,r,n,i,o){const a=[],s=r-t,l=n-e,A=s/o,c=2*Math.PI/A,u=e+l/2;for(let h=0;h<=50;h++){const e=t+h/50*s,r=u+i*Math.sin(c*(e-t));a.push({x:e,y:r})}return a}function y(t,e,r,n,i,o){const a=[],s=i*Math.PI/180,l=(o*Math.PI/180-s)/(n-1);for(let A=0;A"path"===t.tagName),r=document.createElementNS("http://www.w3.org/2000/svg","path"),n=e.map(t=>t.getAttribute("d")).filter(t=>null!==t).join(" ");r.setAttribute("d",n);const i=e.find(t=>"none"!==t.getAttribute("fill")),o=e.find(t=>"none"!==t.getAttribute("stroke")),a=(0,A.K2)((t,e)=>{var r;return null!==(r=null===t||void 0===t?void 0:t.getAttribute(e))&&void 0!==r?r:void 0},"getAttr");if(i){var s;const t={fill:a(i,"fill"),"fill-opacity":null!==(s=a(i,"fill-opacity"))&&void 0!==s?s:"1"};Object.entries(t).forEach(t=>{let[e,n]=t;n&&r.setAttribute(e,n)})}if(o){var l,c;const t={stroke:a(o,"stroke"),"stroke-width":null!==(l=a(o,"stroke-width"))&&void 0!==l?l:"1","stroke-opacity":null!==(c=a(o,"stroke-opacity"))&&void 0!==c?c:"1"};Object.entries(t).forEach(t=>{let[e,n]=t;n&&r.setAttribute(e,n)})}const u=document.createElementNS("http://www.w3.org/2000/svg","g");return u.appendChild(r),u}(0,A.K2)(g,"createPathFromPoints"),(0,A.K2)(m,"generateFullSineWavePoints"),(0,A.K2)(y,"generateCirclePoints"),(0,A.K2)(v,"mergePaths");var b=(0,A.K2)((t,e)=>{var r,n,i=t.x,o=t.y,a=e.x-i,s=e.y-o,l=t.width/2,A=t.height/2;return Math.abs(s)*l>Math.abs(a)*A?(s<0&&(A=-A),r=0===s?0:A*a/s,n=A):(a<0&&(l=-l),r=l,n=0===a?0:l*s/a),{x:i+r,y:o+n}},"intersectRect"),w=(0,A.K2)(async function(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e||"";"object"===typeof o&&(o=o[0]);const s=(0,l.D7)(),A=(0,l.E)(s);return await(0,a.GZ)(t,o,{style:r,isTitle:n,useHtmlLabels:A,markdown:!1,isNode:i,width:Number.POSITIVE_INFINITY},s)},"createLabel"),C=w,B=(0,A.K2)((t,e,r,n,i)=>["M",t+i,e,"H",t+r-i,"A",i,i,0,0,1,t+r,e+i,"V",e+n-i,"A",i,i,0,0,1,t+r-i,e+n,"H",t+i,"A",i,i,0,0,1,t,e+n-i,"V",e+i,"A",i,i,0,0,1,t+i,e,"Z"].join(" "),"createRoundedRectPathD"),x=(0,A.K2)(async(t,e)=>{A.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,l.D7)(),{themeVariables:n,handDrawnSeed:s}=r,{clusterBkg:h,clusterBorder:d}=n,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:m}=(0,o.GX)(e),y=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),v=(0,l.E)(r),w=y.insert("g").attr("class","cluster-label ");let x;x="markdown"===e.labelType?await(0,a.GZ)(w,e.label,{style:e.labelStyle,useHtmlLabels:v,isNode:!0,width:e.width}):await C(w,e.label,e.labelStyle||"",!1,!0);let F=x.getBBox();if((0,l.E)(r)){const t=x.children[0],e=(0,c.Ltv)(x);F=t.getBoundingClientRect(),e.attr("width",F.width),e.attr("height",F.height)}const k=e.width<=F.width+e.padding?F.width+e.padding:e.width;e.width<=F.width+e.padding?e.diff=(k-e.width)/2-e.padding:e.diff=-e.padding;const D=e.height,E=e.x-k/2,S=e.y-D/2;let _;if(A.Rm.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){const t=u.A.svg(y),r=(0,o.Fr)(e,{roughness:.7,fill:h,stroke:d,fillWeight:3,seed:s}),n=t.path(B(E,S,k,D,0),r);_=y.insert(()=>(A.Rm.debug("Rough node insert CXC",n),n),":first-child"),_.select("path:nth-child(2)").attr("style",g.join(";")),_.select("path").attr("style",m.join(";").replace("fill","stroke"))}else _=y.insert("rect",":first-child"),_.attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",E).attr("y",S).attr("width",k).attr("height",D);const{subGraphTitleTopMargin:T}=(0,i.O)(r);if(w.attr("transform","translate(".concat(e.x-F.width/2,", ").concat(e.y-e.height/2+T,")")),f){const t=w.select("span");t&&t.attr("style",f)}const L=_.node().getBBox();return e.offsetX=0,e.width=L.width,e.height=L.height,e.offsetY=F.height-e.padding/2,e.intersect=function(t){return b(e,t)},{cluster:y,labelBBox:F}},"rect"),F=(0,A.K2)((t,e)=>{const r=t.insert("g").attr("class","note-cluster").attr("id",e.domId),n=r.insert("rect",":first-child"),i=0*e.padding,o=i/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-o).attr("y",e.y-e.height/2-o).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");const a=n.node().getBBox();return e.width=a.width,e.height=a.height,e.intersect=function(t){return b(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),k=(0,A.K2)(async(t,e)=>{const r=(0,l.D7)(),{themeVariables:n,handDrawnSeed:i}=r,{altBackground:o,compositeBackground:a,compositeTitleBackground:s,nodeBorder:A}=n,h=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look),d=h.insert("g",":first-child"),f=h.insert("g").attr("class","cluster-label");let p=h.append("rect");const g=await C(f,e.label,e.labelStyle,void 0,!0);let m=g.getBBox();if((0,l.E)(r)){const t=g.children[0],e=(0,c.Ltv)(g);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}const y=0*e.padding,v=y/2,w=(e.width<=m.width+e.padding?m.width+e.padding:e.width)+y;e.width<=m.width+e.padding?e.diff=(w-e.width)/2-e.padding:e.diff=-e.padding;const x=e.height+y,F=e.height+y-m.height-6,k=e.x-w/2,D=e.y-x/2;e.width=w;const E=e.y-e.height/2-v+m.height+2;let S;if("handDrawn"===e.look){const t=e.cssClasses.includes("statediagram-cluster-alt"),r=u.A.svg(h),n=e.rx||e.ry?r.path(B(k,D,w,x,10),{roughness:.7,fill:s,fillStyle:"solid",stroke:A,seed:i}):r.rectangle(k,D,w,x,{seed:i});S=h.insert(()=>n,":first-child");const l=r.rectangle(k,E,w,F,{fill:t?o:a,fillStyle:t?"hachure":"solid",stroke:A,seed:i});S=h.insert(()=>n,":first-child"),p=h.insert(()=>l)}else{S=d.insert("rect",":first-child");const t="outer";S.attr("class",t).attr("x",k).attr("y",D).attr("width",w).attr("height",x).attr("data-look",e.look),p.attr("class","inner").attr("x",k).attr("y",E).attr("width",w).attr("height",F)}f.attr("transform","translate(".concat(e.x-m.width/2,", ").concat(D+1-((0,l.E)(r)?0:3),")"));const _=S.node().getBBox();return e.height=_.height,e.offsetX=0,e.offsetY=m.height-e.padding/2,e.labelBBox=m,e.intersect=function(t){return b(e,t)},{cluster:h,labelBBox:m}},"roundedWithTitle"),D=(0,A.K2)(async(t,e)=>{A.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,l.D7)(),{themeVariables:n,handDrawnSeed:s}=r,{clusterBkg:h,clusterBorder:d}=n,{labelStyles:f,nodeStyles:p,borderStyles:g,backgroundStyles:m}=(0,o.GX)(e),y=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),v=(0,l.E)(r),w=y.insert("g").attr("class","cluster-label "),C=await(0,a.GZ)(w,e.label,{style:e.labelStyle,useHtmlLabels:v,isNode:!0,width:e.width});let x=C.getBBox();if((0,l.E)(r)){const t=C.children[0],e=(0,c.Ltv)(C);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}const F=e.width<=x.width+e.padding?x.width+e.padding:e.width;e.width<=x.width+e.padding?e.diff=(F-e.width)/2-e.padding:e.diff=-e.padding;const k=e.height,D=e.x-F/2,E=e.y-k/2;let S;if(A.Rm.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){const t=u.A.svg(y),r=(0,o.Fr)(e,{roughness:.7,fill:h,stroke:d,fillWeight:4,seed:s}),n=t.path(B(D,E,F,k,e.rx),r);S=y.insert(()=>(A.Rm.debug("Rough node insert CXC",n),n),":first-child"),S.select("path:nth-child(2)").attr("style",g.join(";")),S.select("path").attr("style",m.join(";").replace("fill","stroke"))}else S=y.insert("rect",":first-child"),S.attr("style",p).attr("rx",e.rx).attr("ry",e.ry).attr("x",D).attr("y",E).attr("width",F).attr("height",k);const{subGraphTitleTopMargin:_}=(0,i.O)(r);if(w.attr("transform","translate(".concat(e.x-x.width/2,", ").concat(e.y-e.height/2+_,")")),f){const t=w.select("span");t&&t.attr("style",f)}const T=S.node().getBBox();return e.offsetX=0,e.width=T.width,e.height=T.height,e.offsetY=x.height-e.padding/2,e.intersect=function(t){return b(e,t)},{cluster:y,labelBBox:x}},"kanbanSection"),E={rect:x,squareRect:x,roundedWithTitle:k,noteGroup:F,divider:(0,A.K2)((t,e)=>{const r=(0,l.D7)(),{themeVariables:n,handDrawnSeed:i}=r,{nodeBorder:o}=n,a=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look),s=a.insert("g",":first-child"),A=0*e.padding,c=e.width+A;e.diff=-e.padding;const h=e.height+A,d=e.x-c/2,f=e.y-h/2;let p;if(e.width=c,"handDrawn"===e.look){const t=u.A.svg(a).rectangle(d,f,c,h,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:o,seed:i});p=a.insert(()=>t,":first-child")}else{p=s.insert("rect",":first-child");let t="outer";t=(e.look,"divider"),p.attr("class",t).attr("x",d).attr("y",f).attr("width",c).attr("height",h).attr("data-look",e.look)}const g=p.node().getBBox();return e.height=g.height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return b(e,t)},{cluster:a,labelBBox:{}}},"divider"),kanbanSection:D},S=new Map,_=(0,A.K2)(async(t,e)=>{const r=e.shape||"rect",n=await E[r](t,e);return S.set(e.id,n),n},"insertCluster"),T=(0,A.K2)(()=>{S=new Map},"clear");function L(t,e){return t.intersect(e)}(0,A.K2)(L,"intersectNode");var U=L;function O(t,e,r,n){var i=t.x,o=t.y,a=i-n.x,s=o-n.y,l=Math.sqrt(e*e*s*s+r*r*a*a),A=Math.abs(e*r*a/l);n.x0}(0,A.K2)(Q,"intersectLine"),(0,A.K2)(P,"sameSign");var j=Q;function R(t,e,r){let n=t.x,i=t.y,o=[],a=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"===typeof e.forEach?e.forEach(function(t){a=Math.min(a,t.x),s=Math.min(s,t.y)}):(a=Math.min(a,e.x),s=Math.min(s,e.y));let l=n-t.width/2-a,A=i-t.height/2-s;for(let c=0;c1&&o.sort(function(t,e){let n=t.x-r.x,i=t.y-r.y,o=Math.sqrt(n*n+i*i),a=e.x-r.x,s=e.y-r.y,l=Math.sqrt(a*a+s*s);return od,":first-child");return g.attr("class","anchor").attr("style",(0,s.KL)(l)),f(e,g),e.intersect=function(t){return A.Rm.info("Circle intersect",e,1,t),H.circle(e,1,t)},a}function z(t,e,r,n,i,o,a){const s=(t+r)/2,l=(e+n)/2,A=Math.atan2(n-e,r-t),c=(r-t)/2/i,u=(n-e)/2/o,h=Math.sqrt(c**2+u**2);if(h>1)throw new Error("The given radii are too small to create an arc between the points.");const d=Math.sqrt(1-h**2),f=s+d*o*Math.sin(A)*(a?-1:1),p=l-d*i*Math.cos(A)*(a?-1:1),g=Math.atan2((e-p)/o,(t-f)/i);let m=Math.atan2((n-p)/o,(r-f)/i)-g;a&&m<0&&(m+=2*Math.PI),!a&&m>0&&(m-=2*Math.PI);const y=[];for(let v=0;v<20;v++){const t=g+v/19*m,e=f+i*Math.cos(t),r=p+o*Math.sin(t);y.push({x:e,y:r})}return y}function q(t,e,r){const[n,i]=[e,r].sort((t,e)=>e-t);return i*(1-Math.sqrt(1-(t/n/2)**2))}async function W(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e);e.labelStyle=n;const a=null!==(r=e.padding)&&void 0!==r?r:0,s="neo"===e.look?16:a,l="neo"===e.look?12:a,c=(0,A.K2)(t=>t+l,"calcTotalHeight"),d=(0,A.K2)(t=>{const e=t/2;return[e/(2.5+t/50),e]},"calcEllipseRadius"),{shapeSvg:m,bbox:y}=await h(t,e,p(e)),v=c(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:y.height),[b,w]=d(v),C=q(v,b,w),B=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:y.width)+2*s+C-C,x=v,{cssStyles:F}=e,k=[{x:B/2,y:-x/2},{x:-B/2,y:-x/2},...z(-B/2,-x/2,-B/2,x/2,b,w,!1),{x:B/2,y:x/2},...z(B/2,x/2,B/2,-x/2,b,w,!0)],D=u.A.svg(m),E=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(E.roughness=0,E.fillStyle="solid");const S=g(k),_=D.path(S,E),T=m.insert(()=>_,":first-child");return T.attr("class","basic label-container outer-path"),F&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",F),i&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",i),T.attr("transform","translate(".concat(b/2,", 0)")),f(e,T),e.intersect=function(t){return H.polygon(e,k,t)},m}function V(t,e,r,n){return t.insert("polygon",":first-child").attr("points",n.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,A.K2)(K,"anchor"),(0,A.K2)(z,"generateArcPoints"),(0,A.K2)(q,"calculateArcSagitta"),(0,A.K2)(W,"bowTieRect"),(0,A.K2)(V,"insertPolygonShape");async function G(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A="neo"===e.look?28:l,c="neo"===e.look?24:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=(null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:m.width)+("neo"===e.look?2*A:A+12),v=(null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:m.height)+("neo"===e.look?2*c:c),b=-v,w=[{x:12,y:b},{x:y,y:b},{x:y,y:0},{x:0,y:0},{x:0,y:b+12},{x:12,y:b}];let C;const{cssStyles:B}=e;if("handDrawn"===e.look){const t=u.A.svg(d),r=(0,o.Fr)(e,{}),n=g(w),i=t.path(n,r);C=d.insert(()=>i,":first-child").attr("transform","translate(".concat(-y/2,", ").concat(v/2,")")),B&&C.attr("style",B)}else C=V(d,y,v,w);return s&&C.attr("style",s),f(e,C),e.intersect=function(t){return H.polygon(e,w,t)},d}function X(t,e){var r,n;const{nodeStyles:i}=(0,o.GX)(e);e.label="";const a=t.insert("g").attr("class",p(e)).attr("id",null!==(r=e.domId)&&void 0!==r?r:e.id),{cssStyles:s}=e,l=Math.max(28,null!==(n=e.width)&&void 0!==n?n:0),A=[{x:0,y:l/2},{x:l/2,y:0},{x:0,y:-l/2},{x:-l/2,y:0}],c=u.A.svg(a),h=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(h.roughness=0,h.fillStyle="solid");const d=g(A),f=c.path(d,h),m=a.insert(()=>f,":first-child");return s&&"handDrawn"!==e.look&&m.selectAll("path").attr("style",s),i&&"handDrawn"!==e.look&&m.selectAll("path").attr("style",i),e.width=28,e.height=28,e.intersect=function(t){return H.polygon(e,A,t)},a}async function Y(t,e,r){var n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i;const{shapeSvg:l,bbox:c,halfPadding:d}=await h(t,e,p(e)),g=null!==(n=null===r||void 0===r?void 0:r.padding)&&void 0!==n?n:d,m="neo"===e.look?c.width/2+32:c.width/2+g;let y;const{cssStyles:v}=e;if("handDrawn"===e.look){const t=u.A.svg(l),r=(0,o.Fr)(e,{}),n=t.circle(0,0,2*m,r);y=l.insert(()=>n,":first-child"),y.attr("class","basic label-container").attr("style",(0,s.KL)(v))}else y=l.insert("circle",":first-child").attr("class","basic label-container").attr("style",a).attr("r",m).attr("cx",0).attr("cy",0);return f(e,y),e.calcIntersect=function(t,e){const r=t.width/2;return H.circle(t,r,e)},e.intersect=function(t){return A.Rm.info("Circle intersect",e,m,t),H.circle(e,m,t)},l}function J(t){const e=Math.cos(Math.PI/4),r=Math.sin(Math.PI/4),n=2*t,i={x:n/2*e,y:n/2*r},o={x:-n/2*e,y:n/2*r},a={x:-n/2*e,y:-n/2*r},s={x:n/2*e,y:-n/2*r};return"M ".concat(o.x,",").concat(o.y," L ").concat(s.x,",").concat(s.y,"\n M ").concat(i.x,",").concat(i.y," L ").concat(a.x,",").concat(a.y)}function Z(t,e){var r,n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i,e.label="";const s=t.insert("g").attr("class",p(e)).attr("id",null!==(r=e.domId)&&void 0!==r?r:e.id),l=Math.max(30,null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:0),{cssStyles:c}=e,h=u.A.svg(s),d=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(d.roughness=0,d.fillStyle="solid");const g=h.circle(0,0,2*l,d),m=J(l),y=h.path(m,d),v=s.insert(()=>g,":first-child");return v.insert(()=>y),v.attr("class","outer-path"),c&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",c),a&&"handDrawn"!==e.look&&v.selectAll("path").attr("style",a),f(e,v),e.intersect=function(t){A.Rm.info("crossedCircle intersect",e,{radius:l,point:t});return H.circle(e,l,t)},s}function $(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:180;const o=[],a=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:0)*Math.PI/180,s=(i*Math.PI/180-a)/(n-1);for(let l=0;lL,":first-child").attr("stroke-opacity",0),U.insert(()=>_,":first-child"),U.attr("class","text"),x&&"handDrawn"!==e.look&&U.selectAll("path").attr("style",x),c&&"handDrawn"!==e.look&&U.selectAll("path").attr("style",c),U.attr("transform","translate(".concat(B,", 0)")),y.attr("transform","translate(".concat(-w/2+B-(m.x-(null!==(a=m.left)&&void 0!==a?a:0)),",").concat(-C/2+(null!==(s=e.padding)&&void 0!==s?s:0)/2-(m.y-(null!==(l=m.top)&&void 0!==l?l:0)),")")),f(e,U),e.intersect=function(t){return H.polygon(e,k,t)},d}function et(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:180;const o=[],a=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:0)*Math.PI/180,s=(i*Math.PI/180-a)/(n-1);for(let l=0;lU,":first-child").attr("stroke-opacity",0),O.insert(()=>T,":first-child"),O.attr("class","text"),F&&"handDrawn"!==e.look&&O.selectAll("path").attr("style",F),d&&"handDrawn"!==e.look&&O.selectAll("path").attr("style",d),O.attr("transform","translate(".concat(-x,", 0)")),v.attr("transform","translate(".concat(-C/2+(null!==(a=e.padding)&&void 0!==a?a:0)/2-(y.x-(null!==(s=y.left)&&void 0!==s?s:0)),",").concat(-B/2+(null!==(l=e.padding)&&void 0!==l?l:0)/2-(y.y-(null!==(A=y.top)&&void 0!==A?A:0)),")")),f(e,O),e.intersect=function(t){return H.polygon(e,D,t)},m}function nt(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:180;const o=[],a=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:0)*Math.PI/180,s=(i*Math.PI/180-a)/(n-1);for(let l=0;lN,":first-child").attr("stroke-opacity",0),M.insert(()=>L,":first-child"),M.insert(()=>O,":first-child"),M.attr("class","text"),F&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",F),d&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",d),M.attr("transform","translate(".concat(x-x/4,", 0)")),v.attr("transform","translate(".concat(-C/2+(null!==(a=e.padding)&&void 0!==a?a:0)/2-(y.x-(null!==(s=y.left)&&void 0!==s?s:0)),",").concat(-B/2+(null!==(l=e.padding)&&void 0!==l?l:0)/2-(y.y-(null!==(A=y.top)&&void 0!==A?A:0)),")")),f(e,M),e.intersect=function(t){return H.polygon(e,E,t)},m}async function ot(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A="neo"===e.look?16:l,c="neo"===e.look?12:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),v=Math.max(20,1.25*(m.width+2*A),null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:0),b=Math.max(5,m.height+2*c,null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:0),w=b/2,{cssStyles:C}=e,B=u.A.svg(d),x=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const F=v-w,k=b/4,D=[{x:F,y:0},{x:k,y:0},{x:0,y:b/2},{x:k,y:b},{x:F,y:b},...y(-F,-b/2,w,50,270,90)],E=g(D),S=B.path(E,x),_=d.insert(()=>S,":first-child");return _.attr("class","basic label-container outer-path"),C&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",C),s&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",s),_.attr("transform","translate(".concat(-v/2,", ").concat(-b/2,")")),f(e,_),e.intersect=function(t){return H.polygon(e,D,t)},d}(0,A.K2)(G,"card"),(0,A.K2)(X,"choice"),(0,A.K2)(Y,"circle"),(0,A.K2)(J,"createLine"),(0,A.K2)(Z,"crossedCircle"),(0,A.K2)($,"generateCirclePoints"),(0,A.K2)(tt,"curlyBraceLeft"),(0,A.K2)(et,"generateCirclePoints"),(0,A.K2)(rt,"curlyBraceRight"),(0,A.K2)(nt,"generateCirclePoints"),(0,A.K2)(it,"curlyBraces"),(0,A.K2)(ot,"curvedTrapezoid");var at=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t,",").concat(e+o),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"a".concat(i,",").concat(o," 0,0,0 ").concat(-r,",0"),"l0,".concat(n),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"l0,".concat(-n)].join(" "),"createCylinderPathD"),st=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t,",").concat(e+o),"M".concat(t+r,",").concat(e+o),"a".concat(i,",").concat(o," 0,0,0 ").concat(-r,",0"),"l0,".concat(n),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"l0,".concat(-n)].join(" "),"createOuterCylinderPathD"),lt=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t-r/2,",").concat(-n/2),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0")].join(" "),"createInnerCylinderPathD");async function At(t,e){var r,n,i,a;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?24:c,g="neo"===e.look?24:c;if(e.width||e.height){var m,y,v;const t=null!==(m=e.width)&&void 0!==m?m:0;e.width=(null!==(y=e.width)&&void 0!==y?y:0)-g,e.width<8&&(e.width=8);const r=t/2/(2.5+t/50);e.height=(null!==(v=e.height)&&void 0!==v?v:0)-d-3*r,e.height<8&&(e.height=8)}const{shapeSvg:b,bbox:w,label:C}=await h(t,e,p(e)),B=(e.width?e.width:w.width)+g,x=B/2,F=x/(2.5+B/50),k=(e.height?e.height:w.height)+d+F;let D;const{cssStyles:E}=e;if("handDrawn"===e.look){const t=u.A.svg(b),r=st(0,0,B,k,x,F),n=lt(0,F,B,k,x,F),i=(0,o.Fr)(e,{}),a=t.path(r,i),s=t.path(n,(0,o.Fr)(e,{fill:"none"}));D=b.insert(()=>s,":first-child"),D=b.insert(()=>a,":first-child"),D.attr("class","basic label-container"),E&&D.attr("style",E)}else{const t=at(0,0,B,k,x,F);D=b.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(E)).attr("style",A)}return D.attr("label-offset-y",F),D.attr("transform","translate(".concat(-B/2,", ").concat(-(k/2+F),")")),f(e,D),C.attr("transform","translate(".concat(-w.width/2-(w.x-(null!==(n=w.left)&&void 0!==n?n:0)),", ").concat(-w.height/2+(null!==(i=e.padding)&&void 0!==i?i:0)/1.5-(w.y-(null!==(a=w.top)&&void 0!==a?a:0)),")")),e.intersect=function(t){var r,n,i,o,a;const s=H.rect(e,t),l=s.x-(null!==(r=e.x)&&void 0!==r?r:0);if(0!=x&&(Math.abs(l)<(null!==(n=e.width)&&void 0!==n?n:0)/2||Math.abs(l)==(null!==(i=e.width)&&void 0!==i?i:0)/2&&Math.abs(s.y-(null!==(o=e.y)&&void 0!==o?o:0))>(null!==(a=e.height)&&void 0!==a?a:0)/2-F)){var A;let r=F*F*(1-l*l/(x*x));r>0&&(r=Math.sqrt(r)),r=F-r,t.y-(null!==(A=e.y)&&void 0!==A?A:0)>0&&(r=-r),s.y+=r}return s},b}async function ct(t,e){var r,n,i,a,s,l;const{labelStyles:A,nodeStyles:c}=(0,o.GX)(e);e.labelStyle=A;const d="neo"===e.look?16:null!==(r=e.padding)&&void 0!==r?r:0,g="neo"===e.look?16:null!==(n=e.padding)&&void 0!==n?n:0,{shapeSvg:m,bbox:y,label:v}=await h(t,e,p(e)),b=y.width+d,w=y.height+g,C=.2*w,B=-b/2,x=-w/2-C/2,{cssStyles:F}=e,k=u.A.svg(m),D=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");const E=[{x:B,y:x+C},{x:-B,y:x+C},{x:-B,y:-x},{x:B,y:-x},{x:B,y:x},{x:-B,y:x},{x:-B,y:x+C}],S=k.polygon(E.map(t=>[t.x,t.y]),D),_=m.insert(()=>S,":first-child");return _.attr("class","basic label-container outer-path"),F&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",F),c&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",c),v.attr("transform","translate(".concat(B+(null!==(i=e.padding)&&void 0!==i?i:0)/2-(y.x-(null!==(a=y.left)&&void 0!==a?a:0)),", ").concat(x+C+(null!==(s=e.padding)&&void 0!==s?s:0)/2-(y.y-(null!==(l=y.top)&&void 0!==l?l:0)),")")),f(e,_),e.intersect=function(t){return H.rect(e,t)},m}async function ut(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e),a="neo"===e.look?12:5;e.labelStyle=n;const l=null!==(r=e.padding)&&void 0!==r?r:0,c="neo"===e.look?16:l,{shapeSvg:d,bbox:g}=await h(t,e,p(e)),m=(null!==e&&void 0!==e&&e.width?(null===e||void 0===e?void 0:e.width)/2:g.width/2)+(null!==c&&void 0!==c?c:0),y=m-a;let v;const{cssStyles:b}=e;if("handDrawn"===e.look){var w,C;const t=u.A.svg(d),r=(0,o.Fr)(e,{roughness:.2,strokeWidth:2.5}),n=(0,o.Fr)(e,{roughness:.2,strokeWidth:1.5}),i=t.circle(0,0,2*m,r),a=t.circle(0,0,2*y,n);v=d.insert("g",":first-child"),v.attr("class",(0,s.KL)(e.cssClasses)).attr("style",(0,s.KL)(b)),null===(w=v.node())||void 0===w||w.appendChild(i),null===(C=v.node())||void 0===C||C.appendChild(a)}else{v=d.insert("g",":first-child");const t=v.insert("circle",":first-child"),e=v.insert("circle");v.attr("class","basic label-container").attr("style",i),t.attr("class","outer-circle").attr("style",i).attr("r",m).attr("cx",0).attr("cy",0),e.attr("class","inner-circle").attr("style",i).attr("r",y).attr("cx",0).attr("cy",0)}return f(e,v),e.intersect=function(t){return A.Rm.info("DoubleCircle intersect",e,m,t),H.circle(e,m,t)},d}function ht(t,e,r){var n;let{config:{themeVariables:i}}=r;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.label="",e.labelStyle=a;const l=t.insert("g").attr("class",p(e)).attr("id",null!==(n=e.domId)&&void 0!==n?n:e.id),{cssStyles:c}=e,h=u.A.svg(l),{nodeBorder:d}=i,g=(0,o.Fr)(e,{fillStyle:"solid"});"handDrawn"!==e.look&&(g.roughness=0);const m=h.circle(0,0,14,g),y=l.insert(()=>m,":first-child");return y.selectAll("path").attr("style","fill: ".concat(d," !important;")),c&&c.length>0&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",c),s&&"handDrawn"!==e.look&&y.selectAll("path").attr("style",s),f(e,y),e.intersect=function(t){A.Rm.info("filledCircle intersect",e,{radius:7,point:t});return H.circle(e,7,t)},l}(0,A.K2)(At,"cylinder"),(0,A.K2)(ct,"dividedRectangle"),(0,A.K2)(ut,"doublecircle"),(0,A.K2)(ht,"filledCircle");async function dt(t,e){var r,n,i,a;const{labelStyles:s,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=s;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?2*c:c;var m,y;(e.width||e.height)&&(e.height=null!==(m=null===e||void 0===e?void 0:e.height)&&void 0!==m?m:0,e.height<10&&(e.height=10),e.width=(null!==(y=null===e||void 0===e?void 0:e.width)&&void 0!==y?y:0)-d-d/2,e.width<10&&(e.width=10));const{shapeSvg:v,bbox:b,label:w}=await h(t,e,p(e)),C=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:b.width)+(null!==d&&void 0!==d?d:0),B=null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:C+b.height,x=[{x:0,y:-B},{x:B,y:-B},{x:B/2,y:0}],{cssStyles:F}=e,k=u.A.svg(v),D=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");const E=g(x),S=k.path(E,D),_=v.insert(()=>S,":first-child").attr("transform","translate(".concat(-B/2,", ").concat(B/2,")")).attr("class","outer-path");return F&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",F),l&&"handDrawn"!==e.look&&_.selectChildren("path").attr("style",l),e.width=C,e.height=B,f(e,_),w.attr("transform","translate(".concat(-b.width/2-(b.x-(null!==(n=b.left)&&void 0!==n?n:0)),", ").concat(-B/2+(null!==(i=e.padding)&&void 0!==i?i:0)/2+(b.y-(null!==(a=b.top)&&void 0!==a?a:0)),")")),e.intersect=function(t){return A.Rm.info("Triangle intersect",e,x,t),H.polygon(e,x,t)},v}function ft(t,e,r){var n,i,a,s;let{dir:l,config:{state:A,themeVariables:c}}=r;const{nodeStyles:h}=(0,o.GX)(e);e.label="";const d=t.insert("g").attr("class",p(e)).attr("id",null!==(n=e.domId)&&void 0!==n?n:e.id),{cssStyles:g}=e;let m=Math.max(70,null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:0),y=Math.max(10,null!==(a=null===e||void 0===e?void 0:e.height)&&void 0!==a?a:0);var v,b;"LR"===l&&(m=Math.max(10,null!==(v=null===e||void 0===e?void 0:e.width)&&void 0!==v?v:0),y=Math.max(70,null!==(b=null===e||void 0===e?void 0:e.height)&&void 0!==b?b:0));const w=-1*m/2,C=-1*y/2,B=u.A.svg(d),x=(0,o.Fr)(e,{stroke:c.lineColor,fill:c.lineColor});"handDrawn"!==e.look&&(x.roughness=0,x.fillStyle="solid");const F=B.rectangle(w,C,m,y,x),k=d.insert(()=>F,":first-child");g&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",g),h&&"handDrawn"!==e.look&&k.selectAll("path").attr("style",h),f(e,k);const D=null!==(s=null===A||void 0===A?void 0:A.padding)&&void 0!==s?s:0;return e.width&&e.height&&(e.width+=D/2||0,e.height+=D/2||0),e.intersect=function(t){return H.rect(e,t)},d}async function pt(t,e){var r,n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i;const s="neo"===e.look?16:null!==(r=e.padding)&&void 0!==r?r:0,l="neo"===e.look?12:null!==(n=e.padding)&&void 0!==n?n:0;var c,d;(e.width||e.height)&&(e.height=(null!==(c=null===e||void 0===e?void 0:e.height)&&void 0!==c?c:0)-2*l,e.height<10&&(e.height=10),e.width=(null!==(d=null===e||void 0===e?void 0:e.width)&&void 0!==d?d:0)-2*s,e.width<15&&(e.width=15));const{shapeSvg:m,bbox:v}=await h(t,e,p(e)),b=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:Math.max(15,v.width))+2*s,w=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:Math.max(10,v.height))+2*l,C=w/2,{cssStyles:B}=e,x=u.A.svg(m),F=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(F.roughness=0,F.fillStyle="solid");const k=[{x:-b/2,y:-w/2},{x:b/2-C,y:-w/2},...y(-b/2+C,0,C,50,90,270),{x:b/2-C,y:w/2},{x:-b/2,y:w/2}],D=g(k),E=x.path(D,F),S=m.insert(()=>E,":first-child");return S.attr("class","basic label-container outer-path"),B&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",B),a&&"handDrawn"!==e.look&&S.selectChildren("path").attr("style",a),f(e,S),e.intersect=function(t){A.Rm.info("Pill intersect",e,{radius:C,point:t});return H.polygon(e,k,t)},m}(0,A.K2)(dt,"flippedTriangle"),(0,A.K2)(ft,"forkJoin"),(0,A.K2)(pt,"halfRoundedRectangle");var gt=(0,A.K2)((t,e,r,n,i)=>["M".concat(t+i,",").concat(e),"L".concat(t+r-i,",").concat(e),"L".concat(t+r,",").concat(e-n/2),"L".concat(t+r-i,",").concat(e-n),"L".concat(t+i,",").concat(e-n),"L".concat(t,",").concat(e-n/2),"Z"].join(" "),"createHexagonPathD");async function mt(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e),a="neo"===e.look?3.5:4;e.labelStyle=n;const s=null!==(r=e.padding)&&void 0!==r?r:0,l="neo"===e.look?70:s,A="neo"===e.look?32:s;if(e.width||e.height){var c,d,g;const t=(null!==(c=e.height)&&void 0!==c?c:0)/a;e.width=(null!==(d=null===e||void 0===e?void 0:e.width)&&void 0!==d?d:0)-2*t-A,e.height=(null!==(g=e.height)&&void 0!==g?g:0)-l}const{shapeSvg:m,bbox:y}=await h(t,e,p(e)),v=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:y.height)+l,b=v/a,w=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:y.width)+2*b+A,C=[{x:b,y:0},{x:w-b,y:0},{x:w,y:-v/2},{x:w-b,y:-v},{x:b,y:-v},{x:0,y:-v/2}];let B;const{cssStyles:x}=e;if("handDrawn"===e.look){const t=u.A.svg(m),r=(0,o.Fr)(e,{}),n=gt(0,0,w,v,b),i=t.path(n,r);B=m.insert(()=>i,":first-child").attr("transform","translate(".concat(-w/2,", ").concat(v/2,")")),x&&B.attr("style",x)}else B=V(m,w,v,C);return i&&B.attr("style",i),e.width=w,e.height=v,f(e,B),e.intersect=function(t){return H.polygon(e,C,t)},m}async function yt(t,e){var r,n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.label="",e.labelStyle=i;const{shapeSvg:s}=await h(t,e,p(e)),l=Math.max(30,null!==(r=null===e||void 0===e?void 0:e.width)&&void 0!==r?r:0),c=Math.max(30,null!==(n=null===e||void 0===e?void 0:e.height)&&void 0!==n?n:0),{cssStyles:d}=e,m=u.A.svg(s),y=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(y.roughness=0,y.fillStyle="solid");const v=[{x:0,y:0},{x:l,y:0},{x:0,y:c},{x:l,y:c}],b=g(v),w=m.path(b,y),C=s.insert(()=>w,":first-child");return C.attr("class","basic label-container outer-path"),d&&"handDrawn"!==e.look&&C.selectChildren("path").attr("style",d),a&&"handDrawn"!==e.look&&C.selectChildren("path").attr("style",a),C.attr("transform","translate(".concat(-l/2,", ").concat(-c/2,")")),f(e,C),e.intersect=function(t){A.Rm.info("Pill intersect",e,{points:v});return H.polygon(e,v,t)},s}async function vt(t,e,r){var i,s,l;let{config:{themeVariables:c,flowchart:d}}=r;const{labelStyles:p}=(0,o.GX)(e);e.labelStyle=p;const g=null!==(i=e.assetHeight)&&void 0!==i?i:48,m=null!==(s=e.assetWidth)&&void 0!==s?s:48,y=Math.max(g,m),v=null===d||void 0===d?void 0:d.wrappingWidth;e.width=Math.max(y,null!==v&&void 0!==v?v:0);const{shapeSvg:b,bbox:w,label:C}=await h(t,e,"icon-shape default"),B="t"===e.pos,x=y,F=y,{nodeBorder:k}=c,{stylesMap:D}=(0,o.WW)(e),E=-F/2,S=-x/2,_=e.label?8:0,T=u.A.svg(b),L=(0,o.Fr)(e,{stroke:"none",fill:"none"});"handDrawn"!==e.look&&(L.roughness=0,L.fillStyle="solid");const U=T.rectangle(E,S,F,x,L),O=Math.max(F,w.width),I=x+w.height+_,N=T.rectangle(-O/2,-I/2,O,I,(0,n.A)((0,n.A)({},L),{},{fill:"transparent",stroke:"none"})),M=b.insert(()=>U,":first-child"),Q=b.insert(()=>N);if(e.icon){var P;const t=b.append("g");t.html("".concat(await(0,a.WY)(e.icon,{height:y,width:y,fallbackPrefix:""}),""));const r=t.node().getBBox(),n=r.width,i=r.height,o=r.x,s=r.y;t.attr("transform","translate(".concat(-n/2-o,",").concat(B?w.height/2+_/2-i/2-s:-w.height/2-_/2-i/2-s,")")),t.attr("style","color: ".concat(null!==(P=D.get("stroke"))&&void 0!==P?P:k,";"))}return C.attr("transform","translate(".concat(-w.width/2-(w.x-(null!==(l=w.left)&&void 0!==l?l:0)),",").concat(B?-I/2:I/2-w.height,")")),M.attr("transform","translate(".concat(0,",",B?w.height/2+_/2:-w.height/2-_/2,")")),f(e,Q),e.intersect=function(t){var r,n,i;if(A.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const o=null!==(r=e.x)&&void 0!==r?r:0,a=null!==(n=e.y)&&void 0!==n?n:0,s=null!==(i=e.height)&&void 0!==i?i:0;let l=[];l=B?[{x:o-w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2+w.height+_},{x:o+F/2,y:a-s/2+w.height+_},{x:o+F/2,y:a+s/2},{x:o-F/2,y:a+s/2},{x:o-F/2,y:a-s/2+w.height+_},{x:o-w.width/2,y:a-s/2+w.height+_}]:[{x:o-F/2,y:a-s/2},{x:o+F/2,y:a-s/2},{x:o+F/2,y:a-s/2+x},{x:o+w.width/2,y:a-s/2+x},{x:o+w.width/2/2,y:a+s/2},{x:o-w.width/2,y:a+s/2},{x:o-w.width/2,y:a-s/2+x},{x:o-F/2,y:a-s/2+x}];return H.polygon(e,l,t)},b}async function bt(t,e,r){var i,s,l,c;let{config:{themeVariables:d,flowchart:p}}=r;const{labelStyles:g}=(0,o.GX)(e);e.labelStyle=g;const m=null!==(i=e.assetHeight)&&void 0!==i?i:48,y=null!==(s=e.assetWidth)&&void 0!==s?s:48,v=Math.max(m,y),b=null===p||void 0===p?void 0:p.wrappingWidth;e.width=Math.max(v,null!==b&&void 0!==b?b:0);const{shapeSvg:w,bbox:C,label:B}=await h(t,e,"icon-shape default"),x=e.label?8:0,F="t"===e.pos,{nodeBorder:k,mainBkg:D}=d,{stylesMap:E}=(0,o.WW)(e),S=u.A.svg(w),_=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");const T=E.get("fill");_.stroke=null!==T&&void 0!==T?T:D;const L=w.append("g");e.icon&&L.html("".concat(await(0,a.WY)(e.icon,{height:v,width:v,fallbackPrefix:""}),""));const U=L.node().getBBox(),O=U.width,I=U.height,N=U.x,M=U.y,Q=Math.max(O,I)*Math.SQRT2+40,P=S.circle(0,0,Q,_),j=Math.max(Q,C.width),R=Q+C.height+x,K=S.rectangle(-j/2,-R/2,j,R,(0,n.A)((0,n.A)({},_),{},{fill:"transparent",stroke:"none"})),z=w.insert(()=>P,":first-child"),q=w.insert(()=>K);return L.attr("transform","translate(".concat(-O/2-N,",").concat(F?C.height/2+x/2-I/2-M:-C.height/2-x/2-I/2-M,")")),L.attr("style","color: ".concat(null!==(l=E.get("stroke"))&&void 0!==l?l:k,";")),B.attr("transform","translate(".concat(-C.width/2-(C.x-(null!==(c=C.left)&&void 0!==c?c:0)),",").concat(F?-R/2:R/2-C.height,")")),z.attr("transform","translate(".concat(0,",",F?C.height/2+x/2:-C.height/2-x/2,")")),f(e,q),e.intersect=function(t){A.Rm.info("iconSquare intersect",e,t);return H.rect(e,t)},w}async function wt(t,e,r){var i,s,l;let{config:{themeVariables:c,flowchart:d}}=r;const{labelStyles:p}=(0,o.GX)(e);e.labelStyle=p;const g=null!==(i=e.assetHeight)&&void 0!==i?i:48,m=null!==(s=e.assetWidth)&&void 0!==s?s:48,y=Math.max(g,m),v=null===d||void 0===d?void 0:d.wrappingWidth;e.width=Math.max(y,null!==v&&void 0!==v?v:0);const{shapeSvg:b,bbox:w,halfPadding:C,label:x}=await h(t,e,"icon-shape default"),F="t"===e.pos,k=y+2*C,D=y+2*C,{nodeBorder:E,mainBkg:S}=c,{stylesMap:_}=(0,o.WW)(e),T=-D/2,L=-k/2,U=e.label?8:0,O=u.A.svg(b),I=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(I.roughness=0,I.fillStyle="solid");const N=_.get("fill");I.stroke=null!==N&&void 0!==N?N:S;const M=O.path(B(T,L,D,k,5),I),Q=Math.max(D,w.width),P=k+w.height+U,j=O.rectangle(-Q/2,-P/2,Q,P,(0,n.A)((0,n.A)({},I),{},{fill:"transparent",stroke:"none"})),R=b.insert(()=>M,":first-child").attr("class","icon-shape2"),K=b.insert(()=>j);if(e.icon){var z;const t=b.append("g");t.html("".concat(await(0,a.WY)(e.icon,{height:y,width:y,fallbackPrefix:""}),""));const r=t.node().getBBox(),n=r.width,i=r.height,o=r.x,s=r.y;t.attr("transform","translate(".concat(-n/2-o,",").concat(F?w.height/2+U/2-i/2-s:-w.height/2-U/2-i/2-s,")")),t.attr("style","color: ".concat(null!==(z=_.get("stroke"))&&void 0!==z?z:E,";"))}return x.attr("transform","translate(".concat(-w.width/2-(w.x-(null!==(l=w.left)&&void 0!==l?l:0)),",").concat(F?-P/2:P/2-w.height,")")),R.attr("transform","translate(".concat(0,",",F?w.height/2+U/2:-w.height/2-U/2,")")),f(e,K),e.intersect=function(t){var r,n,i;if(A.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const o=null!==(r=e.x)&&void 0!==r?r:0,a=null!==(n=e.y)&&void 0!==n?n:0,s=null!==(i=e.height)&&void 0!==i?i:0;let l=[];l=F?[{x:o-w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2+w.height+U},{x:o+D/2,y:a-s/2+w.height+U},{x:o+D/2,y:a+s/2},{x:o-D/2,y:a+s/2},{x:o-D/2,y:a-s/2+w.height+U},{x:o-w.width/2,y:a-s/2+w.height+U}]:[{x:o-D/2,y:a-s/2},{x:o+D/2,y:a-s/2},{x:o+D/2,y:a-s/2+k},{x:o+w.width/2,y:a-s/2+k},{x:o+w.width/2/2,y:a+s/2},{x:o-w.width/2,y:a+s/2},{x:o-w.width/2,y:a-s/2+k},{x:o-D/2,y:a-s/2+k}];return H.polygon(e,l,t)},b}async function Ct(t,e,r){var i,s,l;let{config:{themeVariables:c,flowchart:d}}=r;const{labelStyles:p}=(0,o.GX)(e);e.labelStyle=p;const g=null!==(i=e.assetHeight)&&void 0!==i?i:48,m=null!==(s=e.assetWidth)&&void 0!==s?s:48,y=Math.max(g,m),v=null===d||void 0===d?void 0:d.wrappingWidth;e.width=Math.max(y,null!==v&&void 0!==v?v:0);const{shapeSvg:b,bbox:w,halfPadding:C,label:x}=await h(t,e,"icon-shape default"),F="t"===e.pos,k=y+2*C,D=y+2*C,{nodeBorder:E,mainBkg:S}=c,{stylesMap:_}=(0,o.WW)(e),T=-D/2,L=-k/2,U=e.label?8:0,O=u.A.svg(b),I=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(I.roughness=0,I.fillStyle="solid");const N=_.get("fill");I.stroke=null!==N&&void 0!==N?N:S;const M=O.path(B(T,L,D,k,.1),I),Q=Math.max(D,w.width),P=k+w.height+U,j=O.rectangle(-Q/2,-P/2,Q,P,(0,n.A)((0,n.A)({},I),{},{fill:"transparent",stroke:"none"})),R=b.insert(()=>M,":first-child"),K=b.insert(()=>j);if(e.icon){var z;const t=b.append("g");t.html("".concat(await(0,a.WY)(e.icon,{height:y,width:y,fallbackPrefix:""}),""));const r=t.node().getBBox(),n=r.width,i=r.height,o=r.x,s=r.y;t.attr("transform","translate(".concat(-n/2-o,",").concat(F?w.height/2+U/2-i/2-s:-w.height/2-U/2-i/2-s,")")),t.attr("style","color: ".concat(null!==(z=_.get("stroke"))&&void 0!==z?z:E,";"))}return x.attr("transform","translate(".concat(-w.width/2-(w.x-(null!==(l=w.left)&&void 0!==l?l:0)),",").concat(F?-P/2:P/2-w.height,")")),R.attr("transform","translate(".concat(0,",",F?w.height/2+U/2:-w.height/2-U/2,")")),f(e,K),e.intersect=function(t){var r,n,i;if(A.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const o=null!==(r=e.x)&&void 0!==r?r:0,a=null!==(n=e.y)&&void 0!==n?n:0,s=null!==(i=e.height)&&void 0!==i?i:0;let l=[];l=F?[{x:o-w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2},{x:o+w.width/2,y:a-s/2+w.height+U},{x:o+D/2,y:a-s/2+w.height+U},{x:o+D/2,y:a+s/2},{x:o-D/2,y:a+s/2},{x:o-D/2,y:a-s/2+w.height+U},{x:o-w.width/2,y:a-s/2+w.height+U}]:[{x:o-D/2,y:a-s/2},{x:o+D/2,y:a-s/2},{x:o+D/2,y:a-s/2+k},{x:o+w.width/2,y:a-s/2+k},{x:o+w.width/2/2,y:a+s/2},{x:o-w.width/2,y:a+s/2},{x:o-w.width/2,y:a-s/2+k},{x:o-D/2,y:a-s/2+k}];return H.polygon(e,l,t)},b}async function Bt(t,e,r){var i,a,s,l;let{config:{flowchart:c}}=r;const d=new Image;d.src=null!==(i=null===e||void 0===e?void 0:e.img)&&void 0!==i?i:"",await d.decode();const p=Number(d.naturalWidth.toString().replace("px","")),g=Number(d.naturalHeight.toString().replace("px",""));e.imageAspectRatio=p/g;const{labelStyles:m}=(0,o.GX)(e);e.labelStyle=m;const y=null===c||void 0===c?void 0:c.wrappingWidth;e.defaultWidth=null===c||void 0===c?void 0:c.wrappingWidth;const v=Math.max(e.label&&null!==y&&void 0!==y?y:0,null!==(a=null===e||void 0===e?void 0:e.assetWidth)&&void 0!==a?a:p),b="on"===e.constraint&&null!==e&&void 0!==e&&e.assetHeight?e.assetHeight*e.imageAspectRatio:v,w="on"===e.constraint?b/e.imageAspectRatio:null!==(s=null===e||void 0===e?void 0:e.assetHeight)&&void 0!==s?s:g;e.width=Math.max(b,null!==y&&void 0!==y?y:0);const{shapeSvg:C,bbox:B,label:x}=await h(t,e,"image-shape default"),F="t"===e.pos,k=-b/2,D=-w/2,E=e.label?8:0,S=u.A.svg(C),_=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");const T=S.rectangle(k,D,b,w,_),L=Math.max(b,B.width),U=w+B.height+E,O=S.rectangle(-L/2,-U/2,L,U,(0,n.A)((0,n.A)({},_),{},{fill:"none",stroke:"none"})),I=C.insert(()=>T,":first-child"),N=C.insert(()=>O);if(e.img){const t=C.append("image");t.attr("href",e.img),t.attr("width",b),t.attr("height",w),t.attr("preserveAspectRatio","none"),t.attr("transform","translate(".concat(-b/2,",").concat(F?U/2-w:-U/2,")"))}return x.attr("transform","translate(".concat(-B.width/2-(B.x-(null!==(l=B.left)&&void 0!==l?l:0)),",").concat(F?-w/2-B.height/2-E/2:w/2-B.height/2+E/2,")")),I.attr("transform","translate(".concat(0,",",F?B.height/2+E/2:-B.height/2-E/2,")")),f(e,N),e.intersect=function(t){var r,n,i;if(A.Rm.info("iconSquare intersect",e,t),!e.label)return H.rect(e,t);const o=null!==(r=e.x)&&void 0!==r?r:0,a=null!==(n=e.y)&&void 0!==n?n:0,s=null!==(i=e.height)&&void 0!==i?i:0;let l=[];l=F?[{x:o-B.width/2,y:a-s/2},{x:o+B.width/2,y:a-s/2},{x:o+B.width/2,y:a-s/2+B.height+E},{x:o+b/2,y:a-s/2+B.height+E},{x:o+b/2,y:a+s/2},{x:o-b/2,y:a+s/2},{x:o-b/2,y:a-s/2+B.height+E},{x:o-B.width/2,y:a-s/2+B.height+E}]:[{x:o-b/2,y:a-s/2},{x:o+b/2,y:a-s/2},{x:o+b/2,y:a-s/2+w},{x:o+B.width/2,y:a-s/2+w},{x:o+B.width/2/2,y:a+s/2},{x:o-B.width/2,y:a+s/2},{x:o-B.width/2,y:a-s/2+w},{x:o-b/2,y:a-s/2+w}];return H.polygon(e,l,t)},C}async function xt(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A=l,c="neo"===e.look?2*l:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=Math.max(m.width+2*(null!==c&&void 0!==c?c:0),null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:0),v=Math.max(m.height+2*(null!==A&&void 0!==A?A:0),null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:0),b=[{x:0,y:0},{x:y,y:0},{x:y+3*v/6,y:-v},{x:-3*v/6,y:-v}];let w;const{cssStyles:C}=e;if("handDrawn"===e.look){const t=u.A.svg(d),r=(0,o.Fr)(e,{}),n=g(b),i=t.path(n,r);w=d.insert(()=>i,":first-child").attr("transform","translate(".concat(-y/2,", ").concat(v/2,")")),C&&w.attr("style",C)}else w=V(d,y,v,b);return s&&w.attr("style",s),e.width=y,e.height=v,f(e,w),e.intersect=function(t){return H.polygon(e,b,t)},d}async function Ft(t,e,r){const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e);e.labelStyle=n;const{shapeSvg:a,bbox:l}=await h(t,e,p(e)),A=Math.max(l.width+2*r.labelPaddingX,(null===e||void 0===e?void 0:e.width)||0),c=Math.max(l.height+2*r.labelPaddingY,(null===e||void 0===e?void 0:e.height)||0),d=-A/2,g=-c/2;let m,{rx:y,ry:v}=e;const{cssStyles:b}=e;if(null!==r&&void 0!==r&&r.rx&&r.ry&&(y=r.rx,v=r.ry),"handDrawn"===e.look){const t=u.A.svg(a),r=(0,o.Fr)(e,{}),n=y||v?t.path(B(d,g,A,c,y||0),r):t.rectangle(d,g,A,c,r);m=a.insert(()=>n,":first-child"),m.attr("class","basic label-container").attr("style",(0,s.KL)(b))}else m=a.insert("rect",":first-child"),m.attr("class","basic label-container").attr("style",i).attr("rx",(0,s.KL)(y)).attr("ry",(0,s.KL)(v)).attr("x",d).attr("y",g).attr("width",A).attr("height",c);return f(e,m),e.calcIntersect=function(t,e){return H.rect(t,e)},e.intersect=function(t){return H.rect(e,t)},a}async function kt(t,e){var r,n;const{shapeSvg:i,bbox:o,label:a}=await h(t,e,"label"),s=i.insert("rect",":first-child");return s.attr("width",.1).attr("height",.1),i.attr("class","label edgeLabel"),a.attr("transform","translate(".concat(-o.width/2-(o.x-(null!==(r=o.left)&&void 0!==r?r:0)),", ").concat(-o.height/2-(o.y-(null!==(n=o.top)&&void 0!==n?n:0)),")")),f(e,s),e.intersect=function(t){return H.rect(e,t)},i}async function Dt(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A=l,c="neo"===e.look?2*l:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=(null!==(n=null===e||void 0===e?void 0:e.height)&&void 0!==n?n:m.height)+A,v=(null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:m.width)+c,b=[{x:0,y:0},{x:v+3*y/6,y:0},{x:v,y:-y},{x:-3*y/6,y:-y}];let w;const{cssStyles:C}=e;if("handDrawn"===e.look){const t=u.A.svg(d),r=(0,o.Fr)(e,{}),n=g(b),i=t.path(n,r);w=d.insert(()=>i,":first-child").attr("transform","translate(".concat(-v/2,", ").concat(y/2,")")),C&&w.attr("style",C)}else w=V(d,v,y,b);return s&&w.attr("style",s),e.width=v,e.height=y,f(e,w),e.intersect=function(t){return H.polygon(e,b,t)},d}async function Et(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A=l,c="neo"===e.look?2*l:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=(null!==(n=null===e||void 0===e?void 0:e.height)&&void 0!==n?n:m.height)+A,v=(null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:m.width)+c,b=[{x:-3*y/6,y:0},{x:v,y:0},{x:v+3*y/6,y:-y},{x:0,y:-y}];let w;const{cssStyles:C}=e;if("handDrawn"===e.look){const t=u.A.svg(d),r=(0,o.Fr)(e,{}),n=g(b),i=t.path(n,r);w=d.insert(()=>i,":first-child").attr("transform","translate(".concat(-v/2,", ").concat(y/2,")")),C&&w.attr("style",C)}else w=V(d,v,y,b);return s&&w.attr("style",s),e.width=v,e.height=y,f(e,w),e.intersect=function(t){return H.polygon(e,b,t)},d}function St(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.label="",e.labelStyle=a;const l=t.insert("g").attr("class",p(e)).attr("id",null!==(r=e.domId)&&void 0!==r?r:e.id),{cssStyles:c}=e,h=Math.max(35,null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:0),d=Math.max(35,null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:0),m=[{x:h,y:0},{x:0,y:d+3.5},{x:h-14,y:d+3.5},{x:0,y:2*d},{x:h,y:d-3.5},{x:14,y:d-3.5}],y=u.A.svg(l),v=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(v.roughness=0,v.fillStyle="solid");const b=g(m),w=y.path(b,v),C=l.insert(()=>w,":first-child");return C.attr("class","outer-path"),c&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",c),s&&"handDrawn"!==e.look&&C.selectAll("path").attr("style",s),C.attr("transform","translate(-".concat(h/2,",").concat(-d,")")),f(e,C),e.intersect=function(t){A.Rm.info("lightningBolt intersect",e,t);return H.polygon(e,m,t)},l}(0,A.K2)(mt,"hexagon"),(0,A.K2)(yt,"hourglass"),(0,A.K2)(vt,"icon"),(0,A.K2)(bt,"iconCircle"),(0,A.K2)(wt,"iconRounded"),(0,A.K2)(Ct,"iconSquare"),(0,A.K2)(Bt,"imageSquare"),(0,A.K2)(xt,"inv_trapezoid"),(0,A.K2)(Ft,"drawRect"),(0,A.K2)(kt,"labelRect"),(0,A.K2)(Dt,"lean_left"),(0,A.K2)(Et,"lean_right"),(0,A.K2)(St,"lightningBolt");var _t=(0,A.K2)((t,e,r,n,i,o,a)=>["M".concat(t,",").concat(e+o),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"a".concat(i,",").concat(o," 0,0,0 ").concat(-r,",0"),"l0,".concat(n),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"l0,".concat(-n),"M".concat(t,",").concat(e+o+a),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0")].join(" "),"createCylinderPathD"),Tt=(0,A.K2)((t,e,r,n,i,o,a)=>["M".concat(t,",").concat(e+o),"M".concat(t+r,",").concat(e+o),"a".concat(i,",").concat(o," 0,0,0 ").concat(-r,",0"),"l0,".concat(n),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0"),"l0,".concat(-n),"M".concat(t,",").concat(e+o+a),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0")].join(" "),"createOuterCylinderPathD"),Lt=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t-r/2,",").concat(-n/2),"a".concat(i,",").concat(o," 0,0,0 ").concat(r,",0")].join(" "),"createInnerCylinderPathD");async function Ut(t,e){var r,n,i;const{labelStyles:a,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=a;const A=null!==(r=e.padding)&&void 0!==r?r:0,c="neo"===e.look?16:A,d="neo"===e.look?24:A;if(e.width||e.height){var g,m,y;const t=null!==(g=e.width)&&void 0!==g?g:0;e.width=(null!==(m=e.width)&&void 0!==m?m:0)-c,e.width<10&&(e.width=10);const r=t/2/(2.5+t/50);e.height=(null!==(y=e.height)&&void 0!==y?y:0)-d-3*r,e.height<10&&(e.height=10)}const{shapeSvg:v,bbox:b,label:w}=await h(t,e,p(e)),C=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:b.width)+2*c,B=C/2,x=B/(2.5+C/50),F=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:b.height)+x+2*d,k=.1*F;let D;const{cssStyles:E}=e;if("handDrawn"===e.look){const t=u.A.svg(v),r=Tt(0,0,C,F,B,x,k),n=Lt(0,x,C,F,B,x),i=(0,o.Fr)(e,{}),a=t.path(r,i),s=t.path(n,i);v.insert(()=>s,":first-child").attr("class","line"),D=v.insert(()=>a,":first-child"),D.attr("class","basic label-container"),E&&D.attr("style",E)}else{const t=_t(0,0,C,F,B,x,k);D=v.insert("path",":first-child").attr("d",t).attr("class","basic label-container outer-path").attr("style",(0,s.KL)(E)).attr("style",l)}return D.attr("label-offset-y",x),D.attr("transform","translate(".concat(-C/2,", ").concat(-(F/2+x),")")),f(e,D),w.attr("transform","translate(".concat(-b.width/2-(b.x-(null!==(n=b.left)&&void 0!==n?n:0)),", ").concat(-b.height/2+x-(b.y-(null!==(i=b.top)&&void 0!==i?i:0)),")")),e.intersect=function(t){var r,n,i,o,a;const s=H.rect(e,t),l=s.x-(null!==(r=e.x)&&void 0!==r?r:0);if(0!=B&&(Math.abs(l)<(null!==(n=e.width)&&void 0!==n?n:0)/2||Math.abs(l)==(null!==(i=e.width)&&void 0!==i?i:0)/2&&Math.abs(s.y-(null!==(o=e.y)&&void 0!==o?o:0))>(null!==(a=e.height)&&void 0!==a?a:0)/2-x)){var A;let r=x*x*(1-l*l/(B*B));r>0&&(r=Math.sqrt(r)),r=x-r,t.y-(null!==(A=e.y)&&void 0!==A?A:0)>0&&(r=-r),s.y+=r}return s},v}async function Ot(t,e){var r,n,i,a,s;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?16:c,g="neo"===e.look?12:c;if(e.width||e.height){var y;const t=e.width;e.width=10*(null!==t&&void 0!==t?t:0)/11-2*d,e.width<10&&(e.width=10),e.height=(null!==(y=null===e||void 0===e?void 0:e.height)&&void 0!==y?y:0)-2*g,e.height<10&&(e.height=10)}const{shapeSvg:v,bbox:b,label:w}=await h(t,e,p(e)),C=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:b.width)+2*(null!==d&&void 0!==d?d:0),B=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:b.height)+2*(null!==g&&void 0!==g?g:0),x="neo"===e.look?B/4:B/8,F=B+x,{cssStyles:k}=e,D=u.A.svg(v),E=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(E.roughness=0,E.fillStyle="solid");const S=[{x:-C/2-C/2*.1,y:-F/2},{x:-C/2-C/2*.1,y:F/2},...m(-C/2-C/2*.1,F/2,C/2+C/2*.1,F/2,x,.8),{x:C/2+C/2*.1,y:-F/2},{x:-C/2-C/2*.1,y:-F/2},{x:-C/2,y:-F/2},{x:-C/2,y:F/2*1.1},{x:-C/2,y:-F/2}],_=D.polygon(S.map(t=>[t.x,t.y]),E),T=v.insert(()=>_,":first-child");return T.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",k),A&&"handDrawn"!==e.look&&T.selectAll("path").attr("style",A),T.attr("transform","translate(0,".concat(-x/2,")")),w.attr("transform","translate(".concat(-C/2+(null!==(n=e.padding)&&void 0!==n?n:0)+C/2*.1/2-(b.x-(null!==(i=b.left)&&void 0!==i?i:0)),",").concat(-B/2+(null!==(a=e.padding)&&void 0!==a?a:0)-x/2-(b.y-(null!==(s=b.top)&&void 0!==s?s:0)),")")),f(e,T),e.intersect=function(t){return H.polygon(e,S,t)},v}async function It(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A="neo"===e.look?16:l,c="neo"===e.look?12:l,d="neo"===e.look?10:5;var m,y;(e.width||e.height)&&(e.width=Math.max((null!==(m=null===e||void 0===e?void 0:e.width)&&void 0!==m?m:0)-2*A-2*d,10),e.height=Math.max((null!==(y=null===e||void 0===e?void 0:e.height)&&void 0!==y?y:0)-2*c-2*d,10));const{shapeSvg:b,bbox:w,label:C}=await h(t,e,p(e)),B=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:w.width)+2*A+2*d-2*d,x=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:w.height)+2*c+2*d-2*d,F=-B/2,k=-x/2,{cssStyles:D}=e,E=u.A.svg(b),S=(0,o.Fr)(e,{}),_=[{x:F-d,y:k+d},{x:F-d,y:k+x+d},{x:F+B-d,y:k+x+d},{x:F+B-d,y:k+x},{x:F+B,y:k+x},{x:F+B,y:k+x-d},{x:F+B+d,y:k+x-d},{x:F+B+d,y:k-d},{x:F+d,y:k-d},{x:F+d,y:k},{x:F,y:k},{x:F,y:k+d}],T=[{x:F,y:k+d},{x:F+B-d,y:k+d},{x:F+B-d,y:k+x},{x:F+B,y:k+x},{x:F+B,y:k},{x:F,y:k}];"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");const L=g(_);let U=E.path(L,S);const O=g(T);let I=E.path(O,S);"handDrawn"!==e.look&&(U=v(U),I=v(I));const N=b.insert("g",":first-child");return N.insert(()=>U),N.insert(()=>I),N.attr("class","basic label-container outer-path"),D&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",D),s&&"handDrawn"!==e.look&&N.selectAll("path").attr("style",s),C.attr("transform","translate(".concat(-w.width/2-d-(w.x-(null!==(n=w.left)&&void 0!==n?n:0)),", ").concat(-w.height/2+d-(w.y-(null!==(i=w.top)&&void 0!==i?i:0)),")")),f(e,N),e.intersect=function(t){return H.polygon(e,_,t)},b}async function Nt(t,e){var r,n,i,a,s;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const{shapeSvg:c,bbox:d,label:y}=await h(t,e,p(e)),v=null!==(r=e.padding)&&void 0!==r?r:0,b="neo"===e.look?16:v,w="neo"===e.look?12:v;let C=!0;var B,x;(e.width||e.height)&&(C=!1,e.width=(null!==(B=null===e||void 0===e?void 0:e.width)&&void 0!==B?B:0)-2*b,e.height=(null!==(x=null===e||void 0===e?void 0:e.height)&&void 0!==x?x:0)-3*w);const F=Math.max(d.width,null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:0)+2*b,k=Math.max(d.height,null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:0)+3*w,D="neo"===e.look?k/4:k/8,E=k+(C?D/2:-D/2),S=-F/2,_=-E/2,T=10,{cssStyles:L}=e,U=m(S-T,_+E+T,S+F-T,_+E+T,D,.8),O=null===U||void 0===U?void 0:U[U.length-1],I=[{x:S-T,y:_+T},{x:S-T,y:_+E+T},...U,{x:S+F-T,y:O.y-T},{x:S+F,y:O.y-T},{x:S+F,y:O.y-20},{x:S+F+T,y:O.y-20},{x:S+F+T,y:_-T},{x:S+T,y:_-T},{x:S+T,y:_},{x:S,y:_},{x:S,y:_+T}],N=[{x:S,y:_+T},{x:S+F-T,y:_+T},{x:S+F-T,y:O.y-T},{x:S+F,y:O.y-T},{x:S+F,y:_},{x:S,y:_}],M=u.A.svg(c),Q=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(Q.roughness=0,Q.fillStyle="solid");const P=g(I),j=M.path(P,Q),R=g(N),K=M.path(R,Q),z=c.insert(()=>j,":first-child");return z.insert(()=>K),z.attr("class","basic label-container outer-path"),L&&"handDrawn"!==e.look&&z.selectAll("path").attr("style",L),A&&"handDrawn"!==e.look&&z.selectAll("path").attr("style",A),z.attr("transform","translate(0,".concat(-D/2,")")),y.attr("transform","translate(".concat(-d.width/2-T-(d.x-(null!==(a=d.left)&&void 0!==a?a:0)),", ").concat(-d.height/2+T-D/2-(d.y-(null!==(s=d.top)&&void 0!==s?s:0)),")")),f(e,z),e.intersect=function(t){return H.polygon(e,I,t)},c}async function Mt(t,e,r){var n,i,a,s,A,c;let{config:{themeVariables:d}}=r;const{labelStyles:g,nodeStyles:m}=(0,o.GX)(e);e.labelStyle=g;e.useHtmlLabels||(0,l.E)((0,l.zj)())||(e.centerLabel=!0);const{shapeSvg:y,bbox:v,label:b}=await h(t,e,p(e)),w=Math.max(v.width+2*(null!==(n=e.padding)&&void 0!==n?n:0),null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:0),C=Math.max(v.height+2*(null!==(a=e.padding)&&void 0!==a?a:0),null!==(s=null===e||void 0===e?void 0:e.height)&&void 0!==s?s:0),B=-w/2,x=-C/2,{cssStyles:F}=e,k=u.A.svg(y),D=(0,o.Fr)(e,{fill:d.noteBkgColor,stroke:d.noteBorderColor});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");const E=k.rectangle(B,x,w,C,D),S=y.insert(()=>E,":first-child");return S.attr("class","basic label-container outer-path"),b.attr("class","label noteLabel"),F&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",F),m&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",m),b.attr("transform","translate(".concat(-v.width/2-(v.x-(null!==(A=v.left)&&void 0!==A?A:0)),", ").concat(-v.height/2-(v.y-(null!==(c=v.top)&&void 0!==c?c:0)),")")),f(e,S),e.intersect=function(t){return H.rect(e,t)},y}(0,A.K2)(Ut,"linedCylinder"),(0,A.K2)(Ot,"linedWaveEdgedRect"),(0,A.K2)(It,"multiRect"),(0,A.K2)(Nt,"multiWaveEdgedRectangle"),(0,A.K2)(Mt,"note");var Qt=(0,A.K2)((t,e,r)=>["M".concat(t+r/2,",").concat(e),"L".concat(t+r,",").concat(e-r/2),"L".concat(t+r/2,",").concat(e-r),"L".concat(t,",").concat(e-r/2),"Z"].join(" "),"createDecisionBoxPathD");async function Pt(t,e){var r,n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i;const{shapeSvg:s,bbox:l}=await h(t,e,p(e)),A=l.width+(null!==(r=e.padding)&&void 0!==r?r:0)+(l.height+(null!==(n=e.padding)&&void 0!==n?n:0)),c=[{x:A/2,y:0},{x:A,y:-A/2},{x:A/2,y:-A},{x:0,y:-A/2}];let d;const{cssStyles:g}=e;if("handDrawn"===e.look){const t=u.A.svg(s),r=(0,o.Fr)(e,{}),n=Qt(0,0,A),i=t.path(n,r);d=s.insert(()=>i,":first-child").attr("transform","translate(".concat(-A/2+.5,", ").concat(A/2,")")),g&&d.attr("style",g)}else d=V(s,A,A,c),d.attr("transform","translate(".concat(-A/2+.5,", ").concat(A/2,")"));return a&&d.attr("style",a),f(e,d),e.calcIntersect=function(t,e){const r=t.width,n=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],i=H.polygon(t,n,e);return{x:i.x-.5,y:i.y-.5}},e.intersect=function(t){return this.calcIntersect(e,t)},s}async function jt(t,e){var r,n,i,a,s;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?21:null!==c&&void 0!==c?c:0,m="neo"===e.look?12:null!==c&&void 0!==c?c:0,{shapeSvg:y,bbox:v,label:b}=await h(t,e,p(e)),w=-((null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:v.width)+("neo"===e.look?2*d:d))/2,C=-((null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:v.height)+("neo"===e.look?2*m:m))/2,B=C/2,x=[{x:w+B,y:C},{x:w,y:0},{x:w+B,y:-C},{x:-w,y:-C},{x:-w,y:C}],{cssStyles:F}=e,k=u.A.svg(y),D=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(D.roughness=0,D.fillStyle="solid");const E=g(x),S=k.path(E,D),_=y.insert(()=>S,":first-child");return _.attr("class","basic label-container outer-path"),F&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",F),A&&"handDrawn"!==e.look&&_.selectAll("path").attr("style",A),_.attr("transform","translate(".concat(-B/2,",0)")),b.attr("transform","translate(".concat(-B/2-v.width/2-(v.x-(null!==(a=v.left)&&void 0!==a?a:0)),", ").concat(-v.height/2-(v.y-(null!==(s=v.top)&&void 0!==s?s:0)),")")),f(e,_),e.intersect=function(t){return H.polygon(e,x,t)},y}async function Rt(t,e){const{labelStyles:r,nodeStyles:n}=(0,o.GX)(e);let i;e.labelStyle=r,i=e.cssClasses?"node "+e.cssClasses:"node default";const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=a.insert("g"),h=a.insert("g").attr("class","label").attr("style",n),d=e.description,p=e.label,g=await C(h,p,e.labelStyle,!0,!0);let m={width:0,height:0};if((0,l.E)((0,l.D7)())){const t=g.children[0],e=(0,c.Ltv)(g);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}A.Rm.info("Text 2",d);const y=d||[],v=g.getBBox(),b=await C(h,Array.isArray(y)?y.join("
"):y,e.labelStyle,!0,!0),w=b.children[0],x=(0,c.Ltv)(b);m=w.getBoundingClientRect(),x.attr("width",m.width),x.attr("height",m.height);const F=(e.padding||0)/2;(0,c.Ltv)(b).attr("transform","translate( "+(m.width>v.width?0:(v.width-m.width)/2)+", "+(v.height+F+5)+")"),(0,c.Ltv)(g).attr("transform","translate( "+(m.width(A.Rm.debug("Rough node insert CXC",n),i),":first-child"),_=a.insert(()=>(A.Rm.debug("Rough node insert CXC",n),n),":first-child")}else _=s.insert("rect",":first-child"),T=s.insert("line"),_.attr("class","outer title-state").attr("style",n).attr("x",-m.width/2-F).attr("y",-m.height/2-F).attr("width",m.width+(e.padding||0)).attr("height",m.height+(e.padding||0)),T.attr("class","divider").attr("x1",-m.width/2-F).attr("x2",m.width/2+F).attr("y1",-m.height/2-F+v.height+F).attr("y2",-m.height/2-F+v.height+F);return f(e,_),e.intersect=function(t){return H.rect(e,t)},a}async function Ht(t,e,r){var n,i,o;let{config:{themeVariables:a}}=r;const s=null!==(n=null===a||void 0===a?void 0:a.radius)&&void 0!==n?n:5;return Ft(t,e,{rx:s,ry:s,classes:"",labelPaddingX:1*(null!==(i=null===e||void 0===e?void 0:e.padding)&&void 0!==i?i:0),labelPaddingY:1*(null!==(o=null===e||void 0===e?void 0:e.padding)&&void 0!==o?o:0)})}(0,A.K2)(Pt,"question"),(0,A.K2)(jt,"rect_left_inv_arrow"),(0,A.K2)(Rt,"rectWithTitle"),(0,A.K2)(Ht,"roundedRect");async function Kt(t,e){var r,n,i,a,l,A;const{labelStyles:c,nodeStyles:d}=(0,o.GX)(e);e.labelStyle=c;const g="neo"===e.look?16:null!==(r=e.padding)&&void 0!==r?r:0,m="neo"===e.look?12:null!==(n=e.padding)&&void 0!==n?n:0,{shapeSvg:y,bbox:v,label:b}=await h(t,e,p(e)),w=(null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:v.width)+2*g+("neo"===e.look?8:16),C=(null!==(a=null===e||void 0===e?void 0:e.height)&&void 0!==a?a:v.height)+2*m,B=w-8,x=C,F=8-w/2,k=-C/2,{cssStyles:D}=e,E=u.A.svg(y),S=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");const _=[{x:F,y:k},{x:F+B,y:k},{x:F+B,y:k+x},{x:F-8,y:k+x},{x:F-8,y:k},{x:F,y:k},{x:F,y:k+x}],T=E.polygon(_.map(t=>[t.x,t.y]),S),L=y.insert(()=>T,":first-child");return L.attr("class","basic label-container outer-path").attr("style",(0,s.KL)(D)),d&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",d),D&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",d),b.attr("transform","translate(".concat(4-v.width/2-(v.x-(null!==(l=v.left)&&void 0!==l?l:0)),", ").concat(-v.height/2-(v.y-(null!==(A=v.top)&&void 0!==A?A:0)),")")),f(e,L),e.intersect=function(t){return H.rect(e,t)},y}async function zt(t,e){var r,n,i,a,s;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?16:c,m="neo"===e.look?12:c;var y,v;(e.width||e.height)&&(e.width=Math.max((null!==(y=null===e||void 0===e?void 0:e.width)&&void 0!==y?y:0)-2*d,10),e.height=Math.max((null!==(v=null===e||void 0===e?void 0:e.height)&&void 0!==v?v:0)/1.5-2*m,10));const{shapeSvg:b,bbox:w,label:C}=await h(t,e,p(e)),B=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:w.width)+2*d,x=1.5*((null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:w.height)+2*m)/1.5,F=-B/2,k=-x/2,{cssStyles:D}=e,E=u.A.svg(b),S=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(S.roughness=0,S.fillStyle="solid");const _=[{x:F,y:k},{x:F,y:k+x},{x:F+B,y:k+x},{x:F+B,y:k-x/2}],T=g(_),L=E.path(T,S),U=b.insert(()=>L,":first-child");return U.attr("class","basic label-container outer-path"),D&&"handDrawn"!==e.look&&U.selectChildren("path").attr("style",D),A&&"handDrawn"!==e.look&&U.selectChildren("path").attr("style",A),U.attr("transform","translate(0, ".concat(x/4,")")),C.attr("transform","translate(".concat(-B/2+(null!==(n=e.padding)&&void 0!==n?n:0)-(w.x-(null!==(i=w.left)&&void 0!==i?i:0)),", ").concat(-x/4+(null!==(a=e.padding)&&void 0!==a?a:0)-(w.y-(null!==(s=w.top)&&void 0!==s?s:0)),")")),f(e,U),e.intersect=function(t){return H.polygon(e,_,t)},b}async function qt(t,e){var r,n;const i=null!==(r=e.padding)&&void 0!==r?r:0,o="neo"===e.look?16:2*i,a="neo"===e.look?12:i;return Ft(t,e,{rx:0,ry:0,classes:"",labelPaddingX:null!==(n=e.labelPaddingX)&&void 0!==n?n:o,labelPaddingY:a})}async function Wt(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e);e.labelStyle=n;const a=null!==(r=e.padding)&&void 0!==r?r:0,s="neo"===e.look?20:a,l="neo"===e.look?12:a,{shapeSvg:A,bbox:c}=await h(t,e,p(e)),d=c.height+("neo"===e.look?2*l:l),m=c.width+d/4+("neo"===e.look?2*s:s),v=d/2,{cssStyles:b}=e,w=u.A.svg(A),C=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");const B=[{x:-m/2+v,y:-d/2},{x:m/2-v,y:-d/2},...y(-m/2+v,0,v,50,90,270),{x:m/2-v,y:d/2},...y(m/2-v,0,v,50,270,450)],x=g(B),F=w.path(x,C),k=A.insert(()=>F,":first-child");return k.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&k.selectChildren("path").attr("style",b),i&&"handDrawn"!==e.look&&k.selectChildren("path").attr("style",i),f(e,k),e.intersect=function(t){return H.polygon(e,B,t)},A}async function Vt(t,e){return Ft(t,e,{rx:"neo"===e.look?3:5,ry:"neo"===e.look?3:5,classes:"flowchart-node"})}function Gt(t,e,r){var i,a;let{config:{themeVariables:s}}=r;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const{cssStyles:c}=e,{lineColor:h,stateBorder:d,nodeBorder:p,nodeShadow:g}=s;var m,y;(e.width||e.height)&&((null!==(m=e.width)&&void 0!==m?m:0)<14&&(e.width=14),(null!==(y=e.height)&&void 0!==y?y:0)<14&&(e.height=14));e.width||(e.width=14),e.height||(e.height=14);const v=t.insert("g").attr("class","node default").attr("id",null!==(i=e.domId)&&void 0!==i?i:e.id),b=u.A.svg(v),w=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(w.roughness=0,w.fillStyle="solid");const C=b.circle(0,0,e.width,(0,n.A)((0,n.A)({},w),{},{stroke:h,strokeWidth:2})),B=null!==d&&void 0!==d?d:p,x=5*(null!==(a=e.width)&&void 0!==a?a:0)/14,F=b.circle(0,0,x,(0,n.A)((0,n.A)({},w),{},{fill:B,stroke:B,strokeWidth:2,fillStyle:"solid"})),k=v.insert(()=>C,":first-child");if(k.insert(()=>F),"handDrawn"!==e.look&&k.attr("class","outer-path"),c&&k.selectAll("path").attr("style",c),A&&k.selectAll("path").attr("style",A),e.width<25&&g&&"handDrawn"!==e.look){var D,E;const e=null!==(D=null===(E=t.node())||void 0===E||null===(E=E.ownerSVGElement)||void 0===E?void 0:E.id)&&void 0!==D?D:"",r=e?"".concat(e,"-drop-shadow-small"):"drop-shadow-small";k.attr("style","filter:url(#".concat(r,")"))}return f(e,k),e.intersect=function(t){var r;return H.circle(e,(null!==(r=e.width)&&void 0!==r?r:0)/2,t)},v}function Xt(t,e,r){let{config:{themeVariables:n}}=r;const{lineColor:i,nodeShadow:a}=n;var s,l;(e.width||e.height)&&((null!==(s=e.width)&&void 0!==s?s:0)<14&&(e.width=14),(null!==(l=e.height)&&void 0!==l?l:0)<14&&(e.height=14));e.width||(e.width=14),e.height||(e.height=14);const A=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let c;if("handDrawn"===e.look){var h,d,p;const t=u.A.svg(A).circle(0,0,e.width,(0,o.ue)(i));c=A.insert(()=>t),c.attr("class","state-start").attr("r",(null!==(h=e.width)&&void 0!==h?h:7)/2).attr("width",null!==(d=e.width)&&void 0!==d?d:14).attr("height",null!==(p=e.height)&&void 0!==p?p:14)}else{var g,m,y;c=A.insert("circle",":first-child"),c.attr("class","state-start").attr("r",(null!==(g=e.width)&&void 0!==g?g:7)/2).attr("width",null!==(m=e.width)&&void 0!==m?m:14).attr("height",null!==(y=e.height)&&void 0!==y?y:14)}if(e.width<25&&a&&"handDrawn"!==e.look){var v,b;const e=null!==(v=null===(b=t.node())||void 0===b||null===(b=b.ownerSVGElement)||void 0===b?void 0:b.id)&&void 0!==v?v:"",r=e?"".concat(e,"-drop-shadow-small"):"drop-shadow-small";c.attr("style","filter:url(#".concat(r,")"))}return f(e,c),e.intersect=function(t){var r;return H.circle(e,(null!==(r=e.width)&&void 0!==r?r:7)/2,t)},A}(0,A.K2)(Kt,"shadedProcess"),(0,A.K2)(zt,"slopedRect"),(0,A.K2)(qt,"squareRect"),(0,A.K2)(Wt,"stadium"),(0,A.K2)(Vt,"state"),(0,A.K2)(Gt,"stateEnd"),(0,A.K2)(Xt,"stateStart");async function Yt(t,e){var r,n,i;const{labelStyles:a,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=a;const A=null!==(r=null===e||void 0===e?void 0:e.padding)&&void 0!==r?r:8,c="neo"===e.look?28:A,d="neo"===e.look?12:A,{shapeSvg:g,bbox:m}=await h(t,e,p(e)),y=(null!==(n=null===e||void 0===e?void 0:e.width)&&void 0!==n?n:m.width)+16+c,v=(null!==(i=null===e||void 0===e?void 0:e.height)&&void 0!==i?i:m.height)+d,b=y-16,w=v,C=-y/2,B=-v/2,x=[{x:0,y:0},{x:b,y:0},{x:b,y:-w},{x:0,y:-w},{x:0,y:0},{x:-8,y:0},{x:b+8,y:0},{x:b+8,y:-w},{x:-8,y:-w},{x:-8,y:0}];if("handDrawn"===e.look){const t=u.A.svg(g),r=(0,o.Fr)(e,{}),n=t.rectangle(C,B,b+16,w,r),i=t.line(C+8,B,C+8,B+w,r),a=t.line(C+8+b,B,C+8+b,B+w,r);g.insert(()=>i,":first-child"),g.insert(()=>a,":first-child");const l=g.insert(()=>n,":first-child"),{cssStyles:A}=e;l.attr("class","basic label-container").attr("style",(0,s.KL)(A)),f(e,l)}else{const t=V(g,b,w,x);l&&t.attr("style",l),f(e,t)}return e.intersect=function(t){return H.polygon(e,x,t)},g}(0,A.K2)(Yt,"subroutine");async function Jt(t,e){var r;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i;const s=null!==(r=e.padding)&&void 0!==r?r:0,l="neo"===e.look?16:s,A="neo"===e.look?12:s;var c,d;(e.width||e.height)&&(e.height=Math.max((null!==(c=null===e||void 0===e?void 0:e.height)&&void 0!==c?c:0)-2*A,10),e.width=Math.max((null!==(d=null===e||void 0===e?void 0:e.width)&&void 0!==d?d:0)-2*l-.2*(e.height+2*A),10));const{shapeSvg:m,bbox:y}=await h(t,e,p(e)),v=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:y.height)+2*A,b=.2*v,w=.2*v,C=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:y.width)+2*l+b-b,B=v,x=-C/2,F=-B/2,{cssStyles:k}=e,D=u.A.svg(m),E=(0,o.Fr)(e,{}),S=[{x:x-b/2,y:F},{x:x+C+b/2,y:F},{x:x+C+b/2,y:F+B},{x:x-b/2,y:F+B}],_=[{x:x+C-b/2,y:F+B},{x:x+C+b/2,y:F+B},{x:x+C+b/2,y:F+B-w}];"handDrawn"!==e.look&&(E.roughness=0,E.fillStyle="solid");const T=g(S),L=D.path(T,E),U=g(_),O=D.path(U,(0,n.A)((0,n.A)({},E),{},{fillStyle:"solid"})),I=m.insert(()=>O,":first-child");return I.insert(()=>L,":first-child"),I.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&I.selectAll("path").attr("style",k),a&&"handDrawn"!==e.look&&I.selectAll("path").attr("style",a),f(e,I),e.intersect=function(t){return H.polygon(e,S,t)},m}async function Zt(t,e){var r,i,a,s,l,A,c,d;const{labelStyles:y,nodeStyles:v}=(0,o.GX)(e);e.labelStyle=y;const{shapeSvg:b,bbox:w,label:C}=await h(t,e,p(e)),B=Math.max(w.width+2*(null!==(r=e.padding)&&void 0!==r?r:0),null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:0),x=Math.max(w.height+2*(null!==(a=e.padding)&&void 0!==a?a:0),null!==(s=null===e||void 0===e?void 0:e.height)&&void 0!==s?s:0),F=x/8,k=.2*B,D=.2*x,E=x+F,{cssStyles:S}=e,_=u.A.svg(b),T=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(T.roughness=0,T.fillStyle="solid");const L=[{x:-B/2-B/2*.1,y:E/2},...m(-B/2-B/2*.1,E/2,B/2+B/2*.1,E/2,F,.8),{x:B/2+B/2*.1,y:-E/2},{x:-B/2-B/2*.1,y:-E/2}],U=-B/2+B/2*.1,O=-E/2-.4*D,I=[{x:U+B-k,y:1.3*(O+x)},{x:U+B,y:O+x-D},{x:U+B,y:.9*(O+x)},...m(U+B,1.25*(O+x),U+B-k,1.3*(O+x),.02*-x,.5)],N=g(L),M=_.path(N,T),Q=g(I),P=_.path(Q,(0,n.A)((0,n.A)({},T),{},{fillStyle:"solid"})),j=b.insert(()=>P,":first-child");return j.insert(()=>M,":first-child"),j.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&j.selectAll("path").attr("style",S),v&&"handDrawn"!==e.look&&j.selectAll("path").attr("style",v),j.attr("transform","translate(0,".concat(-F/2,")")),C.attr("transform","translate(".concat(-B/2+(null!==(l=e.padding)&&void 0!==l?l:0)-(w.x-(null!==(A=w.left)&&void 0!==A?A:0)),",").concat(-x/2+(null!==(c=e.padding)&&void 0!==c?c:0)-F/2-(w.y-(null!==(d=w.top)&&void 0!==d?d:0)),")")),f(e,j),e.intersect=function(t){return H.polygon(e,L,t)},b}async function $t(t,e){var r,n;const{labelStyles:i,nodeStyles:a}=(0,o.GX)(e);e.labelStyle=i;const{shapeSvg:s,bbox:l}=await h(t,e,p(e)),A=Math.max(l.width+(null!==(r=e.padding)&&void 0!==r?r:0),(null===e||void 0===e?void 0:e.width)||0),c=Math.max(l.height+(null!==(n=e.padding)&&void 0!==n?n:0),(null===e||void 0===e?void 0:e.height)||0),u=-A/2,d=-c/2,g=s.insert("rect",":first-child");return g.attr("class","text").attr("style",a).attr("rx",0).attr("ry",0).attr("x",u).attr("y",d).attr("width",A).attr("height",c),f(e,g),e.intersect=function(t){return H.rect(e,t)},s}(0,A.K2)(Jt,"taggedRect"),(0,A.K2)(Zt,"taggedWaveEdgedRectangle"),(0,A.K2)($t,"text");var te=(0,A.K2)((t,e,r,n,i,o)=>"M".concat(t,",").concat(e,"\n a").concat(i,",").concat(o," 0,0,1 ",0,",").concat(-n,"\n l").concat(r,",",0,"\n a").concat(i,",").concat(o," 0,0,1 ",0,",").concat(n,"\n M").concat(r,",").concat(-n,"\n a").concat(i,",").concat(o," 0,0,0 ",0,",").concat(n,"\n l").concat(-r,",",0),"createCylinderPathD"),ee=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t,",").concat(e),"M".concat(t+r,",").concat(e),"a".concat(i,",").concat(o," 0,0,0 ",0,",").concat(-n),"l".concat(-r,",0"),"a".concat(i,",").concat(o," 0,0,0 ",0,",").concat(n),"l".concat(r,",0")].join(" "),"createOuterCylinderPathD"),re=(0,A.K2)((t,e,r,n,i,o)=>["M".concat(t+r/2,",").concat(-n/2),"a".concat(i,",").concat(o," 0,0,0 0,").concat(n)].join(" "),"createInnerCylinderPathD");async function ne(t,e){var r,n,i;const{labelStyles:a,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=a;const A=null!==(r=e.padding)&&void 0!==r?r:0,c="neo"===e.look?12:A/2;if(e.width||e.height){var d,g,m;const t=null!==(d=e.height)&&void 0!==d?d:0;e.height=(null!==(g=e.height)&&void 0!==g?g:0)-c,e.height<5&&(e.height=5);const r=t/2/(2.5+t/50);e.width=(null!==(m=e.width)&&void 0!==m?m:0)-c-3*r,e.width<10&&(e.width=10)}const{shapeSvg:y,bbox:v,label:b}=await h(t,e,p(e)),w=(e.height?e.height:v.height)+c,C=w/2,B=C/(2.5+w/50),x=(e.width?e.width:v.width)+B+c,{cssStyles:F}=e;let k;if("handDrawn"===e.look){const t=u.A.svg(y),r=ee(0,0,x,w,B,C),n=re(0,0,x,w,B,C),i=t.path(r,(0,o.Fr)(e,{})),a=t.path(n,(0,o.Fr)(e,{fill:"none"}));k=y.insert(()=>a,":first-child"),k=y.insert(()=>i,":first-child"),k.attr("class","basic label-container"),F&&k.attr("style",F)}else{const t=te(0,0,x,w,B,C);k=y.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,s.KL)(F)).attr("style",l),k.attr("class","basic label-container outer-path"),F&&k.selectAll("path").attr("style",F),l&&k.selectAll("path").attr("style",l)}return k.attr("label-offset-x",B),k.attr("transform","translate(".concat(-x/2,", ").concat(w/2," )")),b.attr("transform","translate(".concat(-v.width/2-B-(v.x-(null!==(n=v.left)&&void 0!==n?n:0)),", ").concat(-v.height/2-(v.y-(null!==(i=v.top)&&void 0!==i?i:0)),")")),f(e,k),e.intersect=function(t){var r,n,i,o,a;const s=H.rect(e,t),l=s.y-(null!==(r=e.y)&&void 0!==r?r:0);if(0!=C&&(Math.abs(l)<(null!==(n=e.height)&&void 0!==n?n:0)/2||Math.abs(l)==(null!==(i=e.height)&&void 0!==i?i:0)/2&&Math.abs(s.x-(null!==(o=e.x)&&void 0!==o?o:0))>(null!==(a=e.width)&&void 0!==a?a:0)/2-B)){var A;let r=B*B*(1-l*l/(C*C));0!=r&&(r=Math.sqrt(Math.abs(r))),r=B-r,t.x-(null!==(A=e.x)&&void 0!==A?A:0)>0&&(r=-r),s.x+=r}return s},y}async function ie(t,e){var r,n,i;const{labelStyles:a,nodeStyles:s}=(0,o.GX)(e);e.labelStyle=a;const l=null!==(r=e.padding)&&void 0!==r?r:0,A=(e.look,l),c="neo"===e.look?2*l:l,{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=(null!==(n=null===e||void 0===e?void 0:e.height)&&void 0!==n?n:m.height)+A,v=(null!==(i=null===e||void 0===e?void 0:e.width)&&void 0!==i?i:m.width)+c,b=[{x:-3*y/6,y:0},{x:v+3*y/6,y:0},{x:v,y:-y},{x:0,y:-y}];let w;const{cssStyles:C}=e;if("handDrawn"===e.look){const t=u.A.svg(d),r=(0,o.Fr)(e,{}),n=g(b),i=t.path(n,r);w=d.insert(()=>i,":first-child").attr("transform","translate(".concat(-v/2,", ").concat(y/2,")")),C&&w.attr("style",C)}else w=V(d,v,y,b);return s&&w.attr("style",s),e.width=v,e.height=y,f(e,w),e.intersect=function(t){return H.polygon(e,b,t)},d}async function oe(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e);e.labelStyle=n;const a=null!==(r=e.padding)&&void 0!==r?r:0,s="neo"===e.look?16:a,l="neo"===e.look?12:a;var A,c;(e.width||e.height)&&(e.height=(null!==(A=e.height)&&void 0!==A?A:0)-2*l,e.height<5&&(e.height=5),e.width=(null!==(c=e.width)&&void 0!==c?c:0)-2*s,e.width<15&&(e.width=15));const{shapeSvg:d,bbox:m}=await h(t,e,p(e)),y=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:m.width)+2*s,v=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:m.height)+2*l,{cssStyles:b}=e,w=u.A.svg(d),C=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(C.roughness=0,C.fillStyle="solid");const B=[{x:-y/2*.8,y:-v/2},{x:y/2*.8,y:-v/2},{x:y/2,y:-v/2*.6},{x:y/2,y:v/2},{x:-y/2,y:v/2},{x:-y/2,y:-v/2*.6}],x=g(B),F=w.path(x,C),k=d.insert(()=>F,":first-child");return k.attr("class","basic label-container outer-path"),b&&"handDrawn"!==e.look&&k.selectChildren("path").attr("style",b),i&&"handDrawn"!==e.look&&k.selectChildren("path").attr("style",i),f(e,k),e.intersect=function(t){return H.polygon(e,B,t)},d}(0,A.K2)(ne,"tiltedCylinder"),(0,A.K2)(ie,"trapezoid"),(0,A.K2)(oe,"trapezoidalPentagon");async function ae(t,e){var r,n,i,a,s;const{labelStyles:c,nodeStyles:d}=(0,o.GX)(e);e.labelStyle=c;const m=null!==(r=e.padding)&&void 0!==r?r:0,y="neo"===e.look?2*m:m;var v,b;(e.width||e.height)&&(e.width=((null!==(v=null===e||void 0===e?void 0:e.width)&&void 0!==v?v:0)-y)/2,e.width<10&&(e.width=10),e.height=null!==(b=null===e||void 0===e?void 0:e.height)&&void 0!==b?b:0,e.height<10&&(e.height=10));const{shapeSvg:w,bbox:C,label:B}=await h(t,e,p(e)),x=(0,l._3)(null===(n=(0,l.D7)().flowchart)||void 0===n?void 0:n.htmlLabels),F=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:C.width)+y,k=null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:F+C.height,D=[{x:0,y:0},{x:k,y:0},{x:k/2,y:-k}],{cssStyles:E}=e,S=u.A.svg(w),_=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(_.roughness=0,_.fillStyle="solid");const T=g(D),L=S.path(T,_),U=w.insert(()=>L,":first-child").attr("transform","translate(".concat(-k/2,", ").concat(k/2,")")).attr("class","outer-path");return E&&"handDrawn"!==e.look&&U.selectChildren("path").attr("style",E),d&&"handDrawn"!==e.look&&U.selectChildren("path").attr("style",d),e.width=F,e.height=k,f(e,U),B.attr("transform","translate(".concat(-C.width/2-(C.x-(null!==(i=C.left)&&void 0!==i?i:0)),", ").concat(k/2-(C.height+(null!==(a=e.padding)&&void 0!==a?a:0)/(x?2:1)-(C.y-(null!==(s=C.top)&&void 0!==s?s:0))),")")),e.intersect=function(t){return A.Rm.info("Triangle intersect",e,D,t),H.polygon(e,D,t)},w}async function se(t,e){var r,n,i,a,s;const{labelStyles:l,nodeStyles:A}=(0,o.GX)(e);e.labelStyle=l;const c=null!==(r=e.padding)&&void 0!==r?r:0,d="neo"===e.look?16:c,y="neo"===e.look?12:c;let v=!0;var b,w;(e.width||e.height)&&(v=!1,e.width=(null!==(b=null===e||void 0===e?void 0:e.width)&&void 0!==b?b:0)-2*d,e.width<10&&(e.width=10),e.height=(null!==(w=null===e||void 0===e?void 0:e.height)&&void 0!==w?w:0)-2*y,e.height<10&&(e.height=10));const{shapeSvg:C,bbox:B,label:x}=await h(t,e,p(e)),F=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:B.width)+2*(null!==d&&void 0!==d?d:0),k=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:B.height)+2*(null!==y&&void 0!==y?y:0),D="neo"===e.look?k/4:k/8,E=k+(v?D:-D),{cssStyles:S}=e,_=14-F,T=_>0?_/2:0,L=u.A.svg(C),U=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(U.roughness=0,U.fillStyle="solid");const O=[{x:-F/2-T,y:E/2},...m(-F/2-T,E/2,F/2+T,E/2,D,.8),{x:F/2+T,y:-E/2},{x:-F/2-T,y:-E/2}],I=g(O),N=L.path(I,U),M=C.insert(()=>N,":first-child");return M.attr("class","basic label-container outer-path"),S&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",S),A&&"handDrawn"!==e.look&&M.selectAll("path").attr("style",A),M.attr("transform","translate(0,".concat(-D/2,")")),x.attr("transform","translate(".concat(-F/2+(null!==(n=e.padding)&&void 0!==n?n:0)-(B.x-(null!==(i=B.left)&&void 0!==i?i:0)),",").concat(-k/2+(null!==(a=e.padding)&&void 0!==a?a:0)-D-(B.y-(null!==(s=B.top)&&void 0!==s?s:0)),")")),f(e,M),e.intersect=function(t){return H.polygon(e,O,t)},C}async function le(t,e){var r;const{labelStyles:n,nodeStyles:i}=(0,o.GX)(e);e.labelStyle=n;const a=null!==(r=e.padding)&&void 0!==r?r:0,s="neo"===e.look?16:a,l="neo"===e.look?20:a;if(e.width||e.height){var A,c;e.width=null!==(A=null===e||void 0===e?void 0:e.width)&&void 0!==A?A:0,e.width<20&&(e.width=20),e.height=null!==(c=null===e||void 0===e?void 0:e.height)&&void 0!==c?c:0,e.height<10&&(e.height=10);const t=Math.min(.2*e.height,e.height/4);e.height=Math.ceil(e.height-l-t*(20/9)),e.width=e.width-2*s}const{shapeSvg:d,bbox:y}=await h(t,e,p(e)),v=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:y.width)+2*s,b=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:y.height)+l,w=b/8,C=b+2*w,{cssStyles:B}=e,x=u.A.svg(d),F=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(F.roughness=0,F.fillStyle="solid");const k=[{x:-v/2,y:C/2},...m(-v/2,C/2,v/2,C/2,w,1),{x:v/2,y:-C/2},...m(v/2,-C/2,-v/2,-C/2,w,-1)],D=g(k),E=x.path(D,F),S=d.insert(()=>E,":first-child");return S.attr("class","basic label-container"),B&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",B),i&&"handDrawn"!==e.look&&S.selectAll("path").attr("style",i),f(e,S),e.intersect=function(t){return H.polygon(e,k,t)},d}(0,A.K2)(ae,"triangle"),(0,A.K2)(se,"waveEdgedRectangle"),(0,A.K2)(le,"waveRectangle");var Ae=10;async function ce(t,e){var r,n,i,a;const{labelStyles:s,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=s;const A="neo"===e.look?16:null!==(r=e.padding)&&void 0!==r?r:0,c="neo"===e.look?12:null!==(n=e.padding)&&void 0!==n?n:0;var d,g;(e.width||e.height)&&(e.width=Math.max((null!==(d=null===e||void 0===e?void 0:e.width)&&void 0!==d?d:0)-2*A-Ae,10),e.height=Math.max((null!==(g=null===e||void 0===e?void 0:e.height)&&void 0!==g?g:0)-2*c-Ae,10));const{shapeSvg:m,bbox:y,label:v}=await h(t,e,p(e)),b=(null!==e&&void 0!==e&&e.width?null===e||void 0===e?void 0:e.width:y.width)+2*A+Ae,w=(null!==e&&void 0!==e&&e.height?null===e||void 0===e?void 0:e.height:y.height)+2*c+Ae,C=b-Ae,B=w-Ae,x=-C/2,F=-B/2,{cssStyles:k}=e,D=u.A.svg(m),E=(0,o.Fr)(e,{}),S=[{x:x-Ae,y:F-Ae},{x:x-Ae,y:F+B},{x:x+C,y:F+B},{x:x+C,y:F-Ae}],_="M".concat(x-Ae,",").concat(F-Ae," L").concat(x+C,",").concat(F-Ae," L").concat(x+C,",").concat(F+B," L").concat(x-Ae,",").concat(F+B," L").concat(x-Ae,",").concat(F-Ae,"\n M").concat(x-Ae,",").concat(F," L").concat(x+C,",").concat(F,"\n M").concat(x,",").concat(F-Ae," L").concat(x,",").concat(F+B);"handDrawn"!==e.look&&(E.roughness=0,E.fillStyle="solid");const T=D.path(_,E),L=m.insert(()=>T,":first-child");return L.attr("transform","translate(".concat(5,", ").concat(5,")")),L.attr("class","basic label-container outer-path"),k&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",k),l&&"handDrawn"!==e.look&&L.selectAll("path").attr("style",l),v.attr("transform","translate(".concat(-y.width/2+5-(y.x-(null!==(i=y.left)&&void 0!==i?i:0)),", ").concat(-y.height/2+5-(y.y-(null!==(a=y.top)&&void 0!==a?a:0)),")")),f(e,L),e.intersect=function(t){return H.polygon(e,S,t)},m}(0,A.K2)(ce,"windowPane");var ue=new Set(["redux-color","redux-dark-color"]),he=new Set(["redux","redux-dark","redux-color","redux-dark-color"]);async function de(t,e){var r,i,a,A,h;const d=e;d.alias&&(e.label=d.alias);const{theme:g,themeVariables:m}=(0,l.zj)(),{rowEven:y,rowOdd:v,nodeBorder:b,borderColorArray:w}=m;if("handDrawn"===e.look){const{themeVariables:r}=(0,l.zj)(),{background:i}=r,o=(0,n.A)((0,n.A)({},e),{},{id:e.id+"-background",domId:(e.domId||e.id)+"-background",look:"default",cssStyles:["stroke: none","fill: ".concat(i)]});await de(t,o)}const C=(0,l.zj)();e.useHtmlLabels=C.htmlLabels;let B=null!==(r=null===(i=C.er)||void 0===i?void 0:i.diagramPadding)&&void 0!==r?r:10,x=null!==(a=null===(A=C.er)||void 0===A?void 0:A.entityPadding)&&void 0!==a?a:6;const{cssStyles:F}=e,{labelStyles:k,nodeStyles:D}=(0,o.GX)(e);if(0===d.attributes.length&&e.label){const r={rx:0,ry:0,labelPaddingX:B,labelPaddingY:1.5*B,classes:""};(0,s.Un)(e.label,C)+2*r.labelPaddingX0){const t=L.width+2*B-(N+M+Q+P);N+=t/K,M+=t/K,Q>0&&(Q+=t/K),P>0&&(P+=t/K)}const q=N+M+Q+P,W=u.A.svg(T),V=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(V.roughness=0,V.fillStyle="solid");let G=0;I.length>0&&(G=I.reduce((t,e)=>{var r;return t+(null!==(r=null===e||void 0===e?void 0:e.rowHeight)&&void 0!==r?r:0)},0));const X=Math.max(z.width+2*B,(null===e||void 0===e?void 0:e.width)||0,q),Y=Math.max((null!==G&&void 0!==G?G:0)+L.height,(null===e||void 0===e?void 0:e.height)||0),J=-X/2,Z=-Y/2;if(T.selectAll("g:not(:first-child)").each((t,e,r)=>{const n=(0,c.Ltv)(r[e]),i=n.attr("transform");let o=0,a=0;if(i){const t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(o=parseFloat(t[1]),a=parseFloat(t[2]),n.attr("class").includes("attribute-name")?o+=N:n.attr("class").includes("attribute-keys")?o+=N+M:n.attr("class").includes("attribute-comment")&&(o+=N+M+Q))}n.attr("transform","translate(".concat(J+B/2+o,", ").concat(a+Z+L.height+x/2,")"))}),T.select(".name").attr("transform","translate("+-L.width/2+", "+(Z+x/2)+")"),null!=g&&ue.has(g)){var $;const t=null!==($=d.colorIndex)&&void 0!==$?$:0;T.attr("data-color-id","color-".concat(t%w.length))}const tt=W.rectangle(J,Z,X,Y,V),et=T.insert(()=>tt,":first-child").attr("class","outer-path").attr("style",F.join(""));O.push(0);for(const[o,s]of I.entries()){const t=(o+1)%2===0&&0!==s.yOffset,e=W.rectangle(J,L.height+Z+(null===s||void 0===s?void 0:s.yOffset),X,null===s||void 0===s?void 0:s.rowHeight,(0,n.A)((0,n.A)({},V),{},{fill:t?y:v,stroke:b}));T.insert(()=>e,"g.label").attr("style",F.join("")).attr("class","row-rect-".concat(t?"even":"odd"))}const rt=1e-4;let nt=pe(J,L.height+Z,X+J,L.height+Z,rt),it=W.polygon(nt.map(t=>[t.x,t.y]),V);if(T.insert(()=>it).attr("class","divider"),nt=pe(N+J,L.height+Z,N+J,Y+Z,rt),it=W.polygon(nt.map(t=>[t.x,t.y]),V),T.insert(()=>it).attr("class","divider"),j){const t=N+M+J;nt=pe(t,L.height+Z,t,Y+Z,rt),it=W.polygon(nt.map(t=>[t.x,t.y]),V),T.insert(()=>it).attr("class","divider")}if(R){const t=N+M+Q+J;nt=pe(t,L.height+Z,t,Y+Z,rt),it=W.polygon(nt.map(t=>[t.x,t.y]),V),T.insert(()=>it).attr("class","divider")}for(const n of O){const t=L.height+Z+n;nt=pe(J,t,X+J,t,rt),it=W.polygon(nt.map(t=>[t.x,t.y]),V),T.insert(()=>it).attr("class","divider")}if(f(e,et),D&&"handDrawn"!==e.look)if(null!=g&&he.has(g))T.selectAll("path").attr("style",D);else{var ot;const t=D.split(";"),e=null===t||void 0===t||null===(ot=t.filter(t=>t.includes("stroke")))||void 0===ot?void 0:ot.map(t=>"".concat(t)).join("; ");T.selectAll("path").attr("style",null!==e&&void 0!==e?e:""),T.selectAll(".row-rect-even path").attr("style",D)}return e.intersect=function(t){return H.rect(e,t)},T}async function fe(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],A=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";const u=t.insert("g").attr("class","label ".concat(o.join(" "))).attr("transform","translate(".concat(n,", ").concat(i,")")).attr("style",A);e!==(0,l.QO)(e)&&(e=(e=(0,l.QO)(e)).replaceAll("<","<").replaceAll(">",">"));const h=u.node().appendChild(await(0,a.GZ)(u,e,{width:(0,s.Un)(e,r)+100,style:A,useHtmlLabels:r.htmlLabels},r));if(e.includes("<")||e.includes(">")){let t=h.children[0];for(t.textContent=t.textContent.replaceAll("<","<").replaceAll(">",">");t.childNodes[0];)t=t.childNodes[0],t.textContent=t.textContent.replaceAll("<","<").replaceAll(">",">")}let d=h.getBBox();if((0,l._3)(r.htmlLabels)){const t=h.children[0];t.style.textAlign="start";const e=(0,c.Ltv)(h);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}return d}function pe(t,e,r,n,i){return t===r?[{x:t-i/2,y:e},{x:t+i/2,y:e},{x:r+i/2,y:n},{x:r-i/2,y:n}]:[{x:t,y:e-i/2},{x:t,y:e+i/2},{x:r,y:n+i/2},{x:r,y:n-i/2}]}async function ge(t,e,r,n){var i;let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null!==(i=r.class.padding)&&void 0!==i?i:12;const a=n?0:3,s=t.insert("g").attr("class",p(e)).attr("id",e.domId||e.id);let l=null,A=null,c=null,u=null,h=0,d=0,f=0;if(l=s.insert("g").attr("class","annotation-group text"),e.annotations.length>0){const t=e.annotations[0];await me(l,{text:"\xab".concat(t,"\xbb")},0);h=l.node().getBBox().height}A=s.insert("g").attr("class","label-group text"),await me(A,e,0,["font-weight: bolder"]);const g=A.node().getBBox();d=g.height,c=s.insert("g").attr("class","members-group text");let m=0;for(const p of e.members){m+=await me(c,p,m,[p.parseClassifier()])+a}f=c.node().getBBox().height,f<=0&&(f=o/2),u=s.insert("g").attr("class","methods-group text");let y=0;for(const p of e.methods){y+=await me(u,p,y,[p.parseClassifier()])+a}let v=s.node().getBBox();if(null!==l){const t=l.node().getBBox();l.attr("transform","translate(".concat(-t.width/2,")"))}return A.attr("transform","translate(".concat(-g.width/2,", ").concat(h,")")),v=s.node().getBBox(),c.attr("transform","translate(".concat(0,", ",h+d+2*o,")")),v=s.node().getBBox(),u.attr("transform","translate(".concat(0,", ",h+d+(f?f+4*o:2*o),")")),v=s.node().getBBox(),{shapeSvg:s,bbox:v}}async function me(t,e,r){var n;let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const o=t.insert("g").attr("class","label").attr("style",i.join("; ")),u=(0,l.zj)();let h="useHtmlLabels"in e?e.useHtmlLabels:null===(n=(0,l._3)(u.htmlLabels))||void 0===n||n,d="";d="text"in e?e.text:e.label,!h&&d.startsWith("\\")&&(d=d.substring(1)),(0,l.Wi)(d)&&(h=!0);const f=await(0,a.GZ)(o,(0,l.oB)((0,s.Sm)(d)),{width:(0,s.Un)(d,u)+50,classes:"markdown-node-label",useHtmlLabels:h},u);let p,g=1;if(h){const t=f.children[0],e=(0,c.Ltv)(f);g=t.innerHTML.split("
").length,t.innerHTML.includes("")&&(g+=t.innerHTML.split("").length-1);const r=t.getElementsByTagName("img");if(r){const t=""===d.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){var n,i;const t=null!==(n=null===(i=u.fontSize)||void 0===i?void 0:i.toString())&&void 0!==n?n:window.getComputedStyle(document.body).fontSize,r=5,o=parseInt(t,10)*r+"px";e.style.minWidth=o,e.style.maxWidth=o}else e.style.width="100%";r(e)}(0,A.K2)(n,"setupImage"),setTimeout(()=>{e.complete&&n()}),e.addEventListener("error",n),e.addEventListener("load",n)})))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}else{i.includes("font-weight: bolder")&&(0,c.Ltv)(f).selectAll("tspan").attr("font-weight",""),g=f.children.length;const t=f.children[0];if(""===f.textContent||f.textContent.includes(">")){t.textContent=d[0]+d.substring(1).replaceAll(">",">").replaceAll("<","<").trim();" "===d[1]&&(t.textContent=t.textContent[0]+" "+t.textContent.substring(1))}"undefined"===t.textContent&&(t.textContent=""),p=f.getBBox()}return o.attr("transform","translate(0,"+(-p.height/(2*g)+r)+")"),p.height}async function ye(t,e){var r,n,i,a,s,A,h,d,p,g,m;const y=(0,l.D7)(),{themeVariables:v}=y,{useGradient:b}=v,w=null!==(r=y.class.padding)&&void 0!==r?r:12,C=w,B=null===(n=null!==(i=e.useHtmlLabels)&&void 0!==i?i:(0,l._3)(y.htmlLabels))||void 0===n||n,x=e;x.annotations=null!==(a=x.annotations)&&void 0!==a?a:[],x.members=null!==(s=x.members)&&void 0!==s?s:[],x.methods=null!==(A=x.methods)&&void 0!==A?A:[];const{shapeSvg:F,bbox:k}=await ge(t,e,y,B,C),{labelStyles:D,nodeStyles:E}=(0,o.GX)(e);e.labelStyle=D,e.cssStyles=x.styles||"";const S=(null===(h=x.styles)||void 0===h?void 0:h.join(";"))||E||"";e.cssStyles||(e.cssStyles=S.replaceAll("!important","").split(";"));const _=0===x.members.length&&0===x.methods.length&&!(null!==(d=y.class)&&void 0!==d&&d.hideEmptyMembersBox),T=u.A.svg(F),L=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(L.roughness=0,L.fillStyle="solid");const U=Math.max(null!==(p=e.width)&&void 0!==p?p:0,k.width);let O=Math.max(null!==(g=e.height)&&void 0!==g?g:0,k.height);const I=(null!==(m=e.height)&&void 0!==m?m:0)>k.height;0===x.members.length&&0===x.methods.length?O+=C:x.members.length>0&&0===x.methods.length&&(O+=2*C);const N=-U/2,M=-O/2;let Q=_?2*w:0===x.members.length&&0===x.methods.length?-w:0;I&&(Q=2*w);const P=T.rectangle(N-w,M-w-(_?w:0===x.members.length&&0===x.methods.length?-w/2:0),U+2*w,O+2*w+Q,L),j=F.insert(()=>P,":first-child");j.attr("class","basic label-container outer-path");const R=j.node().getBBox(),K=F.select(".annotation-group").node().getBBox().height-(_?w/2:0)||0,z=F.select(".label-group").node().getBBox().height-(_?w/2:0)||0,q=F.select(".members-group").node().getBBox().height-(_?w/2:0)||0,W=(K+z+M+w-(M-w-(_?w:0===x.members.length&&0===x.methods.length?-w/2:0)))/2;if(F.selectAll(".text").each((t,e,r)=>{var n;const i=(0,c.Ltv)(r[e]),o=i.attr("transform");let a=0;if(o){const t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);t&&(a=parseFloat(t[2]))}let s=a+M+w-(_?w:0===x.members.length&&0===x.methods.length?-w/2:0);if(i.attr("class").includes("methods-group")){const t=Math.max(q,C/2);s=I?Math.max(W,K+z+t+M+2*C+w)+2*C:K+z+t+M+4*C+w}0===x.members.length&&0===x.methods.length&&null!==(n=y.class)&&void 0!==n&&n.hideEmptyMembersBox&&(s=x.annotations.length>0?a-C:a),B||(s-=4);let l=N;var A;(i.attr("class").includes("label-group")||i.attr("class").includes("annotation-group"))&&(l=-(null===(A=i.node())||void 0===A?void 0:A.getBBox().width)/2||0,F.selectAll("text").each(function(t,e,r){"middle"===window.getComputedStyle(r[e]).textAnchor&&(l=0)}));i.attr("transform","translate(".concat(l,", ").concat(s,")"))}),x.members.length>0||x.methods.length>0||_){const t=K+z+M+w,r=T.line(R.x,t,R.x+R.width,t+.001,L);F.insert(()=>r).attr("class","divider".concat("neo"!==e.look||b?"":" neo-line")).attr("style",S)}if(_||x.members.length>0||x.methods.length>0){const t=K+z+q+M+2*C+w,r=T.line(R.x,I?Math.max(W,t):t,R.x+R.width,(I?Math.max(W,t):t)+.001,L);F.insert(()=>r).attr("class","divider".concat("neo"!==e.look||b?"":" neo-line")).attr("style",S)}if("handDrawn"!==x.look&&F.selectAll("path").attr("style",S),j.select(":nth-child(2)").attr("style",S),F.selectAll(".divider").select("path").attr("style",S),e.labelStyle?F.selectAll("span").attr("style",e.labelStyle):F.selectAll("span").attr("style",S),!B){const t=RegExp(/color\s*:\s*([^;]*)/),e=t.exec(S);if(e){const t=e[0].replace("color","fill");F.selectAll("tspan").attr("style",t)}else if(D){const e=t.exec(D);if(e){const t=e[0].replace("color","fill");F.selectAll("tspan").attr("style",t)}}}return f(e,j),e.intersect=function(t){return H.rect(e,t)},F}async function ve(t,e){var r,n,i,a,s;const{labelStyles:A,nodeStyles:h}=(0,o.GX)(e);e.labelStyle=A;const d=e,g=e,m="verifyMethod"in e,y=p(e),{themeVariables:v}=(0,l.D7)(),{borderColorArray:b,requirementEdgeLabelBackground:w}=v,C=t.insert("g").attr("class",y).attr("id",null!==(r=e.domId)&&void 0!==r?r:e.id);let B;B=m?await be(C,"<<".concat(d.type,">>"),0,e.labelStyle):await be(C,"<<Element>>",0,e.labelStyle);let x=B;const F=await be(C,d.name,x,e.labelStyle+"; font-weight: bold;");if(x+=F+20,m){x+=await be(C,"".concat(d.requirementId?"ID: ".concat(d.requirementId):""),x,e.labelStyle);x+=await be(C,"".concat(d.text?"Text: ".concat(d.text):""),x,e.labelStyle);x+=await be(C,"".concat(d.risk?"Risk: ".concat(d.risk):""),x,e.labelStyle),await be(C,"".concat(d.verifyMethod?"Verification: ".concat(d.verifyMethod):""),x,e.labelStyle)}else{x+=await be(C,"".concat(g.type?"Type: ".concat(g.type):""),x,e.labelStyle),await be(C,"".concat(g.docRef?"Doc Ref: ".concat(g.docRef):""),x,e.labelStyle)}const k=(null!==(n=null===(i=C.node())||void 0===i?void 0:i.getBBox().width)&&void 0!==n?n:200)+20,D=(null!==(a=null===(s=C.node())||void 0===s?void 0:s.getBBox().height)&&void 0!==a?a:200)+20,E=-k/2,S=-D/2,_=u.A.svg(C),T=(0,o.Fr)(e,{});"handDrawn"!==e.look&&(T.roughness=0,T.fillStyle="solid");const L=_.rectangle(E,S,k,D,T),U=C.insert(()=>L,":first-child");if(U.attr("class","basic label-container outer-path").attr("style",h),null!==b&&void 0!==b&&b.length){var O;const t=null!==(O=e.colorIndex)&&void 0!==O?O:0;C.attr("data-color-id","color-".concat(t%b.length))}if(C.selectAll(".label").each((t,e,r)=>{const n=(0,c.Ltv)(r[e]),i=n.attr("transform");let o=0,a=0;if(i){const t=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(i);t&&(o=parseFloat(t[1]),a=parseFloat(t[2]))}const s=a-D/2;let l=E+10;0!==e&&1!==e||(l=o),n.attr("transform","translate(".concat(l,", ").concat(s+20,")"))}),x>B+F+20){const t=S+B+F+20;let r;if("neo"===e.look){const e=.001,n=[[E,t],[E+k,t],[E+k,t+e],[E,t+e]];r=_.polygon(n,T)}else r=_.line(E,t,E+k,t,T);C.insert(()=>r).attr("class","divider")}return f(e,U),e.intersect=function(t){return H.rect(e,t)},h&&"handDrawn"!==e.look&&(w||null!==b&&void 0!==b&&b.length)&&C.selectAll("path").attr("style",h),C}async function be(t,e,r){var n;let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(""===e)return 0;const o=t.insert("g").attr("class","label").attr("style",i),A=(0,l.D7)(),u=null===(n=A.htmlLabels)||void 0===n||n,h=await(0,a.GZ)(o,(0,l.oB)((0,s.Sm)(e)),{width:(0,s.Un)(e,A)+50,classes:"markdown-node-label",useHtmlLabels:u,style:i},A);let d;if(u){const t=h.children[0],e=(0,c.Ltv)(h);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}else{const t=h.children[0];for(const e of t.children)i&&e.setAttribute("style",i);d=h.getBBox(),d.height+=6}return o.attr("transform","translate(".concat(-d.width/2,",").concat(-d.height/2+r,")")),d.height}(0,A.K2)(de,"erBox"),(0,A.K2)(fe,"addText"),(0,A.K2)(pe,"lineToPolygon"),(0,A.K2)(ge,"textHelper"),(0,A.K2)(me,"addText"),(0,A.K2)(ye,"classBox"),(0,A.K2)(ve,"requirementBox"),(0,A.K2)(be,"addText");var we=(0,A.K2)(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function Ce(t,e,r){var n,i;let{config:a}=r;const{labelStyles:s,nodeStyles:l}=(0,o.GX)(e);e.labelStyle=s||"";const A=e.width;e.width=(null!==(n=e.width)&&void 0!==n?n:200)-10;const{shapeSvg:c,bbox:g,label:m}=await h(t,e,p(e)),y=e.padding||10;let v,b="";var w;"ticket"in e&&e.ticket&&null!==a&&void 0!==a&&null!==(i=a.kanban)&&void 0!==i&&i.ticketBaseUrl&&(b=null===a||void 0===a||null===(w=a.kanban)||void 0===w?void 0:w.ticketBaseUrl.replace("#TICKET#",e.ticket),v=c.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",b).attr("target","_blank"));const C={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1};let x,F;({label:x,bbox:F}=v?await d(v,"ticket"in e&&e.ticket||"",C):await d(c,"ticket"in e&&e.ticket||"",C));const{label:k,bbox:D}=await d(c,"assigned"in e&&e.assigned||"",C);e.width=A;const E=(null===e||void 0===e?void 0:e.width)||0,S=Math.max(F.height,D.height)/2,_=Math.max(g.height+20,(null===e||void 0===e?void 0:e.height)||0)+S,T=-E/2,L=-_/2;let U;m.attr("transform","translate("+(y-E/2)+", "+(-S-g.height/2)+")"),x.attr("transform","translate("+(y-E/2)+", "+(-S+g.height/2)+")"),k.attr("transform","translate("+(y+E/2-D.width-20)+", "+(-S+g.height/2)+")");const{rx:O,ry:I}=e,{cssStyles:N}=e;if("handDrawn"===e.look){const t=u.A.svg(c),r=(0,o.Fr)(e,{}),n=O||I?t.path(B(T,L,E,_,O||0),r):t.rectangle(T,L,E,_,r);U=c.insert(()=>n,":first-child"),U.attr("class","basic label-container").attr("style",N||null)}else{U=c.insert("rect",":first-child"),U.attr("class","basic label-container __APA__").attr("style",l).attr("rx",null!==O&&void 0!==O?O:5).attr("ry",null!==I&&void 0!==I?I:5).attr("x",T).attr("y",L).attr("width",E).attr("height",_);const t="priority"in e&&e.priority;if(t){const e=c.append("line"),r=T+2,n=L+Math.floor((null!==O&&void 0!==O?O:0)/2),i=L+_-Math.floor((null!==O&&void 0!==O?O:0)/2);e.attr("x1",r).attr("y1",n).attr("x2",r).attr("y2",i).attr("stroke-width","4").attr("stroke",we(t))}}return f(e,U),e.height=_,e.intersect=function(t){return H.rect(e,t)},c}async function Be(t,e){const{labelStyles:r,nodeStyles:n}=(0,o.GX)(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:l,label:c}=await h(t,e,p(e)),d=a.width+10*l,g=a.height+8*l,m=.15*d,{cssStyles:y}=e,v=a.width+20,b=a.height+20,w=Math.max(d,v),C=Math.max(g,b);let B;c.attr("transform","translate(".concat(-a.width/2,", ").concat(-a.height/2,")"));const x="M0 0 \n a".concat(m,",").concat(m," 1 0,0 ").concat(.25*w,",").concat(-1*C*.1,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(.25*w,",",0,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(.25*w,",",0,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(.25*w,",").concat(.1*C,"\n\n a").concat(m,",").concat(m," 1 0,0 ").concat(.15*w,",").concat(.33*C,"\n a").concat(.8*m,",").concat(.8*m," 1 0,0 0,").concat(.34*C,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.15,",").concat(.33*C,"\n\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.25,",").concat(.15*C,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.25,",0\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.25,",0\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.25,",").concat(-1*C*.15,"\n\n a").concat(m,",").concat(m," 1 0,0 ").concat(-1*w*.1,",").concat(-1*C*.33,"\n a").concat(.8*m,",").concat(.8*m," 1 0,0 0,").concat(-1*C*.34,"\n a").concat(m,",").concat(m," 1 0,0 ").concat(.1*w,",").concat(-1*C*.33,"\n H0 V0 Z");if("handDrawn"===e.look){const t=u.A.svg(i),r=(0,o.Fr)(e,{}),n=t.path(x,r);B=i.insert(()=>n,":first-child"),B.attr("class","basic label-container").attr("style",(0,s.KL)(y))}else B=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",x);return B.attr("transform","translate(".concat(-w/2,", ").concat(-C/2,")")),f(e,B),e.calcIntersect=function(t,e){return H.rect(t,e)},e.intersect=function(t){return A.Rm.info("Bang intersect",e,t),H.rect(e,t)},i}async function xe(t,e){const{labelStyles:r,nodeStyles:n}=(0,o.GX)(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:l,label:c}=await h(t,e,p(e)),d=a.width+2*l,g=a.height+2*l,m=.15*d,y=.25*d,v=.35*d,b=.2*d,{cssStyles:w}=e;let C;const B="M0 0 \n a".concat(m,",").concat(m," 0 0,1 ").concat(.25*d,",").concat(-1*d*.1,"\n a").concat(v,",").concat(v," 1 0,1 ").concat(.4*d,",").concat(-1*d*.1,"\n a").concat(y,",").concat(y," 1 0,1 ").concat(.35*d,",").concat(.2*d,"\n\n a").concat(m,",").concat(m," 1 0,1 ").concat(.15*d,",").concat(.35*g,"\n a").concat(b,",").concat(b," 1 0,1 ").concat(-1*d*.15,",").concat(.65*g,"\n\n a").concat(y,",").concat(m," 1 0,1 ").concat(-1*d*.25,",").concat(.15*d,"\n a").concat(v,",").concat(v," 1 0,1 ").concat(-1*d*.5,",0\n a").concat(m,",").concat(m," 1 0,1 ").concat(-1*d*.25,",").concat(-1*d*.15,"\n\n a").concat(m,",").concat(m," 1 0,1 ").concat(-1*d*.1,",").concat(-1*g*.35,"\n a").concat(b,",").concat(b," 1 0,1 ").concat(.1*d,",").concat(-1*g*.65,"\n H0 V0 Z");if("handDrawn"===e.look){const t=u.A.svg(i),r=(0,o.Fr)(e,{}),n=t.path(B,r);C=i.insert(()=>n,":first-child"),C.attr("class","basic label-container").attr("style",(0,s.KL)(w))}else C=i.insert("path",":first-child").attr("class","basic label-container").attr("style",n).attr("d",B);return c.attr("transform","translate(".concat(-a.width/2,", ").concat(-a.height/2,")")),C.attr("transform","translate(".concat(-d/2,", ").concat(-g/2,")")),f(e,C),e.calcIntersect=function(t,e){return H.rect(t,e)},e.intersect=function(t){return A.Rm.info("Cloud intersect",e,t),H.rect(e,t)},i}async function Fe(t,e){const{labelStyles:r,nodeStyles:n}=(0,o.GX)(e);e.labelStyle=r;const{shapeSvg:i,bbox:a,halfPadding:s,label:l}=await h(t,e,p(e)),A=a.width+8*s,c=a.height+2*s,u="neo"===e.look?"\n M".concat(-A/2," ").concat(c/2-5,"\n v").concat(10-c,"\n q0,-").concat(5," ").concat(5,",-").concat(5,"\n h").concat(A-10,"\n q").concat(5,",0 ").concat(5,",").concat(5,"\n v").concat(c-5,"\n H").concat(-A/2,"\n Z\n "):"\n M".concat(-A/2," ").concat(c/2-5,"\n v").concat(10-c,"\n q0,-").concat(5," ").concat(5,",-").concat(5,"\n h").concat(A-10,"\n q").concat(5,",0 ").concat(5,",").concat(5,"\n v").concat(c-10,"\n q0,").concat(5," ").concat(-5,",").concat(5,"\n h").concat(-(A-10),"\n q").concat(-5,",0 ").concat(-5,",").concat(-5,"\n Z\n ");if(!e.domId)throw new Error('defaultMindmapNode: node "'.concat(e.id,'" is missing a domId \u2014 was render.ts domId prefixing skipped?'));const d=i.append("path").attr("id",e.domId).attr("class","node-bkg node-"+e.type).attr("style",n).attr("d",u);return i.append("line").attr("class","node-line-").attr("x1",-A/2).attr("y1",c/2).attr("x2",A/2).attr("y2",c/2),l.attr("transform","translate(".concat(-a.width/2,", ").concat(-a.height/2,")")),i.append(()=>l.node()),f(e,d),e.calcIntersect=function(t,e){return H.rect(t,e)},e.intersect=function(t){return H.rect(e,t)},i}async function ke(t,e){var r;return Y(t,e,{padding:null!==(r=e.padding)&&void 0!==r?r:0})}(0,A.K2)(Ce,"kanbanItem"),(0,A.K2)(Be,"bang"),(0,A.K2)(xe,"cloud"),(0,A.K2)(Fe,"defaultMindmapNode"),(0,A.K2)(ke,"mindmapCircle");var De=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:qt},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:Ht},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:Wt},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:Yt},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:At},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:Y},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:Be},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:xe},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:Pt},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:mt},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Et},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Dt},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:ie},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:xt},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:ut},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:$t},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:G},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Kt},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:Xt},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:Gt},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:ft},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:yt},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:tt},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:rt},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:it},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:St},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:se},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:pt},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:ne},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:Ut},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:ot},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:ct},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:ae},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:ce},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:ht},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:oe},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:dt},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:zt},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:Nt},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:It},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:W},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Z},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:Zt},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:Jt},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:le},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:jt},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:Ot}],Ee=(0,A.K2)(()=>{const t={state:Vt,choice:X,note:Mt,rectWithTitle:Rt,labelRect:kt,iconSquare:Ct,iconCircle:bt,icon:vt,iconRounded:wt,imageSquare:Bt,anchor:K,kanbanItem:Ce,mindmapCircle:ke,defaultMindmapNode:Fe,classBox:ye,erBox:de,requirementBox:ve},e=[...Object.entries(t),...De.flatMap(t=>[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]].map(e=>[e,t.handler]))];return Object.fromEntries(e)},"generateShapeMap")();function Se(t){return t in Ee}(0,A.K2)(Se,"isValidShape");var _e=new Map;async function Te(t,e,r){let n,i;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");const o=e.shape?Ee[e.shape]:void 0;if(!o)throw new Error("No such shape: ".concat(e.shape,". Please check your syntax."));if(e.link){let a;"sandbox"===r.config.securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",null!==a&&void 0!==a?a:null),i=await o(n,e,r)}else i=await o(t,e,r),n=i;return n.attr("data-look",(0,s.KL)(e.look)),e.tooltip&&i.attr("title",e.tooltip),_e.set(e.id,n),e.haveCallback&&n.attr("class",n.attr("class")+" clickable"),n}(0,A.K2)(Te,"insertNode");var Le=(0,A.K2)((t,e)=>{_e.set(e.id,t)},"setNodeElem"),Ue=(0,A.K2)(()=>{_e.clear()},"clear"),Oe=(0,A.K2)(t=>{const e=_e.get(t.id);A.Rm.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const 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")},56770(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(32777);e.toNumber=function(t){return n.isSymbol(t)?NaN:Number(t)}},57220(t,e,r){"use strict";r.d(e,{Ay:()=>s,lG:()=>o,uN:()=>a});var n=r(38419);function i(t,e){return function(r){return t+r*e}}function o(t,e){var r=e-t;return r?i(t,r>180||r<-180?r-360*Math.round(r/360):r):(0,n.A)(isNaN(t)?e:t)}function a(t){return 1===(t=+t)?s:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):(0,n.A)(isNaN(e)?r:e)}}function s(t,e){var r=e-t;return r?i(t,r):(0,n.A)(isNaN(t)?e:t)}},57903(t,e,r){"use strict";r.d(e,{D:()=>a});var n=r(45420),i=r(32748),o=r(68973),a=(0,i.K2)(t=>{const{securityLevel:e}=(0,n.D7)();let r=(0,o.Ltv)("body");if("sandbox"===e){var i,a;const e=null!==(i=null===(a=(0,o.Ltv)("#i".concat(t)).node())||void 0===a?void 0:a.contentDocument)&&void 0!==i?i:document;r=(0,o.Ltv)(e.body)}return r.select("#".concat(t))},"selectSvgElement")},58187(t,e,r){"use strict";r.d(e,{A:()=>n});const n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},58365(t,e,r){"use strict";var n=r(65043);var i="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},o=n.useSyncExternalStore,a=n.useRef,s=n.useEffect,l=n.useMemo,A=n.useDebugValue},58635(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(55009),i=r(33493),o=r(75884),a=r(37664);const s=function(t,e,r){if(!(0,a.A)(r))return!1;var s=typeof e;return!!("number"==s?(0,i.A)(r)&&(0,o.A)(e,r.length):"string"==s&&e in r)&&(0,n.A)(r[e],t)}},60446(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",s="day",l="week",A="month",c="quarter",u="year",h="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={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])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},y={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function t(e,r){if(e.date()1)return t(a[0])}else{var s=e.name;b[s]=e,i=s}return!n&&i&&(v=i),i||!n&&v},x=function(t,e){if(C(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},F=y;F.l=B,F.i=C,F.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function g(t){this.$L=B(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var m=g.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(F.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(f);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},m.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()},m.$utils=function(){return F},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var r=x(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return x(t)a});var n=r(42041),i=r(7858),o=r(37515);const a=function(t,e){return(0,o.A)((0,i.A)(t,e,n.A),t+"")}},62269(t,e,r){"use strict";r.d(e,{Ag:()=>o,pz:()=>a});var n=r(73870),i=r(72203);const o=(0,n.f)(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt-t.getMinutes()*i.rR)},(t,e)=>{t.setTime(+t+e*i.JJ)},(t,e)=>(e-t)/i.JJ,t=>t.getHours()),a=(o.range,(0,n.f)(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*i.JJ)},(t,e)=>(e-t)/i.JJ,t=>t.getUTCHours()));a.range},63614(t,e,r){"use strict";r.d(e,{W6:()=>Ae,GZ:()=>fe,WY:()=>Gt,pC:()=>qt,Gc:()=>Ht});var n=r(89379),i=r(84571),o=r(45420),a=r(32748);const s=(t,e)=>!!t&&!(!(e&&""===t.prefix||t.prefix)||!t.name),l=Object.freeze({left:0,top:0,width:16,height:16}),A=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze((0,n.A)((0,n.A)({},l),A)),u=Object.freeze((0,n.A)((0,n.A)({},c),{},{body:"",hidden:!1}));function h(t,e){const r=function(t,e){const r={};!t.hFlip!==!e.hFlip&&(r.hFlip=!0),!t.vFlip!==!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}(t,e);for(const n in u)n in A?n in t&&!(n in r)&&(r[n]=A[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function d(t,e,r){const n=t.icons,i=t.aliases||Object.create(null);let o={};function a(t){o=h(n[t]||i[t],o)}return a(e),r.forEach(a),h(t,o)}function f(t,e){if(t.icons[e])return d(t,e,[]);const r=function(t,e){const r=t.icons,n=t.aliases||Object.create(null),i=Object.create(null);return(e||Object.keys(r).concat(Object.keys(n))).forEach(function t(e){if(r[e])return i[e]=[];if(!(e in i)){i[e]=null;const r=n[e]&&n[e].parent,o=r&&t(r);o&&(i[e]=[r].concat(o))}return i[e]}),i}(t,[e])[e];return r?d(t,e,r):null}const p=Object.freeze({width:null,height:null}),g=Object.freeze((0,n.A)((0,n.A)({},p),A)),m=/(-?[0-9.]*[0-9]+[0-9.]*)/g,y=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function v(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;const n=t.split(m);if(null===n||!n.length)return t;const i=[];let o=n.shift(),a=y.test(o);for(;;){if(a){const t=parseFloat(o);isNaN(t)?i.push(o):i.push(Math.ceil(t*e*r)/r)}else i.push(o);if(o=n.shift(),void 0===o)return i.join("");a=!a}}const b=/\sid="(\S+)"/g,w=new Map;function C(t){const e=[];let r;for(;r=b.exec(t);)e.push(r[1]);if(!e.length)return t;const n="suffix"+(16777216*Math.random()|Date.now()).toString(16);return e.forEach(e=>{const r=function(t){t=t.replace(/[0-9]+$/,"")||"a";const e=w.get(t)||0;return w.set(t,e+1),e?"".concat(t).concat(e):t}(e),i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+n+"$3")}),t=t.replace(new RegExp(n,"g"),"")}var B,x=r(68973),F=r(64980),k=r(33635);function D(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var E={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function S(t){E=t}var _={exec:()=>null};function T(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="string"==typeof t?t:t.source,n={replace:(t,e)=>{let i="string"==typeof e?e:e.source;return i=i.replace(U.caret,"$1"),r=r.replace(t,i),n},getRegex:()=>new RegExp(r,e)};return n}var L=(()=>{try{return!!new RegExp("(?<=1)(?/,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:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD40-\uDD59\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC7\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDDB0-\uDDDB\uDDE0-\uDDE9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDEA0-\uDEB8\uDEBB-\uDED3\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3\uDFF2-\uDFF6]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDEC0-\uDEDE\uDEE0-\uDEE2\uDEE4\uDEE5\uDEE7-\uDEED\uDEF0-\uDEF4\uDEFE\uDEFF\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79])/,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+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp("^( {0,3}".concat(t,")((?:[\t ][^\\n]*)?(?:\\n|$))")),nextBulletRegex:t=>new RegExp("^ {0,".concat(Math.min(3,t-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),hrRegex:t=>new RegExp("^ {0,".concat(Math.min(3,t-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),fencesBeginRegex:t=>new RegExp("^ {0,".concat(Math.min(3,t-1),"}(?:```|~~~)")),headingBeginRegex:t=>new RegExp("^ {0,".concat(Math.min(3,t-1),"}#")),htmlBeginRegex:t=>new RegExp("^ {0,".concat(Math.min(3,t-1),"}<(?:[a-z].*>|!--)"),"i")},O=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,I=/(?:[*+-]|\d{1,9}[.)])/,N=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,M=T(N).replace(/bull/g,I).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(),Q=T(N).replace(/bull/g,I).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(),P=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,j=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,R=T(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",j).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),H=T(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,I).getRegex(),K="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",z=/|$))/,q=T("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",z).replace("tag",K).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),W=T(P).replace("hr",O).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",")|<(?:script|pre|style|textarea|!--)").replace("tag",K).getRegex(),V={blockquote:T(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",W).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:R,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:O,html:q,lheading:M,list:H,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:W,table:_,text:/^[^\n]+/},G=T("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",O).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K).getRegex(),X=(0,n.A)((0,n.A)({},V),{},{lheading:Q,table:G,paragraph:T(P).replace("hr",O).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",G).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K).getRegex()}),Y=(0,n.A)((0,n.A)({},V),{},{html:T("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z).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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:T(P).replace("hr",O).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),J=/^( {2,}|\\)\n(?!\s*$)/,Z=/(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,$=/(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,tt=/(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,et=T(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,$).getRegex(),rt=/(?!~)(?:[!-\/:-@\[-`\{-~\xA1-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2010-\u2027\u2030-\u205E\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3001-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/,nt=T(/link|precode-code|html/,"g").replace("link",(0,k.A)(/\[(?:[^\[\]`]|(`+)[^`]+\1(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/,{a:1})).replace("precode-",L?"(?]*?>/).getRegex(),it=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ot=T(it,"u").replace(/punct/g,Z).getRegex(),at=T(it,"u").replace(/punct/g,rt).getRegex(),st="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",lt=T(st,"gu").replace(/notPunctSpace/g,tt).replace(/punctSpace/g,$).replace(/punct/g,Z).getRegex(),At=T(st,"gu").replace(/notPunctSpace/g,/(?:(?:[\0-\x08\x0E-\x1F0-9A-Za-z\x7F-\x9F\xAA\xAD\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376-\u037D\u037F-\u0383\u0386\u0388-\u03F5\u03F7-\u0481\u0483-\u0559\u0560-\u0588\u058B\u058C\u0590-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7-\u05F2\u05F5-\u0605\u0610-\u061A\u061C\u0620-\u0669\u066E-\u06D3\u06D5-\u06DD\u06DF-\u06E8\u06EA-\u06FC\u06FF\u070E-\u07F5\u07FA-\u07FD\u0800-\u082F\u083F-\u085D\u085F-\u0887\u0889-\u0963\u0966-\u096F\u0971-\u09F1\u09F4-\u09F9\u09FC\u09FE-\u0A75\u0A77-\u0AEF\u0AF2-\u0B6F\u0B71-\u0BF2\u0BFB-\u0C76\u0C78-\u0C7E\u0C80-\u0C83\u0C85-\u0D4E\u0D50-\u0D78\u0D7A-\u0DF3\u0DF5-\u0E3E\u0E40-\u0E4E\u0E50-\u0E59\u0E5C-\u0F00\u0F18\u0F19\u0F20-\u0F33\u0F35\u0F37\u0F39\u0F3E-\u0F84\u0F86-\u0FBD\u0FC6\u0FCD\u0FDB-\u1049\u1050-\u109D\u10A0-\u10FA\u10FC-\u135F\u1369-\u138F\u139A-\u13FF\u1401-\u166C\u166F-\u167F\u1681-\u169A\u169D-\u16EA\u16EE-\u1734\u1737-\u17D3\u17D7\u17DC-\u17FF\u180B-\u193F\u1941-\u1943\u1946-\u19DD\u1A00-\u1A1D\u1A20-\u1A9F\u1AA7\u1AAE-\u1B4D\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BFB\u1C00-\u1C3A\u1C40-\u1C7D\u1C80-\u1CBF\u1CC8-\u1CD2\u1CD4-\u1FBC\u1FBE\u1FC2-\u1FCC\u1FD0-\u1FDC\u1FE0-\u1FEC\u1FF0-\u1FFC\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u2079\u207F-\u2089\u208F-\u209F\u20C2-\u20FF\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u218C-\u218F\u242A-\u243F\u244B-\u249B\u24EA-\u24FF\u2776-\u2793\u2B74\u2B75\u2C00-\u2CE4\u2CEB-\u2CF8\u2CFD\u2D00-\u2D6F\u2D71-\u2DFF\u2E2F\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3040-\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u318F\u3192-\u3195\u31A0-\u31BF\u31E6-\u31EE\u31F0-\u31FF\u321F-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48F\uA4C7-\uA4FD\uA500-\uA60C\uA610-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA6F8-\uA6FF\uA717-\uA71F\uA722-\uA788\uA78B-\uA827\uA82C-\uA835\uA83A-\uA873\uA878-\uA8CD\uA8D0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA95E\uA960-\uA9C0\uA9CE-\uA9DD\uA9E0-\uAA5B\uAA60-\uAA76\uAA7A-\uAADD\uAAE0-\uAAEF\uAAF2-\uAB5A\uAB5C-\uAB69\uAB6C-\uABEA\uABEC-\uD7FF\uE000-\uFB28\uFB2A-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDD0-\uFDFB\uFE00-\uFE0F\uFE1A-\uFE2F\uFE53\uFE67\uFE6C-\uFEFE\uFF00\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF]|\uD800[\uDC00-\uDCFF\uDD03-\uDD36\uDD40-\uDD78\uDD8A\uDD8B\uDD8F\uDD9D-\uDD9F\uDDA1-\uDDCF\uDDFD-\uDF9E\uDFA0-\uDFCF\uDFD1-\uDFFF]|\uD801[\uDC00-\uDD6E\uDD70-\uDFFF]|\uD802[\uDC00-\uDC56\uDC58-\uDC76\uDC79-\uDD1E\uDD20-\uDD3E\uDD40-\uDE4F\uDE59-\uDE7E\uDE80-\uDEC7\uDEC9-\uDEEF\uDEF7-\uDF38\uDF40-\uDF98\uDF9D-\uDFFF]|\uD803[\uDC00-\uDD6D\uDD6F-\uDD8D\uDD90-\uDEAC\uDEAE-\uDECF\uDED9-\uDF54\uDF5A-\uDF85\uDF8A-\uDFFF]|\uD804[\uDC00-\uDC46\uDC4E-\uDCBA\uDCBD\uDCC2-\uDD3F\uDD44-\uDD73\uDD76-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDDE0-\uDE37\uDE3E-\uDEA8\uDEAA-\uDFD3\uDFD6\uDFD9-\uDFFF]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5C\uDC5E-\uDCC5\uDCC7-\uDDC0\uDDD8-\uDE40\uDE44-\uDE5F\uDE6D-\uDEB8\uDEBA-\uDF3B\uDF40-\uDFFF]|\uD806[\uDC00-\uDC3A\uDC3C-\uDD43\uDD47-\uDDE1\uDDE3-\uDE3E\uDE47-\uDE99\uDE9D\uDEA3-\uDEFF\uDF0A-\uDFE0\uDFE2-\uDFFF]|\uD807[\uDC00-\uDC40\uDC46-\uDC6F\uDC72-\uDEF6\uDEF9-\uDF42\uDF50-\uDFD4\uDFF2-\uDFFE]|[\uD808\uD80A\uD80C-\uD819\uD81C-\uD82E\uD830-\uD832\uD837\uD83F-\uDBFF][\uDC00-\uDFFF]|\uD809[\uDC00-\uDC6F\uDC75-\uDFFF]|\uD80B[\uDC00-\uDFF0\uDFF3-\uDFFF]|\uD81A[\uDC00-\uDE6D\uDE70-\uDEF4\uDEF6-\uDF36\uDF40-\uDF43\uDF46-\uDFFF]|\uD81B[\uDC00-\uDD6C\uDD70-\uDE96\uDE9B-\uDFE1\uDFE3-\uDFFF]|\uD82F[\uDC00-\uDC9B\uDC9D\uDC9E\uDCA0-\uDFFF]|\uD833[\uDCF0-\uDCF9\uDCFD-\uDCFF\uDEB4-\uDEB9\uDED1-\uDEDF\uDEF1-\uDF4F\uDFC4-\uDFFF]|\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD65-\uDD69\uDD6D-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDDEB-\uDDFF\uDE42-\uDE44\uDE46-\uDEFF\uDF57-\uDFFF]|\uD835[\uDC00-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE8C-\uDFFF]|\uD838[\uDC00-\uDD4E\uDD50-\uDEFE\uDF00-\uDFFF]|\uD839[\uDC00-\uDDFE\uDE00-\uDFFF]|\uD83A[\uDC00-\uDD5D\uDD60-\uDFFF]|\uD83B[\uDC00-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDD2D\uDD2F-\uDEEF\uDEF2-\uDFFF]|\uD83C[\uDC2C-\uDC2F\uDC94-\uDC9F\uDCAF\uDCB0\uDCC0\uDCD0\uDCF6-\uDD0C\uDDAE-\uDDE5\uDE03-\uDE0F\uDE3C-\uDE3F\uDE49-\uDE4F\uDE52-\uDE5F\uDE66-\uDEFF]|\uD83D[\uDED9-\uDEDB\uDEED-\uDEEF\uDEFD-\uDEFF\uDFDA-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCBC-\uDCBF\uDCC2-\uDCCF\uDCD9-\uDCFF\uDE58-\uDE5F\uDE6E\uDE6F\uDE7D-\uDE7F\uDE8B-\uDE8D\uDEC7\uDEC9-\uDECC\uDEDD\uDEDE\uDEEB-\uDEEE\uDEF9-\uDEFF\uDF93\uDFF0-\uDFF9\uDFFB-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|~)/).replace(/punctSpace/g,/(?!~)(?:[\t-\r -\/:-@\[-`\{-~\xA0-\xA9\xAB\xAC\xAE-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u037E\u0384\u0385\u0387\u03F6\u0482\u055A-\u055F\u0589\u058A\u058D-\u058F\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0606-\u060F\u061B\u061D-\u061F\u066A-\u066D\u06D4\u06DE\u06E9\u06FD\u06FE\u0700-\u070D\u07F6-\u07F9\u07FE\u07FF\u0830-\u083E\u085E\u0888\u0964\u0965\u0970\u09F2\u09F3\u09FA\u09FB\u09FD\u0A76\u0AF0\u0AF1\u0B70\u0BF3-\u0BFA\u0C77\u0C7F\u0C84\u0D4F\u0D79\u0DF4\u0E3F\u0E4F\u0E5A\u0E5B\u0F01-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F85\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u104A-\u104F\u109E\u109F\u10FB\u1360-\u1368\u1390-\u1399\u1400\u166D\u166E\u1680\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DB\u1800-\u180A\u1940\u1944\u1945\u19DE-\u19FF\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2000-\u200A\u2010-\u2029\u202F-\u205F\u207A-\u207E\u208A-\u208E\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2775\u2794-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E5D\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u303F\u309B\u309C\u30A0\u30FB\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAA77-\uAA79\uAADE\uAADF\uAAF0\uAAF1\uAB5B\uAB6A\uAB6B\uABEB\uFB29\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD00-\uDD02\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDC77\uDC78\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEC8\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDD8E\uDD8F\uDEAD\uDED0-\uDED8\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3F]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFD5-\uDFF1\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3F\uDF44\uDF45]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F[\uDC9C\uDC9F]|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE8B]|\uD838[\uDD4F\uDEFF]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA])/).replace(/punct/g,rt).getRegex(),ct=T("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,tt).replace(/punctSpace/g,$).replace(/punct/g,Z).getRegex(),ut=T(/\\(punct)/,"gu").replace(/punct/g,Z).getRegex(),ht=T(/^<(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(),dt=T(z).replace("(?:--\x3e|$)","--\x3e").getRegex(),ft=T("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",dt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),pt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,gt=T(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",pt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mt=T(/^!?\[(label)\]\[(ref)\]/).replace("label",pt).replace("ref",j).getRegex(),yt=T(/^!?\[(ref)\](?:\[\])?/).replace("ref",j).getRegex(),vt=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,bt={_backpedal:_,anyPunctuation:ut,autolink:ht,blockSkip:nt,br:J,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:_,emStrongLDelim:ot,emStrongRDelimAst:lt,emStrongRDelimUnd:ct,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:gt,nolink:yt,punctuation:et,reflink:mt,reflinkSearch:T("reflink|nolink(?!\\()","g").replace("reflink",mt).replace("nolink",yt).getRegex(),tag:ft,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Dt=t=>kt[t];function Et(t,e){if(e){if(U.escapeTest.test(t))return t.replace(U.escapeReplace,Dt)}else if(U.escapeTestNoEncode.test(t))return t.replace(U.escapeReplaceNoEncode,Dt);return t}function St(t){try{t=encodeURI(t).replace(U.percentDecode,"%")}catch(e){return null}return t}function _t(t,e){var r;let n=t.replace(U.findPipe,(t,e,r)=>{let n=!1,i=e;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(U.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!(null!==(r=n.at(-1))&&void 0!==r&&r.trim())&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0)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:Tt(t,"\n")}}}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 i=n[1];return e.split("\n").map(t=>{let e=t.match(r.other.beginningSpace);if(null===e)return t;let[n]=e;return n.length>=i.length?t.slice(i.length):t}).join("\n")}(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=Tt(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:Tt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=Tt(e[0],"\n").split("\n"),r="",n="",i=[];for(;t.length>0;){let e,o=!1,a=[];for(e=0;e1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?"\\d{1,9}\\".concat(r.slice(-1)):"\\".concat(r),this.options.pedantic&&(r=n?r:"[*+-]");let o=this.rules.other.listItemRegex(r),a=!1;for(;t;){let r=!1,n="",s="";if(!(e=o.exec(t))||this.rules.block.hr.test(t))break;n=e[0],t=t.substring(n.length);let l=e[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),A=t.split("\n",1)[0],c=!l.trim(),u=0;if(this.options.pedantic?(u=2,s=l.trimStart()):c?u=e[1].length+1:(u=e[2].search(this.rules.other.nonSpaceChar),u=u>4?1:u,s=l.slice(u),u+=e[1].length),c&&this.rules.other.blankLine.test(A)&&(n+=A+"\n",t=t.substring(A.length+1),r=!0),!r){let e=this.rules.other.nextBulletRegex(u),r=this.rules.other.hrRegex(u),i=this.rules.other.fencesBeginRegex(u),o=this.rules.other.headingBeginRegex(u),a=this.rules.other.htmlBeginRegex(u);for(;t;){let h,d=t.split("\n",1)[0];if(A=d,this.options.pedantic?(A=A.replace(this.rules.other.listReplaceNesting," "),h=A):h=A.replace(this.rules.other.tabCharGlobal," "),i.test(A)||o.test(A)||a.test(A)||e.test(A)||r.test(A))break;if(h.search(this.rules.other.nonSpaceChar)>=u||!A.trim())s+="\n"+h.slice(u);else{if(c||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||o.test(l)||r.test(l))break;s+="\n"+A}!c&&!A.trim()&&(c=!0),n+=d+"\n",t=t.substring(d.length+1),l=h.slice(u)}}i.loose||(a?i.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(a=!0));let h,d=null;this.options.gfm&&(d=this.rules.other.listIsTask.exec(s),d&&(h="[ ] "!==d[0],s=s.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:n,task:!!d,checked:h,loose:!1,text:s,tokens:[]}),i.raw+=n}let s=i.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),i.raw=i.raw.trimEnd();for(let t=0;t"space"===t.type),r=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw));i.loose=r}if(i.loose)for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}}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="\n"===e[1].charAt(e[1].length-1)?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=Tt(t.slice(0,-1),"\\");if((t.length-e.length)%2===0)return}else{let t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let r=0;for(let n=0;n0?-2:-1}(e[2],"()");if(-2===t)return;if(t>-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(r);t&&(r=t[1],n=t[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?r.slice(1):r.slice(1,-1)),Lt(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 Lt(r,t,r[0],this.lexer,this.rules)}}emStrong(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",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,i,o=[...n[0]].length-1,a=o,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+o);null!=(n=l.exec(e));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(i=[...r].length,n[3]||n[4]){a+=i;continue}if((n[5]||n[6])&&o%3&&!((o+i)%3)){s+=i;continue}if(a-=i,a>0)continue;i=Math.min(i,i+a+s);let e=[...n[0]][0].length,l=t.slice(0,o+n.index+e+i);if(Math.min(o,i)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let A=l.slice(2,-2);return{type:"strong",raw:l,text:A,tokens:this.lexer.inlineTokens(A)}}}}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"@"===e[2]?(t=e[1],r="mailto:"+t):(t=e[1],r=t),{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,i;if("@"===e[2])t=e[0],i="mailto:"+t;else{let o;do{var r,n;o=e[0],e[0]=null!==(r=null===(n=this.rules.inline._backpedal.exec(e[0]))||void 0===n?void 0:n[0])&&void 0!==r?r:""}while(o!==e[0]);t=e[0],i="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:i,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}}}},Ot=class t{constructor(t){(0,F.A)(this,"tokens",void 0),(0,F.A)(this,"options",void 0),(0,F.A)(this,"state",void 0),(0,F.A)(this,"tokenizer",void 0),(0,F.A)(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||E,this.options.tokenizer=this.options.tokenizer||new Ut,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:U,block:xt.normal,inline:Ft.normal};this.options.pedantic?(e.block=xt.pedantic,e.inline=Ft.pedantic):this.options.gfm&&(e.block=xt.gfm,this.options.breaks?e.inline=Ft.breaks:e.inline=Ft.gfm),this.tokenizer.rules=e}static get rules(){return{block:xt,inline:Ft}}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(U.carriageReturn,"\n"),this.blockTokens(t,this.tokens);for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(this.options.pedantic&&(t=t.replace(U.tabCharGlobal," ").replace(U.spaceLine,""));t;){var n,i;let o;if(null!==(n=this.options.extensions)&&void 0!==n&&null!==(n=n.block)&&void 0!==n&&n.some(r=>!!(o=r.call({lexer:this},t,e))&&(t=t.substring(o.raw.length),e.push(o),!0)))continue;if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length);let r=e.at(-1);1===o.raw.length&&void 0!==r?r.raw+="\n":e.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length);let r=e.at(-1);"paragraph"===(null===r||void 0===r?void 0:r.type)||"text"===(null===r||void 0===r?void 0:r.type)?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+o.raw,r.text+="\n"+o.text,this.inlineQueue.at(-1).src=r.text):e.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length);let r=e.at(-1);"paragraph"===(null===r||void 0===r?void 0:r.type)||"text"===(null===r||void 0===r?void 0:r.type)?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+o.raw,r.text+="\n"+o.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},e.push(o));continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),e.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),e.push(o);continue}let a=t;if(null!==(i=this.options.extensions)&&void 0!==i&&i.startBlock){let e,r=1/0,n=t.slice(1);this.options.extensions.startBlock.forEach(t=>{e=t.call({lexer:this},n),"number"==typeof e&&e>=0&&(r=Math.min(r,e))}),r<1/0&&r>=0&&(a=t.substring(0,r+1))}if(this.state.top&&(o=this.tokenizer.paragraph(a))){let n=e.at(-1);r&&"paragraph"===(null===n||void 0===n?void 0:n.type)?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+o.raw,n.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(o),r=a.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length);let r=e.at(-1);"text"===(null===r||void 0===r?void 0:r.type)?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+o.raw,r.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):e.push(o);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t){var e,r;let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=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(o));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(o));)n=a[2]?a[2].length:0,o=o.slice(0,a.index+n)+"["+"a".repeat(a[0].length-n-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=null!==(e=null===(r=this.options.hooks)||void 0===r||null===(r=r.emStrongMask)||void 0===r?void 0:r.call({lexer:this},o))&&void 0!==e?e:o;let s=!1,l="";for(;t;){var A,c;let e;if(s||(l=""),s=!1,null!==(A=this.options.extensions)&&void 0!==A&&null!==(A=A.inline)&&void 0!==A&&A.some(r=>!!(e=r.call({lexer:this},t,i))&&(t=t.substring(e.raw.length),i.push(e),!0)))continue;if(e=this.tokenizer.escape(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.tag(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.link(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(e.raw.length);let r=i.at(-1);"text"===e.type&&"text"===(null===r||void 0===r?void 0:r.type)?(r.raw+=e.raw,r.text+=e.text):i.push(e);continue}if(e=this.tokenizer.emStrong(t,o,l)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.codespan(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.br(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.del(t)){t=t.substring(e.raw.length),i.push(e);continue}if(e=this.tokenizer.autolink(t)){t=t.substring(e.raw.length),i.push(e);continue}if(!this.state.inLink&&(e=this.tokenizer.url(t))){t=t.substring(e.raw.length),i.push(e);continue}let r=t;if(null!==(c=this.options.extensions)&&void 0!==c&&c.startInline){let e,n=1/0,i=t.slice(1);this.options.extensions.startInline.forEach(t=>{e=t.call({lexer:this},i),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),n<1/0&&n>=0&&(r=t.substring(0,n+1))}if(e=this.tokenizer.inlineText(r)){t=t.substring(e.raw.length),"_"!==e.raw.slice(-1)&&(l=e.raw.slice(-1)),s=!0;let r=i.at(-1);"text"===(null===r||void 0===r?void 0:r.type)?(r.raw+=e.raw,r.text+=e.text):i.push(e);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return i}},It=class{constructor(t){(0,F.A)(this,"options",void 0),(0,F.A)(this,"parser",void 0),this.options=t||E}space(t){return""}code(t){var e;let{text:r,lang:n,escaped:i}=t,o=null===(e=(n||"").match(U.notSpaceStart))||void 0===e?void 0:e[0],a=r.replace(U.endingNewline,"")+"\n";return o?'
'+(i?a:Et(a,!0))+"
\n":"
"+(i?a:Et(a,!0))+"
\n"}blockquote(t){let{tokens:e}=t;return"
\n".concat(this.parser.parse(e),"
\n")}html(t){let{text:e}=t;return e}def(t){return""}heading(t){let{tokens:e,depth:r}=t;return"").concat(this.parser.parseInline(e),"\n")}hr(t){return"
\n"}list(t){let e=t.ordered,r=t.start,n="";for(let o=0;o\n"+n+"\n"}listitem(t){let e="";if(t.task){var r;let n=this.checkbox({checked:!!t.checked});t.loose?"paragraph"===(null===(r=t.tokens[0])||void 0===r?void 0:r.type)?(t.tokens[0].text=n+" "+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=n+" "+Et(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),"
  • ".concat(e,"
  • \n")}checkbox(t){let{checked:e}=t;return"'}paragraph(t){let{tokens:e}=t;return"

    ".concat(this.parser.parseInline(e),"

    \n")}table(t){let e="",r="";for(let i=0;i")),"\n\n"+e+"\n"+n+"
    \n"}tablerow(t){let{text:e}=t;return"\n".concat(e,"\n")}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?"<".concat(r,' align="').concat(t.align,'">'):"<".concat(r,">"))+e+"\n")}strong(t){let{tokens:e}=t;return"".concat(this.parser.parseInline(e),"")}em(t){let{tokens:e}=t;return"".concat(this.parser.parseInline(e),"")}codespan(t){let{text:e}=t;return"".concat(Et(e,!0),"")}br(t){return"
    "}del(t){let{tokens:e}=t;return"".concat(this.parser.parseInline(e),"")}link(t){let{href:e,title:r,tokens:n}=t,i=this.parser.parseInline(n),o=St(e);if(null===o)return i;e=o;let a='
    ",a}image(t){let{href:e,title:r,text:n,tokens:i}=t;i&&(n=this.parser.parseInline(i,this.parser.textRenderer));let o=St(e);if(null===o)return Et(n);e=o;let a='').concat(n,'1&&void 0!==arguments[1])||arguments[1],r="";for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:this.renderer,r="";for(let i=0;i{let i=t[n].flat(1/0);r=r.concat(this.walkTokens(i,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(){var t=this;let e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var r=arguments.length,i=new Array(r),o=0;o{let i=(0,n.A)({},r);if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];e.renderers[t.name]=r?function(){for(var e=arguments.length,n=new Array(e),i=0;i{if(this.defaults.async&&Qt.passThroughHooksRespectAsync.has(n))return(async()=>{let r=await o.call(e,t);return a.call(e,r)})();let r=o.call(e,t);return a.call(e,r)}:e[i]=function(){for(var r=arguments.length,n=new Array(r),i=0;i{let t=await o.apply(e,n);return!1===t&&(t=await a.apply(e,n)),t})();let s=o.apply(e,n);return!1===s&&(s=a.apply(e,n)),s}}i.hooks=e}if(r.walkTokens){let t=this.defaults.walkTokens,e=r.walkTokens;i.walkTokens=function(r){let n=[];return n.push(e.call(this,r)),t&&(n=n.concat(t.call(this,r))),n}}this.defaults=(0,n.A)((0,n.A)({},this.defaults),i)}),this}setOptions(t){return this.defaults=(0,n.A)((0,n.A)({},this.defaults),t),this}lexer(t,e){return Ot.lex(t,null!==e&&void 0!==e?e:this.defaults)}parser(t,e){return Mt.parse(t,null!==e&&void 0!==e?e:this.defaults)}parseMarkdown(t){return(e,r)=>{let i=(0,n.A)({},r),o=(0,n.A)((0,n.A)({},this.defaults),i),a=this.onError(!!o.silent,!!o.async);if(!0===this.defaults.async&&!1===i.async)return a(new 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 a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=t),o.async)return(async()=>{let r=o.hooks?await o.hooks.preprocess(e):e,n=await(o.hooks?await o.hooks.provideLexer():t?Ot.lex:Ot.lexInline)(r,o),i=o.hooks?await o.hooks.processAllTokens(n):n;o.walkTokens&&await Promise.all(this.walkTokens(i,o.walkTokens));let a=await(o.hooks?await o.hooks.provideParser():t?Mt.parse:Mt.parseInline)(i,o);return o.hooks?await o.hooks.postprocess(a):a})().catch(a);try{o.hooks&&(e=o.hooks.preprocess(e));let r=(o.hooks?o.hooks.provideLexer():t?Ot.lex:Ot.lexInline)(e,o);o.hooks&&(r=o.hooks.processAllTokens(r)),o.walkTokens&&this.walkTokens(r,o.walkTokens);let n=(o.hooks?o.hooks.provideParser():t?Mt.parse:Mt.parseInline)(r,o);return o.hooks&&(n=o.hooks.postprocess(n)),n}catch(s){return a(s)}}}onError(t,e){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="

    An error occurred:

    "+Et(r.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function jt(t,e){return Pt.parse(t,e)}jt.options=jt.setOptions=function(t){return Pt.setOptions(t),jt.defaults=Pt.defaults,S(jt.defaults),jt},jt.getDefaults=D,jt.defaults=E,jt.use=function(){return Pt.use(...arguments),jt.defaults=Pt.defaults,S(jt.defaults),jt},jt.walkTokens=function(t,e){return Pt.walkTokens(t,e)},jt.parseInline=Pt.parseInline,jt.Parser=Mt,jt.parser=Mt.parse,jt.Renderer=It,jt.TextRenderer=Nt,jt.Lexer=Ot,jt.lexer=Ot.lex,jt.Tokenizer=Ut,jt.Hooks=Qt,jt.parse=jt;jt.options,jt.setOptions,jt.use,jt.walkTokens,jt.parseInline,Mt.parse,Ot.lex;var Rt=r(97330),Ht={body:'?',height:80,width:80},Kt=new Map,zt=new Map,qt=(0,a.K2)(t=>{for(const e of t){if(!e.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(a.Rm.debug("Registering icon pack:",e.name),"loader"in e)zt.set(e.name,e.loader);else{if(!("icons"in e))throw a.Rm.error("Invalid icon loader:",e),new Error('Invalid icon loader. Must have either "icons" or "loader" property.');Kt.set(e.name,e.icons)}}},"registerIconPacks"),Wt=(0,a.K2)(async(t,e)=>{const r=function(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const i=t.split(":");if("@"===t.slice(0,1)){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const t=i.pop(),r=i.pop(),o={provider:i.length>0?i[0]:n,prefix:r,name:t};return e&&!s(o)?null:o}const o=i[0],a=o.split("-");if(a.length>1){const t={provider:n,prefix:a.shift(),name:a.join("-")};return e&&!s(t)?null:t}if(r&&""===n){const t={provider:n,prefix:"",name:o};return e&&!s(t,r)?null:t}return null}(t,!0,void 0!==e);if(!r)throw new Error("Invalid icon name: ".concat(t));const i=r.prefix||e;if(!i)throw new Error("Icon name must contain a prefix: ".concat(t));let o=Kt.get(i);if(!o){const t=zt.get(i);if(!t)throw new Error("Icon set not found: ".concat(r.prefix));try{const e=await t();o=(0,n.A)((0,n.A)({},e),{},{prefix:i}),Kt.set(i,o)}catch(A){throw a.Rm.error(A),new Error("Failed to load icon set: ".concat(r.prefix))}}const l=f(o,r.name);if(!l)throw new Error("Icon not found: ".concat(t));return l},"getRegisteredIconData"),Vt=(0,a.K2)(async t=>{try{return await Wt(t),!0}catch(e){return!1}},"isIconAvailable"),Gt=(0,a.K2)(async(t,e,r)=>{let i;try{i=await Wt(t,null===e||void 0===e?void 0:e.fallbackPrefix)}catch(A){a.Rm.error(A),i=Ht}const s=function(t,e){const r=(0,n.A)((0,n.A)({},c),t),i=(0,n.A)((0,n.A)({},g),e),o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,i].forEach(t=>{const e=[],r=t.hFlip,n=t.vFlip;let i,s=t.rotate;switch(r?n?s+=2:(e.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),e.push("scale(-1 1)"),o.top=o.left=0):n&&(e.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),e.push("scale(1 -1)"),o.top=o.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:i=o.height/2+o.top,e.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:e.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:i=o.width/2+o.left,e.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}s%2===1&&(o.left!==o.top&&(i=o.left,o.left=o.top,o.top=i),o.width!==o.height&&(i=o.width,o.width=o.height,o.height=i)),e.length&&(a=function(t,e,r){const n=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"defs",r="";const n=t.indexOf("<"+e);for(;n>=0;){const i=t.indexOf(">",n),o=t.indexOf("",o);if(-1===a)break;r+=t.slice(i+1,o).trim(),t=t.slice(0,n).trim()+t.slice(a+1)}return{defs:r,content:t}}(t);return i=n.defs,o=e+n.content+r,i?""+i+""+o:o;var i,o}(a,'',""))});const s=i.width,l=i.height,A=o.width,u=o.height;let h,d;null===s?(d=null===l?"1em":"auto"===l?u:l,h=v(d,A/u)):(h="auto"===s?A:s,d=null===l?v(h,u/A):"auto"===l?u:l);const f={},p=(t,e)=>{(t=>"unset"===t||"undefined"===t||"none"===t)(e)||(f[t]=e.toString())};p("width",h),p("height",d);const m=[o.left,o.top,A,u];return f.viewBox=m.join(" "),{attributes:f,viewBox:m,body:a}}(i,e),l=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in e)r+=" "+n+'="'+e[n]+'"';return'"+t+""}(C(s.body),(0,n.A)((0,n.A)({},s.attributes),r));return(0,o.jZ)(l,(0,o.zj)())},"getIconSVG");function Xt(t,e){let{markdownAutoWrap:r}=e;const n=t.replace(//g,"\n").replace(/\n{2,}/g,"\n");return(0,Rt.T)(n)}function Yt(t){return t.split(/\\n|\n|/gi).map(t=>{var e,r;return null!==(e=null===(r=t.trim().match(/<[^>]+>|[^\s<>]+/g))||void 0===r?void 0:r.map(t=>({content:t,type:"normal"})))&&void 0!==e?e:[]})}function Jt(t){const e=Xt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),r=jt.lexer(e),n=[[]];let i=0;function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";if("text"===t.type){t.text.split("\n").forEach((t,r)=>{0!==r&&(i++,n.push([])),t.split(" ").forEach(t=>{(t=t.replace(/'/g,"'"))&&n[i].push({content:t,type:e})})})}else"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{o(e,t.type)}):"html"===t.type&&n[i].push({content:t.text,type:"normal"})}return(0,a.K2)(o,"processNode"),r.forEach(t=>{var e;"paragraph"===t.type?null===(e=t.tokens)||void 0===e||e.forEach(t=>{o(t)}):"html"===t.type?n[i].push({content:t.text,type:"normal"}):n[i].push({content:t.raw,type:"normal"})}),n}function Zt(t){return t?"

    ".concat(t.replace(/\\n|\n/g,"
    "),"

    "):""}function $t(t){let{markdownAutoWrap:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=jt.lexer(t);function n(t){return"text"===t.type?!1===e?t.text.replace(/\n */g,"
    ").replace(/ /g," "):t.text.replace(/\n */g,"
    "):"strong"===t.type?"".concat(null===(r=t.tokens)||void 0===r?void 0:r.map(n).join(""),""):"em"===t.type?"".concat(null===(i=t.tokens)||void 0===i?void 0:i.map(n).join(""),""):"paragraph"===t.type?"

    ".concat(null===(o=t.tokens)||void 0===o?void 0:o.map(n).join(""),"

    "):"space"===t.type?"":"html"===t.type?"".concat(t.text):"escape"===t.type?t.text:(a.Rm.warn("Unsupported markdown: ".concat(t.type)),t.raw);var r,i,o}return(0,a.K2)(n,"output"),r.map(n).join("")}function te(t){return Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map(t=>t.segment):[...t]}function ee(t,e){return re(t,[],te(e.content),e.type)}function re(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];const[i,...o]=r,a=[...e,i];return t([{content:a.join(""),type:n}])?re(t,a,o,n):(0===e.length&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function ne(t,e){if(t.some(t=>{let{content:e}=t;return e.includes("\n")}))throw new Error("splitLineToFitWidth does not support newlines in the line");return ie(t,e)}function ie(t,e){var r;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(0===t.length)return i.length>0&&n.push(i),n.length>0?n:[];let o="";" "===t[0].content&&(o=" ",t.shift());const a=null!==(r=t.shift())&&void 0!==r?r:{content:" ",type:"normal"},s=[...i];if(""!==o&&s.push({content:o,type:"normal"}),s.push(a),e(s))return ie(t,e,n,s);if(i.length>0)n.push(i),t.unshift(a);else if(a.content){const[r,i]=ee(e,a);n.push([r]),i.content&&t.unshift(i)}return ie(t,e,n)}function oe(t,e){e&&t.attr("style",e)}(0,a.K2)(Xt,"preprocessMarkdown"),(0,a.K2)(Yt,"nonMarkdownToLines"),(0,a.K2)(Jt,"markdownToLines"),(0,a.K2)(Zt,"nonMarkdownToHTML"),(0,a.K2)($t,"markdownToHTML"),(0,a.K2)(te,"splitTextToChars"),(0,a.K2)(ee,"splitWordToFitWidth"),(0,a.K2)(re,"splitWordToFitWidthRecursion"),(0,a.K2)(ne,"splitLineToFitWidth"),(0,a.K2)(ie,"splitLineToFitWidthRecursion"),(0,a.K2)(oe,"applyStyle");async function ae(t,e,r,n){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:(0,o.zj)();const s=t.append("foreignObject");s.attr("width","".concat(Math.min(10*r,16384),"px")),s.attr("height","".concat(Math.min(10*r,16384),"px"));const l=s.append("xhtml:div"),A=(0,o.Wi)(e.label)?await(0,o.dj)(e.label.replace(o.Y2.lineBreakRegex,"\n"),a):(0,o.jZ)(e.label,a),c=e.isNode?"nodeLabel":"edgeLabel",u=l.append("span");u.html(A),oe(u,e.labelStyle),u.attr("class","".concat(c," ").concat(n)),oe(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),r!==Number.POSITIVE_INFINITY&&(l.style("max-width",r+"px"),l.style("text-align","center")),l.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&l.attr("class","labelBkg");let h=l.node().getBoundingClientRect();return h.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),h=l.node().getBoundingClientRect()),s.node()}function se(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em");return n&&i.attr("text-anchor","middle"),i}function le(t,e,r){const n=t.append("text"),i=se(n,1,e);he(i,r);const o=i.node().getComputedTextLength();return n.remove(),o}function Ae(t,e,r){var n;const i=t.append("text"),o=se(i,1,e);he(o,[{content:r,type:"normal"}]);const a=null===(n=o.node())||void 0===n?void 0:n.getBoundingClientRect();return a&&i.remove(),a}function ce(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const o=e.append("g"),s=o.insert("rect").attr("class","background").attr("style","stroke: none"),l=o.append("text").attr("y","-10.1");i&&l.attr("text-anchor","middle");let A=0;for(const c of r){const e=(0,a.K2)(e=>le(o,1.1,e)<=t,"checkWidth"),r=e(c)?[c]:ne(c,e);for(const t of r){he(se(l,A,1.1,i),t),A++}}if(n){const t=l.node().getBBox(),e=2;return s.attr("x",t.x-e).attr("y",t.y-e).attr("width",t.width+2*e).attr("height",t.height+2*e),o.node()}return l.node()}function ue(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 he(t,e){t.text(""),e.forEach((e,r)=>{const 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(ue(e.content)):n.text(" "+ue(e.content))})}async function de(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,n,i)=>(r.push((async()=>{const r="".concat(n,":").concat(i);return await Vt(r)?await Gt(r,void 0,{class:"label-icon"}):"")})()),t));const n=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>{var t;return null!==(t=n.shift())&&void 0!==t?t:""})}(0,a.K2)(ae,"addHtmlSpan"),(0,a.K2)(se,"createTspan"),(0,a.K2)(le,"computeWidthOfText"),(0,a.K2)(Ae,"computeDimensionOfText"),(0,a.K2)(ce,"createFormattedText"),(0,a.K2)(ue,"decodeHTMLEntities"),(0,a.K2)(he,"updateTextContentAndStyles"),(0,a.K2)(de,"replaceIconSubstring");var fe=(0,a.K2)(async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{style:r="",isTitle:n=!1,classes:s="",useHtmlLabels:l=!0,markdown:A=!0,isNode:c=!0,width:u=200,addSvgBackground:h=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=arguments.length>3?arguments[3]:void 0;if(a.Rm.debug("XYZ createText",e,r,n,s,l,c,"addSvgBackground: ",h),l){const n=A?$t(e,d):Zt(e),a=await de((0,i.Sm)(n),d),l=e.replace(/\\\\/g,"\\"),f={isNode:c,label:(0,o.Wi)(e)?l:a,labelStyle:r.replace("fill:","color:")};return await ae(t,f,u,s,h,d)}{const o=(0,i.Sm)(e.replace(//g,"
    ")),a=ce(u,t,A?Jt(o.replace("
    ","
    "),d):Yt(o),!!e&&h,!c);if(c){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,x.Ltv)(a).attr("style",t)}else{const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,x.Ltv)(a).select("rect").attr("style",t.replace(/background:/g,"fill:"));const e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,x.Ltv)(a).select("text").attr("style",e)}return n?(0,x.Ltv)(a).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,x.Ltv)(a).selectAll("tspan.text-outer-tspan").classed("row",!0),a}},"createText")},63757(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isTypedArray=function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}},63808(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(98268),i=r(15261);e.matches=function(t){return t=i.cloneDeep(t),e=>n.isMatch(e,t)}},63821(t,e,r){t.exports=r(82204).sortBy},64067(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(14802),i=r(37664);const o=function(t){if(!(0,i.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},64830(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=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},64943(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(54306),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?n.A.Buffer:void 0,s=a?a.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},64980(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(82284);function i(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=(0,n.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,n.A)(e)?e:e+""}function o(t,e,r){return(e=i(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},65043(t,e,r){"use strict";t.exports=r(44288)},65239(t){t.exports=function(){"use strict";var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)};function e(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=55296&&i<=56319&&r>10),a%1024+56320)),(i+1===r||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),d=0;d>4,c[l++]=(15&n)<<4|i>>2,c[l++]=(3&i)<<6|63&o;return A},y=function(t){for(var e=t.length,r=[],n=0;n>b,x=(1<>b)+32,k=65536>>w,D=(1<=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>b])<>b)])<>w),e=this.index[e],e+=t>>b&D,e=((e=this.index[e])<I?(i.push(!0),a-=I):i.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return n.push(o),r.push(Y);if(a===P||a===q){if(0===o)return n.push(o),r.push(ct);var s=r[o-1];return-1===Ut.indexOf(s)?(n.push(n[o-1]),r.push(s)):(n.push(o),r.push(ct))}return n.push(o),a===ut?r.push("strict"===e?et:mt):a===Ct||a===At?r.push(ct):a===Bt?t>=131072&&t<=196605||t>=196608&&t<=262141?r.push(mt):r.push(ct):void r.push(a)}),[n,r,i]},Mt=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?-1!==t.indexOf(i):t===i)for(var o=r;o<=n.length;){if((l=n[++o])===e)return!0;if(l!==z)break}if(i===z)for(o=r;o>0;){var a=n[--o];if(Array.isArray(t)?-1!==t.indexOf(a):t===a)for(var s=r;s<=n.length;){var l;if((l=n[++s])===e)return!0;if(l!==z)break}if(a!==z)break}return!1},Qt=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n!==z)return n;r--}return 0},Pt=function(t,e,r,n,i){if(0===r[n])return kt;var o=n-1;if(Array.isArray(i)&&!0===i[o])return kt;var a=o-1,s=o+1,l=e[o],A=a>=0?e[a]:0,c=e[s];if(l===M&&c===Q)return kt;if(-1!==_t.indexOf(l))return Ft;if(-1!==_t.indexOf(c))return kt;if(-1!==Tt.indexOf(c))return kt;if(Qt(o,e)===H)return Dt;if(Et.get(t[o])===q)return kt;if((l===ht||l===dt)&&Et.get(t[s])===q)return kt;if(l===R||c===R)return kt;if(l===K)return kt;if(-1===[z,V,X].indexOf(l)&&c===K)return kt;if(-1!==[J,Z,$,it,lt].indexOf(c))return kt;if(Qt(o,e)===rt)return kt;if(Mt(nt,rt,o,e))return kt;if(Mt([J,Z],et,o,e))return kt;if(Mt(W,W,o,e))return kt;if(l===z)return Dt;if(l===nt||c===nt)return kt;if(c===Y||l===Y)return Dt;if(-1!==[V,X,et].indexOf(c)||l===G)return kt;if(A===gt&&-1!==It.indexOf(l))return kt;if(l===lt&&c===gt)return kt;if(c===tt)return kt;if(-1!==St.indexOf(c)&&l===ot||-1!==St.indexOf(l)&&c===ot)return kt;if(l===st&&-1!==[mt,ht,dt].indexOf(c)||-1!==[mt,ht,dt].indexOf(l)&&c===at)return kt;if(-1!==St.indexOf(l)&&-1!==Lt.indexOf(c)||-1!==Lt.indexOf(l)&&-1!==St.indexOf(c))return kt;if(-1!==[st,at].indexOf(l)&&(c===ot||-1!==[rt,X].indexOf(c)&&e[s+1]===ot)||-1!==[rt,X].indexOf(l)&&c===ot||l===ot&&-1!==[ot,lt,it].indexOf(c))return kt;if(-1!==[ot,lt,it,J,Z].indexOf(c))for(var u=o;u>=0;){if((h=e[u])===ot)return kt;if(-1===[lt,it].indexOf(h))break;u--}if(-1!==[st,at].indexOf(c))for(u=-1!==[J,Z].indexOf(l)?a:o;u>=0;){var h;if((h=e[u])===ot)return kt;if(-1===[lt,it].indexOf(h))break;u--}if(yt===l&&-1!==[yt,vt,ft,pt].indexOf(c)||-1!==[vt,ft].indexOf(l)&&-1!==[vt,bt].indexOf(c)||-1!==[bt,pt].indexOf(l)&&c===bt)return kt;if(-1!==Ot.indexOf(l)&&-1!==[tt,at].indexOf(c)||-1!==Ot.indexOf(c)&&l===st)return kt;if(-1!==St.indexOf(l)&&-1!==St.indexOf(c))return kt;if(l===it&&-1!==St.indexOf(c))return kt;if(-1!==St.concat(ot).indexOf(l)&&c===rt&&-1===xt.indexOf(t[s])||-1!==St.concat(ot).indexOf(c)&&l===Z)return kt;if(l===wt&&c===wt){for(var d=r[o],f=1;d>0&&e[--d]===wt;)f++;if(f%2!==0)return kt}return l===ht&&c===dt?kt:Dt},jt=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=Nt(t,e.lineBreak),n=r[0],i=r[1],o=r[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(i=i.map(function(t){return-1!==[ot,ct,Ct].indexOf(t)?mt:t}));var a="keep-all"===e.wordBreak?o.map(function(e,r){return e&&t[r]>=19968&&t[r]<=40959}):void 0;return[n,i,a]},Rt=function(){function t(t,e,r,n){this.codePoints=t,this.required=e===Ft,this.start=r,this.end=n}return t.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Ht=function(t,e){var r=A(t),n=jt(r,e),i=n[0],o=n[1],a=n[2],s=r.length,l=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};for(var t=kt;c=Ie&&t<=57},Ve=function(t){return t>=55296&&t<=57343},Ge=function(t){return We(t)||t>=Re&&t<=Ke||t>=Ne&&t<=Qe},Xe=function(t){return t>=Ne&&t<=je},Ye=function(t){return t>=Re&&t<=qe},Je=function(t){return Xe(t)||Ye(t)},Ze=function(t){return t>=be},$e=function(t){return t===Vt||t===Yt||t===Jt},tr=function(t){return Je(t)||Ze(t)||t===ae},er=function(t){return tr(t)||We(t)||t===se},rr=function(t){return t>=Ee&&t<=Se||t===_e||t>=Te&&t<=Le||t===Ue},nr=function(t,e){return t===Xt&&e!==Vt},ir=function(t,e,r){return t===se?tr(e)||nr(e,r):!!tr(t)||!(t!==Xt||!nr(t,e))},or=function(t,e,r){return t===Be||t===se?!!We(e)||e===De&&We(r):We(t===De?e:t)},ar=function(t){var e=0,r=1;t[e]!==Be&&t[e]!==se||(t[e]===se&&(r=-1),e++);for(var n=[];We(t[e]);)n.push(t[e++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;t[e]===De&&e++;for(var o=[];We(t[e]);)o.push(t[e++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;t[e]!==He&&t[e]!==Me||e++;var l=1;t[e]!==Be&&t[e]!==se||(t[e]===se&&(l=-1),e++);for(var A=[];We(t[e]);)A.push(t[e++]);var u=A.length?parseInt(c.apply(void 0,A),10):0;return r*(i+s*Math.pow(10,-a))*Math.pow(10,l*u)},sr={type:2},lr={type:3},Ar={type:4},cr={type:13},ur={type:8},hr={type:21},dr={type:9},fr={type:10},pr={type:11},gr={type:12},mr={type:14},yr={type:23},vr={type:1},br={type:25},wr={type:24},Cr={type:26},Br={type:27},xr={type:28},Fr={type:29},kr={type:31},Dr={type:32},Er=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(A(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Dr;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case Zt:return this.consumeStringToken(Zt);case te:var e=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(er(e)||nr(r,n)){var i=ir(e,r,n)?zt:Kt;return{type:5,value:this.consumeName(),flags:i}}break;case ee:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),cr;break;case ne:return this.consumeStringToken(ne);case ie:return sr;case oe:return lr;case Ce:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),mr;break;case Be:if(or(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case xe:return Ar;case se:var o=t,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(or(o,a,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(ir(o,a,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(a===se&&s===ce)return this.consumeCodePoint(),this.consumeCodePoint(),wr;break;case De:if(or(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case Gt:if(this.peekCodePoint(0)===Ce)for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(l===Ce&&(l=this.consumeCodePoint())===Gt)return this.consumeToken();if(l===Oe)return this.consumeToken()}break;case Fe:return Cr;case ke:return Br;case Ae:if(this.peekCodePoint(0)===le&&this.peekCodePoint(1)===se&&this.peekCodePoint(2)===se)return this.consumeCodePoint(),this.consumeCodePoint(),br;break;case ue:var A=this.peekCodePoint(0),u=this.peekCodePoint(1),h=this.peekCodePoint(2);if(ir(A,u,h))return{type:7,value:this.consumeName()};break;case he:return xr;case Xt:if(nr(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case de:return Fr;case fe:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),ur;break;case pe:return pr;case me:return gr;case Pe:case ze:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==Be||!Ge(f)&&f!==ge||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case ye:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),dr;if(this.peekCodePoint(0)===ye)return this.consumeCodePoint(),hr;break;case ve:if(this.peekCodePoint(0)===$t)return this.consumeCodePoint(),fr;break;case Oe:return Dr}return $e(t)?(this.consumeWhiteSpace(),kr):We(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):tr(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:c(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return"undefined"===typeof t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();Ge(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var r=!1;e===ge&&t.length<6;)t.push(e),e=this.consumeCodePoint(),r=!0;if(r)return{type:30,start:parseInt(c.apply(void 0,t.map(function(t){return t===ge?Ie:t})),16),end:parseInt(c.apply(void 0,t.map(function(t){return t===ge?Ke:t})),16)};var n=parseInt(c.apply(void 0,t),16);if(this.peekCodePoint(0)===se&&Ge(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var i=[];Ge(e)&&i.length<6;)i.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(c.apply(void 0,i),16)}}return{type:30,start:n,end:n}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&this.peekCodePoint(0)===ie?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ie?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Oe)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===ne||e===Zt){var r=this.consumeStringToken(this.consumeCodePoint());return 0===r.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Oe||this.peekCodePoint(0)===oe)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),yr)}for(;;){var n=this.consumeCodePoint();if(n===Oe||n===oe)return{type:22,value:c.apply(void 0,t)};if($e(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Oe||this.peekCodePoint(0)===oe?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,t)}):(this.consumeBadUrlRemnants(),yr);if(n===Zt||n===ne||n===ie||rr(n))return this.consumeBadUrlRemnants(),yr;if(n===Xt){if(!nr(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),yr;t.push(this.consumeEscapedCodePoint())}else t.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;$e(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===oe||t===Oe)return;nr(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e=5e4,r="";t>0;){var n=Math.min(e,t);r+=c.apply(void 0,this._value.splice(0,n)),t-=n}return this._value.shift(),r},t.prototype.consumeStringToken=function(t){for(var e="",r=0;;){var n=this._value[r];if(n===Oe||void 0===n||n===t)return{type:0,value:e+=this.consumeStringSlice(r)};if(n===Vt)return this._value.splice(0,r),vr;if(n===Xt){var i=this._value[r+1];i!==Oe&&void 0!==i&&(i===Vt?(e+=this.consumeStringSlice(r),r=-1,this._value.shift()):nr(n,i)&&(e+=this.consumeStringSlice(r),e+=c(this.consumeEscapedCodePoint()),r=-1))}r++}},t.prototype.consumeNumber=function(){var t=[],e=qt,r=this.peekCodePoint(0);for(r!==Be&&r!==se||t.push(this.consumeCodePoint());We(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===De&&We(n))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Wt;We(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===He||r===Me)&&((n===Be||n===se)&&We(i)||We(n)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=Wt;We(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[ar(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],r=t[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return ir(n,i,o)?{type:15,number:e,flags:r,unit:this.consumeName()}:n===re?(this.consumeCodePoint(),{type:16,number:e,flags:r}):{type:17,number:e,flags:r}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Ge(t)){for(var e=c(t);Ge(this.peekCodePoint(0))&&e.length<6;)e+=c(this.consumeCodePoint());$e(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(e,16);return 0===r||Ve(r)||r>1114111?we:r}return t===Oe?we:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(er(e))t+=c(e);else{if(!nr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=c(this.consumeEscapedCodePoint())}}},t}(),Sr=function(){function t(t){this._tokens=t}return t.create=function(e){var r=new Er;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();31===t.type;)t=this.consumeToken();if(32===t.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(31===t.type);if(32===t.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(32===e.type)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},r=this.consumeToken();;){if(32===r.type||Qr(r,t))return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue()),r=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:18};;){var r=this.consumeToken();if(32===r.type||3===r.type)return e;this.reconsumeToken(r),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return"undefined"===typeof t?Dr:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),_r=function(t){return 15===t.type},Tr=function(t){return 17===t.type},Lr=function(t){return 20===t.type},Ur=function(t){return 0===t.type},Or=function(t,e){return Lr(t)&&t.value===e},Ir=function(t){return 31!==t.type},Nr=function(t){return 31!==t.type&&4!==t.type},Mr=function(t){var e=[],r=[];return t.forEach(function(t){if(4===t.type){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(r),void(r=[])}31!==t.type&&r.push(t)}),r.length&&e.push(r),e},Qr=function(t,e){return 11===e&&12===t.type||28===e&&29===t.type||2===e&&3===t.type},Pr=function(t){return 17===t.type||15===t.type},jr=function(t){return 16===t.type||Pr(t)},Rr=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Hr={type:17,number:0,flags:qt},Kr={type:16,number:50,flags:qt},zr={type:16,number:100,flags:qt},qr=function(t,e,r){var n=t[0],i=t[1];return[Wr(n,e),Wr("undefined"!==typeof i?i:n,r)]},Wr=function(t,e){if(16===t.type)return t.number/100*e;if(_r(t))switch(t.unit){case"rem":case"em":return 16*t.number;default:return t.number}return t.number},Vr="deg",Gr="grad",Xr="rad",Yr="turn",Jr={name:"angle",parse:function(t,e){if(15===e.type)switch(e.unit){case Vr:return Math.PI*e.number/180;case Gr:return Math.PI/200*e.number;case Xr:return e.number;case Yr:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")}},Zr=function(t){return 15===t.type&&(t.unit===Vr||t.unit===Gr||t.unit===Xr||t.unit===Yr)},$r=function(t){switch(t.filter(Lr).map(function(t){return t.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Hr,Hr];case"to top":case"bottom":return tn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Hr,zr];case"to right":case"left":return tn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[zr,zr];case"to bottom":case"top":return tn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[zr,Hr];case"to left":case"right":return tn(270)}return 0},tn=function(t){return Math.PI*t/180},en={name:"color",parse:function(t,e){if(18===e.type){var r=cn[e.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return r(t,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),i=e.value.substring(1,2),o=e.value.substring(2,3);return on(parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===e.value.length){n=e.value.substring(0,1),i=e.value.substring(1,2),o=e.value.substring(2,3);var a=e.value.substring(3,4);return on(parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),i=e.value.substring(2,4),o=e.value.substring(4,6),on(parseInt(n,16),parseInt(i,16),parseInt(o,16),1);if(8===e.value.length)return n=e.value.substring(0,2),i=e.value.substring(2,4),o=e.value.substring(4,6),a=e.value.substring(6,8),on(parseInt(n,16),parseInt(i,16),parseInt(o,16),parseInt(a,16)/255)}if(20===e.type){var s=hn[e.value.toUpperCase()];if("undefined"!==typeof s)return s}return hn.TRANSPARENT}},rn=function(t){return 0===(255&t)},nn=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+n+","+r+","+e/255+")":"rgb("+i+","+n+","+r+")"},on=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(255*n))>>>0},an=function(t,e){if(17===t.type)return t.number;if(16===t.type){var r=3===e?1:255;return 3===e?t.number/100*r:Math.round(t.number/100*r)}return 0},sn=function(t,e){var r=e.filter(Nr);if(3===r.length){var n=r.map(an),i=n[0],o=n[1],a=n[2];return on(i,o,a,1)}if(4===r.length){var s=r.map(an),l=(i=s[0],o=s[1],a=s[2],s[3]);return on(i,o,a,l)}return 0};function ln(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<.5?e:r<2/3?6*(e-t)*(2/3-r)+t:t}var An=function(t,e){var r=e.filter(Nr),n=r[0],i=r[1],o=r[2],a=r[3],s=(17===n.type?tn(n.number):Jr.parse(t,n))/(2*Math.PI),l=jr(i)?i.number/100:0,A=jr(o)?o.number/100:0,c="undefined"!==typeof a&&jr(a)?Wr(a,1):1;if(0===l)return on(255*A,255*A,255*A,1);var u=A<=.5?A*(l+1):A+l-A*l,h=2*A-u,d=ln(h,u,s+1/3),f=ln(h,u,s),p=ln(h,u,s-1/3);return on(255*d,255*f,255*p,c)},cn={hsl:An,hsla:An,rgb:sn,rgba:sn},un=function(t,e){return en.parse(t,Sr.create(e).parseComponentValue())},hn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},dn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(t){if(Lr(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},fn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pn=function(t,e){var r=en.parse(t,e[0]),n=e[1];return n&&jr(n)?{color:r,stop:n}:{color:r,stop:null}},gn=function(t,e){var r=t[0],n=t[t.length-1];null===r.stop&&(r.stop=Hr),null===n.stop&&(n.stop=zr);for(var i=[],o=0,a=0;ao?i.push(l):i.push(o),o=l}else i.push(null)}var A=null;for(a=0;at.optimumDistance)?{optimumCorner:e,optimumDistance:s}:t},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},wn=function(t,e,r,n,i){var o=0,a=0;switch(t.size){case 0:0===t.shape?o=a=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):1===t.shape&&(o=Math.min(Math.abs(e),Math.abs(e-n)),a=Math.min(Math.abs(r),Math.abs(r-i)));break;case 2:if(0===t.shape)o=a=Math.min(vn(e,r),vn(e,r-i),vn(e-n,r),vn(e-n,r-i));else if(1===t.shape){var s=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(e),Math.abs(e-n)),l=bn(n,i,e,r,!0),A=l[0],c=l[1];a=s*(o=vn(A-e,(c-r)/s))}break;case 1:0===t.shape?o=a=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):1===t.shape&&(o=Math.max(Math.abs(e),Math.abs(e-n)),a=Math.max(Math.abs(r),Math.abs(r-i)));break;case 3:if(0===t.shape)o=a=Math.max(vn(e,r),vn(e,r-i),vn(e-n,r),vn(e-n,r-i));else if(1===t.shape){s=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(e),Math.abs(e-n));var u=bn(n,i,e,r,!1);A=u[0],c=u[1],a=s*(o=vn(A-e,(c-r)/s))}}return Array.isArray(t.size)&&(o=Wr(t.size[0],n),a=2===t.size.length?Wr(t.size[1],i):o),[o,a]},Cn=function(t,e){var r=tn(180),n=[];return Mr(e).forEach(function(e,i){if(0===i){var o=e[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(r=$r(e));if(Zr(o))return void(r=(Jr.parse(t,o)+tn(270))%tn(360))}var a=pn(t,e);n.push(a)}),{angle:r,stops:n,type:1}},Bn="closest-side",xn="farthest-side",Fn="closest-corner",kn="farthest-corner",Dn="circle",En="ellipse",Sn="cover",_n="contain",Tn=function(t,e){var r=0,n=3,i=[],o=[];return Mr(e).forEach(function(e,a){var s=!0;if(0===a?s=e.reduce(function(t,e){if(Lr(e))switch(e.value){case"center":return o.push(Kr),!1;case"top":case"left":return o.push(Hr),!1;case"right":case"bottom":return o.push(zr),!1}else if(jr(e)||Pr(e))return o.push(e),!1;return t},s):1===a&&(s=e.reduce(function(t,e){if(Lr(e))switch(e.value){case Dn:return r=0,!1;case En:return r=1,!1;case _n:case Bn:return n=0,!1;case xn:return n=1,!1;case Fn:return n=2,!1;case Sn:case kn:return n=3,!1}else if(Pr(e)||jr(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return t},s)),s){var l=pn(t,e);i.push(l)}}),{size:n,shape:r,stops:i,position:o,type:2}},Ln=function(t){return 1===t.type},Un=function(t){return 2===t.type},On={name:"image",parse:function(t,e){if(22===e.type){var r={url:e.value,type:0};return t.cache.addImage(e.value),r}if(18===e.type){var n=Mn[e.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function In(t){return!(20===t.type&&"none"===t.value)&&(18!==t.type||!!Mn[t.name])}var Nn,Mn={"linear-gradient":function(t,e){var r=tn(180),n=[];return Mr(e).forEach(function(e,i){if(0===i){var o=e[0];if(20===o.type&&"to"===o.value)return void(r=$r(e));if(Zr(o))return void(r=Jr.parse(t,o))}var a=pn(t,e);n.push(a)}),{angle:r,stops:n,type:1}},"-moz-linear-gradient":Cn,"-ms-linear-gradient":Cn,"-o-linear-gradient":Cn,"-webkit-linear-gradient":Cn,"radial-gradient":function(t,e){var r=0,n=3,i=[],o=[];return Mr(e).forEach(function(e,a){var s=!0;if(0===a){var l=!1;s=e.reduce(function(t,e){if(l)if(Lr(e))switch(e.value){case"center":return o.push(Kr),t;case"top":case"left":return o.push(Hr),t;case"right":case"bottom":return o.push(zr),t}else(jr(e)||Pr(e))&&o.push(e);else if(Lr(e))switch(e.value){case Dn:return r=0,!1;case En:return r=1,!1;case"at":return l=!0,!1;case Bn:return n=0,!1;case Sn:case xn:return n=1,!1;case _n:case Fn:return n=2,!1;case kn:return n=3,!1}else if(Pr(e)||jr(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return t},s)}if(s){var A=pn(t,e);i.push(A)}}),{size:n,shape:r,stops:i,position:o,type:2}},"-moz-radial-gradient":Tn,"-ms-radial-gradient":Tn,"-o-radial-gradient":Tn,"-webkit-radial-gradient":Tn,"-webkit-gradient":function(t,e){var r=tn(180),n=[],i=1,o=0,a=3,s=[];return Mr(e).forEach(function(e,r){var o=e[0];if(0===r){if(Lr(o)&&"linear"===o.value)return void(i=1);if(Lr(o)&&"radial"===o.value)return void(i=2)}if(18===o.type)if("from"===o.name){var a=en.parse(t,o.values[0]);n.push({stop:Hr,color:a})}else if("to"===o.name)a=en.parse(t,o.values[0]),n.push({stop:zr,color:a});else if("color-stop"===o.name){var s=o.values.filter(Nr);if(2===s.length){a=en.parse(t,s[1]);var l=s[0];Tr(l)&&n.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}}),1===i?{angle:(r+tn(180))%tn(360),stops:n,type:i}:{size:a,shape:o,stops:n,position:s,type:i}}},Qn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var r=e[0];return 20===r.type&&"none"===r.value?[]:e.filter(function(t){return Nr(t)&&In(t)}).map(function(e){return On.parse(t,e)})}},Pn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(t){if(Lr(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},jn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Mr(e).map(function(t){return t.filter(jr)}).map(Rr)}},Rn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Mr(e).map(function(t){return t.filter(Lr).map(function(t){return t.value}).join(" ")}).map(Hn)}},Hn=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(Nn||(Nn={}));var Kn,zn={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Mr(e).map(function(t){return t.filter(qn)})}},qn=function(t){return Lr(t)||jr(t)},Wn=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Vn=Wn("top"),Gn=Wn("right"),Xn=Wn("bottom"),Yn=Wn("left"),Jn=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(t,e){return Rr(e.filter(jr))}}},Zn=Jn("top-left"),$n=Jn("top-right"),ti=Jn("bottom-right"),ei=Jn("bottom-left"),ri=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ni=ri("top"),ii=ri("right"),oi=ri("bottom"),ai=ri("left"),si=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return _r(e)?e.number:0}}},li=si("top"),Ai=si("right"),ci=si("bottom"),ui=si("left"),hi={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},di={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){return"rtl"===e?1:0}},fi={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(Lr).reduce(function(t,e){return t|pi(e.value)},0)}},pi=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},gi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mi={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(Kn||(Kn={}));var yi,vi={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){return"strict"===e?Kn.STRICT:Kn.NORMAL}},bi={name:"line-height",initialValue:"normal",prefix:!1,type:4},wi=function(t,e){return Lr(t)&&"normal"===t.value?1.2*e:17===t.type?e*t.number:jr(t)?Wr(t,e):e},Ci={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return 20===e.type&&"none"===e.value?null:On.parse(t,e)}},Bi={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){return"inside"===e?0:1}},xi={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Fi=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},ki=Fi("top"),Di=Fi("right"),Ei=Fi("bottom"),Si=Fi("left"),_i={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(Lr).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Ti={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){return"break-word"===e?"break-word":"normal"}},Li=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ui=Li("top"),Oi=Li("right"),Ii=Li("bottom"),Ni=Li("left"),Mi={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Qi={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Pi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Or(e[0],"none")?[]:Mr(e).map(function(e){for(var r={color:hn.TRANSPARENT,offsetX:Hr,offsetY:Hr,blur:Hr},n=0,i=0;i1?1:0],this.overflowWrap=vo(t,Ti,e.overflowWrap),this.paddingTop=vo(t,Ui,e.paddingTop),this.paddingRight=vo(t,Oi,e.paddingRight),this.paddingBottom=vo(t,Ii,e.paddingBottom),this.paddingLeft=vo(t,Ni,e.paddingLeft),this.paintOrder=vo(t,ho,e.paintOrder),this.position=vo(t,Qi,e.position),this.textAlign=vo(t,Mi,e.textAlign),this.textDecorationColor=vo(t,Ji,null!==(r=e.textDecorationColor)&&void 0!==r?r:e.color),this.textDecorationLine=vo(t,Zi,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=vo(t,Pi,e.textShadow),this.textTransform=vo(t,ji,e.textTransform),this.transform=vo(t,Ri,e.transform),this.transformOrigin=vo(t,qi,e.transformOrigin),this.visibility=vo(t,Wi,e.visibility),this.webkitTextStrokeColor=vo(t,fo,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=vo(t,po,e.webkitTextStrokeWidth),this.wordBreak=vo(t,Vi,e.wordBreak),this.zIndex=vo(t,Gi,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},t.prototype.isTransparent=function(){return rn(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return 0!==this.position},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return 0!==this.float},t.prototype.isInlineLevel=function(){return io(this.display,4)||io(this.display,33554432)||io(this.display,268435456)||io(this.display,536870912)||io(this.display,67108864)||io(this.display,134217728)},t}(),mo=function(){function t(t,e){this.content=vo(t,oo,e.content),this.quotes=vo(t,Ao,e.quotes)}return t}(),yo=function(){function t(t,e){this.counterIncrement=vo(t,ao,e.counterIncrement),this.counterReset=vo(t,so,e.counterReset)}return t}(),vo=function(t,e,r){var n=new Er,i=null!==r&&"undefined"!==typeof r?r.toString():e.initialValue;n.write(i);var o=new Sr(n.read());switch(e.type){case 2:var a=o.parseComponentValue();return e.parse(t,Lr(a)?a.value:e.initialValue);case 0:return e.parse(t,o.parseComponentValue());case 1:return e.parse(t,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return Jr.parse(t,o.parseComponentValue());case"color":return en.parse(t,o.parseComponentValue());case"image":return On.parse(t,o.parseComponentValue());case"length":var s=o.parseComponentValue();return Pr(s)?s:Hr;case"length-percentage":var l=o.parseComponentValue();return jr(l)?l:Hr;case"time":return Xi.parse(t,o.parseComponentValue())}}},bo="data-html2canvas-debug",wo=function(t){switch(t.getAttribute(bo)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Co=function(t,e){var r=wo(t);return 1===r||e===r},Bo=function(){function t(t,e){this.context=t,this.textNodes=[],this.elements=[],this.flags=0,Co(e,3),this.styles=new go(t,window.getComputedStyle(e,null)),cs(e)&&(this.styles.animationDuration.some(function(t){return t>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=s(this.context,e),Co(e,4)&&(this.flags|=16)}return t}(),xo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ko="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Do=0;Do>4,c[l++]=(15&n)<<4|i>>2,c[l++]=(3&i)<<6|63&o;return A},So=function(t){for(var e=t.length,r=[],n=0;n>To,Io=(1<>To)+32,Mo=65536>>Lo,Qo=(1<=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>To])<>To)])<>Lo),e=this.index[e],e+=t>>To&Qo,e=((e=this.index[e])<=55296&&i<=56319&&r>10),a%1024+56320)),(i+1===r||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},Aa=Ro(xo),ca="\xd7",ua="\xf7",ha=function(t){return Aa.get(t)},da=function(t,e,r){var n=r-2,i=e[n],o=e[r-1],a=e[r];if(o===Go&&a===Xo)return ca;if(o===Go||o===Xo||o===Yo)return ua;if(a===Go||a===Xo||a===Yo)return ua;if(o===$o&&-1!==[$o,ta,ra,na].indexOf(a))return ca;if((o===ra||o===ta)&&(a===ta||a===ea))return ca;if((o===na||o===ea)&&a===ea)return ca;if(a===ia||a===Jo)return ca;if(a===Zo)return ca;if(o===Vo)return ca;if(o===ia&&a===oa){for(;i===Jo;)i=e[--n];if(i===oa)return ca}if(o===aa&&a===aa){for(var s=0;i===aa;)s++,i=e[--n];if(s%2===0)return ca}return ua},fa=function(t){var e=sa(t),r=e.length,n=0,i=0,o=e.map(ha);return{next:function(){if(n>=r)return{done:!0,value:null};for(var t=ca;na.x||i.y>a.y;return a=i,0===e||s});return t.body.removeChild(e),s},ya=function(){return"undefined"!==typeof(new Image).crossOrigin},va=function(){return"string"===typeof(new XMLHttpRequest).responseType},ba=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),r.toDataURL()}catch(Me){return!1}return!0},wa=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Ca=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,o=e.toDataURL();i.src=o;var a=Ba(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),xa(a).then(function(e){n.drawImage(e,0,0);var i=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var a=t.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=r+"px",wa(i)?xa(Ba(r,r,0,0,a)):Promise.reject(!1)}).then(function(t){return n.drawImage(t,0,0),wa(n.getImageData(0,0,r,r).data)}).catch(function(){return!1})},Ba=function(t,e,r,n,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",t.toString()),a.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",r.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},xa=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))})},Fa={get SUPPORT_RANGE_BOUNDS(){var t=ga(document);return Object.defineProperty(Fa,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Fa.SUPPORT_RANGE_BOUNDS&&ma(document);return Object.defineProperty(Fa,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=ba(document);return Object.defineProperty(Fa,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"===typeof Array.from&&"function"===typeof window.fetch?Ca(document):Promise.resolve(!1);return Object.defineProperty(Fa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=ya();return Object.defineProperty(Fa,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=va();return Object.defineProperty(Fa,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Fa,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Fa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},ka=function(){function t(t,e){this.text=t,this.bounds=e}return t}(),Da=function(t,e,r,n){var i=La(e,r),o=[],s=0;return i.forEach(function(e){if(r.textDecorationLine.length||e.trim().length>0)if(Fa.SUPPORT_RANGE_BOUNDS){var i=Sa(n,s,e.length).getClientRects();if(i.length>1){var l=_a(e),A=0;l.forEach(function(e){o.push(new ka(e,a.fromDOMRectList(t,Sa(n,A+s,e.length).getClientRects()))),A+=e.length})}else o.push(new ka(e,a.fromDOMRectList(t,i)))}else{var c=n.splitText(e.length);o.push(new ka(e,Ea(t,n))),n=c}else Fa.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));s+=e.length}),o},Ea=function(t,e){var r=e.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(n,e);var o=s(t,n);return n.firstChild&&i.replaceChild(n.firstChild,n),o}}return a.EMPTY},Sa=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(t,e),i.setEnd(t,e+r),i},_a=function(t){if(Fa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(t){return t.segment})}return pa(t)},Ta=function(t,e){if(Fa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(t)).map(function(t){return t.segment})}return Oa(t,e)},La=function(t,e){return 0!==e.letterSpacing?_a(t):Ta(t,e)},Ua=[32,160,4961,65792,65793,4153,4241],Oa=function(t,e){for(var r,n=Ht(t,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),i=[],o=function(){if(r.value){var t=r.value.slice(),e=A(t),n="";e.forEach(function(t){-1===Ua.indexOf(t)?n+=c(t):(n.length&&i.push(n),i.push(c(t)),n="")}),n.length&&i.push(n)}};!(r=n.next()).done;)o();return i},Ia=function(){function t(t,e,r){this.text=Na(e.data,r.textTransform),this.textBounds=Da(t,this.text,r,e)}return t}(),Na=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(Ma,Qa);case 2:return t.toUpperCase();default:return t}},Ma=/(^|\s|:|-|\(|\))([a-z])/g,Qa=function(t,e,r){return t.length>0?e+r.toUpperCase():t},Pa=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e(r,t),r}(Bo),ja=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e(r,t),r}(Bo),Ra=function(t){function r(e,r){var n=t.call(this,e,r)||this,i=new XMLSerializer,o=s(e,r);return r.setAttribute("width",o.width+"px"),r.setAttribute("height",o.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e(r,t),r}(Bo),Ha=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.value=r.value,n}return e(r,t),r}(Bo),Ka=function(t){function r(e,r){var n=t.call(this,e,r)||this;return n.start=r.start,n.reversed="boolean"===typeof r.reversed&&!0===r.reversed,n}return e(r,t),r}(Bo),za=[{type:15,flags:0,unit:"px",number:3}],qa=[{type:16,flags:0,number:50}],Wa=function(t){return t.width>t.height?new a(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width0)r.textNodes.push(new Ia(t,i,r.styles));else if(As(i))if(ks(i)&&i.assignedNodes)i.assignedNodes().forEach(function(e){return ns(t,e,r,n)});else{var a=is(t,i);a.styles.isVisible()&&(as(i,a,n)?a.flags|=4:ss(a.styles)&&(a.flags|=2),-1!==rs.indexOf(i.tagName)&&(a.flags|=8),r.elements.push(a),i.slot,i.shadowRoot?ns(t,i.shadowRoot,a,n):xs(i)||gs(i)||Fs(i)||ns(t,i,a,n))}},is=function(t,e){return bs(e)?new Pa(t,e):ys(e)?new ja(t,e):gs(e)?new Ra(t,e):hs(e)?new Ha(t,e):ds(e)?new Ka(t,e):fs(e)?new Za(t,e):Fs(e)?new $a(t,e):xs(e)?new ts(t,e):ws(e)?new es(t,e):new Bo(t,e)},os=function(t,e){var r=is(t,e);return r.flags|=4,ns(t,e,r,r),r},as=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||ms(t)&&r.styles.isTransparent()},ss=function(t){return t.isPositioned()||t.isFloating()},ls=function(t){return t.nodeType===Node.TEXT_NODE},As=function(t){return t.nodeType===Node.ELEMENT_NODE},cs=function(t){return As(t)&&"undefined"!==typeof t.style&&!us(t)},us=function(t){return"object"===typeof t.className},hs=function(t){return"LI"===t.tagName},ds=function(t){return"OL"===t.tagName},fs=function(t){return"INPUT"===t.tagName},ps=function(t){return"HTML"===t.tagName},gs=function(t){return"svg"===t.tagName},ms=function(t){return"BODY"===t.tagName},ys=function(t){return"CANVAS"===t.tagName},vs=function(t){return"VIDEO"===t.tagName},bs=function(t){return"IMG"===t.tagName},ws=function(t){return"IFRAME"===t.tagName},Cs=function(t){return"STYLE"===t.tagName},Bs=function(t){return"SCRIPT"===t.tagName},xs=function(t){return"TEXTAREA"===t.tagName},Fs=function(t){return"SELECT"===t.tagName},ks=function(t){return"SLOT"===t.tagName},Ds=function(t){return t.tagName.indexOf("-")>0},Es=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach(function(t){return e.counters[t].pop()})},t.prototype.parse=function(t){var e=this,r=t.counterIncrement,n=t.counterReset,i=!0;null!==r&&r.forEach(function(t){var r=e.counters[t.counter];r&&0!==t.increment&&(i=!1,r.length||r.push(1),r[Math.max(0,r.length-1)]+=t.increment)});var o=[];return i&&n.forEach(function(t){var r=e.counters[t.counter];o.push(t.counter),r||(r=e.counters[t.counter]=[]),r.push(t.reset)}),o},t}(),Ss={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},_s={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Ts={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Ls={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Us=function(t,e,r,n,i,o){return tr?Ws(t,i,o.length>0):n.integers.reduce(function(e,r,i){for(;t>=r;)t-=r,e+=n.values[i];return e},"")+o},Os=function(t,e,r,n){var i="";do{r||t--,i=n(t)+i,t/=e}while(t*e>=e);return i},Is=function(t,e,r,n,i){var o=r-e+1;return(t<0?"-":"")+(Os(Math.abs(t),o,n,function(t){return c(Math.floor(t%o)+e)})+i)},Ns=function(t,e,r){void 0===r&&(r=". ");var n=e.length;return Os(Math.abs(t),n,!1,function(t){return e[Math.floor(t%n)]})+r},Ms=1,Qs=2,Ps=4,js=8,Rs=function(t,e,r,n,i,o){if(t<-9999||t>9999)return Ws(t,4,i.length>0);var a=Math.abs(t),s=i;if(0===a)return e[0]+s;for(var l=0;a>0&&l<=4;l++){var A=a%10;0===A&&io(o,Ms)&&""!==s?s=e[A]+s:A>1||1===A&&0===l||1===A&&1===l&&io(o,Qs)||1===A&&1===l&&io(o,Ps)&&t>100||1===A&&l>1&&io(o,js)?s=e[A]+(l>0?r[l-1]:"")+s:1===A&&l>0&&(s=r[l-1]+s),a=Math.floor(a/10)}return(t<0?n:"")+s},Hs="\u5341\u767e\u5343\u842c",Ks="\u62fe\u4f70\u4edf\u842c",zs="\u30de\u30a4\u30ca\u30b9",qs="\ub9c8\uc774\ub108\uc2a4",Ws=function(t,e,r){var n=r?". ":"",i=r?"\u3001":"",o=r?", ":"",a=r?" ":"";switch(e){case 0:return"\u2022"+a;case 1:return"\u25e6"+a;case 2:return"\u25fe"+a;case 5:var s=Is(t,48,57,!0,n);return s.length<4?"0"+s:s;case 4:return Ns(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",i);case 6:return Us(t,1,3999,Ss,3,n).toLowerCase();case 7:return Us(t,1,3999,Ss,3,n);case 8:return Is(t,945,969,!1,n);case 9:return Is(t,97,122,!1,n);case 10:return Is(t,65,90,!1,n);case 11:return Is(t,1632,1641,!0,n);case 12:case 49:return Us(t,1,9999,_s,3,n);case 35:return Us(t,1,9999,_s,3,n).toLowerCase();case 13:return Is(t,2534,2543,!0,n);case 14:case 30:return Is(t,6112,6121,!0,n);case 15:return Ns(t,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",i);case 16:return Ns(t,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",i);case 17:case 48:return Rs(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Hs,"\u8ca0",i,Qs|Ps|js);case 47:return Rs(t,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396",Ks,"\u8ca0",i,Ms|Qs|Ps|js);case 42:return Rs(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",Hs,"\u8d1f",i,Qs|Ps|js);case 41:return Rs(t,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396",Ks,"\u8d1f",i,Ms|Qs|Ps|js);case 26:return Rs(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07",zs,i,0);case 25:return Rs(t,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07",zs,i,Ms|Qs|Ps);case 31:return Rs(t,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",qs,o,Ms|Qs|Ps);case 33:return Rs(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",qs,o,0);case 32:return Rs(t,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",qs,o,Ms|Qs|Ps);case 18:return Is(t,2406,2415,!0,n);case 20:return Us(t,1,19999,Ls,3,n);case 21:return Is(t,2790,2799,!0,n);case 22:return Is(t,2662,2671,!0,n);case 22:return Us(t,1,10999,Ts,3,n);case 23:return Ns(t,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return Ns(t,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Is(t,3302,3311,!0,n);case 28:return Ns(t,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",i);case 29:return Ns(t,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",i);case 34:return Is(t,3792,3801,!0,n);case 37:return Is(t,6160,6169,!0,n);case 38:return Is(t,4160,4169,!0,n);case 39:return Is(t,2918,2927,!0,n);case 40:return Is(t,1776,1785,!0,n);case 43:return Is(t,3046,3055,!0,n);case 44:return Is(t,3174,3183,!0,n);case 45:return Is(t,3664,3673,!0,n);case 46:return Is(t,3872,3881,!0,n);default:return Is(t,48,57,!0,n)}},Vs="data-html2canvas-ignore",Gs=function(){function t(t,e,r){if(this.context=t,this.options=r,this.scrolledElements=[],this.referenceElement=e,this.counters=new Es,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(t,e){var r=this,o=Ys(t,e);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,l=o.contentWindow,A=l.document,c=$s(o).then(function(){return n(r,void 0,void 0,function(){var t,r;return i(this,function(n){switch(n.label){case 0:return this.scrolledElements.forEach(il),l&&(l.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===e.top&&l.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-e.left,l.scrollY-e.top,0,0))),t=this.options.onclone,"undefined"===typeof(r=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:A.fonts&&A.fonts.ready?[4,A.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Zs(A)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"===typeof t?[2,Promise.resolve().then(function(){return t(A,r)}).then(function(){return o})]:[2,o]}})})});return A.open(),A.write(rl(document.doctype)+""),nl(this.referenceElement.ownerDocument,a,s),A.replaceChild(A.adoptNode(this.documentElement),A.documentElement),A.close(),c},t.prototype.createElementClone=function(t){if(Co(t,2),ys(t))return this.createCanvasClone(t);if(vs(t))return this.createVideoClone(t);if(Cs(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return bs(e)&&(bs(t)&&t.currentSrc&&t.currentSrc!==t.src&&(e.src=t.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Ds(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(t){var e=document.createElement("html2canvascustomelement");return el(t.style,e),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var r=[].slice.call(e.cssRules,0).reduce(function(t,e){return e&&"string"===typeof e.cssText?t+e.cssText:t},""),n=t.cloneNode(!1);return n.textContent=r,n}}catch(Me){if(this.context.logger.error("Unable to access cssRules property",Me),"SecurityError"!==Me.name)throw Me}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){var e;if(this.options.inlineImages&&t.ownerDocument){var r=t.ownerDocument.createElement("img");try{return r.src=t.toDataURL(),r}catch(Me){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var n=t.cloneNode(!1);try{n.width=t.width,n.height=t.height;var i=t.getContext("2d"),o=n.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,t.width,t.height),0,0);else{var a=null!==(e=t.getContext("webgl2"))&&void 0!==e?e:t.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}o.drawImage(t,0,0)}return n}catch(Me){this.context.logger.info("Unable to clone canvas as it is tainted",t)}return n},t.prototype.createVideoClone=function(t){var e=t.ownerDocument.createElement("canvas");e.width=t.offsetWidth,e.height=t.offsetHeight;var r=e.getContext("2d");try{return r&&(r.drawImage(t,0,0,e.width,e.height),this.options.allowTaint||r.getImageData(0,0,e.width,e.height)),e}catch(Me){this.context.logger.info("Unable to clone video as it is tainted",t)}var n=t.ownerDocument.createElement("canvas");return n.width=t.offsetWidth,n.height=t.offsetHeight,n},t.prototype.appendChildNode=function(t,e,r){As(e)&&(Bs(e)||e.hasAttribute(Vs)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&As(e)&&Cs(e)||t.appendChild(this.cloneNode(e,r))},t.prototype.cloneChildNodes=function(t,e,r){for(var n=this,i=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;i;i=i.nextSibling)if(As(i)&&ks(i)&&"function"===typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(t){return n.appendChildNode(e,t,r)})}else this.appendChildNode(e,i,r)},t.prototype.cloneNode=function(t,e){if(ls(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var r=t.ownerDocument.defaultView;if(r&&As(t)&&(cs(t)||us(t))){var n=this.createElementClone(t);n.style.transitionProperty="none";var i=r.getComputedStyle(t),o=r.getComputedStyle(t,":before"),a=r.getComputedStyle(t,":after");this.referenceElement===t&&cs(n)&&(this.clonedReferenceElement=n),ms(n)&&cl(n);var s=this.counters.parse(new yo(this.context,i)),l=this.resolvePseudoContent(t,n,o,Wo.BEFORE);Ds(t)&&(e=!0),vs(t)||this.cloneChildNodes(t,n,e),l&&n.insertBefore(l,n.firstChild);var A=this.resolvePseudoContent(t,n,a,Wo.AFTER);return A&&n.appendChild(A),this.counters.pop(s),(i&&(this.options.copyStyles||us(t))&&!ws(t)||e)&&el(i,n),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([n,t.scrollLeft,t.scrollTop]),(xs(t)||Fs(t))&&(xs(n)||Fs(n))&&(n.value=t.value),n}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,r,n){var i=this;if(r){var o=r.content,a=e.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==r.display){this.counters.parse(new yo(this.context,r));var s=new mo(this.context,r),l=a.createElement("html2canvaspseudoelement");el(r,l),s.content.forEach(function(e){if(0===e.type)l.appendChild(a.createTextNode(e.value));else if(22===e.type){var r=a.createElement("img");r.src=e.value,r.style.opacity="1",l.appendChild(r)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(Lr);n.length&&l.appendChild(a.createTextNode(t.getAttribute(n[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(Nr),A=o[0],c=o[1];if(A&&Lr(A)){var u=i.counters.getCounterValue(A.value),h=c&&Lr(c)?xi.parse(i.context,c.value):3;l.appendChild(a.createTextNode(Ws(u,h,!1)))}}else if("counters"===e.name){var d=e.values.filter(Nr),f=(A=d[0],d[1]);if(c=d[2],A&&Lr(A)){var p=i.counters.getCounterValues(A.value),g=c&&Lr(c)?xi.parse(i.context,c.value):3,m=f&&0===f.type?f.value:"",y=p.map(function(t){return Ws(t,g,!1)}).join(m);l.appendChild(a.createTextNode(y))}}}else if(20===e.type)switch(e.value){case"open-quote":l.appendChild(a.createTextNode(co(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(co(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(e.value))}}),l.className=sl+" "+ll;var A=n===Wo.BEFORE?" "+sl:" "+ll;return us(e)?e.className.baseValue+=A:e.className+=A,l}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(Wo||(Wo={}));var Xs,Ys=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(Vs,"true"),t.body.appendChild(r),r},Js=function(t){return new Promise(function(e){t.complete?e():t.src?(t.onload=e,t.onerror=e):e()})},Zs=function(t){return Promise.all([].slice.call(t.images,0).map(Js))},$s=function(t){return new Promise(function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=t.onload=function(){n.onload=t.onload=null;var r=setInterval(function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(r),e(t))},50)}})},tl=["all","d","content"],el=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);-1===tl.indexOf(n)&&e.style.setProperty(n,t.getPropertyValue(n))}return e},rl=function(t){var e="";return t&&(e+=""),e},nl=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},il=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},ol=":before",al=":after",sl="___html2canvas___pseudoelement_before",ll="___html2canvas___pseudoelement_after",Al='{\n content: "" !important;\n display: none !important;\n}',cl=function(t){ul(t,"."+sl+ol+Al+"\n ."+ll+al+Al)},ul=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}},hl=function(){function t(){}return t.getOrigin=function(e){var r=t._link;return r?(r.href=e,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),dl=function(){function t(t,e){this.context=t,this._options=e,this._cache={}}return t.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)?e:bl(t)||ml(t)?((this._cache[t]=this.loadImage(t)).catch(function(){}),e):e},t.prototype.match=function(t){return this._cache[t]},t.prototype.loadImage=function(t){return n(this,void 0,void 0,function(){var e,r,n,o,a=this;return i(this,function(i){switch(i.label){case 0:return e=hl.isSameOrigin(t),r=!yl(t)&&!0===this._options.useCORS&&Fa.SUPPORT_CORS_IMAGES&&!e,n=!yl(t)&&!e&&!bl(t)&&"string"===typeof this._options.proxy&&Fa.SUPPORT_CORS_XHR&&!r,e||!1!==this._options.allowTaint||yl(t)||bl(t)||n||r?(o=t,n?[4,this.proxy(o)]:[3,2]):[2];case 1:o=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,(vl(o)||r)&&(n.crossOrigin="anonymous"),n.src=o,!0===n.complete&&setTimeout(function(){return t(n)},500),a._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},t.prototype.has=function(t){return"undefined"!==typeof this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=t.substring(0,256);return new Promise(function(i,o){var a=Fa.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var t=new FileReader;t.addEventListener("load",function(){return i(t.result)},!1),t.addEventListener("error",function(t){return o(t)},!1),t.readAsDataURL(s.response)}else o("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=o;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(t)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),e._options.imageTimeout){var A=e._options.imageTimeout;s.timeout=A,s.ontimeout=function(){return o("Timed out ("+A+"ms) proxying "+n)}}s.send()})},t}(),fl=/^data:image\/svg\+xml/i,pl=/^data:image\/.*;base64,/i,gl=/^data:image\/.*/i,ml=function(t){return Fa.SUPPORT_SVG_DRAWING||!wl(t)},yl=function(t){return gl.test(t)},vl=function(t){return pl.test(t)},bl=function(t){return"blob"===t.substr(0,4)},wl=function(t){return"svg"===t.substr(-3).toLowerCase()||fl.test(t)},Cl=function(){function t(t,e){this.type=0,this.x=t,this.y=e}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Bl=function(t,e,r){return new Cl(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},xl=function(){function t(t,e,r,n){this.type=1,this.start=t,this.startControl=e,this.endControl=r,this.end=n}return t.prototype.subdivide=function(e,r){var n=Bl(this.start,this.startControl,e),i=Bl(this.startControl,this.endControl,e),o=Bl(this.endControl,this.end,e),a=Bl(n,i,e),s=Bl(i,o,e),l=Bl(a,s,e);return r?new t(this.start,n,a,l):new t(l,s,o,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Fl=function(t){return 1===t.type},kl=function(){function t(t){var e=t.styles,r=t.bounds,n=qr(e.borderTopLeftRadius,r.width,r.height),i=n[0],o=n[1],a=qr(e.borderTopRightRadius,r.width,r.height),s=a[0],l=a[1],A=qr(e.borderBottomRightRadius,r.width,r.height),c=A[0],u=A[1],h=qr(e.borderBottomLeftRadius,r.width,r.height),d=h[0],f=h[1],p=[];p.push((i+s)/r.width),p.push((d+c)/r.width),p.push((o+f)/r.height),p.push((l+u)/r.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,o/=g,s/=g,l/=g,c/=g,u/=g,d/=g,f/=g);var m=r.width-s,y=r.height-u,v=r.width-c,b=r.height-f,w=e.borderTopWidth,C=e.borderRightWidth,B=e.borderBottomWidth,x=e.borderLeftWidth,F=Wr(e.paddingTop,t.bounds.width),k=Wr(e.paddingRight,t.bounds.width),D=Wr(e.paddingBottom,t.bounds.width),E=Wr(e.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?Dl(r.left+x/3,r.top+w/3,i-x/3,o-w/3,Xs.TOP_LEFT):new Cl(r.left+x/3,r.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?Dl(r.left+m,r.top+w/3,s-C/3,l-w/3,Xs.TOP_RIGHT):new Cl(r.left+r.width-C/3,r.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?Dl(r.left+v,r.top+y,c-C/3,u-B/3,Xs.BOTTOM_RIGHT):new Cl(r.left+r.width-C/3,r.top+r.height-B/3),this.bottomLeftBorderDoubleOuterBox=d>0||f>0?Dl(r.left+x/3,r.top+b,d-x/3,f-B/3,Xs.BOTTOM_LEFT):new Cl(r.left+x/3,r.top+r.height-B/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?Dl(r.left+2*x/3,r.top+2*w/3,i-2*x/3,o-2*w/3,Xs.TOP_LEFT):new Cl(r.left+2*x/3,r.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?Dl(r.left+m,r.top+2*w/3,s-2*C/3,l-2*w/3,Xs.TOP_RIGHT):new Cl(r.left+r.width-2*C/3,r.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?Dl(r.left+v,r.top+y,c-2*C/3,u-2*B/3,Xs.BOTTOM_RIGHT):new Cl(r.left+r.width-2*C/3,r.top+r.height-2*B/3),this.bottomLeftBorderDoubleInnerBox=d>0||f>0?Dl(r.left+2*x/3,r.top+b,d-2*x/3,f-2*B/3,Xs.BOTTOM_LEFT):new Cl(r.left+2*x/3,r.top+r.height-2*B/3),this.topLeftBorderStroke=i>0||o>0?Dl(r.left+x/2,r.top+w/2,i-x/2,o-w/2,Xs.TOP_LEFT):new Cl(r.left+x/2,r.top+w/2),this.topRightBorderStroke=i>0||o>0?Dl(r.left+m,r.top+w/2,s-C/2,l-w/2,Xs.TOP_RIGHT):new Cl(r.left+r.width-C/2,r.top+w/2),this.bottomRightBorderStroke=c>0||u>0?Dl(r.left+v,r.top+y,c-C/2,u-B/2,Xs.BOTTOM_RIGHT):new Cl(r.left+r.width-C/2,r.top+r.height-B/2),this.bottomLeftBorderStroke=d>0||f>0?Dl(r.left+x/2,r.top+b,d-x/2,f-B/2,Xs.BOTTOM_LEFT):new Cl(r.left+x/2,r.top+r.height-B/2),this.topLeftBorderBox=i>0||o>0?Dl(r.left,r.top,i,o,Xs.TOP_LEFT):new Cl(r.left,r.top),this.topRightBorderBox=s>0||l>0?Dl(r.left+m,r.top,s,l,Xs.TOP_RIGHT):new Cl(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||u>0?Dl(r.left+v,r.top+y,c,u,Xs.BOTTOM_RIGHT):new Cl(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=d>0||f>0?Dl(r.left,r.top+b,d,f,Xs.BOTTOM_LEFT):new Cl(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||o>0?Dl(r.left+x,r.top+w,Math.max(0,i-x),Math.max(0,o-w),Xs.TOP_LEFT):new Cl(r.left+x,r.top+w),this.topRightPaddingBox=s>0||l>0?Dl(r.left+Math.min(m,r.width-C),r.top+w,m>r.width+C?0:Math.max(0,s-C),Math.max(0,l-w),Xs.TOP_RIGHT):new Cl(r.left+r.width-C,r.top+w),this.bottomRightPaddingBox=c>0||u>0?Dl(r.left+Math.min(v,r.width-x),r.top+Math.min(y,r.height-B),Math.max(0,c-C),Math.max(0,u-B),Xs.BOTTOM_RIGHT):new Cl(r.left+r.width-C,r.top+r.height-B),this.bottomLeftPaddingBox=d>0||f>0?Dl(r.left+x,r.top+Math.min(b,r.height-B),Math.max(0,d-x),Math.max(0,f-B),Xs.BOTTOM_LEFT):new Cl(r.left+x,r.top+r.height-B),this.topLeftContentBox=i>0||o>0?Dl(r.left+x+E,r.top+w+F,Math.max(0,i-(x+E)),Math.max(0,o-(w+F)),Xs.TOP_LEFT):new Cl(r.left+x+E,r.top+w+F),this.topRightContentBox=s>0||l>0?Dl(r.left+Math.min(m,r.width+x+E),r.top+w+F,m>r.width+x+E?0:s-x+E,l-(w+F),Xs.TOP_RIGHT):new Cl(r.left+r.width-(C+k),r.top+w+F),this.bottomRightContentBox=c>0||u>0?Dl(r.left+Math.min(v,r.width-(x+E)),r.top+Math.min(y,r.height+w+F),Math.max(0,c-(C+k)),u-(B+D),Xs.BOTTOM_RIGHT):new Cl(r.left+r.width-(C+k),r.top+r.height-(B+D)),this.bottomLeftContentBox=d>0||f>0?Dl(r.left+x+E,r.top+b,Math.max(0,d-(x+E)),f-(B+D),Xs.BOTTOM_LEFT):new Cl(r.left+x+E,r.top+r.height-(B+D))}return t}();!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Xs||(Xs={}));var Dl=function(t,e,r,n,i){var o=(Math.sqrt(2)-1)/3*4,a=r*o,s=n*o,l=t+r,A=e+n;switch(i){case Xs.TOP_LEFT:return new xl(new Cl(t,A),new Cl(t,A-s),new Cl(l-a,e),new Cl(l,e));case Xs.TOP_RIGHT:return new xl(new Cl(t,e),new Cl(t+a,e),new Cl(l,A-s),new Cl(l,A));case Xs.BOTTOM_RIGHT:return new xl(new Cl(l,e),new Cl(l,e+s),new Cl(t+a,A),new Cl(t,A));case Xs.BOTTOM_LEFT:default:return new xl(new Cl(l,A),new Cl(l-a,A),new Cl(t,e+s),new Cl(t,e))}},El=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Sl=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},_l=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Tl=function(){function t(t,e,r){this.offsetX=t,this.offsetY=e,this.matrix=r,this.type=0,this.target=6}return t}(),Ll=function(){function t(t,e){this.path=t,this.target=e,this.type=1}return t}(),Ul=function(){function t(t){this.opacity=t,this.type=2,this.target=6}return t}(),Ol=function(t){return 0===t.type},Il=function(t){return 1===t.type},Nl=function(t){return 2===t.type},Ml=function(t,e){return t.length===e.length&&t.some(function(t,r){return t===e[r]})},Ql=function(t,e,r,n,i){return t.map(function(t,o){switch(o){case 0:return t.add(e,r);case 1:return t.add(e+n,r);case 2:return t.add(e+n,r+i);case 3:return t.add(e,r+i)}return t})},Pl=function(){function t(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),jl=function(){function t(t,e){if(this.container=t,this.parent=e,this.effects=[],this.curves=new kl(this.container),this.container.styles.opacity<1&&this.effects.push(new Ul(this.container.styles.opacity)),null!==this.container.styles.transform){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new Tl(r,n,i))}if(0!==this.container.styles.overflowX){var o=El(this.curves),a=_l(this.curves);Ml(o,a)?this.effects.push(new Ll(o,6)):(this.effects.push(new Ll(o,2)),this.effects.push(new Ll(a,4)))}}return t.prototype.getEffects=function(t){for(var e=-1===[2,3].indexOf(this.container.styles.position),r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(t){return!Il(t)});if(e||0!==r.container.styles.position||!r.parent){if(n.unshift.apply(n,i),e=-1===[2,3].indexOf(r.container.styles.position),0!==r.container.styles.overflowX){var o=El(r.curves),a=_l(r.curves);Ml(o,a)||n.unshift(new Ll(a,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(e){return io(e.target,t)})},t}(),Rl=function(t,e,r,n){t.container.elements.forEach(function(i){var o=io(i.flags,4),a=io(i.flags,2),s=new jl(i,t);io(i.styles.display,2048)&&n.push(s);var l=io(i.flags,8)?[]:n;if(o||a){var A=o||i.styles.isPositioned()?r:e,c=new Pl(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var h=0;A.negativeZIndex.some(function(t,e){return u>t.element.container.styles.zIndex.order?(h=e,!1):h>0}),A.negativeZIndex.splice(h,0,c)}else if(u>0){var d=0;A.positiveZIndex.some(function(t,e){return u>=t.element.container.styles.zIndex.order?(d=e+1,!1):d>0}),A.positiveZIndex.splice(d,0,c)}else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?A.nonPositionedFloats.push(c):A.nonPositionedInlineLevel.push(c);Rl(s,c,o?c:r,l)}else i.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),Rl(s,e,r,l);io(i.flags,8)&&Hl(i,l)})},Hl=function(t,e){for(var r=t instanceof Ka?t.start:1,n=t instanceof Ka&&t.reversed,i=0;i0&&t.intrinsicHeight>0){var n=Jl(t),i=_l(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},r.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,function(){var e,n,o,s,l,A,c,u,h,d,f,p,g,m,y,v,b,w;return i(this,function(i){switch(i.label){case 0:this.applyEffects(t.getEffects(4)),e=t.container,n=t.curves,o=e.styles,s=0,l=e.textNodes,i.label=1;case 1:return s0&&x>0&&(y=n.ctx.createPattern(p,"repeat"),n.renderRepeat(b,y,k,D))):Un(r)&&(v=tA(t,e,[null,null,null]),b=v[0],w=v[1],C=v[2],B=v[3],x=v[4],F=0===r.position.length?[Kr]:r.position,k=Wr(F[0],B),D=Wr(F[F.length-1],x),E=wn(r,k,D,B,x),S=E[0],_=E[1],S>0&&_>0&&(T=n.ctx.createRadialGradient(w+k,C+D,0,w+k,C+D,S),gn(r.stops,2*S).forEach(function(t){return T.addColorStop(t.stop,nn(t.color))}),n.path(b),n.ctx.fillStyle=T,S!==_?(L=t.bounds.left+.5*t.bounds.width,U=t.bounds.top+.5*t.bounds.height,I=1/(O=_/S),n.ctx.save(),n.ctx.translate(L,U),n.ctx.transform(1,0,0,O,0,0),n.ctx.translate(-L,-U),n.ctx.fillRect(w,I*(C-U)+U,B,x*I),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return e--,[2]}})},n=this,o=0,a=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o0?2!==A.style?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,a,t.curves,2)]:[3,11]:[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==A.style?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,a,t.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==A.style?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,a,t.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,a,t.curves)];case 10:i.sent(),i.label=11;case 11:a++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},r.prototype.renderDashedDottedBorder=function(t,e,r,o,a){return n(this,void 0,void 0,function(){var n,s,l,A,c,u,h,d,f,p,g,m,y,v,b,w;return i(this,function(i){return this.ctx.save(),n=Vl(o,r),s=zl(o,r),2===a&&(this.path(s),this.ctx.clip()),Fl(s[0])?(l=s[0].start.x,A=s[0].start.y):(l=s[0].x,A=s[0].y),Fl(s[1])?(c=s[1].end.x,u=s[1].end.y):(c=s[1].x,u=s[1].y),h=0===r||2===r?Math.abs(l-c):Math.abs(A-u),this.ctx.beginPath(),3===a?this.formatPath(n):this.formatPath(s.slice(0,2)),d=e<3?3*e:2*e,f=e<3?2*e:e,3===a&&(d=e,f=e),p=!0,h<=2*d?p=!1:h<=2*d+f?(d*=g=h/(2*d+f),f*=g):(m=Math.floor((h+f)/(d+f)),y=(h-m*d)/(m-1),f=(v=(h-(m+1)*d)/m)<=0||Math.abs(f-y)1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{leading:i=!0,trailing:o=!0}=r;return n.debounce(t,e,{leading:i,maxWait:e,trailing:o})}},66166(t,e,r){"use strict";r.d(e,{A:()=>i});var n=Function.prototype.toString;const i=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},67260(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isUnsafeProperty=function(t){return"__proto__"===t}},68907(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(99236),i=r(13809),o=r(35248),a=r(25722),s=r(15527);function l(t,e){var r=(0,i.A)(!0),l=null,A=o.A,c=null,u=(0,a.i)(h);function h(i){var o,a,s,h=(i=(0,n.A)(i)).length,d=!1;for(null==l&&(c=A(s=u())),o=0;o<=h;++o)!(oRr,l78:()=>f,tlR:()=>d,qrM:()=>Xr.Ay,Yu4:()=>Vr.A,IA3:()=>Gr.A,Wi0:()=>Yr.dJ,PGM:()=>Yr.kl,OEq:()=>Zr,y8u:()=>rn,olC:()=>on,IrU:()=>sn,oDi:()=>cn,Q7f:()=>hn,cVp:()=>fn,lUB:()=>gn.A,Lx9:()=>pn.A,nVG:()=>mn.G,uxU:()=>mn.N,Xf2:()=>yn.A,GZz:()=>vn.Ay,UPb:()=>vn.Ps,dyv:()=>vn.Ko,GPZ:()=>qe.GP,Sk5:()=>Ve,bEH:()=>Er,n8j:()=>Hr.A,T9B:()=>n.A,jkA:()=>i.A,rLf:()=>Wr,WH:()=>Sr.WH,m4Y:()=>Sr.m4,UMr:()=>Sr.UM,w7C:()=>Sr.w7,zt:()=>_r,Ltv:()=>Tr,UAC:()=>xn.UA,DCK:()=>Dn.DC,TUC:()=>Fn.TU,Agd:()=>Bn.Ag,t6C:()=>bn.y,wXd:()=>Cn.wX,ABi:()=>Fn.AB,Ui6:()=>kn.Ui,rGn:()=>Fn.rG,ucG:()=>wn.R,YPH:()=>Fn.YP,Mol:()=>Fn.Mo,PGu:()=>Fn.PG,GuW:()=>Fn.Gu,hkb:()=>ar});var n=r(11963),i=r(53305);function o(t){return t}var a=1e-6;function s(t){return"translate("+t+",0)"}function l(t){return"translate(0,"+t+")"}function A(t){return e=>+t(e)}function c(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function u(){return!this.__axis}function h(t,e){var r=[],n=null,i=null,h=6,d=6,f=3,p="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,g=1===t||4===t?-1:1,m=4===t||2===t?"x":"y",y=1===t||3===t?s:l;function v(s){var l=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,v=null==i?e.tickFormat?e.tickFormat.apply(e,r):o:i,b=Math.max(h,0)+f,w=e.range(),C=+w[0]+p,B=+w[w.length-1]+p,x=(e.bandwidth?c:A)(e.copy(),p),F=s.selection?s.selection():s,k=F.selectAll(".domain").data([null]),D=F.selectAll(".tick").data(l,e).order(),E=D.exit(),S=D.enter().append("g").attr("class","tick"),_=D.select("line"),T=D.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),D=D.merge(S),_=_.merge(S.append("line").attr("stroke","currentColor").attr(m+"2",g*h)),T=T.merge(S.append("text").attr("fill","currentColor").attr(m,g*b).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==F&&(k=k.transition(s),D=D.transition(s),_=_.transition(s),T=T.transition(s),E=E.transition(s).attr("opacity",a).attr("transform",function(t){return isFinite(t=x(t))?y(t+p):this.getAttribute("transform")}),S.attr("opacity",a).attr("transform",function(t){var e=this.parentNode.__axis;return y((e&&isFinite(e=e(t))?e:x(t))+p)})),E.remove(),k.attr("d",4===t||2===t?d?"M"+g*d+","+C+"H"+p+"V"+B+"H"+g*d:"M"+p+","+C+"V"+B:d?"M"+C+","+g*d+"V"+p+"H"+B+"V"+g*d:"M"+C+","+p+"H"+B),D.attr("opacity",1).attr("transform",function(t){return y(x(t)+p)}),_.attr(m+"2",g*h),T.attr(m,g*b).text(v),F.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),F.each(function(){this.__axis=x})}return v.scale=function(t){return arguments.length?(e=t,v):e},v.ticks=function(){return r=Array.from(arguments),v},v.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),v):r.slice()},v.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),v):n&&n.slice()},v.tickFormat=function(t){return arguments.length?(i=t,v):i},v.tickSize=function(t){return arguments.length?(h=d=+t,v):h},v.tickSizeInner=function(t){return arguments.length?(h=+t,v):h},v.tickSizeOuter=function(t){return arguments.length?(d=+t,v):d},v.tickPadding=function(t){return arguments.length?(f=+t,v):f},v.offset=function(t){return arguments.length?(p=+t,v):p},v}function d(t){return h(1,t)}function f(t){return h(3,t)}function p(){}function g(t){return null==t?p:function(){return this.querySelector(t)}}function m(){return[]}function y(t){return null==t?m:function(){return this.querySelectorAll(t)}}function v(t){return function(){return null==(e=t.apply(this,arguments))?[]:Array.isArray(e)?e:Array.from(e);var e}}function b(t){return function(){return this.matches(t)}}function w(t){return function(e){return e.matches(t)}}var C=Array.prototype.find;function B(){return this.firstElementChild}var x=Array.prototype.filter;function F(){return Array.from(this.children)}function k(t){return new Array(t.length)}function D(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function E(t,e,r,n,i,o){for(var a,s=0,l=e.length,A=o.length;se?1:t>=e?0:NaN}D.prototype={constructor:D,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 U="http://www.w3.org/1999/xhtml";const O={svg:"http://www.w3.org/2000/svg",xhtml:U,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function I(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 N(t){return function(){this.removeAttribute(t)}}function M(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Q(t,e){return function(){this.setAttribute(t,e)}}function P(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function j(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function R(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 H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function K(t){return function(){this.style.removeProperty(t)}}function z(t,e,r){return function(){this.style.setProperty(t,e,r)}}function q(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function W(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function V(t){return function(){delete this[t]}}function G(t,e){return function(){this[t]=e}}function X(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}function Y(t){return t.trim().split(/^|\s+/)}function J(t){return t.classList||new Z(t)}function Z(t){this._node=t,this._names=Y(t.getAttribute("class")||"")}function $(t,e){for(var r=J(t),n=-1,i=e.length;++n=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var xt=[null];function Ft(t,e){this._groups=t,this._parents=e}function kt(){return new Ft([[document.documentElement]],xt)}Ft.prototype=kt.prototype={constructor:Ft,select:function(t){"function"!==typeof t&&(t=g(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i=w&&(w=b+1);!(v=m[w])&&++w=0;)(n=i[o])&&(a&&4^n.compareDocumentPosition(a)&&a.parentNode.insertBefore(n,a),a=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,i=new Array(n),o=0;o1?this.each((null==e?K:"function"===typeof e?q:z)(t,e,null==r?"":r)):W(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?V:"function"===typeof e?X:G)(t,e)):this.node()[t]},classed:function(t,e){var r=Y(t+"");if(arguments.length<2){for(var n=J(this.node()),i=-1,o=r.length;++i=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?bt:vt,n=0;n{}};function St(){for(var t,e=0,r=arguments.length,n={};e=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var r,n,i=new Array(r),o=0;o=0&&e._call.call(void 0,t),e=e._next;--Nt}()}finally{Nt=0,function(){var t,e,r=Ot,n=1/0;for(;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:Ot=e);It=t,Yt(n)}(),jt=0}}function Xt(){var t=Ht.now(),e=t-Pt;e>1e3&&(Rt-=e,Pt=t)}function Yt(t){Nt||(Mt&&(Mt=clearTimeout(Mt)),t-jt>24?(t<1/0&&(Mt=setTimeout(Gt,t-Ht.now()-Rt)),Qt&&(Qt=clearInterval(Qt))):(Qt||(Pt=Ht.now(),Qt=setInterval(Xt,1e3)),Nt=1,Kt(Gt)))}function Jt(t,e,r){var n=new Wt;return e=null==e?0:+e,n.restart(r=>{n.stop(),t(r+e)},e,r),n}Wt.prototype=Vt.prototype={constructor:Wt,restart:function(t,e,r){if("function"!==typeof t)throw new TypeError("callback is not a function");r=(null==r?zt():+r)+(null==e?0:+e),this._next||It===this||(It?It._next=this:Ot=this,It=this),this._call=t,this._time=r,Yt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Yt())}};var Zt=Ut("start","end","cancel","interrupt"),$t=[];function te(t,e,r,n,i,o){var a=t.__transition;if(a){if(r in a)return}else t.__transition={};!function(t,e,r){var n,i=t.__transition;function o(t){r.state=1,r.timer.restart(a,r.delay,r.time),r.delay<=t&&a(t-r.delay)}function a(o){var A,c,u,h;if(1!==r.state)return l();for(A in i)if((h=i[A]).name===r.name){if(3===h.state)return Jt(a);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[A]):+A0)throw new Error("too late; already scheduled");return r}function re(t,e){var r=ne(t,e);if(r.state>3)throw new Error("too late; already running");return r}function ne(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}var ie,oe=r(50010),ae=180/Math.PI,se={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function le(t,e,r,n,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),t*n180?e+=360:e-t>180&&(t+=360),o.push({i:r.push(i(r)+"rotate(",null,n)-2,x:(0,oe.A)(t,e)})):e&&r.push(i(r)+"rotate("+e+n)}(o.rotate,a.rotate,s,l),function(t,e,r,o){t!==e?o.push({i:r.push(i(r)+"skewX(",null,n)-2,x:(0,oe.A)(t,e)}):e&&r.push(i(r)+"skewX("+e+n)}(o.skewX,a.skewX,s,l),function(t,e,r,n,o,a){if(t!==r||e!==n){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:(0,oe.A)(t,r)},{i:s-2,x:(0,oe.A)(e,n)})}else 1===r&&1===n||o.push(i(o)+"scale("+r+","+n+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,r=-1,n=l.length;++r=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?ee:re;return function(){var a=o(this,t),s=a.on;s!==n&&(i=(n=s).copy()).on(e,r),a.on=i}}(r,t,e))},attr:function(t,e){var r=I(t),n="transform"===r?ue:ye;return this.attrTween(t,"function"===typeof e?(r.local?xe:Be)(r,n,fe(this,"attr."+t,e)):null==e?(r.local?be:ve)(r):(r.local?Ce:we)(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 new Error;var n=I(t);return this.tween(r,(n.local?Fe:ke)(n,e))},style:function(t,e,r){var n="transform"===(t+="")?ce:ye;return null==e?this.styleTween(t,function(t,e){var r,n,i;return function(){var o=W(this,t),a=(this.style.removeProperty(t),W(this,t));return o===a?null:o===r&&a===n?i:i=e(r=o,n=a)}}(t,n)).on("end.style."+t,Le(t)):"function"===typeof e?this.styleTween(t,function(t,e,r){var n,i,o;return function(){var a=W(this,t),s=r(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=W(this,t)),a===l?null:a===n&&l===i?o:(i=l,o=e(n=a,s))}}(t,n,fe(this,"style."+t,e))).each(function(t,e){var r,n,i,o,a="style."+e,s="end."+a;return function(){var l=re(this,t),A=l.on,c=null==l.value[a]?o||(o=Le(e)):void 0;A===r&&i===c||(n=(r=A).copy()).on(s,i=c),l.on=n}}(this._id,t)):this.styleTween(t,function(t,e,r){var n,i,o=r+"";return function(){var a=W(this,t);return a===o?null:a===n?i:i=e(n=a,r)}}(t,n,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 new Error;return this.tween(n,function(t,e,r){var n,i;function o(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&function(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}(t,o,r)),n}return o._value=e,o}(t,e,null==r?"":r))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(fe(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},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 new 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){return function(e){this.textContent=t.call(this,e)}}(n)),e}return n._value=t,n}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,i=ne(this.node(),r).tween,o=0,a=i.length;o2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},Dt.prototype.transition=function(t){var e,r;t instanceof Oe?(e=t._id,t=t._name):(e=Ie(),(r=Me).time=zt(),t=null==t?null:t+"");for(var n=this._groups,i=n.length,o=0;o=0;)e+=r[n].value;else e=1;t.value=e}function Ve(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=Xe)):void 0===e&&(e=Ge);for(var r,n,i,o,a,s=new Ze(t),l=[s];r=l.pop();)if((i=e(r.data))&&(a=(i=Array.from(i)).length))for(r.children=i,o=a-1;o>=0;--o)l.push(n=i[o]=new Ze(i[o])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(Je)}function Ge(t){return t.children}function Xe(t){return Array.isArray(t)?t[1]:null}function Ye(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Je(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Ze(t){this.data=t,this.depth=this.height=0,this.parent=null}function $e(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)}function tr(t,e,r,n,i){for(var o,a=t.children,s=-1,l=a.length,A=t.value&&(n-e)/t.value;++s=0;--n)o.push(r[n]);return this},find:function(t,e){let r=-1;for(const 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,i=n&&n.length;--i>=0;)r+=n[i].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(),i=null;t=r.pop(),e=n.pop();for(;t===e;)i=t,t=r.pop(),e=n.pop();return i}(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,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 Ve(this).eachBefore(Ye)},[Symbol.iterator]:function*(){var t,e,r,n,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(r=0,n=e.length;rh&&(h=s),g=c*c*p,(d=Math.max(h/g,g/u))>f){c-=s;break}f=d}m.push(a={value:c,dice:l1?e:1)},r}((1+Math.sqrt(5))/2);function nr(t){if("function"!==typeof t)throw new Error;return t}function ir(){return 0}function or(t){return function(){return t}}function ar(){var t=rr,e=!1,r=1,n=1,i=[0],o=ir,a=ir,s=ir,l=ir,A=ir;function c(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(u),i=[0],e&&t.eachBefore($e),t}function u(e){var r=i[e.depth],n=e.x0+r,c=e.y0+r,u=e.x1-r,h=e.y1-r;upr?Math.pow(t,1/3):t/fr+hr}function vr(t){return t>dr?t*t*t:fr*(t-hr)}function br(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function wr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Cr(t){if(t instanceof xr)return new xr(t.h,t.c,t.l,t.opacity);if(t instanceof mr||(t=gr(t)),0===t.a&&0===t.b)return new xr(NaN,0_*_+T*T&&(x=k,F=D),{cx:x,cy:F,x01:-c,y01:-u,x11:x*(i/w-1),y11:F*(i/w-1)}}function Rr(){var t=Ir,e=Nr,r=(0,Lr.A)(0),n=null,i=Mr,o=Qr,a=Pr,s=null,l=(0,Or.i)(A);function A(){var A,c,u=+t.apply(this,arguments),h=+e.apply(this,arguments),d=i.apply(this,arguments)-Ur.TW,f=o.apply(this,arguments)-Ur.TW,p=(0,Ur.tn)(f-d),g=f>d;if(s||(s=A=l()),hUr.Ni)if(p>Ur.FA-Ur.Ni)s.moveTo(h*(0,Ur.gn)(d),h*(0,Ur.F8)(d)),s.arc(0,0,h,d,f,!g),u>Ur.Ni&&(s.moveTo(u*(0,Ur.gn)(f),u*(0,Ur.F8)(f)),s.arc(0,0,u,f,d,g));else{var m,y,v=d,b=f,w=d,C=f,B=p,x=p,F=a.apply(this,arguments)/2,k=F>Ur.Ni&&(n?+n.apply(this,arguments):(0,Ur.RZ)(u*u+h*h)),D=(0,Ur.jk)((0,Ur.tn)(h-u)/2,+r.apply(this,arguments)),E=D,S=D;if(k>Ur.Ni){var _=(0,Ur.qR)(k/u*(0,Ur.F8)(F)),T=(0,Ur.qR)(k/h*(0,Ur.F8)(F));(B-=2*_)>Ur.Ni?(w+=_*=g?1:-1,C-=_):(B=0,w=C=(d+f)/2),(x-=2*T)>Ur.Ni?(v+=T*=g?1:-1,b-=T):(x=0,v=b=(d+f)/2)}var L=h*(0,Ur.gn)(v),U=h*(0,Ur.F8)(v),O=u*(0,Ur.gn)(C),I=u*(0,Ur.F8)(C);if(D>Ur.Ni){var N,M=h*(0,Ur.gn)(b),Q=h*(0,Ur.F8)(b),P=u*(0,Ur.gn)(w),j=u*(0,Ur.F8)(w);if(pUr.Ni?S>Ur.Ni?(m=jr(P,j,L,U,h,S,g),y=jr(M,Q,O,I,h,S,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),SUr.Ni&&B>Ur.Ni?E>Ur.Ni?(m=jr(O,I,M,Q,u,-E,g),y=jr(L,U,P,j,u,-E,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),Et?1:e>=t?0:NaN}function qr(t){return t}function Wr(){var t=qr,e=zr,r=null,n=(0,Lr.A)(0),i=(0,Lr.A)(Ur.FA),o=(0,Lr.A)(0);function a(a){var s,l,A,c,u,h=(a=(0,Kr.A)(a)).length,d=0,f=new Array(h),p=new Array(h),g=+n.apply(this,arguments),m=Math.min(Ur.FA,Math.max(-Ur.FA,i.apply(this,arguments)-g)),y=Math.min(Math.abs(m)/h,o.apply(this,arguments)),v=y*(m<0?-1:1);for(s=0;s0&&(d+=u);for(null!=e?f.sort(function(t,r){return e(p[t],p[r])}):null!=r&&f.sort(function(t,e){return r(a[t],a[e])}),s=0,A=d?(m-h*v)/d:0;s0?u*A:0)+v,p[l]={data:a[l],index:s,value:u,startAngle:g,endAngle:c,padAngle:y};return p}return a.value=function(e){return arguments.length?(t="function"===typeof e?e:(0,Lr.A)(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,r=null,a):e},a.sort=function(t){return arguments.length?(r=t,e=null,a):r},a.startAngle=function(t){return arguments.length?(n="function"===typeof t?t:(0,Lr.A)(+t),a):n},a.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:(0,Lr.A)(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:(0,Lr.A)(+t),a):o},a}var Vr=r(51103),Gr=r(72271),Xr=r(84047),Yr=r(74421);function Jr(t,e){this._basis=new Xr.xO(t),this._beta=e}Jr.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,i=t[0],o=e[0],a=t[r]-i,s=e[r]-o,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+n*a),this._beta*e[l]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Zr=function t(e){function r(t){return 1===e?new Xr.xO(t):new Jr(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var $r=r(83477);function tn(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 en(t,e){this._context=t,this._k=(1-e)/6}en.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:tn(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=+t,e=+e,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:tn(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}};const rn=function t(e){function r(t){return new en(t,e)}return r.tension=function(e){return t(+e)},r}(0);function nn(t,e){this._context=t,this._k=(1-e)/6}nn.prototype={areaStart:$r.A,areaEnd:$r.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=+t,e=+e,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:tn(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}};const on=function t(e){function r(t){return new nn(t,e)}return r.tension=function(e){return t(+e)},r}(0);function an(t,e){this._context=t,this._k=(1-e)/6}an.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=+t,e=+e,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:tn(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}};const sn=function t(e){function r(t){return new an(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ln(t,e,r){var n=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Ur.Ni){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Ur.Ni){var A=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*A+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*A+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(n,i,o,a,t._x2,t._y2)}function An(t,e){this._context=t,this._alpha=e}An.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=+t,e=+e,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:ln(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}};const cn=function t(e){function r(t){return e?new An(t,e):new en(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function un(t,e){this._context=t,this._alpha=e}un.prototype={areaStart:$r.A,areaEnd:$r.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=+t,e=+e,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:ln(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}};const hn=function t(e){function r(t){return e?new un(t,e):new nn(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function dn(t,e){this._context=t,this._alpha=e}dn.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=+t,e=+e,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:ln(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}};const fn=function t(e){function r(t){return e?new dn(t,e):new an(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var pn=r(12988),gn=r(35248),mn=r(88330),yn=r(69340),vn=r(54623),bn=r(40566),wn=r(19039),Cn=r(5827),Bn=r(62269),xn=r(26409),Fn=r(99215),kn=r(79477),Dn=r(97694);function En(t,e,r){this.k=t,this.x=e,this.y=r}En.prototype={constructor:En,scale:function(t){return 1===t?this:new En(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new En(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 En(1,0,0);En.prototype},69340(t,e,r){"use strict";function n(t){this._context=t}function i(t){var e,r,n=t.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;eo}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=i(t),o=i(e),a=0,s=1;ss,JJ:()=>o,MP:()=>A,Nm:()=>a,Pv:()=>l,Tt:()=>n,rR:()=>i});const n=1e3,i=60*n,o=60*i,a=24*o,s=7*a,l=30*a,A=365*a},72271(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(84047);function i(t){this._context=t}function o(t){return new i(t)}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:(0,n.zx)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},72330(t,e,r){"use strict";var n=r(65043);var i="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function A(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!i(t,r)}catch(n){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=o({inst:{value:r,getSnapshot:e}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=e,A(i)&&c({inst:i})},[t,r,e]),a(function(){return A(i)&&c({inst:i}),t(function(){A(i)&&c({inst:i})})},[t]),l(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},73738(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},73755(t,e,r){"use strict";e.J=function(t){if(!t)return n.BLANK_URL;var e,r=o(t.trim());do{e=(r=o(r=i(r).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 a=r;if(!a)return n.BLANK_URL;if(function(t){return n.relativeFirstCharacters.indexOf(t[0])>-1}(a))return a;var s=a.trimStart(),l=s.match(n.urlSchemeRegex);if(!l)return a;var A=l[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(A))return n.BLANK_URL;var c=s.replace(/\\/g,"/");if("mailto:"===A||A.includes("://"))return c;if("http:"===A||"https:"===A){if(!function(t){return URL.canParse(t)}(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(64830);function i(t){return t.replace(n.ctrlCharactersRegex,"").replace(n.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)})}function o(t){try{return decodeURIComponent(t)}catch(e){return t}}},73870(t,e,r){"use strict";r.d(e,{f:()=>o});const n=new Date,i=new Date;function o(t,e,r,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=e=>(t(e=new Date(+e)),e),s.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),s.round=t=>{const e=s(t),r=s.ceil(t);return t-e(e(t=new Date(+t),null==r?1:Math.floor(r)),t),s.range=(r,n,i)=>{const o=[];if(r=s.ceil(r),i=null==i?1:Math.floor(i),!(r0))return o;let a;do{o.push(a=new Date(+r)),e(r,i),t(r)}while(ao(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(s.count=(e,o)=>(n.setTime(+e),i.setTime(+o),t(n),t(i),Math.floor(r(n,i))),s.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?e=>a(e)%t===0:e=>s.count(0,e)%t===0):s:null)),s}},74208(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.uniqBy=function(t,e){const r=new Map;for(let n=0;ni,kl:()=>o});class n{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function i(t){return new n(t,!0)}function o(t){return new n(t,!1)}},75622(t,e,r){"use strict";r.d(e,{A:()=>n});const n=r(54306).A.Symbol},75884(t,e,r){"use strict";r.d(e,{A:()=>i});var n=/^(?:0|[1-9]\d*)$/;const i=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&tl});var n=r(37664),i=Object.create;const o=function(){function t(){}return function(e){if(!(0,n.A)(e))return{};if(i)return i(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var a=r(93084),s=r(20286);const l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:o((0,a.A)(t))}},77237(t,e,r){"use strict";r(58365)},77736(t,e,r){var n=r(73738).default,i=r(89045);t.exports=function(t){var e=i(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},78845(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(98268),i=r(13272),o=r(38396),a=r(29323),s=r(35303);e.matchesProperty=function(t,e){switch(typeof t){case"object":var r;Object.is(null===(r=t)||void 0===r?void 0:r.valueOf(),-0)&&(t="-0");break;case"number":t=i.toKey(t)}return e=o.cloneDeep(e),function(r){const i=a.get(r,t);return void 0===i?s.has(r,t):void 0===e?void 0===i:n.isMatch(i,e)}}},78853(t,e,r){"use strict";t.exports=r(5896)},79477(t,e,r){"use strict";r.d(e,{R6:()=>o,Ui:()=>i});var n=r(73870);const i=(0,n.f)(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear()),t=>t.getMonth()),o=(i.range,(0,n.f)(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear()),t=>t.getUTCMonth()));o.range},79717(t,e,r){"use strict";var n=r(65043),i=r(29461);var o="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},a=i.useSyncExternalStore,s=n.useRef,l=n.useEffect,A=n.useMemo,c=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,r,n,i){var u=s(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;u=A(function(){function t(t){if(!l){if(l=!0,a=t,t=n(t),void 0!==i&&h.hasValue){var e=h.value;if(i(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var r=n(t);return void 0!==i&&i(e,r)?(a=t,e):(a=t,s=r)}var a,s,l=!1,A=void 0===r?null:r;return[function(){return t(e())},null===A?void 0:function(){return t(A())}]},[e,r,n,i]);var d=a(t,u[0],u[1]);return l(function(){h.hasValue=!0,h.value=d},[d]),c(d),d}},79778(t,e,r){"use strict";r.d(e,{A:()=>c});var n=r(45869),i=r(37664),o=r(20286);const a=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;const l=function(t){if(!(0,i.A)(t))return a(t);var e=(0,o.A)(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r};var A=r(33493);const c=function(t){return(0,A.A)(t)?(0,n.A)(t,!0):l(t)}},81375(t,e,r){"use strict";r.d(e,{A:()=>l});var n=r(54306);const i=function(){return!1};var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===o?n.A.Buffer:void 0;const l=(s?s.isBuffer:void 0)||i},82204(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(5316),i=r(87312),o=r(33799);e.sortBy=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),a=1;a1&&o.isIterateeCall(t,r[0],r[1])?r=[]:s>2&&o.isIterateeCall(r[0],r[1],r[2])&&(r=[r[0]]),n.orderBy(t,i.flatten(r),["asc"])}},82284(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})},82489(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.isDeepKey=function(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}},82863(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(7840);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n.A),r}i.Cache=n.A;const o=i},83256(t,e,r){"use strict";r.d(e,{A:()=>N});var n=r(25140),i=r(43101),o=r(55009);const a=function(t,e,r){(void 0!==r&&!(0,o.A)(t[e],r)||void 0===r&&!(e in t))&&(0,i.A)(t,e,r)};var s=r(88093),l=r(64943),A=r(13460),c=r(94766),u=r(77112),h=r(9500),d=r(45386),f=r(44586),p=r(81375),g=r(64067),m=r(37664),y=r(14802),v=r(93084),b=r(53239),w=Function.prototype,C=Object.prototype,B=w.toString,x=C.hasOwnProperty,F=B.call(Object);const k=function(t){if(!(0,b.A)(t)||"[object Object]"!=(0,y.A)(t))return!1;var e=(0,v.A)(t);if(null===e)return!0;var r=x.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&B.call(r)==F};var D=r(14910);const E=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]};var S=r(20004),_=r(79778);const T=function(t){return(0,S.A)(t,(0,_.A)(t))};const L=function(t,e,r,n,i,o,s){var y=E(t,r),v=E(e,r),b=s.get(v);if(b)a(t,r,b);else{var w=o?o(y,v,r+"",t,e,s):void 0,C=void 0===w;if(C){var B=(0,d.A)(v),x=!B&&(0,p.A)(v),F=!B&&!x&&(0,D.A)(v);w=v,B||x||F?(0,d.A)(y)?w=y:(0,f.A)(y)?w=(0,c.A)(y):x?(C=!1,w=(0,l.A)(v,!0)):F?(C=!1,w=(0,A.A)(v,!0)):w=[]:k(v)||(0,h.A)(v)?(w=y,(0,h.A)(y)?w=T(y):(0,m.A)(y)&&!(0,g.A)(y)||(w=(0,u.A)(v))):C=!1}C&&(s.set(v,w),i(w,v,n,o,s),s.delete(v)),a(t,r,w)}};const U=function t(e,r,i,o,l){e!==r&&(0,s.A)(r,function(s,A){if(l||(l=new n.A),(0,m.A)(s))L(e,r,A,i,t,o,l);else{var c=o?o(E(e,A),s,A+"",e,r,l):void 0;void 0===c&&(c=s),a(e,A,c)}},_.A)};var O=r(61869),I=r(58635);const N=function(t){return(0,O.A)(function(e,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,I.A)(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++nn})},84047(t,e,r){"use strict";function n(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function i(t){this._context=t}function o(t){return new i(t)}r.d(e,{Ay:()=>o,xO:()=>i,zx:()=>n}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:n(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:n(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}},84391(t,e,r){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=r(97004)},84571(t,e,r){"use strict";r.d(e,{$C:()=>S,$t:()=>q,C4:()=>V,I5:()=>z,Ib:()=>m,KL:()=>Y,Sm:()=>G,Un:()=>M,_K:()=>W,bH:()=>O,dq:()=>H,pe:()=>c,rY:()=>X,ru:()=>N,sM:()=>D,vU:()=>p,yT:()=>T});var n,i=r(45420),o=r(32748),a=r(73755),s=r(68973),l=r(82863),A=r(83256),c="\u200b",u={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},h=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d=(0,o.K2)(function(t,e){const r=f(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const t=r.map(t=>t.args);(0,i.$i)(t),n=(0,i.hH)(n,[...t])}else n=r.args;if(!n)return;let o=(0,i.Ch)(t,e);const a="config";return void 0!==n[a]&&("flowchart-v2"===o&&(o="flowchart"),n[o]=n[a],delete n[a]),n},"detectInit"),f=(0,o.K2)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{const a=new RegExp("[%]{2}(?![{]".concat(h.source,")(?=[}][%]{2}).*\n"),"ig");let s;t=t.trim().replace(a,"").replace(/'/gm,'"'),o.Rm.debug("Detecting diagram directive".concat(null!==e?" type:"+e:""," based on the text:").concat(t));const l=[];for(;null!==(s=i.DB.exec(t));){var r,n;if(s.index===i.DB.lastIndex&&i.DB.lastIndex++,s&&!e||e&&null!==(r=s[1])&&void 0!==r&&r.match(e)||e&&null!==(n=s[2])&&void 0!==n&&n.match(e)){const t=s[1]?s[1]:s[2],e=s[3]?s[3].trim():s[4]?JSON.parse(s[4].trim()):null;l.push({type:t,args:e})}}return 0===l.length?{type:t,args:null}:1===l.length?l[0]:l}catch(a){return o.Rm.error("ERROR: ".concat(a.message," - Unable to parse directive type: '").concat(e,"' based on the text: '").concat(t,"'")),{type:void 0,args:null}}},"detectDirective"),p=(0,o.K2)(function(t){return t.replace(i.DB,"")},"removeDirectives"),g=(0,o.K2)(function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");function m(t,e){var r;if(!t)return e;const n="curve".concat(t.charAt(0).toUpperCase()+t.slice(1));return null!==(r=u[n])&&void 0!==r?r:e}function y(t,e){const r=t.trim();if(r)return"loose"!==e.securityLevel?(0,a.J)(r):r}(0,o.K2)(m,"interpolateToCurve"),(0,o.K2)(y,"formatUrl");var v=(0,o.K2)(function(t){const e=t.split("."),r=e.length-1,n=e[r];let i=window;for(let A=0;A1?a-1:0),l=1;l{r+=b(t,e),e=t});return x(t,r/2)}function C(t){return 1===t.length?t[0]:w(t)}(0,o.K2)(b,"distance"),(0,o.K2)(w,"traverseEdge"),(0,o.K2)(C,"calcLabelPosition");var B=(0,o.K2)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),x=(0,o.K2)((t,e)=>{let r,n=e;for(const i of t){if(r){const t=b(i,r);if(0===t)return r;if(t=1)return{x:i.x,y:i.y};if(e>0&&e<1)return{x:B((1-e)*r.x+e*i.x,5),y:B((1-e)*r.y+e*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),F=(0,o.K2)((t,e,r)=>{o.Rm.info("our points ".concat(JSON.stringify(e))),e[0]!==r&&(e=e.reverse());const n=x(e,25),i=t?10:5,a=Math.atan2(e[0].y-n.y,e[0].x-n.x),s={x:0,y:0};return s.x=Math.sin(a)*i+(e[0].x+n.x)/2,s.y=-Math.cos(a)*i+(e[0].y+n.y)/2,s},"calcCardinalityPosition");function k(t,e,r){const n=structuredClone(r);o.Rm.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();const i=x(n,25+t),a=10+.5*t,s=Math.atan2(n[0].y-i.y,n[0].x-i.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*a+(n[0].x+i.x)/2,l.y=-Math.cos(s+Math.PI)*a+(n[0].y+i.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*a+(n[0].x+i.x)/2-5,l.y=-Math.cos(s-Math.PI)*a+(n[0].y+i.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*a+(n[0].x+i.x)/2-5,l.y=-Math.cos(s)*a+(n[0].y+i.y)/2-5):(l.x=Math.sin(s)*a+(n[0].x+i.x)/2,l.y=-Math.cos(s)*a+(n[0].y+i.y)/2),l}function D(t){let e="",r="";for(const 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,o.K2)(k,"calcTerminalLabelPosition"),(0,o.K2)(D,"getStylesFromArray");var E=0,S=(0,o.K2)(()=>(E++,"id-"+Math.random().toString(36).substr(2,12)+"-"+E),"generateId");function _(t){let e="";const r="0123456789abcdef";for(let n=0;n_(t.length),"random"),L=(0,o.K2)(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"),U=(0,o.K2)(function(t,e){const r=e.text.replace(i.Y2.lineBreakRegex," "),[,n]=z(e.fontSize),o=t.append("text");o.attr("x",e.x),o.attr("y",e.y),o.style("text-anchor",e.anchor),o.style("font-family",e.fontFamily),o.style("font-size",n),o.style("font-weight",e.fontWeight),o.attr("fill",e.fill),void 0!==e.class&&o.attr("class",e.class);const a=o.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(r),o},"drawSimpleText"),O=(0,l.A)((t,e,r)=>{if(!t)return t;if(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
    "},r),i.Y2.lineBreakRegex.test(t))return t;const n=t.split(" ").filter(Boolean),o=[];let a="";return n.forEach((t,i)=>{const s=M("".concat(t," "),r),l=M(a,r);if(s>e){const{hyphenatedStrings:n,remainingWord:i}=I(t,e,"-",r);o.push(a,...n),a=i}else l+s>=e?(o.push(a),a=t):a=[a,t].filter(Boolean).join(" ");i+1===n.length&&o.push(a)}),o.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>"".concat(t).concat(e).concat(r.fontSize).concat(r.fontWeight).concat(r.fontFamily).concat(r.joinWith)),I=(0,l.A)(function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0;n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const i=[...t],o=[];let a="";return i.forEach((t,s)=>{const l="".concat(a).concat(t);if(M(l,n)>=e){const t=s+1,e=i.length===t,n="".concat(l).concat(r);o.push(e?l:n),a=""}else a=l}),{hyphenatedStrings:o,remainingWord:a}},function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0;return"".concat(t).concat(e).concat(r).concat(n.fontSize).concat(n.fontWeight).concat(n.fontFamily)});function N(t,e){return P(t,e).height}function M(t,e){return P(t,e).width}(0,o.K2)(N,"calculateTextHeight"),(0,o.K2)(M,"calculateTextWidth");var Q,P=(0,l.A)((t,e)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:o=400}=e;if(!t)return{width:0,height:0};const[,a]=z(r),l=["sans-serif",n],A=t.split(i.Y2.lineBreakRegex),u=[],h=(0,s.Ltv)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const d=h.append("svg");for(const i of l){let t=0;const e={width:0,height:0,lineHeight:0};for(const r of A){const n=L();n.text=r||c;const s=U(d,n).style("font-size",a).style("font-weight",o).style("font-family",i),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,l.width)),t=Math.round(l.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}u.push(e)}d.remove();return u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]},(t,e)=>"".concat(t).concat(e.fontSize).concat(e.fontWeight).concat(e.fontFamily)),j=(n=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}},(0,o.K2)(n,"InitIDGenerator"),n),R=(0,o.K2)(function(t){return Q=Q||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),Q.innerHTML=t,unescape(Q.textContent)},"entityDecode");function H(t){return"str"in t}(0,o.K2)(H,"isDetailedError");var K=(0,o.K2)((t,e,r,n)=>{var i;if(!n)return;const o=null===(i=t.node())||void 0===i?void 0:i.getBBox();o&&t.append("text").text(n).attr("text-anchor","middle").attr("x",o.x+o.width/2).attr("y",-r).attr("class",e)},"insertTitle"),z=(0,o.K2)(t=>{if("number"===typeof t)return[t,t+"px"];const e=parseInt(null!==t&&void 0!==t?t:"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function q(t,e){return(0,A.A)({},t,e)}(0,o.K2)(q,"cleanAndMerge");var W={assignWithDepth:i.hH,wrapLabel:O,calculateTextHeight:N,calculateTextWidth:M,calculateTextDimensions:P,cleanAndMerge:q,detectInit:d,detectDirective:f,isSubstringInArray:g,interpolateToCurve:m,calcLabelPosition:C,calcCardinalityPosition:F,calcTerminalLabelPosition:k,formatUrl:y,getStylesFromArray:D,generateId:S,random:T,runFunc:v,entityDecode:R,insertTitle:K,isLabelCoordinateInPath:J,parseFontSize:z,InitIDGenerator:j},V=(0,o.K2)(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)}),e=e.replace(/#\w+;/g,function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"}),e},"encodeEntities"),G=(0,o.K2)(function(t){return t.replace(/\ufb02\xb0\xb0/g,"&#").replace(/\ufb02\xb0/g,"&").replace(/\xb6\xdf/g,";")},"decodeEntities"),X=(0,o.K2)((t,e,r,n)=>{let{counter:i=0,prefix:o,suffix:a}=r;return n||"".concat(o?"".concat(o,"_"):"").concat(t,"_").concat(e,"_").concat(i).concat(a?"_".concat(a):"")},"getEdgeId");function Y(t){return null!==t&&void 0!==t?t:null}function J(t,e){const r=Math.round(t.x),n=Math.round(t.y),i=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return i.includes(r.toString())||i.includes(n.toString())}(0,o.K2)(Y,"handleUndefinedAttr"),(0,o.K2)(J,"isLabelCoordinateInPath")},85508(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(56433),i=r(27599);e.cloneDeepWith=function(t,e){return n.cloneDeepWith(t,(r,o,a,s)=>{const l=null===e||void 0===e?void 0:e(r,o,a,s);if(void 0!==l)return l;if("object"===typeof t)switch(Object.prototype.toString.call(t)){case i.numberTag:case i.stringTag:case i.booleanTag:{const e=new t.constructor(null===t||void 0===t?void 0:t.valueOf());return n.copyProperties(e,t),e}case i.argumentsTag:{const e={};return n.copyProperties(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}},85554(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(24962);const i=(t,e)=>(0,n.A)(t,"l",-e)},86321(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(25990);e.isArguments=function(t){return null!==t&&"object"===typeof t&&"[object Arguments]"===n.getTag(t)}},86362(t,e,r){"use strict";r.d(e,{A:()=>i});var n=r(24962);const i=(t,e)=>(0,n.A)(t,"l",e)},87043(t,e,r){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const n=r(32777),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.isKey=function(t,e){return!Array.isArray(t)&&(!("number"!==typeof t&&"boolean"!==typeof t&&null!=t&&!n.isSymbol(t))||("string"===typeof t&&(o.test(t)||!i.test(t))||null!=e&&Object.hasOwn(e,t)))}},87312(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.flatten=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const r=[],n=Math.floor(e),i=(t,e)=>{for(let o=0;odt});const{entries:n,setPrototypeOf:i,isFrozen:o,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object;let{freeze:l,seal:A,create:c}=Object,{apply:u,construct:h}="undefined"!==typeof Reflect&&Reflect;l||(l=function(t){return t}),A||(A=function(t){return t}),u||(u=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i1?e-1:0),n=1;n1?r-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:v;if(i&&i(t,null),!y(e))return t;let n=e.length;for(;n--;){let i=e[n];if("string"===typeof i){const t=r(i);t!==i&&(o(e)||(e[n]=t),i=t)}t[i]=!0}return t}function N(t){for(let e=0;e/gm),Z=A(/\$\{[\w\W]*/gm),$=A(/^data-[\-\w.\u00B7-\uFFFF]+$/),tt=A(/^aria-[\-\w]+$/),et=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),rt=A(/^(?:\w+script|data):/i),nt=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=A(/^html$/i),ot=A(/^[a-z][.\w]*(-[.\w]+)+$/i);var at=Object.freeze({__proto__:null,ARIA_ATTR:tt,ATTR_WHITESPACE:nt,CUSTOM_ELEMENT:ot,DATA_ATTR:$,DOCTYPE_NAME:it,ERB_EXPR:J,IS_ALLOWED_URI:et,IS_SCRIPT_OR_DATA:rt,MUSTACHE_EXPR:Y,TMPLIT_EXPR:Z});const st=1,lt=3,At=7,ct=8,ut=9,ht=function(){return"undefined"===typeof window?null:window};var dt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ht();const r=e=>t(e);if(r.version="3.4.2",r.removed=[],!e||!e.document||e.document.nodeType!==ut||!e.Element)return r.isSupported=!1,r;let{document:i}=e;const o=i,a=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:A,Node:u,Element:h,NodeFilter:U,NamedNodeMap:O=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:N,DOMParser:Y,trustedTypes:J}=e,Z=h.prototype,$=Q(Z,"cloneNode"),tt=Q(Z,"remove"),rt=Q(Z,"nextSibling"),nt=Q(Z,"childNodes"),ot=Q(Z,"parentNode");if("function"===typeof A){const t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let dt,ft="";const{implementation:pt,createNodeIterator:gt,createDocumentFragment:mt,getElementsByTagName:yt}=i,{importNode:vt}=o;let bt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"===typeof n&&"function"===typeof ot&&pt&&void 0!==pt.createHTMLDocument;const{MUSTACHE_EXPR:wt,ERB_EXPR:Ct,TMPLIT_EXPR:Bt,DATA_ATTR:xt,ARIA_ATTR:Ft,IS_SCRIPT_OR_DATA:kt,ATTR_WHITESPACE:Dt,CUSTOM_ELEMENT:Et}=at;let{IS_ALLOWED_URI:St}=at,_t=null;const Tt=I({},[...P,...j,...R,...K,...q]);let Lt=null;const Ut=I({},[...W,...V,...G,...X]);let Ot=Object.seal(c(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}})),It=null,Nt=null;const Mt=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Qt=!0,Pt=!0,jt=!1,Rt=!0,Ht=!1,Kt=!0,zt=!1,qt=!1,Wt=!1,Vt=!1,Gt=!1,Xt=!1,Yt=!0,Jt=!1;const Zt="user-content-";let $t=!0,te=!1,ee={},re=null;const ne=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ie=null;const oe=I({},["audio","video","img","source","image","track"]);let ae=null;const se=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),le="http://www.w3.org/1998/Math/MathML",Ae="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xhtml";let ue=ce,he=!1,de=null;const fe=I({},[le,Ae,ce],b);let pe=I({},["mi","mo","mn","ms","mtext"]),ge=I({},["annotation-xml"]);const me=I({},["title","style","font","a","script"]);let ye=null;const ve=["application/xhtml+xml","text/html"];let be=null,we=null;const Ce=i.createElement("form"),Be=function(t){return t instanceof RegExp||t instanceof Function},xe=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(we&&we===t)return;t&&"object"===typeof t||(t={}),t=M(t),ye=-1===ve.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,be="application/xhtml+xml"===ye?b:v,_t=S(t,"ALLOWED_TAGS")&&y(t.ALLOWED_TAGS)?I({},t.ALLOWED_TAGS,be):Tt,Lt=S(t,"ALLOWED_ATTR")&&y(t.ALLOWED_ATTR)?I({},t.ALLOWED_ATTR,be):Ut,de=S(t,"ALLOWED_NAMESPACES")&&y(t.ALLOWED_NAMESPACES)?I({},t.ALLOWED_NAMESPACES,b):fe,ae=S(t,"ADD_URI_SAFE_ATTR")&&y(t.ADD_URI_SAFE_ATTR)?I(M(se),t.ADD_URI_SAFE_ATTR,be):se,ie=S(t,"ADD_DATA_URI_TAGS")&&y(t.ADD_DATA_URI_TAGS)?I(M(oe),t.ADD_DATA_URI_TAGS,be):oe,re=S(t,"FORBID_CONTENTS")&&y(t.FORBID_CONTENTS)?I({},t.FORBID_CONTENTS,be):ne,It=S(t,"FORBID_TAGS")&&y(t.FORBID_TAGS)?I({},t.FORBID_TAGS,be):M({}),Nt=S(t,"FORBID_ATTR")&&y(t.FORBID_ATTR)?I({},t.FORBID_ATTR,be):M({}),ee=!!S(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"===typeof t.USE_PROFILES?M(t.USE_PROFILES):t.USE_PROFILES),Qt=!1!==t.ALLOW_ARIA_ATTR,Pt=!1!==t.ALLOW_DATA_ATTR,jt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Rt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ht=t.SAFE_FOR_TEMPLATES||!1,Kt=!1!==t.SAFE_FOR_XML,zt=t.WHOLE_DOCUMENT||!1,Vt=t.RETURN_DOM||!1,Gt=t.RETURN_DOM_FRAGMENT||!1,Xt=t.RETURN_TRUSTED_TYPE||!1,Wt=t.FORCE_BODY||!1,Yt=!1!==t.SANITIZE_DOM,Jt=t.SANITIZE_NAMED_PROPS||!1,$t=!1!==t.KEEP_CONTENT,te=t.IN_PLACE||!1,St=function(t){try{return T(t,""),!0}catch(e){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:et,ue="string"===typeof t.NAMESPACE?t.NAMESPACE:ce,pe=S(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"===typeof t.MATHML_TEXT_INTEGRATION_POINTS?M(t.MATHML_TEXT_INTEGRATION_POINTS):I({},["mi","mo","mn","ms","mtext"]),ge=S(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"===typeof t.HTML_INTEGRATION_POINTS?M(t.HTML_INTEGRATION_POINTS):I({},["annotation-xml"]);const e=S(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"===typeof t.CUSTOM_ELEMENT_HANDLING?M(t.CUSTOM_ELEMENT_HANDLING):c(null);if(Ot=c(null),S(e,"tagNameCheck")&&Be(e.tagNameCheck)&&(Ot.tagNameCheck=e.tagNameCheck),S(e,"attributeNameCheck")&&Be(e.attributeNameCheck)&&(Ot.attributeNameCheck=e.attributeNameCheck),S(e,"allowCustomizedBuiltInElements")&&"boolean"===typeof e.allowCustomizedBuiltInElements&&(Ot.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),Ht&&(Pt=!1),Gt&&(Vt=!0),ee&&(_t=I({},q),Lt=c(null),!0===ee.html&&(I(_t,P),I(Lt,W)),!0===ee.svg&&(I(_t,j),I(Lt,V),I(Lt,X)),!0===ee.svgFilters&&(I(_t,R),I(Lt,V),I(Lt,X)),!0===ee.mathMl&&(I(_t,K),I(Lt,G),I(Lt,X))),Mt.tagCheck=null,Mt.attributeCheck=null,S(t,"ADD_TAGS")&&("function"===typeof t.ADD_TAGS?Mt.tagCheck=t.ADD_TAGS:y(t.ADD_TAGS)&&(_t===Tt&&(_t=M(_t)),I(_t,t.ADD_TAGS,be))),S(t,"ADD_ATTR")&&("function"===typeof t.ADD_ATTR?Mt.attributeCheck=t.ADD_ATTR:y(t.ADD_ATTR)&&(Lt===Ut&&(Lt=M(Lt)),I(Lt,t.ADD_ATTR,be))),S(t,"ADD_URI_SAFE_ATTR")&&y(t.ADD_URI_SAFE_ATTR)&&I(ae,t.ADD_URI_SAFE_ATTR,be),S(t,"FORBID_CONTENTS")&&y(t.FORBID_CONTENTS)&&(re===ne&&(re=M(re)),I(re,t.FORBID_CONTENTS,be)),S(t,"ADD_FORBID_CONTENTS")&&y(t.ADD_FORBID_CONTENTS)&&(re===ne&&(re=M(re)),I(re,t.ADD_FORBID_CONTENTS,be)),$t&&(_t["#text"]=!0),zt&&I(_t,["html","head","body"]),_t.table&&(I(_t,["tbody"]),delete It.tbody),t.TRUSTED_TYPES_POLICY){if("function"!==typeof t.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');dt=t.TRUSTED_TYPES_POLICY,ft=dt.createHTML("")}else void 0===dt&&(dt=function(t,e){if("object"!==typeof t||"function"!==typeof t.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(J,a)),null!==dt&&"string"===typeof ft&&(ft=dt.createHTML(""));l&&l(t),we=t},Fe=I({},[...j,...R,...H]),ke=I({},[...K,...z]),De=function(t){g(r.removed,{element:t});try{ot(t).removeChild(t)}catch(e){tt(t)}},Ee=function(t,e){try{g(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){g(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Vt||Gt)try{De(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},Se=function(t){let e=null,r=null;if(Wt)t=""+t;else{const e=w(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===ye&&ue===ce&&(t=''+t+"");const n=dt?dt.createHTML(t):t;if(ue===ce)try{e=(new Y).parseFromString(n,ye)}catch(a){}if(!e||!e.documentElement){e=pt.createDocument(ue,"template",null);try{e.documentElement.innerHTML=he?ft:n}catch(a){}}const o=e.body||e.documentElement;return t&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),ue===ce?yt.call(e,zt?"html":"body")[0]:zt?e.documentElement:o},_e=function(t){return gt.call(t.ownerDocument||t,t,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},Te=function(t){return t instanceof N&&("string"!==typeof t.nodeName||"string"!==typeof t.textContent||"function"!==typeof t.removeChild||!(t.attributes instanceof O)||"function"!==typeof t.removeAttribute||"function"!==typeof t.setAttribute||"string"!==typeof t.namespaceURI||"function"!==typeof t.insertBefore||"function"!==typeof t.hasChildNodes)},Le=function(t){return"function"===typeof u&&t instanceof u};function Ue(t,e,n){d(t,t=>{t.call(r,e,n,we)})}const Oe=function(t){let e=null;if(Ue(bt.beforeSanitizeElements,t,null),Te(t))return De(t),!0;const n=be(t.nodeName);if(Ue(bt.uponSanitizeElement,t,{tagName:n,allowedTags:_t}),Kt&&t.hasChildNodes()&&!Le(t.firstElementChild)&&T(/<[/\w!]/g,t.innerHTML)&&T(/<[/\w!]/g,t.textContent))return De(t),!0;if(Kt&&t.namespaceURI===ce&&"style"===n&&Le(t.firstElementChild))return De(t),!0;if(t.nodeType===At)return De(t),!0;if(Kt&&t.nodeType===ct&&T(/<[/\w]/g,t.data))return De(t),!0;if(It[n]||!(Mt.tagCheck instanceof Function&&Mt.tagCheck(n))&&!_t[n]){if(!It[n]&&Me(n)){if(Ot.tagNameCheck instanceof RegExp&&T(Ot.tagNameCheck,n))return!1;if(Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(n))return!1}if($t&&!re[n]){const e=ot(t)||t.parentNode,r=nt(t)||t.childNodes;if(r&&e){for(let n=r.length-1;n>=0;--n){const i=$(r[n],!0);e.insertBefore(i,rt(t))}}}return De(t),!0}return t instanceof h&&!function(t){let e=ot(t);e&&e.tagName||(e={namespaceURI:ue,tagName:"template"});const r=v(t.tagName),n=v(e.tagName);return!!de[t.namespaceURI]&&(t.namespaceURI===Ae?e.namespaceURI===ce?"svg"===r:e.namespaceURI===le?"svg"===r&&("annotation-xml"===n||pe[n]):Boolean(Fe[r]):t.namespaceURI===le?e.namespaceURI===ce?"math"===r:e.namespaceURI===Ae?"math"===r&&ge[n]:Boolean(ke[r]):t.namespaceURI===ce?!(e.namespaceURI===Ae&&!ge[n])&&!(e.namespaceURI===le&&!pe[n])&&!ke[r]&&(me[r]||!Fe[r]):!("application/xhtml+xml"!==ye||!de[t.namespaceURI]))}(t)?(De(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!T(/<\/no(script|embed|frames)/i,t.innerHTML)?(Ht&&t.nodeType===lt&&(e=t.textContent,d([wt,Ct,Bt],t=>{e=C(e,t," ")}),t.textContent!==e&&(g(r.removed,{element:t.cloneNode()}),t.textContent=e)),Ue(bt.afterSanitizeElements,t,null),!1):(De(t),!0)},Ie=function(t,e,r){if(Nt[e])return!1;if(Yt&&("id"===e||"name"===e)&&(r in i||r in Ce))return!1;const n=Lt[e]||Mt.attributeCheck instanceof Function&&Mt.attributeCheck(e,t);if(Pt&&!Nt[e]&&T(xt,e));else if(Qt&&T(Ft,e));else if(!n||Nt[e]){if(!(Me(t)&&(Ot.tagNameCheck instanceof RegExp&&T(Ot.tagNameCheck,t)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(t))&&(Ot.attributeNameCheck instanceof RegExp&&T(Ot.attributeNameCheck,e)||Ot.attributeNameCheck instanceof Function&&Ot.attributeNameCheck(e,t))||"is"===e&&Ot.allowCustomizedBuiltInElements&&(Ot.tagNameCheck instanceof RegExp&&T(Ot.tagNameCheck,r)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(r))))return!1}else if(ae[e]);else if(T(St,C(r,Dt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==B(r,"data:")||!ie[t]){if(jt&&!T(kt,C(r,Dt,"")));else if(r)return!1}else;return!0},Ne=I({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Me=function(t){return!Ne[v(t)]&&T(Et,t)},Qe=function(t){Ue(bt.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Te(t))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Lt,forceKeepAttr:void 0};let i=e.length;for(;i--;){const a=e[i],{name:s,namespaceURI:l,value:A}=a,c=be(s),u=A;let h="value"===s?u:x(u);if(n.attrName=c,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,Ue(bt.uponSanitizeAttribute,t,n),h=n.attrValue,!Jt||"id"!==c&&"name"!==c||0===B(h,Zt)||(Ee(s,t),h=Zt+h),Kt&&T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)){Ee(s,t);continue}if("attributename"===c&&w(h,"href")){Ee(s,t);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){Ee(s,t);continue}if(!Rt&&T(/\/>/i,h)){Ee(s,t);continue}Ht&&d([wt,Ct,Bt],t=>{h=C(h,t," ")});const f=be(t.nodeName);if(Ie(f,c,h)){if(dt&&"object"===typeof J&&"function"===typeof J.getAttributeType)if(l);else switch(J.getAttributeType(f,c)){case"TrustedHTML":h=dt.createHTML(h);break;case"TrustedScriptURL":h=dt.createScriptURL(h)}if(h!==u)try{l?t.setAttributeNS(l,s,h):t.setAttribute(s,h),Te(t)?De(t):p(r.removed)}catch(o){Ee(s,t)}}else Ee(s,t)}Ue(bt.afterSanitizeAttributes,t,null)},Pe=function(t){let e=null;const r=_e(t);for(Ue(bt.beforeSanitizeShadowDOM,t,null);e=r.nextNode();)Ue(bt.uponSanitizeShadowNode,e,null),Oe(e),Qe(e),e.content instanceof s&&Pe(e.content);Ue(bt.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,a=null,l=null;if(he=!t,he&&(t="\x3c!--\x3e"),"string"!==typeof t&&!Le(t)&&"string"!==typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return F(t);case"boolean":return k(t);case"bigint":return D?D(t):"0";case"symbol":return E?E(t):"Symbol()";case"undefined":default:return _(t);case"function":case"object":{if(null===t)return _(t);const e=t,r=Q(e,"toString");if("function"===typeof r){const t=r(e);return"string"===typeof t?t:_(t)}return _(t)}}}(t)))throw L("dirty is not a string, aborting");if(!r.isSupported)return t;if(qt||xe(e),r.removed=[],"string"===typeof t&&(te=!1),te){const e=t.nodeName;if("string"===typeof e){const t=be(e);if(!_t[t]||It[t])throw L("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)n=Se("\x3c!----\x3e"),i=n.ownerDocument.importNode(t,!0),i.nodeType===st&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Vt&&!Ht&&!zt&&-1===t.indexOf("<"))return dt&&Xt?dt.createHTML(t):t;if(n=Se(t),!n)return Vt?null:Xt?ft:""}n&&Wt&&De(n.firstChild);const A=_e(te?t:n);for(;a=A.nextNode();)Oe(a),Qe(a),a.content instanceof s&&Pe(a.content);if(te)return t;if(Vt){if(Ht){n.normalize();let t=n.innerHTML;d([wt,Ct,Bt],e=>{t=C(t,e," ")}),n.innerHTML=t}if(Gt)for(l=mt.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Lt.shadowroot||Lt.shadowrootmode)&&(l=vt.call(o,l,!0)),l}let c=zt?n.outerHTML:n.innerHTML;return zt&&_t["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&T(it,n.ownerDocument.doctype.name)&&(c="\n"+c),Ht&&d([wt,Ct,Bt],t=>{c=C(c,t," ")}),dt&&Xt?dt.createHTML(c):c},r.setConfig=function(){xe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),qt=!0},r.clearConfig=function(){we=null,qt=!1},r.isValidAttribute=function(t,e,r){we||xe({});const n=be(t),i=be(e);return Ie(n,i,r)},r.addHook=function(t,e){"function"===typeof e&&g(bt[t],e)},r.removeHook=function(t,e){if(void 0!==e){const r=f(bt[t],e);return-1===r?void 0:m(bt[t],r,1)[0]}return p(bt[t])},r.removeHooks=function(t){bt[t]=[]},r.removeAllHooks=function(){bt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}()},88093(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===r(o[l],l,o))break}return e}}()},88330(t,e,r){"use strict";function n(t){return t<0?-1:1}function i(t,e,r){var i=t._x1-t._x0,o=e-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),s=(r-t._y1)/(o||i<0&&-0),l=(a*o+s*i)/(i+o);return(n(a)+n(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function o(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function a(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,i+s*e,o-s,a-s*r,o,a)}function s(t){this._context=t}function l(t){this._context=new A(t)}function A(t){this._context=t}function c(t){return new s(t)}function u(t){return new l(t)}r.d(e,{G:()=>c,N:()=>u}),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,r=i(this,t,e)),r);break;default:a(this,this._t0,r=i(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(l.prototype=Object.create(s.prototype)).point=function(t,e){s.prototype.point.call(this,e,t)},A.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}}},89045(t,e,r){var n=r(73738).default;t.exports=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},89379(t,e,r){"use strict";r.d(e,{A:()=>o});var n=r(64980);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var e=1;ea,X:()=>s});var n=r(84571),i=r(45420),o=r(32748),a=(0,o.K2)(t=>{var e,r,n,i;let{flowchart:o}=t;const a=null!==(e=null===o||void 0===o||null===(r=o.subGraphTitleMargin)||void 0===r?void 0:r.top)&&void 0!==e?e:0,s=null!==(n=null===o||void 0===o||null===(i=o.subGraphTitleMargin)||void 0===i?void 0:i.bottom)&&void 0!==n?n:0;return{subGraphTitleTopMargin:a,subGraphTitleBottomMargin:s,subGraphTitleTotalMargin:a+s}},"getSubGraphTitleMargins");async function s(t,e){const r=t.getElementsByTagName("img");if(!r||0===r.length)return;const a=""===e.replace(/]*>/g,"").trim();await Promise.all([...r].map(t=>new Promise(e=>{function r(){if(t.style.display="flex",t.style.flexDirection="column",a){const e=(0,i.D7)().fontSize?(0,i.D7)().fontSize:window.getComputedStyle(document.body).fontSize,r=5,[o=i.UI.fontSize]=(0,n.I5)(e),a=o*r+"px";t.style.minWidth=a,t.style.maxWidth=a}else t.style.width="100%";e(t)}(0,o.K2)(r,"setupImage"),setTimeout(()=>{t.complete&&r()}),t.addEventListener("error",r),t.addEventListener("load",r)})))}(0,o.K2)(s,"configureLabelImages")},92132(t,e,r){"use strict";var n=r(12897).default;Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const i=r(60870),o=r(24803),a=r(19972);function s(t,e,r,c){if(e===t)return!0;switch(typeof e){case"object":return function(t,e,r,n){if(null==e)return!0;if(Array.isArray(e))return l(t,e,r,n);if(e instanceof Map)return function(t,e,r,n){if(0===e.size)return!0;if(!(t instanceof Map))return!1;for(const[i,o]of e.entries()){if(!1===r(t.get(i),o,i,t,e,n))return!1}return!0}(t,e,r,n);if(e instanceof Set)return A(t,e,r,n);const i=Object.keys(e);if(null==t||o.isPrimitive(t))return 0===i.length;if(0===i.length)return!0;if(null!==n&&void 0!==n&&n.has(e))return n.get(e)===t;null===n||void 0===n||n.set(e,t);try{for(let a=0;a0?s(t,n({},e),r,c):a.eq(t,e);default:return i.isObject(t)?"string"!==typeof e||""===e:a.eq(t,e)}}function l(t,e,r,n){if(0===e.length)return!0;if(!Array.isArray(t))return!1;const i=new Set;for(let o=0;o{}):s(e,r,function t(e,r,i,o,a,l){const A=n(e,r,i,o,a,l);return void 0!==A?Boolean(A):s(e,r,t,l)},new Map)},e.isSetMatch=A},93084(t,e,r){"use strict";r.d(e,{A:()=>n});const n=(0,r(55674).A)(Object.getPrototypeOf,Object)},94332(t,e,r){t.exports=r(95053).uniqBy},94766(t,e,r){"use strict";r.d(e,{A:()=>n});const n=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r1&&void 0!==arguments[1]?arguments[1]:i.identity;return o.isArrayLikeObject(t)?n.uniqBy(Array.from(t),a.iteratee(e)):[]}},95082(t,e){"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,A=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,u=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,p=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function w(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case c:case u:case o:case s:case a:case d:return t;default:switch(t=t&&t.$$typeof){case A:case h:case g:case p:case l:return t;default:return e}}case i:return e}}}function C(t){return w(t)===u}e.isFragment=function(t){return w(t)===o}},95481(t,e,r){"use strict";r.d(e,{Y:()=>i,Z:()=>o});var n=r(17170);const i={};for(let a=0;a<=255;a++)i[a]=n.A.unit.dec2hex(a);const o={ALL:0,RGB:1,HSL:2}},96392(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.last=function(t){return t[t.length-1]}},96421(t,e,r){"use strict";r.d(e,{XX:()=>u,q7:()=>h,sO:()=>c});var n=r(23096),i=r(56565),o=r(84571),a=r(45420),s=r(32748),l={common:a.Y2,getConfig:a.zj,insertCluster:i.U,insertEdge:n.Jo,insertEdgeLabel:n.jP,insertMarkers:n.g0,insertNode:i.on,interpolateToCurve:o.Ib,labelHelper:i.Zk,log:s.Rm,positionEdgeLabel:n.T_},A={},c=(0,s.K2)(t=>{for(const e of t)A[e.name]=e},"registerLayoutLoaders");(0,s.K2)(()=>{c([{name:"dagre",loader:(0,s.K2)(async()=>await Promise.all([r.e(571),r.e(532),r.e(590),r.e(75)]).then(r.bind(r,11075)),"loader")},{name:"cose-bilkent",loader:(0,s.K2)(async()=>await Promise.all([r.e(646),r.e(195)]).then(r.bind(r,58195)),"loader")}])},"registerDefaultLayoutLoaders")();var u=(0,s.K2)(async(t,e)=>{if(!(t.layoutAlgorithm in A))throw new Error("Unknown layout algorithm: ".concat(t.layoutAlgorithm));if(t.diagramId)for(const l of t.nodes){const e=l.domId||l.id;l.domId="".concat(t.diagramId,"-").concat(e)}const r=A[t.layoutAlgorithm],n=await r.loader(),{theme:i,themeVariables:o}=t.config,{useGradient:a,gradientStart:s,gradientStop:c}=o,u=e.attr("id");if(e.append("defs").append("filter").attr("id","".concat(u,"-drop-shadow")).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color","".concat(null!==i&&void 0!==i&&i.includes("dark")?"#FFFFFF":"#000000")),e.append("defs").append("filter").attr("id","".concat(u,"-drop-shadow-small")).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color","".concat(null!==i&&void 0!==i&&i.includes("dark")?"#FFFFFF":"#000000")),a){const t=e.append("linearGradient").attr("id",e.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",c).attr("stop-opacity",1)}return n.render(t,e,l,{algorithm:r.algorithm})},"render"),h=(0,s.K2)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{fallback:e="dagre"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t in A)return t;if(e in A)return s.Rm.warn("Layout algorithm ".concat(t," is not registered. Using ").concat(e," as fallback.")),e;throw new Error("Both layout algorithms ".concat(t," and ").concat(e," are not registered."))},"getRegisteredLayoutAlgorithm")},96443(t,e){"use strict";Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e.getSymbols=function(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}},97004(t,e,r){"use strict";var n=r(78853),i=r(65043),o=r(97950);function a(t){var e="https://react.dev/errors/"+t;if(1Q||(t.current=M[Q],M[Q]=null,Q--)}function R(t,e){Q++,M[Q]=t.current,t.current=e}var H,K,z=P(null),q=P(null),W=P(null),V=P(null);function G(t,e){switch(R(W,e),R(q,t),R(z,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?mu(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)t=yu(e=mu(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}j(z),R(z,t)}function X(){j(z),j(q),j(W)}function Y(t){null!==t.memoizedState&&R(V,t);var e=z.current,r=yu(e,t.type);e!==r&&(R(q,t),R(z,r))}function J(t){q.current===t&&(j(z),j(q)),V.current===t&&(j(V),ch._currentValue=N)}function Z(t){if(void 0===H)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);H=e&&e[1]||"",K=-1)":-1--i||l[n]!==A[i]){var c="\n"+l[n].replace(" at new "," at ");return t.displayName&&c.includes("")&&(c=c.replace("",t.displayName)),c}}while(1<=n&&0<=i);break}}}finally{$=!1,Error.prepareStackTrace=r}return(r=t?t.displayName||t.name:"")?Z(r):""}function et(t,e){switch(t.tag){case 26:case 27:case 5:return Z(t.type);case 16:return Z("Lazy");case 13:return t.child!==e&&null!==e?Z("Suspense Fallback"):Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return tt(t.type,!1);case 11:return tt(t.type.render,!1);case 1:return tt(t.type,!0);case 31:return Z("Activity");default:return""}}function rt(t){try{var e="",r=null;do{e+=et(t,r),r=t,t=t.return}while(t);return e}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}var nt=Object.prototype.hasOwnProperty,it=n.unstable_scheduleCallback,ot=n.unstable_cancelCallback,at=n.unstable_shouldYield,st=n.unstable_requestPaint,lt=n.unstable_now,At=n.unstable_getCurrentPriorityLevel,ct=n.unstable_ImmediatePriority,ut=n.unstable_UserBlockingPriority,ht=n.unstable_NormalPriority,dt=n.unstable_LowPriority,ft=n.unstable_IdlePriority,pt=n.log,gt=n.unstable_setDisableYieldValue,mt=null,yt=null;function vt(t){if("function"===typeof pt&>(t),yt&&"function"===typeof yt.setStrictMode)try{yt.setStrictMode(mt,t)}catch(e){}}var bt=Math.clz32?Math.clz32:function(t){return 0===(t>>>=0)?32:31-(wt(t)/Ct|0)|0},wt=Math.log,Ct=Math.LN2;var Bt=256,xt=262144,Ft=4194304;function kt(t){var e=42&t;if(0!==e)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&t;case 262144:case 524288:case 1048576:case 2097152:return 3932160&t;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&t;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Dt(t,e,r){var n=t.pendingLanes;if(0===n)return 0;var i=0,o=t.suspendedLanes,a=t.pingedLanes;t=t.warmLanes;var s=134217727&n;return 0!==s?0!==(n=s&~o)?i=kt(n):0!==(a&=s)?i=kt(a):r||0!==(r=s&~t)&&(i=kt(r)):0!==(s=n&~o)?i=kt(s):0!==a?i=kt(a):r||0!==(r=n&~t)&&(i=kt(r)),0===i?0:0!==e&&e!==i&&0===(e&o)&&((o=i&-i)>=(r=e&-e)||32===o&&0!==(4194048&r))?e:i}function Et(t,e){return 0===(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)}function St(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function _t(){var t=Ft;return 0===(62914560&(Ft<<=1))&&(Ft=4194304),t}function Tt(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function Lt(t,e){t.pendingLanes|=e,268435456!==e&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ut(t,e,r){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-bt(e);t.entangledLanes|=e,t.entanglements[n]=1073741824|t.entanglements[n]|261930&r}function Ot(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-bt(r),i=1<=Fr),Er=String.fromCharCode(32),Sr=!1;function _r(t,e){switch(t){case"keyup":return-1!==Br.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tr(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var Lr=!1;var Ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Or(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Ur[t.type]:"textarea"===e}function Ir(t,e,r,n){Ie?Ne?Ne.push(n):Ne=[n]:Ie=n,0<(e=nu(e,"onChange")).length&&(r=new rr("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var Nr=null,Mr=null;function Qr(t){Xc(t,0)}function Pr(t){if(fe(Zt(t)))return t}function jr(t,e){if("change"===t)return e}var Rr=!1;if(Re){var Hr;if(Re){var Kr="oninput"in document;if(!Kr){var zr=document.createElement("div");zr.setAttribute("oninput","return;"),Kr="function"===typeof zr.oninput}Hr=Kr}else Hr=!1;Rr=Hr&&(!document.documentMode||9=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=$r(n)}}function en(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?en(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function rn(t){for(var e=pe((t=null!=t&&null!=t.ownerDocument&&null!=t.ownerDocument.defaultView?t.ownerDocument.defaultView:window).document);e instanceof t.HTMLIFrameElement;){try{var r="string"===typeof e.contentWindow.location.href}catch(n){r=!1}if(!r)break;e=pe((t=e.contentWindow).document)}return e}function nn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var on=Re&&"documentMode"in document&&11>=document.documentMode,an=null,sn=null,ln=null,An=!1;function cn(t,e,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;An||null==an||an!==pe(n)||("selectionStart"in(n=an)&&nn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},ln&&Zr(ln,n)||(ln=n,0<(n=nu(sn,"onSelect")).length&&(e=new rr("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=an)))}function un(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var hn={animationend:un("Animation","AnimationEnd"),animationiteration:un("Animation","AnimationIteration"),animationstart:un("Animation","AnimationStart"),transitionrun:un("Transition","TransitionRun"),transitionstart:un("Transition","TransitionStart"),transitioncancel:un("Transition","TransitionCancel"),transitionend:un("Transition","TransitionEnd")},dn={},fn={};function pn(t){if(dn[t])return dn[t];if(!hn[t])return t;var e,r=hn[t];for(e in r)if(r.hasOwnProperty(e)&&e in fn)return dn[t]=r[e];return t}Re&&(fn=document.createElement("div").style,"AnimationEvent"in window||(delete hn.animationend.animation,delete hn.animationiteration.animation,delete hn.animationstart.animation),"TransitionEvent"in window||delete hn.transitionend.transition);var gn=pn("animationend"),mn=pn("animationiteration"),yn=pn("animationstart"),vn=pn("transitionrun"),bn=pn("transitionstart"),wn=pn("transitioncancel"),Cn=pn("transitionend"),Bn=new Map,xn="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Fn(t,e){Bn.set(t,e),ne(e,[t])}xn.push("scrollEnd");var kn="function"===typeof reportError?reportError:function(t){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof t&&null!==t&&"string"===typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",t);console.error(t)},Dn=[],En=0,Sn=0;function _n(){for(var t=En,e=Sn=En=0;e>=a,i-=a,ri=1<<32-bt(e)+i|r<p?(g=u,u=null):g=u.sibling;var m=d(i,u,s[p],l);if(null===m){null===u&&(u=g);break}t&&u&&null===m.alternate&&e(i,u),a=o(m,a,p),null===c?A=m:c.sibling=m,c=m,u=g}if(p===s.length)return r(i,u),ui&&ii(i,p),A;if(null===u){for(;pg?(m=p,p=null):m=p.sibling;var v=d(i,p,y.value,A);if(null===v){null===p&&(p=m);break}t&&p&&null===v.alternate&&e(i,p),s=o(v,s,g),null===u?c=v:u.sibling=v,u=v,p=m}if(y.done)return r(i,p),ui&&ii(i,g),c;if(null===p){for(;!y.done;g++,y=l.next())null!==(y=h(i,y.value,A))&&(s=o(y,s,g),null===u?c=y:u.sibling=y,u=y);return ui&&ii(i,g),c}for(p=n(p);!y.done;g++,y=l.next())null!==(y=f(p,i,g,y.value,A))&&(t&&null!==y.alternate&&p.delete(null===y.key?g:y.key),s=o(y,s,g),null===u?c=y:u.sibling=y,u=y);return t&&p.forEach(function(t){return e(i,t)}),ui&&ii(i,g),c}(l,A,c=v.call(c),u)}if("function"===typeof c.then)return y(l,A,Ao(c),u);if(c.$$typeof===w)return y(l,A,Ui(l,c),u);uo(l,c)}return"string"===typeof c&&""!==c||"number"===typeof c||"bigint"===typeof c?(c=""+c,null!==A&&6===A.tag?(r(l,A.sibling),(u=i(A,c)).return=l,l=u):(r(l,A),(u=zn(c,l.mode,u)).return=l,l=u),s(l)):r(l,A)}return function(t,e,r,n){try{lo=0;var i=y(t,e,r,n);return so=null,i}catch(a){if(a===Ji||a===$i)throw a;var o=Qn(29,a,null,t.mode);return o.lanes=n,o.return=t,o}}}var fo=ho(!0),po=ho(!1),go=!1;function mo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function vo(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function bo(t,e,r){var n=t.updateQueue;if(null===n)return null;if(n=n.shared,0!==(2&dA)){var i=n.pending;return null===i?e.next=e:(e.next=i.next,i.next=e),n.pending=e,e=In(t),On(t,null,r),e}return Tn(t,n,e,r),In(t)}function wo(t,e,r){if(null!==(e=e.updateQueue)&&(e=e.shared,0!==(4194048&r))){var n=e.lanes;r|=n&=t.pendingLanes,e.lanes=r,Ot(t,r)}}function Co(t,e){var r=t.updateQueue,n=t.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=e:o=o.next=e}else i=o=e;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,callbacks:n.callbacks},void(t.updateQueue=r)}null===(t=r.lastBaseUpdate)?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}var Bo=!1;function xo(){if(Bo){if(null!==zi)throw zi}}function Fo(t,e,r,n){Bo=!1;var i=t.updateQueue;go=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,A=l.next;l.next=null,null===a?o=A:a.next=A,a=l;var c=t.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=A:s.next=A,c.lastBaseUpdate=l))}if(null!==o){var u=i.baseState;for(a=0,c=A=l=null,s=o;;){var h=-536870913&s.lane,f=h!==s.lane;if(f?(gA&h)===h:(n&h)===h){0!==h&&h===Ki&&(Bo=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var p=t,g=s;h=e;var m=r;switch(g.tag){case 1:if("function"===typeof(p=g.payload)){u=p.call(m,u,h);break t}u=p;break t;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(h="function"===typeof(p=g.payload)?p.call(m,u,h):p)||void 0===h)break t;u=d({},u,h);break t;case 2:go=!0}}null!==(h=s.callback)&&(t.flags|=64,f&&(t.flags|=8192),null===(f=i.callbacks)?i.callbacks=[h]:f.push(h))}else f={lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(A=c=f,l=u):c=c.next=f,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}null===c&&(l=u),i.baseState=l,i.firstBaseUpdate=A,i.lastBaseUpdate=c,null===o&&(i.shared.lanes=0),xA|=a,t.lanes=a,t.memoizedState=u}}function ko(t,e){if("function"!==typeof t)throw Error(a(191,t));t.call(e)}function Do(t,e){var r=t.callbacks;if(null!==r)for(t.callbacks=null,t=0;to?o:8;var a=O.T,s={};O.T=s,us(t,!1,e,r);try{var l=i(),A=O.S;if(null!==A&&A(s,l),null!==l&&"object"===typeof l&&"function"===typeof l.then)cs(t,e,function(t,e){var r=[],n={status:"pending",value:null,reason:null,then:function(t){r.push(t)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var t=0;t<\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"===typeof n.is?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?o.multiple=!0:n.size&&(o.size=n.size);break;default:o="string"===typeof n.is?s.createElement(i,{is:n.is}):s.createElement(i)}}o[Rt]=e,o[Ht]=n;t:for(s=e.child;null!==s;){if(5===s.tag||6===s.tag)o.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;null===s.sibling;){if(null===s.return||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=o;t:switch(hu(o,i,n),i){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&sl(e)}}return hl(e),ll(e,e.type,null===t||t.memoizedProps,e.pendingProps,r),null;case 6:if(t&&null!=e.stateNode)t.memoizedProps!==n&&sl(e);else{if("string"!==typeof n&&null===e.stateNode)throw Error(a(166));if(t=W.current,yi(e)){if(t=e.stateNode,r=e.memoizedProps,n=null,null!==(i=Ai))switch(i.tag){case 27:case 5:n=i.memoizedProps}t[Rt]=e,(t=!!(t.nodeValue===r||null!==n&&!0===n.suppressHydrationWarning||Au(t.nodeValue,r)))||pi(e,!0)}else(t=gu(t).createTextNode(n))[Rt]=e,e.stateNode=t}return hl(e),null;case 31:if(r=e.memoizedState,null===t||null!==t.memoizedState){if(n=yi(e),null!==r){if(null===t){if(!n)throw Error(a(318));if(!(t=null!==(t=e.memoizedState)?t.dehydrated:null))throw Error(a(557));t[Rt]=e}else vi(),0===(128&e.flags)&&(e.memoizedState=null),e.flags|=4;hl(e),t=!1}else r=bi(),null!==t&&null!==t.memoizedState&&(t.memoizedState.hydrationErrors=r),t=!0;if(!t)return 256&e.flags?(Po(e),e):(Po(e),null);if(0!==(128&e.flags))throw Error(a(558))}return hl(e),null;case 13:if(n=e.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(i=yi(e),null!==n&&null!==n.dehydrated){if(null===t){if(!i)throw Error(a(318));if(!(i=null!==(i=e.memoizedState)?i.dehydrated:null))throw Error(a(317));i[Rt]=e}else vi(),0===(128&e.flags)&&(e.memoizedState=null),e.flags|=4;hl(e),i=!1}else i=bi(),null!==t&&null!==t.memoizedState&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return 256&e.flags?(Po(e),e):(Po(e),null)}return Po(e),0!==(128&e.flags)?(e.lanes=r,e):(r=null!==n,t=null!==t&&null!==t.memoizedState,r&&(i=null,null!==(n=e.child).alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(i=n.alternate.memoizedState.cachePool.pool),o=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(o=n.memoizedState.cachePool.pool),o!==i&&(n.flags|=2048)),r!==t&&r&&(e.child.flags|=8192),cl(e,e.updateQueue),hl(e),null);case 4:return X(),null===t&&$c(e.stateNode.containerInfo),hl(e),null;case 10:return ki(e.type),hl(e),null;case 19:if(j(jo),null===(n=e.memoizedState))return hl(e),null;if(i=0!==(128&e.flags),null===(o=n.rendering))if(i)ul(n,!1);else{if(0!==BA||null!==t&&0!==(128&t.flags))for(t=e.child;null!==t;){if(null!==(o=Ro(t))){for(e.flags|=128,ul(n,!1),t=o.updateQueue,e.updateQueue=t,cl(e,t),e.subtreeFlags=0,t=r,r=e.child;null!==r;)Rn(r,t),r=r.sibling;return R(jo,1&jo.current|2),ui&&ii(e,n.treeForkCount),e.child}t=t.sibling}null!==n.tail&<()>OA&&(e.flags|=128,i=!0,ul(n,!1),e.lanes=4194304)}else{if(!i)if(null!==(t=Ro(o))){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,cl(e,t),ul(n,!0),null===n.tail&&"hidden"===n.tailMode&&!o.alternate&&!ui)return hl(e),null}else 2*lt()-n.renderingStartTime>OA&&536870912!==r&&(e.flags|=128,i=!0,ul(n,!1),e.lanes=4194304);n.isBackwards?(o.sibling=e.child,e.child=o):(null!==(t=n.last)?t.sibling=o:e.child=o,n.last=o)}return null!==n.tail?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=lt(),t.sibling=null,r=jo.current,R(jo,i?1&r|2:1&r),ui&&ii(e,n.treeForkCount),t):(hl(e),null);case 22:case 23:return Po(e),Lo(),n=null!==e.memoizedState,null!==t?null!==t.memoizedState!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?0!==(536870912&r)&&0===(128&e.flags)&&(hl(e),6&e.subtreeFlags&&(e.flags|=8192)):hl(e),null!==(r=e.updateQueue)&&cl(e,r.retryQueue),r=null,null!==t&&null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),n=null,null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),n!==r&&(e.flags|=2048),null!==t&&j(Vi),null;case 24:return r=null,null!==t&&(r=t.memoizedState.cache),e.memoizedState.cache!==r&&(e.flags|=2048),ki(Qi),hl(e),null;case 25:case 30:return null}throw Error(a(156,e.tag))}function fl(t,e){switch(si(e),e.tag){case 1:return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return ki(Qi),X(),0!==(65536&(t=e.flags))&&0===(128&t)?(e.flags=-65537&t|128,e):null;case 26:case 27:case 5:return J(e),null;case 31:if(null!==e.memoizedState){if(Po(e),null===e.alternate)throw Error(a(340));vi()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 13:if(Po(e),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(a(340));vi()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return j(jo),null;case 4:return X(),null;case 10:return ki(e.type),null;case 22:case 23:return Po(e),Lo(),null!==t&&j(Vi),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 24:return ki(Qi),null;default:return null}}function pl(t,e){switch(si(e),e.tag){case 3:ki(Qi),X();break;case 26:case 27:case 5:J(e);break;case 4:X();break;case 31:null!==e.memoizedState&&Po(e);break;case 13:Po(e);break;case 19:j(jo);break;case 10:ki(e.type);break;case 22:case 23:Po(e),Lo(),null!==t&&j(Vi);break;case 24:ki(Qi)}}function gl(t,e){try{var r=e.updateQueue,n=null!==r?r.lastEffect:null;if(null!==n){var i=n.next;r=i;do{if((r.tag&t)===t){n=void 0;var o=r.create,a=r.inst;n=o(),a.destroy=n}r=r.next}while(r!==i)}}catch(s){Bc(e,e.return,s)}}function ml(t,e,r){try{var n=e.updateQueue,i=null!==n?n.lastEffect:null;if(null!==i){var o=i.next;n=o;do{if((n.tag&t)===t){var a=n.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=e;var l=r,A=s;try{A()}catch(c){Bc(i,l,c)}}}n=n.next}while(n!==o)}}catch(c){Bc(e,e.return,c)}}function yl(t){var e=t.updateQueue;if(null!==e){var r=t.stateNode;try{Do(e,r)}catch(n){Bc(t,t.return,n)}}}function vl(t,e,r){r.props=Bs(t.type,t.memoizedProps),r.state=t.memoizedState;try{r.componentWillUnmount()}catch(n){Bc(t,e,n)}}function bl(t,e){try{var r=t.ref;if(null!==r){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;default:n=t.stateNode}"function"===typeof r?t.refCleanup=r(n):r.current=n}}catch(i){Bc(t,e,i)}}function wl(t,e){var r=t.ref,n=t.refCleanup;if(null!==r)if("function"===typeof n)try{n()}catch(i){Bc(t,e,i)}finally{t.refCleanup=null,null!=(t=t.alternate)&&(t.refCleanup=null)}else if("function"===typeof r)try{r(null)}catch(o){Bc(t,e,o)}else r.current=null}function Cl(t){var e=t.type,r=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":r.autoFocus&&n.focus();break t;case"img":r.src?n.src=r.src:r.srcSet&&(n.srcset=r.srcSet)}}catch(i){Bc(t,t.return,i)}}function Bl(t,e,r){try{var n=t.stateNode;!function(t,e,r,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,o=null,s=null,l=null,A=null,c=null,u=null;for(f in r){var h=r[f];if(r.hasOwnProperty(f)&&null!=h)switch(f){case"checked":case"value":break;case"defaultValue":A=h;default:n.hasOwnProperty(f)||cu(t,e,f,null,n,h)}}for(var d in n){var f=n[d];if(h=r[d],n.hasOwnProperty(d)&&(null!=f||null!=h))switch(d){case"type":o=f;break;case"name":i=f;break;case"checked":c=f;break;case"defaultChecked":u=f;break;case"value":s=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(a(137,e));break;default:f!==h&&cu(t,e,d,f,n,h)}}return void ye(t,s,l,A,c,u,o,i);case"select":for(o in f=s=l=d=null,r)if(A=r[o],r.hasOwnProperty(o)&&null!=A)switch(o){case"value":break;case"multiple":f=A;default:n.hasOwnProperty(o)||cu(t,e,o,null,n,A)}for(i in n)if(o=n[i],A=r[i],n.hasOwnProperty(i)&&(null!=o||null!=A))switch(i){case"value":d=o;break;case"defaultValue":l=o;break;case"multiple":s=o;default:o!==A&&cu(t,e,i,o,n,A)}return e=l,r=s,n=f,void(null!=d?we(t,!!r,d,!1):!!n!==!!r&&(null!=e?we(t,!!r,e,!0):we(t,!!r,r?[]:"",!1)));case"textarea":for(l in f=d=null,r)if(i=r[l],r.hasOwnProperty(l)&&null!=i&&!n.hasOwnProperty(l))switch(l){case"value":case"children":break;default:cu(t,e,l,null,n,i)}for(s in n)if(i=n[s],o=r[s],n.hasOwnProperty(s)&&(null!=i||null!=o))switch(s){case"value":d=i;break;case"defaultValue":f=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(a(91));break;default:i!==o&&cu(t,e,s,i,n,o)}return void Ce(t,d,f);case"option":for(var p in r)if(d=r[p],r.hasOwnProperty(p)&&null!=d&&!n.hasOwnProperty(p))if("selected"===p)t.selected=!1;else cu(t,e,p,null,n,d);for(A in n)if(d=n[A],f=r[A],n.hasOwnProperty(A)&&d!==f&&(null!=d||null!=f))if("selected"===A)t.selected=d&&"function"!==typeof d&&"symbol"!==typeof d;else cu(t,e,A,d,n,f);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in r)d=r[g],r.hasOwnProperty(g)&&null!=d&&!n.hasOwnProperty(g)&&cu(t,e,g,null,n,d);for(c in n)if(d=n[c],f=r[c],n.hasOwnProperty(c)&&d!==f&&(null!=d||null!=f))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(a(137,e));break;default:cu(t,e,c,d,n,f)}return;default:if(Ee(e)){for(var m in r)d=r[m],r.hasOwnProperty(m)&&void 0!==d&&!n.hasOwnProperty(m)&&uu(t,e,m,void 0,n,d);for(u in n)d=n[u],f=r[u],!n.hasOwnProperty(u)||d===f||void 0===d&&void 0===f||uu(t,e,u,d,n,f);return}}for(var y in r)d=r[y],r.hasOwnProperty(y)&&null!=d&&!n.hasOwnProperty(y)&&cu(t,e,y,null,n,d);for(h in n)d=n[h],f=r[h],!n.hasOwnProperty(h)||d===f||null==d&&null==f||cu(t,e,h,d,n,f)}(n,t.type,r,e),n[Ht]=e}catch(i){Bc(t,t.return,i)}}function xl(t){return 5===t.tag||3===t.tag||26===t.tag||27===t.tag&&ku(t.type)||4===t.tag}function Fl(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||xl(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(27===t.tag&&ku(t.type))continue t;if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function kl(t,e,r){var n=t.tag;if(5===n||6===n)t=t.stateNode,e?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,e):((e=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==e.onclick||(e.onclick=Le));else if(4!==n&&(27===n&&ku(t.type)&&(r=t.stateNode,e=null),null!==(t=t.child)))for(kl(t,e,r),t=t.sibling;null!==t;)kl(t,e,r),t=t.sibling}function Dl(t,e,r){var n=t.tag;if(5===n||6===n)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(4!==n&&(27===n&&ku(t.type)&&(r=t.stateNode),null!==(t=t.child)))for(Dl(t,e,r),t=t.sibling;null!==t;)Dl(t,e,r),t=t.sibling}function El(t){var e=t.stateNode,r=t.memoizedProps;try{for(var n=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);hu(e,n,r),e[Rt]=t,e[Ht]=r}catch(o){Bc(t,t.return,o)}}var Sl=!1,_l=!1,Tl=!1,Ll="function"===typeof WeakSet?WeakSet:Set,Ul=null;function Ol(t,e,r){var n=r.flags;switch(r.tag){case 0:case 11:case 15:Gl(t,r),4&n&&gl(5,r);break;case 1:if(Gl(t,r),4&n)if(t=r.stateNode,null===e)try{t.componentDidMount()}catch(a){Bc(r,r.return,a)}else{var i=Bs(r.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(s){Bc(r,r.return,s)}}64&n&&yl(r),512&n&&bl(r,r.return);break;case 3:if(Gl(t,r),64&n&&null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 27:case 5:case 1:e=r.child.stateNode}try{Do(t,e)}catch(a){Bc(r,r.return,a)}}break;case 27:null===e&&4&n&&El(r);case 26:case 5:Gl(t,r),null===e&&4&n&&Cl(r),512&n&&bl(r,r.return);break;case 12:Gl(t,r);break;case 31:Gl(t,r),4&n&&jl(t,r);break;case 13:Gl(t,r),4&n&&Rl(t,r),64&n&&(null!==(t=r.memoizedState)&&(null!==(t=t.dehydrated)&&function(t,e){var r=t.ownerDocument;if("$~"===t.data)t._reactRetry=e;else if("$?"!==t.data||"loading"!==r.readyState)e();else{var n=function(){e(),r.removeEventListener("DOMContentLoaded",n)};r.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}(t,r=Dc.bind(null,r))));break;case 22:if(!(n=null!==r.memoizedState||Sl)){e=null!==e&&null!==e.memoizedState||_l,i=Sl;var o=_l;Sl=n,(_l=e)&&!o?Yl(t,r,0!==(8772&r.subtreeFlags)):Gl(t,r),Sl=i,_l=o}break;case 30:break;default:Gl(t,r)}}function Il(t){var e=t.alternate;null!==e&&(t.alternate=null,Il(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&(null!==(e=t.stateNode)&&Xt(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Nl=null,Ml=!1;function Ql(t,e,r){for(r=r.child;null!==r;)Pl(t,e,r),r=r.sibling}function Pl(t,e,r){if(yt&&"function"===typeof yt.onCommitFiberUnmount)try{yt.onCommitFiberUnmount(mt,r)}catch(o){}switch(r.tag){case 26:_l||wl(r,e),Ql(t,e,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode).parentNode.removeChild(r);break;case 27:_l||wl(r,e);var n=Nl,i=Ml;ku(r.type)&&(Nl=r.stateNode,Ml=!1),Ql(t,e,r),Qu(r.stateNode),Nl=n,Ml=i;break;case 5:_l||wl(r,e);case 6:if(n=Nl,i=Ml,Nl=null,Ql(t,e,r),Ml=i,null!==(Nl=n))if(Ml)try{(9===Nl.nodeType?Nl.body:"HTML"===Nl.nodeName?Nl.ownerDocument.body:Nl).removeChild(r.stateNode)}catch(a){Bc(r,e,a)}else try{Nl.removeChild(r.stateNode)}catch(a){Bc(r,e,a)}break;case 18:null!==Nl&&(Ml?(Du(9===(t=Nl).nodeType?t.body:"HTML"===t.nodeName?t.ownerDocument.body:t,r.stateNode),zh(t)):Du(Nl,r.stateNode));break;case 4:n=Nl,i=Ml,Nl=r.stateNode.containerInfo,Ml=!0,Ql(t,e,r),Nl=n,Ml=i;break;case 0:case 11:case 14:case 15:ml(2,r,e),_l||ml(4,r,e),Ql(t,e,r);break;case 1:_l||(wl(r,e),"function"===typeof(n=r.stateNode).componentWillUnmount&&vl(r,e,n)),Ql(t,e,r);break;case 21:Ql(t,e,r);break;case 22:_l=(n=_l)||null!==r.memoizedState,Ql(t,e,r),_l=n;break;default:Ql(t,e,r)}}function jl(t,e){if(null===e.memoizedState&&(null!==(t=e.alternate)&&null!==(t=t.memoizedState))){t=t.dehydrated;try{zh(t)}catch(r){Bc(e,e.return,r)}}}function Rl(t,e){if(null===e.memoizedState&&(null!==(t=e.alternate)&&(null!==(t=t.memoizedState)&&null!==(t=t.dehydrated))))try{zh(t)}catch(r){Bc(e,e.return,r)}}function Hl(t,e){var r=function(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return null===e&&(e=t.stateNode=new Ll),e;case 22:return null===(e=(t=t.stateNode)._retryCache)&&(e=t._retryCache=new Ll),e;default:throw Error(a(435,t.tag))}}(t);e.forEach(function(e){if(!r.has(e)){r.add(e);var n=Ec.bind(null,t,e);e.then(n,n)}})}function Kl(t,e){var r=e.deletions;if(null!==r)for(var n=0;n title"))),hu(o,n,r),o[Rt]=t,te(o),n=o;break t;case"link":var s=rh("link","href",i).get(n+(r.href||""));if(s)for(var l=0;ls)break;var c=l.transferSize,u=l.initiatorType;c&&du(u)&&(a+=c*((l=l.responseEnd)oh?50:800)+e);return t.unsuspend=r,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(i)}}:null}(u,f)))return jA=o,t.cancelPendingCommit=f(pc.bind(null,t,e,o,r,n,i,a,s,l,c,u,null,h,d)),void ZA(t,o,a,!A)}pc(t,e,o,r,n,i,a,s,l)}function JA(t){for(var e=t;;){var r=e.tag;if((0===r||11===r||15===r)&&16384&e.flags&&(null!==(r=e.updateQueue)&&null!==(r=r.stores)))for(var n=0;ng&&(a=g,g=p,p=a);var m=tn(s,p),y=tn(s,g);if(m&&y&&(1!==d.rangeCount||d.anchorNode!==m.node||d.anchorOffset!==m.offset||d.focusNode!==y.node||d.focusOffset!==y.offset)){var v=u.createRange();v.setStart(m.node,m.offset),d.removeAllRanges(),p>g?(d.addRange(v),d.extend(y.node,y.offset)):(v.setEnd(y.node,y.offset),d.addRange(v))}}}}for(u=[],d=s;d=d.parentNode;)1===d.nodeType&&u.push({element:d,left:d.scrollLeft,top:d.scrollTop});for("function"===typeof s.focus&&s.focus(),s=0;sr?32:r,O.T=null,r=HA,HA=null;var o=QA,s=jA;if(MA=0,PA=QA=null,jA=0,0!==(6&dA))throw Error(a(331));var l=dA;if(dA|=4,lA(o.current),tA(o,o.current,s,r),dA=l,Nc(0,!1),yt&&"function"===typeof yt.onPostCommitFiberRoot)try{yt.onPostCommitFiberRoot(mt,o)}catch(A){}return!0}finally{I.p=i,O.T=n,vc(t,e)}}function Cc(t,e,r){e=Gn(r,e),null!==(t=bo(t,e=Ss(t.stateNode,e,2),2))&&(Lt(t,2),Ic(t))}function Bc(t,e,r){if(3===t.tag)Cc(t,t,r);else for(;null!==e;){if(3===e.tag){Cc(e,t,r);break}if(1===e.tag){var n=e.stateNode;if("function"===typeof e.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===NA||!NA.has(n))){t=Gn(r,t),null!==(n=bo(e,r=_s(2),2))&&(Ts(r,n,e,t),Lt(n,2),Ic(n));break}}e=e.return}}function xc(t,e,r){var n=t.pingCache;if(null===n){n=t.pingCache=new hA;var i=new Set;n.set(e,i)}else void 0===(i=n.get(e))&&(i=new Set,n.set(e,i));i.has(r)||(wA=!0,i.add(r),t=Fc.bind(null,t,e,r),e.then(t,t))}function Fc(t,e,r){var n=t.pingCache;null!==n&&n.delete(e),t.pingedLanes|=t.suspendedLanes&r,t.warmLanes&=~r,fA===t&&(gA&r)===r&&(4===BA||3===BA&&(62914560&gA)===gA&&300>lt()-LA?0===(2&dA)&&ec(t,0):kA|=r,EA===gA&&(EA=0)),Ic(t)}function kc(t,e){0===e&&(e=_t()),null!==(t=Un(t,e))&&(Lt(t,e),Ic(t))}function Dc(t){var e=t.memoizedState,r=0;null!==e&&(r=e.retryLane),kc(t,r)}function Ec(t,e){var r=0;switch(t.tag){case 31:case 13:var n=t.stateNode,i=t.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(a(314))}null!==n&&n.delete(e),kc(t,r)}var Sc=null,_c=null,Tc=!1,Lc=!1,Uc=!1,Oc=0;function Ic(t){t!==_c&&null===t.next&&(null===_c?Sc=_c=t:_c=_c.next=t),Lc=!0,Tc||(Tc=!0,xu(function(){0!==(6&dA)?it(ct,Mc):Qc()}))}function Nc(t,e){if(!Uc&&Lc){Uc=!0;do{for(var r=!1,n=Sc;null!==n;){if(!e)if(0!==t){var i=n.pendingLanes;if(0===i)var o=0;else{var a=n.suspendedLanes,s=n.pingedLanes;o=(1<<31-bt(42|t)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(r=!0,Rc(n,o))}else o=gA,0===(3&(o=Dt(n,n===fA?o:0,null!==n.cancelPendingCommit||-1!==n.timeoutHandle)))||Et(n,o)||(r=!0,Rc(n,o));n=n.next}}while(r);Uc=!1}}function Mc(){Qc()}function Qc(){Lc=Tc=!1;var t=0;0!==Oc&&function(){var t=window.event;if(t&&"popstate"===t.type)return t!==bu&&(bu=t,!0);return bu=null,!1}()&&(t=Oc);for(var e=lt(),r=null,n=Sc;null!==n;){var i=n.next,o=Pc(n,e);0===o?(n.next=null,null===r?Sc=i:r.next=i,null===i&&(_c=r)):(r=n,(0!==t||0!==(3&o))&&(Lc=!0)),n=i}0!==MA&&5!==MA||Nc(t,!1),0!==Oc&&(Oc=0)}function Pc(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,o=-62914561&t.pendingLanes;0 title"):null)}function ih(t){return"stylesheet"!==t.type||0!==(3&t.state.loading)}var oh=0;function ah(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)lh(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}var sh=null;function lh(t,e){t.stylesheets=null,null!==t.unsuspend&&(t.count++,sh=new Map,e.forEach(Ah,t),sh=null,ah.call(t))}function Ah(t,e){if(!(4&e.state.loading)){var r=sh.get(t);if(r)var n=r.get(null);else{r=new Map,sh.set(t,r);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;oa});var n=r(50010),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(t,e){var r,a,s,l=i.lastIndex=o.lastIndex=0,A=-1,c=[],u=[];for(t+="",e+="";(r=i.exec(t))&&(a=o.exec(e));)(s=a.index)>l&&(s=e.slice(l,s),c[A]?c[A]+=s:c[++A]=s),(r=r[0])===(a=a[0])?c[A]?c[A]+=a:c[++A]=a:(c[++A]=null,u.push({i:A,x:(0,n.A)(r,a)})),l=o.lastIndex;return ln})},97694(t,e,r){"use strict";r.d(e,{DC:()=>c,aL:()=>u});var n=r(99215),i=r(26409),o=r(8574);function a(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function s(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function l(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var A,c,u,h={"-":"",_:" ",0:"0"},d=/^\s*\d+/,f=/^%/,p=/[\\^$*+?|[\]().{}]/g;function g(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o[t.toLowerCase(),e]))}function b(t,e,r){var n=d.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function w(t,e,r){var n=d.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function C(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function B(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function x(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function F(t,e,r){var n=d.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function k(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function D(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function E(t,e,r){var n=d.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function S(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function _(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function T(t,e,r){var n=d.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function L(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function U(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function O(t,e,r){var n=d.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function I(t,e,r){var n=d.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function N(t,e,r){var n=d.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function M(t,e,r){var n=f.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function Q(t,e,r){var n=d.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function P(t,e,r){var n=d.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function j(t,e){return g(t.getDate(),e,2)}function R(t,e){return g(t.getHours(),e,2)}function H(t,e){return g(t.getHours()%12||12,e,2)}function K(t,e){return g(1+i.UA.count((0,o.he)(t),t),e,3)}function z(t,e){return g(t.getMilliseconds(),e,3)}function q(t,e){return z(t,e)+"000"}function W(t,e){return g(t.getMonth()+1,e,2)}function V(t,e){return g(t.getMinutes(),e,2)}function G(t,e){return g(t.getSeconds(),e,2)}function X(t){var e=t.getDay();return 0===e?7:e}function Y(t,e){return g(n.YP.count((0,o.he)(t)-1,t),e,2)}function J(t){var e=t.getDay();return e>=4||0===e?(0,n.Mo)(t):n.Mo.ceil(t)}function Z(t,e){return t=J(t),g(n.Mo.count((0,o.he)(t),t)+(4===(0,o.he)(t).getDay()),e,2)}function $(t){return t.getDay()}function tt(t,e){return g(n.AB.count((0,o.he)(t)-1,t),e,2)}function et(t,e){return g(t.getFullYear()%100,e,2)}function rt(t,e){return g((t=J(t)).getFullYear()%100,e,2)}function nt(t,e){return g(t.getFullYear()%1e4,e,4)}function it(t,e){var r=t.getDay();return g((t=r>=4||0===r?(0,n.Mo)(t):n.Mo.ceil(t)).getFullYear()%1e4,e,4)}function ot(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+g(e/60|0,"0",2)+g(e%60,"0",2)}function at(t,e){return g(t.getUTCDate(),e,2)}function st(t,e){return g(t.getUTCHours(),e,2)}function lt(t,e){return g(t.getUTCHours()%12||12,e,2)}function At(t,e){return g(1+i.dA.count((0,o.Mb)(t),t),e,3)}function ct(t,e){return g(t.getUTCMilliseconds(),e,3)}function ut(t,e){return ct(t,e)+"000"}function ht(t,e){return g(t.getUTCMonth()+1,e,2)}function dt(t,e){return g(t.getUTCMinutes(),e,2)}function ft(t,e){return g(t.getUTCSeconds(),e,2)}function pt(t){var e=t.getUTCDay();return 0===e?7:e}function gt(t,e){return g(n.Hl.count((0,o.Mb)(t)-1,t),e,2)}function mt(t){var e=t.getUTCDay();return e>=4||0===e?(0,n.pT)(t):n.pT.ceil(t)}function yt(t,e){return t=mt(t),g(n.pT.count((0,o.Mb)(t),t)+(4===(0,o.Mb)(t).getUTCDay()),e,2)}function vt(t){return t.getUTCDay()}function bt(t,e){return g(n.rt.count((0,o.Mb)(t)-1,t),e,2)}function wt(t,e){return g(t.getUTCFullYear()%100,e,2)}function Ct(t,e){return g((t=mt(t)).getUTCFullYear()%100,e,2)}function Bt(t,e){return g(t.getUTCFullYear()%1e4,e,4)}function xt(t,e){var r=t.getUTCDay();return g((t=r>=4||0===r?(0,n.pT)(t):n.pT.ceil(t)).getUTCFullYear()%1e4,e,4)}function Ft(){return"+0000"}function kt(){return"%"}function Dt(t){return+t}function Et(t){return Math.floor(+t/1e3)}A=function(t){var e=t.dateTime,r=t.date,o=t.time,A=t.periods,c=t.days,u=t.shortDays,d=t.months,f=t.shortMonths,p=y(A),g=v(A),m=y(c),J=v(c),mt=y(u),St=v(u),_t=y(d),Tt=v(d),Lt=y(f),Ut=v(f),Ot={a:function(t){return u[t.getDay()]},A:function(t){return c[t.getDay()]},b:function(t){return f[t.getMonth()]},B:function(t){return d[t.getMonth()]},c:null,d:j,e:j,f:q,g:rt,G:it,H:R,I:H,j:K,L:z,m:W,M:V,p:function(t){return A[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Dt,s:Et,S:G,u:X,U:Y,V:Z,w:$,W:tt,x:null,X:null,y:et,Y:nt,Z:ot,"%":kt},It={a:function(t){return u[t.getUTCDay()]},A:function(t){return c[t.getUTCDay()]},b:function(t){return f[t.getUTCMonth()]},B:function(t){return d[t.getUTCMonth()]},c:null,d:at,e:at,f:ut,g:Ct,G:xt,H:st,I:lt,j:At,L:ct,m:ht,M:dt,p:function(t){return A[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Dt,s:Et,S:ft,u:pt,U:gt,V:yt,w:vt,W:bt,x:null,X:null,y:wt,Y:Bt,Z:Ft,"%":kt},Nt={a:function(t,e,r){var n=mt.exec(e.slice(r));return n?(t.w=St.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.w=J.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=Lt.exec(e.slice(r));return n?(t.m=Ut.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=_t.exec(e.slice(r));return n?(t.m=Tt.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return Pt(t,e,r,n)},d:_,e:_,f:N,g:k,G:F,H:L,I:L,j:T,L:I,m:S,M:U,p:function(t,e,r){var n=p.exec(e.slice(r));return n?(t.p=g.get(n[0].toLowerCase()),r+n[0].length):-1},q:E,Q:Q,s:P,S:O,u:w,U:C,V:B,w:b,W:x,x:function(t,e,n){return Pt(t,r,e,n)},X:function(t,e,r){return Pt(t,o,e,r)},y:k,Y:F,Z:D,"%":M};function Mt(t,e){return function(r){var n,i,o,a=[],s=-1,l=0,A=t.length;for(r instanceof Date||(r=new Date(+r));++s53)return null;"w"in c||(c.w=1),"Z"in c?(A=(o=s(l(c.y,0,1))).getUTCDay(),o=A>4||0===A?n.rt.ceil(o):(0,n.rt)(o),o=i.dA.offset(o,7*(c.V-1)),c.y=o.getUTCFullYear(),c.m=o.getUTCMonth(),c.d=o.getUTCDate()+(c.w+6)%7):(A=(o=a(l(c.y,0,1))).getDay(),o=A>4||0===A?n.AB.ceil(o):(0,n.AB)(o),o=i.UA.offset(o,7*(c.V-1)),c.y=o.getFullYear(),c.m=o.getMonth(),c.d=o.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),A="Z"in c?s(l(c.y,0,1)).getUTCDay():a(l(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(A+5)%7:c.w+7*c.U-(A+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,s(c)):a(c)}}function Pt(t,e,r,n){for(var i,o,a=0,s=e.length,l=r.length;a=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=Nt[i in h?e.charAt(a++):i])||(n=o(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return Ot.x=Mt(r,Ot),Ot.X=Mt(o,Ot),Ot.c=Mt(e,Ot),It.x=Mt(r,It),It.X=Mt(o,It),It.c=Mt(e,It),{format:function(t){var e=Mt(t+="",Ot);return e.toString=function(){return t},e},parse:function(t){var e=Qt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Mt(t+="",It);return e.toString=function(){return t},e},utcParse:function(t){var e=Qt(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=A.format,A.parse,u=A.utcFormat,A.utcParse},97950(t,e,r){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=r(46672)},98210(t,e,r){var n;!function(){"use strict";var i,o=1e9,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,l="[DecimalError] ",A=l+"Invalid argument: ",c=l+"Exponent out of range: ",u=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,f=1e7,p=9007199254740991,g=u(1286742750677284.5),m={};function y(t,e){var r,n,i,o,a,l,A,c,u=t.constructor,h=u.precision;if(!t.s||!e.s)return e.s||(e=new u(t)),s?E(e,h):e;if(A=t.d,c=e.d,a=t.e,i=e.e,A=A.slice(),o=a-i){for(o<0?(n=A,o=-o,l=c.length):(n=c,i=a,l=A.length),o>(l=(a=Math.ceil(h/7))>l?a+1:l+1)&&(o=l,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((l=A.length)-(o=c.length)<0&&(o=l,n=c,c=A,A=n),r=0;o;)r=(A[--o]=A[o]+c[o]+r)/f|0,A[o]%=f;for(r&&(A.unshift(r),++i),l=A.length;0==A[--l];)A.pop();return e.d=A,e.e=i,s?E(e,h):e}function v(t,e,r){if(t!==~~t||tr)throw Error(A+t)}function b(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;et.e^o.s<0?1:-1;for(e=0,r=(n=o.d.length)<(i=t.d.length)?n:i;et.d[e]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},m.decimalPlaces=m.dp=function(){var t=this,e=t.d.length-1,r=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},m.dividedBy=m.div=function(t){return w(this,new this.constructor(t))},m.dividedToIntegerBy=m.idiv=function(t){var e=this.constructor;return E(w(this,new e(t),0,1),e.precision)},m.equals=m.eq=function(t){return!this.cmp(t)},m.exponent=function(){return B(this)},m.greaterThan=m.gt=function(t){return this.cmp(t)>0},m.greaterThanOrEqualTo=m.gte=function(t){return this.cmp(t)>=0},m.isInteger=m.isint=function(){return this.e>this.d.length-2},m.isNegative=m.isneg=function(){return this.s<0},m.isPositive=m.ispos=function(){return this.s>0},m.isZero=function(){return 0===this.s},m.lessThan=m.lt=function(t){return this.cmp(t)<0},m.lessThanOrEqualTo=m.lte=function(t){return this.cmp(t)<1},m.logarithm=m.log=function(t){var e,r=this,n=r.constructor,o=n.precision,a=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(i))throw Error(l+"NaN");if(r.s<1)throw Error(l+(r.s?"NaN":"-Infinity"));return r.eq(i)?new n(0):(s=!1,e=w(k(r,a),k(t,a),a),s=!0,E(e,o))},m.minus=m.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?S(e,t):y(e,(t.s=-t.s,t))},m.modulo=m.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(l+"NaN");return r.s?(s=!1,e=w(r,t,0,1).times(t),s=!0,r.minus(e)):E(new n(r),i)},m.naturalExponential=m.exp=function(){return C(this)},m.naturalLogarithm=m.ln=function(){return k(this)},m.negated=m.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},m.plus=m.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?y(e,t):S(e,(t.s=-t.s,t))},m.precision=m.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(A+t);if(e=B(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},m.squareRoot=m.sqrt=function(){var t,e,r,n,i,o,a,A=this,c=A.constructor;if(A.s<1){if(!A.s)return new c(0);throw Error(l+"NaN")}for(t=B(A),s=!1,0==(i=Math.sqrt(+A))||i==1/0?(((e=b(A.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=u((t+1)/2)-(t<0||t%2),n=new c(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new c(i.toString()),i=a=(r=c.precision)+3;;)if(n=(o=n).plus(w(A,o,a+2)).times(.5),b(o.d).slice(0,a)===(e=b(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(E(o,r+1,0),o.times(o).eq(A)){n=o;break}}else if("9999"!=e)break;a+=4}return s=!0,E(n,r)},m.times=m.mul=function(t){var e,r,n,i,o,a,l,A,c,u=this,h=u.constructor,d=u.d,p=(t=new h(t)).d;if(!u.s||!t.s)return new h(0);for(t.s*=u.s,r=u.e+t.e,(A=d.length)<(c=p.length)&&(o=d,d=p,p=o,a=A,A=c,c=a),o=[],n=a=A+c;n--;)o.push(0);for(n=c;--n>=0;){for(e=0,i=A+n;i>n;)l=o[i]+p[n]*d[i-n-1]+e,o[i--]=l%f|0,e=l/f|0;o[i]=(o[i]+e)%f|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,s?E(t,h.precision):t},m.toDecimalPlaces=m.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(v(t,0,o),void 0===e?e=n.rounding:v(e,0,8),E(r,t+B(r)+1,e))},m.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=_(n,!0):(v(t,0,o),void 0===e?e=i.rounding:v(e,0,8),r=_(n=E(new i(n),t+1,e),!0,t+1)),r},m.toFixed=function(t,e){var r,n,i=this,a=i.constructor;return void 0===t?_(i):(v(t,0,o),void 0===e?e=a.rounding:v(e,0,8),r=_((n=E(new a(i),t+B(i)+1,e)).abs(),!1,t+B(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},m.toInteger=m.toint=function(){var t=this,e=t.constructor;return E(new e(t),B(t)+1,e.rounding)},m.toNumber=function(){return+this},m.toPower=m.pow=function(t){var e,r,n,o,a,A,c=this,h=c.constructor,d=+(t=new h(t));if(!t.s)return new h(i);if(!(c=new h(c)).s){if(t.s<1)throw Error(l+"Infinity");return c}if(c.eq(i))return c;if(n=h.precision,t.eq(i))return E(c,n);if(A=(e=t.e)>=(r=t.d.length-1),a=c.s,A){if((r=d<0?-d:d)<=p){for(o=new h(i),e=Math.ceil(n/7+4),s=!1;r%2&&T((o=o.times(c)).d,e),0!==(r=u(r/2));)T((c=c.times(c)).d,e);return s=!0,t.s<0?new h(i).div(o):E(o,n)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,s=!1,o=t.times(k(c,n+12)),s=!0,(o=C(o)).s=a,o},m.toPrecision=function(t,e){var r,n,i=this,a=i.constructor;return void 0===t?n=_(i,(r=B(i))<=a.toExpNeg||r>=a.toExpPos):(v(t,1,o),void 0===e?e=a.rounding:v(e,0,8),n=_(i=E(new a(i),t,e),t<=(r=B(i))||r<=a.toExpNeg,t)),n},m.toSignificantDigits=m.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(v(t,1,o),void 0===e?e=r.rounding:v(e,0,8)),E(new r(this),t,e)},m.toString=m.valueOf=m.val=m.toJSON=function(){var t=this,e=B(t),r=t.constructor;return _(t,e<=r.toExpNeg||e>=r.toExpPos)};var w=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%f|0,n=r/f|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;ie[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]1;)t.shift()}return function(n,i,o,a){var s,A,c,u,h,d,p,g,m,y,v,b,w,C,x,F,k,D,S=n.constructor,_=n.s==i.s?1:-1,T=n.d,L=i.d;if(!n.s)return new S(n);if(!i.s)throw Error(l+"Division by zero");for(A=n.e-i.e,k=L.length,x=T.length,g=(p=new S(_)).d=[],c=0;L[c]==(T[c]||0);)++c;if(L[c]>(T[c]||0)&&--A,(b=null==o?o=S.precision:a?o+(B(n)-B(i))+1:o)<0)return new S(0);if(b=b/7+2|0,c=0,1==k)for(u=0,L=L[0],b++;(c1&&(L=t(L,u),T=t(T,u),k=L.length,x=T.length),C=k,y=(m=T.slice(0,k)).length;y=f/2&&++F;do{u=0,(s=e(L,m,k,y))<0?(v=m[0],k!=y&&(v=v*f+(m[1]||0)),(u=v/F|0)>1?(u>=f&&(u=f-1),1==(s=e(h=t(L,u),m,d=h.length,y=m.length))&&(u--,r(h,k16)throw Error(c+B(t));if(!t.s)return new d(i);for(null==e?(s=!1,l=f):l=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),u+=5;for(l+=Math.log(h(2,u))/Math.LN10*2+5|0,r=n=o=new d(i),d.precision=l;;){if(n=E(n.times(t),l),r=r.times(++A),b((a=o.plus(w(n,r,l))).d).slice(0,l)===b(o.d).slice(0,l)){for(;u--;)o=E(o.times(o),l);return d.precision=f,null==e?(s=!0,E(o,f)):o}o=a}}function B(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function x(t,e,r){if(e>t.LN10.sd())throw s=!0,r&&(t.precision=r),Error(l+"LN10 precision limit exceeded");return E(new t(t.LN10),e)}function F(t){for(var e="";t--;)e+="0";return e}function k(t,e){var r,n,o,a,A,c,u,h,d,f=1,p=t,g=p.d,m=p.constructor,y=m.precision;if(p.s<1)throw Error(l+(p.s?"NaN":"-Infinity"));if(p.eq(i))return new m(0);if(null==e?(s=!1,h=y):h=e,p.eq(10))return null==e&&(s=!0),x(m,h);if(h+=10,m.precision=h,n=(r=b(g)).charAt(0),a=B(p),!(Math.abs(a)<15e14))return u=x(m,h+2,y).times(a+""),p=k(new m(n+"."+r.slice(1)),h-10).plus(u),m.precision=y,null==e?(s=!0,E(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=b((p=p.times(t)).d)).charAt(0),f++;for(a=B(p),n>1?(p=new m("0."+r),a++):p=new m(n+"."+r.slice(1)),c=A=p=w(p.minus(i),p.plus(i),h),d=E(p.times(p),h),o=3;;){if(A=E(A.times(d),h),b((u=c.plus(w(A,new m(o),h))).d).slice(0,h)===b(c.d).slice(0,h))return c=c.times(2),0!==a&&(c=c.plus(x(m,h+2,y).times(a+""))),c=w(c,new m(f),h),m.precision=y,null==e?(s=!0,E(c,y)):c;c=u,o+=2}}function D(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,r=r-n-1,t.e=u(r/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),ng||t.e<-g))throw Error(c+r)}else t.s=0,t.e=0,t.d=[0];return t}function E(t,e,r){var n,i,o,a,l,A,d,p,m=t.d;for(a=1,o=m[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,d=m[p=0];else{if((p=Math.ceil((n+1)/7))>=(o=m.length))return t;for(d=o=m[p],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(l=d/(o=h(10,a-i-1))%10|0,A=e<0||void 0!==m[p+1]||d%o,A=r<4?(l||A)&&(0==r||r==(t.s<0?3:2)):l>5||5==l&&(4==r||A||6==r&&(n>0?i>0?d/h(10,a-i):0:m[p-1])%10&1||r==(t.s<0?8:7))),e<1||!m[0])return A?(o=B(t),m.length=1,e=e-o-1,m[0]=h(10,(7-e%7)%7),t.e=u(-e/7)||0):(m.length=1,m[0]=t.e=t.s=0),t;if(0==n?(m.length=p,o=1,p--):(m.length=p+1,o=h(10,7-n),m[p]=i>0?(d/h(10,a-i)%h(10,i)|0)*o:0),A)for(;;){if(0==p){(m[0]+=o)==f&&(m[0]=1,++t.e);break}if(m[p]+=o,m[p]!=f)break;m[p--]=0,o=1}for(n=m.length;0===m[--n];)m.pop();if(s&&(t.e>g||t.e<-g))throw Error(c+B(t));return t}function S(t,e){var r,n,i,o,a,l,A,c,u,h,d=t.constructor,p=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),s?E(e,p):e;if(A=t.d,h=e.d,n=e.e,c=t.e,A=A.slice(),a=c-n){for((u=a<0)?(r=A,a=-a,l=h.length):(r=h,n=c,l=A.length),a>(i=Math.max(Math.ceil(p/7),l)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((u=(i=A.length)<(l=h.length))&&(l=i),i=0;i0;--i)A[l++]=0;for(i=h.length;i>a;){if(A[--i]0?o=o.charAt(0)+"."+o.slice(1)+F(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+F(-i-1)+o,r&&(n=r-a)>0&&(o+=F(n))):i>=a?(o+=F(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+F(n))):((n=i+1)0&&(i+1===a&&(o+="."),o+=F(n))),t.s<0?"-"+o:o}function T(t,e){if(t.length>e)return t.length=e,!0}function L(t){if(!t||"object"!==typeof t)throw Error(l+"Object expected");var e,r,n,i=["precision",1,o,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e=i[e+1]&&n<=i[e+2]))throw Error(A+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(A+r+": "+n);this[r]=new this(n)}return this}a=function t(e){var r,n,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"===typeof t){if(0*t!==0)throw Error(A+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):D(e,t.toString())}if("string"!==typeof t)throw Error(A+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!d.test(t))throw Error(A+t);D(e,t)}if(o.prototype=m,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=L,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r{})}},98443(t,e,r){"use strict";t.exports=r(79717)},99215(t,e,r){"use strict";r.d(e,{AB:()=>s,Gu:()=>A,Hl:()=>f,Mo:()=>c,PG:()=>l,TU:()=>u,YP:()=>a,pT:()=>y,rG:()=>h,rt:()=>p});var n=r(73870),i=r(72203);function o(t){return(0,n.f)(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.rR)/i.Fq)}const a=o(0),s=o(1),l=o(2),A=o(3),c=o(4),u=o(5),h=o(6);a.range,s.range,l.range,A.range,c.range,u.range,h.range;function d(t){return(0,n.f)(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/i.Fq)}const f=d(0),p=d(1),g=d(2),m=d(3),y=d(4),v=d(5),b=d(6);f.range,p.range,g.range,m.range,y.range,v.range,b.range},99236(t,e,r){"use strict";r.d(e,{A:()=>n});Array.prototype.slice;function n(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}},99709(t,e){"use strict";function r(t){return"symbol"===typeof t?1:null===t?2:void 0===t?3:t!==t?4:0}Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});e.compareValues=(t,e,n)=>{if(t!==e){const i=r(t),o=r(e);if(i===o&&0===i){if(te)return"desc"===n?-1:1}return"desc"===n?o-i:i-o}return 0}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.m=t,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},(()=>{var t,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"===typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"===typeof n.then)return n}var o=Object.create(null);r.r(o);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&i&&n;("object"==typeof s||"function"==typeof s)&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach(t=>a[t]=()=>n[t]);return a.default=()=>n,r.d(o,a),o}})(),r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>Promise.all(Object.keys(r.f).reduce((e,n)=>(r.f[n](t,e),e),[])),r.u=t=>"static/js/"+t+"."+{3:"9424784f",25:"1c0704f3",75:"0e21ccfc",83:"f8e3faaa",131:"19451893",171:"ca687254",195:"14e9ef37",249:"88b3b485",267:"1127f40e",276:"34d1e461",349:"043baac7",354:"3bcfdeeb",366:"763c2fd7",376:"02aa5944",385:"712a8ab0",443:"22ceec26",455:"fe3cb828",456:"79490857",478:"45e19921",502:"29e7eeb4",531:"a9d78c09",532:"d762b1f6",537:"2e21b67e",555:"f6b76e48",566:"2401f837",571:"5627ee3a",578:"4134fb5b",585:"bbe871d5",590:"2252c4a2",603:"4bca6fdc",630:"d2d48416",631:"de830834",633:"66ae22ed",645:"b1666761",646:"7cf2adab",647:"b1c30a72",675:"9f91e03b",710:"f27cef7d",722:"a830fafc",760:"ad7e14af",765:"602573f4",774:"44981f2c",806:"013e322d",811:"36d0f4fe",833:"b8271626",861:"36acdff3",876:"f02fe502",898:"eb4816da",999:"2e89325a"}[t]+".chunk.js",r.miniCssF=t=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={},e="frontend:";r.l=(n,i,o,a)=>{if(t[n])t[n].push(i);else{var s,l;if(void 0!==o)for(var A=document.getElementsByTagName("script"),c=0;c{s.onerror=s.onload=null,clearTimeout(d);var i=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach(t=>t(r)),e)return e(r)},d=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),r.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.p="/",(()=>{var t={792:0};r.f.j=(e,n)=>{var i=r.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((r,n)=>i=t[e]=[r,n]);n.push(i[2]=o);var a=r.p+r.u(e),s=new Error;r.l(a,n=>{if(r.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}},"chunk-"+e,e)}};var e=(e,n)=>{var i,o,[a,s,l]=n,A=0;if(a.some(e=>0!==t[e])){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(l)l(r)}for(e&&e(n);A{"use strict";var t={};r.r(t),r.d(t,{hasBrowserEnv:()=>Mn,hasStandardBrowserEnv:()=>Pn,hasStandardBrowserWebWorkerEnv:()=>jn,navigator:()=>Qn,origin:()=>Rn});var e={};r.r(e),r.d(e,{scaleBand:()=>Dv.WH,scaleDiverging:()=>Dv.Mb,scaleDivergingLog:()=>Dv.Cr,scaleDivergingPow:()=>Dv.yj,scaleDivergingSqrt:()=>Dv.q9,scaleDivergingSymlog:()=>Dv.xh,scaleIdentity:()=>Dv.jo,scaleImplicit:()=>Dv.U4,scaleLinear:()=>Dv.m4,scaleLog:()=>Dv.ZE,scaleOrdinal:()=>Dv.UM,scalePoint:()=>Dv.hq,scalePow:()=>Dv.RW,scaleQuantile:()=>Dv.QL,scaleQuantize:()=>Dv.WT,scaleRadial:()=>Dv.af,scaleSequential:()=>Dv.ex,scaleSequentialLog:()=>Dv.M3,scaleSequentialPow:()=>Dv.ui,scaleSequentialQuantile:()=>Dv.T,scaleSequentialSqrt:()=>Dv.ye,scaleSequentialSymlog:()=>Dv.nV,scaleSqrt:()=>Dv.Bv,scaleSymlog:()=>Dv.aX,scaleThreshold:()=>Dv.c3,scaleTime:()=>Dv.w7,scaleUtc:()=>Dv.Pp,tickFormat:()=>Dv.Vr});var n=r(65043),i=r.t(n,2),o=r(84391);function a(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{})}function g(t,e){if(!1===t||null===t||"undefined"===typeof t)throw new Error(e)}function m(t,e){if(!t){"undefined"!==typeof console&&console.warn(e);try{throw new Error(e)}catch(r){}}}function y(t,e){return{usr:t.state,key:t.key,idx:e}}function v(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return(0,s.A)((0,s.A)({pathname:"string"===typeof t?t:t.pathname,search:"",hash:""},"string"===typeof e?w(e):e),{},{state:r,key:e&&e.key||n||Math.random().toString(36).substring(2,10)})}function b(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&"?"!==r&&(e+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function w(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substring(r),t=t.substring(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substring(n),t=t.substring(0,n)),t&&(e.pathname=t)}return e}function C(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:i=document.defaultView,v5Compat:o=!1}=n,a=i.history,l="POP",A=null,c=u();function u(){return(a.state||{idx:null}).idx}function h(){l="POP";let t=u(),e=null==t?null:t-c;c=t,A&&A({action:l,location:p.location,delta:e})}function d(t){return B(t)}null==c&&(c=0,a.replaceState((0,s.A)((0,s.A)({},a.state),{},{idx:c}),""));let p={get action(){return l},get location(){return t(i,a)},listen(t){if(A)throw new Error("A history only accepts one active listener");return i.addEventListener(f,h),A=t,()=>{i.removeEventListener(f,h),A=null}},createHref:t=>e(i,t),createURL:d,encodeLocation(t){let e=d(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){l="PUSH";let n=v(p.location,t,e);r&&r(n,t),c=u()+1;let s=y(n,c),h=p.createHref(n);try{a.pushState(s,"",h)}catch(d){if(d instanceof DOMException&&"DataCloneError"===d.name)throw d;i.location.assign(h)}o&&A&&A({action:l,location:p.location,delta:1})},replace:function(t,e){l="REPLACE";let n=v(p.location,t,e);r&&r(n,t),c=u();let i=y(n,c),s=p.createHref(n);a.replaceState(i,"",s),o&&A&&A({action:l,location:p.location,delta:0})},go:t=>a.go(t)};return p}function B(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="http://localhost";"undefined"!==typeof window&&(r="null"!==window.location.origin?window.location.origin:window.location.href),g(r,"No window.location.(origin|href) available to create URL");let n="string"===typeof t?t:b(t);return n=n.replace(/ $/,"%20"),!e&&n.startsWith("//")&&(n=r+n),new URL(n,r)}new WeakMap;function x(t,e){return F(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function F(t,e,r,n){let i=j(("string"===typeof e?w(e):e).pathname||"/",r);if(null==i)return null;let o=k(t);!function(t){t.sort((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){let r=t.length===e.length&&t.slice(0,-1).every((t,r)=>t===e[r]);return r?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map(t=>t.childrenIndex),e.routesMeta.map(t=>t.childrenIndex)))}(o);let a=null;for(let s=0;null==a&&s1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=function(t,o){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,s=arguments.length>3?arguments[3]:void 0,l={relativePath:void 0===s?t.path||"":s,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};if(l.relativePath.startsWith("/")){if(!l.relativePath.startsWith(n)&&a)return;g(l.relativePath.startsWith(n),'Absolute route path "'.concat(l.relativePath,'" nested under path "').concat(n,'" is not valid. An absolute child route path must start with the combined path of all its parent routes.')),l.relativePath=l.relativePath.slice(n.length)}let A=G([n,l.relativePath]),c=r.concat(l);t.children&&t.children.length>0&&(g(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'.concat(A,'".')),k(t.children,e,c,A,a)),(null!=t.path||t.index)&&e.push({path:A,score:I(A,t.index),routesMeta:c})};return t.forEach((t,e)=>{var r;if(""!==t.path&&null!==(r=t.path)&&void 0!==r&&r.includes("?"))for(let n of D(t.path))o(t,e,!0,n);else o(t,e)}),e}function D(t){let e=t.split("/");if(0===e.length)return[];let[r,...n]=e,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===n.length)return i?[o,""]:[o];let a=D(n.join("/")),s=[];return s.push(...a.map(t=>""===t?o:[o,t].join("/"))),i&&s.push(...a),s.map(e=>t.startsWith("/")&&""===e?"/":e)}var E=/^:[\w-]+$/,S=3,_=2,T=1,L=10,U=-2,O=t=>"*"===t;function I(t,e){let r=t.split("/"),n=r.length;return r.some(O)&&(n+=U),e&&(n+=_),r.filter(t=>!O(t)).reduce((t,e)=>t+(E.test(e)?S:""===e?T:L),n)}function N(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:n}=t,i={},o="/",a=[];for(let s=0;s{let{paramName:n,isOptional:i}=e;if("*"===n){let t=s[r]||"";a=o.slice(0,o.length-t.length).replace(/(.)\/+$/,"$1")}const l=s[r];return t[n]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),t},{}),pathname:o,pathnameBase:a,pattern:t}}function Q(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];m("*"===t||!t.endsWith("*")||t.endsWith("/*"),'Route path "'.concat(t,'" will be treated as if it were "').concat(t.replace(/\*$/,"/*"),'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(t.replace(/\*$/,"/*"),'".'));let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(t,e,r)=>(n.push({paramName:e,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(n.push({paramName:"*"}),i+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":""!==t&&"/"!==t&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function P(t){try{return t.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(e){return m(!1,'The URL path "'.concat(t,'" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (').concat(e,").")),t}}function j(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&"/"!==n?null:t.slice(r)||"/"}var R=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,H=t=>R.test(t);function K(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?r.length>1&&r.pop():"."!==t&&r.push(t)}),r.length>1?r.join("/"):"/"}function z(t,e,r,n){return"Cannot include a '".concat(t,"' character in a manually specified `to.").concat(e,"` field [").concat(JSON.stringify(n),"]. Please separate it out to the `to.").concat(r,'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.')}function q(t){return t.filter((t,e)=>0===e||t.route.path&&t.route.path.length>0)}function W(t){let e=q(t);return e.map((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)}function V(t,e,r){let n,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof t?n=w(t):(n=(0,s.A)({},t),g(!n.pathname||!n.pathname.includes("?"),z("?","pathname","search",n)),g(!n.pathname||!n.pathname.includes("#"),z("#","pathname","hash",n)),g(!n.search||!n.search.includes("#"),z("#","search","hash",n)));let o,a=""===t||""===n.pathname,l=a?"/":n.pathname;if(null==l)o=r;else{let t=e.length-1;if(!i&&l.startsWith("..")){let e=l.split("/");for(;".."===e[0];)e.shift(),t-=1;n.pathname=e.join("/")}o=t>=0?e[t]:"/"}let A=function(t){let e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:n,search:i="",hash:o=""}="string"===typeof t?w(t):t;if(n)if(H(n))e=n;else{if(n.includes("//")){let t=n;n=n.replace(/\/\/+/g,"/"),m(!1,"Pathnames cannot have embedded double slashes - normalizing ".concat(t," -> ").concat(n))}e=n.startsWith("/")?K(n.substring(1),"/"):K(n,r)}else e=r;return{pathname:e,search:Y(i),hash:J(o)}}(n,o),c=l&&"/"!==l&&l.endsWith("/"),u=(a||"."===l)&&r.endsWith("/");return A.pathname.endsWith("/")||!c&&!u||(A.pathname+="/"),A}var G=t=>t.join("/").replace(/\/\/+/g,"/"),X=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Y=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",J=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";var Z=class{constructor(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.status=t,this.statusText=e||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function $(t){return null!=t&&"number"===typeof t.status&&"string"===typeof t.statusText&&"boolean"===typeof t.internal&&"data"in t}function tt(t){return t.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var et="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;function rt(t,e){let r=t;if("string"!==typeof r||!R.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,i=!1;if(et)try{let t=new URL(window.location.href),n=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=j(n.pathname,e);n.origin===t.origin&&null!=o?r=o+n.search+n.hash:i=!0}catch(o){m(!1,' contains an invalid URL which will probably break when clicked - please update to a valid URL path.'))}return{absoluteURL:n,isExternal:i,to:r}}Symbol("Uninstrumented");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var nt=["POST","PUT","PATCH","DELETE"],it=(new Set(nt),["GET",...nt]);new Set(it),Symbol("ResetLoaderData");var ot=n.createContext(null);ot.displayName="DataRouter";var at=n.createContext(null);at.displayName="DataRouterState";var st=n.createContext(!1);function lt(){return n.useContext(st)}var At=n.createContext({isTransitioning:!1});At.displayName="ViewTransition";var ct=n.createContext(new Map);ct.displayName="Fetchers";var ut=n.createContext(null);ut.displayName="Await";var ht=n.createContext(null);ht.displayName="Navigation";var dt=n.createContext(null);dt.displayName="Location";var ft=n.createContext({outlet:null,matches:[],isDataRoute:!1});ft.displayName="Route";var pt=n.createContext(null);pt.displayName="RouteError";var gt="REACT_ROUTER_ERROR";function mt(){return null!=n.useContext(dt)}function yt(){return g(mt(),"useLocation() may be used only in the context of a component."),n.useContext(dt).location}var vt="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bt(t){n.useContext(ht).static||n.useLayoutEffect(t)}function wt(){let{isDataRoute:t}=n.useContext(ft);return t?function(){let{router:t}=Ut("useNavigate"),e=It("useNavigate"),r=n.useRef(!1);bt(()=>{r.current=!0});let i=n.useCallback(async function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m(r.current,vt),r.current&&("number"===typeof n?await t.navigate(n):await t.navigate(n,(0,s.A)({fromRouteId:e},i)))},[t,e]);return i}():function(){g(mt(),"useNavigate() may be used only in the context of a component.");let t=n.useContext(ot),{basename:e,navigator:r}=n.useContext(ht),{matches:i}=n.useContext(ft),{pathname:o}=yt(),a=JSON.stringify(W(i)),s=n.useRef(!1);bt(()=>{s.current=!0});let l=n.useCallback(function(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(m(s.current,vt),!s.current)return;if("number"===typeof n)return void r.go(n);let l=V(n,JSON.parse(a),o,"path"===i.relative);null==t&&"/"!==e&&(l.pathname="/"===l.pathname?e:G([e,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)},[e,r,a,o,t]);return l}()}n.createContext(null);function Ct(){let{matches:t}=n.useContext(ft),e=t[t.length-1];return e?e.params:{}}function Bt(t){let{relative:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:r}=n.useContext(ft),{pathname:i}=yt(),o=JSON.stringify(W(r));return n.useMemo(()=>V(t,JSON.parse(o),i,"path"===e),[t,o,i,e])}function xt(t,e,r,i,o){g(mt(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=n.useContext(ht),{matches:l}=n.useContext(ft),A=l[l.length-1],c=A?A.params:{},u=A?A.pathname:"/",h=A?A.pathnameBase:"/",d=A&&A.route;{let t=d&&d.path||"";Qt(u,!d||t.endsWith("*")||t.endsWith("*?"),'You rendered descendant (or called `useRoutes()`) at "'.concat(u,'" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent to .'))}let f,p=yt();if(e){var y;let t="string"===typeof e?w(e):e;g("/"===h||(null===(y=t.pathname)||void 0===y?void 0:y.startsWith(h)),'When overriding the location using `` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'.concat(h,'" but pathname "').concat(t.pathname,'" was given in the `location` prop.')),f=t}else f=p;let v=f.pathname||"/",b=v;if("/"!==h){let t=h.replace(/^\//,"").split("/");b="/"+v.replace(/^\//,"").split("/").slice(t.length).join("/")}let C=x(t,{pathname:b});m(d||null!=C,'No routes matched location "'.concat(f.pathname).concat(f.search).concat(f.hash,'" ')),m(null==C||void 0!==C[C.length-1].route.element||void 0!==C[C.length-1].route.Component||void 0!==C[C.length-1].route.lazy,'Matched leaf route at location "'.concat(f.pathname).concat(f.search).concat(f.hash,'" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.'));let B=Tt(C&&C.map(t=>Object.assign({},t,{params:Object.assign({},c,t.params),pathname:G([h,a.encodeLocation?a.encodeLocation(t.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:t.pathname]),pathnameBase:"/"===t.pathnameBase?h:G([h,a.encodeLocation?a.encodeLocation(t.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:t.pathnameBase])})),l,r,i,o);return e&&B?n.createElement(dt.Provider,{value:{location:(0,s.A)({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:"POP"}},B):B}function Ft(){let t=Nt(),e=$(t)?"".concat(t.status," ").concat(t.statusText):t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=n.createElement(n.Fragment,null,n.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:a},"ErrorBoundary")," or"," ",n.createElement("code",{style:a},"errorElement")," prop on your route.")),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},e),r?n.createElement("pre",{style:o},r):null,s)}var kt=n.createElement(Ft,null),Dt=class extends n.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||"idle"!==e.revalidation&&"idle"===t.revalidation?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:void 0!==t.error?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&"object"===typeof t&&t&&"digest"in t&&"string"===typeof t.digest){const e=function(t){if(t.startsWith("".concat(gt,":").concat("ROUTE_ERROR_RESPONSE",":{")))try{let e=JSON.parse(t.slice(40));if("object"===typeof e&&e&&"number"===typeof e.status&&"string"===typeof e.statusText)return new Z(e.status,e.statusText,e.data)}catch(e){}}(t.digest);e&&(t=e)}let e=void 0!==t?n.createElement(ft.Provider,{value:this.props.routeContext},n.createElement(pt.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?n.createElement(St,{error:t},e):e}};Dt.contextType=st;var Et=new WeakMap;function St(t){let{children:e,error:r}=t,{basename:i}=n.useContext(ht);if("object"===typeof r&&r&&"digest"in r&&"string"===typeof r.digest){let t=function(t){if(t.startsWith("".concat(gt,":").concat("REDIRECT",":{")))try{let e=JSON.parse(t.slice(28));if("object"===typeof e&&e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"string"===typeof e.location&&"boolean"===typeof e.reloadDocument&&"boolean"===typeof e.replace)return e}catch(e){}}(r.digest);if(t){let e=Et.get(r);if(e)throw e;let o=rt(t.location,i);if(et&&!Et.get(r)){if(!o.isExternal&&!t.reloadDocument){const e=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:t.replace}));throw Et.set(r,e),e}window.location.href=o.absoluteURL||o.to}return n.createElement("meta",{httpEquiv:"refresh",content:"0;url=".concat(o.absoluteURL||o.to)})}}return e}function _t(t){let{routeContext:e,match:r,children:i}=t,o=n.useContext(ot);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),n.createElement(ft.Provider,{value:e},i)}function Tt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(null==t){if(!r)return null;if(r.errors)t=r.matches;else{if(0!==e.length||r.initialized||!(r.matches.length>0))return null;t=r.matches}}let o=t,a=null===r||void 0===r?void 0:r.errors;if(null!=a){let t=o.findIndex(t=>t.route.id&&void 0!==(null===a||void 0===a?void 0:a[t.route.id]));g(t>=0,"Could not find a matching route for errors on route IDs: ".concat(Object.keys(a).join(","))),o=o.slice(0,Math.min(o.length,t+1))}let s=!1,l=-1;if(r)for(let n=0;n=0?o.slice(0,l+1):[o[0]];break}}}let A=r&&i?(t,e)=>{var n,o;i(t,{location:r.location,params:null!==(n=null===(o=r.matches)||void 0===o||null===(o=o[0])||void 0===o?void 0:o.params)&&void 0!==n?n:{},unstable_pattern:tt(r.matches),errorInfo:e})}:void 0;return o.reduceRight((t,i,c)=>{let u,h=!1,d=null,f=null;r&&(u=a&&i.route.id?a[i.route.id]:void 0,d=i.route.errorElement||kt,s&&(l<0&&0===c?(Qt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,f=null):l===c&&(h=!0,f=i.route.hydrateFallbackElement||null)));let p=e.concat(o.slice(0,c+1)),g=()=>{let e;return e=u?d:h?f:i.route.Component?n.createElement(i.route.Component,null):i.route.element?i.route.element:t,n.createElement(_t,{match:i,routeContext:{outlet:t,matches:p,isDataRoute:null!=r},children:e})};return r&&(i.route.ErrorBoundary||i.route.errorElement||0===c)?n.createElement(Dt,{location:r.location,revalidation:r.revalidation,component:d,error:u,children:g(),routeContext:{outlet:null,matches:p,isDataRoute:!0},onError:A}):g()},null)}function Lt(t){return"".concat(t," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Ut(t){let e=n.useContext(ot);return g(e,Lt(t)),e}function Ot(t){let e=n.useContext(at);return g(e,Lt(t)),e}function It(t){let e=function(t){let e=n.useContext(ft);return g(e,Lt(t)),e}(t),r=e.matches[e.matches.length-1];return g(r.route.id,"".concat(t,' can only be used on routes that contain a unique "id"')),r.route.id}function Nt(){var t;let e=n.useContext(pt),r=Ot("useRouteError"),i=It("useRouteError");return void 0!==e?e:null===(t=r.errors)||void 0===t?void 0:t[i]}var Mt={};function Qt(t,e,r){e||Mt[t]||(Mt[t]=!0,m(!1,r))}var Pt={};function jt(t,e){t||Pt[e]||(Pt[e]=!0,console.warn(e))}i.useOptimistic;n.memo(function(t){let{routes:e,future:r,state:n,onError:i}=t;return xt(e,void 0,n,i,r)});function Rt(t){g(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Ht(t){let{basename:e="/",children:r=null,location:i,navigationType:o="POP",navigator:a,static:s=!1,unstable_useTransitions:l}=t;g(!mt(),"You cannot render a inside another . You should never have more than one in your app.");let A=e.replace(/^\/*/,"/"),c=n.useMemo(()=>({basename:A,navigator:a,static:s,unstable_useTransitions:l,future:{}}),[A,a,s,l]);"string"===typeof i&&(i=w(i));let{pathname:u="/",search:h="",hash:d="",state:f=null,key:p="default"}=i,y=n.useMemo(()=>{let t=j(u,A);return null==t?null:{location:{pathname:t,search:h,hash:d,state:f,key:p},navigationType:o}},[A,u,h,d,f,p,o]);return m(null!=y,' is not able to match the URL "').concat(u).concat(h).concat(d,"\" because it does not start with the basename, so the won't render anything.")),null==y?null:n.createElement(ht.Provider,{value:c},n.createElement(dt.Provider,{children:r,value:y}))}function Kt(t){let{children:e,location:r}=t;return xt(zt(e),r)}n.Component;function zt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[];return n.Children.forEach(t,(t,i)=>{if(!n.isValidElement(t))return;let o=[...e,i];if(t.type===n.Fragment)return void r.push.apply(r,zt(t.props.children,o));g(t.type===Rt,"[".concat("string"===typeof t.type?t.type:t.type.name,"] is not a component. All component children of must be a or ")),g(!t.props.index||!t.props.children,"An index route cannot have child routes.");let a={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,middleware:t.props.middleware,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:!0===t.props.hasErrorBoundary||null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(a.children=zt(t.props.children,o)),r.push(a)}),r}var qt="get",Wt="application/x-www-form-urlencoded";function Vt(t){return"undefined"!==typeof HTMLElement&&t instanceof HTMLElement}var Gt=null;var Xt=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Yt(t){return null==t||Xt.has(t)?t:(m(!1,'"'.concat(t,'" is not a valid `encType` for `
    `/`` and will default to "').concat(Wt,'"')),null)}function Jt(t,e){let r,n,i,o,a;if(Vt(s=t)&&"form"===s.tagName.toLowerCase()){let a=t.getAttribute("action");n=a?j(a,e):null,r=t.getAttribute("method")||qt,i=Yt(t.getAttribute("enctype"))||Wt,o=new FormData(t)}else if(function(t){return Vt(t)&&"button"===t.tagName.toLowerCase()}(t)||function(t){return Vt(t)&&"input"===t.tagName.toLowerCase()}(t)&&("submit"===t.type||"image"===t.type)){let a=t.form;if(null==a)throw new Error('Cannot submit a