archsight 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/chart/archsight/Chart.yaml +2 -2
- data/chart/archsight/templates/deployment.yaml +11 -0
- data/chart/archsight/templates/restart-secret.yaml +11 -0
- data/chart/archsight/values.yaml +16 -0
- data/docs/kubernetes.md +56 -0
- data/lib/archsight/cli.rb +9 -0
- data/lib/archsight/version.rb +1 -1
- data/lib/archsight/web/application.rb +38 -0
- data/lib/archsight/web/public/vue/{ApiDocsPage-B1RqTNqh.js → ApiDocsPage-Cwn04X61.js} +1 -1
- data/lib/archsight/web/public/vue/{DocPage-DzwBgBd4.js → DocPage-Y83PCbYi.js} +1 -1
- data/lib/archsight/web/public/vue/{EditorPage-D_miHSv4.js → EditorPage-DqRMOBE6.js} +1 -1
- data/lib/archsight/web/public/vue/{ErrorPage-CQQtPey3.js → ErrorPage-D0lKMCXA.js} +1 -1
- data/lib/archsight/web/public/vue/{GraphView-T9jFH_qg.js → GraphView-Byq-Nfd9.js} +1 -1
- data/lib/archsight/web/public/vue/{InstanceRouter-1Sm-CRhf.js → InstanceRouter-B3Q2fH0X.js} +1 -1
- data/lib/archsight/web/public/vue/{KindList-JA_L_-Cz.js → KindList-DlDrvJDd.js} +1 -1
- data/lib/archsight/web/public/vue/{ResourceList-8iqavWdg.js → ResourceList-DwsfI85-.js} +1 -1
- data/lib/archsight/web/public/vue/{SearchResults-BdgFeHcm.js → SearchResults-DlWGROho.js} +1 -1
- data/lib/archsight/web/public/vue/{_basePickBy-CVgieyx-.js → _basePickBy-DXGWsL9H.js} +1 -1
- data/lib/archsight/web/public/vue/{_baseUniq-BNfrOSaP.js → _baseUniq-C8pAAASt.js} +1 -1
- data/lib/archsight/web/public/vue/{architectureDiagram-VXUJARFQ-CJXNpTr5.js → architectureDiagram-VXUJARFQ-Dg_wTk4u.js} +1 -1
- data/lib/archsight/web/public/vue/{blockDiagram-VD42YOAC-B5488Hes.js → blockDiagram-VD42YOAC-C8HXvtNT.js} +1 -1
- data/lib/archsight/web/public/vue/{c4Diagram-YG6GDRKO-eYY3hprM.js → c4Diagram-YG6GDRKO-QzXboDJ8.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-4BX2VUAB-ZoXeL4D1.js → chunk-4BX2VUAB-DSPzEX5F.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-55IACEB6-rNtQYnu_.js → chunk-55IACEB6-Dd5Z8Bov.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-B4BG7PRW-DolAeVV9.js → chunk-B4BG7PRW-B_hXD1nI.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-DI55MBZ5-DnN0f_hj.js → chunk-DI55MBZ5-C-2DUMJY.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-FMBD7UC4-BQWOCMuR.js → chunk-FMBD7UC4-BlBtfKnL.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-QN33PNHL-DId301Kb.js → chunk-QN33PNHL-Db3REDIz.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-QZHKN3VN-xbY0NLgv.js → chunk-QZHKN3VN-BqVqGMTy.js} +1 -1
- data/lib/archsight/web/public/vue/{chunk-TZMSLE5B-CgF9_37b.js → chunk-TZMSLE5B-DfX4VDWu.js} +1 -1
- data/lib/archsight/web/public/vue/classDiagram-2ON5EDUG-C9Kk58xl.js +1 -0
- data/lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-C9Kk58xl.js +1 -0
- data/lib/archsight/web/public/vue/clone-B6uzD5eH.js +1 -0
- data/lib/archsight/web/public/vue/{cose-bilkent-S5V4N54A-CB9Zfu50.js → cose-bilkent-S5V4N54A-CfkQxn-a.js} +1 -1
- data/lib/archsight/web/public/vue/{dagre-6UL2VRFP-BqkmE-LI.js → dagre-6UL2VRFP-D13da1qu.js} +1 -1
- data/lib/archsight/web/public/vue/{diagram-PSM6KHXK-CKBfqtw3.js → diagram-PSM6KHXK-BwzbeHPK.js} +1 -1
- data/lib/archsight/web/public/vue/{diagram-QEK2KX5R-B78rOlvK.js → diagram-QEK2KX5R-COjSoDC8.js} +1 -1
- data/lib/archsight/web/public/vue/{diagram-S2PKOQOG-BlXC6Cia.js → diagram-S2PKOQOG-FH65FafS.js} +1 -1
- data/lib/archsight/web/public/vue/{erDiagram-Q2GNP2WA-BnliyziJ.js → erDiagram-Q2GNP2WA-D1mxJWSp.js} +1 -1
- data/lib/archsight/web/public/vue/{flowDiagram-NV44I4VS-wuqPowTd.js → flowDiagram-NV44I4VS-DpRd5cPP.js} +1 -1
- data/lib/archsight/web/public/vue/{ganttDiagram-JELNMOA3-GSffAIH3.js → ganttDiagram-JELNMOA3-D04Sdd3Q.js} +1 -1
- data/lib/archsight/web/public/vue/{gitGraphDiagram-V2S2FVAM-OA7VyugW.js → gitGraphDiagram-V2S2FVAM-DgNNP2nj.js} +1 -1
- data/lib/archsight/web/public/vue/{graph-BXHAtA0S.js → graph-Cnoy0p_X.js} +1 -1
- data/lib/archsight/web/public/vue/{index-DsEsN0_K.js → index-Zr9MoxJi.js} +2 -2
- data/lib/archsight/web/public/vue/{infoDiagram-HS3SLOUP-nlVe2qgv.js → infoDiagram-HS3SLOUP-D5asL_9P.js} +1 -1
- data/lib/archsight/web/public/vue/{journeyDiagram-XKPGCS4Q-CtTIcKwf.js → journeyDiagram-XKPGCS4Q-D-SRalYk.js} +1 -1
- data/lib/archsight/web/public/vue/{kanban-definition-3W4ZIXB7-837KX0sW.js → kanban-definition-3W4ZIXB7-CuOjHa3p.js} +1 -1
- data/lib/archsight/web/public/vue/{layout-DtE0QdL6.js → layout-CD8FBujT.js} +1 -1
- data/lib/archsight/web/public/vue/{mermaid-DpPHPFQh.js → mermaid-DUllW9QE.js} +60 -60
- data/lib/archsight/web/public/vue/{mindmap-definition-VGOIOE7T-9gLF2AoY.js → mindmap-definition-VGOIOE7T-BfbYXGBk.js} +1 -1
- data/lib/archsight/web/public/vue/{pieDiagram-ADFJNKIX-CyCNgw3u.js → pieDiagram-ADFJNKIX-mb757Gpq.js} +1 -1
- data/lib/archsight/web/public/vue/{quadrantDiagram-AYHSOK5B-CkPh8g02.js → quadrantDiagram-AYHSOK5B-DMtvHJQW.js} +1 -1
- data/lib/archsight/web/public/vue/{requirementDiagram-UZGBJVZJ-Dkt6OSlY.js → requirementDiagram-UZGBJVZJ-CHguirsB.js} +1 -1
- data/lib/archsight/web/public/vue/{sankeyDiagram-TZEHDZUN-BqprTk8x.js → sankeyDiagram-TZEHDZUN-nblWMNF6.js} +1 -1
- data/lib/archsight/web/public/vue/{sequenceDiagram-WL72ISMW-CTmTe1FQ.js → sequenceDiagram-WL72ISMW-B83ZoXls.js} +1 -1
- data/lib/archsight/web/public/vue/{stateDiagram-FKZM4ZOC-CphqmkEU.js → stateDiagram-FKZM4ZOC-Ct0OgmPh.js} +1 -1
- data/lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CJZXQ6xd.js +1 -0
- data/lib/archsight/web/public/vue/{timeline-definition-IT6M3QCI-CSQUZkyE.js → timeline-definition-IT6M3QCI-D1Wd-DLb.js} +1 -1
- data/lib/archsight/web/public/vue/{treemap-GDKQZRPO-DTojm7Yr.js → treemap-GDKQZRPO-DFPZrNlp.js} +1 -1
- data/lib/archsight/web/public/vue/{useGraphviz-A5s4h76R.js → useGraphviz-BN4iwLLN.js} +1 -1
- data/lib/archsight/web/public/vue/{useHighlight-C6Kb5G3l.js → useHighlight-DmGaxZxx.js} +1 -1
- data/lib/archsight/web/public/vue/{useMermaid-DqxTrLRB.js → useMermaid-DSo5f1Jc.js} +1 -1
- data/lib/archsight/web/public/vue/{usePanZoom-BybZ_rfh.js → usePanZoom-BEXq_r0S.js} +1 -1
- data/lib/archsight/web/public/vue/{xychartDiagram-PRI3JC2R-B1ZJZtDC.js → xychartDiagram-PRI3JC2R-i_eB4HAQ.js} +1 -1
- data/lib/archsight/web/public/vue.html +2 -2
- metadata +58 -57
- data/lib/archsight/web/public/vue/classDiagram-2ON5EDUG-jGlvI-Za.js +0 -1
- data/lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-jGlvI-Za.js +0 -1
- data/lib/archsight/web/public/vue/clone-6iRPe1-W.js +0 -1
- data/lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CxaDW5sW.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as u}from"./mermaid-
|
|
1
|
+
import{_ as u}from"./mermaid-DUllW9QE.js";import{i as l}from"./usePanZoom-BEXq_r0S.js";let r=null,m=!1;function d(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"default"}async function s(){return r||(r=(await u(()=>import("./mermaid-DUllW9QE.js").then(t=>t.bG),[])).default,r.initialize({startOnLoad:!1,theme:d()}),f(),r)}function c(e){e.querySelectorAll(".mermaid svg").forEach(t=>{if(t.hasAttribute("data-panzoom-init"))return;t.setAttribute("data-panzoom-init","true");const n=t.parentElement;l(t,n)})}function f(){m||(m=!0,window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",async()=>{r&&(r.initialize({startOnLoad:!1,theme:d()}),document.querySelectorAll(".mermaid[data-mermaid-source]").forEach(e=>{e.removeAttribute("data-processed"),e.innerHTML=e.getAttribute("data-mermaid-source")}),await r.run(),document.querySelectorAll(".mermaid").forEach(e=>{e.querySelectorAll("svg").forEach(t=>t.removeAttribute("data-panzoom-init")),c(e.parentElement||e)}))}))}async function A(e){const t=e.querySelectorAll("pre > code.language-mermaid");if(t.length===0)return;const n=await s();t.forEach(i=>{const o=i.parentElement,a=document.createElement("div");a.className="mermaid",a.setAttribute("data-mermaid-source",i.textContent),a.textContent=i.textContent,o.parentElement.replaceChild(a,o)}),await n.run(),c(e)}export{A as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aC as D}from"./mermaid-DpPHPFQh.js";var y,C;function T(){return C||(C=1,y=(function(){var u="",i,o,e,s=[],r={passive:!0},c={passive:!1};window.addEventListener?(i="addEventListener",o="removeEventListener"):(i="attachEvent",o="detachEvent",u="on"),e="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";function d(h,a){var m=function(v){!v&&(v=window.event);var b={originalEvent:v,target:v.target||v.srcElement,type:"wheel",deltaMode:v.type=="MozMousePixelScroll"?0:1,deltaX:0,delatZ:0,preventDefault:function(){v.preventDefault?v.preventDefault():v.returnValue=!1}};return e=="mousewheel"?(b.deltaY=-.025*v.wheelDelta,v.wheelDeltaX&&(b.deltaX=-.025*v.wheelDeltaX)):b.deltaY=v.detail,a(b)};return s.push({element:h,fn:m}),m}function f(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s[a].fn;return function(){}}function g(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s.splice(a,1)}function t(h,a,m,v){var b;e==="wheel"?b=m:b=d(h,m),h[i](u+a,b,v?r:c)}function n(h,a,m,v){var b;e==="wheel"?b=m:b=f(h),h[o](u+a,b,v?r:c),g(h)}function l(h,a,m){t(h,e,a,m),e=="DOMMouseScroll"&&t(h,"MozMousePixelScroll",a,m)}function p(h,a,m){n(h,e,a,m),e=="DOMMouseScroll"&&n(h,"MozMousePixelScroll",a,m)}return{on:l,off:p}})()),y}var x,P;function Z(){if(P)return x;P=1,x={extend:function(i,o){i=i||{};for(var e in o)this.isObject(o[e])?i[e]=this.extend(i[e],o[e]):i[e]=o[e];return i},isElement:function(i){return i instanceof HTMLElement||i instanceof SVGElement||i instanceof SVGSVGElement||i&&typeof i=="object"&&i!==null&&i.nodeType===1&&typeof i.nodeName=="string"},isObject:function(i){return Object.prototype.toString.call(i)==="[object Object]"},isNumber:function(i){return!isNaN(parseFloat(i))&&isFinite(i)},getSvg:function(i){var o,e;if(this.isElement(i))o=i;else if(typeof i=="string"||i instanceof String){if(o=document.querySelector(i),!o)throw new Error("Provided selector did not find any elements. Selector: "+i)}else throw new Error("Provided selector is not an HTML object nor String");if(o.tagName.toLowerCase()==="svg")e=o;else if(o.tagName.toLowerCase()==="object")e=o.contentDocument.documentElement;else if(o.tagName.toLowerCase()==="embed")e=o.getSVGDocument().documentElement;else throw o.tagName.toLowerCase()==="img"?new Error('Cannot script an SVG in an "img" element. Please use an "object" element or an in-line SVG.'):new Error("Cannot get SVG.");return e},proxy:function(i,o){return function(){return i.apply(o,arguments)}},getType:function(i){return Object.prototype.toString.apply(i).replace(/^\[object\s/,"").replace(/\]$/,"")},mouseAndTouchNormalize:function(i,o){if(i.clientX===void 0||i.clientX===null)if(i.clientX=0,i.clientY=0,i.touches!==void 0&&i.touches.length){if(i.touches[0].clientX!==void 0)i.clientX=i.touches[0].clientX,i.clientY=i.touches[0].clientY;else if(i.touches[0].pageX!==void 0){var e=o.getBoundingClientRect();i.clientX=i.touches[0].pageX-e.left,i.clientY=i.touches[0].pageY-e.top}}else i.originalEvent!==void 0&&i.originalEvent.clientX!==void 0&&(i.clientX=i.originalEvent.clientX,i.clientY=i.originalEvent.clientY)},isDblClick:function(i,o){if(i.detail===2)return!0;if(o!=null){var e=i.timeStamp-o.timeStamp,s=Math.sqrt(Math.pow(i.clientX-o.clientX,2)+Math.pow(i.clientY-o.clientY,2));return e<250&&s<10}return!1},now:Date.now||function(){return new Date().getTime()},throttle:function(i,o,e){var s=this,r,c,d,f=null,g=0;e||(e={});var t=function(){g=e.leading===!1?0:s.now(),f=null,d=i.apply(r,c),f||(r=c=null)};return function(){var n=s.now();!g&&e.leading===!1&&(g=n);var l=o-(n-g);return r=this,c=arguments,l<=0||l>o?(clearTimeout(f),f=null,g=n,d=i.apply(r,c),f||(r=c=null)):!f&&e.trailing!==!1&&(f=setTimeout(t,l)),d}},createRequestAnimationFrame:function(i){var o=null;return i!=="auto"&&i<60&&i>1&&(o=Math.floor(1e3/i)),o===null?window.requestAnimationFrame||u(33):u(o)}};function u(i){return function(o){window.setTimeout(o,i)}}return x}var w,A;function E(){if(A)return w;A=1;var u=Z(),i="unknown";return document.documentMode&&(i="ie"),w={svgNS:"http://www.w3.org/2000/svg",xmlNS:"http://www.w3.org/XML/1998/namespace",xmlnsNS:"http://www.w3.org/2000/xmlns/",xlinkNS:"http://www.w3.org/1999/xlink",evNS:"http://www.w3.org/2001/xml-events",getBoundingClientRectNormalized:function(o){if(o.clientWidth&&o.clientHeight)return{width:o.clientWidth,height:o.clientHeight};if(o.getBoundingClientRect())return o.getBoundingClientRect();throw new Error("Cannot get BoundingClientRect for SVG.")},getOrCreateViewport:function(o,e){var s=null;if(u.isElement(e)?s=e:s=o.querySelector(e),!s){var r=Array.prototype.slice.call(o.childNodes||o.children).filter(function(t){return t.nodeName!=="defs"&&t.nodeName!=="#text"});r.length===1&&r[0].nodeName==="g"&&r[0].getAttribute("transform")===null&&(s=r[0])}if(!s){var c="viewport-"+new Date().toISOString().replace(/\D/g,"");s=document.createElementNS(this.svgNS,"g"),s.setAttribute("id",c);var d=o.childNodes||o.children;if(d&&d.length>0)for(var f=d.length;f>0;f--)d[d.length-f].nodeName!=="defs"&&s.appendChild(d[d.length-f]);o.appendChild(s)}var g=[];return s.getAttribute("class")&&(g=s.getAttribute("class").split(" ")),~g.indexOf("svg-pan-zoom_viewport")||(g.push("svg-pan-zoom_viewport"),s.setAttribute("class",g.join(" "))),s},setupSvgAttributes:function(o){if(o.setAttribute("xmlns",this.svgNS),o.setAttributeNS(this.xmlnsNS,"xmlns:xlink",this.xlinkNS),o.setAttributeNS(this.xmlnsNS,"xmlns:ev",this.evNS),o.parentNode!==null){var e=o.getAttribute("style")||"";e.toLowerCase().indexOf("overflow")===-1&&o.setAttribute("style","overflow: hidden; "+e)}},internetExplorerRedisplayInterval:300,refreshDefsGlobal:u.throttle(function(){for(var o=document.querySelectorAll("defs"),e=o.length,s=0;s<e;s++){var r=o[s];r.parentNode.insertBefore(r,r)}},w?w.internetExplorerRedisplayInterval:null),setCTM:function(o,e,s){var r=this,c="matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")";o.setAttributeNS(null,"transform",c),"transform"in o.style?o.style.transform=c:"-ms-transform"in o.style?o.style["-ms-transform"]=c:"-webkit-transform"in o.style&&(o.style["-webkit-transform"]=c),i==="ie"&&s&&(s.parentNode.insertBefore(s,s),window.setTimeout(function(){r.refreshDefsGlobal()},r.internetExplorerRedisplayInterval))},getEventPoint:function(o,e){var s=e.createSVGPoint();return u.mouseAndTouchNormalize(o,e),s.x=o.clientX,s.y=o.clientY,s},getSvgCenterPoint:function(o,e,s){return this.createSVGPoint(o,e/2,s/2)},createSVGPoint:function(o,e,s){var r=o.createSVGPoint();return r.x=e,r.y=s,r}},w}var S,B;function q(){if(B)return S;B=1;var u=E();return S={enable:function(i){var o=i.svg.querySelector("defs");o||(o=document.createElementNS(u.svgNS,"defs"),i.svg.appendChild(o));var e=o.querySelector("style#svg-pan-zoom-controls-styles");if(!e){var s=document.createElementNS(u.svgNS,"style");s.setAttribute("id","svg-pan-zoom-controls-styles"),s.setAttribute("type","text/css"),s.textContent=".svg-pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hover { fill-opacity: 0.8; } .svg-pan-zoom-control-background { fill: white; fill-opacity: 0.5; } .svg-pan-zoom-control-background { fill-opacity: 0.8; }",o.appendChild(s)}var r=document.createElementNS(u.svgNS,"g");r.setAttribute("id","svg-pan-zoom-controls"),r.setAttribute("transform","translate("+(i.width-70)+" "+(i.height-76)+") scale(0.75)"),r.setAttribute("class","svg-pan-zoom-control"),r.appendChild(this._createZoomIn(i)),r.appendChild(this._createZoomReset(i)),r.appendChild(this._createZoomOut(i)),i.svg.appendChild(r),i.controlIcons=r},_createZoomIn:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-in"),o.setAttribute("transform","translate(30.5 5) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomIn()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomIn()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},_createZoomReset:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-reset-pan-zoom"),o.setAttribute("transform","translate(5 35) scale(0.4)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().reset()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().reset()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","2"),e.setAttribute("y","2"),e.setAttribute("width","182"),e.setAttribute("height","58"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");s.setAttribute("d","M33.051,20.632c-0.742-0.406-1.854-0.609-3.338-0.609h-7.969v9.281h7.769c1.543,0,2.701-0.188,3.473-0.562c1.365-0.656,2.048-1.953,2.048-3.891C35.032,22.757,34.372,21.351,33.051,20.632z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s);var r=document.createElementNS(u.svgNS,"path");return r.setAttribute("d","M170.231,0.5H15.847C7.102,0.5,0.5,5.708,0.5,11.84v38.861C0.5,56.833,7.102,61.5,15.847,61.5h154.384c8.745,0,15.269-4.667,15.269-10.798V11.84C185.5,5.708,178.976,0.5,170.231,0.5z M42.837,48.569h-7.969c-0.219-0.766-0.375-1.383-0.469-1.852c-0.188-0.969-0.289-1.961-0.305-2.977l-0.047-3.211c-0.03-2.203-0.41-3.672-1.142-4.406c-0.732-0.734-2.103-1.102-4.113-1.102h-7.05v13.547h-7.055V14.022h16.524c2.361,0.047,4.178,0.344,5.45,0.891c1.272,0.547,2.351,1.352,3.234,2.414c0.731,0.875,1.31,1.844,1.737,2.906s0.64,2.273,0.64,3.633c0,1.641-0.414,3.254-1.242,4.84s-2.195,2.707-4.102,3.363c1.594,0.641,2.723,1.551,3.387,2.73s0.996,2.98,0.996,5.402v2.32c0,1.578,0.063,2.648,0.19,3.211c0.19,0.891,0.635,1.547,1.333,1.969V48.569z M75.579,48.569h-26.18V14.022h25.336v6.117H56.454v7.336h16.781v6H56.454v8.883h19.125V48.569z M104.497,46.331c-2.44,2.086-5.887,3.129-10.34,3.129c-4.548,0-8.125-1.027-10.731-3.082s-3.909-4.879-3.909-8.473h6.891c0.224,1.578,0.662,2.758,1.316,3.539c1.196,1.422,3.246,2.133,6.15,2.133c1.739,0,3.151-0.188,4.236-0.562c2.058-0.719,3.087-2.055,3.087-4.008c0-1.141-0.504-2.023-1.512-2.648c-1.008-0.609-2.607-1.148-4.796-1.617l-3.74-0.82c-3.676-0.812-6.201-1.695-7.576-2.648c-2.328-1.594-3.492-4.086-3.492-7.477c0-3.094,1.139-5.664,3.417-7.711s5.623-3.07,10.036-3.07c3.685,0,6.829,0.965,9.431,2.895c2.602,1.93,3.966,4.73,4.093,8.402h-6.938c-0.128-2.078-1.057-3.555-2.787-4.43c-1.154-0.578-2.587-0.867-4.301-0.867c-1.907,0-3.428,0.375-4.565,1.125c-1.138,0.75-1.706,1.797-1.706,3.141c0,1.234,0.561,2.156,1.682,2.766c0.721,0.406,2.25,0.883,4.589,1.43l6.063,1.43c2.657,0.625,4.648,1.461,5.975,2.508c2.059,1.625,3.089,3.977,3.089,7.055C108.157,41.624,106.937,44.245,104.497,46.331z M139.61,48.569h-26.18V14.022h25.336v6.117h-18.281v7.336h16.781v6h-16.781v8.883h19.125V48.569z M170.337,20.14h-10.336v28.43h-7.266V20.14h-10.383v-6.117h27.984V20.14z"),r.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(r),o},_createZoomOut:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-out"),o.setAttribute("transform","translate(30.5 70) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomOut()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomOut()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},disable:function(i){i.controlIcons&&(i.controlIcons.parentNode.removeChild(i.controlIcons),i.controlIcons=null)}},S}var M,N;function L(){if(N)return M;N=1;var u=E(),i=Z(),o=function(e,s){this.init(e,s)};return o.prototype.init=function(e,s){this.viewport=e,this.options=s,this.originalState={zoom:1,x:0,y:0},this.activeState={zoom:1,x:0,y:0},this.updateCTMCached=i.proxy(this.updateCTM,this),this.requestAnimationFrame=i.createRequestAnimationFrame(this.options.refreshRate),this.viewBox={x:0,y:0,width:0,height:0},this.cacheViewBox();var r=this.processCTM();this.setCTM(r),this.updateCTM()},o.prototype.cacheViewBox=function(){var e=this.options.svg.getAttribute("viewBox");if(e){var s=e.split(/[\s\,]/).filter(function(c){return c}).map(parseFloat);this.viewBox.x=s[0],this.viewBox.y=s[1],this.viewBox.width=s[2],this.viewBox.height=s[3];var r=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height);this.activeState.zoom=r,this.activeState.x=(this.options.width-this.viewBox.width*r)/2,this.activeState.y=(this.options.height-this.viewBox.height*r)/2,this.updateCTMOnNextFrame(),this.options.svg.removeAttribute("viewBox")}else this.simpleViewBoxCache()},o.prototype.simpleViewBoxCache=function(){var e=this.viewport.getBBox();this.viewBox.x=e.x,this.viewBox.y=e.y,this.viewBox.width=e.width,this.viewBox.height=e.height},o.prototype.getViewBox=function(){return i.extend({},this.viewBox)},o.prototype.processCTM=function(){var e=this.getCTM();if(this.options.fit||this.options.contain){var s;this.options.fit?s=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height):s=Math.max(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height),e.a=s,e.d=s,e.e=-this.viewBox.x*s,e.f=-this.viewBox.y*s}if(this.options.center){var r=(this.options.width-(this.viewBox.width+this.viewBox.x*2)*e.a)*.5,c=(this.options.height-(this.viewBox.height+this.viewBox.y*2)*e.a)*.5;e.e=r,e.f=c}return this.originalState.zoom=e.a,this.originalState.x=e.e,this.originalState.y=e.f,e},o.prototype.getOriginalState=function(){return i.extend({},this.originalState)},o.prototype.getState=function(){return i.extend({},this.activeState)},o.prototype.getZoom=function(){return this.activeState.zoom},o.prototype.getRelativeZoom=function(){return this.activeState.zoom/this.originalState.zoom},o.prototype.computeRelativeZoom=function(e){return e/this.originalState.zoom},o.prototype.getPan=function(){return{x:this.activeState.x,y:this.activeState.y}},o.prototype.getCTM=function(){var e=this.options.svg.createSVGMatrix();return e.a=this.activeState.zoom,e.b=0,e.c=0,e.d=this.activeState.zoom,e.e=this.activeState.x,e.f=this.activeState.y,e},o.prototype.setCTM=function(e){var s=this.isZoomDifferent(e),r=this.isPanDifferent(e);if(s||r){if(s&&(this.options.beforeZoom(this.getRelativeZoom(),this.computeRelativeZoom(e.a))===!1?(e.a=e.d=this.activeState.zoom,s=!1):(this.updateCache(e),this.options.onZoom(this.getRelativeZoom()))),r){var c=this.options.beforePan(this.getPan(),{x:e.e,y:e.f}),d=!1,f=!1;c===!1?(e.e=this.getPan().x,e.f=this.getPan().y,d=f=!0):i.isObject(c)&&(c.x===!1?(e.e=this.getPan().x,d=!0):i.isNumber(c.x)&&(e.e=c.x),c.y===!1?(e.f=this.getPan().y,f=!0):i.isNumber(c.y)&&(e.f=c.y)),d&&f||!this.isPanDifferent(e)?r=!1:(this.updateCache(e),this.options.onPan(this.getPan()))}(s||r)&&this.updateCTMOnNextFrame()}},o.prototype.isZoomDifferent=function(e){return this.activeState.zoom!==e.a},o.prototype.isPanDifferent=function(e){return this.activeState.x!==e.e||this.activeState.y!==e.f},o.prototype.updateCache=function(e){this.activeState.zoom=e.a,this.activeState.x=e.e,this.activeState.y=e.f},o.prototype.pendingUpdate=!1,o.prototype.updateCTMOnNextFrame=function(){this.pendingUpdate||(this.pendingUpdate=!0,this.requestAnimationFrame.call(window,this.updateCTMCached))},o.prototype.updateCTM=function(){var e=this.getCTM();u.setCTM(this.viewport,e,this.defs),this.pendingUpdate=!1,this.options.onUpdatedCTM&&this.options.onUpdatedCTM(e)},M=function(e,s){return new o(e,s)},M}var z,I;function V(){if(I)return z;I=1;var u=T(),i=q(),o=Z(),e=E(),s=L(),r=function(t,n){this.init(t,n)},c={viewportSelector:".svg-pan-zoom_viewport",panEnabled:!0,controlIconsEnabled:!1,zoomEnabled:!0,dblClickZoomEnabled:!0,mouseWheelZoomEnabled:!0,preventMouseEventsDefault:!0,zoomScaleSensitivity:.1,minZoom:.5,maxZoom:10,fit:!0,contain:!1,center:!0,refreshRate:"auto",beforeZoom:null,onZoom:null,beforePan:null,onPan:null,customEventsHandler:null,eventsListenerElement:null,onUpdatedCTM:null},d={passive:!0};r.prototype.init=function(t,n){var l=this;this.svg=t,this.defs=t.querySelector("defs"),e.setupSvgAttributes(this.svg),this.options=o.extend(o.extend({},c),n),this.state="none";var p=e.getBoundingClientRectNormalized(t);this.width=p.width,this.height=p.height,this.viewport=s(e.getOrCreateViewport(this.svg,this.options.viewportSelector),{svg:this.svg,width:this.width,height:this.height,fit:this.options.fit,contain:this.options.contain,center:this.options.center,refreshRate:this.options.refreshRate,beforeZoom:function(a,m){if(l.viewport&&l.options.beforeZoom)return l.options.beforeZoom(a,m)},onZoom:function(a){if(l.viewport&&l.options.onZoom)return l.options.onZoom(a)},beforePan:function(a,m){if(l.viewport&&l.options.beforePan)return l.options.beforePan(a,m)},onPan:function(a){if(l.viewport&&l.options.onPan)return l.options.onPan(a)},onUpdatedCTM:function(a){if(l.viewport&&l.options.onUpdatedCTM)return l.options.onUpdatedCTM(a)}});var h=this.getPublicInstance();h.setBeforeZoom(this.options.beforeZoom),h.setOnZoom(this.options.onZoom),h.setBeforePan(this.options.beforePan),h.setOnPan(this.options.onPan),h.setOnUpdatedCTM(this.options.onUpdatedCTM),this.options.controlIconsEnabled&&i.enable(this),this.lastMouseWheelEventTime=Date.now(),this.setupHandlers()},r.prototype.setupHandlers=function(){var t=this,n=null;if(this.eventListeners={mousedown:function(a){var m=t.handleMouseDown(a,n);return n=a,m},touchstart:function(a){var m=t.handleMouseDown(a,n);return n=a,m},mouseup:function(a){return t.handleMouseUp(a)},touchend:function(a){return t.handleMouseUp(a)},mousemove:function(a){return t.handleMouseMove(a)},touchmove:function(a){return t.handleMouseMove(a)},mouseleave:function(a){return t.handleMouseUp(a)},touchleave:function(a){return t.handleMouseUp(a)},touchcancel:function(a){return t.handleMouseUp(a)}},this.options.customEventsHandler!=null){this.options.customEventsHandler.init({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});var l=this.options.customEventsHandler.haltEventListeners;if(l&&l.length)for(var p=l.length-1;p>=0;p--)this.eventListeners.hasOwnProperty(l[p])&&delete this.eventListeners[l[p]]}for(var h in this.eventListeners)(this.options.eventsListenerElement||this.svg).addEventListener(h,this.eventListeners[h],this.options.preventMouseEventsDefault?!1:d);this.options.mouseWheelZoomEnabled&&(this.options.mouseWheelZoomEnabled=!1,this.enableMouseWheelZoom())},r.prototype.enableMouseWheelZoom=function(){if(!this.options.mouseWheelZoomEnabled){var t=this;this.wheelListener=function(l){return t.handleMouseWheel(l)};var n=!this.options.preventMouseEventsDefault;u.on(this.options.eventsListenerElement||this.svg,this.wheelListener,n),this.options.mouseWheelZoomEnabled=!0}},r.prototype.disableMouseWheelZoom=function(){if(this.options.mouseWheelZoomEnabled){var t=!this.options.preventMouseEventsDefault;u.off(this.options.eventsListenerElement||this.svg,this.wheelListener,t),this.options.mouseWheelZoomEnabled=!1}},r.prototype.handleMouseWheel=function(t){if(!(!this.options.zoomEnabled||this.state!=="none")){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var n=t.deltaY||1,l=Date.now()-this.lastMouseWheelEventTime,p=3+Math.max(0,30-l);this.lastMouseWheelEventTime=Date.now(),"deltaMode"in t&&t.deltaMode===0&&t.wheelDelta&&(n=t.deltaY===0?0:Math.abs(t.wheelDelta)/t.deltaY),n=-.3<n&&n<.3?n:(n>0?1:-1)*Math.log(Math.abs(n)+10)/p;var h=this.svg.getScreenCTM().inverse(),a=e.getEventPoint(t,this.svg).matrixTransform(h),m=Math.pow(1+this.options.zoomScaleSensitivity,-1*n);this.zoomAtPoint(m,a)}},r.prototype.zoomAtPoint=function(t,n,l){var p=this.viewport.getOriginalState();l?(t=Math.max(this.options.minZoom*p.zoom,Math.min(this.options.maxZoom*p.zoom,t)),t=t/this.getZoom()):this.getZoom()*t<this.options.minZoom*p.zoom?t=this.options.minZoom*p.zoom/this.getZoom():this.getZoom()*t>this.options.maxZoom*p.zoom&&(t=this.options.maxZoom*p.zoom/this.getZoom());var h=this.viewport.getCTM(),a=n.matrixTransform(h.inverse()),m=this.svg.createSVGMatrix().translate(a.x,a.y).scale(t).translate(-a.x,-a.y),v=h.multiply(m);v.a!==h.a&&this.viewport.setCTM(v)},r.prototype.zoom=function(t,n){this.zoomAtPoint(t,e.getSvgCenterPoint(this.svg,this.width,this.height),n)},r.prototype.publicZoom=function(t,n){n&&(t=this.computeFromRelativeZoom(t)),this.zoom(t,n)},r.prototype.publicZoomAtPoint=function(t,n,l){if(l&&(t=this.computeFromRelativeZoom(t)),o.getType(n)!=="SVGPoint")if("x"in n&&"y"in n)n=e.createSVGPoint(this.svg,n.x,n.y);else throw new Error("Given point is invalid");this.zoomAtPoint(t,n,l)},r.prototype.getZoom=function(){return this.viewport.getZoom()},r.prototype.getRelativeZoom=function(){return this.viewport.getRelativeZoom()},r.prototype.computeFromRelativeZoom=function(t){return t*this.viewport.getOriginalState().zoom},r.prototype.resetZoom=function(){var t=this.viewport.getOriginalState();this.zoom(t.zoom,!0)},r.prototype.resetPan=function(){this.pan(this.viewport.getOriginalState())},r.prototype.reset=function(){this.resetZoom(),this.resetPan()},r.prototype.handleDblClick=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.options.controlIconsEnabled){var n=t.target.getAttribute("class")||"";if(n.indexOf("svg-pan-zoom-control")>-1)return!1}var l;t.shiftKey?l=1/((1+this.options.zoomScaleSensitivity)*2):l=(1+this.options.zoomScaleSensitivity)*2;var p=e.getEventPoint(t,this.svg).matrixTransform(this.svg.getScreenCTM().inverse());this.zoomAtPoint(l,p)},r.prototype.handleMouseDown=function(t,n){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),o.mouseAndTouchNormalize(t,this.svg),this.options.dblClickZoomEnabled&&o.isDblClick(t,n)?this.handleDblClick(t):(this.state="pan",this.firstEventCTM=this.viewport.getCTM(),this.stateOrigin=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()))},r.prototype.handleMouseMove=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&this.options.panEnabled){var n=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()),l=this.firstEventCTM.translate(n.x-this.stateOrigin.x,n.y-this.stateOrigin.y);this.viewport.setCTM(l)}},r.prototype.handleMouseUp=function(t){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&(this.state="none")},r.prototype.fit=function(){var t=this.viewport.getViewBox(),n=Math.min(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.contain=function(){var t=this.viewport.getViewBox(),n=Math.max(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.center=function(){var t=this.viewport.getViewBox(),n=(this.width-(t.width+t.x*2)*this.getZoom())*.5,l=(this.height-(t.height+t.y*2)*this.getZoom())*.5;this.getPublicInstance().pan({x:n,y:l})},r.prototype.updateBBox=function(){this.viewport.simpleViewBoxCache()},r.prototype.pan=function(t){var n=this.viewport.getCTM();n.e=t.x,n.f=t.y,this.viewport.setCTM(n)},r.prototype.panBy=function(t){var n=this.viewport.getCTM();n.e+=t.x,n.f+=t.y,this.viewport.setCTM(n)},r.prototype.getPan=function(){var t=this.viewport.getState();return{x:t.x,y:t.y}},r.prototype.resize=function(){var t=e.getBoundingClientRectNormalized(this.svg);this.width=t.width,this.height=t.height;var n=this.viewport;n.options.width=this.width,n.options.height=this.height,n.processCTM(),this.options.controlIconsEnabled&&(this.getPublicInstance().disableControlIcons(),this.getPublicInstance().enableControlIcons())},r.prototype.destroy=function(){var t=this;this.beforeZoom=null,this.onZoom=null,this.beforePan=null,this.onPan=null,this.onUpdatedCTM=null,this.options.customEventsHandler!=null&&this.options.customEventsHandler.destroy({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});for(var n in this.eventListeners)(this.options.eventsListenerElement||this.svg).removeEventListener(n,this.eventListeners[n],this.options.preventMouseEventsDefault?!1:d);this.disableMouseWheelZoom(),this.getPublicInstance().disableControlIcons(),this.reset(),f=f.filter(function(l){return l.svg!==t.svg}),delete this.options,delete this.viewport,delete this.publicInstance,delete this.pi,this.getPublicInstance=function(){return null}},r.prototype.getPublicInstance=function(){var t=this;return this.publicInstance||(this.publicInstance=this.pi={enablePan:function(){return t.options.panEnabled=!0,t.pi},disablePan:function(){return t.options.panEnabled=!1,t.pi},isPanEnabled:function(){return!!t.options.panEnabled},pan:function(n){return t.pan(n),t.pi},panBy:function(n){return t.panBy(n),t.pi},getPan:function(){return t.getPan()},setBeforePan:function(n){return t.options.beforePan=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnPan:function(n){return t.options.onPan=n===null?null:o.proxy(n,t.publicInstance),t.pi},enableZoom:function(){return t.options.zoomEnabled=!0,t.pi},disableZoom:function(){return t.options.zoomEnabled=!1,t.pi},isZoomEnabled:function(){return!!t.options.zoomEnabled},enableControlIcons:function(){return t.options.controlIconsEnabled||(t.options.controlIconsEnabled=!0,i.enable(t)),t.pi},disableControlIcons:function(){return t.options.controlIconsEnabled&&(t.options.controlIconsEnabled=!1,i.disable(t)),t.pi},isControlIconsEnabled:function(){return!!t.options.controlIconsEnabled},enableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!0,t.pi},disableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!1,t.pi},isDblClickZoomEnabled:function(){return!!t.options.dblClickZoomEnabled},enableMouseWheelZoom:function(){return t.enableMouseWheelZoom(),t.pi},disableMouseWheelZoom:function(){return t.disableMouseWheelZoom(),t.pi},isMouseWheelZoomEnabled:function(){return!!t.options.mouseWheelZoomEnabled},setZoomScaleSensitivity:function(n){return t.options.zoomScaleSensitivity=n,t.pi},setMinZoom:function(n){return t.options.minZoom=n,t.pi},setMaxZoom:function(n){return t.options.maxZoom=n,t.pi},setBeforeZoom:function(n){return t.options.beforeZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnZoom:function(n){return t.options.onZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},zoom:function(n){return t.publicZoom(n,!0),t.pi},zoomBy:function(n){return t.publicZoom(n,!1),t.pi},zoomAtPoint:function(n,l){return t.publicZoomAtPoint(n,l,!0),t.pi},zoomAtPointBy:function(n,l){return t.publicZoomAtPoint(n,l,!1),t.pi},zoomIn:function(){return this.zoomBy(1+t.options.zoomScaleSensitivity),t.pi},zoomOut:function(){return this.zoomBy(1/(1+t.options.zoomScaleSensitivity)),t.pi},getZoom:function(){return t.getRelativeZoom()},setOnUpdatedCTM:function(n){return t.options.onUpdatedCTM=n===null?null:o.proxy(n,t.publicInstance),t.pi},resetZoom:function(){return t.resetZoom(),t.pi},resetPan:function(){return t.resetPan(),t.pi},reset:function(){return t.reset(),t.pi},fit:function(){return t.fit(),t.pi},contain:function(){return t.contain(),t.pi},center:function(){return t.center(),t.pi},updateBBox:function(){return t.updateBBox(),t.pi},resize:function(){return t.resize(),t.pi},getSizes:function(){return{width:t.width,height:t.height,realZoom:t.getZoom(),viewBox:t.viewport.getViewBox()}},destroy:function(){return t.destroy(),t.pi}}),this.publicInstance};var f=[],g=function(t,n){var l=o.getSvg(t);if(l===null)return null;for(var p=f.length-1;p>=0;p--)if(f[p].svg===l)return f[p].instance.getPublicInstance();return f.push({svg:l,instance:new r(l,n)}),f[f.length-1].instance.getPublicInstance()};return z=g,z}var O=V();const R=D(O);function k(u,i){if(u.querySelector(".svg-zoom-controls"))return;const o=document.createElement("div");o.className="svg-zoom-controls",o.innerHTML=`
|
|
1
|
+
import{aC as D}from"./mermaid-DUllW9QE.js";var y,C;function T(){return C||(C=1,y=(function(){var u="",i,o,e,s=[],r={passive:!0},c={passive:!1};window.addEventListener?(i="addEventListener",o="removeEventListener"):(i="attachEvent",o="detachEvent",u="on"),e="onwheel"in document.createElement("div")?"wheel":document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll";function d(h,a){var m=function(v){!v&&(v=window.event);var b={originalEvent:v,target:v.target||v.srcElement,type:"wheel",deltaMode:v.type=="MozMousePixelScroll"?0:1,deltaX:0,delatZ:0,preventDefault:function(){v.preventDefault?v.preventDefault():v.returnValue=!1}};return e=="mousewheel"?(b.deltaY=-.025*v.wheelDelta,v.wheelDeltaX&&(b.deltaX=-.025*v.wheelDeltaX)):b.deltaY=v.detail,a(b)};return s.push({element:h,fn:m}),m}function f(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s[a].fn;return function(){}}function g(h){for(var a=0;a<s.length;a++)if(s[a].element===h)return s.splice(a,1)}function t(h,a,m,v){var b;e==="wheel"?b=m:b=d(h,m),h[i](u+a,b,v?r:c)}function n(h,a,m,v){var b;e==="wheel"?b=m:b=f(h),h[o](u+a,b,v?r:c),g(h)}function l(h,a,m){t(h,e,a,m),e=="DOMMouseScroll"&&t(h,"MozMousePixelScroll",a,m)}function p(h,a,m){n(h,e,a,m),e=="DOMMouseScroll"&&n(h,"MozMousePixelScroll",a,m)}return{on:l,off:p}})()),y}var x,P;function Z(){if(P)return x;P=1,x={extend:function(i,o){i=i||{};for(var e in o)this.isObject(o[e])?i[e]=this.extend(i[e],o[e]):i[e]=o[e];return i},isElement:function(i){return i instanceof HTMLElement||i instanceof SVGElement||i instanceof SVGSVGElement||i&&typeof i=="object"&&i!==null&&i.nodeType===1&&typeof i.nodeName=="string"},isObject:function(i){return Object.prototype.toString.call(i)==="[object Object]"},isNumber:function(i){return!isNaN(parseFloat(i))&&isFinite(i)},getSvg:function(i){var o,e;if(this.isElement(i))o=i;else if(typeof i=="string"||i instanceof String){if(o=document.querySelector(i),!o)throw new Error("Provided selector did not find any elements. Selector: "+i)}else throw new Error("Provided selector is not an HTML object nor String");if(o.tagName.toLowerCase()==="svg")e=o;else if(o.tagName.toLowerCase()==="object")e=o.contentDocument.documentElement;else if(o.tagName.toLowerCase()==="embed")e=o.getSVGDocument().documentElement;else throw o.tagName.toLowerCase()==="img"?new Error('Cannot script an SVG in an "img" element. Please use an "object" element or an in-line SVG.'):new Error("Cannot get SVG.");return e},proxy:function(i,o){return function(){return i.apply(o,arguments)}},getType:function(i){return Object.prototype.toString.apply(i).replace(/^\[object\s/,"").replace(/\]$/,"")},mouseAndTouchNormalize:function(i,o){if(i.clientX===void 0||i.clientX===null)if(i.clientX=0,i.clientY=0,i.touches!==void 0&&i.touches.length){if(i.touches[0].clientX!==void 0)i.clientX=i.touches[0].clientX,i.clientY=i.touches[0].clientY;else if(i.touches[0].pageX!==void 0){var e=o.getBoundingClientRect();i.clientX=i.touches[0].pageX-e.left,i.clientY=i.touches[0].pageY-e.top}}else i.originalEvent!==void 0&&i.originalEvent.clientX!==void 0&&(i.clientX=i.originalEvent.clientX,i.clientY=i.originalEvent.clientY)},isDblClick:function(i,o){if(i.detail===2)return!0;if(o!=null){var e=i.timeStamp-o.timeStamp,s=Math.sqrt(Math.pow(i.clientX-o.clientX,2)+Math.pow(i.clientY-o.clientY,2));return e<250&&s<10}return!1},now:Date.now||function(){return new Date().getTime()},throttle:function(i,o,e){var s=this,r,c,d,f=null,g=0;e||(e={});var t=function(){g=e.leading===!1?0:s.now(),f=null,d=i.apply(r,c),f||(r=c=null)};return function(){var n=s.now();!g&&e.leading===!1&&(g=n);var l=o-(n-g);return r=this,c=arguments,l<=0||l>o?(clearTimeout(f),f=null,g=n,d=i.apply(r,c),f||(r=c=null)):!f&&e.trailing!==!1&&(f=setTimeout(t,l)),d}},createRequestAnimationFrame:function(i){var o=null;return i!=="auto"&&i<60&&i>1&&(o=Math.floor(1e3/i)),o===null?window.requestAnimationFrame||u(33):u(o)}};function u(i){return function(o){window.setTimeout(o,i)}}return x}var w,A;function E(){if(A)return w;A=1;var u=Z(),i="unknown";return document.documentMode&&(i="ie"),w={svgNS:"http://www.w3.org/2000/svg",xmlNS:"http://www.w3.org/XML/1998/namespace",xmlnsNS:"http://www.w3.org/2000/xmlns/",xlinkNS:"http://www.w3.org/1999/xlink",evNS:"http://www.w3.org/2001/xml-events",getBoundingClientRectNormalized:function(o){if(o.clientWidth&&o.clientHeight)return{width:o.clientWidth,height:o.clientHeight};if(o.getBoundingClientRect())return o.getBoundingClientRect();throw new Error("Cannot get BoundingClientRect for SVG.")},getOrCreateViewport:function(o,e){var s=null;if(u.isElement(e)?s=e:s=o.querySelector(e),!s){var r=Array.prototype.slice.call(o.childNodes||o.children).filter(function(t){return t.nodeName!=="defs"&&t.nodeName!=="#text"});r.length===1&&r[0].nodeName==="g"&&r[0].getAttribute("transform")===null&&(s=r[0])}if(!s){var c="viewport-"+new Date().toISOString().replace(/\D/g,"");s=document.createElementNS(this.svgNS,"g"),s.setAttribute("id",c);var d=o.childNodes||o.children;if(d&&d.length>0)for(var f=d.length;f>0;f--)d[d.length-f].nodeName!=="defs"&&s.appendChild(d[d.length-f]);o.appendChild(s)}var g=[];return s.getAttribute("class")&&(g=s.getAttribute("class").split(" ")),~g.indexOf("svg-pan-zoom_viewport")||(g.push("svg-pan-zoom_viewport"),s.setAttribute("class",g.join(" "))),s},setupSvgAttributes:function(o){if(o.setAttribute("xmlns",this.svgNS),o.setAttributeNS(this.xmlnsNS,"xmlns:xlink",this.xlinkNS),o.setAttributeNS(this.xmlnsNS,"xmlns:ev",this.evNS),o.parentNode!==null){var e=o.getAttribute("style")||"";e.toLowerCase().indexOf("overflow")===-1&&o.setAttribute("style","overflow: hidden; "+e)}},internetExplorerRedisplayInterval:300,refreshDefsGlobal:u.throttle(function(){for(var o=document.querySelectorAll("defs"),e=o.length,s=0;s<e;s++){var r=o[s];r.parentNode.insertBefore(r,r)}},w?w.internetExplorerRedisplayInterval:null),setCTM:function(o,e,s){var r=this,c="matrix("+e.a+","+e.b+","+e.c+","+e.d+","+e.e+","+e.f+")";o.setAttributeNS(null,"transform",c),"transform"in o.style?o.style.transform=c:"-ms-transform"in o.style?o.style["-ms-transform"]=c:"-webkit-transform"in o.style&&(o.style["-webkit-transform"]=c),i==="ie"&&s&&(s.parentNode.insertBefore(s,s),window.setTimeout(function(){r.refreshDefsGlobal()},r.internetExplorerRedisplayInterval))},getEventPoint:function(o,e){var s=e.createSVGPoint();return u.mouseAndTouchNormalize(o,e),s.x=o.clientX,s.y=o.clientY,s},getSvgCenterPoint:function(o,e,s){return this.createSVGPoint(o,e/2,s/2)},createSVGPoint:function(o,e,s){var r=o.createSVGPoint();return r.x=e,r.y=s,r}},w}var S,B;function q(){if(B)return S;B=1;var u=E();return S={enable:function(i){var o=i.svg.querySelector("defs");o||(o=document.createElementNS(u.svgNS,"defs"),i.svg.appendChild(o));var e=o.querySelector("style#svg-pan-zoom-controls-styles");if(!e){var s=document.createElementNS(u.svgNS,"style");s.setAttribute("id","svg-pan-zoom-controls-styles"),s.setAttribute("type","text/css"),s.textContent=".svg-pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hover { fill-opacity: 0.8; } .svg-pan-zoom-control-background { fill: white; fill-opacity: 0.5; } .svg-pan-zoom-control-background { fill-opacity: 0.8; }",o.appendChild(s)}var r=document.createElementNS(u.svgNS,"g");r.setAttribute("id","svg-pan-zoom-controls"),r.setAttribute("transform","translate("+(i.width-70)+" "+(i.height-76)+") scale(0.75)"),r.setAttribute("class","svg-pan-zoom-control"),r.appendChild(this._createZoomIn(i)),r.appendChild(this._createZoomReset(i)),r.appendChild(this._createZoomOut(i)),i.svg.appendChild(r),i.controlIcons=r},_createZoomIn:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-in"),o.setAttribute("transform","translate(30.5 5) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomIn()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomIn()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},_createZoomReset:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-reset-pan-zoom"),o.setAttribute("transform","translate(5 35) scale(0.4)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().reset()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().reset()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","2"),e.setAttribute("y","2"),e.setAttribute("width","182"),e.setAttribute("height","58"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");s.setAttribute("d","M33.051,20.632c-0.742-0.406-1.854-0.609-3.338-0.609h-7.969v9.281h7.769c1.543,0,2.701-0.188,3.473-0.562c1.365-0.656,2.048-1.953,2.048-3.891C35.032,22.757,34.372,21.351,33.051,20.632z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s);var r=document.createElementNS(u.svgNS,"path");return r.setAttribute("d","M170.231,0.5H15.847C7.102,0.5,0.5,5.708,0.5,11.84v38.861C0.5,56.833,7.102,61.5,15.847,61.5h154.384c8.745,0,15.269-4.667,15.269-10.798V11.84C185.5,5.708,178.976,0.5,170.231,0.5z M42.837,48.569h-7.969c-0.219-0.766-0.375-1.383-0.469-1.852c-0.188-0.969-0.289-1.961-0.305-2.977l-0.047-3.211c-0.03-2.203-0.41-3.672-1.142-4.406c-0.732-0.734-2.103-1.102-4.113-1.102h-7.05v13.547h-7.055V14.022h16.524c2.361,0.047,4.178,0.344,5.45,0.891c1.272,0.547,2.351,1.352,3.234,2.414c0.731,0.875,1.31,1.844,1.737,2.906s0.64,2.273,0.64,3.633c0,1.641-0.414,3.254-1.242,4.84s-2.195,2.707-4.102,3.363c1.594,0.641,2.723,1.551,3.387,2.73s0.996,2.98,0.996,5.402v2.32c0,1.578,0.063,2.648,0.19,3.211c0.19,0.891,0.635,1.547,1.333,1.969V48.569z M75.579,48.569h-26.18V14.022h25.336v6.117H56.454v7.336h16.781v6H56.454v8.883h19.125V48.569z M104.497,46.331c-2.44,2.086-5.887,3.129-10.34,3.129c-4.548,0-8.125-1.027-10.731-3.082s-3.909-4.879-3.909-8.473h6.891c0.224,1.578,0.662,2.758,1.316,3.539c1.196,1.422,3.246,2.133,6.15,2.133c1.739,0,3.151-0.188,4.236-0.562c2.058-0.719,3.087-2.055,3.087-4.008c0-1.141-0.504-2.023-1.512-2.648c-1.008-0.609-2.607-1.148-4.796-1.617l-3.74-0.82c-3.676-0.812-6.201-1.695-7.576-2.648c-2.328-1.594-3.492-4.086-3.492-7.477c0-3.094,1.139-5.664,3.417-7.711s5.623-3.07,10.036-3.07c3.685,0,6.829,0.965,9.431,2.895c2.602,1.93,3.966,4.73,4.093,8.402h-6.938c-0.128-2.078-1.057-3.555-2.787-4.43c-1.154-0.578-2.587-0.867-4.301-0.867c-1.907,0-3.428,0.375-4.565,1.125c-1.138,0.75-1.706,1.797-1.706,3.141c0,1.234,0.561,2.156,1.682,2.766c0.721,0.406,2.25,0.883,4.589,1.43l6.063,1.43c2.657,0.625,4.648,1.461,5.975,2.508c2.059,1.625,3.089,3.977,3.089,7.055C108.157,41.624,106.937,44.245,104.497,46.331z M139.61,48.569h-26.18V14.022h25.336v6.117h-18.281v7.336h16.781v6h-16.781v8.883h19.125V48.569z M170.337,20.14h-10.336v28.43h-7.266V20.14h-10.383v-6.117h27.984V20.14z"),r.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(r),o},_createZoomOut:function(i){var o=document.createElementNS(u.svgNS,"g");o.setAttribute("id","svg-pan-zoom-zoom-out"),o.setAttribute("transform","translate(30.5 70) scale(0.015)"),o.setAttribute("class","svg-pan-zoom-control"),o.addEventListener("click",function(){i.getPublicInstance().zoomOut()},!1),o.addEventListener("touchstart",function(){i.getPublicInstance().zoomOut()},!1);var e=document.createElementNS(u.svgNS,"rect");e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("width","1500"),e.setAttribute("height","1400"),e.setAttribute("class","svg-pan-zoom-control-background"),o.appendChild(e);var s=document.createElementNS(u.svgNS,"path");return s.setAttribute("d","M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z"),s.setAttribute("class","svg-pan-zoom-control-element"),o.appendChild(s),o},disable:function(i){i.controlIcons&&(i.controlIcons.parentNode.removeChild(i.controlIcons),i.controlIcons=null)}},S}var M,N;function L(){if(N)return M;N=1;var u=E(),i=Z(),o=function(e,s){this.init(e,s)};return o.prototype.init=function(e,s){this.viewport=e,this.options=s,this.originalState={zoom:1,x:0,y:0},this.activeState={zoom:1,x:0,y:0},this.updateCTMCached=i.proxy(this.updateCTM,this),this.requestAnimationFrame=i.createRequestAnimationFrame(this.options.refreshRate),this.viewBox={x:0,y:0,width:0,height:0},this.cacheViewBox();var r=this.processCTM();this.setCTM(r),this.updateCTM()},o.prototype.cacheViewBox=function(){var e=this.options.svg.getAttribute("viewBox");if(e){var s=e.split(/[\s\,]/).filter(function(c){return c}).map(parseFloat);this.viewBox.x=s[0],this.viewBox.y=s[1],this.viewBox.width=s[2],this.viewBox.height=s[3];var r=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height);this.activeState.zoom=r,this.activeState.x=(this.options.width-this.viewBox.width*r)/2,this.activeState.y=(this.options.height-this.viewBox.height*r)/2,this.updateCTMOnNextFrame(),this.options.svg.removeAttribute("viewBox")}else this.simpleViewBoxCache()},o.prototype.simpleViewBoxCache=function(){var e=this.viewport.getBBox();this.viewBox.x=e.x,this.viewBox.y=e.y,this.viewBox.width=e.width,this.viewBox.height=e.height},o.prototype.getViewBox=function(){return i.extend({},this.viewBox)},o.prototype.processCTM=function(){var e=this.getCTM();if(this.options.fit||this.options.contain){var s;this.options.fit?s=Math.min(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height):s=Math.max(this.options.width/this.viewBox.width,this.options.height/this.viewBox.height),e.a=s,e.d=s,e.e=-this.viewBox.x*s,e.f=-this.viewBox.y*s}if(this.options.center){var r=(this.options.width-(this.viewBox.width+this.viewBox.x*2)*e.a)*.5,c=(this.options.height-(this.viewBox.height+this.viewBox.y*2)*e.a)*.5;e.e=r,e.f=c}return this.originalState.zoom=e.a,this.originalState.x=e.e,this.originalState.y=e.f,e},o.prototype.getOriginalState=function(){return i.extend({},this.originalState)},o.prototype.getState=function(){return i.extend({},this.activeState)},o.prototype.getZoom=function(){return this.activeState.zoom},o.prototype.getRelativeZoom=function(){return this.activeState.zoom/this.originalState.zoom},o.prototype.computeRelativeZoom=function(e){return e/this.originalState.zoom},o.prototype.getPan=function(){return{x:this.activeState.x,y:this.activeState.y}},o.prototype.getCTM=function(){var e=this.options.svg.createSVGMatrix();return e.a=this.activeState.zoom,e.b=0,e.c=0,e.d=this.activeState.zoom,e.e=this.activeState.x,e.f=this.activeState.y,e},o.prototype.setCTM=function(e){var s=this.isZoomDifferent(e),r=this.isPanDifferent(e);if(s||r){if(s&&(this.options.beforeZoom(this.getRelativeZoom(),this.computeRelativeZoom(e.a))===!1?(e.a=e.d=this.activeState.zoom,s=!1):(this.updateCache(e),this.options.onZoom(this.getRelativeZoom()))),r){var c=this.options.beforePan(this.getPan(),{x:e.e,y:e.f}),d=!1,f=!1;c===!1?(e.e=this.getPan().x,e.f=this.getPan().y,d=f=!0):i.isObject(c)&&(c.x===!1?(e.e=this.getPan().x,d=!0):i.isNumber(c.x)&&(e.e=c.x),c.y===!1?(e.f=this.getPan().y,f=!0):i.isNumber(c.y)&&(e.f=c.y)),d&&f||!this.isPanDifferent(e)?r=!1:(this.updateCache(e),this.options.onPan(this.getPan()))}(s||r)&&this.updateCTMOnNextFrame()}},o.prototype.isZoomDifferent=function(e){return this.activeState.zoom!==e.a},o.prototype.isPanDifferent=function(e){return this.activeState.x!==e.e||this.activeState.y!==e.f},o.prototype.updateCache=function(e){this.activeState.zoom=e.a,this.activeState.x=e.e,this.activeState.y=e.f},o.prototype.pendingUpdate=!1,o.prototype.updateCTMOnNextFrame=function(){this.pendingUpdate||(this.pendingUpdate=!0,this.requestAnimationFrame.call(window,this.updateCTMCached))},o.prototype.updateCTM=function(){var e=this.getCTM();u.setCTM(this.viewport,e,this.defs),this.pendingUpdate=!1,this.options.onUpdatedCTM&&this.options.onUpdatedCTM(e)},M=function(e,s){return new o(e,s)},M}var z,I;function V(){if(I)return z;I=1;var u=T(),i=q(),o=Z(),e=E(),s=L(),r=function(t,n){this.init(t,n)},c={viewportSelector:".svg-pan-zoom_viewport",panEnabled:!0,controlIconsEnabled:!1,zoomEnabled:!0,dblClickZoomEnabled:!0,mouseWheelZoomEnabled:!0,preventMouseEventsDefault:!0,zoomScaleSensitivity:.1,minZoom:.5,maxZoom:10,fit:!0,contain:!1,center:!0,refreshRate:"auto",beforeZoom:null,onZoom:null,beforePan:null,onPan:null,customEventsHandler:null,eventsListenerElement:null,onUpdatedCTM:null},d={passive:!0};r.prototype.init=function(t,n){var l=this;this.svg=t,this.defs=t.querySelector("defs"),e.setupSvgAttributes(this.svg),this.options=o.extend(o.extend({},c),n),this.state="none";var p=e.getBoundingClientRectNormalized(t);this.width=p.width,this.height=p.height,this.viewport=s(e.getOrCreateViewport(this.svg,this.options.viewportSelector),{svg:this.svg,width:this.width,height:this.height,fit:this.options.fit,contain:this.options.contain,center:this.options.center,refreshRate:this.options.refreshRate,beforeZoom:function(a,m){if(l.viewport&&l.options.beforeZoom)return l.options.beforeZoom(a,m)},onZoom:function(a){if(l.viewport&&l.options.onZoom)return l.options.onZoom(a)},beforePan:function(a,m){if(l.viewport&&l.options.beforePan)return l.options.beforePan(a,m)},onPan:function(a){if(l.viewport&&l.options.onPan)return l.options.onPan(a)},onUpdatedCTM:function(a){if(l.viewport&&l.options.onUpdatedCTM)return l.options.onUpdatedCTM(a)}});var h=this.getPublicInstance();h.setBeforeZoom(this.options.beforeZoom),h.setOnZoom(this.options.onZoom),h.setBeforePan(this.options.beforePan),h.setOnPan(this.options.onPan),h.setOnUpdatedCTM(this.options.onUpdatedCTM),this.options.controlIconsEnabled&&i.enable(this),this.lastMouseWheelEventTime=Date.now(),this.setupHandlers()},r.prototype.setupHandlers=function(){var t=this,n=null;if(this.eventListeners={mousedown:function(a){var m=t.handleMouseDown(a,n);return n=a,m},touchstart:function(a){var m=t.handleMouseDown(a,n);return n=a,m},mouseup:function(a){return t.handleMouseUp(a)},touchend:function(a){return t.handleMouseUp(a)},mousemove:function(a){return t.handleMouseMove(a)},touchmove:function(a){return t.handleMouseMove(a)},mouseleave:function(a){return t.handleMouseUp(a)},touchleave:function(a){return t.handleMouseUp(a)},touchcancel:function(a){return t.handleMouseUp(a)}},this.options.customEventsHandler!=null){this.options.customEventsHandler.init({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});var l=this.options.customEventsHandler.haltEventListeners;if(l&&l.length)for(var p=l.length-1;p>=0;p--)this.eventListeners.hasOwnProperty(l[p])&&delete this.eventListeners[l[p]]}for(var h in this.eventListeners)(this.options.eventsListenerElement||this.svg).addEventListener(h,this.eventListeners[h],this.options.preventMouseEventsDefault?!1:d);this.options.mouseWheelZoomEnabled&&(this.options.mouseWheelZoomEnabled=!1,this.enableMouseWheelZoom())},r.prototype.enableMouseWheelZoom=function(){if(!this.options.mouseWheelZoomEnabled){var t=this;this.wheelListener=function(l){return t.handleMouseWheel(l)};var n=!this.options.preventMouseEventsDefault;u.on(this.options.eventsListenerElement||this.svg,this.wheelListener,n),this.options.mouseWheelZoomEnabled=!0}},r.prototype.disableMouseWheelZoom=function(){if(this.options.mouseWheelZoomEnabled){var t=!this.options.preventMouseEventsDefault;u.off(this.options.eventsListenerElement||this.svg,this.wheelListener,t),this.options.mouseWheelZoomEnabled=!1}},r.prototype.handleMouseWheel=function(t){if(!(!this.options.zoomEnabled||this.state!=="none")){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var n=t.deltaY||1,l=Date.now()-this.lastMouseWheelEventTime,p=3+Math.max(0,30-l);this.lastMouseWheelEventTime=Date.now(),"deltaMode"in t&&t.deltaMode===0&&t.wheelDelta&&(n=t.deltaY===0?0:Math.abs(t.wheelDelta)/t.deltaY),n=-.3<n&&n<.3?n:(n>0?1:-1)*Math.log(Math.abs(n)+10)/p;var h=this.svg.getScreenCTM().inverse(),a=e.getEventPoint(t,this.svg).matrixTransform(h),m=Math.pow(1+this.options.zoomScaleSensitivity,-1*n);this.zoomAtPoint(m,a)}},r.prototype.zoomAtPoint=function(t,n,l){var p=this.viewport.getOriginalState();l?(t=Math.max(this.options.minZoom*p.zoom,Math.min(this.options.maxZoom*p.zoom,t)),t=t/this.getZoom()):this.getZoom()*t<this.options.minZoom*p.zoom?t=this.options.minZoom*p.zoom/this.getZoom():this.getZoom()*t>this.options.maxZoom*p.zoom&&(t=this.options.maxZoom*p.zoom/this.getZoom());var h=this.viewport.getCTM(),a=n.matrixTransform(h.inverse()),m=this.svg.createSVGMatrix().translate(a.x,a.y).scale(t).translate(-a.x,-a.y),v=h.multiply(m);v.a!==h.a&&this.viewport.setCTM(v)},r.prototype.zoom=function(t,n){this.zoomAtPoint(t,e.getSvgCenterPoint(this.svg,this.width,this.height),n)},r.prototype.publicZoom=function(t,n){n&&(t=this.computeFromRelativeZoom(t)),this.zoom(t,n)},r.prototype.publicZoomAtPoint=function(t,n,l){if(l&&(t=this.computeFromRelativeZoom(t)),o.getType(n)!=="SVGPoint")if("x"in n&&"y"in n)n=e.createSVGPoint(this.svg,n.x,n.y);else throw new Error("Given point is invalid");this.zoomAtPoint(t,n,l)},r.prototype.getZoom=function(){return this.viewport.getZoom()},r.prototype.getRelativeZoom=function(){return this.viewport.getRelativeZoom()},r.prototype.computeFromRelativeZoom=function(t){return t*this.viewport.getOriginalState().zoom},r.prototype.resetZoom=function(){var t=this.viewport.getOriginalState();this.zoom(t.zoom,!0)},r.prototype.resetPan=function(){this.pan(this.viewport.getOriginalState())},r.prototype.reset=function(){this.resetZoom(),this.resetPan()},r.prototype.handleDblClick=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.options.controlIconsEnabled){var n=t.target.getAttribute("class")||"";if(n.indexOf("svg-pan-zoom-control")>-1)return!1}var l;t.shiftKey?l=1/((1+this.options.zoomScaleSensitivity)*2):l=(1+this.options.zoomScaleSensitivity)*2;var p=e.getEventPoint(t,this.svg).matrixTransform(this.svg.getScreenCTM().inverse());this.zoomAtPoint(l,p)},r.prototype.handleMouseDown=function(t,n){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),o.mouseAndTouchNormalize(t,this.svg),this.options.dblClickZoomEnabled&&o.isDblClick(t,n)?this.handleDblClick(t):(this.state="pan",this.firstEventCTM=this.viewport.getCTM(),this.stateOrigin=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()))},r.prototype.handleMouseMove=function(t){if(this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&this.options.panEnabled){var n=e.getEventPoint(t,this.svg).matrixTransform(this.firstEventCTM.inverse()),l=this.firstEventCTM.translate(n.x-this.stateOrigin.x,n.y-this.stateOrigin.y);this.viewport.setCTM(l)}},r.prototype.handleMouseUp=function(t){this.options.preventMouseEventsDefault&&(t.preventDefault?t.preventDefault():t.returnValue=!1),this.state==="pan"&&(this.state="none")},r.prototype.fit=function(){var t=this.viewport.getViewBox(),n=Math.min(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.contain=function(){var t=this.viewport.getViewBox(),n=Math.max(this.width/t.width,this.height/t.height);this.zoom(n,!0)},r.prototype.center=function(){var t=this.viewport.getViewBox(),n=(this.width-(t.width+t.x*2)*this.getZoom())*.5,l=(this.height-(t.height+t.y*2)*this.getZoom())*.5;this.getPublicInstance().pan({x:n,y:l})},r.prototype.updateBBox=function(){this.viewport.simpleViewBoxCache()},r.prototype.pan=function(t){var n=this.viewport.getCTM();n.e=t.x,n.f=t.y,this.viewport.setCTM(n)},r.prototype.panBy=function(t){var n=this.viewport.getCTM();n.e+=t.x,n.f+=t.y,this.viewport.setCTM(n)},r.prototype.getPan=function(){var t=this.viewport.getState();return{x:t.x,y:t.y}},r.prototype.resize=function(){var t=e.getBoundingClientRectNormalized(this.svg);this.width=t.width,this.height=t.height;var n=this.viewport;n.options.width=this.width,n.options.height=this.height,n.processCTM(),this.options.controlIconsEnabled&&(this.getPublicInstance().disableControlIcons(),this.getPublicInstance().enableControlIcons())},r.prototype.destroy=function(){var t=this;this.beforeZoom=null,this.onZoom=null,this.beforePan=null,this.onPan=null,this.onUpdatedCTM=null,this.options.customEventsHandler!=null&&this.options.customEventsHandler.destroy({svgElement:this.svg,eventsListenerElement:this.options.eventsListenerElement,instance:this.getPublicInstance()});for(var n in this.eventListeners)(this.options.eventsListenerElement||this.svg).removeEventListener(n,this.eventListeners[n],this.options.preventMouseEventsDefault?!1:d);this.disableMouseWheelZoom(),this.getPublicInstance().disableControlIcons(),this.reset(),f=f.filter(function(l){return l.svg!==t.svg}),delete this.options,delete this.viewport,delete this.publicInstance,delete this.pi,this.getPublicInstance=function(){return null}},r.prototype.getPublicInstance=function(){var t=this;return this.publicInstance||(this.publicInstance=this.pi={enablePan:function(){return t.options.panEnabled=!0,t.pi},disablePan:function(){return t.options.panEnabled=!1,t.pi},isPanEnabled:function(){return!!t.options.panEnabled},pan:function(n){return t.pan(n),t.pi},panBy:function(n){return t.panBy(n),t.pi},getPan:function(){return t.getPan()},setBeforePan:function(n){return t.options.beforePan=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnPan:function(n){return t.options.onPan=n===null?null:o.proxy(n,t.publicInstance),t.pi},enableZoom:function(){return t.options.zoomEnabled=!0,t.pi},disableZoom:function(){return t.options.zoomEnabled=!1,t.pi},isZoomEnabled:function(){return!!t.options.zoomEnabled},enableControlIcons:function(){return t.options.controlIconsEnabled||(t.options.controlIconsEnabled=!0,i.enable(t)),t.pi},disableControlIcons:function(){return t.options.controlIconsEnabled&&(t.options.controlIconsEnabled=!1,i.disable(t)),t.pi},isControlIconsEnabled:function(){return!!t.options.controlIconsEnabled},enableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!0,t.pi},disableDblClickZoom:function(){return t.options.dblClickZoomEnabled=!1,t.pi},isDblClickZoomEnabled:function(){return!!t.options.dblClickZoomEnabled},enableMouseWheelZoom:function(){return t.enableMouseWheelZoom(),t.pi},disableMouseWheelZoom:function(){return t.disableMouseWheelZoom(),t.pi},isMouseWheelZoomEnabled:function(){return!!t.options.mouseWheelZoomEnabled},setZoomScaleSensitivity:function(n){return t.options.zoomScaleSensitivity=n,t.pi},setMinZoom:function(n){return t.options.minZoom=n,t.pi},setMaxZoom:function(n){return t.options.maxZoom=n,t.pi},setBeforeZoom:function(n){return t.options.beforeZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},setOnZoom:function(n){return t.options.onZoom=n===null?null:o.proxy(n,t.publicInstance),t.pi},zoom:function(n){return t.publicZoom(n,!0),t.pi},zoomBy:function(n){return t.publicZoom(n,!1),t.pi},zoomAtPoint:function(n,l){return t.publicZoomAtPoint(n,l,!0),t.pi},zoomAtPointBy:function(n,l){return t.publicZoomAtPoint(n,l,!1),t.pi},zoomIn:function(){return this.zoomBy(1+t.options.zoomScaleSensitivity),t.pi},zoomOut:function(){return this.zoomBy(1/(1+t.options.zoomScaleSensitivity)),t.pi},getZoom:function(){return t.getRelativeZoom()},setOnUpdatedCTM:function(n){return t.options.onUpdatedCTM=n===null?null:o.proxy(n,t.publicInstance),t.pi},resetZoom:function(){return t.resetZoom(),t.pi},resetPan:function(){return t.resetPan(),t.pi},reset:function(){return t.reset(),t.pi},fit:function(){return t.fit(),t.pi},contain:function(){return t.contain(),t.pi},center:function(){return t.center(),t.pi},updateBBox:function(){return t.updateBBox(),t.pi},resize:function(){return t.resize(),t.pi},getSizes:function(){return{width:t.width,height:t.height,realZoom:t.getZoom(),viewBox:t.viewport.getViewBox()}},destroy:function(){return t.destroy(),t.pi}}),this.publicInstance};var f=[],g=function(t,n){var l=o.getSvg(t);if(l===null)return null;for(var p=f.length-1;p>=0;p--)if(f[p].svg===l)return f[p].instance.getPublicInstance();return f.push({svg:l,instance:new r(l,n)}),f[f.length-1].instance.getPublicInstance()};return z=g,z}var O=V();const R=D(O);function k(u,i){if(u.querySelector(".svg-zoom-controls"))return;const o=document.createElement("div");o.className="svg-zoom-controls",o.innerHTML=`
|
|
2
2
|
<button class="svg-zoom-btn" data-action="zoom-out" title="Zoom out">
|
|
3
3
|
<svg viewBox="0 0 24 24" width="20" height="20"><path fill="currentColor" d="M19 13H5v-2h14v2z"/></svg>
|
|
4
4
|
</button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as gi,g as xi,t as Xt,q as di,a as pi,b as fi,c as n,l as Nt,K as yi,f as mi,z as bi,H as Ct,j as Ai,F as Yt,G as wi,R as Ci,S as Bt,T as Si,Q as Wt,U as zt}from"./mermaid-
|
|
1
|
+
import{s as gi,g as xi,t as Xt,q as di,a as pi,b as fi,c as n,l as Nt,K as yi,f as mi,z as bi,H as Ct,j as Ai,F as Yt,G as wi,R as Ci,S as Bt,T as Si,Q as Wt,U as zt}from"./mermaid-DUllW9QE.js";var mt=(function(){var s=n(function(W,r,u,g){for(u=u||{},g=W.length;g--;u[W[g]]=r);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],e=[1,3],a=[1,5],c=[1,6],d=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],b=[1,25],P=[1,26],I=[1,28],R=[1,29],L=[1,30],z=[1,31],F=[1,32],D=[1,33],V=[1,34],f=[1,35],C=[1,36],l=[1,37],M=[1,43],B=[1,42],U=[1,47],X=[1,50],h=[1,10,12,14,16,18,19,21,23,34,35,36],k=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],w=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],S=[1,64],$={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n(function(r,u,g,x,A,o,nt){var p=o.length-1;switch(A){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:this.$=[Number(o[p-2]),...o[p]];break;case 21:this.$=[Number(o[p])];break;case 22:x.setXAxisTitle(o[p]);break;case 23:x.setXAxisTitle(o[p-1]);break;case 24:x.setXAxisTitle({type:"text",text:""});break;case 25:x.setXAxisBand(o[p]);break;case 26:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 27:this.$=o[p-1];break;case 28:this.$=[o[p-2],...o[p]];break;case 29:this.$=[o[p]];break;case 30:x.setYAxisTitle(o[p]);break;case 31:x.setYAxisTitle(o[p-1]);break;case 32:x.setYAxisTitle({type:"text",text:""});break;case 33:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 37:this.$={text:o[p],type:"text"};break;case 38:this.$={text:o[p],type:"text"};break;case 39:this.$={text:o[p],type:"markdown"};break;case 40:this.$=o[p];break;case 41:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[s(t,i,{3:1,4:2,7:4,5:e,34:a,35:c,36:d}),{1:[3]},s(t,i,{4:2,7:4,3:8,5:e,34:a,35:c,36:d}),s(t,i,{4:2,7:4,6:9,3:10,5:e,8:[1,11],34:a,35:c,36:d}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},s(m,[2,34]),s(m,[2,35]),s(m,[2,36]),{1:[2,1]},s(t,i,{4:2,7:4,3:21,5:e,34:a,35:c,36:d}),{1:[2,3]},s(m,[2,5]),s(t,[2,7],{4:22,34:a,35:c,36:d}),{11:23,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:39,13:38,24:M,27:B,29:40,30:41,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:45,15:44,27:U,33:46,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:49,17:48,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{11:52,17:51,24:X,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},{20:[1,53]},{22:[1,54]},s(h,[2,18]),{1:[2,2]},s(h,[2,8]),s(h,[2,9]),s(k,[2,37],{40:55,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l}),s(k,[2,38]),s(k,[2,39]),s(w,[2,40]),s(w,[2,42]),s(w,[2,43]),s(w,[2,44]),s(w,[2,45]),s(w,[2,46]),s(w,[2,47]),s(w,[2,48]),s(w,[2,49]),s(w,[2,50]),s(w,[2,51]),s(h,[2,10]),s(h,[2,22],{30:41,29:56,24:M,27:B}),s(h,[2,24]),s(h,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,11]),s(h,[2,30],{33:60,27:U}),s(h,[2,32]),{31:[1,61]},s(h,[2,12]),{17:62,24:X},{25:63,27:S},s(h,[2,14]),{17:65,24:X},s(h,[2,16]),s(h,[2,17]),s(w,[2,41]),s(h,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},s(h,[2,31]),{27:[1,69]},s(h,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},s(h,[2,15]),s(h,[2,26]),s(h,[2,27]),{11:59,32:72,37:24,38:b,39:P,40:27,41:I,42:R,43:L,44:z,45:F,46:D,47:V,48:f,49:C,50:l},s(h,[2,33]),s(h,[2,19]),{25:73,27:S},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(r,u){if(u.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=u,g}},"parseError"),parse:n(function(r){var u=this,g=[0],x=[],A=[null],o=[],nt=this.table,p="",lt=0,Et=0,hi=2,It=1,li=o.slice.call(arguments,1),_=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);_.setInput(r,Y.yy),Y.yy.lexer=_,Y.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var pt=_.yylloc;o.push(pt);var ci=_.options&&_.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(v){g.length=g.length-2*v,A.length=A.length-v,o.length=o.length-v}n(ui,"popStack");function Vt(){var v;return v=x.pop()||_.lex()||It,typeof v!="number"&&(v instanceof Array&&(x=v,v=x.pop()),v=u.symbols_[v]||v),v}n(Vt,"lex");for(var T,H,E,ft,q={},ct,O,Mt,ut;;){if(H=g[g.length-1],this.defaultActions[H]?E=this.defaultActions[H]:((T===null||typeof T>"u")&&(T=Vt()),E=nt[H]&&nt[H][T]),typeof E>"u"||!E.length||!E[0]){var yt="";ut=[];for(ct in nt[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");_.showPosition?yt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[T]||T)+"'":yt="Parse error on line "+(lt+1)+": Unexpected "+(T==It?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(yt,{text:_.match,token:this.terminals_[T]||T,line:_.yylineno,loc:pt,expected:ut})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+T);switch(E[0]){case 1:g.push(T),A.push(_.yytext),o.push(_.yylloc),g.push(E[1]),T=null,Et=_.yyleng,p=_.yytext,lt=_.yylineno,pt=_.yylloc;break;case 2:if(O=this.productions_[E[1]][1],q.$=A[A.length-O],q._$={first_line:o[o.length-(O||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(O||1)].first_column,last_column:o[o.length-1].last_column},ci&&(q._$.range=[o[o.length-(O||1)].range[0],o[o.length-1].range[1]]),ft=this.performAction.apply(q,[p,Et,lt,Y.yy,E[1],A,o].concat(li)),typeof ft<"u")return ft;O&&(g=g.slice(0,-1*O*2),A=A.slice(0,-1*O),o=o.slice(0,-1*O)),g.push(this.productions_[E[1]][0]),A.push(q.$),o.push(q._$),Mt=nt[g[g.length-2]][g[g.length-1]],g.push(Mt);break;case 3:return!0}}return!0},"parse")},Lt=(function(){var W={EOF:1,parseError:n(function(u,g){if(this.yy.parser)this.yy.parser.parseError(u,g);else throw new Error(u)},"parseError"),setInput:n(function(r,u){return this.yy=u||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var u=r.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var u=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),u=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>IONOS Architecture</title>
|
|
7
7
|
<link rel="icon" href="/favicon.ico" />
|
|
8
|
-
<script type="module" crossorigin src="/vue/index-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/vue/mermaid-
|
|
8
|
+
<script type="module" crossorigin src="/vue/index-Zr9MoxJi.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/vue/mermaid-DUllW9QE.js">
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/vue/index-Tiu4C-Sb.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: archsight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vincent Landgraf
|
|
@@ -215,6 +215,7 @@ files:
|
|
|
215
215
|
- chart/archsight/templates/ingress.yaml
|
|
216
216
|
- chart/archsight/templates/resources-configmap.yaml
|
|
217
217
|
- chart/archsight/templates/resources-pvc.yaml
|
|
218
|
+
- chart/archsight/templates/restart-secret.yaml
|
|
218
219
|
- chart/archsight/templates/service.yaml
|
|
219
220
|
- chart/archsight/templates/serviceaccount.yaml
|
|
220
221
|
- chart/archsight/values.yaml
|
|
@@ -327,73 +328,73 @@ files:
|
|
|
327
328
|
- lib/archsight/web/editor/routes.rb
|
|
328
329
|
- lib/archsight/web/public/favicon.ico
|
|
329
330
|
- lib/archsight/web/public/vue.html
|
|
330
|
-
- lib/archsight/web/public/vue/ApiDocsPage-
|
|
331
|
+
- lib/archsight/web/public/vue/ApiDocsPage-Cwn04X61.js
|
|
331
332
|
- lib/archsight/web/public/vue/ApiDocsPage-DhNTOH4o.css
|
|
332
|
-
- lib/archsight/web/public/vue/DocPage-
|
|
333
|
-
- lib/archsight/web/public/vue/EditorPage-D_miHSv4.js
|
|
333
|
+
- lib/archsight/web/public/vue/DocPage-Y83PCbYi.js
|
|
334
334
|
- lib/archsight/web/public/vue/EditorPage-Dq0MuTnp.css
|
|
335
|
-
- lib/archsight/web/public/vue/
|
|
335
|
+
- lib/archsight/web/public/vue/EditorPage-DqRMOBE6.js
|
|
336
336
|
- lib/archsight/web/public/vue/ErrorPage-CwPT3JUr.css
|
|
337
|
+
- lib/archsight/web/public/vue/ErrorPage-D0lKMCXA.js
|
|
338
|
+
- lib/archsight/web/public/vue/GraphView-Byq-Nfd9.js
|
|
337
339
|
- lib/archsight/web/public/vue/GraphView-DRcIqAiR.css
|
|
338
|
-
- lib/archsight/web/public/vue/
|
|
339
|
-
- lib/archsight/web/public/vue/InstanceRouter-1Sm-CRhf.js
|
|
340
|
+
- lib/archsight/web/public/vue/InstanceRouter-B3Q2fH0X.js
|
|
340
341
|
- lib/archsight/web/public/vue/InstanceRouter-BJkDRXZY.css
|
|
341
|
-
- lib/archsight/web/public/vue/KindList-
|
|
342
|
-
- lib/archsight/web/public/vue/ResourceList-8iqavWdg.js
|
|
342
|
+
- lib/archsight/web/public/vue/KindList-DlDrvJDd.js
|
|
343
343
|
- lib/archsight/web/public/vue/ResourceList-DP-z-j71.css
|
|
344
|
+
- lib/archsight/web/public/vue/ResourceList-DwsfI85-.js
|
|
344
345
|
- lib/archsight/web/public/vue/SearchResults-BGHbg48-.css
|
|
345
|
-
- lib/archsight/web/public/vue/SearchResults-
|
|
346
|
-
- lib/archsight/web/public/vue/_basePickBy-
|
|
347
|
-
- lib/archsight/web/public/vue/_baseUniq-
|
|
348
|
-
- lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-
|
|
349
|
-
- lib/archsight/web/public/vue/blockDiagram-VD42YOAC-
|
|
350
|
-
- lib/archsight/web/public/vue/c4Diagram-YG6GDRKO-
|
|
351
|
-
- lib/archsight/web/public/vue/chunk-4BX2VUAB-
|
|
352
|
-
- lib/archsight/web/public/vue/chunk-55IACEB6-
|
|
353
|
-
- lib/archsight/web/public/vue/chunk-B4BG7PRW-
|
|
354
|
-
- lib/archsight/web/public/vue/chunk-DI55MBZ5-
|
|
355
|
-
- lib/archsight/web/public/vue/chunk-FMBD7UC4-
|
|
356
|
-
- lib/archsight/web/public/vue/chunk-QN33PNHL-
|
|
357
|
-
- lib/archsight/web/public/vue/chunk-QZHKN3VN-
|
|
358
|
-
- lib/archsight/web/public/vue/chunk-TZMSLE5B-
|
|
359
|
-
- lib/archsight/web/public/vue/classDiagram-2ON5EDUG-
|
|
360
|
-
- lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-
|
|
361
|
-
- lib/archsight/web/public/vue/clone-
|
|
362
|
-
- lib/archsight/web/public/vue/cose-bilkent-S5V4N54A-
|
|
346
|
+
- lib/archsight/web/public/vue/SearchResults-DlWGROho.js
|
|
347
|
+
- lib/archsight/web/public/vue/_basePickBy-DXGWsL9H.js
|
|
348
|
+
- lib/archsight/web/public/vue/_baseUniq-C8pAAASt.js
|
|
349
|
+
- lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-Dg_wTk4u.js
|
|
350
|
+
- lib/archsight/web/public/vue/blockDiagram-VD42YOAC-C8HXvtNT.js
|
|
351
|
+
- lib/archsight/web/public/vue/c4Diagram-YG6GDRKO-QzXboDJ8.js
|
|
352
|
+
- lib/archsight/web/public/vue/chunk-4BX2VUAB-DSPzEX5F.js
|
|
353
|
+
- lib/archsight/web/public/vue/chunk-55IACEB6-Dd5Z8Bov.js
|
|
354
|
+
- lib/archsight/web/public/vue/chunk-B4BG7PRW-B_hXD1nI.js
|
|
355
|
+
- lib/archsight/web/public/vue/chunk-DI55MBZ5-C-2DUMJY.js
|
|
356
|
+
- lib/archsight/web/public/vue/chunk-FMBD7UC4-BlBtfKnL.js
|
|
357
|
+
- lib/archsight/web/public/vue/chunk-QN33PNHL-Db3REDIz.js
|
|
358
|
+
- lib/archsight/web/public/vue/chunk-QZHKN3VN-BqVqGMTy.js
|
|
359
|
+
- lib/archsight/web/public/vue/chunk-TZMSLE5B-DfX4VDWu.js
|
|
360
|
+
- lib/archsight/web/public/vue/classDiagram-2ON5EDUG-C9Kk58xl.js
|
|
361
|
+
- lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-C9Kk58xl.js
|
|
362
|
+
- lib/archsight/web/public/vue/clone-B6uzD5eH.js
|
|
363
|
+
- lib/archsight/web/public/vue/cose-bilkent-S5V4N54A-CfkQxn-a.js
|
|
363
364
|
- lib/archsight/web/public/vue/cytoscape.esm-5J0xJHOV.js
|
|
364
|
-
- lib/archsight/web/public/vue/dagre-6UL2VRFP-
|
|
365
|
-
- lib/archsight/web/public/vue/diagram-PSM6KHXK-
|
|
366
|
-
- lib/archsight/web/public/vue/diagram-QEK2KX5R-
|
|
367
|
-
- lib/archsight/web/public/vue/diagram-S2PKOQOG-
|
|
368
|
-
- lib/archsight/web/public/vue/erDiagram-Q2GNP2WA-
|
|
369
|
-
- lib/archsight/web/public/vue/flowDiagram-NV44I4VS-
|
|
370
|
-
- lib/archsight/web/public/vue/ganttDiagram-JELNMOA3-
|
|
371
|
-
- lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-
|
|
372
|
-
- lib/archsight/web/public/vue/graph-
|
|
365
|
+
- lib/archsight/web/public/vue/dagre-6UL2VRFP-D13da1qu.js
|
|
366
|
+
- lib/archsight/web/public/vue/diagram-PSM6KHXK-BwzbeHPK.js
|
|
367
|
+
- lib/archsight/web/public/vue/diagram-QEK2KX5R-COjSoDC8.js
|
|
368
|
+
- lib/archsight/web/public/vue/diagram-S2PKOQOG-FH65FafS.js
|
|
369
|
+
- lib/archsight/web/public/vue/erDiagram-Q2GNP2WA-D1mxJWSp.js
|
|
370
|
+
- lib/archsight/web/public/vue/flowDiagram-NV44I4VS-DpRd5cPP.js
|
|
371
|
+
- lib/archsight/web/public/vue/ganttDiagram-JELNMOA3-D04Sdd3Q.js
|
|
372
|
+
- lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-DgNNP2nj.js
|
|
373
|
+
- lib/archsight/web/public/vue/graph-Cnoy0p_X.js
|
|
373
374
|
- lib/archsight/web/public/vue/graphviz-CJms5bxZ.js
|
|
374
|
-
- lib/archsight/web/public/vue/index-DsEsN0_K.js
|
|
375
375
|
- lib/archsight/web/public/vue/index-Tiu4C-Sb.css
|
|
376
|
-
- lib/archsight/web/public/vue/
|
|
377
|
-
- lib/archsight/web/public/vue/
|
|
378
|
-
- lib/archsight/web/public/vue/
|
|
376
|
+
- lib/archsight/web/public/vue/index-Zr9MoxJi.js
|
|
377
|
+
- lib/archsight/web/public/vue/infoDiagram-HS3SLOUP-D5asL_9P.js
|
|
378
|
+
- lib/archsight/web/public/vue/journeyDiagram-XKPGCS4Q-D-SRalYk.js
|
|
379
|
+
- lib/archsight/web/public/vue/kanban-definition-3W4ZIXB7-CuOjHa3p.js
|
|
379
380
|
- lib/archsight/web/public/vue/katex-C-M49wc6.js
|
|
380
|
-
- lib/archsight/web/public/vue/layout-
|
|
381
|
-
- lib/archsight/web/public/vue/mermaid-
|
|
382
|
-
- lib/archsight/web/public/vue/mindmap-definition-VGOIOE7T-
|
|
383
|
-
- lib/archsight/web/public/vue/pieDiagram-ADFJNKIX-
|
|
384
|
-
- lib/archsight/web/public/vue/quadrantDiagram-AYHSOK5B-
|
|
385
|
-
- lib/archsight/web/public/vue/requirementDiagram-UZGBJVZJ-
|
|
386
|
-
- lib/archsight/web/public/vue/sankeyDiagram-TZEHDZUN-
|
|
387
|
-
- lib/archsight/web/public/vue/sequenceDiagram-WL72ISMW-
|
|
388
|
-
- lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-
|
|
389
|
-
- lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-
|
|
390
|
-
- lib/archsight/web/public/vue/timeline-definition-IT6M3QCI-
|
|
391
|
-
- lib/archsight/web/public/vue/treemap-GDKQZRPO-
|
|
392
|
-
- lib/archsight/web/public/vue/useGraphviz-
|
|
393
|
-
- lib/archsight/web/public/vue/useHighlight-
|
|
394
|
-
- lib/archsight/web/public/vue/useMermaid-
|
|
395
|
-
- lib/archsight/web/public/vue/usePanZoom-
|
|
396
|
-
- lib/archsight/web/public/vue/xychartDiagram-PRI3JC2R-
|
|
381
|
+
- lib/archsight/web/public/vue/layout-CD8FBujT.js
|
|
382
|
+
- lib/archsight/web/public/vue/mermaid-DUllW9QE.js
|
|
383
|
+
- lib/archsight/web/public/vue/mindmap-definition-VGOIOE7T-BfbYXGBk.js
|
|
384
|
+
- lib/archsight/web/public/vue/pieDiagram-ADFJNKIX-mb757Gpq.js
|
|
385
|
+
- lib/archsight/web/public/vue/quadrantDiagram-AYHSOK5B-DMtvHJQW.js
|
|
386
|
+
- lib/archsight/web/public/vue/requirementDiagram-UZGBJVZJ-CHguirsB.js
|
|
387
|
+
- lib/archsight/web/public/vue/sankeyDiagram-TZEHDZUN-nblWMNF6.js
|
|
388
|
+
- lib/archsight/web/public/vue/sequenceDiagram-WL72ISMW-B83ZoXls.js
|
|
389
|
+
- lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-Ct0OgmPh.js
|
|
390
|
+
- lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CJZXQ6xd.js
|
|
391
|
+
- lib/archsight/web/public/vue/timeline-definition-IT6M3QCI-D1Wd-DLb.js
|
|
392
|
+
- lib/archsight/web/public/vue/treemap-GDKQZRPO-DFPZrNlp.js
|
|
393
|
+
- lib/archsight/web/public/vue/useGraphviz-BN4iwLLN.js
|
|
394
|
+
- lib/archsight/web/public/vue/useHighlight-DmGaxZxx.js
|
|
395
|
+
- lib/archsight/web/public/vue/useMermaid-DSo5f1Jc.js
|
|
396
|
+
- lib/archsight/web/public/vue/usePanZoom-BEXq_r0S.js
|
|
397
|
+
- lib/archsight/web/public/vue/xychartDiagram-PRI3JC2R-i_eB4HAQ.js
|
|
397
398
|
- media/artifact.jpg
|
|
398
399
|
- media/service.jpg
|
|
399
400
|
homepage: https://github.com/ionos-cloud/archsight
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-DolAeVV9.js";import{c as i}from"./mermaid-DpPHPFQh.js";import"./chunk-FMBD7UC4-BQWOCMuR.js";import"./chunk-55IACEB6-rNtQYnu_.js";import"./chunk-QN33PNHL-DId301Kb.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-DolAeVV9.js";import{c as i}from"./mermaid-DpPHPFQh.js";import"./chunk-FMBD7UC4-BQWOCMuR.js";import"./chunk-55IACEB6-rNtQYnu_.js";import"./chunk-QN33PNHL-DId301Kb.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./_baseUniq-BNfrOSaP.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as t,b as r,a,S as s}from"./chunk-DI55MBZ5-DnN0f_hj.js";import{c as i}from"./mermaid-DpPHPFQh.js";import"./chunk-55IACEB6-rNtQYnu_.js";import"./chunk-QN33PNHL-DId301Kb.js";var u={parser:a,get db(){return new s(2)},renderer:r,styles:t,init:i(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{u as diagram};
|